]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
1e2e4785806659d50c38f79fecf81d6f24ee9bee
[thirdparty/glibc.git] / ChangeLog
1 2016-01-10 Torvald Riegel <triegel@redhat.com>
2
3 * nptl/DESIGN-rwlock.txt: Remove.
4 * nptl/lowlevelrwlock.sym: Remove.
5 * nptl/Makefile: Add new tests.
6 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
7 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
11 PTHREAD_RWLOCK_FUTEX_USED): New.
12 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
13 implementation.
14 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
15 (__pthread_rwlock_rdlock): Adapt.
16 * nptl/pthread_rwlock_timedrdlock.c
17 (pthread_rwlock_timedrdlock): Adapt.
18 * nptl/pthread_rwlock_timedwrlock.c
19 (pthread_rwlock_timedwrlock): Adapt.
20 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
21 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
22 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
23 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
24 (__pthread_rwlock_wrlock): Adapt.
25 * nptl/tst-rwlock10.c: Adapt.
26 * nptl/tst-rwlock11.c: Adapt.
27 * nptl/tst-rwlock17.c: New file.
28 * nptl/tst-rwlock18.c: New file.
29 * nptl/tst-rwlock19.c: New file.
30 * nptl/tst-rwlock2b.c: New file.
31 * nptl/tst-rwlock8.c: Adapt.
32 * nptl/tst-rwlock9.c: Adapt.
33 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
34 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
35 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
36 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
37 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
38 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
39 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
40 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
41 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
42 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
43 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
44 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
45 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
46 (pthread_rwlock_t): Adapt.
47 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48 (pthread_rwlock_t): Adapt.
49 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
50 * nptl/nptl-printers.py (): Adapt.
51 * nptl/nptl_lock_constants.pysym: Adapt.
52 * nptl/test-rwlock-printers.py: Adapt.
53 * nptl/test-rwlockattr-printers.c: Adapt.
54 * nptl/test-rwlockattr-printers.py: Adapt.
55
56 2017-01-10 Joseph Myers <joseph@codesourcery.com>
57
58 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
59 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
60 (fma_test_data): Likewise.
61 (hypot_test_data): Likewise.
62 (log1p_test_data): Likewise.
63 (modf_test_data): Likewise.
64 (pow_test_data): Likewise.
65 (remainder_test_data): Likewise.
66 (remquo_test_data): Likewise.
67 (scalb_test_data): Likewise.
68 (scalbn_test_data): Likewise.
69 (scalbln_test_data): Likewise.
70 * math/gen-libm-test.pl (parse_args): Transform
71 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
72 on the rounding mode.
73
74 2017-01-09 Joseph Myers <joseph@codesourcery.com>
75
76 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
77 xfail-rounding:ibm128-libgcc automatically to tests overflowing
78 and those that can underflow to zero.
79 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
80 add others.
81 * math/auto-libm-test-out: Regenerated.
82
83 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
84 supported.
85 (feholdexcept_tests): Skip tests requiring exceptions or rounding
86 modes support if not supported.
87
88 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
89 Add libc.so PLT entry.
90 (__tls_get_addr): Make ld.so PLT entry optional.
91
92 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
93
94 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
95 * string/bits/string3.h: ... here.
96
97 2017-01-05 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #21028]
100 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
101 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
102 if EXCEPTION_TESTS returns false.
103
104 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
105
106 [BZ #20558]
107 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
108 strings_fortified.h.
109 [__USE_MISC] (bzero): Likewise.
110 [__USE_MISC] (explicit_bzero): Likewise.
111 * string/strings.h: Include strings_fortified.h.
112 * string/Makefile (headers): Add strings_fortified.h.
113 * string/bits/strings_fortified.h: New file.
114 * include/bits/strings_fortified.h: Likewise.
115
116 2017-01-05 Joseph Myers <joseph@codesourcery.com>
117
118 * elf/tst-tls13.c (TIMEOUT): Remove.
119 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
120 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
121 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
122 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
123 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
124
125 [BZ #21026]
126 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
127 (readahead): New syscall entry.
128
129 2017-01-04 Joseph Myers <joseph@codesourcery.com>
130
131 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
132 around tests of strncat with large sizes.
133
134 * malloc/tst-malloc.c: Include <libc-internal.h>.
135 (do_test): Disable -Walloc-size-larger-than= around tests of
136 malloc with negative sizes.
137 * malloc/tst-mcheck.c: Include <libc-internal.h>.
138 (do_test): Disable -Walloc-size-larger-than= around tests of
139 malloc and realloc with negative sizes.
140 * malloc/tst-realloc.c: Include <libc-internal.h>.
141 (do_test): Disable -Walloc-size-larger-than= around tests of
142 realloc with negative sizes.
143
144 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
145 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
146 allowed to 16 ulps.
147 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
148 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
149 * math/auto-libm-test-out: Regenerated.
150
151 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
152
153 * math/Makefile (libm-calls): Move wrappers...
154 (libm-compat-call-auto): Here.
155 (libm-routines): Add items in libm-compat-calls-auto.
156 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
157 the filenames of the wrappers that have been renamed.
158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
160
161 * math/w_acos.c: Add _compat suffix to filename.
162 * math/w_acosf.c: Likewise.
163 * math/w_acosh.c: Likewise.
164 * math/w_acoshf.c: Likewise.
165 * math/w_acoshl.c: Likewise.
166 * math/w_acosl.c: Likewise.
167 * math/w_asin.c: Likewise.
168 * math/w_asinf.c: Likewise.
169 * math/w_asinl.c: Likewise.
170 * math/w_atan2.c: Likewise.
171 * math/w_atan2f.c: Likewise.
172 * math/w_atan2l.c: Likewise.
173 * math/w_atanh.c: Likewise.
174 * math/w_atanhf.c: Likewise.
175 * math/w_atanhl.c: Likewise.
176 * math/w_cosh.c: Likewise.
177 * math/w_coshf.c: Likewise.
178 * math/w_coshl.c: Likewise.
179 * math/w_exp10.c: Likewise.
180 * math/w_exp10f.c: Likewise.
181 * math/w_exp10l.c: Likewise.
182 * math/w_exp2.c: Likewise.
183 * math/w_exp2f.c: Likewise.
184 * math/w_exp2l.c: Likewise.
185 * math/w_fmod.c: Likewise.
186 * math/w_fmodf.c: Likewise.
187 * math/w_fmodl.c: Likewise.
188 * math/w_hypot.c: Likewise.
189 * math/w_hypotf.c: Likewise.
190 * math/w_hypotl.c: Likewise.
191 * math/w_j0.c: Likewise.
192 * math/w_j0f.c: Likewise.
193 * math/w_j0l.c: Likewise.
194 * math/w_j1.c: Likewise.
195 * math/w_j1f.c: Likewise.
196 * math/w_j1l.c: Likewise.
197 * math/w_jn.c: Likewise.
198 * math/w_jnf.c: Likewise.
199 * math/w_jnl.c: Likewise.
200 * math/w_log10.c: Likewise.
201 * math/w_log10f.c: Likewise.
202 * math/w_log10l.c: Likewise.
203 * math/w_log2.c: Likewise.
204 * math/w_log2f.c: Likewise.
205 * math/w_log2l.c: Likewise.
206 * math/w_log.c: Likewise.
207 * math/w_logf.c: Likewise.
208 * math/w_logl.c: Likewise.
209 * math/w_pow.c: Likewise.
210 * math/w_powf.c: Likewise.
211 * math/w_powl.c: Likewise.
212 * math/w_remainder.c: Likewise.
213 * math/w_remainderf.c: Likewise.
214 * math/w_remainderl.c: Likewise.
215 * math/w_scalb.c: Likewise.
216 * math/w_scalbf.c: Likewise.
217 * math/w_scalbl.c: Likewise.
218 * math/w_sinh.c: Likewise.
219 * math/w_sinhf.c: Likewise.
220 * math/w_sinhl.c: Likewise.
221 * math/w_sqrt.c: Likewise.
222 * math/w_sqrtf.c: Likewise.
223 * math/w_sqrtl.c: Likewise.
224 * math/w_tgamma.c: Likewise.
225 * math/w_tgammaf.c: Likewise.
226 * math/w_tgammal.c: Likewise.
227
228 * math/w_acos_compat.c: New file copied from above and
229 adjusted for new #includes path
230 * math/w_acosf_compat.c: Likewise.
231 * math/w_acosh_compat.c: Likewise.
232 * math/w_acoshf_compat.c: Likewise.
233 * math/w_acoshl_compat.c: Likewise.
234 * math/w_acosl_compat.c: Likewise.
235 * math/w_asin_compat.c: Likewise.
236 * math/w_asinf_compat.c: Likewise.
237 * math/w_asinl_compat.c: Likewise.
238 * math/w_atan2_compat.c: Likewise.
239 * math/w_atan2f_compat.c: Likewise.
240 * math/w_atan2l_compat.c: Likewise.
241 * math/w_atanh_compat.c: Likewise.
242 * math/w_atanhf_compat.c: Likewise.
243 * math/w_atanhl_compat.c: Likewise.
244 * math/w_cosh_compat.c: Likewise.
245 * math/w_coshf_compat.c: Likewise.
246 * math/w_coshl_compat.c: Likewise.
247 * math/w_exp10_compat.c: Likewise.
248 * math/w_exp10f_compat.c: Likewise.
249 * math/w_exp10l_compat.c: Likewise.
250 * math/w_exp2_compat.c: Likewise.
251 * math/w_exp2f_compat.c: Likewise.
252 * math/w_exp2l_compat.c: Likewise.
253 * math/w_fmod_compat.c: Likewise.
254 * math/w_fmodf_compat.c: Likewise.
255 * math/w_fmodl_compat.c: Likewise.
256 * math/w_hypot_compat.c: Likewise.
257 * math/w_hypotf_compat.c: Likewise.
258 * math/w_hypotl_compat.c: Likewise.
259 * math/w_j0_compat.c: Likewise.
260 * math/w_j0f_compat.c: Likewise.
261 * math/w_j0l_compat.c: Likewise.
262 * math/w_j1_compat.c: Likewise.
263 * math/w_j1f_compat.c: Likewise.
264 * math/w_j1l_compat.c: Likewise.
265 * math/w_jn_compat.c: Likewise.
266 * math/w_jnf_compat.c: Likewise.
267 * math/w_jnl_compat.c: Likewise.
268 * math/w_log10_compat.c: Likewise.
269 * math/w_log10f_compat.c: Likewise.
270 * math/w_log10l_compat.c: Likewise.
271 * math/w_log2_compat.c: Likewise.
272 * math/w_log2f_compat.c: Likewise.
273 * math/w_log2l_compat.c: Likewise.
274 * math/w_log_compat.c: Likewise.
275 * math/w_logf_compat.c: Likewise.
276 * math/w_logl_compat.c: Likewise.
277 * math/w_pow_compat.c: Likewise.
278 * math/w_powf_compat.c: Likewise.
279 * math/w_powl_compat.c: Likewise.
280 * math/w_remainder_compat.c: Likewise.
281 * math/w_remainderf_compat.c: Likewise.
282 * math/w_remainderl_compat.c: Likewise.
283 * math/w_scalb_compat.c: Likewise.
284 * math/w_scalbf_compat.c: Likewise.
285 * math/w_scalbl_compat.c: Likewise.
286 * math/w_sinh_compat.c: Likewise.
287 * math/w_sinhf_compat.c: Likewise.
288 * math/w_sinhl_compat.c: Likewise.
289 * math/w_sqrt_compat.c: Likewise.
290 * math/w_sqrtf_compat.c: Likewise.
291 * math/w_sqrtl_compat.c: Likewise.
292 * math/w_tgamma_compat.c: Likewise.
293 * math/w_tgammaf_compat.c: Likewise.
294 * math/w_tgammal_compat.c: Likewise.
295
296 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
297 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
298 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
299 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
300 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
301 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
302 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
303 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
304 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
305 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
306 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
307 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
308 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
309 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
310 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
311 * sysdeps/ia64/fpu/w_powl.c: Likewise.
312 * sysdeps/ia64/fpu/w_powf.c: Likewise.
313 * sysdeps/ia64/fpu/w_pow.c: Likewise.
314 * sysdeps/ia64/fpu/w_logl.c: Likewise.
315 * sysdeps/ia64/fpu/w_logf.c: Likewise.
316 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
317 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
318 * sysdeps/ia64/fpu/w_log2.c: Likewise.
319 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
320 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
321 * sysdeps/ia64/fpu/w_log10.c: Likewise.
322 * sysdeps/ia64/fpu/w_log.c: Likewise.
323 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
324 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
325 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
326 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
327 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
328 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
329 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
330 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
331 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
332 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
333 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
334 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
335 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
336 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
337 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
338 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
339 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
340 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
341 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
342 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
343 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
344 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
345 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
346 * sysdeps/ia64/fpu/w_asin.c: Likewise.
347 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
348 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
349 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
350 * sysdeps/ia64/fpu/w_acos.c: Likewise.
351 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
352 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
353 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
354 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
355 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
356 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
357 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
358 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
359 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
360 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
361 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
362 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
363 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
364 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
365 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
366 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
367 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
368 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
369 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
370 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
371 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
372 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
373 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
374 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
375 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
376 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
377 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
378 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
379 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
380 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
381 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
382 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
383 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
384 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
385 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
386 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
387 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
388 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
389 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
390 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
391 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
392 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
393 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
394 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
395 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
397 Likewise.
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
399 Likewise.
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
402 Likewise.
403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
404 Likewise.
405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
418 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
419 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
420
421 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
422 and adjusted for new #includes path
423 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
424 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
425 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
426 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
427 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
428 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
429 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
430 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
431 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
432 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
433 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
434 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
435 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
436 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
437 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
438 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
439 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
440 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
441 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
442 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
443 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
444 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
445 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
446 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
447 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
448 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
449 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
450 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
451 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
452 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
453 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
454 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
455 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
456 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
457 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
458 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
459 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
460 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
461 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
462 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
463 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
464 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
465 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
466 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
467 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
468 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
469 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
470 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
471 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
472 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
473 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
474 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
475 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
476 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
477 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
478 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
479 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
480 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
481 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
482 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
483 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
484 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
485 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
486 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
487 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
488 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
489 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
490 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
491 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
492 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
493 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
494 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
495 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
496 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
497 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
498 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
499 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
500 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
501 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
502 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
503 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
504 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
505 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
506 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
507 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
508 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
509 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
510 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
511 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
512 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
513 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
514 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
515 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
516 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
517 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
518 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
519 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
520 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
521 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
523 Likewise.
524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
525 Likewise.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
527 Likewise.
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
529 Likewise.
530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
531 Likewise.
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
533 Likewise.
534 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
537 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
538 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
539 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
541 Likewise.
542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
543 Likewise.
544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
545 Likewise.
546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
547 Likewise.
548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
550 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
551 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
552
553 2017-01-04 Joseph Myers <joseph@codesourcery.com>
554
555 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
556 __jmp_buf_internal_tag.
557
558 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
559 preserve NaN payload if [__mips_nan2008].
560 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
561
562 [BZ #21022]
563 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
564
565 2017-01-03 Joseph Myers <joseph@codesourcery.com>
566
567 * sysdeps/i386/fpu/libm-test-ulps: Update.
568
569 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
570
571 * sysdeps/ia64/strcat.c: Remove file.
572 * sysdeps/powerpc/strcat.c: Likewise.
573 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
574 C implementation.
575 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
576 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
577
578 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
579 Steven Munroe <sjmunroe@us.ibm.com>
580 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
581
582 [BZ #20822]
583 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
584 (__lll_lock_elision): Access adapt_count via C11 atomics.
585 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
586 (__lll_trylock_elision): Likewise.
587 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
588 (__lll_unlock_elision): Update adapt_count variable inside the
589 critical section using C11 atomics.
590
591 2017-01-03 Joseph Myers <joseph@codesourcery.com>
592
593 * math/test-fenvinline.c (do_test): Disable tests of raised
594 exceptions if !EXCEPTION_TESTS (FLOAT).
595
596 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
597
598 [BZ #19390]
599 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
600 maximum string size.
601 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
602 in pointer addition.
603 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
604 Likewise.
605
606 2017-01-03 Joseph Myers <joseph@codesourcery.com>
607
608 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
609 passed to tst-ldconfig-X.sh.
610
611 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
612
613 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
614
615 2017-01-02 Joseph Myers <joseph@codesourcery.com>
616
617 [BZ #21019]
618 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
619 New syscall entry.
620 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
621 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
622 lseek.
623
624 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
625 power4 glibc for powerpc-linux-gnu.
626
627 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
628
629 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
630 semctl.
631
632 2017-01-02 Joseph Myers <joseph@codesourcery.com>
633
634 * math/test-nearbyint-except.c: Include <stdbool.h>.
635 (any_supported): New variable.
636 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
637 set any_supported.
638 (do_test): Return 77 if no floating-point type supported
639 exceptions.
640
641 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
642 condition on [__mips_hard_float].
643
644 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
645
646 [BZ #21014]
647 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
648 in pointer addition.
649 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
650
651 2017-01-02 Torvald Riegel <triegel@redhat.com>
652
653 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
654 new condvar.
655
656 2017-01-02 Joseph Myers <joseph@codesourcery.com>
657
658 * scripts/build-many-glibcs.py (Context.checkout): Default
659 binutils version to 2.28 branch.
660
661 2017-01-01 Florian Weimer <fweimer@redhat.com>
662
663 * support/support_format_netent.c (support_format_netent): Work
664 around alpha struct netent definition difference.
665
666 2017-01-01 Florian Weimer <fweimer@redhat.com>
667
668 * support/xwrite.c (xwrite): Use %td for pointer difference.
669
670 2017-01-01 Florian Weimer <fweimer@redhat.com>
671
672 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
673 have-tunables only.
674 (tests-static): Add tst-malloc-usable-static-tunables for
675 have-tunables only.
676
677 2017-01-01 Joseph Myers <joseph@codesourcery.com>
678
679 * scripts/config.guess: Update to version 2017-01-01.
680 * scripts/config.sub: Update to version 2017-01-01.
681
682 * NEWS: Update copyright dates.
683 * catgets/gencat.c (print_version): Likewise.
684 * csu/version.c (banner): Likewise.
685 * debug/catchsegv.sh: Likewise.
686 * debug/pcprofiledump.c (print_version): Likewise.
687 * debug/xtrace.sh (do_version): Likewise.
688 * elf/ldconfig.c (print_version): Likewise.
689 * elf/ldd.bash.in: Likewise.
690 * elf/pldd.c (print_version): Likewise.
691 * elf/sotruss.sh: Likewise.
692 * elf/sprof.c (print_version): Likewise.
693 * iconv/iconv_prog.c (print_version): Likewise.
694 * iconv/iconvconfig.c (print_version): Likewise.
695 * locale/programs/locale.c (print_version): Likewise.
696 * locale/programs/localedef.c (print_version): Likewise.
697 * login/programs/pt_chown.c (print_version): Likewise.
698 * malloc/memusage.sh (do_version): Likewise.
699 * malloc/memusagestat.c (print_version): Likewise.
700 * malloc/mtrace.pl: Likewise.
701 * manual/libc.texinfo: Likewise.
702 * nptl/version.c (banner): Likewise.
703 * nscd/nscd.c (print_version): Likewise.
704 * nss/getent.c (print_version): Likewise.
705 * nss/makedb.c (print_version): Likewise.
706 * posix/getconf.c (main): Likewise.
707 * scripts/test-installation.pl: Likewise.
708 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
709
710 * All files with FSF copyright notices: Update copyright dates
711 using scripts/update-copyrights.
712 * intl/plural.c: Regenerated.
713 * locale/programs/charmap-kw.h: Likewise.
714 * locale/programs/locfile-kw.h: Likewise.
715
716 2016-12-31 Florian Weimer <fweimer@redhat.com>
717
718 [BZ #20593]
719 Update DNS RR type definitions.
720 * scripts/gen-rrtypes.py: New file.
721 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
722 BIND-internal RR type not used on the Internet. Add ns_t_ds,
723 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
724 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
725 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
726 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
727 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
728 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
729 ns_t_ta, ns_t_dlv.
730 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
731 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
732 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
733 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
734 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
735 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
736 Define.
737 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
738 entry for ns_t_zxfr.
739
740 2016-12-31 Florian Weimer <fweimer@redhat.com>
741
742 [BZ #18784]
743 CVE-2015-5180
744 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
745 T_UNSPEC. Adjust value.
746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
747 * resolv/res_query.c (__libc_res_nquery): Likewise.
748 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
749 QTYPEs.
750 * resolv/tst-resolv-qtypes.c: New file.
751 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
752 (tst-resolv-qtypes): Link against libresolv and libpthread.
753
754 2016-12-31 Florian Weimer <fweimer@redhat.com>
755
756 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
757
758 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
759
760 * manual/tunables.texi: New chapter.
761 * manual/Makefile (chapters): Add it.
762 * manual/probes.texi (@node): Point to the Tunables chapter.
763
764 * Makeconfig (have-tunables): Check for non-negative instead
765 of positive.
766 * configure.ac: Add 'valstring' as a valid value for
767 --enable-tunables.
768 * configure: Regenerate.
769 * elf/Makefile (have-tunables): Check for non-negative instead
770 of positive.
771 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
772 dl-tunables.c.
773 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
774 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
775 (tunables_strdup): Likewise.
776 (disable_tunables): Likewise.
777 (parse_tunables): Likewise.
778 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
779 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
780 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
781 (TUNABLES_FRONTEND_yes): New macro, define as
782 TUNABLES_FRONTEND_valstring by default.
783 * manual/install.texi: Document new acceptable values for
784 --enable-tunables.
785 * INSTALL: Regenerate.
786
787 * config.make.in (have-loop-to-function): Define.
788 * elf/Makefile (CFLAGS-dl-tunables.c): Add
789 -fno-tree-loop-distribute-patterns.
790 * elf/dl-tunables.c: Include libc-internals.h.
791 (GLIBC_TUNABLES): New macro.
792 (tunables_strdup): New function.
793 (parse_tunables): New function.
794 (min_strlen): New function.
795 (__tunables_init): Use the new functions and macro.
796 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
797 * malloc/tst-malloc-usable-tunables.c: New test case.
798 * malloc/tst-malloc-usable-static-tunables.c: New test case.
799 * malloc/Makefile (tests, tests-static): Add tests.
800
801 * manual/install.texi: Add --enable-tunables option.
802 * INSTALL: Regenerate.
803 * README.tunables: New file.
804 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
805 (before-compile): Generate dl-tunable-list.h early.
806 * config.h.in: Add HAVE_TUNABLES.
807 * config.make.in: Add have-tunables.
808 * configure.ac: Add --enable-tunables option.
809 * configure: Regenerate.
810 * csu/init-first.c (__libc_init_first): Move
811 __libc_init_secure earlier...
812 * csu/init-first.c (LIBC_START_MAIN):... to here.
813 Include dl-tunables.h, libc-internal.h.
814 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
815 binaries.
816 * elf/Makefile (dl-routines): Add dl-tunables.
817 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
818 namespace.
819 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
820 only when !HAVE_TUNABLES.
821 * elf/rtld.c (process_envvars): Likewise.
822 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
823 (_dl_sysdep_start): Call __tunables_init.
824 * elf/dl-tunable-types.h: New file.
825 * elf/dl-tunables.c: New file.
826 * elf/dl-tunables.h: New file.
827 * elf/dl-tunables.list: New file.
828 * malloc/tst-malloc-usable-static.c: New test case.
829 * malloc/Makefile (tests-static): Add it.
830 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
831 Define TUNABLE_NAMESPACE.
832 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
833 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
834 callback functions.
835 (ptmalloc_init): Set tunable values.
836 * scripts/gen-tunables.awk: New file.
837 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
838 (_dl_sysdep_start): Call __tunables_init.
839
840 2016-12-31 Florian Weimer <fweimer@redhat.com>
841
842 * resolv/resolv.h (RES_BLAST): Deprecate.
843 * resolv/res_debug.c (p_option): Remove RES_BLAST.
844 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
845 to RES_BLAST.
846
847 2016-12-27 Florian Weimer <fweimer@redhat.com>
848
849 [BZ #19582]
850 Deprecate RES_USE_INET6.
851 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
852 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
853 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
854 RES_USE_INET6.
855 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
856 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
857 (_nss_nisplus_gethostbyaddr_r): Likewise.
858 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
859 of res_use_inet6.
860 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
861 instead of RES_USE_INET6.
862 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
863 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
864 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
865 Likewise.
866 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
867 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
868 Likewise.
869 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
870 (_nss_dns_gethostbyname_r): Likewise.
871 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
872 alternate RES_USE_INET6 handling.
873 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
874 instead of RES_USE_INET6.
875 * resolv/res_init.c (res_setoptions): Likewise.
876 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
877 * resolv/resolv-internal.h: New file.
878 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
879 make the deprecation warning non-fatal.
880 * resolv/README (Using the resolver in multi-threaded code): Drop
881 reference to RES_USE_INET6.
882 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
883 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
884
885 2016-12-31 Florian Weimer <fweimer@redhat.com>
886
887 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
888 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
889 tst-resolv-search.
890 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
891 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
892 with libresolv and libpthread.
893 * resolv/tst-bug18665.c: New file.
894 * resolv/tst-bug18665-tcp: Likewise.
895 * resolv/tst-res_use_inet6: Likewise.
896 * resolv/tst-resolv-basic: Likewise.
897 * resolv/tst-resolv-network: Likewise.
898 * resolv/tst-resolv-search: Likewise.
899 * support/Makefile (libsupport-routines): Add check_addrinfo,
900 check_dns_packet, check_hostent, check_netent, resolv_test,
901 support_format_address_family, support_format_addrinfo,
902 support_format_dns_packet, support_format_herrno,
903 support_format_hostent, support_format_netent, support_run_diff,
904 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
905 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
906 xstrdup, xwrite.
907 * support/check_addrinfo.c: New file.
908 * support/check_dns_packet.c: Likewise.
909 * support/check_hostent.c: Likewise.
910 * support/check_netent.c: Likewise.
911 * support/check_nss.h: Likewise.
912 * support/format_nss.h: Likewise.
913 * support/resolv_test.c: Likewise.
914 * support/resolv_test.h: Likewise.
915 * support/run_diff.h: Likewise.
916 * support/support_format_address_family.c: Likewise.
917 * support/support_format_addrinfo.c: Likewise.
918 * support/support_format_dns_packet.c: Likewise.
919 * support/support_format_herrno.c: Likewise.
920 * support/support_format_hostent.c: Likewise.
921 * support/support_format_netent.c: Likewise.
922 * support/support_run_diff.c: Likewise.
923 * support/xaccept.c: Likewise.
924 * support/xbind.c: Likewise.
925 * support/xconnect.c: Likewise.
926 * support/xfclose.c: Likewise.
927 * support/xfopen.c: Likewise.
928 * support/xgetsockname.c: Likewise.
929 * support/xlisten.c: Likewise.
930 * support/xmemstream.c: Likewise.
931 * support/xmemstream.h: Likewise.
932 * support/xpoll.c: Likewise.
933 * support/xpthread_once.c: Likewise.
934 * support/xrecvfrom.c: Likewise.
935 * support/xsendto.c: Likewise.
936 * support/xsetsockopt.c: Likewise.
937 * support/xstdio.h: Likewise.
938 * support/xstrdup.c: Likewise.
939 * support/support.h (xstrdup): Declare.
940 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
941 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
942 * support/xthread.h (xpthread_once): Likwise.
943 * support/xunistd.h (xwrite): Declare.
944
945 2016-12-31 Florian Weimer <fweimer@redhat.com>
946
947 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
948 (test_verbose): Declare.
949 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
950 * support/support_test_main.c (default_options): Likewise.
951 (usage, support_test_main): Handle 'v'.
952 (test_verbose): Define.
953 * support/tst-support_record_failure.c (do_test): Use
954 test_verbose.
955 * support/tst-support_record_failure-2.sh (different_status): Add
956 --verbose test.
957
958 2016-12-31 Florian Weimer <fweimer@redhat.com>
959
960 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
961 test failures are recorded.
962 * support/check.c (support_print_failure_impl): Call
963 support_record_failure.
964 (support_exit_failure_impl): Call support_record_failure if status
965 indicates failure.
966 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
967 * support/xasprintf.c (xasprintf): Likewise.
968 * support/xfork.c (xfork): Likewise.
969 * support/xpthread_check_return.c (xpthread_check_return):
970 Likewise.
971 * support/xsocket.c (xsocket): Likeweise.
972 * support/xwaitpid.c (xwaitpid): Likewise.
973 * support/support_record_failure.c (struct test_failures): Adjust
974 to coding style.
975 * support/support_test_verify_impl.c (support_test_verify_impl):
976 Adjust error messages.
977 * support/tst-support_record_failure-2.sh (different_status):
978 Adjust error messages.
979
980 2016-12-31 Florian Weimer <fweimer@redhat.com>
981
982 * support/namespace.h: New file.
983 * support/support_become_root.c: Likewise.
984 * support/support_enter_network_namespace.c: Likewise.
985 * support/tst-support-namespace.c: Likewise.
986 * support/xsocket.c: Likewise.
987 * support/xsocket.h: Likewise.
988 * support/Makefile (libsupport-routines): Add support_become_root,
989 support_enter_network_namespace, xsocket.
990 (tests): Add tst-support-namespace.
991
992 2016-12-31 Florian Weimer <fweimer@redhat.com>
993
994 [BZ #17252]
995 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
996 __USE_GNU.
997
998 2016-12-31 Torvald Riegel <triegel@redhat.com>
999
1000 [BZ #13165]
1001 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1002 use new algorithm.
1003 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1004 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1005 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1006 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1007 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1008 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1009 __condvar_cleanup_waiting, __condvar_dec_grefs,
1010 __pthread_cond_wait_common): New.
1011 (__condvar_cleanup): Remove.
1012 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1013 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1014 Likewise.
1015 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1016 Likewise.
1017 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1018 * nptl/tst-cond1.c: Add comment.
1019 * nptl/tst-cond20.c (do_test): Adapt.
1020 * nptl/tst-cond22.c (do_test): Likewise.
1021 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1022 structure.
1023 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1024 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1025 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1026 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1027 Likewise.
1028 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1029 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1030 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1031 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1032 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1033 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1034 Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1036 Likewise.
1037 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1038 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1039 (COND_CLOCK_BITS): Adapt.
1040 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1041 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1042 __PTHREAD_COND_SHARED_MASK): New.
1043 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1044 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1045 * nptl/nptl_lock_constants.pysym: Adapt.
1046 * nptl/test-cond-printers.py: Adapt.
1047 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1048 cond_compat_check_and_clear): Adapt.
1049 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1050 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1051 (__pthread_cond_timedwait): ... and move here.
1052 * nptl/DESIGN-condvar.txt: Remove file.
1053 * nptl/lowlevelcond.sym: Likewise.
1054 * nptl/pthread_cond_timedwait.c: Likewise.
1055 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1056 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1057 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1058 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1059 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1060 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1061 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1062 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1063 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1064 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1065 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1066 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1067 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1068 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1069 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1070 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1071
1072 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1073
1074 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1075 (fromfp): New declaration.
1076 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1077 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1078 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1079 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1080 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1081 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1082 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1083 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1084 * math/math.h: Include <bits/types.h>.
1085 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1086 constant and macro.
1087 (FP_INT_DOWNWARD): Likewise.
1088 (FP_INT_TOWARDZERO): Likewise.
1089 (FP_INT_TONEARESTFROMZERO): Likewise.
1090 (FP_INT_TONEAREST): Likewise.
1091 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1092 (fromfpf): Likewise.
1093 (fromfpl): Likewise.
1094 (ufromfp): Likewise.
1095 (ufromfpf): Likewise.
1096 (ufromfpl): Likewise.
1097 (fromfpx): Likewise.
1098 (fromfpxf): Likewise.
1099 (fromfpxl): Likewise.
1100 (ufromfpx): Likewise.
1101 (ufromfpxf): Likewise.
1102 (ufromfpxl): Likewise.
1103 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1104 s_fromfpxF and s_ufromfpxF.
1105 * math/gen-fromfp-tests.py: New file.
1106 * math/gen-fromfp-tests-inputs: Likewise.
1107 * math/libm-test.inc: Include <stdint.h>
1108 (check_intmax_t): New function.
1109 (check_uintmax_t): Likewise.
1110 (struct test_fiu_M_data): New type.
1111 (struct test_fiu_U_data): Likewise.
1112 (RUN_TEST_fiu_M): New macro.
1113 (RUN_TEST_LOOP_fiu_M): Likewise.
1114 (RUN_TEST_fiu_U): Likewise.
1115 (RUN_TEST_LOOP_fiu_U): Likewise.
1116 (fromfp_test_data): New array.
1117 (fromfp_test): New function.
1118 (fromfpx_test_data): New array.
1119 (fromfpx_test): New function.
1120 (ufromfp_test_data): New array.
1121 (ufromfp_test): New function.
1122 (ufromfpx_test_data): New array.
1123 (ufromfpx_test): New function.
1124 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1125 ufromfpx_test.
1126 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1127 characters.
1128 * math/test-tgmath-ret.c: Include <stdint.h>.
1129 (rm): New variable.
1130 (width): Likewise.
1131 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1132 called function.
1133 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1134 CHECK_RET_CONST_TYPE.
1135 (CHECK_RET_CONST_DOUBLE): Likewise.
1136 (CHECK_RET_CONST_LDOUBLE): Likewise.
1137 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1138 macros.
1139 (fromfp): New CHECK_RET_CONST call.
1140 (ufromfp): Likewise.
1141 (fromfpx): Likewise.
1142 (ufromfpx): Likewise.
1143 (do_test): Call check_return_fromfp, check_return_ufromfp,
1144 check_return_fromfpx and check_return_ufromfpx.
1145 * math/test-tgmath.c: Include <stdint.h>
1146 (NCALLS): Increase to 138.
1147 (F(compile_test)): Initialize i. Call fromfp functions.
1148 (F(fromfp)): New function.
1149 (F(fromfpx)): Likewise.
1150 (F(ufromfp)): Likewise.
1151 (F(ufromfpx)): Likewise.
1152 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1153 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1154 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1155 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1156 ufromfpxl.
1157 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1158 ufromfp and ufromfpx.
1159 * math/fromfp.h: New file.
1160 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1165 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1166 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1167 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1168 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1169 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1170 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1171 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1172 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1173 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1175 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1177 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1178 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1179 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1180 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1181 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1182 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1183 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1184 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1185 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1186 ufromfp, fromfpx and ufromfpx.
1187 (CFLAGS-nldbl-fromfp.c): New variable.
1188 (CFLAGS-nldbl-fromfpx.c): Likewise.
1189 (CFLAGS-nldbl-ufromfp.c): Likewise.
1190 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1191 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1192 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1193 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1194 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1195 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1196 * sysdeps/nacl/libm.abilist: Update.
1197 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1198 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1199 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1200 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1201 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1203 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1204 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1205 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1206 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1208 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1210 Likewise.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1212 Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1214 Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1216 Likewise.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1220 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1223 Likewise.
1224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1225 Likewise.
1226 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1227 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1229
1230 2016-12-30 Florian Weimer <fweimer@redhat.com>
1231
1232 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1233 compat-gethnamaddr.
1234 (CPPFLAGS): Remove.
1235 * resolv/gethnamaddr.c: Rename ...
1236 * resolv/compat-gethnamaddr.c: ... to this file.
1237 (_endhtent): Make static.
1238 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1239 symbol.
1240 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1241 compat symbol.
1242 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1243 symbol.
1244 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1245 Turn into compat symbol.
1246 * include/resolv.h (_endhtent): Remove declaration.
1247
1248 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1249
1250 * bits/types.h (__intmax_t): New typedef.
1251 (__uintmax_t): Likewise.
1252 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1253 (intmax_t): Define using __intmax_t.
1254 (uintmax_t): Define using __uintmax_t.
1255
1256 * support/Makefile (tests-special): Make definition conditional on
1257 [$(run-built-tests) = yes].
1258 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1259 on [$(run-built-tests) = yes].
1260
1261 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1262
1263 * Rules (tests): Add tests-printers-programs to tests to be
1264 built.
1265
1266 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1267
1268 * sysvipc/Makefile (tests): Add test-sysvshm.
1269 * sysvipc/test-sysvshm.c: New file.
1270
1271 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1272 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1273 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1274 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1275 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1276 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1277 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1278 Likewise.
1279 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1280 Likewise.
1281 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1282 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1283 is defined.
1284
1285 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1286 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1287 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1288 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1289 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1290 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1291 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1292 Likewise.
1293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1294 Likewise.
1295 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1296 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1297 defined.
1298
1299 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1300 oldshmctl.
1301 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1302 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1303 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1304 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1305 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1306 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1307 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1308 Likewise.
1309 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1310 Likewise.
1311 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1312 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1313 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1314 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1315 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1316 implementation.
1317 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1318 if it is defined.
1319
1320 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1321 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1322 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1323 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1324 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1325 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1326 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1327 Likewise.
1328 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1329 Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1332 Define to __NR_osf_shmat.
1333 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1334 defined.
1335
1336 * sysvipc/Makefile (tests): Add test-sysvsem.
1337 * sysvipc/test-sysvsem.c: New file.
1338
1339 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1340 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1341 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1342 Likewise.
1343 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1344 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1345 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1346 Likewise.
1347 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1348 Likewise.
1349 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1350 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1351 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1352 add a comment about s390 syscall difference from default one.
1353 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1354 syscall if it is defined.
1355
1356 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1357 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1358 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1359 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1360 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1361 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1362 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1363 Likewise.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1365 Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1367 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1368 defined.
1369
1370 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1371 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1372 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1373 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1374 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1375 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1376 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1377 Likewise.
1378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1381 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1382 if it is defined.
1383
1384 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1385 oldsemctl.
1386 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1387 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1388 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1389 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1390 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1391 implementation.
1392 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1393 syscall if it is defined.
1394 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1395 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1396 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1397 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1398 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1401
1402 * sysvipc/Makefile (tests): Add test-sysvmsg.
1403 * sysvipc/test-sysvmsg.c: New file.
1404 * support/check.h (FAIL_UNSUPPORTED): New define.
1405
1406 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1407 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1408 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1409 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1410 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1411 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1412 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1417 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1418 define.
1419
1420 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1421 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1422 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1423 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1424 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1425 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1426 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1431 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1432 if defined.
1433
1434 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1435 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1436 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1437 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1438 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1439 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1443 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1444 Likewise.
1445 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1446 if defined.
1447 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1448
1449 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1450 oldmsgctl.
1451 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1452 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1453 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1454 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1455 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1456 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1457 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1459 Likewise.
1460 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1461 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1462 implementation.
1463 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1464 if defined.
1465
1466 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1467 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1468 definition and define its own.
1469 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1470 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1471 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1472 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1473 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1474 definitions to common header.
1475 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1476 operation from ipc_ops.h.
1477
1478 * sysdeps/unix/sysv/linux/kernel-features.h
1479 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1480 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1481 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1482 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1483 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1484 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1485 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1487 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1488 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1489 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1490 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1491 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1492 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1493 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1494
1495 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1496
1497 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1498 overflow in pointer addition.
1499
1500 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1501
1502 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1503 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1505 (strchr): Add __strchr_power8 to list of strchr functions.
1506 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1507 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1508 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1509 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1510 (strchr): Add __strchr_power8 to ifunc list.
1511 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1512 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1513 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1514 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1515
1516 2016-12-28 Florian Weimer <fweimer@redhat.com>
1517
1518 * support/Makefile (libsupport-routines): Add
1519 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1520 (tests): Add tst-support_record_failure.
1521 (tests-special): tst-support_record_failure-2.
1522 (tst-support_record_failure-2.out): Depend on
1523 tst-support_record_failure-2.sh and tst-support_record_failure.
1524 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1525 (support_test_verify_impl, support_record_failure)
1526 (support_report_failure, support_report_failure_reset): Declare.
1527 * support/support_test_main.c (adjust_exit_status): New function.
1528 (support_test_main): Call it to incorporate record test failures.
1529 * support/support_test_verify_impl.c: New file.
1530 * support/support_record_failure.c: Likewise.
1531 * support/tst-support_record_failure.c: Likewise.
1532 * support/tst-support_record_failure-2.sh: Likewise.
1533 * support/xunistd.h: Likewise.
1534 * support/xfork.c: Likewise.
1535 * support/xwaitpid.c: Likewise.
1536
1537 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
1538
1539 * scripts/check-c++-types.sh: Add comments.
1540
1541 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
1542
1543 [BZ #19514]
1544 * resolv/res_send.c: Fix typo in comment.
1545 * sysdeps/i386/i386-mcount.S: Likewise.
1546 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1547 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1548 * sysdeps/sparc/sparc-mcount.S: Likewise.
1549
1550 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1551
1552 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1553 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1554 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1555 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1560
1561 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1562
1563 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1564
1565 2016-12-27 Florian Weimer <fweimer@redhat.com>
1566
1567 [BZ #17252]
1568 * posix/unistd.h (getentropy): Declare.
1569
1570 2016-12-27 Florian Weimer <fweimer@redhat.com>
1571
1572 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1573 Remove.
1574 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1575 (cmd): Remove spoof, nospoof, spoofalert.
1576 (parse_line): Ignore spoof-related lines.
1577 (do_init): Do not process RESOLV_SPOOF_CHECK.
1578
1579 2016-12-27 Florian Weimer <fweimer@redhat.com>
1580
1581 [BZ #20964]
1582 sunrpc: Always obtain AF_INET addresses from NSS.
1583 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1584 * sunrpc/rpc_gethostbyname.c: New file.
1585 * sunrpc/Makefile (routines): Add it.
1586 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1587 * sunrpc/clnt_simp.c (callrpc): Likewise.
1588 * sunrpc/getrpcport.c (getrpcport): Likewise.
1589
1590 2016-12-27 Florian Weimer <fweimer@redhat.com>
1591
1592 * sunrpc/rpcinfo.c: Remove.
1593 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1594
1595 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1596
1597 [BZ# 19387]
1598 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1599 addition.
1600 * string/test-memchr.c (do_test): Remove alignment limitation.
1601 (test_main): Add test that trigger BZ# 19387.
1602
1603 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1604
1605 [BZ #7065]
1606 Enable stack protectore if requested by ./configure.
1607 * Makeconfig (+stack-protector): New variable.
1608 (+cflags): Use it.
1609
1610 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1611
1612 [BZ #7065]
1613 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1615 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1616 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1617 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1618
1619 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1620
1621 [BZ #7065]
1622 * login/Makefile (pt_chown-cflags): Remove.
1623 * nscd/Makefile (CFLAGS-nscd): Likewise.
1624 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1625
1626 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1627
1628 [BZ #7065]
1629 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1630 non-libc-linking testcase.
1631
1632 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1633 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1634 Florian Weimer <fweimer@redhat.com>
1635
1636 [BZ #7065]
1637 PLT avoidance for __stack_chk_fail*.
1638 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1639 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1640 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1641 __stack_chk_fail_local alias.
1642 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1643 (__stack_chk_fail): Turn into hidden reference to
1644 __stack_chk_fail_local.
1645
1646 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1647
1648 [BZ #7065]
1649 * configure.ac: Add check for unsupported stack-protection level.
1650 (libc_cv_predef_stack_protector): Remove.
1651 (no_ssp): New variable.
1652 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1653 (stack_protector): Set to -fno-stack-protector similarly.
1654 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1655 (libc_cv_asm_set_directive): Likewise.
1656 (libc_cv_protected_data): Likewise.
1657 (libc_cv_z_combreloc): Likewise.
1658 (libc_cv_hashstyle): Likewise.
1659 (libc_cv_has_glob_dat): Likewise.
1660 (libc_cv_output_format): Likewise.
1661 (libc_cv_output_format): Likewise.
1662 (libc_cv_ehdr_start): Likewise.
1663 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1664 (LIBC_LINKER_FEATURE): Likewise.
1665 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1666
1667 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1668
1669 [BZ #7065]
1670 * elf/Makefile (dummy-stack-chk-fail): New.
1671 (librtld.map): Use it.
1672
1673 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1674
1675 [BZ #7065]
1676 Compile the dynamic linker without stack protection.
1677 * elf/Makefile (elide-stack-protector): New.
1678 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1679 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1680 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1681 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1682
1683 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1684
1685 [BZ #7065]
1686 * config.make.in (have-ssp, no-stack-protector): New.
1687 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1688 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1689 (CFLAGS-sbrk.op): Likewise.
1690 (CFLAGS-brk.o): Likewise.
1691 (CFLAGS-brk.op): Likewise.
1692 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1693 (CFLAGS-wordcopy.c): Likewise.
1694
1695 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1696
1697 [BZ #7065]
1698 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1699 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1700 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1701 (__ifunc_resolver): Use it.
1702 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1703 inhibit_stack_protector.
1704 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1705 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1706 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1707 (foo_protected_ifunc): Likewise.
1708 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1709 (foo_protected_ifunc): Likewise.
1710 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1711 * sysdeps/nacl/nacl_interface_query.c
1712 (nacl_interface_query_ifunc): Likewise.
1713 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1715 Likewise.
1716 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1717 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1718 the generated vDSO syscall resolver.
1719
1720 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1721 Florian Weimer <fweimer@redhat.com>
1722
1723 [BZ #7065]
1724 Initialize the stack guard earlier when linking statically.
1725 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1726 (__pthread_initialize_minimal): Declare.
1727 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1728 declaration.
1729 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1730 stack canary and apply_irel initialization up. Call
1731 __pthread_initialize_minimal only if linked in.
1732 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1733 constant values.
1734 (__pthread_initialize_minimal): Remove.
1735 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1736 (__pthread_initialize_minimal_internal): Do not call
1737 __libc_setup_tls.
1738
1739 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1740
1741 [BZ #7065]
1742 * configure.ac (libc_cv_ssp): Move up.
1743 (libc_cv_ssp_strong): Likewise.
1744 (libc_cv_ssp_all): New.
1745 (stack_protector): Augment, adding -fstack-protector-all.
1746 (no_stack_protector): New.
1747 (STACK_PROTECTOR_LEVEL): New.
1748 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1749 * manual/install.texi (--enable-stack-protector): Document it.
1750 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1751
1752 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1753
1754 * README.pretty-printers: Must specify CPPFLAGS-* also.
1755 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1756 (CPPFLAGS-test-mutex-printers.c): Define.
1757 (CPPFLAGS-test-condattr-printers.c): Define.
1758 (CPPFLAGS-test-cond-printers.c): Define.
1759 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1760 (CPPFLAGS-test-rwlock-printers.c): Define.
1761
1762 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1763 (tests): Add tst-cancel-getpwuid_r.
1764 * nss/tst-cancel-getpwuid_r.c: New file.
1765
1766 [BZ #11941]
1767 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1768 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1769 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1770 tst-nodelete-dlclose.
1771 (modules-names): Add tst-nodelete-dlclose-dso and
1772 tst-nodelete-dlclose-plugin.
1773 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1774 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1775 ($(objpfx)tst-nodelete-dlclose): Define.
1776 ($(objpfx)tst-nodelete-dlclose.out): Define.
1777
1778 2016-12-23 Florian Weimer <fweimer@redhat.com>
1779
1780 * scripts/test_printers_common.py: Log GDB output in case of
1781 Python detection failure.
1782
1783 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1784
1785 * configure.ac: Check for python3 or python.
1786 * configure: Regenerated.
1787 * config.make.in (PYTHON): New variable.
1788 * benchtests/Makefile: Don't define PYTHON.
1789 (bench): Define target only if PYTHON was defined.
1790 * Rules: Don't define PYTHON.
1791 Define pretty printer targets only if PYTHON was defined.
1792 (tests-printers): Add to tests-unsupported if PYTHON is not
1793 found.
1794 (python-flags, python-invoke): Remove.
1795 (tests-printers-out): Use PYTHON instead of python-invoke.
1796
1797 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1798
1799 [BZ #20978]
1800 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1801 Compare name == NULL, not name != NULL.
1802
1803 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1804 trailing whitespace removed.
1805 * scripts/config.guess: Update to version 2016-10-02.
1806 * scripts/config.sub: Update to version 2016-11-19.
1807 * scripts/install-sh: Update to version 2016-01-11.22.
1808 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1809 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1810
1811 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1812
1813 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1814 (do_one_test) Restore original string so iteration works.
1815 * string/string-inlines.c (do_test): Create better input strings.
1816 (test_main) Reduce number of testruns.
1817 * string/string-inlines.c (__old_strsep_1c): New function.
1818 (__old_strsep_2c): Likewise.
1819 (__old_strsep_3c): Likewise.
1820 * string/strsep.c (__strsep): Remove case of small delim string.
1821 Call strcspn directly rather than strpbrk.
1822 * string/bits/string2.h (__strsep): Remove define.
1823 (__strsep_1c): Remove.
1824 (__strsep_2c): Remove.
1825 (__strsep_3c): Remove.
1826 (strsep): Remove.
1827 * sysdeps/unix/sysv/linux/internal_statvfs.c
1828 (__statvfs_getflags): Rename to __strsep.
1829
1830 2016-12-21 Florian Weimer <fweimer@redhat.com>
1831
1832 * csu/libc-tls.c (_dl_tls_setup): Remove.
1833 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1834 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1835 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1836
1837 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1838
1839 [BZ #7065]
1840 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1841 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1842
1843 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1844 Florian Weimer <fweimer@redhat.com>
1845
1846 [BZ #7065]
1847 * csu/Makefile (tests): Empty assignment and document it.
1848 (tests-static): Remove.
1849 * csu/tst-empty.c: Move to...
1850 * misc/tst-empty.c: ... here. Switch to new test driver.
1851 * csu/tst-atomic.c: Move to...
1852 * misc/tst-atomic.c: ... here. Switch to new test driver.
1853 * csu/tst-atomic-long.c: Move to...
1854 * misc/tst-atomic-long.c: ... here.
1855 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1856 tst-atomic-long.
1857 (tests-static): Add tst-empty.
1858
1859 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1860
1861 * manual/nss.texi: Change incorrect @vtable to @table.
1862 * manual/arith.texi: Convert @tables of variables to @vtables
1863 and remove unnecessary indexing.
1864 * manual/filesys.texi: Likewise.
1865 * manual/llio.texi: Likewise.
1866 * manual/memory.texi: Likewise.
1867 * manual/process.texi: Likewise.
1868 * manual/resource.texi: Likewise.
1869 * manual/search.texi: Likewise.
1870 * manual/signal.texi: Likewise.
1871 * manual/socket.texi: Likewise.
1872 * manual/stdio.texi: Likewise.
1873 * manual/sysinfo.texi: Likewise.
1874 * manual/syslog.texi: Likewise.
1875 * manual/terminal.texi: Likewise.
1876 * manual/time.texi: Likewise.
1877 * manual/users.texi: Likewise.
1878
1879 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1880
1881 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1882 (roundeven): New declaration.
1883 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1884 macro.
1885 * math/Versions (roundeven): New libm symbol at version
1886 GLIBC_2.25.
1887 (roundevenf): Likewise.
1888 (roundevenl): Likewise.
1889 * math/Makefile (libm-calls): Add s_roundevenF.
1890 * math/libm-test.inc (roundeven_test_data): New array.
1891 (roundeven_test): New function.
1892 (main): Call roundeven_test.
1893 * math/test-tgmath.c (NCALLS): Increase to 134.
1894 (F(compile_test)): Call roundeven.
1895 (F(roundeven)): New function.
1896 * manual/arith.texi (Rounding Functions): Document roundeven,
1897 roundevenf and roundevenl.
1898 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1899 * include/math.h (roundeven): Use libm_hidden_proto.
1900 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1901 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1902 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1907 roundeven.
1908 (CFLAGS-nldbl-roundeven.c): New variable.
1909 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1910 * sysdeps/nacl/libm.abilist: Update.
1911 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1912 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1913 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1914 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1915 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1916 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1917 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1918 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1919 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1921 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1922 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1924 Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1926 Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1928 Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1930 Likewise.
1931 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1933 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1937 Likewise.
1938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1939 Likewise.
1940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1943
1944 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1945
1946 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1947 preprocessor indentation inside #if.
1948
1949 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1950
1951 * math/libm-test.inc (fmt_ftostr): New function.
1952 (print_float, check_float_internal): Replace some uses of
1953 FTOSTR with uses of fmt_ftostr.
1954 (print_max_error, print_complex_max_error, print_function_ulps)
1955 (print_complex_function_ulps): Remove uses of the macros
1956 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1957 * math/test-double.h (FTOSTR): Define to strfromd.
1958 (PRINTF_EXPR): Delete.
1959 (PRINTF_XEXPR): Likewise.
1960 (PRINTF_NEXPR): Likewise.
1961 * math/test-float.h (FTOSTR): Define to strfromf.
1962 (PRINTF_EXPR): Delete.
1963 (PRINTF_XEXPR): Likewise.
1964 (PRINTF_NEXPR): Likewise.
1965 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1966 (PRINTF_EXPR): Delete.
1967 (PRINTF_XEXPR): Likewise.
1968 (PRINTF_NEXPR): Likewise.
1969
1970 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1971
1972 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1973 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1974 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1975 (__lll_lock_elision): Decrement adapt_count while unlocking
1976 instead of before locking.
1977 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1978 (__lll_trylock_elision): Likewise.
1979 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1980 (__lll_unlock_elision): Likewise.
1981
1982 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1983
1984 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1985 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1986 Use __libc_tbegin_retry macro.
1987
1988 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1989
1990 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1991 Add -msoft-float.
1992 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1993 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1994 Use __libc_t* transaction macros instead of __builtin_t*.
1995 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1996 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1997
1998 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1999
2000 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2001 (__lll_lock_elision): Use atomics to load / store adapt_count.
2002 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2003 (__lll_trylock_elision): Likewise.
2004
2005 2016-12-20 Florian Weimer <fweimer@redhat.com>
2006
2007 Do not require memset elimination in explicit_bzero test.
2008 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2009 (enum test_expectation): Add NO_EXPECTATIONS.
2010 (subtests): NO_EXPECTATIONS for ordinary clear.
2011 (check_test_buffer): Handle NO_EXPECTATIONS.
2012 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2013
2014 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2015
2016 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2017 (fmaxmag): New declaration.
2018 (fminmag): Likewise.
2019 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2020 macro.
2021 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2022 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2023 (fmaxmagf): Likewise.
2024 (fmaxmagl): Likewise.
2025 (fminmag): Likewise.
2026 (fminmagf): Likewise.
2027 (fminmagl): Likewise.
2028 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2029 * math/s_fmaxmag_template.c: New file.
2030 * math/s_fminmag_template.c: Likewise.
2031 * math/libm-test.inc (fmaxmag_test_data): New array.
2032 (fmaxmag_test): New function.
2033 (fminmag_test_data): New array.
2034 (fminmag_test): New function.
2035 (main): Call fmaxmag_test and fminmag_test.
2036 * math/test-tgmath.c (NCALLS): Increase to 132.
2037 (F(compile_test)): Call fmaxmag and fminmag.
2038 (F(fminmag)): New function.
2039 (F(fmaxmag)): Likewise.
2040 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2041 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2042 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2043 fminmag.
2044 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2045 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2046 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2049 and fminmag.
2050 (CFLAGS-nldbl-fmaxmag.c): New variable.
2051 (CFLAGS-nldbl-fminmag.c): Likewise.
2052 * sysdeps/nacl/libm.abilist: Update.
2053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2055 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2056 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2057 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2059 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2060 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2061 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2062 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2063 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2064 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2066 Likewise.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2070 Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2074 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2079 Likewise.
2080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2081 Likewise.
2082 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2085
2086 2016-12-19 Torvald Riegel <triegel@redhat.com>
2087
2088 [BZ #20973]
2089 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2090 wake-up in robust mutexes.
2091 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2092
2093 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2094
2095 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2096 (CFLAGS-bench-fmaxf.c): New rule.
2097 (CFLAGS-bench-fminf.c): Likewise.
2098 * benchtests/fmaxf-inputs: New file.
2099 * benchtests/fminf-inputs: Likewise.
2100
2101 * benchtests/Makefile (bench-math): Add fmin and fmax.
2102 (CFLAGS-bench-fmax.c): New rule.
2103 (CFLAGS-bench-fmin.c): Likewise.
2104 * benchtests/fmax-inputs: New file.
2105 * benchtests/fmin-inputs: Likewise.
2106
2107 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2108 parenthesis.
2109 (CMDLINE_PROCESS): Define using function instead of macro.
2110 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2111 of test-skeleton.
2112 * benchtests/bench-memchr.c: Likewise.
2113 * benchtests/bench-memcmp.c: Likewise.
2114 * benchtests/bench-memcpy-large.c: Likewise.
2115 * benchtests/bench-memcpy.c: Likewise.
2116 * benchtests/bench-memmem.c: Likewise.
2117 * benchtests/bench-memmove-large.c: Likewise.
2118 * benchtests/bench-memmove.c: Likewise.
2119 * benchtests/bench-memset-large.c: Likewise.
2120 * benchtests/bench-memset.c: Likewise.
2121 * benchtests/bench-rawmemchr.c: Likewise.
2122 * benchtests/bench-strcasecmp.c: Likewise.
2123 * benchtests/bench-strcasestr.c: Likewise.
2124 * benchtests/bench-strcat.c: Likewise.
2125 * benchtests/bench-strchr.c: Likewise.
2126 * benchtests/bench-strcmp.c: Likewise.
2127 * benchtests/bench-strcpy.c: Likewise.
2128 * benchtests/bench-strcpy_chk.c: Likewise.
2129 * benchtests/bench-strlen.c: Likewise.
2130 * benchtests/bench-strncasecmp.c: Likewise.
2131 * benchtests/bench-strncmp.c: Likewise.
2132 * benchtests/bench-strncpy.c: Likewise.
2133 * benchtests/bench-strnlen.c: Likewise.
2134 * benchtests/bench-strpbrk.c: Likewise.
2135 * benchtests/bench-strrchr.c: Likewise.
2136 * benchtests/bench-strsep.c: Likewise.
2137 * benchtests/bench-strspn.c: Likewise.
2138 * benchtests/bench-strstr.c: Likewise.
2139 * benchtests/bench-strtok.c: Likewise.
2140
2141 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2142
2143 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2144 stepping identification.
2145 (init_cpu_features): Add handle of Haswell.
2146
2147 2016-11-25 Jim Meyering <meyering@fb.com>
2148
2149 [BZ #20386]
2150 Let gcc detect assert(a = 1) errors.
2151 * assert/assert.h (assert): Rewrite, retaining the old definintion
2152 when required, but otherwise putting the expression as-is in an "if"
2153 expression (hence, with no added parentheses) within a statement
2154 expression.
2155
2156 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2157
2158 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2159 DSO.
2160
2161 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2162
2163 * Rules (python-flags, python-invoke): New.
2164 ($(test-printers-out)): Use $(python-flags).
2165
2166 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2167
2168 * manual/arith.texi (Math Error Reporting): Document that sNaN
2169 arguments are not considered domain errors.
2170
2171 2016-12-16 Zack Weinberg <zackw@panix.com>
2172 Florian Weimer <fweimer@redhat.com>
2173 Nick Mathewson <nickm@torproject.org>
2174
2175 * string/explicit_bzero.c: New routine.
2176 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2177 * string/Makefile (routines, strop-tests, tests): Add them.
2178 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2179 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2180
2181 * debug/explicit_bzero_chk.c: New routine.
2182 * debug/Makefile (routines): Add it.
2183 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2184 * string/bits/string3.h: Fortify explicit_bzero.
2185
2186 * manual/string.texi: Document explicit_bzero.
2187 * NEWS: Mention addition of explicit_bzero.
2188
2189 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2190 data before returning, using explicit_bzero.
2191 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2192 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2193 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2194
2195 * include/string.h: Redirect internal uses of explicit_bzero
2196 to __explicit_bzero_chk[_internal].
2197 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2198 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2199 * sysdeps/arm/nacl/libc.abilist
2200 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2201 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2202 * sysdeps/unix/sysv/linux/arm/libc.abilist
2203 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2204 * sysdeps/unix/sysv/linux/i386/libc.abilist
2205 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2206 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2207 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2208 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2209 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2210 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2212 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2213 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2218 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2219 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2220 * sysdeps/unix/sysv/linux/sh/libc.abilist
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2225 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2226 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2227 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2228 Add entries for explicit_bzero and __explicit_bzero_chk.
2229
2230 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2231
2232 * math/fenv.h
2233 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2234 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2235 * math/test-fe-snans-always-signal.c: New file.
2236 * math/Makefile (tests): Add test-fe-snans-always-signal.
2237 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2238 * manual/arith.texi (Infinity and NaN): Document
2239 FE_SNANS_ALWAYS_SIGNAL.
2240
2241 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2242
2243 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2244 bracket.
2245
2246 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2247
2248 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2249 before calling execv.
2250
2251 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2252
2253 [BZ# 20971]
2254 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2255 overflow in pointer addition.
2256 * string/test-memchr.c (do_test): Add an argument to pass as
2257 the size on memchr.
2258 (test_main): Add check for SIZE_MAX.
2259
2260 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2261
2262 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2263 (libm-calls): Add w_scalblnF.
2264 * math/w_scalbln.c: Remove.
2265 * math/w_scalblnf.c: Likewise.
2266 * math/w_scalblnl.c: Likewise.
2267 * math/w_scalbln_template.c: New file with type-generic
2268 implementation based on math/w_scalbln.c.
2269 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2270 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2271
2272 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2273
2274 [BZ #20947]
2275 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2276 either is a signaling NaN.
2277 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2278 follow fmaxl more closely.
2279 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2280 when either is a signaling NaN.
2281 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2282 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2283 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2284 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2285 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2286 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2287 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2288 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2289 (fmin_test_data): Likewise.
2290
2291 2016-12-15 Andreas Schwab <schwab@suse.de>
2292
2293 * support/support_test_main.c (support_test_main): Don't shadow
2294 file-local variable test_pid.
2295
2296 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #20947]
2299 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2300 either is a signaling NaN.
2301 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2302
2303 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2304
2305 [BZ #20947]
2306 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2307 when either is a signaling NaN.
2308 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2309
2310 * bits/long-double.h: New file.
2311 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2312 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2313 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2314 * sysdeps/mips/bits/long-double.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2316 * math/Makefile (headers): Add bits/long-double.h.
2317 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2318 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2319 <bits/wordsize.h>.
2320 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2321 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2322 * math/math.h: Do not include <bits/mathdef.h>.
2323 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2324 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2325 inclusion.
2326 * sysdeps/ia64/bits/mathdef.h: Remove file.
2327 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2328 * sysdeps/mips/bits/mathdef.h: Likewise.
2329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2330 * sysdeps/s390/bits/mathdef.h: Likewise.
2331 * sysdeps/sparc/bits/mathdef.h: Likewise.
2332 * sysdeps/x86/bits/mathdef.h: Likewise.
2333 * sysdeps/s390/s390-32/bits/wordsize.h
2334 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2335 conditional code.
2336 * sysdeps/s390/s390-64/bits/wordsize.h
2337 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2338 Likewise.
2339 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2340 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2341 Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2343 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2346 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2347 Likewise.
2348
2349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2350 <linux/falloc.h>.
2351 (FALLOC_FL_KEEP_SIZE): Remove.
2352 (FALLOC_FL_PUNCH_HOLE): Likewise.
2353 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2354 (FALLOC_FL_ZERO_RANGE): Likewise.
2355
2356 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2357
2358 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2359
2360 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2361
2362 * sysdeps/unix/sysv/linux/renameat.c: New file.
2363 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2364
2365 * sysdeps/unix/sysv/linux/rename.c: New file.
2366 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2367
2368 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2369
2370 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2371 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2372 * string/strtok_r.c (__strtok_r): Optimize for performance.
2373 * string/string-inlines.c (__old_strtok_r_1c): New function.
2374 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2375
2376 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2377
2378 * math/Makefile (gen-libm-calls): Add w_log1pF.
2379 (libm-calls): Remove w_log1pF.
2380 * math/w_log1p.c: Remove.
2381 * math/w_log1pf.c: Likewise.
2382 * math/w_log1pl.c: Likewise.
2383 * math/w_log1p_template.c: New file with type-generic
2384 implementation based on math/w_log1p.c.
2385 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2386 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2387
2388 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2389
2390 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2391
2392 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2393
2394 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2395 kernel version to 4.9.
2396
2397 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2398
2399 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2400 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2401
2402 2016-12-13 Andreas Schwab <schwab@suse.de>
2403
2404 * sysdeps/powerpc/dl-procinfo.c: Don't define
2405 _dl_powerpc_platforms.
2406 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2407 constants instead of referencing _dl_powerpc_platforms.
2408 (_dl_platform_string): Remove.
2409
2410 2016-12-13 Florian Weimer <fweimer@redhat.com>
2411
2412 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2413
2414 2016-12-13 Florian Weimer <fweimer@redhat.com>
2415
2416 * Rules (binaries-shared-tests, binaries-pie-tests)
2417 (binaries-static-tests): Link with $(link-extra-libs-tests).
2418 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2419 Remove $(link-extra-libs-tests).
2420
2421 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2422
2423 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2424 (sysdep_routines): Add strncmp_power9.
2425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2426 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2427 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2428 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2429 (strncmp): Add __strncmp_power9 to ifunc list.
2430 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2431
2432 2016-12-12 Florian Weimer <fweimer@redhat.com>
2433
2434 [BZ #17252]
2435 Add getentropy, getrandom.
2436 * stdlib/sys/random.h: New file.
2437 (headers): Add it.
2438 * stdlib/Makefile (routines): Add getentropy, getrandom.
2439 (tests): Add tst-getrandom.
2440 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2441 * stdlib/getentropy.c: New file.
2442 * stdlib/getrandom.c: Likewise.
2443 * stdlib/tst-getrandom.c: Likewise.
2444 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2445 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2446 * manual/crypt.texi (Unpredictable Bytes): New section.
2447 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2448 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2449 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2450 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2451 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2452 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2453 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2454 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2455 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2456 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2457 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2458 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2460 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2461 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2462 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2464 Likewise.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2466 Likewise.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2469 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2470 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2471 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2473 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2476 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2478 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2479
2480 2016-12-10 Florian Weimer <fweimer@redhat.com>
2481
2482 [BZ #20956]
2483 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2484 as additional compiler barriers.
2485 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2486 (fn2, do_test): Declare with external linkage.
2487 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2488 (do_test): Declare with external linkage.
2489 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2490 (do_test): Declare with external linkage.
2491 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2492 (do_test): Declare with external linkage.
2493
2494 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2495
2496 * support/support_test_main.c (support_test_main): Use correct
2497 timeout.
2498
2499 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2500 Florian Weimer <fweimer@redhat.com>
2501
2502 [BZ #16421]
2503 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2504 and __u6_addr32 members.
2505 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2506 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2507 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2508 Use __u6_addr32.
2509 * inet/tst-checks.c: Use <support/test-driver.c>
2510 * inet/tst-checks-posix.c: New file.
2511 * inet/Makefile (tests): Add it.
2512 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2513
2514 2016-12-09 Florian Weimer <fweimer@redhat.com>
2515
2516 New subdirectory support for build and test infrastructure.
2517 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
2518 setting install-lib.
2519 * Makeconfig (link-extra-libs-tests): Define.
2520 (+link-pie-tests, +link-static-tests, +link-tests): Use
2521 link-extra-libs-tests.
2522 (rpath-dirs, all-subdirs): Add support.
2523 (built-modules): Add libsupport.
2524 (libsupport): Define.
2525 * support: New directory.
2526 * support/Makefile: New file.
2527 * support/check.c: Likewise.
2528 * support/check.h: Likewise.
2529 * support/delayed_exit.c: Likewise.
2530 * support/ignore_stderr.c: Likewise.
2531 * support/oom_error.c: Likewise.
2532 * support/set_fortify_handler.c: Likewise.
2533 * support/support.h: Likewise.
2534 * support/temp_file-internal.h: Likewise.
2535 * support/temp_file.c: Likewise.
2536 * support/test-driver.c: Likewise.
2537 * support/test-driver.h: Likewise.
2538 * support/test_main.c: Likewise.
2539 * support/write_message.c: Likewise.
2540 * support/xasprintf.c: Likewise.
2541 * support/xcalloc.c: Likewise.
2542 * support/xmalloc.c: Likewise.
2543 * support/xpthread_barrier_destroy.c: Likewise.
2544 * support/xpthread_barrier_init.c: Likewise.
2545 * support/xpthread_barrier_wait.c: Likewise.
2546 * support/xpthread_cancel.c: Likewise.
2547 * support/xpthread_check_return.c: Likewise.
2548 * support/xpthread_cond_wait.c: Likewise.
2549 * support/xpthread_create.c: Likewise.
2550 * support/xpthread_detach.c: Likewise.
2551 * support/xpthread_join.c: Likewise.
2552 * support/xpthread_mutex_lock.c: Likewise.
2553 * support/xpthread_mutex_unlock.c: Likewise.
2554 * support/xpthread_sigmask.c: Likewise.
2555 * support/xpthread_spin_lock.c: Likewise.
2556 * support/xpthread_spin_unlock.c: Likewise.
2557 * support/xrealloc.c: Likewise.
2558 * support/xsignal.h: Likewise.
2559 * support/xthread.h: Likewise.
2560 * support_tempfile.h: Likewise.
2561 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2562 (TEST_DATA_LIMIT): Remove unused macro.
2563 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2564 <support/check.h>.
2565 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2566 (ignore_stderr, set_fortify_handler): Remove. Now in
2567 <support/support.h>.
2568 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2569 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2570 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2571 (xpthread_join): Remove. Now in <support/xthread.h>.
2572 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2573 Introduce legacy wrappers.
2574 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2575 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2576 (write_message): Remove.
2577 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2578 test-skeleton.c.
2579 * io/test-open-tmpfile: Likewise.
2580 * io/tst-posix_fallocate-common.c: Likewise.
2581 * libio/tst-fseek.c: Likewise.
2582 * malloc/tst-malloc-backtrace.c: Likewise.
2583 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2584 * malloc/tst-malloc-thread-exit.c: Likewise.
2585 * nptl/tst-cancel7.c: Likewise.
2586 * nptl/tst-cleanup0.c: Likewise.
2587 * posix/tst-posix_fadvise-common.c: Likewise.
2588 * rt/tst-shm.c: Likewise.
2589 * time/bug-getdate1.c: Likewise.
2590 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2591 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2592 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2593
2594 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2595
2596 * Rules [$(run-built-tests) != no] (tests-expected): Add
2597 $(tests-printers).
2598 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2599
2600 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2601
2602 [BZ #20539]
2603 * math/Makefile (install-lib-ldscripts): Add libm.a.
2604 (install_subdir): Remove.
2605 (install-others): Add.
2606 ($(inst_libdir)/libm.a): Add rule for installation as
2607 linker script.
2608 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2609
2610 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2611
2612 * INSTALL: Regenerated.
2613 * Makeconfig: Add comments and whitespace to make the control flow
2614 clearer.
2615 (+link-printers-tests, +link-pie-printers-tests,
2616 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2617 built-rtld-LDFLAGS, link-libc-rpath,
2618 link-libc-tests-after-rpath-link,
2619 link-libc-printers-tests): New.
2620 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2621 link-libc-tests): Use the new variables as required.
2622 * Makerules ($(py-const)): New rule.
2623 generated: Add $(py-const).
2624 * README.pretty-printers: New file.
2625 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2626 (others): Depend on $(py-const).
2627 (tests): Depend on $(tests-printers-programs) or
2628 $(tests-printers-out),
2629 as required. Pass $(tests-printers) to merge-test-results.sh.
2630 * manual/install.texi: Add requirements for testing the pretty
2631 printers.
2632 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2633 tests-printers, CFLAGS-test-mutexattr-printers.c
2634 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2635 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2636 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2637 * nptl/nptl-printers.py: New file.
2638 * nptl/nptl_lock_constants.pysym: Likewise.
2639 * nptl/test-cond-printers.c: Likewise.
2640 * nptl/test-cond-printers.py: Likewise.
2641 * nptl/test-condattr-printers.c: Likewise.
2642 * nptl/test-condattr-printers.py: Likewise.
2643 * nptl/test-mutex-printers.c: Likewise.
2644 * nptl/test-mutex-printers.py: Likewise.
2645 * nptl/test-mutexattr-printers.c: Likewise.
2646 * nptl/test-mutexattr-printers.py: Likewise.
2647 * nptl/test-rwlock-printers.c: Likewise.
2648 * nptl/test-rwlock-printers.py: Likewise.
2649 * nptl/test-rwlockattr-printers.c: Likewise.
2650 * nptl/test-rwlockattr-printers.py: Likewise.
2651 * scripts/gen-py-const.awk: Likewise.
2652 * scripts/test_printers_common.py: Likewise.
2653 * scripts/test_printers_exceptions.py: Likewise.
2654
2655 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2656
2657 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2658 argument.
2659 (Glibc.build_glibc): Strip installed shared libraries if
2660 requested.
2661 (get_parser): Add --strip option.
2662 (main): Update Context call.
2663
2664 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2665 Dominik Vogt <vogt@linux.vnet.ibm.com>
2666
2667 [BZ #20847]
2668 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2669 array bounds for else branch.
2670 (__execvpe): Style fixes.
2671 * posix/tst-vfork3.c (run_script): New function.
2672 (create_script): Likewise.
2673 (do_test): Use run_script internal function.
2674 (do_prepare): Use create_script internal function.
2675
2676 2016-12-07 Andreas Schwab <schwab@suse.de>
2677
2678 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2679 (__elision_available): Don't declare.
2680 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2681 (__elision_available): Don't define.
2682 (elision_init): Don't set __elision_available.
2683
2684 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2685
2686 [BZ #20940]
2687 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2688 return Inf for arguments Inf and sNaN.
2689 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2690 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2691 Likewise.
2692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2693 Likewise.
2694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2695 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2696 for arguments Inf and sNaN. When returning a NaN, compute it by
2697 arithmetic on the arguments.
2698 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2699 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2700 arguments.
2701
2702 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2703
2704 [BZ #20916]
2705 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2706 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2707 to compute result.
2708 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2709 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2710
2711 2016-12-05 Torvald Riegel <triegel@redhat.com>
2712
2713 * include/atomic.h (__atomic_check_size_ls): New.
2714 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2715 atomic_store_release): Use it.
2716 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2717 (elision_adapt, ELIDE_LOCK): Use atomics.
2718 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2719 atomics and improve code comments.
2720 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2721 (__lll_trylock_elision): Likewise.
2722
2723 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2724
2725 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2726 programs.
2727
2728 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #20916]
2731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2732 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2733 arguments to compute result.
2734 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2735 1 for arguments (sNaN, 0) or (1, sNaN).
2736 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2738
2739 [BZ #20919]
2740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2741 NaN first argument when raised to power 0.
2742 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2743 raising to power zero.
2744 * math/w_powf.c (__powf): Likewise.
2745 * math/w_powl.c (__powl): Likewise.
2746 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2747 pow (0, 0) or pow (NaN, 0).
2748
2749 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2750
2751 [BZ #20918]
2752 * configure.ac: Test for static NSS cryptographic libraries and set
2753 libc_cv_static_nss_crypt.
2754 * configure: Regenerate.
2755 * config.make.in (static-nss-crypt): Define.
2756 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2757 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2758 (CFLAGS-tst-linkall-static.c): Define.
2759 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2760 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2761 ($(objpfx)tst-linkall-static): Define.
2762 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2763 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2764
2765 2016-12-02 Florian Weimer <fweimer@redhat.com>
2766
2767 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2768 (one-hundred, tst-tls-many-dynamic-modules): Define.
2769 (modules-names): Add $(tst-tls-many-dynamic-modules).
2770 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2771 macros.
2772 (tst-tls-manydynamic): Link against libdl, libpthread.
2773 (tst-tls-manydynamic.out): The test needs the test modules at run
2774 time.
2775 * elf/tst-tls-manydynamic.c: New file.
2776 * elf/tst-tls-manydynamic.h: Likewise.
2777 * elf/tst-tls-manydynamicmod.c: Likewise.
2778
2779 2016-12-02 Florian Weimer <fweimer@redhat.com>
2780
2781 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2782 (TLS_DTV_UNALLOCATED): Add.
2783 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2784 offsets.
2785
2786 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2787
2788 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2789
2790 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2791
2792 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2793 Add -fno-optimize-sibling-calls.
2794
2795 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2796
2797 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2798 New declaration.
2799 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2800 macro.
2801 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2802 New macro.
2803 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2804 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2805 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2806 (llogbf): Likewise.
2807 (llogbl): Likewise.
2808 * math/Makefile (gen-libm-calls): Add w_llogbF.
2809 (tests): Add test-fp-llogb-constants.
2810 * math/w_llogb_template.c: New file. Based on
2811 math/w_ilogb_template.c.
2812 * math/libm-test.inc (llogb_test_data): New array.
2813 (llogb_test): New function.
2814 (main): Call llogb_test.
2815 * math/test-fp-llogb-constants.c: New file. Based on
2816 math/test-fp-ilogb-constants.c.
2817 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2818 (do_test): Call check_return_llogb.
2819 * math/test-tgmath.c (NCALLS): Increase to 126.
2820 (F(compile_test)): Call llogb.
2821 (F(llogb)): New function.
2822 * manual/math.texi (Exponents and Logarithms): Document llogb,
2823 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2824 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2825 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2826 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2828 (CFLAGS-nldbl-llogb.c): New variable.
2829 * sysdeps/nacl/libm.abilist: Update.
2830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2831 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2832 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2841 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2843 Likewise.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2845 Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2847 Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2849 Likewise.
2850 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2851 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2852 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2853 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2854 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2856 Likewise.
2857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2858 Likewise.
2859 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2860 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2862
2863 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2864
2865 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2866 _Float128 instead of long double.
2867 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2868
2869 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2870 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2871 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2872 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2873 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2874 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2875 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2876 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2877 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2878 Likewise.
2879
2880 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2881
2882 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2883 Remove redirection to __strrchr_ppc.
2884
2885 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2886
2887 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2888 (sysdep_routines): Add strcmp_power9.
2889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2890 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2891 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2892 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2893 (strcmp): Add __strcmp_power9 to ifunc list.
2894 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2895
2896 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2897
2898 * bits/fp-logb.h: New file.
2899 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2900 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2901 * sysdeps/x86/bits/fp-logb.h: Likewise.
2902 * math/Makefile (headers): Add bits/fp-logb.h.
2903 * math/math.h: Include <bits/fp-logb.h>.
2904 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2905 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2906 * bits/mathdef.h (FP_ILOGB0): Remove.
2907 (FP_ILOGBNAN): Likewise.
2908 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2909 (FP_ILOGBNAN): Likewise.
2910 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2911 (FP_ILOGBNAN): Likewise.
2912 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2913 (FP_ILOGBNAN): Likewise.
2914 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2915 (FP_ILOGBNAN): Likewise.
2916 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2917 (FP_ILOGBNAN): Likewise.
2918 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2919 (FP_ILOGBNAN): Likewise.
2920 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2921 (FP_ILOGBNAN): Likewise.
2922 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2923 (FP_ILOGBNAN): Likewise.
2924 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2925 (FP_ILOGBNAN): Likewise.
2926
2927 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2928 time module.
2929 (Context.__init__): Initialize self.logsdir_old.
2930 (Context.run_builds): Handle bot action.
2931 (Context.bot_cycle): Copy logs directory before running builds.
2932 (Context.bot_run_self): Take argument for whether to check
2933 subprocess result. Flush stdout before running subprocess.
2934 (Context.bot): New function.
2935 (get_parser): Allow bot action.
2936
2937 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2938
2939 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2940 Import email.mime.text, email.utils and smtplib modules.
2941 (Context.__init__): Initialize self.bot_config_json.
2942 (Context.run_builds): Handle bot-cycle action.
2943 (Context.load_bot_config_json): New function.
2944 (Context.part_build_old): Likewise.
2945 (Context.bot_cycle): Likewise.
2946 (Context.bot_build_mail): Likewise.
2947 (Context.bot_run_self): Likewise.
2948 (get_parser): Allow bot-cycle action.
2949
2950 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2951
2952 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2953 Remove redirection to __stpcpy_ppc.
2954
2955 2016-11-30 Florian Weimer <fweimer@redhat.com>
2956
2957 Remove __libc_memalign from ld.so because it is unused.
2958 * elf/dl-minimal.c: Update comment on the malloc implementation.
2959 (malloc): Renamed from __libc_memalign, replacing the original
2960 malloc implementation. Replace the align parameter with
2961 MALLOC_ALIGNMENT.
2962 * elf/Versions (ld): Update comment and remove __libc_memalign.
2963 * sysdeps/nacl/ld.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2965 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2968 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2969 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2970 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2971 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2972 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2973 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2974 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2975 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2976 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2981 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2987 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2988 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2989 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2990 * sysdeps/generic/localplt.data (ld.so): Likewise.
2991 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2992 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2993 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2994 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2995 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2996 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2997 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2998 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2999 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3001 (ld.so): Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3003 (ld.so): Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3007 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3010 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3011
3012 2016-11-30 Florian Weimer <fweimer@redhat.com>
3013
3014 [BZ #16628]
3015 Implement _dl_catch_error, _dl_signal_error in libc.so.
3016 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3017 (catch_hook): Define as thread-local or regular variable,
3018 depending on DL_ERROR_BOOTSTRAP.
3019 (CATCH_HOOK): Remove.
3020 (dl_signal_error, _dl_catch_error): Use
3021 catch_hook. Add hidden definition for libc.
3022 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3023 for DL_ERROR_BOOTSTRAP only.
3024 * elf/dl-error.c: New file.
3025 * elf/dl-error-minimal.c: Likewise.
3026 * elf/tst-latepthread.c: Likewise.
3027 * elf/tst-latepthreadmod.c: Likewise.
3028 * elf/Makefile (routines): Add dl-error.
3029 (dl-routines): Remove dl-error.
3030 (rtld-routines): Add dl-error-minimal.
3031 [build-shared] (tests): Add tst-latepthread.
3032 (module-names): Add tst-latepthreadmod.
3033 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3034 symbol.
3035 (tst-latepthreadmod.so): Link against libpthread.
3036 (tst-latepthread): Link against libdbl.
3037 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3038 _dl_catch_error.
3039 [ld] (GLIBC_PRIVATE): Likewise.
3040 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3041 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3042 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3043 directly.
3044 * elf/dl-tsd.c: Remove file.
3045 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3046 _dl_catch_error, _dl_signal_error.
3047 (_dl_initial_error_catch_tsd): Remove definition.
3048 (do_preload): Remove initialization of dl_error_catch_tsd.
3049 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3050 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3051 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3052 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3053 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3054 set dl_error_catch_tsd.
3055 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3056 _dl_error_catch_tsd member.
3057 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3058 members.
3059 (_dl_initial_error_catch_tsd): Remove declaration.
3060 (_dl_dprintf): Provide definition for use outside of ld.so.
3061 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3062 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3063 prototype for libc.
3064 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3065 _dl_catch_error.
3066 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3067 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3068 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3069 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3070 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3071 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3072 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3073 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3074 Likewise.
3075 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3077 (ld.so): Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3079 (ld.so): Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3081 Likewise.
3082 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3083 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3085 Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3087 Likewise.
3088 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3089
3090 2016-11-30 Florian Weimer <fweimer@redhat.com>
3091
3092 [BZ #4099]
3093 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3094 _IO_BUFSIZ (8192).
3095
3096 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3097
3098 * PROJECTS: Remove file.
3099
3100 2016-11-29 Florian Weimer <fweimer@redhat.com>
3101
3102 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3103
3104 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3105 Steve Ellcey <sellcey@caviumnetworks.com>
3106
3107 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3108 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3109 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3110 fxstatat.
3111 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3112 lxstat.
3113 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3114 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3115 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3116 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3117 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3118 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3119 __xstat.
3120
3121 2016-11-29 Florian Weimer <fweimer@redhat.com>
3122
3123 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3124 Define.
3125 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3126 definition.
3127
3128 2016-11-29 Florian Weimer <fweimer@redhat.com>
3129
3130 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3131 version and turn into strong alias. Remove compat symbol.
3132
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3134 (__longjmp): Remove.
3135
3136 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3137
3138 * bits/fp-fast.h: New file.
3139 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3140 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3141 * math/Makefile (headers): Add bits/fp-fast.h.
3142 * math/math.h: Include <bits/fp-fast.h>.
3143 * bits/mathdef.h (FP_FAST_FMA): Remove.
3144 (FP_FAST_FMAF): Likewise.
3145 (FP_FAST_FMAL): Likewise.
3146 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3147 (FP_FAST_FMAF): Likewise.
3148 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3149 (FP_FAST_FMAF): Likewise.
3150 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3151 (FP_FAST_FMAF): Likewise.
3152 (FP_FAST_FMAL): Likewise.
3153 * sysdeps/arm/bits/mathdef.h: Remove file.
3154 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3155 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3156 * sysdeps/tile/bits/mathdef.h: Likewise.
3157
3158 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3159
3160 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3161 * math/w_ilogb.c: Remove.
3162 * math/w_ilogbf.c: Likewise.
3163 * math/w_ilogbl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3165 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3166 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3167 (libm-calls): Remove w_ilogbF.
3168 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3169 (LDOUBLE_ilogbl_libm_version): New macro.
3170
3171 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3172
3173 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3174 [!__STRICT_ANSI__ && !__cplusplus].
3175
3176 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3177
3178 [BZ #20750]
3179 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3180 of PIC.
3181
3182 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3183 Yury Norov <ynorov@caviumnetworks.com>
3184 Steve Ellcey <sellcey@caviumnetworks.com>
3185
3186 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3187 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3188 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3189 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3190 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3191 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3192 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3193 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3194 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3195 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3196 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3197 to get correct reg name for ILP32.
3198 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3199 (RELA_SIZE): New Macro.
3200 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3201 to support ILP32.
3202 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3203 cast for ILP32 mode.
3204 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3205 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3206 * sysdeps/aarch64/memset.S (__memset): Ditto.
3207 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3208 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3209 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3210 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3211 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3212 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3213 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3214 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3215 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3216 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3217 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3218 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3219 change PTR_MANGLE call to use register numbers instead of names.
3220 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3221 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3222 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3223 * sysdeps/aarch64/start.S (_start): Ditto.
3224 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3225 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3226 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3227 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3228 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3229 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3230 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3231 Make defined values dependent on __ILP32__.
3232 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3233 (sem_t): Change __align type.
3234 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3235 PTR_SIZE): New Macros.
3236 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3237 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3238 Set when in ILP32 mode.
3239 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3240 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3241 Set elf flags for ILP32.
3242 (add_system_dir): Set ILP32 library directories.
3243 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3244 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3245 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3246 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3247 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3248 New Macros.
3249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3250
3251 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3252
3253 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3254 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3255 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3256
3257 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3258
3259 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3260 <asm/cachectl.h>.
3261
3262 2016-11-27 Zack Weinberg <zackw@panix.com>
3263
3264 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3265 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3266
3267 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3268
3269 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3270 error_t to fix usage in C++ programs.
3271
3272 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3273
3274 * scripts/build-many-glibcs.py: Import datetime module.
3275 (Context.__init__): Load JSON build state. Initialize list of
3276 status logs.
3277 (Context.run_builds): Update saved build state.
3278 (Context.add_makefile_cmdlist): Update list of status logs.
3279 (Context.load_build_state_json): New function.
3280 (Context.store_build_state_json): Likewise.
3281 (Context.clear_last_build_state): Likewise.
3282 (Context.update_build_state): Likewise.
3283 (CommandList.status_logs): Likewise.
3284
3285 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3286
3287 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3288 script being executed.
3289 (Context.get_script_text): New function.
3290 (Context.exec_self): Likewise.
3291 (Context.checkout): Re-exec script if changed by checkout process.
3292
3293 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3294
3295 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3296 (setpayloadsig): New declaration.
3297 * math/Versions (setpayloadsig): New libm symbol at version
3298 GLIBC_2.25.
3299 (setpayloadsigf): Likewise.
3300 (setpayloadsigl): Likewise.
3301 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3302 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3303 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3304 (setpayloadsig_test_data): New array.
3305 (setpayloadsig_test): New function.
3306 (main): Call setpayloadsig_test.
3307 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3308 setpayloadsigf and setpayloadsigl.
3309 * manual/libm-err-tab.pl: Update comment on interfaces without
3310 ulps tabulated.
3311 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3312 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3317 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3318 setpayloadsig.
3319 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3320 * sysdeps/nacl/libm.abilist: Update.
3321 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3324 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3325 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3326 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3327 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3328 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3329 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3330 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3331 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3332 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3334 Likewise.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3336 Likewise.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3338 Likewise.
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3342 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3343 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3347 Likewise.
3348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3349 Likewise.
3350 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3353
3354 * scripts/build-many-glibcs.py: Import json module.
3355 (Context.__init__): Take replace_sources argument. Load
3356 versions.json.
3357 (Context.load_versions_json): New function.
3358 (Context.store_json): Likewise.
3359 (Context.store_versions_json): Likewise.
3360 (Context.set_component_version): Likewise.
3361 (Context.checkout): Update versions.json. Check for and handle
3362 changes of version. Prefer previously explicitly specified
3363 version to default version.
3364 (Context.checkout_vcs): Return a revision identifier.
3365 (Context.git_checkout): Likewise.
3366 (Context.gcc_checkout): Likewise.
3367 (get_parser): Add --replace-sources option.
3368 (main): Pass replace_sources argument to Context call.
3369
3370 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3371
3372 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3373 * nptl/allocatestack.c (allocate_stack): Likewise.
3374 (__reclaim_stacks): Likewise.
3375 (setxid_signal_thread): Obtain pid through syscall.
3376 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3377 (sighandle_setxid): Likewise.
3378 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3379 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3380 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3381 Likewise.
3382 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3383 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3384 comment.
3385 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3386 * nptl/descr.h (struct pthread): Change comment about pid value.
3387 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3388 pid assert.
3389 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3390 Do not set pid value.
3391 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3392 pid cache check.
3393 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3394 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3395 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3396 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3397 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3398 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3399 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3400 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3401 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3402 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3403 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3404 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3405 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3406 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3407 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3408 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3409 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3410 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3411 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3412 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3413 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3414 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3415 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3416 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3417 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3420 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3421 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3422 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3423 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3425 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3426 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3427 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3428 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3429 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3430 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3431 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3432 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3433 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3434 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3435 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3438 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3439 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3440 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3443 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3444 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3445 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3446 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3447 struct access.
3448 (clone_test): Remove function.
3449 (do_test): Rewrite to take in consideration pid is not cached anymore.
3450
3451 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3452
3453 * bits/flt-eval-method.h: New file.
3454 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3455 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3456 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3457 * math/Makefile (headers): Add bits/flt-eval-method.h.
3458 * math/math.h: Include <bits/flt-eval-method.h>.
3459 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3460 [__USE_ISOC99] (double_t): Likewise.
3461 * bits/mathdef.h (float_t): Remove.
3462 (double_t): Likewise.
3463 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3464 (double_t): Likewise.
3465 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3466 (double_t): Likewise.
3467 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3468 (double_t): Likewise.
3469 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3470 (double_t): Likewise.
3471 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3472 (double_t): Likewise.
3473 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3474 (double_t): Likewise.
3475 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3476 (double_t): Likewise.
3477 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3478 (double_t): Likewise.
3479 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3480 (double_t): Likewise.
3481 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3482 (double_t): Likewise.
3483 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3484 (double_t): Likewise.
3485 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3486 (double_t): Likewise.
3487 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3488 (double_t): Likewise.
3489
3490 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3491
3492 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3493 instead of PIC.
3494
3495 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3496
3497 [BZ #20859]
3498 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3499 (-0x7fffffff) instead of 0x80000001.
3500 * math/test-fp-ilogb-constants.c: New file.
3501 * math/Makefile (tests): Add test-fp-ilogb-constants.
3502
3503 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3504
3505 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3506 (_init): Use it in place of hardcoded R_MIPS_JALR.
3507 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3508 (_init): Use it in place of hardcoded R_MIPS_JALR.
3509 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3510 (_init): Use it in place of hardcoded R_MIPS_JALR.
3511
3512 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3513
3514 [BZ #20787]
3515 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3516 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3517 (double_t): Do not define to double if [__x86_64__] when
3518 __FLT_EVAL_METHOD__ is nonzero.
3519 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3520 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3521 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3522 test-flt-eval-method-387 and test-flt-eval-method-sse.
3523 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3524 variable.
3525 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3526
3527 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
3528
3529 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3530 use of -fno-isolate-erroneous-paths options for tilepro.
3531
3532 2016-11-23 Florian Weimer <fweimer@redhat.com>
3533
3534 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3535 structure initialization is no longer needed.
3536
3537 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3538
3539 [BZ #20855]
3540 * bits/mathdef.h (float_t): Define to float.
3541 * math/test-flt-eval-method.c: New file.
3542 * math/Makefile (tests): Add test-flt-eval-method.
3543 (CFLAGS-test-flt-eval-method.c): New variable.
3544
3545 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
3546
3547 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3548 and __fstatfs. Make them aliases of __fstatfs64 if
3549 STATFS_IS_STATFS64 is set to non-zero.
3550 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3551 and __statfs64.
3552 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3553 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3554 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3555 for __statfs and statfs.
3556 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3557 to 0.
3558 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3559 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3560 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3561 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3562 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3563 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3566 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3567 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3568 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3569 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3570
3571 2016-11-22 Andreas Schwab <schwab@suse.de>
3572
3573 * misc/mkstemp.c: Include <fcntl.h>.
3574 * misc/mkstemps.c: Likewise.
3575 * misc/mkostemp.c: Likewise.
3576 * misc/mkostemps.c: Likewise.
3577
3578 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3579
3580 [BZ #20847]
3581 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3582 array bounds.
3583 (__execvpe): Likewise.
3584
3585 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3586
3587 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3588 -fno-isolate-erroneous-paths options for tilepro.
3589
3590 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3591
3592 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3593 to 0 when in 32 bit mode.
3594 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3595 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3596 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3597 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3599 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3600 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3601 XSTAT_IS_XSTAT64 test.
3602 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3603 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3604 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3605 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3606 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3607 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3608 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3609 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3610 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3611 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3612 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3613
3614 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3615
3616 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3617 (setpayload): New declaration.
3618 * math/Versions (setpayload): New libm symbol at version
3619 GLIBC_2.25.
3620 (setpayloadf): Likewise.
3621 (setpayloadl): Likewise.
3622 * math/Makefile (libm-calls): Add s_setpayloadF.
3623 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3624 test_Ff_b1_data.
3625 (RUN_TEST_Ff_b1): New macro.
3626 (RUN_TEST_LOOP_Ff_b1): Likewise.
3627 (canonicalize_test_data): Update type.
3628 (setpayload_test_data): New array.
3629 (setpayload_test): New function.
3630 (main): Call setpayload_test.
3631 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3632 setpayloadf and setpayloadl.
3633 * manual/libm-err-tab.pl: Update comment on interfaces without
3634 ulps tabulated.
3635 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3636 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3638 Likewise.
3639 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3640 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3645 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3647 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3648 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3649 setpayload.
3650 (CFLAGS-nldbl-setpayload.c): New variable.
3651 * sysdeps/nacl/libm.abilist: Update.
3652 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3653 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3654 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3655 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3656 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3657 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3658 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3659 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3660 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3661 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3662 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3663 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3665 Likewise.
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3667 Likewise.
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3669 Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3671 Likewise.
3672 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3673 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3674 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3675 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3676 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3678 Likewise.
3679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3682 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3684
3685 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3686
3687 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3688 * include/unistd.h: Extend comment about __access_noerrno return
3689 semantics.
3690 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3691 (access_common): Correct typo for EACCES.
3692
3693 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3694
3695 * sysdeps/tile/math-tests.h: New file.
3696
3697 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3698 (__old_set_dataplane): Rename from set_dataplane and make a
3699 compatibility symbol.
3700 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3701 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3702 sys/dataplane.h.
3703
3704 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3705
3706 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3707 script quote words in command output to log suitably for input to
3708 the shell.
3709
3710 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3711 Maciej W. Rozycki <macro@imgtec.com>
3712
3713 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3714 `.Lno_weak_fn' label.
3715 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3716 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3717
3718 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3719 Yury Norov <ynorov@caviumnetworks.com>
3720
3721 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3722 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3723 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3724 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3725 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3727 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3729 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3730 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3731 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3732 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3733 (sysdep_routines): Remove oldgetrlimit64.
3734 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3735 (sysdep_routines): Likewise.
3736 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3737 (sysdep_routines): Likewise.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3739 [$(subdir) = resource] (sysdep_routines): Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3741 [$(subdir) = resource] (sysdep_routines): Likewise.
3742 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3743 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3744 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3745 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3746 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3748 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3749 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3750 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3752 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3753 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3754 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3755 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3756 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3757 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3758 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3759 setrlimit and getrlimit.
3760 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3762 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3765 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3766 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3767 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3769 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3770 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3771 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3772 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3773 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3774 (__old_getrlimit64): Add compatibility symbol.
3775 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3776
3777 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3778
3779 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3780 newly built gmp, mpfr and mpc.
3781
3782 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3783
3784 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3785
3786 * conform/Makefile (linknamespace-libs): Rename to
3787 linknamespace-libs-thr.
3788 (linknamespace-libs-posix): New variable.
3789 (linknamespace-libs-xsi): Likewise.
3790 (linknamespace-libs-XPG3): Include libcrypt.a.
3791 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3792 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3793 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3794 (linknamespace-libs-XOPEN2K): Likewise.
3795 (linknamespace-libs-XOPEN2K8): Likewise.
3796 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3797
3798 [BZ #20829]
3799 * stdio-common/Versions (__snprintf): Add to version
3800 GLIBC_PRIVATE.
3801 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3802 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3803 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3804 of snprintf.
3805 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3806
3807 2016-11-16 Zack Weinberg <zackw@panix.com>
3808
3809 * string/string.h: Remove obsolete comment stating that
3810 strcoll_l and strxfrm_l have not yet been standardized.
3811
3812 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3813
3814 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3815 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3816 __access_noerrno.
3817 * io/access.c (__access_noerrno): New function.
3818 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3819 (hurd_fail_seterrno): Likewise.
3820 (access_common): Likewise.
3821 (__access_noerrno): Likewise.
3822 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3823 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3824 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3825 macro.
3826
3827 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3830 Only declare fpregs if [__SH_FPU_ANY__].
3831
3832 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3833
3834 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3835 Make code unconditional.
3836 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3837
3838 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3839
3840 * manual/sysinfo.texi (S_APPEND): Delete.
3841 (S_IMMUTABLE): Likewise.
3842
3843 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3844 Magnus Granberg <zorry@gentoo.org>
3845 Mike Frysinger <vapier@gentoo.org>
3846
3847 [BZ #20662]
3848 * configure.ac (libc_cv_predef_stack_protector): Also check for
3849 __stack_chk_fail_local symbols.
3850 * configure: Regenerated.
3851
3852 2016-11-15 Florian Weimer <fweimer@redhat.com>
3853
3854 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3855 (libc_hidden_def): Remove redefinition.
3856 (__sigsetjmp): Add hidden definition.
3857 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3858 (libc_hidden_def): Remove redefinition.
3859 (__sigsetjmp): Add hidden definition.
3860
3861 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3862
3863 * scripts/build-many-glibcs.py (os.path): Do not import.
3864 (Context): Inherit explicitly from object. Remove blank line
3865 between class and docstring.
3866 (Config): Likewise.
3867 (Glibc): Likewise.
3868 (Command): Likewise.
3869 (CommandList): Likewise.
3870 (Context.write_files): Store chmod mode in a variable.
3871
3872 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3873 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3874 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3875
3876 2016-11-14 Zack Weinberg <zackw@panix.com>
3877
3878 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3879 creating or re-creating it.
3880
3881 * string/bits/string2.h: Fix typo in comment.
3882
3883 2016-11-14 Zack Weinberg <zackw@panix.com>
3884
3885 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3886 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3887 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3888 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3889 of redirected function names.
3890
3891 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3892 as well. Document that MESSAGE must be a single string literal.
3893
3894 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3895
3896 * scripts/build-many-glibcs.py: New file.
3897
3898 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3899 (do_test): Disable -Wmaybe-uninitialized around uses of
3900 except_mask.
3901
3902 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3903
3904 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3905
3906 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3907 (atomic_store_release): Provide tilepro-specific implementations.
3908
3909 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3910
3911 * math/math.h (__MATH_TG): New macro.
3912 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3913 [__USE_ISOC99] (signbit): Likewise.
3914 [__USE_ISOC99] (isfinite): Likewise.
3915 [__USE_ISOC99] (isnan): Likewise.
3916 [__USE_ISOC99] (isinf): Likewise.
3917 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3918 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3919 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3920 __MATH_TG and __MATH_EVAL_FMT2.
3921 * sysdeps/generic/math_private.h (fabs_tg): Define using
3922 __MATH_TG.
3923 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3924 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3925 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3926 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3927 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3928 macro.
3929 (__iscanonical): Likewise.
3930 (iscanonical): Define using __MATH_TG.
3931
3932 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3933
3934 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3935 guards.
3936
3937 * sysdeps/unix/sysv/linux/access.c: New file.
3938 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3939
3940 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3941
3942 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3943 and __WORDSIZE32_PTRDIFF_LONG.
3944
3945 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3946
3947 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3948
3949 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3950
3951 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3952 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3953 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3954 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3955 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3957 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3958 * sysdeps/unix/sysv/linux/truncate.c: New file.
3959 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3960 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3961 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3962 Remove.
3963 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3964 Likewise.
3965
3966 * posix/tst-truncate-common.c: New file.
3967 * posix/tst-truncate.c: Use tst-truncate-common.c.
3968 * posix/tst-truncate64.c: Likewise and add LFS tests.
3969 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3970 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3971 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3972 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3973 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3975 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3976 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3977 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3978 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3979 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3980 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3981 Remove.
3982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3983 Likewise.
3984
3985 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3986
3987 [BZ #20790]
3988 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3989 to MAXLINESIZE.
3990 * sunrpc/bug20790.x: New file.
3991 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3992 variable.
3993 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3994 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3995
3996 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3997
3998 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3999
4000 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4001 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4002 calloc, realloc, free, memalign and __libc_memalign rather than
4003 making them optional.
4004
4005 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4006 for libc.so.
4007
4008 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4009
4010 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4011 ptw-lseek64.
4012 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4013 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4014 Likewise.
4015 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4016 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4017 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4018 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4019 * sysdeps/unix/sysv/linux/lseek.c: New file.
4020 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4021 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4022 __libc_lseek64 from auto-generation.
4023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4024 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4025
4026 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4027
4028 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4029 * nptl/tst-cleanup1.c (do_test): Likewise.
4030 * nptl/tst-cleanup3.c (do_test): Likewise.
4031 * nptl/tst-key1.c (do_test): Likewise.
4032 * nptl/tst-key2.c (tf, do_test): Likewise.
4033 * nptl/tst-key3.c (tf, do_test): Likewise.
4034 * nptl/tst-stdio1.c (do_test): Likewise.
4035 * nptl/tst-stdio2.c (do_test): Likewise.
4036
4037 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4038 * nptl/tst-kill6.c (handler): Likewise.
4039 * nptl/tst-tls2.c (CB): Likewise.
4040 * nptl/tst-tls3.c (CB): Likewise.
4041
4042 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4043
4044 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4045
4046 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4047 Steve Ellcey <sellcey@caviumnetworks.com>
4048
4049 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4050 __ASSUME_ST_INO_64_BIT as 0
4051 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4052 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4053 over the code where __ASSUME_ST_INO_64_BIT is used.
4054 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4055 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4056 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4057
4058 2016-11-07 Florian Weimer <fweimer@redhat.com>
4059
4060 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4061 Document ABI exposure of the __kind offset.
4062 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4063 Mention reason for the __kind offset exposure in the ABI.
4064 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4065 Likewise.
4066 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4067 Likewise.
4068 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4069 Likewise.
4070 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4071 (struct __pthread_mutex_s): Likewise.
4072 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4073 Likewise.
4074 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4075 Likewise.
4076 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4077 Likewise.
4078 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4079 Likewise.
4080 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4081 Likewise.
4082 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4083 Likewise.
4084 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4085 (struct __pthread_mutex_s): Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4087 (struct __pthread_mutex_s): Likewise.
4088 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4089 Likewise.
4090
4091 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4092
4093 * test-skeleton.c: Document do_test usage.
4094
4095 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4096
4097 * iconv/gconv.h (__gconv_info): Define __data element using a
4098 zero-length array.
4099
4100 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4101
4102 * math/test-tgmath2.c: Split up test function.
4103
4104 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4105
4106 * Rules (tests-expected): New variable, depending on
4107 $(run-built-tests).
4108 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4109 $(tests).
4110
4111 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4112 $(tests-unsupported).
4113
4114 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4115
4116 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4117 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4118
4119 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4120
4121 [BZ #20768]
4122 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4123 __fegetenv instead of fegetenv.
4124
4125 [BZ #14139]
4126 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4127 (find_files): Obtain platform name from libm-test-ulps-name and
4128 store in %pplatforms.
4129 (canonicalize_platform): Remove.
4130 (print_platforms): Use $pplatforms directly.
4131 (by_platforms): Do not allow for platforms missing from
4132 %pplatforms.
4133 * sysdeps/aarch64/libm-test-ulps-name: New file.
4134 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4135 * sysdeps/arm/libm-test-ulps-name: Likewise.
4136 * sysdeps/generic/libm-test-ulps-name: Likewise.
4137 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4138 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4139 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4140 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4141 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4142 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4143 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4144 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4145 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4146 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4147 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4148 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4149 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4150 * sysdeps/sh/libm-test-ulps-name: Likewise.
4151 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4152 * sysdeps/tile/libm-test-ulps-name: Likewise.
4153 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4154
4155 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4156
4157 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4158 (test-xfail-check-execstack): New variable.
4159
4160 * sysdeps/mips/localplt.data: New file.
4161
4162 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4163 Steve Ellcey <sellcey@caviumnetworks.com>
4164
4165 * bits/wordsize.h: Add documentation.
4166 * sysdeps/aarch64/bits/wordsize.h : New file
4167 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4168 definitions.
4169 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4170 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4171 with #if instead of #ifdef.
4172 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4173 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4174 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4175 Add or change defines.
4176 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4177 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4178 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4179 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4180 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4181 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4182 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4183 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4184 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4185 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4187 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4188 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4189 * sysdeps/x86/bits/wordsize.h: Likewise.
4190
4191 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4192 Kevin Petit <kevin.petit@arm.com>
4193
4194 * sysdeps/aarch64/memchr.S (__memchr): New file.
4195
4196 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4197
4198 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4199
4200 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4201
4202 [BZ #19398]
4203 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4204 $(linknamespace-symlists-tests).
4205
4206 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4207
4208 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4209
4210 2016-11-02 Florian Weimer <fweimer@redhat.com>
4211 Carlos O'Donell <carlos@redhat.com>
4212
4213 [Bug #20729]
4214 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4215 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4216 for -Os related change.
4217
4218 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4219
4220 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4221
4222 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4223
4224 [BZ #19673]
4225 * manual/math.texi (Exponents and Logarithms): Correct description
4226 of clog10.
4227
4228 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4229
4230 [Bz #20729]
4231 * locale/weight.h: Include libc-internal.h.
4232 * locale/weightwc.h: Likewise.
4233 * nptl/nptl_dbP.h: Likewise.
4234
4235 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4236
4237 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4238 when it is MACH_PORT_NULL.
4239
4240 2016-10-31 Andreas Schwab <schwab@suse.de>
4241
4242 [BZ #20707]
4243 * posix/glob.c (glob): Initialize pglob before checking for
4244 GLOB_BRACE. Don't call glob recursively if pattern contains no
4245 valid brace expression despite GLOB_BRACE.
4246 * posix/globtest.sh: Test it.
4247
4248 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4249
4250 [BZ #20729]
4251 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4252 Define.
4253 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4254 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4255 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4256 for seq2.back_us and seq1.back_us only for -Os compiles.
4257 * locale/weightwc.h (findix): Likewise.
4258 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4259 DB_GET_FIELD_ADDRESS only for -Os compiles.
4260 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4261 for slen only for -Os compiles.
4262 * string/strcoll_l.c (get_next_seq): Ignore
4263 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4264 for -Os compiles.
4265
4266 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4267 * include/crypt.h: New file.
4268
4269 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4270
4271 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4272 from test-skeleton.c.
4273 (statclass): Replace calls to write with calls to write_message.
4274
4275 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4276
4277 * math/math.h
4278 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4279 New macro.
4280 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4281 Likewise.
4282 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4283 Likewise.
4284 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4285 SNANL.
4286 * math/test-double.h (snan_value_MACRO): New macro.
4287 * math/test-float.h (snan_value_MACRO): Likewise.
4288 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4289 * math/libm-test.inc (issignaling_test_data): Add tests of
4290 snan_value_MACRO.
4291
4292 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4293
4294 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4295 behavior when eliding a lock not held by the current thread.
4296 * sysdeps/powerpc/nptl/elide.h: Likewise.
4297
4298 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4299
4300 [BZ #20728]
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4302 branch to _exit() by a function call.
4303
4304 2016-10-28 Florian Weimer <fweimer@redhat.com>
4305
4306 * malloc/malloc.c: Update chunk layout comments.
4307 (chunk_main_arena): Update comment.
4308
4309 2016-10-28 Florian Weimer <fweimer@redhat.com>
4310
4311 * crypt/sha256.c, crypt/sha256-block.c,
4312 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4313 sha256_process_block to __sha256_process_block.
4314 * crypt/sha512.c, crypt/sha512-block.c,
4315 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4316 sha512_process_block to __sha512_process_block.
4317
4318 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4319
4320 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4321
4322 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4323
4324 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4325
4326 [BZ #20019]
4327 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4328 definition in unrelocated shared library.
4329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4330
4331 2016-10-28 Florian Weimer <fweimer@redhat.com>
4332
4333 [BZ #20729]
4334 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4335 * sysdeps/unix/sysv/linux/i386/Makefile
4336 (uses-6-syscall-arguments): Define.
4337 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4338 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4339 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4340 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4341 Likewise.
4342 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4343 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4344 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4345 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4346 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4347 (CFLAGS-fallocate64.os): Likewise.
4348 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4349 (CFLAGS-pthread_rwlock_timedrdlock.os)
4350 (CFLAGS-pthread_rwlock_timedwrlock.o)
4351 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4352 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4353 (CFLAGS-sem_timedwait.os): Likewise.
4354
4355 2016-10-28 Florian Weimer <fweimer@redhat.com>
4356
4357 * elf/tst-linkall-static.c: New file.
4358 * elf/Makefile (tests-static): Add tst-linkall-static.
4359 (tst-linkall-static): Link against static libraries.
4360
4361 2016-10-27 Florian Weimer <fweimer@redhat.com>
4362
4363 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4364 mmaped chunks.
4365
4366 2016-10-28 Florian Weimer <fweimer@redhat.com>
4367
4368 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4369 members to mchunk_prev_size, mchunk_size.
4370 (chunk_main_arena): Reverse sense and rename from
4371 chunk_non_main_arena.
4372 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4373 mchunk_size instead of size.
4374 (set_non_main_arena): Define.
4375 (chunksize): Use chunksize_nomask instead of direct member access.
4376 (chunksize_nomask): Define.
4377 (next_chunk): Use chunksize instead of direct member access.
4378 (prev_size, set_prev_size): Define.
4379 (prev_chunk): Use prev_size instead of direct member access.
4380 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4381 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4382 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4383 (mchunk_prev_size, mchunk_size): Poison tokens.
4384 (unlink): Use chunksize_nomask, prev_size accessors.
4385 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4386 (do_check_free_chunk): Use prev_size accessor.
4387 (sysmalloc): Use set_prev_size, set_head accessors.
4388 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4389 (__libc_free): Use chunksize_nomask accessor.
4390 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4391 chunk_main_arena accessors.
4392 (_int_free): Use chunksize_nomask, prev_size accessors.
4393 (malloc_consolidate): Use chunksize, prev_size accessors.
4394 (_int_realloc): Use chunksize_nomask accessor.
4395 (_int_memalign): Use set_prev_size accessor.
4396 (__malloc_info): Use chunksize_nomask accessor.
4397 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4398 accessors.
4399 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4400 (heap_trim): Use chunksize_nomask, prev_size accessors.
4401
4402 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4403
4404 [BZ #19380]
4405 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4406 for inexact results.
4407 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4408 of inexact result where mpfr_subnormalize is the only inexact
4409 step.
4410 * stdlib/tst-strtod-round-data.h: Regenerated.
4411 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4412 Define to 0.
4413 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4414
4415 2016-10-27 David S. Miller <davem@davemloft.net>
4416
4417 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4418
4419 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4420
4421 * malloc/malloc.c (do_set_mallopt_check): New function.
4422 (do_set_mmap_threshold): Likewise.
4423 (do_set_mmaps_max): Likewise.
4424 (do_set_top_pad): Likewise.
4425 (do_set_perturb_byte): Likewise.
4426 (do_set_trim_threshold): Likewise.
4427 (do_set_arena_max): Likewise.
4428 (do_set_arena_test): Likewise.
4429 (__libc_mallopt): Use them.
4430
4431 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4432
4433 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4434 (canonicalize): New declaration.
4435 * math/Versions (canonicalize): New libm symbol at version
4436 GLIBC_2.25.
4437 (canonicalizef): Likewise.
4438 (canonicalizel): Likewise.
4439 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4440 * math/s_canonicalize_template.c: New file.
4441 * math/libm-test.inc: Update comment on functions tested and
4442 testing of NaN payloads.
4443 (TEST_NAN_PAYLOAD): New macro.
4444 (NO_TEST_INLINE): Update value.
4445 (XFAIL_TEST): Likewise.
4446 (ERRNO_UNCHANGED): Likewise.
4447 (ERRNO_EDOM): Likewise.
4448 (ERRNO_ERANGE): Likewise.
4449 (IGNORE_RESULT): Likewise.
4450 (NON_FINITE): Likewise.
4451 (TEST_SNAN): Likewise.
4452 (NO_TEST_MATHVEC): Likewise.
4453 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4454 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4455 (struct test_Ffp_b1_data): New type.
4456 (RUN_TEST_Ffp_b1): New macro.
4457 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4458 (canonicalize_test_data): New array.
4459 (canonicalize_test): New function.
4460 (main): Call canonicalize_test.
4461 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4462 canonicalizef and canonicalizel.
4463 * manual/libm-err-tab.pl: Update comment on interfaces without
4464 ulps tabulated.
4465 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4466 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4467 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4468 canonicalize.
4469 (CFLAGS-nldbl-canonicalize.c): New variable.
4470 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4471 to ...
4472 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4473 ... here.
4474 (do_test): Also test canonicalizel.
4475 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4476 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4477 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4478 file.
4479 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4480 Use libm_hidden_def.
4481 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4482 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4483 (do_test): Also test canonicalizel.
4484 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4485 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4486 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4487 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4488 libm_hidden_def.
4489 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4490 macro.
4491 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4492 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4493 * sysdeps/nacl/libm.abilist: Update.
4494 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4495 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4496 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4497 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4498 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4499 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4500 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4501 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4505 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4507 Likewise.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4509 Likewise.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4511 Likewise.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4513 Likewise.
4514 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4515 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4516 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4520 Likewise.
4521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4522 Likewise.
4523 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4524 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4525 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4526
4527 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4528 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4529 getpayload.
4530 (CFLAGS-nldbl-getpayload.c): New variable.
4531
4532 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4533
4534 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4535 integer from the format string.
4536
4537 2016-10-26 Florian Weimer <fweimer@redhat.com>
4538
4539 [BZ #19473]
4540 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4541 declarations.
4542 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4543 weak aliases.
4544 * malloc/hooks.c (__malloc_get_state): Remove definition.
4545 (malloc_get_state): New stub implementation as
4546 compatibility symbol.
4547 (malloc_set_state): Rename from __malloc_set_state. Turn into
4548 compat symbol.
4549 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4550 malloc_set_state.
4551 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4552
4553 2016-10-26 Florian Weimer <fweimer@redhat.com>
4554
4555 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4556 (names): Turn into concatenation of strings.
4557 (gconv_init): Adapt iteration over names.
4558
4559 2016-10-26 Florian Weimer <fweimer@redhat.com>
4560
4561 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4562 make const.
4563 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4564 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4565 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4566 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4567 character in sbconv.
4568 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4569 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4570 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4571
4572 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4573
4574 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4575
4576 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4577 (M_TRIM_THRESHOLD): Likewise.
4578
4579 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4580 (M_ARENA_MAX): Likewise.
4581 * malloc/malloc.c: Remove obsolete comment.
4582
4583 * manual/memory.texi: Add environment variable alternatives to
4584 setting mallopt parameters.
4585
4586 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4587
4588 * include/atomic.h
4589 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4590 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4591
4592 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4593
4594 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4595 * stdlib/tst-strfrom.h: New file.
4596 * stdlib/tst-strfrom.c: New file.
4597 * stdlib/tst-strfrom-locale.c: New file.
4598
4599 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4600 * stdlib/bug-strtod2.c: Likewise.
4601 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4602 * stdlib/tst-strtod6.c: Likewise.
4603 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4604
4605 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4606
4607 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4608 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4609 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4610 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4611 * stdlib/stdlib.h (strfromd): New declaration.
4612 (strfromf): Likewise.
4613 (strfroml): Likewise.
4614 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4615 strfrom.
4616 * stdlib/strfromd.c: New file.
4617 * stdlib/strfromf.c: Likewise.
4618 * stdlib/strfroml.c: Likewise.
4619 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4620 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4621 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4622 * sysdeps/arm/nacl/libc.abilist: Update.
4623 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4624 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4625 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4626 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4627 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4628 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4629 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4630 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4632 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4633 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4634 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4635 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4636 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4641 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4642 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4643 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4644 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4645 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4648 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4651
4652 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4653
4654 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4655 instead of cmpli.
4656 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4657 instead of cmpli.
4658
4659 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4660
4661 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4662 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4663 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4664 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4665 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4666 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4667
4668 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4669
4670 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4671 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4672 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4673 SYSCALL_LL64_PRW.
4674 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4675 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4676 __ASSUME_PRW_DUMMY_ARG.
4677 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4678 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4679 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4680 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4681 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4682 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4683
4684 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4685
4686 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4687
4688 2016-10-22 Florian Weimer <fweimer@redhat.com>
4689
4690 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4691 "C++", to override a potential extern "C" directive around the
4692 header file inclusion.
4693
4694 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4695
4696 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4697
4698 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4699
4700 * sysdeps/powerpc/fpu/fenv_private.h:
4701 (_FPU_MASK_ALL): Rename to...
4702 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4703 XE FPSCR bits.
4704
4705 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4706
4707 (_FPU_MASK_ROUNDING): Rename to...
4708 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4709 NI bits.
4710
4711 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4712 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4713 bits and rounding bits.
4714
4715 (__libc_feholdbits_ppc): New inline function to mask, set,
4716 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4717 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4718 (libc_feholdexcept_setround_ppc): Likewise.
4719
4720 (__libc_femergeenv_ppc): New function to dynamically mask both
4721 old and new FP environments and merge.
4722 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4723 (libc_feresetround_ppc): Likewise.
4724 (libc_feupdateenv_test_ppc): Likewise.
4725 (libc_feupdateenv_ppc): Likewise.
4726
4727 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4728 of ISA RN bits, and update macro names.
4729 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4730 effectively the same as the previously mentioned function.
4731
4732 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4733 usage with fe_resetround_ppc.
4734
4735 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4736 to be used.
4737 (libc_feholdexcept_setround_ctxf): Likewise.
4738 (libc_feholdexcept_setround_ctxl): Likewise.
4739
4740 2016-10-21 Florian Weimer <fweimer@redhat.com>
4741
4742 [BZ #20715]
4743 * math/math.h [__cplusplus] (iszero): Define as function template.
4744 * math/Makefile [CXX] (tests): Add test-math-iszero.
4745 (CFLAGS-test-math-iszero.cc): Set.
4746 * math/test-math-iszero.cc: New file.
4747
4748 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4749
4750 [BZ #20660]
4751 * sysdeps/arm/e_sqrt.c: New file.
4752 * sysdeps/arm/e_sqrtf.c: Likewise.
4753
4754 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4755
4756 [BZ #20718]
4757 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4758 not use floating-point comparisons to test sign.
4759 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4760 Likewise.
4761
4762 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4763 (getpayload): New declaration.
4764 * math/Versions (getpayload): New libm symbol at version
4765 GLIBC_2.25.
4766 (getpayloadf): Likewise.
4767 (getpayloadl): Likewise.
4768 * math/Makefile (libm-calls): Add s_getpayloadF.
4769 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4770 (struct test_f_f_data): Add comment.
4771 (RUN_TEST_fp_f): New macro.
4772 (RUN_TEST_LOOP_fp_f): Likewise.
4773 (getpayload_test_data): New array.
4774 (getpayload_test): New function.
4775 (main): Call getpayload_test.
4776 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4777 descriptor.
4778 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4779 getpayloadf and getpayloadl.
4780 * manual/libm-err-tab.pl: Update comment on interfaces without
4781 ulps tabulated.
4782 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4784 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4788 * sysdeps/nacl/libm.abilist: Update.
4789 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4790 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4791 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4795 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4796 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4797 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4802 Likewise.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4804 Likewise.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4806 Likewise.
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4808 Likewise.
4809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4811 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4812 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4815 Likewise.
4816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4817 Likewise.
4818 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4821
4822 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4823
4824 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4825 tst-fallocate{64}.
4826 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4827 on syscall return.
4828
4829 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4830
4831 [BZ #20689]
4832 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4833 usable.
4834
4835 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4836
4837 * sysdeps/generic/nan-high-order-bit.h: New file.
4838 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4839 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4840 * sysdeps/hppa/math_private.h: Remove file.
4841 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4842 not define here.
4843 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4844 <nan-high-order-bit.h>.
4845 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4846 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4847 <nan-high-order-bit.h>.
4848 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4849 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4850 <nan-high-order-bit.h>.
4851 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4852 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4853 <nan-high-order-bit.h>.
4854 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4855 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4856 <nan-high-order-bit.h>.
4857 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4858 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4859 <nan-high-order-bit.h>.
4860 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4861 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4862 <nan-high-order-bit.h>.
4863 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4864 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4865 <nan-high-order-bit.h>.
4866 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4867 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4868 <nan-high-order-bit.h>.
4869 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4870 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4871 <nan-high-order-bit.h>.
4872 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4873 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4874 <nan-high-order-bit.h>.
4875 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4876 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4877 <nan-high-order-bit.h>.
4878 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4879 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4880 <nan-high-order-bit.h>.
4881 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4882 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4883 <nan-high-order-bit.h>.
4884 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4885 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4886 <nan-high-order-bit.h>.
4887 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4888 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4889 <nan-high-order-bit.h>.
4890 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4891 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4892 <nan-high-order-bit.h>.
4893 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4894 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4895 <nan-high-order-bit.h>.
4896 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4897
4898 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4899
4900 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4901
4902 2016-09-22 John David Anglin <dave.anglin@bell.net>
4903
4904 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4905 abort-instr.h.
4906 (EFAULT): Remove conditional define.
4907 (ENOSYS): Likewise.
4908 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4909 instead of conditional branch instructions.
4910
4911 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4912
4913 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4914 (totalordermag): New declaration.
4915 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4916 New macro.
4917 * math/Versions (totalordermag): New libm symbol at version
4918 GLIBC_2.25.
4919 (totalordermagf): Likewise.
4920 (totalordermagl): Likewise.
4921 * math/Makefile (libm-calls): Add s_totalordermagF.
4922 * math/libm-test.inc (totalordermag_test_data): New array.
4923 (totalordermag_test): New function.
4924 (main): Call totalordermag_test.
4925 * math/test-tgmath.c (NCALLS): Increase to 125.
4926 (F(compile_test)): Call totalordermag.
4927 (F(totalordermag)): New function.
4928 * manual/arith.texi (FP Comparison Functions): Document
4929 totalordermag, totalordermagf and totalordermagl.
4930 * manual/libm-err-tab.pl: Update comment on interfaces without
4931 ulps tabulated.
4932 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4933 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4934 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4939 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4940 totalordermag.
4941 (CFLAGS-nldbl-totalordermag.c): New variable.
4942 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4943 (do_test): Also test totalordermagl.
4944 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4945 Likewise.
4946 * sysdeps/nacl/libm.abilist: Update.
4947 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4949 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4950 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4951 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4952 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4953 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4954 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4955 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4956 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4957 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4958 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4960 Likewise.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4962 Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4964 Likewise.
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4966 Likewise.
4967 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4973 Likewise.
4974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4975 Likewise.
4976 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4978 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4979
4980 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4981
4982 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4983 boolean.
4984
4985 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4986
4987 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4988 raising FE_INVALID with feraisexcept in case where part of
4989 argument is infinite, subtract that part of argument from itself.
4990 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4991 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4992 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4993
4994 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4995
4996 * math/libm-test.inc (totalorder_test_data): Add more tests.
4997
4998 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4999
5000 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5001 Undefine weak_alias and add a comment why mips64 require
5002 versioning.
5003
5004 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5005
5006 [BZ #20647]
5007 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5008 maximum CPUID level is less than 2.
5009
5010 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5011
5012 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5013 (totalorder): New declaration.
5014 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5015 New macro.
5016 * math/Versions (totalorder): New libm symbol at version
5017 GLIBC_2.25.
5018 (totalorderf): Likewise.
5019 (totalorderl): Likewise.
5020 * math/Makefile (libm-calls): Add s_totalorderF.
5021 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5022 string.
5023 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5024 (qnan_value_pl): Likewise.
5025 (snan_value_pl): Likewise.
5026 (qnan_value): Define using qnan_value_pl.
5027 (snan_value): Define using snan_value_pl.
5028 (struct test_ff_i_data): Add comment about which tests use this
5029 structure.
5030 (RUN_TEST_ff_b): New macro.
5031 (RUN_TEST_LOOP_ff_b): Likewise.
5032 (totalorder_test_data): New array.
5033 (totalorder_test): New function.
5034 (main): Call totalorder_test.
5035 * math/test-tgmath.c (NCALLS): Increase to 122.
5036 (F(compile_test)): Call totalorder.
5037 (F(totalorder)): New function.
5038 * manual/arith.texi (FP Comparison Functions): Document
5039 totalorder, totalorderf and totalorderl.
5040 * manual/libm-err-tab.pl: Update comment on interfaces without
5041 ulps tabulated.
5042 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5043 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5044 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5045 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5046 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5047 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5049 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5050 totalorder.
5051 (CFLAGS-nldbl-totalorder.c): New variable.
5052 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5053 file.
5054 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5055 Add test-totalorderl-ldbl-128ibm.
5056 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5057 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5058 test-totalorderl-ldbl-96.
5059 * sysdeps/nacl/libm.abilist: Update.
5060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5062 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5063 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5064 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5065 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5066 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5067 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5068 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5069 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5070 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5071 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5073 Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5075 Likewise.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5077 Likewise.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5079 Likewise.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5081 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5082 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5083 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5086 Likewise.
5087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5088 Likewise.
5089 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5091 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5092
5093 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5094
5095 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5096 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5097 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5098 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5099 remove ENOSYS implementation.
5100 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5101 Consolidate all Linux implementations.
5102
5103 2016-10-11 Florian Weimer <fweimer@redhat.com>
5104
5105 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5106 * resolv/herror.c (herror): Cast away const-ness.
5107 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5108 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5109
5110 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5111
5112 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5113 instead of M_NAN + M_NAN.
5114 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5115
5116 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5117
5118 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5119 unused variable 'p'.
5120
5121 2016-10-09 Alan Modra <amodra@gmail.com>
5122 Andreas Schwab <schwab@linux-m68k.org>
5123
5124 [BZ #20554]
5125 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5126 [PIC && !SHARED]: Set up PIC register for PLT call.
5127
5128 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5129
5130 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5131 conditional on value of [__FLT_EVAL_METHOD__].
5132 * math/test-iseqsig-excess-precision.c: New file.
5133 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5134
5135 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5136
5137 * math/s_iseqsig_template.c: Include math-private.h.
5138
5139 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5140 * posix/tst-posix_fadvise.c: New file.
5141 * posix/tst-posix_fadvise64.c: Likewise.
5142 * posix/tst-posix_fadvise-common.c: Likewise.
5143 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5144 (__ASSUME_FADVISE64_64_6ARG): Define.
5145 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5146 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5147 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5148 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5149 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5150 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5151 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5152 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5153 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5154 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5155 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5156 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5159 Likewise.
5160 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5162 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5163 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5164 Alias to __posix_fadvise64_l32.
5165 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5166 Add compat definition to posix_fadvise64.
5167 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5168 Add versioned definition to posix_fadvise64.
5169 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5170 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5171 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5172 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5173 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5174
5175 * io/Makefile (tests): Add tst-posix_fallocate and
5176 tst-posix_fallocate64.
5177 * io/tst-posix_fallocate-common.c: New file.
5178 * io/tst-posix_fallocate.c: Likewise.
5179 * io/tst-posix_fallocate64.c: Likewise.
5180 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5181 file.
5182 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5183 Likewise.
5184 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5185 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5186 Likewise.
5187 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5188 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5189 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5190 SYSCALL_LL to pass both offset and len arguments.
5191 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5192 Likewise.
5193 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5194 __libc_pwrite64 alias used by posix_fallocate64.
5195
5196 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5197 tst-fallocate64.
5198 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5199 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5200 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5201 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5202 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5203 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5204 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5205 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5206 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5207 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5208 macro on offset argument.
5209 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5210 SYSCALL_LL64 on offset argument.
5211
5212 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5213 tst-fallocate64.
5214 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5215 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5216 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5217 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5218 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5219 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5220 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5221 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5222 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5223 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5224 macro on offset argument.
5225 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5226 SYSCALL_LL64 on offset argument.
5227 * test-skeleton.c (FAIL_RET): Add macro.
5228 (FAIL_EXIT): Likewise.
5229 (FAIL_EXIT1): Likewise.
5230 (_FAIL): Likewise.
5231
5232 2016-10-07 Florian Weimer <fweimer@redhat.com>
5233
5234 [BZ #20629]
5235 resolv: Remove RES_USEBSTRING and its implementation.
5236 * resolv/resolv.h (RES_USEBSTRING): Remove.
5237 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5238 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5239 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5240 (labellen): Remove extended label types support.
5241 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5242 * resolv/res_init.c (res_setoptions): Likewise.
5243 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5244
5245 2016-10-07 Florian Weimer <fweimer@redhat.com>
5246
5247 resolv: Remove RES_NOIP6DOTINT and its implementation.
5248 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5249 (RES_NOIP6DOTINT): Remove.
5250 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5251 handling.
5252 * resolv/res_debug.c (p_option): Likewise.
5253 * resolv/res_init.c (res_setoptions): Likewise.
5254 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5255
5256 2016-10-07 Florian Weimer <fweimer@redhat.com>
5257
5258 resolv: Deprecate unimplemented flags.
5259 * misc/sys/cdefs.h (__glibc_macro_warning1)
5260 (__glibc_macro_warning): Define.
5261 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5262 (RES_KEEPTSIG): Mark as deprecated.
5263 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5264 RES_NOCHECKNAME, RES_KEEPTSIG.
5265 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5266
5267 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5268
5269 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5270 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5271 Use strong_alias to create symbols for glibc verison 2.19.
5272
5273 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5274
5275 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5276
5277 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5278
5279 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5280
5281 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5282
5283 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5284
5285 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5286
5287 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5288 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5289 in header for using it as type for ifunc function because __GI_* symbols
5290 for ppc32 do not target the ifunc symbols.
5291 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5292
5293 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5294
5295 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5296 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5297 libc_ifunc_hidden_def.
5298 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5299 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5300 Redirect ifunced function in header for using it as type of ifunc'ed
5301 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5302 function for __GI_* symbol.
5303 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5304 * include/libc-symbols.h
5305 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5306
5307 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5308
5309 [BZ #20478]
5310 * sysdeps/s390/multiarch/ifunc-resolve.h
5311 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5312 to create ifunc symbols.
5313 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5314 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5315 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5316 for using it as type for ifunc function.
5317 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5318 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5319 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5320 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5321 * sysdeps/s390/multiarch/strcat.c: Likewise.
5322 * sysdeps/s390/multiarch/strchr.c: Likewise.
5323 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5324 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5325 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5326 * sysdeps/s390/multiarch/strlen.c: Likewise.
5327 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5328 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5329 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5330 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5331 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5332 * sysdeps/s390/multiarch/strspn.c: Likewise.
5333 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5334 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5335 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5336 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5337 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5338 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5339 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5340 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5341 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5342 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5343 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5344 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5345
5346 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5347
5348 * include/libc-symbols.h (__ifunc_resolver):
5349 New macro is used by __ifunc* macros.
5350 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5351 depending on HAVE_GCC_IFUNC.
5352 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5353 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5355 Redirect ifunced function in header for using as type for ifunc function.
5356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5362 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5363 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5364 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5365 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5366 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5367 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5369 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5375 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5376 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5377 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5378 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5379 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5380 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5381 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5382 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5383 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5384 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5385 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5386 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5387 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5388 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5390 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5391 instead of libc_ifunc() macro.
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5394
5395 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5396
5397 * config.h.in (HAVE_GCC_IFUNC): New undef.
5398 * configure.ac: Add check if gcc supports attribute ifunc feature.
5399 * configure: Regenerated.
5400 * manual/install.texi: Add recommendation for gcc with
5401 indirect-function support.
5402 * INSTALL: Regenerated.
5403
5404 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5405
5406 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5407 macro.
5408 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5409 (__iseqsig): New declaration.
5410 * math/s_iseqsig_template.c: New file.
5411 * math/Versions (__iseqsigf): New libm symbol at version
5412 GLIBC_2.25.
5413 (__iseqsig): Likewise.
5414 (__iseqsigl): Likewise.
5415 * math/libm-test.inc (iseqsig_test_data): New array.
5416 (iseqsig_test): New function.
5417 (main): Call iseqsig_test.
5418 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5419 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5420 * manual/libm-err-tab.pl: Update comment on interfaces without
5421 ulps tabulated.
5422 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5423 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5424 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5425 * sysdeps/nacl/libm.abilist: Update.
5426 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5427 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5428 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5429 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5430 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5431 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5432 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5433 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5434 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5435 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5436 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5437 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5439 Likewise.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5441 Likewise.
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5443 Likewise.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5445 Likewise.
5446 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5447 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5448 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5449 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5452 Likewise.
5453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5454 Likewise.
5455 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5456 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5457 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5458
5459 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5460
5461 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5462 do_sincos_2, sloww, sloww1): Update comments.
5463
5464 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5465 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5466
5467 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5468 K boolean and rename it.
5469 (__sin): Adjust.
5470 (__cos): Adjust.
5471
5472 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5473 Siddhesh Poyarekar <siddhesh@sourceware.org>
5474
5475 * manual/nss.texi: Fix typos in the manual.
5476
5477 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5478
5479 * manual/contrib.texi: Fix typos in the manual.
5480
5481 * manual/maint.texi: Fix typos in the manual.
5482
5483 * manual/install.texi: Fix typos in the manual.
5484 * INSTALL: Regenerated.
5485
5486 * manual/lang.texi: Fix typos in the manual.
5487
5488 * manual/probes.texi: Fix typos in the manual.
5489
5490 * manual/threads.texi: Fix typos in the manual.
5491
5492 * manual/debug.texi: Fix typos in the manual.
5493
5494 * manual/crypt.texi: Fix typos in the manual.
5495
5496 * manual/conf.texi: Fix typos in the manual.
5497
5498 * manual/sysinfo.texi: Fix typos in the manual.
5499
5500 * manual/users.texi: Fix typos in the manual.
5501
5502 * manual/job.texi: Fix typos in the manual.
5503
5504 * manual/process.texi: Fix typos in the manual.
5505
5506 * manual/argp.texi: Fix typos in the manual.
5507 * manual/getopt.texi: Likewise.
5508 * manual/startup.texi: Likewise.
5509
5510 * manual/signal.texi: Fix typos in the manual.
5511
5512 * manual/setjmp.texi: Fix typos in the manual.
5513
5514 * manual/resource.texi: Fix typos in the manual.
5515
5516 * manual/time.texi: Fix typos in the manual.
5517
5518 * manual/arith.texi: Fix typos in the manual.
5519
5520 * manual/math.texi: Fix typos in the manual.
5521
5522 * manual/syslog.texi: Fix typos in the manual.
5523
5524 * manual/terminal.texi: Fix typos in the manual.
5525
5526 * manual/socket.texi: Fix typos in the manual.
5527
5528 * manual/filesys.texi: Fix typos in the manual.
5529
5530 * manual/llio.texi: Fix typos in the manual.
5531
5532 * manual/stdio.text: Fix typos in the manual.
5533
5534 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
5535
5536 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5537 instead of K1.
5538
5539 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5540 SHIFT_QUADRANT and make it bool.
5541 (do_sincos_2): Likewise.
5542 (sloww): Likewise.
5543 (sloww1): Likewise.
5544 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5545 (__cos): Likewise.
5546
5547 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5548
5549 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5550
5551 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5552
5553 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5554 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5555 0x7fffffffL].
5556 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5557
5558 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5559
5560 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5561 inline by __inline__.
5562 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5563 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5564 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5565 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5566 sigset_t from signal.h.
5567 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5568 which is already required.
5569
5570 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5571
5572 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5573
5574 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5575
5576 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5577 (struct tcp_repair_window): New type.
5578
5579 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5580
5581 * libio/tst-memstream3.c: Include string.h.
5582
5583 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5584
5585 [BZ #18241]
5586 [BZ #20181]
5587 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5588 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5589 write position is at the end the buffer.
5590 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5591 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5592 (_IO_str_seekoff): Set correct offset from negative displacement and
5593 set EINVAL for invalid ones.
5594 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5595 buffer length.
5596 (_IO_wstr_switch_to_get_mode): New function.
5597 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5598 set EINVAL for invalid ones.
5599 * libio/tst-memstream3.c: New file.
5600 * libio/tst-wmemstream3.c: Likewise.
5601 * manual/examples/memstrm.c: Remove warning when priting size_t.
5602
5603 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5604
5605 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5606 macro to use __builtin_fma.
5607 * sysdeps/x86_64/fpu/dla.h: Remove file.
5608
5609 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5610 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5611 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5612
5613 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5614
5615 [BZ #20292]
5616 * elf/Makefile (routines): Add dl-addr-obj.
5617 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5618 tst-_dl_addr_inside_object.
5619 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5620 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5621 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5622 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5623 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5624 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5625 * elf/dl-open.c: Likewise.
5626 * elf/dl-addr-obj.c: New file.
5627 * elf/tst-_dl_addr_inside_object.c: New file.
5628
5629 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5630
5631 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5632 <bits/iscanonical.h>.
5633 * bits/iscanonical.h: New file.
5634 * math/s_iscanonicall.c: Likewise.
5635 * math/Versions (__iscanonicall): New libm symbol at version
5636 GLIBC_2.25.
5637 * math/libm-test.inc (iscanonical_test_data): New array.
5638 (iscanonical_test): New function.
5639 (main): Call iscanonical_test.
5640 * math/Makefile (headers): Add bits/iscanonical.h.
5641 (type-ldouble-routines): Add s_iscanonicall.
5642 * manual/arith.texi (Floating Point Classes): Document
5643 iscanonical.
5644 * manual/libm-err-tab.pl: Update comment on interfaces without
5645 ulps tabulated.
5646 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5647 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5649 Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5651 test-iscanonical-ldbl-128ibm.
5652 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5653 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5654 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5655 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5656 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5657 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5658 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5660 Likewise.
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5662 Likewise.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5664 Likewise.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5666 Likewise.
5667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5669
5670 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5671
5672 * string/bits/string3.h: Remove C++ style comments.
5673
5674 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5675
5676 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5677 instead of ternary condition.
5678 (do_sincos_2): Likewise.
5679 (__sin): Likewise.
5680 (__cos): Likewise.
5681 (slow): Likewise.
5682 (sloww): Likewise.
5683 (sloww1): Likewise.
5684 (bsloww): Likewise.
5685 (bsloww1): Likewise.
5686
5687 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5688 instead of ternary condition.
5689 (do_sin_slow): Likewise.
5690 (do_sincos_1): Likewise.
5691 (do_sincos_2): Likewise.
5692 (__cos): Likewise.
5693 (sloww): Likewise.
5694 (sloww1): Likewise.
5695 (sloww2): Likewise.
5696 (bsloww): Likewise.
5697 (bsloww1): Likewise.
5698 (bsloww2): Likewise.
5699
5700 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5701 check from here...
5702 (slow2): ... and here...
5703 (__sin): ... to here.
5704
5705 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5706
5707 * math/math.h
5708 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5709 Cast argument to its own type.
5710 * math/test-iszero-excess-precision.c: New file.
5711 * math/Makefile (tests): Add test-iszero-excess-precision.
5712 (CFLAGS-test-iszero-excess-precision.c): New variable.
5713
5714 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5715
5716 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5717 field, add err field.
5718 (__spawni_child): Report error through err member instead of pipe.
5719 (__spawnix): Likewise.
5720
5721 2016-09-28 Zack Weinberg <zackw@panix.com>
5722
5723 * scripts/check-installed-headers.sh: Generalize treatment of
5724 sys/elf.h to all target architectures.
5725
5726 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5727 deleted typedef ucontext_t.
5728
5729 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5730
5731 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5732 (__INTERNAL_SYSCALL1): Likewise.
5733 (__INTERNAL_SYSCALL2): Likewise.
5734 (__INTERNAL_SYSCALL3): Likewise.
5735 (__INTERNAL_SYSCALL4): Likewise.
5736 (__INTERNAL_SYSCALL5): Likewise.
5737 (__INTERNAL_SYSCALL6): Likewise.
5738 (__INTERNAL_SYSCALL7): Likewise.
5739 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5740 (__INTERNAL_SYSCALL_NARGS): Likewise.
5741 (__INTERNAL_SYSCALL_DISP): Likewise.
5742 (INTERNAL_SYSCALL_CALL): Likewise.
5743 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5744 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5745 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5746 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5747 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5748 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5749 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5750 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5751 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5752 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5753 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5754 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5755 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5756
5757 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5758
5759 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5760 macro.
5761 * math/libm-test.inc (iszero_test_data): New array.
5762 (iszero_test): New function.
5763 (main): Call iszero_test.
5764 * manual/arith.texi (Floating Point Classes): Document iszero.
5765 * manual/libm-err-tab.pl: Update comment on interfaces without
5766 ulps tabulated.
5767
5768 2016-09-23 Zack Weinberg <zackw@panix.com>
5769
5770 * scripts/check-installed-headers.sh: New script.
5771 * Rules: In each directory that defines header files to be installed,
5772 run check-installed-headers.sh on them as a special test.
5773 * Makefile: Likewise for the headers installed at top level.
5774
5775 * include/aliases.h, include/alloca.h, include/argz.h
5776 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5777 * include/elf.h, include/envz.h, include/err.h
5778 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5779 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5780 * include/link.h, include/malloc.h, include/mcheck.h
5781 * include/mntent.h, include/netinet/ether.h
5782 * include/nss.h, include/obstack.h, include/printf.h
5783 * include/pty.h, include/resolv.h, include/rpc/auth.h
5784 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5785 * include/rpc/clnt.h, include/rpc/des_crypt.h
5786 * include/rpc/key_prot.h, include/rpc/netdb.h
5787 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5788 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5789 * include/rpc/rpc_msg.h, include/rpc/svc.h
5790 * include/rpc/svc_auth.h, include/rpc/xdr.h
5791 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5792 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5793 * include/rpcsvc/ypupd.h, include/shadow.h
5794 * include/stdio_ext.h, include/sys/epoll.h
5795 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5796 * include/sys/prctl.h, include/sys/profil.h
5797 * include/sys/statfs.h, include/sys/sysctl.h
5798 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5799 * sysdeps/arm/nacl/include/bits/setjmp.h
5800 * sysdeps/mips/include/sys/asm.h
5801 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5802 * sysdeps/unix/sysv/linux/include/sys/timex.h
5803 * sysdeps/x86/fpu/include/bits/fenv.h:
5804 Add #ifndef _ISOMAC guard around internal declarations.
5805 Add multiple-inclusion guard if not already present.
5806
5807 2016-09-23 Zack Weinberg <zackw@panix.com>
5808
5809 * sysdeps/generic/sys/ucontext.h
5810 * sysdeps/arm/sys/ucontext.h
5811 * sysdeps/i386/sys/ucontext.h
5812 * sysdeps/m68k/sys/ucontext.h
5813 * sysdeps/mips/sys/ucontext.h
5814 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5815 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5816 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5817 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5818 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5819 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5820 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5821 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5822 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5824 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5825 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5826 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5827 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5828 Include both bits/sigcontext.h and bits/sigstack.h.
5829 Fix grammar error in comment, if present.
5830
5831 * bits/sigstack.h
5832 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5833 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5834 * sysdeps/unix/sysv/linux/bits/sigstack.h
5835 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5836 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5837 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5838 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5839 * bits/sigcontext.h
5840 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5841 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5842 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5843 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5844 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5845 as well as signal.h, if this was not already allowed. Request
5846 definition of size_t if necessary. Minimize semantically-null
5847 differences across files.
5848
5849 2016-09-23 Zack Weinberg <zackw@panix.com>
5850
5851 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5852 Remove all logic conditional on __need macros. Move all the
5853 conditionally defined types to their own headers...
5854 * time/bits/types/clock_t.h: Define clock_t here.
5855 * time/bits/types/clockid_t.h: Define clockid_t here.
5856 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5857 * time/bits/types/struct_timespec.h: Define struct timespec here.
5858 * time/bits/types/struct_timeval.h: Define struct timeval here.
5859 * time/bits/types/struct_tm.h: Define struct tm here.
5860 * time/bits/types/time_t.h: Define time_t here.
5861 * time/bits/types/timer_t.h: Define timer_t here.
5862 * time/Makefile: Install the new headers.
5863
5864 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5865 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5866 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5867 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5868 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5869 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5870 * sysdeps/unix/sysv/linux/bits/resource.h
5871 * sysdeps/unix/sysv/linux/bits/timex.h
5872 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5873 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5875 * sysdeps/unix/sysv/linux/sys/acct.h
5876 * sysdeps/unix/sysv/linux/sys/timerfd.h
5877 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5878 * time/sys/time.h, time/sys/timeb.h
5879 Use the new bits/types headers.
5880
5881 * include/time.h: Remove __need logic.
5882 * include/bits/time.h
5883 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5884 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5885 * include/bits/types/struct_itimerspec.h
5886 * include/bits/types/struct_timespec.h
5887 * include/bits/types/struct_timeval.h
5888 * include/bits/types/struct_tm.h:
5889 New wrapper headers.
5890
5891 2016-09-23 Zack Weinberg <zackw@panix.com>
5892
5893 * sysdeps/mach/hurd/net/if_ppp.h
5894 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5895 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5896 if __USE_MISC is defined, to ensure struct ifreq is declared.
5897
5898 * inet/netinet/ether.h: Condition all function prototypes
5899 on __USE_MISC, to ensure struct ether_addr is declared.
5900
5901 * socket/bits/types/struct_osockaddr.h: New header.
5902 * include/bits/types/struct_osockaddr.h: New wrapper.
5903 * socket/Makefile: Install the new header.
5904 * socket/sys/socket.h, inet/protocols/talkd.h:
5905 Refer to bits/types/struct_osockaddr.h for the definition of
5906 struct osockaddr.
5907
5908 2016-09-23 Zack Weinberg <zackw@panix.com>
5909
5910 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5911 * inet/protocols/routed.h, inet/protocols/talkd.h
5912 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5913 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5914 * sysdeps/generic/netinet/if_ether.h
5915 * sysdeps/generic/netinet/in_systm.h
5916 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5917 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5918 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5919 * sysdeps/mach/hurd/net/if_arp.h
5920 * sysdeps/mach/hurd/net/if_ppp.h
5921 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5922 * sysdeps/unix/sysv/linux/bits/in.h
5923 * sysdeps/unix/sysv/linux/net/ethernet.h
5924 * sysdeps/unix/sysv/linux/net/if_arp.h
5925 * sysdeps/unix/sysv/linux/net/if_ppp.h
5926 * sysdeps/unix/sysv/linux/net/if_shaper.h
5927 * sysdeps/unix/sysv/linux/net/route.h
5928 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5929 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5930 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5931 * sysdeps/unix/sysv/linux/netipx/ipx.h
5932 * sysdeps/unix/sysv/linux/sys/acct.h
5933 * include/arpa/nameser.h, include/resolv.h:
5934 Change all uses of u_char to unsigned char,
5935 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5936 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5937 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5938 and u_int64_t and u_quad_t to uint64_t.
5939
5940 * mach/sys/reboot.h: Remove two casts of integer literals
5941 to the types they already have.
5942
5943 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5944 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5945 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5946 from referring to 'unsigned char' to 'uint8_t' for consistency with
5947 the macro definition below.
5948
5949 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5950 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5951 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5952 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5953 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5954 * sysdeps/unix/sysv/linux/sys/acct.h
5955 * include/arpa/nameser.h, include/resolv.h:
5956 Fix indentation disrupted by mechanical edits.
5957
5958 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5959 * sysdeps/generic/netinet/in_systm.h
5960 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5961 * sysdeps/gnu/netinet/udp.h
5962 * sysdeps/unix/sysv/linux/net/ethernet.h
5963 * sysdeps/unix/sysv/linux/net/if_arp.h
5964 * sysdeps/unix/sysv/linux/net/if_ppp.h
5965 * sysdeps/unix/sysv/linux/net/if_shaper.h
5966 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5967 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5968 * sysdeps/unix/sysv/linux/netipx/ipx.h
5969 * sysdeps/unix/sysv/linux/sys/acct.h
5970 Include stdint.h for uintNN_t definitions.
5971 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5972
5973 2016-09-23 Zack Weinberg <zackw@panix.com>
5974
5975 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5976 * sysdeps/unix/sysv/linux/netrose/rose.h:
5977 Include sys/socket.h and netax25/ax25.h.
5978
5979 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5980 * resolv/arpa/nameser_compat.h:
5981 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5982
5983 * sysdeps/unix/sysv/linux/sys/quota.h:
5984 Use __caddr_t instead of caddr_t.
5985 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5986 Use __clockid_t instead of clockid_t.
5987
5988 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5989
5990 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5991 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5992 expanding it.
5993
5994 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5995 Define __glibc_c99_flexarr_available to 1 when the compiler
5996 supports C99-compatible flexible array members, 0 otherwise.
5997 * sysdeps/unix/sysv/linux/bits/socket.h
5998 * sysdeps/mach/hurd/bits/socket.h
5999 * bits/socket.h: Use __glibc_c99_flexarr_available in
6000 definitions of struct cmsghdr and CMSG_DATA.
6001
6002 2016-09-23 Florian Weimer <fweimer@redhat.com>
6003
6004 * manual/nss.texi (NSS Modules Interface): Adjust function return
6005 type to enum nss_status. Document errnop argument. Clarify
6006 h_errnop semantics. Fix cross-reference formatting.
6007 (NSS Module Function Internals): Mention that *errnop needs to be
6008 set on failure, but not to zero.
6009
6010 2016-09-23 Florian Weimer <fweimer@redhat.com>
6011
6012 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6013 (get_random_name): New functions.
6014 (check_wrapper_flags_mode): Use linkat to give the new file a name
6015 determined by get_random_name.
6016 (do_test): Add calls to test open64 and openat64.
6017
6018 2016-09-23 Florian Weimer <fweimer@redhat.com>
6019
6020 * test-skeleton.c: Remove #include <stdarg.h>.
6021
6022 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6023
6024 [BZ #19826]
6025 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6026 initialization of static TLS entries.
6027 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6028 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6029
6030 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6031
6032 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6033 _hurd_malloc_fork_prepare.
6034 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6035 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6036 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6037 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6038 (_hurd_fork_child_hook): Drop malloc_fork_child.
6039 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6040 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6041 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6042 after locking locks (notably hurd_dtable_lock). Call
6043 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6044 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6045 __malloc_fork_unlock_child.
6046 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6047
6048 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6049
6050 * soft-fp/extendhftf2.c: New.
6051 * soft-fp/fixhfti.c: Likewise.
6052 * soft-fp/fixunshfti.c: Likewise.
6053 * soft-fp/floattihf.c: Likewise.
6054 * soft-fp/floatuntihf.c: Likewise.
6055 * soft-fp/half.h: Likewise.
6056 * soft-fp/trunctfhf2.c: Likewise.
6057
6058 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6059
6060 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6061 macro.
6062 * math/libm-test.inc (issubnormal_test_data): New array.
6063 (issubnormal_test): New function.
6064 * manual/arith.texi (Floating Point Classes): Document
6065 issubnormal.
6066 * manual/libm-err-tab.pl: Update comment on interfaces without
6067 ulps tabulated.
6068
6069 * sysdeps/generic/stdint.h: Define
6070 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6071 <bits/libc-header-start.h> instead of including <features.h>.
6072 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6073 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6074 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6075 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6076 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6077 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6078 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6079 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6080 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6081 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6082 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6083 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6084 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6085 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6086 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6087 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6088 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6089 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6090 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6091 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6092 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6093 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6094 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6095 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6096 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6097 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6098 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6099 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6100 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6101 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6102 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6103 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6104 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6105 * manual/arith.texi (Integers): Document these macros for types
6106 specified by width properties.
6107 * manual/lang.texi (Width of Type): Document these macros for
6108 other standard typedefs.
6109 * stdlib/tst-width-stdint.c: New file.
6110 * stdlib/Makefile (tests): Add tst-width-stdint.
6111
6112 2016-09-21 Florian Weimer <fweimer@redhat.com>
6113
6114 [BZ #20016]
6115 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6116 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6117 Move ...
6118 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6119 ... here, as compatibility symbols in a new file.
6120 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6121 * resolv/res_init.c (__res_vinit): Adjust member names.
6122 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6123 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6124 (res_send_rhook): Remove.
6125 (struct __res_state): Rename qhook, rhook members.
6126
6127 2016-09-21 Florian Weimer <fweimer@redhat.com>
6128
6129 malloc: Use __libc_lock wrappers.
6130 * malloc/arena.c (list_lock, free_list_lock): Define using
6131 __libc_lock_define_initialized.
6132 (arena_lock): Adjust formatting.
6133 * malloc/malloc.c (struct malloc_state): Define mutex using
6134 __libc_lock_define.
6135 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6136 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6137 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6138 (mutex_unlock, mutex_trylock): Remove.
6139 (__pthread_initialize): Remove unused macro.
6140 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6141 (mutex_unlock, mutex_trylock): Remove.
6142
6143 2016-09-21 Florian Weimer <fweimer@redhat.com>
6144
6145 [BZ #20592]
6146 Remove RR type classification macros.
6147 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6148 (ns_t_udp_p, ns_t_xfr_p): Remove.
6149
6150 2016-09-21 Florian Weimer <fweimer@redhat.com>
6151
6152 Remove misleading version information.
6153 * resolv/arpa/nameser.h (__NAMESER): Remove.
6154 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6155
6156 2016-09-21 Florian Weimer <fweimer@redhat.com>
6157
6158 Remove the always-defined BIND_4_COMPAT macro.
6159 * resolv/arpa/nameser.h: Unconditionally include
6160 <arpa/nameser_compat.h>.
6161 (BIND_4_COMPAT): Remove.
6162 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6163
6164 2016-09-21 Florian Weimer <fweimer@redhat.com>
6165
6166 [BZ #20591]
6167 Remove obsolete DNSSEC support.
6168 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6169 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6170 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6171 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6172 (ns_cert_types): Add comment.
6173 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6174 separately.
6175 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6176 (dst_s_dns_key_id): Remove.
6177 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6178 variables.
6179
6180 2016-09-21 Florian Weimer <fweimer@redhat.com>
6181
6182 [BZ #20524]
6183 * manual/string.texi (String/Array Comparison): Clarify the
6184 strverscmp behavior.
6185
6186 2016-09-21 Florian Weimer <fweimer@redhat.com>
6187
6188 * test-skeleton.c (xasprintf): Add function.
6189 * io/tst-open-tmpfile.c: New test.
6190 * io/Makefile (tests): Add it.
6191
6192 2016-09-21 Florian Weimer <fweimer@redhat.com>
6193
6194 Avoid running $(CXX) during build to obtain header file paths.
6195 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6196 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6197 * Makerules (cstdlib, cmath): Remove variables. Use
6198 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6199 * configure: Regenerate.
6200
6201 2016-09-21 Florian Weimer <fweimer@redhat.com>
6202
6203 * Makeconfig (all-object-suffixes): Include .op only if
6204 $(build-profile).
6205
6206 2016-09-21 Florian Weimer <fweimer@redhat.com>
6207
6208 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6209 conditionals. Do not define PATH_MAX.
6210
6211 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6212
6213 * posix/Makefile (tests): Add tst-spawn3.
6214 * posix/tst-spawn3.c: New file.
6215 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6216 if it is already opened for open action.
6217
6218 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6219 all signals when executing the clone vfork child.
6220 (SIGALL_SET): Remove macro.
6221
6222 * nptl/Makefile (tests): Add tst-exec5.
6223 * nptl/tst-exec5.c: New file.
6224 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6225 asynchronous cancellation.
6226
6227 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6228
6229 * hurd/exc2signal.c: #include <hurd/signal.h>
6230 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6231 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6232 accordingly.
6233 * mach/mach_error.c (mach_error): Fix old-style function definition.
6234 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6235
6236 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6237
6238 * math/Makefile (libm-calls): Remove s_nanF.
6239 (gen-libm-calls): Add s_nanF.
6240
6241 * math/s_nan.c: Refactor into ...
6242 * math/s_nan_template.c: New file.
6243
6244 * math/s_nanf.c: Removed.
6245 * math/s_nanl.c: Removed.
6246 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6247 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6248
6249 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6250 (LDOUBLE_nanl_libm_version): New macro.
6251
6252 * sysdeps/generic/math-type-macros-double.h:
6253 (M_STRTO_NAN): New macro.
6254 * sysdeps/generic/math-type-macros-float.h: Likewise.
6255 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6256
6257 * sysdeps/generic/math-type-macros.h: Document
6258 M_STRTO_NAN.
6259
6260 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6261
6262 * math/s_nanf.c: Remove __nanf undef.
6263 * math/s_nan.c: Remove __nan undef.
6264 * math/s_nanl.c: Remove __nanl undef.
6265
6266 * sysdeps/generic/math_private.h (__nan): Remove macro
6267 override.
6268 (__nanf): Likewise.
6269 (__nanl): Likewise.
6270
6271 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6272
6273 * math/Makefile (gen-all-calls): New variable.
6274 (generated): Replace gen-libm-calls with gen-all-calls.
6275 (gen-libm-templates.stmp): Likewise. Also, ensure
6276 the output directory exists or is created and add
6277 dependency on the Makefile.
6278 (calls): Move s_ldexpF into gen-calls.
6279 (gen-calls): New variable.
6280
6281 * math/s_ldexpf.c: Removed.
6282 * math/s_ldexpl.c: Removed.
6283 * math/s_ldexp.c: Refactored into ...
6284 * math/s_ldexp_template.c: New file.
6285
6286 * sysdeps/generic/math-type-macros-double.h: Remove
6287 redundant fall-through definition of declare_mgen_alias.
6288 (declare_mgen_alias_2): New macro.
6289
6290 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6291 New macro for function aliased to two exported symbols.
6292
6293 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6294 new template file.
6295 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6296
6297 2016-09-20 Florian Weimer <fweimer@redhat.com>
6298
6299 * Makeconfig (all-object-suffixes): Remove .og.
6300 * Makerules (elide-routines.og): Remove.
6301 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6302 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6303 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6304
6305 2016-09-20 Florian Weimer <fweimer@redhat.com>
6306
6307 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6308 .os objects.
6309
6310 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6311
6312 [BZ #20615]
6313 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6314 fpu directory by non-fpu.
6315 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6316 on non-fpu directory from a fpu directory.
6317
6318 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6319
6320 * include/limits.h: Define
6321 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6322 <bits/libc-header-start.h> instead of including <features.h>.
6323 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6324 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6325 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6326 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6327 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6328 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6329 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6330 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6331 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6332 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6333 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6334 * manual/lang.texi (Width of Type): Document these macros.
6335 * stdlib/tst-width.c: New file.
6336 * stdlib/Makefile (tests): Add tst-width.
6337
6338 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6339
6340 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6341 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6342
6343 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6344
6345 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6346 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6347 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6348
6349 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6350
6351 [BZ #18243]
6352 * rt/Makefile (test): Add tst-shm-cancel.
6353 * rt/tst-shm-cancel.c: New file.
6354 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6355
6356 [BZ #18243]
6357 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6358 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6359 definition.
6360 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6361 uncontended case.
6362 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6363 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6364 (tf): Fix check for uncontended case.
6365 (do_test): Likewise.
6366 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6367 (tf): Fix check for uncontended case.
6368 (do_test): Likewise.
6369 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6370 (tf): Fix check for uncontended case.
6371 (do_test): Likewise.
6372 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6373 (tf): Fix check for uncontended case.
6374 (do_test): Likewise.
6375
6376 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6377 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6378
6379 [BZ #15765]
6380 * nptl/Makefile (tests): Add tst-sem16.
6381 * nptl/tst-sem16.c: New file.
6382 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6383
6384 * nptl/sem_open.c (sem_open): Init pad value to 0.
6385 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6386 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6387
6388 2016-09-15 Florian Weimer <fweimer@redhat.com>
6389
6390 [BZ #20611]
6391 * inet/Makefile (routines): Add inet6_scopeid_pton.
6392 (tests): Add tst-inet6_scopeid_pton.
6393 * inet/inet6_scopeid_pton.c: New file.
6394 * inet/net-internal.h: Likewise.
6395 * inet/tst-inet6_scopeid_pton.c: New test.
6396 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6397 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6399
6400 2016-09-14 Florian Weimer <fweimer@redhat.com>
6401
6402 Remove support for compiling wrappers with PTW.
6403 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6404 * nptl/Makefile (pthread-compat-wrappers): Define.
6405 (libpthread-routines): Use pthread-compat-wrappers.
6406 * sysdeps/unix/sysv/linux/alpha/Makefile
6407 (libpthread-routines, libpthread-shared-only-routines): Remove
6408 ptw- prefix.
6409 * sysdeps/s390/nptl/Makefile
6410 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6411 * sysdeps/ia64/nptl/Makefile
6412 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6413 * sysdeps/nacl/Makefile (libpthread-routines): Use
6414 pthread-compat-wrappers to filter the routines list instead of the
6415 ptw- prefix.
6416
6417 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6418
6419 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6420 with L() and remove explicit suffix, convert real literals
6421 which can be equivalentally substituted with integers, and
6422 transform -L(x) to L(-x).
6423
6424 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6472 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6474
6475 2016-09-13 Florian Weimer <fweimer@redhat.com>
6476
6477 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6478
6479 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6480
6481 * malloc/Makefile (tests): Remove individual static test names
6482 and just add all of tests-static.
6483
6484 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6485
6486 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6487
6488 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6489 file.
6490
6491 * sysdeps/sparc/fpu/fegetmode.c: New file.
6492 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6493
6494 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6495 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6496
6497 * sysdeps/s390/fpu/fegetmode.c: New file.
6498 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6499
6500 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6501 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6502 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6503 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6505 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6506
6507 * sysdeps/mips/fpu/fegetmode.c: New file.
6508 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6509
6510 * sysdeps/m68k/fpu/fegetmode.c: New file.
6511 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6512
6513 * sysdeps/ia64/fpu/fegetmode.c: New file.
6514 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6515
6516 * sysdeps/hppa/fpu/fegetmode.c: New file.
6517 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6518
6519 * sysdeps/arm/fegetmode.c: New file.
6520 * sysdeps/arm/fesetmode.c: Likewise.
6521
6522 * sysdeps/alpha/fpu/fegetmode.c: New file.
6523 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6524
6525 * sysdeps/aarch64/fpu/fegetmode.c: New file.
6526 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6527
6528 * math/fegetmode.c: New file.
6529 * math/fesetmode.c: Likewise.
6530 * sysdeps/i386/fpu/fegetmode.c: Likewise.
6531 * sysdeps/i386/fpu/fesetmode.c: Likewise.
6532 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6533 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6534 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6535 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6536 declaration.
6537 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6538 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6539 typedef.
6540 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6541 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6542 (femode_t): New typedef.
6543 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6544 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6545 (femode_t): New typedef.
6546 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6547 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6548 (femode_t): New typedef.
6549 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6550 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6551 (femode_t): New typedef.
6552 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6553 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6554 (femode_t): New typedef.
6555 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6556 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6557 (femode_t): New typedef.
6558 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6559 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6560 (femode_t): New typedef.
6561 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6562 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6563 (femode_t): New typedef.
6564 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6565 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6566 (femode_t): New typedef.
6567 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6568 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6569 (femode_t): New typedef.
6570 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6571 declaration.
6572 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6573 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6574 (femode_t): New typedef.
6575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6576 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6577 (femode_t): New typedef.
6578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6579 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6580 (femode_t): New typedef.
6581 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6582 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6583 (femode_t): New typedef.
6584 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6585 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6586 (femode_t): New typedef.
6587 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6588 * manual/arith.texi (FE_DFL_MODE): Document macro.
6589 (fegetmode): Document function.
6590 (fesetmode): Likewise.
6591 * math/Versions (fegetmode): New libm symbol at version
6592 GLIBC_2.25.
6593 (fesetmode): Likewise.
6594 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6595 (tests): Add test-femode and test-femode-traps.
6596 * math/test-femode-traps.c: New file.
6597 * math/test-femode.c: Likewise.
6598 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6599 alias for __fe_dfl_env.
6600 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6601 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6602 (__fe_dfl_mode): Likewise.
6603 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6604 version GLIBC_2.25.
6605 * sysdeps/nacl/libm.abilist: Update.
6606 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6607 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6608 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6609 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6610 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6611 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6612 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6613 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6614 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6615 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6616 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6617 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6619 Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6621 Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6623 Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6625 Likewise.
6626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6632 Likewise.
6633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6634 Likewise.
6635 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6638
6639 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6640
6641 [BZ #20495]
6642 [BZ #20508]
6643 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6644 processors, set Use_dl_runtime_resolve_slow and set
6645 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6646 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6647 New.
6648 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6649 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6650 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6651 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6652 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6653 if Use_dl_runtime_resolve_opt is set. Use
6654 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6655 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6656 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6657 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6658 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6659 New.
6660 (_dl_runtime_resolve_opt): Likewise.
6661 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6662 defined.
6663
6664 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6665
6666 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6667 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6668
6669 2016-09-06 Florian Weimer <fweimer@redhat.com>
6670
6671 Convert malloc to __libc_lock. Automated part, using this Perl
6672 s/// command:
6673 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6674 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6675 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6676 conversion.
6677
6678 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6679
6680 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6681 (linknamespace-symlists-tests): Likewise.
6682 (linknamespace-header-tests): Likewise.
6683
6684 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6685
6686 [BZ #19810]
6687 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6688 * elf/tst-noload.c: New test case.
6689 * elf/Makefile (tests): Add tst-noload.
6690
6691 2016-09-02 Roland McGrath <roland@hack.frob.com>
6692
6693 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6694
6695 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6696 not any more.
6697
6698 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6699
6700 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6701
6702 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6703 (do_cos_slow): Likewise.
6704 (do_sin): Likewise.
6705 (do_sin_slow): Likewise.
6706 (slow): Likewise.
6707 (slow1): Likewise.
6708 (slow2): Likewise.
6709 (sloww): Likewise.
6710 (sloww1): Likewise.
6711 (sloww2): Likewise.
6712 (bsloww): Likewise.
6713 (bsloww1): Likewise.
6714 (bsloww2): Likewise.
6715 (cslow2): Likewise.
6716
6717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6718
6719 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6720 arguments. Consolidate input partitioning from callers here.
6721 (do_cos_slow): Likewise.
6722 (do_sin): Likewise.
6723 (do_sin_slow): Likewise.
6724 (do_sincos_1): Remove the no longer necessary input partitioning.
6725 (do_sincos_2): Likewise.
6726 (__sin): Likewise.
6727 (__cos): Likewise.
6728 (slow1): Likewise.
6729 (slow2): Likewise.
6730 (sloww1): Likewise.
6731 (sloww2): Likewise.
6732 (bsloww1): Likewise.
6733 (bsloww2): Likewise.
6734 (cslow2): Likewise.
6735
6736 2016-09-02 Florian Weimer <fweimer@redhat.com>
6737
6738 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6739 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6740 outside of allocated array.
6741
6742 2016-09-02 Florian Weimer <fweimer@redhat.com>
6743
6744 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6745 instead of MB_CUR_MAX to avoid variable-length array.
6746
6747 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6748
6749 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6750 (type-double-routines): Add k_rem_pio2.
6751 (type-float-routines): Add k_rem_pio2f.
6752
6753 * sysdeps/generic/math_private.h:
6754 (__kernel_rem_pio2l): Removed.
6755
6756 * math/k_rem_pio2l.c: Removed.
6757 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6758 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6759 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6760 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6761
6762 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6763
6764 * math/Makefile (gen-libm-calls): Add s_fmin
6765 (libm-calls): Remove above.
6766
6767 * math/s_fmin.c: Refactor into ...
6768 * math/s_fmin_template.c: New file.
6769
6770 * math/s_fminf.c: Removed.
6771 * math/s_fminl.c: Removed.
6772 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6773 (LDOUBLE_fmin_libm_version): New macro.
6774
6775 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6776 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6777
6778 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6779
6780 * math/Makefile: (gen-libm-calls): Add s_fmax.
6781 (libm-calls): Remove above.
6782
6783 * math/s_fmax.c: Refactor into ...
6784 * math/s_fmax_template.c: New file.
6785 * math/s_fmaxf.c: Removed.
6786 * math/s_fmaxl.c: Removed.
6787
6788 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6789 (LDOUBLE_fmaxl_libm_version): New macro.
6790
6791 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6792 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6793
6794 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6795 s_fmin.c to pick the aarch64 version of the file.
6796 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6797 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6798
6799 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6800
6801 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6802 (libm-calls): Remove above.
6803
6804 * math/s_nextdown.c: Refactor into ...
6805 * math/s_nextdown_template.c: New file.
6806 * math/s_nextdownf.c: Removed.
6807 * math/s_nextdownl.c: Removed.
6808
6809 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6810
6811 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6812
6813 * math/Makefile (gen-libm-calls): Add s_fdim.
6814 (libm-calls): Move to above.
6815
6816 * math/s_fdim.c: Renamed and refactored into to ...
6817 * math/s_fdim_template.c: New file.
6818 * math/s_fdiml.c: Removed.
6819 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6820 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6821
6822 * sysdeps/generic/math-type-macros-double.h:
6823 (declare_mgen_alias): Don't declare if already declared.
6824 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6825 Likewise.
6826
6827 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6828 (declare_mgen_alias): Don't declare if already declared.
6829 (M_LIBM_NEED_COMPAT): Likewise.
6830 (declare_mgen_libm_compat): Likewise.
6831 (LDOUBLE_fdiml_libm_version): New macro.
6832
6833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6834 Include math/s_fdim.c now that ldbl-opt version is not needed.
6835 (declare_mgen_alias): New macro to disable aliasing.
6836
6837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6838 (declare_mgen_alias): Likewise.
6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6840 (declare_mgen_alias): Likewise.
6841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6842 (declare_mgen_alias): Likewise.
6843 (M_LIBM_NEED_COMPAT): Likewise.
6844
6845 2016-09-01 Florian Weimer <fweimer@redhat.com>
6846
6847 [BZ #20525]
6848 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6849 Include <linux/quota.h>.
6850 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6851 and btodb.
6852 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6853 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6854 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6855 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6856 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6857 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6858 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6859 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6860 types.
6861 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6862 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6863
6864 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6865
6866 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6867 (gammal_positive): Fix spacing.
6868 (__ieee754_gammal_r): Likewise.
6869
6870 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6871
6872 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6873 (_Float128): Define as long double, always.
6874 (L): Apply long double type suffix, always.
6875
6876 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6877 _Float128, excepting comments.
6878
6879 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6945 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6947
6948 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6949 _Float128, and include math_private.h.
6950 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6951
6952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6953 long double semantics.
6954 (_Float128): Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6959
6960 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6961
6962 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6963 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6964 * sysdeps/s390/configure: Regenerated.
6965 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6966 instruction for raising over-/underflow if z196 zarch is supported
6967 by default.
6968 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6969
6970 2016-08-30 Svante Signell <svante.signell@gmail.com>
6971
6972 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6973 it point to a dumb buffer for RPC to fill it.
6974
6975 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6976
6977 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6978 instead of if/else.
6979 (do_sin_slow): Likewise.
6980 (do_sincos_1): Use fabs instead of if/else.
6981 (do_sincos_2): Likewise.
6982 (__sin): Likewise.
6983 (__cos): Likewise.
6984 (slow2): Likewise.
6985 (sloww): Likewise.
6986 (sloww1): Likewise. Drop argument M.
6987 (sloww2): Use fabs instead of if/else.
6988 (bsloww): Likewise.
6989 (bsloww1): Likewise.
6990 (bsloww2): Likewise.
6991
6992 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6993 fall through comment.
6994 (do_sincos_1): Likewise.
6995
6996 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6997 Consolidate switch cases 0 and 2.
6998
6999 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7000
7001 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7002 (libm-calls): Remove the above.
7003
7004 * math/s_cexp_template.c: Update using type-generic macros.
7005 * math/s_clog10_template.c: Likewise.
7006 * math/s_cpow_template.c: Likewise.
7007 * math/s_clog_template.c: Likewise.
7008 * math/s_cproj_template.c: Likewise.
7009 * math/s_csqrt_template.c: Likewise.
7010
7011 * math/s_cexp.c: Removed.
7012 * math/s_cexpf.c: Removed.
7013 * math/s_cexpl.c: Removed.
7014 * math/s_clog10.c: Removed.
7015 * math/s_clog10f.c: Removed.
7016 * math/s_clog10l.c: Removed.
7017 * math/s_cpow.c: Removed.
7018 * math/s_cpowf.c: Removed.
7019 * math/s_cpowl.c: Removed.
7020 * math/s_clog.c: Removed.
7021 * math/s_clogf.c: Removed.
7022 * math/s_clogl.c: Removed.
7023 * math/s_cproj.c: Removed.
7024 * math/s_cprojf.c: Removed.
7025 * math/s_cprojl.c: Removed.
7026 * math/s_csqrt.c: Removed.
7027 * math/s_csqrtf.c: Removed.
7028 * math/s_csqrtl.c: Removed.
7029
7030 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7031 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7032 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7033 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7034 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7035 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7036
7037 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7038 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7039 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7040 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7041 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7042 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7043 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7044 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7045 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7046 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7047 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7048
7049 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7050 version.
7051
7052 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7053 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7054 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7055 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7056
7057 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7058
7059 * s_cexp_template.c: Copy of s_cexp.c.
7060 * s_clog_template.c: Copy of s_clog.c.
7061 * s_clog10_template.c: Copy of s_clog10.c.
7062 * s_cpow_template.c: Copy of s_cpow.c.
7063 * s_cproj_template.c: Copy of s_cproj.c.
7064 * s_csqrt_template.c: Copy of s_csqrt.c.
7065
7066 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7067
7068 [BZ #20517]
7069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7070 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7071 exported.
7072
7073 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7074
7075 * math/fetestexceptflag.c: New file.
7076 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7077 Stefan Liebler.
7078 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7079 (fetestexceptflag): New function declaration.
7080 * manual/arith.texi (fetestexceptflag): Document function.
7081 * math/Versions (fetestexceptflag): New libm symbol at version
7082 GLIBC_2.25.
7083 * math/Makefile (libm-support): Add fetestexceptflag.
7084 (tests): Add test-fetestexceptflag.
7085 * math/test-fetestexceptflag.c: New file.
7086 * sysdeps/nacl/libm.abilist: Update.
7087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7088 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7091 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7094 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7100 Likewise.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7102 Likewise.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7104 Likewise.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7106 Likewise.
7107 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7109 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7110 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7113 Likewise.
7114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7115 Likewise.
7116 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7117 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7119
7120 2016-08-26 Florian Weimer <fweimer@redhat.com>
7121
7122 [BZ #20432]
7123 Avoid strong references to malloc-internal symbols when linking
7124 statically, to support statically interposed mallocs.
7125 * include/libc-symbols.h (call_function_static_weak): New macro.
7126 * malloc/Makefile (tests): Add tst-interpose-nothread,
7127 tst-interpose-thread, tst-interpose-static-nothread,
7128 tst-interpose-static-thread.
7129 (tests-static): Add tst-interpose-static-nothread,
7130 tst-interpose-static-thread.
7131 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7132 tst-interpose-aux-thread.o.
7133 (test-extras): Add tst-interpose-aux-nothread,
7134 tst-interpose-aux-thread.
7135 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7136 tst-interpose-aux-nothread.o.
7137 (tst-interpose-thread, tst-interpose-static-thread): Link with
7138 tst-interpose-aux-thread.o and libthread.
7139 * malloc/tst-interpose-aux-nothread.c: New file.
7140 * malloc/tst-interpose-aux-thread.c: Likewise.
7141 * malloc/tst-interpose-aux.c: Likewise.
7142 * malloc/tst-interpose-aux.h: Likewise.
7143 * malloc/tst-interpose-nothread.c: Likewise.
7144 * malloc/tst-interpose-skeleton.c: Likewise.
7145 * malloc/tst-interpose-static-nothread.c: Likewise.
7146 * malloc/tst-interpose-static-thread.c: Likewise.
7147 * malloc/tst-interpose-thread.c: Likewise.
7148 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7149 * sysdeps/mach/hurd/fork.c (__fork): Only call
7150 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7151 __malloc_fork_unlock_child if defined.
7152 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7153
7154 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7155
7156 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7157 timespec C99 designated initialization.
7158
7159 2016-08-26 Florian Weimer <fweimer@redhat.com>
7160
7161 [BZ #19946]
7162 Avoid expected SIGALRM signals.
7163 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7164 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7165 (xpthread_create, xpthread_detach, xpthread_join)
7166 (delayed_exit_thread, delayed_exit): New functions.
7167 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7168 (tf): Use xpthread_cond_wait.
7169 (do_test): Likewise. Replace alarm with delayed_exit.
7170 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7171 (do_test): Call delayed_exit. Report failure.
7172 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7173 (do_test): Call delayed_exit.
7174 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7175 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7176 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7177 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7178 error.
7179 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7180 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7181 error.
7182 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7183 (do_test): Call delayed_exit.
7184 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7185 (do_test): Call delayed_exit.
7186 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7187 (do_test): Call delayed_exit instead of alarm. Use
7188 xpthread_mutex_lock.
7189 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7190 (do_test): Call delayed_exit instead of alarm. Use
7191 xpthread_mutex_lock.
7192 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7193 (do_test): Call delayed_exit instead of alarm.
7194 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7195 (do_test): Call delayed_exit instead of alarm. Use
7196 xpthread_spin_lock.
7197 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7198 (do_test): Call delayed_exit instead of alarm. Use
7199 xpthread_join.
7200
7201 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7202
7203 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7204 adjust CFA when allocating register save area on re-aligned
7205 stack.
7206
7207 2016-08-26 Florian Weimer <fweimer@redhat.com>
7208
7209 * string/tst-cmp.c: New test.
7210 * string/Makefile (tests): Add it.
7211
7212 2016-08-25 Mark Wielaard <mark@klomp.org>
7213
7214 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7215 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7216 (check_tree_recurse): Use newly defined accessors.
7217 (check_tree): Likewise.
7218 (maybe_split_for_insert): Likewise.
7219 (__tfind): Likewise.
7220 (__tdelete): Likewise.
7221 (trecurse): Likewise.
7222 (tdestroy_recurse): Likewise.
7223 (__tsearch): Likewise. And add asserts for malloc alignment.
7224 (__twalk): Cast root to node in case CHECK_TREE is defined.
7225
7226 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7227
7228 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7229
7230 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7231
7232 * math/Makefile (libm-gen-calls): Add
7233 catan, catanh, ctan, ctanh.
7234 (libm-calls): Remove the above.
7235
7236 * math/s_catan_template.c: Update using type-generic macros.
7237 * math/s_catanh_template.c: Likewise.
7238 * math/s_ctan_template.c: Likewise.
7239 * math/s_ctanh_template.c: Likewise.
7240
7241 * math/s_catanf.c: Removed.
7242 * math/s_catan.c: Removed.
7243 * math/s_catanl.c: Removed.
7244 * math/s_catanhf.c: Removed.
7245 * math/s_catanh.c: Removed.
7246 * math/s_catanhl.c: Removed.
7247 * math/s_ctanf.c: Removed.
7248 * math/s_ctan.c: Removed.
7249 * math/s_ctanl.c: Removed.
7250 * math/s_ctanhf.c: Removed.
7251 * math/s_ctanh.c: Removed.
7252 * math/s_ctanhl.c: Removed.
7253
7254 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7255 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7256 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7257 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7258 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7259 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7260
7261 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7262 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7263 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7264 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7265
7266 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7267
7268 * s_catan_template.c: Copy of s_catan.c.
7269 * s_catanh_template.c: Copy of s_catanh.c.
7270 * s_ctan_template.c: Copy of s_ctan.c.
7271 * s_ctanh_template.c: Copy of s_ctanh.c.
7272
7273 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7274
7275 * math/Makefile (gen-libm-calls): Move
7276 casin, casinh, csin, csinh here.
7277 (libm-calls): Remove the above.
7278
7279 * math/s_casin_template.c: Update using type-generic macros.
7280 * math/s_casinh_template.c: Likewise.
7281 * math/s_csin_template.c: Likewise.
7282 * math/s_csinh_template.c: Likewise.
7283 * math/k_casinh_template.c: Likewise.
7284
7285 * math/s_casinf.c: Removed.
7286 * math/s_casin.c: Removed.
7287 * math/s_casinl.c: Removed.
7288 * math/s_casinh.c: Removed.
7289 * math/s_casinhf.c: Removed.
7290 * math/s_casinhl.c: Removed.
7291 * math/s_csin.c: Removed.
7292 * math/s_csinf.c: Removed.
7293 * math/s_csinl.c: Removed.
7294 * math/s_csinh.c: Removed.
7295 * math/s_csinhf.c: Removed.
7296 * math/s_csinhl.c: Removed.
7297 * math/k_casinh.c: Removed.
7298 * math/k_casinhf.c: Removed.
7299 * math/k_casinhl.c: Removed.
7300
7301 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7302 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7303 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7304 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7305
7306 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7307 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7308 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7309 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7310 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7311 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7312 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7313 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7314
7315 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7316 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7317 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7318 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7319
7320 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7321 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7322 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7323 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7324
7325 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7326
7327 * s_casin_template.c: Copy of s_casin.c.
7328 * s_casinh_template.c: Copy of s_casinh.c.
7329 * s_csin_template.c: Copy of s_csin.c.
7330 * s_csinh_template.c: Copy of s_csinh.c.
7331 * k_casinh_template.c: Copy of k_casinh.c.
7332
7333 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7334
7335 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7336
7337 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7338
7339 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7340 (mul_split) Remove, rename as mul_splitl, remove
7341 redundant float.h include, and include via mul_splitl.h
7342
7343 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7345 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7346 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7347 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7348
7349 * math/mul_splitl.h: New file.
7350
7351 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7352 Move into mul_split.h, and remove redundant float.h include.
7353
7354 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7358
7359 * math/mul_split.h: New file.
7360
7361 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7362
7363 * math/Makefile (libm-gen-calls): Move
7364 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7365 (libm-calls): Remove above.
7366
7367 * math/s_cacos_template.c: Update using type-generic macros.
7368 * math/s_cacosh_template.c: Likewise.
7369 * math/s_ccos_template.c: Likewise.
7370 * math/s_ccosh_template.c: Likewise.
7371
7372 * math/s_cacosf.c: Removed.
7373 * math/s_cacos.c: Removed.
7374 * math/s_cacosl.c: Removed.
7375 * math/s_cacoshf.c: Removed.
7376 * math/s_cacosh.c: Removed.
7377 * math/s_cacoshl.c: Removed.
7378 * math/s_ccosf.c: Removed.
7379 * math/s_ccos.c: Removed.
7380 * math/s_ccosl.c: Removed.
7381 * math/s_ccoshf.c: Removed.
7382 * math/s_ccosh.c: Removed.
7383 * math/s_ccoshl.c: Removed.
7384
7385 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7386 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7387 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7388 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7389 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7390 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7391
7392 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7393 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7394 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7395 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7396
7397 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7398 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7399 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7400 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7401
7402 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7403
7404 * s_cacos_template.c: Copy of s_cacos.c.
7405 * s_cacosh_template.c: Copy of s_cacosh.c.
7406 * s_ccos_template.c: Copy of s_ccos.c.
7407 * s_ccosh_template.c: Copy of s_ccosh.c.
7408
7409 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7410
7411 * stdlib/tst-strtod-round-skeleton.c:
7412 Refactored from tst-strtod-round.c.
7413
7414 (L_): New macro to apply literal modifier.
7415 (FNPFX): New macro to select str or wcs prefix.
7416 (CHAR): New macro to choose wchar_t or char.
7417 (STRM): New macro to choose printf for tested character type.
7418
7419 (STRTO): New macro to choose appropriate string -> real function.
7420 (FNPFXS): Stringitized version of FNPFX.
7421 (STR): Support for above macro.
7422 (STRX): Likewise.
7423
7424 (TEST): Update with above macros.
7425 (test): Likewise.
7426 (GEN_ONE_TEST): Likewise.
7427 (test_in_one_mode): Likewise.
7428
7429 * stdlib/tst-strtod-round.c: New file.
7430 * wcsmbs/tst-wcstod-round.c: New file.
7431
7432 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7433 (tst-wcstod-round): Add libm depencency for fesetround.
7434
7435 2016-08-19 Zack Weinberg <zackw@panix.com>
7436
7437 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7438
7439 2016-08-18 Torvald Riegel <triegel@redhat.com>
7440
7441 [BZ #20477]
7442 * resolv/res_hconf.c (do_init): Use atomic access.
7443 * resolv/res_hconf.h: Add comments.
7444 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7445 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7447
7448 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7449
7450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7451 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7452 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7453 Likewise.
7454
7455 2016-08-18 Florian Weimer <fweimer@redhat.com>
7456
7457 [BZ #16907]
7458 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7459 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7460 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7461 (__attribute__): Remove definition.
7462
7463 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7464
7465 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7466 Remove unused sqrtl declaration.
7467
7468 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7469
7470 * math/Makefile: (gen-libm-templates.stmp): New rule.
7471 (libm-calls): Move carg conj cimag and cabs into ...
7472 (gen-libm-calls): New variable.
7473 (generated): Inform Make objects from gen-libm-calls
7474 may be generated.
7475
7476 * sysdeps/generic/math-type-macros.h: New file.
7477 * sysdeps/generic/math-type-macros-float.h: Likewise.
7478 * sysdeps/generic/math-type-macros-double.h: Likewise.
7479 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7480 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7481 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7482
7483 * math/cabs.c: Refactor into
7484 * math/cabs_template.c: new file.
7485 * math/cabsf.c: Removed.
7486 * math/cabsl.c: Removed.
7487 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7488 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7489
7490 * math/carg.c: Refactor into
7491 * math/carg_template.c: new file.
7492 * math/cargf.c: Removed.
7493 * math/cargl.c: Removed.
7494 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7495 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7496
7497 * math/conj.c: Refactor into
7498 * math/conj_template.c: new file.
7499 * math/conjf.c: Removed.
7500 * math/conjl.c: Removed.
7501 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7502 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7503
7504 * math/cimag.c: Refactor into
7505 * math/cimag_template.c: new file.
7506 * math/cimagf.c: Removed.
7507 * math/cimagl.c: Removed.
7508 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7509 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7510
7511 * math/cimag.c: Refactor into
7512 * math/cimag_template.c: new file.
7513 * math/cimagf.c: Removed.
7514 * math/cimagl.c: Removed.
7515 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7516 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7517
7518 2016-08-17 Florian Weimer <fweimer@redhat.com>
7519
7520 Reduce time to expected nptl/tst-once5 failure.
7521 * nptl/tst-once5.cc (TIMEOUT): Define.
7522
7523 2016-08-17 Florian Weimer <fweimer@redhat.com>
7524
7525 [BZ #20452]
7526 Avoid additional copies of objects in libc.a in static libraries.
7527 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7528 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7529 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7530 rt-sysdep.
7531 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7532 Add nptl-sysdep.
7533 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7534 Add ptw-sysdep.
7535 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7536 rt-sysdep.
7537 * sysdeps/unix/sysv/linux/alpha/Makefile
7538 (libpthread-shared-only-routines): Add ptw-sysdep,
7539 ptw-sigprocmask, ptw-rt_sigaction.
7540 * sysdeps/unix/sysv/linux/ia64/Makefile
7541 (librt-shared-only-routines): Add rt-sysdep.
7542 * sysdeps/unix/sysv/linux/i386/Makefile
7543 (libpthread-shared-only-routines): Add libc-do-syscall.
7544 * sysdeps/unix/sysv/linux/microblaze/Makefile
7545 (libpthread-shared-only-routines): Add sysdep.
7546 * sysdeps/unix/sysv/linux/powerpc/Makefile
7547 (librt-shared-only-routines): Add rt-sysdep.
7548 (libpthread-shared-only-routines): Add sysdep.
7549 * sysdeps/unix/sysv/linux/s390/Makefile
7550 (librt-shared-only-routines): Add rt-sysdep.
7551 * sysdeps/unix/sysv/linux/sparc/Makefile
7552 (librt-shared-only-routines): Add rt-sysdep.
7553 (libpthread-shared-only-routines): Add sysdep.
7554 * sysdeps/unix/sysv/linux/tile/Makefile
7555 (libpthread-shared-only-routines): Likewise.
7556
7557 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7558
7559 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7560 Mask implicit bit out of unpacked value.
7561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7562 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7563 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7564
7565 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7566
7567 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7568
7569 * sysdeps/s390/fpu/fesetexcept.c: New file.
7570
7571 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7572 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7573 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7574
7575 * sysdeps/mips/fpu/fesetexcept.c: New file.
7576
7577 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7578
7579 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7580
7581 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7582
7583 * sysdeps/arm/fesetexcept.c: New file.
7584
7585 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7586
7587 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7588
7589 * math/fesetexcept.c: New file.
7590 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7591 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7592 * math/fenv.h: Define
7593 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7594 <bits/libc-header-start.h> instead of including <features.h>.
7595 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7596 declaration.
7597 * manual/arith.texi (fesetexcept): Document function.
7598 * math/Versions (fesetexcept): New libm symbol at version
7599 GLIBC_2.25.
7600 * math/Makefile (libm-support): Add fesetexcept.
7601 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7602 * math/test-fesetexcept.c: New file.
7603 * math/test-fesetexcept-traps.c: Likewise.
7604 * sysdeps/nacl/libm.abilist: Update.
7605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7618 Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7620 Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7622 Likewise.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7624 Likewise.
7625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7631 Likewise.
7632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7633 Likewise.
7634 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7635 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7637
7638 2016-08-16 Florian Weimer <fweimer@redhat.com>
7639
7640 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7641 New.
7642 (do_test): Apply default_stack_size_in_mb if not set.
7643 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7644
7645 2016-08-15 Andreas Schwab <schwab@suse.de>
7646
7647 [BZ #20435]
7648 CVE-2016-6323
7649 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7650 as .cantunwind.
7651
7652 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7653
7654 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7655 comment from fraiseexcpt.c.
7656
7657 * math/test-fexcept.c (feraiseexcept_exact): New function.
7658 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7659 (test_except): Likewise.
7660
7661 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7662
7663 [BZ #20455]
7664 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7665 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7666 to be restored.
7667
7668 * math/test-fexcept-traps.c: New file.
7669 * math/test-fexcept.c: Likewise.
7670 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7671 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7672 macro.
7673 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7674 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7675
7676 2016-08-09 Torvald Riegel <triegel@redhat.com>
7677
7678 * include/atomic.h (atomic_fetch_and_relaxed,
7679 atomic_fetch_and_release, atomic_fetch_or_release,
7680 atomic_fetch_xor_release): New.
7681
7682 2016-08-06 Christian Seiler <christian@iwakd.de>
7683
7684 [BZ #20444]
7685 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7686 MACH_PORT_NULL.
7687
7688 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7689
7690 * math/s_fdim.c: Avoid alias renamed.
7691 * math/s_fdimf.c: Likewise.
7692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7693 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7694 Add s_fdimf-vis3, s_fdim-vis3.
7695 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7696 (CFLAGS-s_fdim-vis3.c): Likewise.
7697 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7698 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7699
7700 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7701
7702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7703 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7704 Remove s_fdimf-vis3, s_fdim-vis3.
7705 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7706 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7713 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7714 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7715
7716 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7717
7718 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7719 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7720 -Wa,-Av9a -mvis.
7721
7722 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7723
7724 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7725 LIT() to individual constants in simple expressions
7726 after splitting on spaces.
7727 (_apply_lit): Rename replaced version, and use it to
7728 apply to what appears to be a token.
7729
7730 * math/libm-test.inc: Fix many, many issues with
7731 spacing.
7732
7733 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7734
7735 * math/math.h: Move comment about <bits/mathdef.h> definitions
7736 above inclusion of <bits/mathdef.h>. Do not mention
7737 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7738
7739 2016-08-05 Torvald Riegel <triegel@redhat.com>
7740
7741 * include/atomic.h (atomic_exchange_relaxed): New.
7742
7743 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7744
7745 * math/e_scalb.c: Do not include <fenv.h>.
7746 (invalid_fn): Do calculation resulting in NaN instead of raising
7747 FE_INVALID and returning a NaN explicitly.
7748 * math/e_scalbf.c: Do not include <fenv.h>.
7749 (invalid_fn): Do calculation resulting in NaN instead of raising
7750 FE_INVALID and returning a NaN explicitly.
7751 * math/e_scalbl.c: Do not include <fenv.h>.
7752 (invalid_fn): Do calculation resulting in NaN instead of raising
7753 FE_INVALID and returning a NaN explicitly.
7754
7755 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7756
7757 * po/de.po: Updated from Translation Project.
7758 * po/fi.po: Likewise.
7759 * po/sv.po: Likewise.
7760
7761 2016-08-04 Florian Weimer <fweimer@redhat.com>
7762
7763 [BZ #20452]
7764 Use sysdep.o from libc.a in static libraries.
7765 * sysdeps/unix/sysv/linux/i386/Makefile
7766 (libpthread-shared-only-routines): Add sysdep.
7767 (librt-shared-only-routines): Likewise.
7768
7769 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7770
7771 * math/tgmath.h (nextdown): Define if
7772 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7773 (nextup): Likewise.
7774
7775 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7776 macro.
7777 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7778 Document.
7779 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7780 Document macro.
7781 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7782 (exp10f): Likewise.
7783 (exp10l): Likewise.
7784 * math/bits/mathcalls.h (exp10): Declare if
7785 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7786
7787 * manual/arith.texi (nextup): Fix typo in last change.
7788
7789 2016-08-03 Zack Weinberg <zackw@panix.com>
7790
7791 [BZ #19239]
7792 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7793 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7794 define major, minor, and makedev to issue deprecation warnings on use.
7795 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7796 previously-activated deprecation warnings for these macros and prevent
7797 subsequent inclusions of this header from having any effect.
7798 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7799 including <sys/sysmacros.h>, and undefine it again afterward.
7800
7801 2016-08-03 Zack Weinberg <zackw@panix.com>
7802
7803 * sysdeps/generic/sys/sysmacros.h: Delete file.
7804 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7805 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7806 * bits/sysmacros.h: ... here; this encoding is now the generic
7807 encoding. Now defines only the following macros:
7808 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7809 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7810 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7811
7812 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7813 bits/sysmacros.h and the above new macros to generate the
7814 public implementations of major, minor, and makedev.
7815 * misc/tst-makedev.c: New test.
7816 * include/sys/sysmacros.h: New wrapper.
7817
7818 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7819 (routines): Add makedev.
7820 (tests): Add tst-makedev.
7821 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7822 gnu_dev_makedev.
7823 * posix/Makefile (headers): Remove sys/sysmacros.h.
7824 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7825
7826 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7827 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7828 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7829 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7830 * sysdeps/unix/sysv/linux/arm/libc.abilist
7831 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7832 * sysdeps/unix/sysv/linux/i386/libc.abilist
7833 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7834 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7835 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7836 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7837 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7838 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7839 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7840 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7841 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7846 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7847 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7848 * sysdeps/unix/sysv/linux/sh/libc.abilist
7849 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7853 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7854 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7855 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7856 Add GLIBC_2.25.
7857
7858 * include/features.h (__glibc_clang_prereq): New macro.
7859 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7860 (__attribute_deprecated_msg__): New macros.
7861
7862 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7863
7864 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7865 macro.
7866 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7867 * manual/arith.texi (issignaling): Document as ISO from TS
7868 18661-1:2014.
7869 (nextup): Likewise.
7870 (nextupf): Likewise.
7871 (nextupl): Likewise.
7872 (nextdown): Likewise.
7873 (nextdownf): Likewise.
7874 (nextdownl): Likewise.
7875 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7876 macro.
7877 * math/math.h: Define
7878 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7879 <bits/libc-header-start.h> instead of including <features.h>.
7880 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7881 [__USE_GNU].
7882 * math/bits/mathcalls.h (nextdown): Declare if
7883 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7884 (nextup): Likewise.
7885 (__issignaling): Likewise.
7886
7887 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7888
7889 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7890 check, and remove __glibc_likely hint
7891 from FP_INFINITE check.
7892 * s_csinhf.c (__csinhf): Likewise.
7893
7894 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7895 hint from FP_INFINITE check.
7896 * s_csinhl.c (__csinhl): Likewise.
7897
7898 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7899
7900 * math/Makefile (libm-calls): Insert F placeholder into
7901 object names. Move w_lgamma_compat* routines into
7902 (libm-compat-calls): New variable.
7903 (libm-compat-calls-ldouble-yes): New variable.
7904 (calls): Insert F placeholder.
7905 (generated): Redefine using new type-foreach macro call.
7906 (routines): Likewise.
7907
7908 (types): New variable to hold a list of symbolic names
7909 for each type supported by the target machine.
7910 (libm-routines): Redefine using new types variable.
7911 (type-foreach): macro to replace fooF with the
7912 appropriately suffixed foo for each types.
7913
7914 (type-ldouble-suffix): New variable.
7915 (type-ldouble-routines): Likewise.
7916 (type-ldouble-yes): Likewise.
7917 (type-double-suffix): Likewise.
7918 (type-double-routines): Likewise.
7919 (type-float-suffix): Likewise.
7920 (type-float-routines): Likewise.
7921
7922 (dbl-only-routines): Remove.
7923 (long-c-yes): Likewise.
7924 (long-m-routines): Likewise.
7925 (long-m-support): Likewise.
7926 (long-m-yes): Likewise.
7927 (test-longdouble-yes): Likewise.
7928
7929 (test-float.o): Simplify by increasing the scope of the
7930 recipe which adds libm-test.stmp to the vector types.
7931 (test-ifloat.o): Likewise.
7932 (test-float-finite.o): Likewise.
7933 (test-double.o): Likewise
7934 (test-idouble.o): Likewise.
7935 (test-double-finite.o): Likewise.
7936 (test-ldouble.o): Likewise
7937 (test-ildoubl.o): Likewise.
7938 (test-ldouble-finite.o): Likewise.
7939
7940 (libm-tests): Redefine type tests using foreach and the
7941 list of types in types.
7942
7943 (CPPFLAGS-test-ildoubl.c): Rename to
7944 (CPPFLAGS-test-ildouble.c): New variable
7945
7946 * math/test-ildoubl.c: Rename to
7947 * math/test-ildouble.c: New file.
7948
7949 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7950
7951 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7952 Use fabsl instead of fabs.
7953 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7954 Likewise.
7955 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7956 Add long double suffix to constant to ensure proper
7957 promotion to long double.
7958
7959 2016-08-03 Tom Tromey <tom@tromey.com>
7960
7961 [BZ #20311]
7962 * nptl_db/Makefile (headers): Add proc_service.h.
7963 * nptl_db/proc_service.h: Add include guard. Use
7964 __BEGIN/__END_DECLS.
7965 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7966 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7967 arguments.
7968
7969
7970 2016-08-03 Florian Weimer <fweimer@redhat.com>
7971
7972 [BZ #17730]
7973 Avoid using memalign for TCB allocations.
7974 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7975 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7976 Avoid alignment gap in the TLS_DTV_AT_TP case.
7977 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7978 determine the pointer to free.
7979 * nptl/tst-tls3-malloc.c: New test.
7980 * nptl/Makefile (tests): Add it.
7981 (tst-tls3-malloc): Link with libdl, libpthread.
7982 (LDFLAGS-tst-tls3-malloc): Set.
7983 (tst-tls3-malloc.out): Depend on DSO used in test.
7984
7985 2016-08-03 Florian Weimer <fweimer@redhat.com>
7986
7987 [BZ #17730]
7988 Avoid using memalign for TLS allocations.
7989 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7990 is_static member with to_free member.
7991 (union dtv): Use struct dtv_pointer.
7992 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7993 dtv_pointer instead of is_static.
7994 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7995 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7996 instead of val.
7997 (allocate_dtv_entry): New function.
7998 (allocate_and_init): Return struct dtv_pointer. Call
7999 allocate_dtv_entry instead of __libc_memalign.
8000 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8001 instead of val.
8002 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8003 instead of is_static. Adjust call to allocate_and_init.
8004 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8005 struct dtv_pointer instead of val.
8006
8007 2016-08-03 Florian Weimer <fweimer@redhat.com>
8008
8009 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8010 (MALLOC_ALIGN_MASK): Move ...
8011 * malloc/malloc-internal.h: ... to here.
8012 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8013
8014 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8015
8016 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8017 (UDP_ENCAP_GTP1U): Likewise.
8018
8019 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8020 (PF_MAX): Update value.
8021 (AF_QIPCRTR): New macro.
8022
8023 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8024
8025 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8026 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8027 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8029 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8030 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8031 s_truncf-vis3, s_trunc-vis3.
8032 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8033 (CFLAGS-s_ceil-vis3.c): Likewise.
8034 (CFLAGS-s_floorf-vis3.c): Likewise.
8035 (CFLAGS-s_floor-vis3.c): Likewise.
8036 (CFLAGS-s_truncf-vis3.c): Likewise.
8037 (CFLAGS-s_trunc-vis3.c): Likewise.
8038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8046 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8047 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8048 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8049 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8050
8051 2016-08-02 David S. Miller <davem@davemloft.net>
8052
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8054 (__nearbyint_vis3): Don't check for sNaN before float register is
8055 loaded with the incoming argument.
8056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8057 (__nearbyintf_vis3): Likewise.
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8059 Likewise.
8060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8061 Likewise.
8062
8063 * string/test-strncmp.c (do_test_limit): Make sure the test data
8064 stream is aligned as required for the type "CHAR".
8065 (do_test): Likewise.
8066
8067 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8068
8069 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8070 by beq instructions jumping to the end of the function.
8071 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8072 clobber list. Use "i" constraint instead of "X".
8073 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8074 of "X".
8075
8076 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8077
8078 * bits/libc-header-start.h: New file.
8079 * Makefile (headers): Add bits/libc-header-start.h.
8080 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8081 (__GLIBC_USE): New macro.
8082 * libio/stdio.h: Define
8083 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8084 <bits/libc-header-start.h> instead of including <features.h>.
8085 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8086 (open_memstream): Likewise.
8087 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8088 (__asprintf): Likewise.
8089 (asprintf): Likewise.
8090 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8091 (getdelim): Likewise.
8092 (getline): Likewise.
8093 * string/string.h: Define
8094 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8095 <bits/libc-header-start.h> instead of including <features.h>.
8096 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8097 (strndup): Likewise.
8098 * wcsmbs/wchar.h: Define
8099 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8100 <bits/libc-header-start.h> instead of including <features.h>.
8101 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8102 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8103
8104 2016-08-02 Florian Weimer <fweimer@redhat.com>
8105
8106 Support linking against compatibility symbols, for use in tests.
8107 * include/libc-symbols.h (symbol_version_reference): New macro.
8108 (symbol_version): Use it.
8109 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8110 (compat_symbol): Use compat_symbol_reference.
8111 (compat_symbol_1, compat_symbol_2): Remove.
8112 (compat_symbol_reference, compat_symbol_reference_1)
8113 (compat_symbol_reference_2): New macro. Use
8114 symbol_version_reference.
8115
8116 2016-08-02 Florian Weimer <fweimer@redhat.com>
8117
8118 [BZ #19469]
8119 * malloc/Makefile (CPPFLAGS): Compile tests with
8120 -DTEST_NO_MALLOPT.
8121 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8122
8123 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8124
8125 [BZ #20033]
8126 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8127 finite version.
8128 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8129 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8130 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8131 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8132 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8133 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8134 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8136 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8137 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8138 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8139 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8141 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8142 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8143 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8144 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8145 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8146 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8147 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8148 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8149 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8150 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8151 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8152 in zero power.
8153
8154 2016-08-02 Florian Weimer <fweimer@redhat.com>
8155
8156 [BZ #20370]
8157 * malloc/arena.c (get_free_list): Update comment. Assert that
8158 arenas on the free list have no attached threads.
8159 (remove_from_free_list): New function.
8160 (reused_arena): Call it.
8161
8162 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8163
8164 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8165 when it is a NaN.
8166 [_IEEE_FP_INEXACT] Remove.
8167 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8168 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8169 when it is a NaN.
8170 [_IEEE_FP_INEXACT] Remove.
8171 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8172 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8173 when it is a NaN.
8174 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8175 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8176 when its absolute value is greater than 0x1.0p52.
8177 [_IEEE_FP_INEXACT] Remove.
8178 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8179 when its absolute value is greater than 0x1.0p23.
8180 [_IEEE_FP_INEXACT] Remove.
8181
8182 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8183
8184 * version.h (RELEASE): Set to "development"
8185 (VERSION): Set to 2.24.90.
8186 * NEWS: Add 2.25 section.
8187
8188 * version.h (RELEASE): Set to "stable"
8189 (VERSION): Set to 2.24.
8190 * include/features.h (__GLIBC_MINOR__): Set to 24.
8191
8192 * NEWS: Add 2.24 fixed bugs.
8193 * po/libc.pot: Regenerate.
8194
8195 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8196
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8198 [$(subdir) = math] (libm-sysdep_routines): Remove.
8199 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8200 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8201 s_truncf-vis3, s_trunc-vis3.
8202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8204 file.
8205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8242 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8243 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8244 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8245 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8246 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8247 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8248
8249 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8250
8251 [BZ #20384]
8252 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8253 test-double-libmvec-sincos-avx-main.o,
8254 test-double-libmvec-sincos-avx2-main.o,
8255 test-double-libmvec-sincos-main.o,
8256 test-float-libmvec-sincosf-avx-main.o,
8257 test-float-libmvec-sincosf-avx2-main.o and
8258 test-float-libmvec-sincosf-main.o.
8259 test-float-libmvec-sincosf-avx512-main.o.
8260 ($(objpfx)test-double-libmvec-sincos): Also link with
8261 $(objpfx)test-double-libmvec-sincos-main.o.
8262 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8263 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8264 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8265 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8266 ($(objpfx)test-float-libmvec-sincosf): Also link with
8267 $(objpfx)test-float-libmvec-sincosf-main.o.
8268 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8269 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8270 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8271 test-double-libmvec-sincos-avx512-main.o and
8272 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8273 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8274 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8275 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8276 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8277 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8278 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8279 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8280 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8281 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8282 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8283 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8284 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8285 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8286 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8287 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8288 -DREQUIRE_AVX2.
8289 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8290 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8291 -DREQUIRE_AVX512F.
8292 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8293 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8294 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8295 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8296 file.
8297 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8298 Likewise.
8299 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8300 Likewise.
8301 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8302 Likewise.
8303 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8304 Likewise.
8305 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8306 Likewise.
8307 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8308 Likewise.
8309 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8310 Likewise.
8311
8312 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8313
8314 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8315
8316 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8317
8318 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8319 and typo in a comment about AT_HWCAP entry.
8320
8321 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8322
8323 * sysdeps/aarch64/libm-test-ulps: Updated.
8324
8325 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8326
8327 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8328 of r13 as it is not restored in mvcle case.
8329
8330 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8331
8332 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8333 Rename "ret" to "__ret".
8334 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8335 inline_syscall5, inline_syscall6): Likewise.
8336
8337 2016-07-19 Will Newton <will.newton@gmail.com>
8338
8339 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8340 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8341 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8342 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8343 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8344
8345 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8348 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8349 -mfpmath=387 with $(rtld-CFLAGS).
8350 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8351 $(rtld-CFLAGS).
8352
8353 2016-07-18 Ross Burton <ross.burton@intel.com>
8354 Khem Raj <raj.khem@gmail.com>
8355
8356 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8357 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8358 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8359 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8360 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8361 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8362 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8363 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8364 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8365 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8366 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8367 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8368 R_METAG_TLS_DTPOFF): New.
8369
8370 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8371 Matt Clay <mclay@lycos.com>
8372
8373 [BZ #20357]
8374 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8375 to call __mpsin/__mpcos and to negate values.
8376 * math/auto-libm-test-in: Add test.
8377 * math/auto-libm-test-out: Regenerate.
8378
8379 2016-07-18 Zack Weinberg <zackw@panix.com>
8380
8381 * grp/Makefile: Don't install the internal header grp-merge.h.
8382
8383 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8384
8385 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8386
8387 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8388
8389 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8390
8391 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8392
8393 [BZ #15368]
8394 * sysdeps/unix/sysv/linux/nptl-signals.h
8395 (__nptl_clear_internal_signals): New function.
8396 (__libc_signal_block_all): Likewise.
8397 (__libc_signal_block_app): Likewise.
8398 (__libc_signal_restore_set): Likewise.
8399 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8400 implementation.
8401 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8402 the cached pid/tid value in pthread structure.
8403
8404 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8405
8406 [BZ #20347]
8407 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8408
8409 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8410
8411 [BZ #20348]
8412 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8413 preadv64, pwrite64 and pwritev64.
8414
8415 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 [BZ #20350]
8418 * posix/tst-preadwrite.c: Renamed to ...
8419 * posix/tst-preadwrite-common.c: This.
8420 (PREAD): Removed.
8421 (PWRITE): Likewise.
8422 (STRINGIFY): Likewise.
8423 (STRINGIFY2): Likewise.
8424 (do_prepare): Make it static and remove function arguments.
8425 (do_test): Likewise.
8426 (PREPARE): Updated.
8427 (TEST_FUNCTION): New.
8428 (name): Make it static.
8429 (fd): Likewise.
8430 (do_prepare): Use create_temp_file.
8431 (do_test): Renamed to ...
8432 (do_test_with_offset): This. Make it static and accept offset.
8433 Properly check return value of PWRITE and PREAD. Return bytes
8434 read. Don't close fd nor unlink name.
8435 * posix/tst-preadwrite.c: Rewrite.
8436 * posix/tst-preadwrite64.c: Likewise.
8437
8438 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 [BZ #20309]
8441 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8442 -mtls-dialect=gnu2 works.
8443 * configure: Regenerated.
8444 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8445 (tests): Add tst-gnu2-tls1.
8446 (modules-names): Add tst-gnu2-tls1mod.
8447 ($(objpfx)tst-gnu2-tls1): New.
8448 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8449 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8450 * elf/tst-gnu2-tls1.c: New file.
8451 * elf/tst-gnu2-tls1mod.c: Likewise.
8452 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8453 bytes for push in the PLT entry to align the stack.
8454
8455 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 [BZ #20349]
8458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8459
8460 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8461
8462 [BZ #18707]
8463 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8464 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8465
8466 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8467
8468 * sysdeps/unix/sysv/linux/sysdep.h
8469 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8470 guards.
8471 * misc/tst-preadvwritev-common.c: New file.
8472 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8473 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8474 a check for files larger than 2GB.
8475
8476 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8477 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8478 * sysdeps/unix/sysv/linux/pread.c
8479 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8480 __OFF_T_MATCHES_OFF64_T.
8481 * sysdeps/unix/sysv/linux/pread64.c
8482 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8483 * sysdeps/unix/sysv/linux/preadv.c
8484 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8485 * sysdeps/unix/sysv/linux/preadv64.c
8486 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8487 * sysdeps/unix/sysv/linux/pwrite.c
8488 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8489 * sysdeps/unix/sysv/linux/pwrite64.c
8490 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8491 * sysdeps/unix/sysv/linux/pwritev.c
8492 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8493 * sysdeps/unix/sysv/linux/pwritev64.c
8494 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8495
8496 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8497
8498 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8499 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8500
8501 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8502
8503 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8504
8505 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8506
8507 [BZ #20240]
8508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8509 (CFLAGS-s_modf-ppc32.c): New variable.
8510 (CFLAGS-s_modff-ppc32.c): Likewise.
8511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8512 (CFLAGS-s_modf-ppc64.c): Likewise.
8513 (CFLAGS-s_modff-ppc64.c): Likewise.
8514
8515 2016-07-07 Andreas Schwab <schwab@suse.de>
8516
8517 [BZ #20263]
8518 * nptl/tst-robust10.c: New test.
8519 * nptl/Makefile (tests): Add tst-robust10.
8520
8521 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
8522
8523 [BZ #20263]
8524 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8525
8526 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8527
8528 * sysdeps/s390/linkmap.h (struct link_map_machine):
8529 Remove member gotplt and add member jmprel.
8530 * sysdeps/s390/s390-32/dl-machine.h
8531 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8532 instead of gotplt with &got[3].
8533 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8534 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8535
8536 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
8537
8538 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8539
8540 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8541
8542 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8543 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8544 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8545 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8546 * libio/vtables.c (_IO_vtable_check)
8547 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8548 * libio/libioP.h (IO_set_accept_foreign_vtables)
8549 [!PTR_MANGLE]: Do not call PTR_MANGLE.
8550
8551 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8552
8553 [BZ #20314]
8554 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8555 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8556 $(common-objpfx)cmath.
8557 ($(common-objpfx)cstdlib): New target.
8558 ($(common-objpfx)cmath): Likewise.
8559
8560 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8561
8562 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8563
8564 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8565
8566 [BZ #20327]
8567 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8568 are not part of the string.
8569
8570 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8571
8572 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8573 * nptl/tst-cancel4-common.h (fifoname): New variable.
8574 (fifofd): Likewise.
8575 (cl_fifo): New function.
8576 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8577 SIGINT.
8578 (tf_open): Add early cancel test.
8579
8580 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8581
8582 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8583
8584 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8585
8586 * sysdeps/generic/ldsodefs.h
8587 (dl_symbol_visibility_binds_local_p): New inline function.
8588 * elf/dl-addr.c (determine_info): Treat hidden and internal
8589 symbols as local.
8590 * elf/dl-lookup.c (do_lookup_x): Likewise.
8591 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8592
8593 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8594
8595 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8596 invalid exception for a sNaN input.
8597 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8598 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8599 (__nearbyint_vis3): Likewise
8600 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8601 (__nearbyintf_vis3): Likewise
8602 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8603 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8604 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8605 Likewise.
8606 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8607 Likewise.
8608
8609 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 [BZ #20139]
8612 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8613 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8614 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8615 2.24 or above.
8616 (HAVE_AVX512_ASM_SUPPORT): Removed.
8617 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8618 * sysdeps/x86_64/configure: Regenerated.
8619 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8620 check unconditional.
8621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8622 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8623 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8624 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8625 Likewise.
8626 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8627 Likewise.
8628 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8629 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8630 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8631 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8632 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8633 Likewise.
8634 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8635 Likewise.
8636 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8637 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8638 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8639 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8640 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8641 Likewise.
8642 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8643 Likewise.
8644 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8645 Likewise.
8646 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8647 Likewise.
8648 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8649 Likewise.
8650 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8651 Likewise.
8652 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8653 Likewise.
8654 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8655 Likewise.
8656 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8657 Likewise.
8658 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8659 Likewise.
8660 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8661 Likewise.
8662
8663 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8664
8665 [BZ #20024]
8666 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8668 of this implementation of vector function.
8669 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8670 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8671 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8672 Likewise.
8673 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8674 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8675 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8676 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8677 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8678 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8679 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8680 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8681 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8682 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8683 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8684 for testing vector sincos with fixed ABI.
8685 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8686 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8687 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8688 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8689 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8690 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8691 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8692 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8693 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8694 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8695 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8696 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8697 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8698 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8699 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8700 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8701
8702 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8703
8704 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8705
8706 2016-06-30 Anton Blanchard <anton@samba.org>
8707
8708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8709 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8710 s_sinf-ppc64.
8711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8714 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8715
8716 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8717
8718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8720 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8721 e_expf-ppc64.
8722 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8725 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8726
8727 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8728
8729 [BZ #20277]
8730 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8731 when SHARED is defined.
8732
8733 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8736 (index_arch_Prefer_ERMS): Likewise.
8737 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8738 __memcpy_erms for Prefer_ERMS.
8739 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8740 (__memmove_erms): Enabled for libc.a.
8741 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8742 __memmove_erms or Prefer_ERMS.
8743 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8744 __mempcpy_erms for Prefer_ERMS.
8745 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8746 __memset_erms for Prefer_ERMS.
8747
8748 2016-06-30 Andreas Schwab <schwab@suse.de>
8749
8750 [BZ #20262]
8751 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8752 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8753 of memory.
8754
8755 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 [BZ #18645]
8758 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8759 (test-extras): Add tst-cleanupx4aux.
8760 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8761 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8762 tst-cleanupx4aux.o.
8763 * nptl/tst-cleanupx4aux.c: New file.
8764
8765 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8766
8767 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8768
8769 2016-06-29 Andreas Schwab <schwab@suse.de>
8770
8771 [BZ #20260]
8772 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8773 address before the beginning of the string as an integer to avoid
8774 array-bounds warning.
8775
8776 2016-06-28 Richard Henderson <rth@redhat.com>
8777
8778 * elf/elf.h (EM_BPF): New.
8779 (EM_NUM): Update.
8780 (R_BPF_NONE, R_BPF_MAP_FD): New.
8781
8782 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8783 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8784 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8785 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8786 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8787 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8788 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8789 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8790 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8791 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8792 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8793 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8794 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8795 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8796 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8797 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8798 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8799 (EM_NUM): Update.
8800
8801 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8802
8803 [BZ #18960]
8804 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8805 Set _nl_current_LC_CATEGORY_used to two instead of one.
8806
8807 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8808
8809 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8810 (do_test): ... this.
8811 (TEST_FUNCTION): New macro.
8812 Include test-skeleton.c.
8813 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8814 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8815
8816 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8817
8818 [BZ #15479]
8819 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8820 floating-point environment rather than just control word.
8821 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8822 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8823 floating-point environment, with "invalid" exceptions merged in,
8824 rather than just control word.
8825 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8826 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8827 "inexact" exceptions.
8828
8829 [BZ #15479]
8830 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8831 floating-point environment rather than just control word.
8832 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8833 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8834 floating-point environment, with "invalid" exceptions merged in,
8835 rather than just control word.
8836 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8837 * math/libm-test.inc (floor_test_data): Do not allow spurious
8838 "inexact" exceptions.
8839
8840 [BZ #15479]
8841 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8842 floating-point environment rather than just control word.
8843 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8844 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8845 floating-point environment, with "invalid" exceptions merged in,
8846 rather than just control word.
8847 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8848 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8849 "inexact" exceptions.
8850
8851 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8852
8853 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8854 __libc_vfork.
8855 (__vfork) [IS_IN (libc)]: Remove alias.
8856 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8857 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8858 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8859
8860 2016-06-24 Torvald Riegel <triegel@redhat.com>
8861
8862 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8863 of atomic_compare_and_exchange_bool_rel.
8864 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8865 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8866 catomic_compare_and_exchange_bool_rel): Remove.
8867 * sysdeps/aarch64/atomic-machine.h
8868 (atomic_compare_and_exchange_bool_rel): Likewise.
8869 * sysdeps/alpha/atomic-machine.h
8870 (atomic_compare_and_exchange_bool_rel): Likewise.
8871 * sysdeps/arm/atomic-machine.h
8872 (atomic_compare_and_exchange_bool_rel): Likewise.
8873 * sysdeps/mips/atomic-machine.h
8874 (atomic_compare_and_exchange_bool_rel): Likewise.
8875 * sysdeps/microblaze/atomic-machine.h
8876 ( __arch_compare_and_exchange_bool_8_rel,
8877 __arch_compare_and_exchange_bool_16_rel): Likewise.
8878 * sysdeps/powerpc/atomic-machine.h
8879 ( __arch_compare_and_exchange_bool_8_rel,
8880 __arch_compare_and_exchange_bool_16_rel): Likewise.
8881 * sysdeps/powerpc/powerpc32/atomic-machine.h
8882 ( __arch_compare_and_exchange_bool_32_rel,
8883 __arch_compare_and_exchange_bool_64_rel): Likewise.
8884 * sysdeps/powerpc/powerpc64/atomic-machine.h
8885 ( __arch_compare_and_exchange_bool_32_rel,
8886 __arch_compare_and_exchange_bool_64_rel): Likewise.
8887 * sysdeps/tile/atomic-machine.h
8888 (atomic_compare_and_exchange_bool_rel): Likewise.
8889
8890 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8891
8892 [BZ #20296]
8893 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8894 when either argument is a NaN.
8895 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8896 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8897
8898 * math/libm-test.inc (snan_value_ld): New macro.
8899 (isgreater_test_data): Add sNaN tests.
8900 (isgreaterequal_test_data): Likewise.
8901 (isless_test_data): Likewise.
8902 (islessequal_test_data): Likewise.
8903 (islessgreater_test_data): Likewise.
8904 (isunordered_test_data): Likewise.
8905 (nextafter_test_data): Likewise.
8906 (nexttoward_test_data): Likewise.
8907 (remainder_test_data): Likewise.
8908 (remquo_test_data): Likewise.
8909 (significand_test_data): Likewise.
8910 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8911
8912 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8913
8914 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8915 environment macros are defined.
8916 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8917
8918 2016-06-23 Florian Weimer <fweimer@redhat.com>
8919
8920 [BZ #20191]
8921 Implement vtable verification in libio.
8922 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8923 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8924 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8925 _IO_new_file_init_internal instead of _IO_file_init.
8926 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8927 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8928 * libio/Makefile (routines): Add vtables.
8929 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8930 (_IO_init): Remove, not for internal use.
8931 (_IO_init_internal): Declare, internal replacement for _IO_init.
8932 (_IO_file_init): Remove, not for internal use.
8933 (_IO_new_file_init): Remove, not for internal use.
8934 (_IO_new_file_init_internal): Declare, internal replacement for
8935 _IO_new_file_init.
8936 (_IO_old_file_init): Remove, not for internal use.
8937 (_IO_old_file_init_internal): Declare, internal replacement for
8938 _IO_old_file_init.
8939 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8940 internal use.
8941 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8942 Declare.
8943 (libio_vtable): New macro.
8944 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8945 functions.
8946 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8947 _IO_new_file_init.
8948 (_IO_new_file_init): New externally visible wrapper which disables
8949 vtable verification.
8950 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8951 Define as vtables.
8952 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8953 (_IO_init): New externally visible wrapper which disables
8954 vtable verification.
8955 * libio/iofdopen.c (_IO_new_fdopen): Call
8956 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8957 comment.
8958 * libio/iofopen.c (__fopen_internal): Call
8959 _IO_new_file_init_internal instead of _IO_file_init.
8960 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8961 Define as vtables.
8962 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8963 _IO_new_file_init_internal instead of _IO_file_init.
8964 * libio/iopopen.c (_IO_new_popen): Likewise.
8965 (_IO_proc_jumps): Define as vtable.
8966 * libio/iovdprintf.c (_IO_vdprintf): Call
8967 _IO_new_file_init_internal instead of _IO_file_init.
8968 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8969 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8970 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8971 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8972 _IO_old_file_init.
8973 (_IO_old_file_init): New externally visible wrapper which disables
8974 vtable verification.
8975 (_IO_old_file_jumps): Define as vtable.
8976 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8977 _IO_old_file_init_internal instead of _IO_old_file_init.
8978 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8979 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8980 (_IO_old_proc_jumps): Define as vtable.
8981 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8982 Define as vtables.
8983 * libio/vtables.c: New file.
8984 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8985 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8986 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8987 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8988 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8989 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8990 instead of _IO_init.
8991
8992 2016-06-23 Florian Weimer <fweimer@redhat.com>
8993
8994 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8995
8996 2016-06-23 Florian Weimer <fweimer@redhat.com>
8997
8998 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8999 potentially unused.
9000
9001 2016-06-22 Florian Weimer <fweimer@redhat.com>
9002
9003 * test-skeleton.c (write_message): New function.
9004 * malloc/tst-mallocfork2.c (write_message): Remove.
9005 * debug/tst-longjmp_chk2.c (write_indented): New function.
9006 (write_message): Remove.
9007 (stackoverflow_handler): Call write_indented.
9008
9009 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9010
9011 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9012 "inexact" exceptions after fnstenv.
9013 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9014 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9015 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9016
9017 2015-06-22 Zack Weinberg <zackw@panix.com>
9018
9019 * sysdeps/generic/bits/hwcap.h: Moved to ...
9020 * bits/hwcap.h: Here.
9021
9022 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9023
9024 * sysdeps/aarch64/memcpy.S (memcpy):
9025 Further tuning for performance.
9026
9027 2016-06-21 Florian Weimer <fweimer@redhat.com>
9028
9029 [BZ #20284]
9030 * malloc/arena.c (reused_arena): Do not return NULL if we start
9031 out with a non-corrupted arena.
9032
9033 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9034
9035 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9036 * misc/tst-preadvwritev.c: New file.
9037 * misc/tst-preadvwritev64.c: Likewise.
9038 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9039 usage.
9040 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9041 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9042 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9043 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9044
9045 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9046
9047 [BZ #19654]
9048 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9049 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9050 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9051 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9052 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9053 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9054 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9055 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9056 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9057 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9058 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9059 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9060 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9061 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9062 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9063 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9064 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9065 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9066 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9067 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9068 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9069 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9070 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9071 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9072 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9073 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9074
9075 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9076
9077 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9078 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9079
9080 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9081
9082 * sysdeps/aarch64/memcpy.S (memcpy):
9083 Rewrite of optimized memcpy and memmove.
9084 * sysdeps/aarch64/memmove.S (memmove): Remove
9085 memmove code (merged into memcpy.S).
9086
9087 2016-06-20 Florian Weimer <fweimer@redhat.com>
9088
9089 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9090 * sysdeps/generic/dl-dtv.h: New file.
9091 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9092 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9093 (dtv_t): Remove.
9094 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9095 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9096 (dtv_t): Remove.
9097 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9098 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9099 (dtv_t): Remove.
9100 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9101 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9102 (dtv_t): Remove.
9103 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9104 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9105 (dtv_t): Remove.
9106 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9107 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9108 (dtv_t): Remove.
9109 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9110 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9111 (dtv_t): Remove.
9112 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9113 (dtv_t): Remove.
9114 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9115 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9116 (dtv_t): Remove.
9117 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9118 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9119 (dtv_t): Remove.
9120 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9121 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9122 (dtv_t): Remove.
9123 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9124 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9125 (dtv_t): Remove.
9126 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9127 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9128 (dtv_t): Remove.
9129 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9130 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9131 (dtv_t): Remove.
9132 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9133 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9134 (dtv_t): Remove.
9135 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9136 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9137 (dtv_t): Remove.
9138
9139 2016-06-20 Florian Weimer <fweimer@redhat.com>
9140
9141 Revert symbol poisoning of __malloc_initialize_hook.
9142 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9143 poisoning.
9144 * malloc/Makefile: Remove un-poisoning.
9145 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9146 instead of old__malloc_initialize_hook.
9147 * malloc/malloc-hooks.h: Likewise.
9148 * malloc/malloc.c: Likewise.
9149 * malloc/mcheck-init.c: Likewise.
9150
9151 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9152
9153 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9154
9155 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9156
9157 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9158 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9159 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9160 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9161
9162 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9163
9164 * NEWS: Mention addition of nextup and nextdown.
9165 * manual/arith.texi: Document nextup and nextdown.
9166 * manual/libm-err-tab.pl: Add nextup and nextdown.
9167 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9168 * math/Versions (libm): Add GLIBC_2.24.
9169 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9170 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9171 Add new test.
9172 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9173 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9174 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9175 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9176 (nextup_test_data): Likewise.
9177 (nextdown_test_data): Likewise.
9178 * math/s_nextdown.c: New file.
9179 * math/s_nextdownf.c: Likewise.
9180 * math/s_nextdownl.c: Likewise.
9181 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9182 F(nextup): New function.
9183 F(nextdown): Likewise.
9184 * math/tgmath.h: Add nextup and nextdown.
9185 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9186 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9191 Add nextup and nextdown.
9192 (CFLAGS-nldbl-nextup.c): New variable.
9193 (CFLAGS-nldbl-nextdown.c): Likewise.
9194 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9195 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9196 * sysdeps/nacl/libm.abilist: Update.
9197 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9198 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9201 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9203 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9204 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9205 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9206 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9208 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9211 Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9214 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9215 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9221 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9222 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9225
9226 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9227
9228 * manual/pattern.texi: Fix typos & grammar errors.
9229
9230 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9231
9232 * manual/search.texi: Fix typos & grammar errors.
9233
9234 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9235
9236 * manual/message.texi: Fix typos & grammar errors.
9237
9238 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9239
9240 * manual/contrib.texi: Fix spelling typos.
9241 * manual/crypt.texi: Likewise.
9242 * manual/filesys.texi: Likewise.
9243 * manual/locale.texi: Likewise.
9244 * manual/message.texi: Likewise.
9245 * manual/nss.texi: Likewise.
9246 * manual/string.texi: Likewise.
9247
9248 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9249
9250 * manual/locale.texi: Fix typos & grammar errors.
9251
9252 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9253
9254 * manual/charset.texi: Fix typos & grammar errors.
9255
9256 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9257
9258 * manual/string.texi: Fix typos.
9259
9260 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9261
9262 * manual/ctype.texi: Fix typos.
9263
9264 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9265
9266 * manual/memory.texi: Fix various typos & grammar errors.
9267
9268 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9269
9270 [BZ #20255]
9271 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9272 * math/libm-test.inc (fdim_test_data): Add another test.
9273
9274 [BZ #6796]
9275 [BZ #20255]
9276 [BZ #20256]
9277 * math/s_fdim.c: Include <math_private.h>.
9278 (__fdim): Use math_narrow_eval on result.
9279 * math/s_fdimf.c: Include <math_private.h>.
9280 (__fdimf): Use math_narrow_eval on result.
9281 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9282 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9283 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9284 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9285 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9286 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9287 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9288 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9289 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9290 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9291 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9292 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9293 overflow. Add sNaN tests.
9294
9295 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9296 fpclassify.
9297 * math/s_fdimf.c (__fdimf): Likewise.
9298 * math/s_fdiml.c (__fdiml): Likewise.
9299
9300 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9301
9302 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9303 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9305 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9306 ifunc'ed strcasecmp/strncasecmp.
9307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9308 [EALIGN]: Removed.
9309 [END]: Likewise.
9310 [__strcasecmp]: Define instead of the above to control symbol name.
9311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9312 for __strcasecmp_power8.
9313 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9314 for __strncasecmp_power8.
9315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9317 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9319 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9320 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9321
9322 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9323
9324 [BZ #20252]
9325 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9326 arguments when second argument is a NaN.
9327 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9328 qNaN tests.
9329
9330 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9331 (conj_test_data): Likewise.
9332 (copysign_test_data): Likewise.
9333 (creal_test_data): Likewise.
9334 (fma_test_data): Likewise.
9335 (fmod_test_data): Likewise.
9336
9337 [BZ #20250]
9338 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9339 itself.
9340 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9341 zero input to itself.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9343 Likewise.
9344 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9345 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9348 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9349
9350 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9351
9352 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9353 * nptl/tst-cancel4-common.c: New file.
9354 * nptl/tst-cancel4-common.h: Likewise.
9355 * nptl/tst-cancel4.c: Move common definitions to
9356 tst-cancel4-common.{c,h} file.
9357 * nptl/tst-cancel4_1.c: New test.
9358 * nptl/tst-cancel4_2.c: New test.
9359
9360 2016-06-13 Florian Weimer <fweimer@redhat.com>
9361
9362 [BZ #20248]
9363 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9364 (write_message): New function.
9365 (stackoverflow_handler): Call it instead of printf, to avoid
9366 excessive stack usage by printf.
9367 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9368
9369 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9370
9371 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9372 (prio_inherit_missing): Remove define.
9373 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9374 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9375 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9376 Likewise.
9377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9378 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9379 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9380 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9381 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9382 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9383
9384 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9385
9386 [BZ #19670]
9387 [BZ #19672]
9388
9389 * io/test-lfs.c (do_prepare): Use xmalloc.
9390 * io/tst-fcntl.c (do_prepare): Likewise.
9391 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9392 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9393 * login/tst-utmp.c (do_prepare): Likewise.
9394 * posix/tst-exec.c (do_prepare): Likewise.
9395 * posix/tst-pathconf.c (prepare): Likewise.
9396 * posix/tst-spawn.c (do_prepare): Likewise.
9397 * posix/tst-truncate.c (do_prepare): Likewise.
9398 * rt/tst-aio.c (do_prepare): Likewise.
9399 * rt/tst-aio64.c (do_prepare): Likewise.
9400
9401 2016-06-11 Florian Weimer <fweimer@redhat.com>
9402
9403 [BZ #20237]
9404 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9405 (get*ent): Set entidx to NULL during initialization. If entidx is
9406 NULL, start iteration from the beginning.
9407
9408 2016-06-11 Florian Weimer <fweimer@redhat.com>
9409
9410 * malloc/malloc.c (musable): Return correct size for dumped fake
9411 mmapped chunk.
9412
9413 2016-06-11 Florian Weimer <fweimer@redhat.com>
9414
9415 [BZ #20222]
9416 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9417 (_IO_cookie_write): Likewise.
9418 (_IO_cookie_seek): Likewise.
9419 (_IO_cookie_close): Likewise.
9420 (_IO_old_cookie_seek): Likewise.
9421 (set_callbacks): New function.
9422 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9423
9424 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9425
9426 * locale/programs/localedef.c (oldstyle_tables): Remove.
9427 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9428
9429 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9430
9431 [BZ #20240]
9432 * math/Makefile (CFLAGS-s_modf.c): New variable.
9433 (CFLAGS-s_modff.c): Likewise.
9434 (CFLAGS-s_modfl.c): Likewise.
9435 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9436
9437 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9438
9439 [BZ #20215]
9440 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9441 [!__GNUC_PREREQ (3,2)]: Likewise.
9442
9443 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9444
9445 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9446 (msghdr.msg_controllen): Likewise.
9447 (cmsghdr.cmsg_len): Likewise.
9448 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9449 ptw-oldsendmsg.
9450 (CFLAGS-oldrecvmsg.c): Remove rule.
9451 (CFLAGS-oldsendmsg.c): Likewise.
9452 (CFLAGS-recvmsg.c): Add rule.
9453 (CFLAGS-sendmsg.c): Likewise.
9454 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9455 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9456 (CFLAGS-recvmsg.c): Remove rule.
9457 (CFLAGS-sendmsg.c): Likewise.
9458 (CFLAGS-oldrecvmsg.c): Likewise.
9459 (CFLAGS-oldsendmsg.c): Likewise.
9460 (CFLAGS-recvmmsg.c): Likewise.
9461 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9462 to kernel defined interfaces.
9463 (msghdr.msg_controllen): Likewise.
9464 (cmsghdr.cmsg_len): Likewise.
9465 (msghdr.__glibc_reserved1): Remove member.
9466 (msghdr.__glibc_reserved2): Likewise.
9467 (cmsghdr.__glibc_reserved1): Likewise.
9468 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9469 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9470 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9471 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9472 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9473 version.
9474 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9475 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9476 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9477 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9478 Remove recvmsg and sendmsg.
9479 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9480 Likewise.
9481 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9482 Likewise.
9483 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9484 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9485 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9486 Likewise.
9487 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9488 Likewise.
9489 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9490 [libc] (GLIBC_2.24): Likewise.
9491 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9492 Likewise.
9493 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9494 Likewise.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9496 [libc] (GLIBC_2.24): Likewise.
9497 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9498 Likewise.
9499 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9500 Likewise.
9501 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9502 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9503 Likewise.
9504 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9505 Likewise.
9506 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9507 Likewise.
9508 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9509 Likewise.
9510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9511 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9512 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9513 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9514 version for {recv,send,recm,sendm}msg.
9515 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9516 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9517 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9518 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9519 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9520 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9521 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9522 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9523 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9524 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9525 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9526 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9528 Likewise.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9530 Likewise.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9533 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9534 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9535 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9536 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9541 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9542 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9543 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9544
9545 2016-06-10 Florian Weimer <fweimer@redhat.com>
9546
9547 [BZ #19564]
9548 Remove __malloc_initialize_hook from the API.
9549 * malloc/malloc.h (__malloc_initialize_hook): Remove.
9550 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9551 #pragma GCC poison.
9552 * malloc/malloc-hooks.h: New file.
9553 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9554 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9555 (old__malloc_initialize_hook): Rename from
9556 __malloc_initialize_hook to evade poisoning. Turn into compat
9557 symbol.
9558 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9559 __malloc_initialize_hook.
9560 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9561 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9562 * manual/memory.texi (Hooks for Malloc): Remove
9563 __malloc_initialize_hook. Adjust hook example.
9564
9565 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9566
9567 [BZ #20235]
9568 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9569 itself.
9570 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9571 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9572
9573 [BZ #20234]
9574 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9575 infinity or NaN input to itself.
9576
9577 [BZ #20233]
9578 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9579 to itself.
9580
9581 [BZ #20232]
9582 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9583 itself.
9584
9585 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9586
9587 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9588 __libc_start_main via GOT.
9589
9590 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9591
9592 * sysdeps/x86_64/memcopy.h: New file.
9593 * sysdeps/x86_64/wordcopy.c: Likewise.
9594
9595 2016-06-09 Florian Weimer <fweimer@redhat.com>
9596
9597 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9598 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9599 <cstdlib>.
9600 (optimization_barrier): New.
9601 (do_test): Use it. Call quick_exit in the global namespace.
9602 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9603 instead of <cstdlib>, <thread>.
9604 (optimization_barrier): New.
9605 (non_main_thread): Adjust declaration. Call optimization_barrier.
9606 Call quick_exit in the global namespace.
9607 (do_test): Call optimization_barrier. Use pthread_create,
9608 pthread_join instead of std::thread.
9609
9610 2016-06-09 Andreas Schwab <schwab@suse.de>
9611
9612 [BZ #19755]
9613 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9614 new entries in auto-propagate mode.
9615 * nscd/grpcache.c (cache_addgr): Likewise.
9616
9617 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9618
9619 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9620 New functions.
9621 (add_temp_file): Use them.
9622
9623 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9624
9625 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9626
9627 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #20229]
9630 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9631 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9632 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9633
9634 [BZ #20228]
9635 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9636 itself.
9637 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9638 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9639
9640 [BZ #20227]
9641 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9642 itself.
9643 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9644 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9645 * math/libm-test.inc (log_test_data): Add sNaN tests.
9646
9647 [BZ #20226]
9648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9649 itself.
9650 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9651 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9652 (exp10_test_data): Likewise.
9653 (expm1_test_data): Likewise.
9654
9655 [BZ #20225]
9656 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9657 itself.
9658 * math/s_ldexpf.c (__ldexpf): Likewise.
9659 * math/s_ldexpl.c (__ldexpl): Likewise.
9660 * math/w_scalbln.c (__w_scalbln): Likewise.
9661 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9662 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9663 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9664 (scalbln_test_data): Likewise.
9665
9666 [BZ #20224]
9667 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9668 argument to itself.
9669 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9670
9671 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9672
9673 [BZ #19776]
9674 * sysdeps/x86_64/memcpy.S: Make it dummy.
9675 * sysdeps/x86_64/mempcpy.S: Likewise.
9676 * sysdeps/x86_64/memmove.S: New file.
9677 * sysdeps/x86_64/memmove_chk.S: Likewise.
9678 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9679 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9680 * sysdeps/x86_64/memmove.c: Removed.
9681 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9682 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9683 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9684 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9685 Likewise.
9686 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9687 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9689 memcpy-sse2-unaligned, memmove-avx-unaligned,
9690 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9692 (__libc_ifunc_impl_list): Replace
9693 __memmove_chk_avx512_unaligned_2 with
9694 __memmove_chk_avx512_unaligned. Remove
9695 __memmove_chk_avx_unaligned_2. Replace
9696 __memmove_chk_sse2_unaligned_2 with
9697 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9698 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9699 with __memmove_avx512_unaligned. Replace
9700 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9701 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9702 with __memcpy_chk_avx512_unaligned. Remove
9703 __memcpy_chk_avx_unaligned_2. Replace
9704 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9705 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9706 Replace __memcpy_avx512_unaligned_2 with
9707 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9708 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9709 with __mempcpy_chk_avx512_unaligned. Remove
9710 __mempcpy_chk_avx_unaligned_2. Replace
9711 __mempcpy_chk_sse2_unaligned_2 with
9712 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9713 Replace __mempcpy_avx512_unaligned_2 with
9714 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9715 Replace __mempcpy_sse2_unaligned_2 with
9716 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9717 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9718 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9719 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9720 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9721 (ENTRY): Removed.
9722 (END): Likewise.
9723 (ENTRY_CHK): Likewise.
9724 (libc_hidden_builtin_def): Likewise.
9725 Don't include ../memcpy.S.
9726 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9727 __memcpy_chk_avx512_unaligned_erms and
9728 __memcpy_chk_avx512_unaligned. Use
9729 __memcpy_chk_avx_unaligned_erms and
9730 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9731 Default to __memcpy_chk_sse2_unaligned.
9732 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9733 Change function suffix from unaligned_2 to unaligned.
9734 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9735 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9736 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9737 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9738 (ENTRY): Removed.
9739 (END): Likewise.
9740 (ENTRY_CHK): Likewise.
9741 (libc_hidden_builtin_def): Likewise.
9742 Don't include ../mempcpy.S.
9743 (mempcpy): New. Add a weak alias.
9744 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9745 __mempcpy_chk_avx512_unaligned_erms and
9746 __mempcpy_chk_avx512_unaligned. Use
9747 __mempcpy_chk_avx_unaligned_erms and
9748 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9749 Default to __mempcpy_chk_sse2_unaligned.
9750
9751 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9752
9753 [BZ #19881]
9754 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9755 into ...
9756 * sysdeps/x86_64/memset.S: This.
9757 (__bzero): Removed.
9758 (__memset_tail): Likewise.
9759 (__memset_chk): Likewise.
9760 (memset): Likewise.
9761 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9762 defined.
9763 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9764 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9765 (__memset_zero_constant_len_parameter): Check SHARED instead of
9766 PIC.
9767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9768 memset-avx2 and memset-sse2-unaligned-erms.
9769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9770 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9771 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9772 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9773 (__bzero): Enabled.
9774 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9775 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9776 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9777 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9778 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9779 (memset): Removed.
9780 (__memset_chk): Likewise.
9781 (MEMSET_SYMBOL): New.
9782 (libc_hidden_builtin_def): Replace __memset_sse2 with
9783 __memset_sse2_unaligned.
9784 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9785 __memset_chk_sse2 and __memset_chk_avx2 with
9786 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9787 Use __memset_chk_sse2_unaligned_erms or
9788 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9789 __memset_chk_avx512_unaligned_erms and
9790 __memset_chk_avx512_unaligned.
9791
9792 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9793
9794 * math/gen-auto-libm-test.c (fp_format_desc): remove
9795 suffix member.
9796 (output_generic_value): Remove usage of suffix member,
9797 and the resulting unuse of the fp_format argument.
9798 (output_for_one_input_case): Remove unused fp_format
9799 parameter.
9800
9801 * math/auto-libm-test-out: Regenerate.
9802
9803 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9804 usage with TEST_COND_ibm128.
9805 (TEST_COND_flt_32): Remove.
9806 (TEST_COND_dbl_64): Remove.
9807 (TEST_COND_ldbl_96_intel): Remove.
9808 (TEST_COND_ldbl_96_m68k): Remove.
9809 (TEST_COND_ldbl_128): Remove.
9810
9811 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9812
9813 * auto-libm-test-in:
9814 Replace flt-32 usage with binary32.
9815 Replace dbl-64 usage with binary64.
9816 Replace ldbl-intel-96 usage with intel96.
9817 Replace ldbl-m68k-96 usage with m68k96.
9818 Replace ldbl-128ibm usage with ibm128.
9819 Replace ldbl-128 usage with binary128.
9820
9821 * auto-libm-test-out: Regenerate.
9822
9823 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9824
9825 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9826 (parse_ulps): Dynamically generate type name matching
9827 string from all_floats.
9828 (get_ulps): Generate the ulps as an array instead.
9829 (output_ulps): Dynamically compose the type based
9830 on the number of supported formats, and print
9831 the indices as type specific helper macros.
9832
9833 * math/libm-test.inc: Remove comment about CHOOSE.
9834 (ulp_data): Generate the type in libm-test-ulps.h.
9835 (ULP_IDX): New macro.
9836 (find_ulps): Update usage of max_ulp.
9837
9838 * math/test-double-vlen2.h (CHOOSE): Remove.
9839 * math/test-double-vlen4.h (CHOOSE): Likewise.
9840 * math/test-double-vlen8.h (CHOOSE): Likewise.
9841 * math/test-float.c (CHOOSE): Likewise.
9842 * math/test-float-finite.c (CHOOSE): Likewise.
9843 * math/test-double.c (CHOOSE): Likewise.
9844 * math/test-double-finite.c (CHOOSE): Likewise.
9845 * math/test-idouble.c (CHOOSE): Likewise.
9846 * math/test-ifloat.c (CHOOSE): Likewise.
9847 * math/test-ildoubl.c (CHOOSE): Likewise.
9848 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9849 * math/test-ldouble.c (CHOOSE): Likewise.
9850
9851 * math/test-float.h (TEST_FLOAT): Remove.
9852 * math/test-double.h (TEST_DOUBLE): Likewise.
9853 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9854
9855 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9856
9857 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9858 (parse_args): Strip C suffix from floating point literals
9859 typed with 'f' and wrap them with LIT().
9860
9861 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9862 (test_ff_f_data_nexttoward): Rename to
9863 (test_fj_f_data): New struct.
9864 (nexttoward_test_data): Relabel tests as
9865 TEST_fj_f instead of TEST_ff_f.
9866
9867 2016-06-08 Florian Weimer <fweimer@redhat.com>
9868
9869 Emacs bug 23726.
9870 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9871 (__libc_realloc): Correct size computation for dumped fake mmapped
9872 chunks.
9873
9874 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9875
9876 [BZ #20219]
9877 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9878 to itself.
9879 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9880
9881 [BZ #20218]
9882 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9883 to itself.
9884 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9885
9886 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9887
9888 [BZ #20195]
9889 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9890 check to ...
9891 (init_cpu_features): Here.
9892
9893 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9894
9895 [BZ #20214]
9896 * sysdeps/unix/sysv/linux/bits/in.h
9897 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9898 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9899 Define to 1.
9900 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9901 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9902 Define to 0.
9903 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9904 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9905
9906 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9907
9908 [BZ #20198]
9909 * stdlib/Makefile (tests): Add tst-quick_exit, and
9910 tst-thread-quick_exit.
9911 [ifeq ($(have-cxx-thread_local),yes)]
9912 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9913 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9914 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9915 (LDLIBS-tst-thread-quick_exit): Likewise.
9916 [ifneq ($(have-cxx-thread_local),yes)]
9917 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9918 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9919 If run_dtors is true call __call_tls_dtors.
9920 (exit): Call __run_exit_handlers with run_dtors set to true.
9921 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9922 definition.
9923 * stdlib/quick_exit.c (quick_exit): Remove function.
9924 (__new_quick_exit): New function.
9925 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9926 function.
9927 * stdlib/tst-quick_exit.cc: New file.
9928 * stdlib/tst-thread-quick_exit.cc: New file.
9929 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9930 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9931 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9932 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9933 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9934 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9935 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9936 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9937 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9938 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9939 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9940 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9941 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9942 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9943 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9944 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9949 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9950 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9951 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9952 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9953 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9956 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9957 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9958 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9959
9960 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9963 a typo in comments.
9964
9965 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9966
9967 [BZ #20213]
9968 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9969 argument to itself.
9970 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9971
9972 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9973
9974 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9975 required flags.
9976 (CFLAGS-pwritev64.c): Likewise.
9977 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9978 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9979 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9980 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9981 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9982 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9983 syscall from auto-generation.
9984 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9985 [WORDSIZE == 64] (pwritev64): Remove macro.
9986 [!PWRITEV] (PWRITEV): Likewise.
9987 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9988 [!PWRITEV] (PWRITE): Likewise.
9989 [!PWRITEV] (OFF_T): Likewise.
9990 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9991 (LO_HI_LONG): Remove macro.
9992 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9993 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9994 (PWRITEV): Remove macro.
9995 (PWRITEV_REPLACEMENTE): Likewise.
9996 (PWRITE): Likewise.
9997 (OFF_T): Likewise.
9998 (pwritev64): New function.
9999 * nptl/tst-cancel4.c (tf_writev): Add test.
10000
10001 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10002 required flags.
10003 (CFLAGS-preadv64.c): Likewise.
10004 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10005 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10006 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10007 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10008 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10009 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10010 syscall from auto-generation.
10011 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10012 [WORDSIZE == 64] (preadv64): Remove macro.
10013 [!PREADV] (PREADV): Likewise.
10014 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10015 [!PREADV] (PREAD): Likewise.
10016 [!PREADV] (OFF_T): Likewise.
10017 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10018 (LO_HI_LONG): Remove macro.
10019 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10020 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10021 (PREADV): Remove macro.
10022 (PREADV_REPLACEMENTE): Likewise.
10023 (PREAD): Likewise.
10024 (OFF_T): Likewise.
10025 (preadv64): New function.
10026 * nptl/tst-cancel4.c (tf_preadv): Add test.
10027
10028 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10029
10030 [BZ #20212]
10031 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10032 argument to itself.
10033 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10034
10035 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10036
10037 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10038 New symbol defined as libc_hidden_def.
10039 (strcasestr): Became a weak alias to __strcasestr.
10040 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10041 according to multi-arch support. Move __stpncpy hidden
10042 definition from here to...
10043 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10044 symbol stpncpy.
10045 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10046 libc_hidden_builtin_def.
10047 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10048 memset symbol to use when multi-arch support is available.
10049
10050 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10051
10052 * dlfcn/tst-rec-dlopen.c: Include string.h.
10053
10054 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10055
10056 * manual/install.texi: Remove mention of --without-tls
10057 * INSTALL: Regenerate.
10058
10059 2016-06-05 Florian Weimer <fweimer@redhat.com>
10060
10061 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10062 Remove.
10063 (call_function, interposed_malloc_called): New variables.
10064 (malloc): New function.
10065 (do_test): Do not change malloc hooks. Initialize malloc. Set
10066 and clear call_function as needed.
10067
10068 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10069
10070 * include/wchar.h (__wmemset): Use __typeof.
10071
10072 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10073
10074 * include/wchar.h (__wmemset): Declare function without typeof.
10075
10076 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10077
10078 [BZ #20205]
10079 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10080 exponent when incrementing negative subnormal with low mantissa
10081 word zero.
10082 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10083 Add another test.
10084
10085 2016-06-03 Florian Weimer <fweimer@redhat.com>
10086
10087 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10088 __wmemset instead of wmemset.
10089
10090 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10091
10092 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10093 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10094 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10095 __USE_KERNEL_IPV6_DEFS to 0.
10096 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10097 Update comment.
10098
10099 2016-06-01 Florian Weimer <fweimer@redhat.com>
10100
10101 [BZ #19861]
10102 Do not use IFUNC resolver with potentially unrelocated symbol.
10103 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10104 (DEFINE_FORK): Remove macro and inline definition.
10105 (fork_alias): Renamed from fork_ifunc.
10106 (__fork_alias): Renamed from __fork_ifunc.
10107
10108 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10109
10110 [BZ 19653]
10111 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10112 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10113
10114 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10115
10116 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10117 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10118 i386-linux-gnu).
10119 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10120 Set to no.
10121 * sysdeps/mach/hurd/configure: Refresh.
10122
10123 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10124
10125 [BZ #20178]
10126 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10127 on failure instead of exit.
10128
10129 2016-05-30 Roland McGrath <roland@hack.frob.com>
10130
10131 [BZ #3629]
10132 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10133 of POSIX.1-2008.
10134
10135 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10136
10137 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10138 Use PLT entry for calling _hurd_self_sigstate.
10139
10140 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10141
10142 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10143 available logical processors with SMT level type sharing L2
10144 cache for Intel processors.
10145
10146 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10147
10148 [BZ #20160]
10149 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10150 argument to itself before returning the result.
10151 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10152 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10153 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10155 Likewise.
10156 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10157 Likewise.
10158 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10159 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10160 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10161 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10162 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10163 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10164
10165 [BZ #20160]
10166 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10167 argument to itself before returning the result.
10168 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10169 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10170 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10171 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10172 Likewise.
10173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10174 Likewise.
10175 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10176 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10177 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10178 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10179 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10180 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10181
10182 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10183
10184 * libm-test.inc: Replace usage of M_El with
10185 (lit_e): New macro.
10186
10187 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10188
10189 * libm-test.inc: Replace usage of M_PI_4l with
10190 (lit_pi_4_d): New macro.
10191
10192 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10193
10194 * libm-test.inc: Replace usage of M_PIl with
10195 (lit_pi): New macro.
10196
10197 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10198
10199 * libm-test.inc: Replace usage of M_PI2l with
10200 (lit_pi_2_d): New macro.
10201
10202 * math/test-double.h (LITM): New macro.
10203 * math/test-float.h (LITM): Likewise.
10204 * math/test-ldouble.h (LITM): Likewise.
10205
10206 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10207
10208 * libm-test.inc (M_PI_34l): Rename to
10209 (lit_pi_3_m_4_d): New Macro.
10210 (M_PI_34_LOG10El): Rename to
10211 (lit_pi_3_m_4_ln10_m_d): New Macro.
10212 (M_PI2_LOG10El): Rename to
10213 (lit_pi_2_ln10_m_d): New Macro.
10214 (M_PI4_LOG10El): Rename to
10215 (lit_pi_4_ln10_m_d): New Macro.
10216 (M_PI_LOG10El): Rename to
10217 (lit_pi_ln10_d): New Macro.
10218
10219 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10220
10221 [BZ #20157]
10222 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10223 determine whether to negate low half if [_ARCH_PPCGR], and integer
10224 comparison otherwise.
10225 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10226 determine whether to negate low half.
10227
10228 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10229 (NO_TEST_INLINE_DOUBLE): Likewise.
10230 (TEST_COND_x86_64): Likewise.
10231 (TEST_COND_x86): Likewise.
10232 (M_PI_6l): Likewise.
10233
10234 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10235
10236 * math/libm-test.inc:
10237 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10238 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10239 (TEST_LDOUBLE): Update usage to evaluate as true if
10240 the guarded tests match the property being tested.
10241 (LDBL_MAX_EXP): Change to MAX_EXP.
10242 (LDBL_MIN_EXP): Change to MIN_EXP.
10243 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10244 nexttoward tests.
10245
10246 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10247
10248 * math/libm-test.inc:
10249 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10250 (TYPE_MIN): Likewise.
10251 (TYPE_TRUE_MIN): Likewise.
10252 (TYPE_MAX): Likewise.
10253 (MIN_EXP): Likewise.
10254 (MAX_EXP): Likewise.
10255 (MANT_DIG): Likewise.
10256
10257 (FSTR_MAX): New macro.
10258 (__CONCATX): Likewise.
10259 (QTYPE_STR): Likewise.
10260 (TEST_COND_binary32): Likewise.
10261 (TEST_COND_binary64): Likewise.
10262 (TEST_COND_binary128): Likewise.
10263 (TEST_COND_ibm128): Likewise.
10264 (TEST_COND_intel96): Likewise.
10265 (TEST_COND_m68k96): Likewise.
10266
10267 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10268 (TEST_COND_dbl_64): Likewise.
10269 (TEST_COND_ldbl_96_intel): Likewise.
10270 (TEST_COND_ldbl_96_m68k): Likewise.
10271 (TEST_COND_ldbl_128): Likewise.
10272 (TEST_COND_ldbl_128ibm): Likewise.
10273
10274 (plus_zero): Redefine using LIT macro.
10275 (minus_zero): Likewise.
10276 (plus_infty): Redefine as (INF).
10277 (minux_infty): Redefine as (-INF).
10278 (max_value): Redefine as TYPE_MAX.
10279 (min_value): Redefine as TYPE_MIN.
10280 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10281
10282 (print_float): Refactor to use snprintf to convert FLOAT values
10283 to string. This brings it closer to dropin replacement of strtof
10284 for the TS 18661 defined types.
10285 (update_stats): Likewise.
10286 (print_complex_function_ulps): Likewise.
10287 (print_max_error): Likewise.
10288 (print_complex_max_error): Likewise.
10289 (check_float_internal): Likewise.
10290
10291 * math/test-float.h (PREFIX): New macro.
10292 (LIT): Likewise.
10293 (TYPE_STR): Likewise.
10294 (FTOSTR): Likewise.
10295
10296 * math/test-double.h (PREFIX): New macro.
10297 (LIT): Likewise.
10298 (TYPE_STR): Likewise.
10299 (FTOSTR): Likewise.
10300
10301 * math/test-ldouble.h (PREFIX): New macro.
10302 (LIT): Likewise.
10303 (TYPE_STR): Likewise.
10304 (FTOSTR): Likewise.
10305
10306 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10307
10308 [BZ #20156]
10309 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10310 to itself when zero or not finite.
10311 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10315
10316 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10317
10318 [BZ #20153]
10319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10320 x * x + x for infinities and NaNs.
10321
10322 [BZ #20151]
10323 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10324 argument to itself before returning result.
10325 (__ieee754_y0l): Likewise.
10326 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10327 (__ieee754_y1l).
10328
10329 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10330 (atan_test_data): Likewise.
10331 (ceil_test_data): Likewise.
10332 (cos_test_data): Likewise.
10333 (cosh_test_data): Likewise.
10334 (erf_test_data): Likewise.
10335 (exp2_test_data): Likewise.
10336 (fabs_test_data): Likewise.
10337 (floor_test_data): Likewise.
10338 (ilogb_test_data): Likewise.
10339 (j0_test_data): Likewise.
10340 (j1_test_data): Likewise.
10341 (jn_test_data): Likewise.
10342 (lgamma_test_data): Likewise.
10343 (lrint_test_data): Likewise.
10344 (llrint_test_data): Likewise.
10345 (logb_test_data): Likewise.
10346 (lround_test_data): Likewise.
10347 (llround_test_data): Likewise.
10348 (nearbyint_test_data): Likewise.
10349 (rint_test_data): Likewise.
10350 (round_test_data): Likewise.
10351 (sin_test_data): Likewise.
10352 (sincos_test_data): Likewise.
10353 (sinh_test_data): Likewise.
10354 (sqrt_test_data): Likewise.
10355 (tan_test_data): Likewise.
10356 (tanh_test_data): Likewise.
10357 (tgamma_test_data): Likewise.
10358 (trunc_test_data): Likewise.
10359 (y0_test_data): Likewise.
10360 (y1_test_data): Likewise.
10361 (yn_test_data): Likewise.
10362
10363 * math/libm-test.inc: Update comment about NaN testing.
10364 (TEST_SNAN): New macro.
10365 (snan_value): Likewise.
10366 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10367 (fpclassify_test_data): Add sNaN tests.
10368 (isfinite_test_data): Likewise.
10369 (isinf_test_data): Likewise.
10370 (isnan_test_data): Likewise.
10371 (isnormal_test_data): Likewise.
10372 (issignaling_test_data): Likewise.
10373 (signbit_test_data): Likewise.
10374 * math/gen-libm-test.pl (%beautify): Add snan_value.
10375 (show_exceptions): Add argument $test_snan.
10376 (parse_args): Handle snan_value as non-finite. Update call to
10377 show_exceptions.
10378 * math/Makefile (libm-test-no-inline-cflags): Add
10379 -fsignaling-nans.
10380
10381 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10382
10383 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10384 (CFLAGS-oldsendmsg.c): Add rule.
10385 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10386 Correct recvmsg symbol name.
10387 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10388 Likewise.
10389
10390 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10391
10392 * sysdeps/unix/sysv/linux/Makefile
10393 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10394 oldsendmmsg.
10395 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10396 sendmmsg.
10397 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10399 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10400 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10405 Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10407 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10408 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10409 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10410 iovlen and controllen fields to adjust to POSIX specification.
10411 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10412
10413 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10414 and change to correct expected type.
10415 (msghdr.msg_controllen): Likewise.
10416 (cmsghdr.cmsg_len): Likewise.
10417 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10418 expected POSIX assumption about the size.
10419 (msghdr.msg_controllen): Likewise.
10420 (msghdr.__glibc_reserved1): Likewise.
10421 (msghdr.__glibc_reserved2): Likewise.
10422 (cmsghdr.cmsg_len): Likewise.
10423 (cmsghdr.__glibc_reserved1): Likewise.
10424 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10425 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10426 (CFLAGS-sendmsg.c): Remove rule.
10427 (CFLAGS-recvmsg.c): Likewise.
10428 (CFLAGS-oldsendmsg.c): Add rule.
10429 (CFLAGS-oldrecvmsg.c): Likewise.
10430 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10431 recvmsg and sendmsg.
10432 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10433 Likewise.
10434 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10435 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10436 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10437 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10438 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10439 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10440 Likewise.
10441 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10442 Likewise.
10443 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10444 Likewise.
10445 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10446 Likewise.
10447 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10448 Likewise.
10449 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10450 Likewise.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10452 (GLIBC_2.24): Likewise.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10454 Likewise.
10455 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10456 Likewise.
10457 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10458 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10459 Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10461 Likewise.
10462 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10463 Likewise.
10464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10465 (GLIBC_2.24): Likewise.
10466 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10467 Likewise.
10468 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10469 Likewise.
10470 * sysdeps/unix/sysv/linux/Makefile
10471 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10472 (CFLAGS-sendmsg.c): Add rule.
10473 (CFLAGS-recvmsg.c): Likewise.
10474 (CFLAGS-oldsendmsg.c): Likewise.
10475 (CFLAGS-oldrecvmsg.c): Likewise.
10476 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10477 initialization.
10478 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10479 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10480 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10481 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10482 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10483 iovlen and controllen fields to adjust to POSIX specification.
10484 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10485 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10486 added recvmsg and sendmsg.
10487 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10489 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10490 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10491 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10493 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10495 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10497 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10500 Likewise.
10501 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10503 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10504 Likewise.
10505 Likewise.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10507 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10508 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10513 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10515 Likewise.
10516 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10518
10519 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10520 from auto-generation.
10521 (sendmsg): Likewise.
10522 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10523 (sendmsg): Likewise.
10524 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10525 (sendmsg): Likewise.
10526 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10527 (sendmsg): Likewise.
10528 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10529 (sendmsg): Likewise.
10530 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10531 (sendmsg): Likewise.
10532 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10533 Likewise.
10534 (sendmsg): Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10536 (sendmsg): Likewise.
10537 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10538 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10539 Remove.
10540 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10541 Likewise.
10542 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10543 Undefine.
10544 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10545 Likewise.
10546 * sysdeps/unix/sysv/linux/kernel-features.h
10547 (__ASSUME_SENDMSG_SYSCALL): Define.
10548 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10549 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10550 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10551 Remove.
10552 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10553 Likewise.
10554 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10555 Undefine.
10556 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10557 Likewise.
10558 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10559 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10560 Remove.
10561 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10562 Likewise.
10563 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10564 Undefine.
10565 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10566 Likewise.
10567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10568 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10569 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10570 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10571 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10572 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10573 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10574 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10575 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10576
10577 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10578
10579 * stdlib/gen-tst-strtod-round.c: Add backslash to
10580 compile command in comment.
10581 (printfp): Remove the literal suffix, and define an infinite
10582 value as INF to avoid expansion clash with INFINITY.
10583 (round_str): Remove the literal suffix.
10584 (round_for_all): Likewise, remove the now duplicate ldbl-64
10585 entry, and remove some magic constants.
10586
10587 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10588 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10589 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10590 (_CONCAT): New macro.
10591 (CONCAT): Likewise.
10592 (CHOOSE_ld): Likewise.
10593 (CHOOSE_f): Likewise.
10594 (CHOOSE_d): Likewise.
10595 (FTYPE_MEMBER): Likewise.
10596 (BOOL_MEMBER): Likewise.
10597 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10598 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10599 (_XNTRY): Likewise.
10600 (XNTRY): Likewise.
10601 (_ENTRY): Likewise.
10602 (ENTRY): Likewise.
10603 (test_exactness): Generate members via macro.
10604 (test_results): Likewise.
10605 (test): Update members.
10606 (TEST): Redefine using new macros.
10607 (INF): New macro.
10608 (fetestmodes): New structure.
10609 (do_test): Refactor to be type generic.
10610 (test_in_one_mode): Refactor duplicate code into
10611 (GEN_ONE_TEST): New macro.
10612
10613 * stdlib/tst-strtod-round-data.h: Regenerate.
10614
10615 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10616 Extend to pass additional arbitrary parameters to
10617 generators.
10618
10619 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10620
10621 [BZ #15479]
10622 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10623 floating-point state after first floating-point operation on
10624 input. Restore full floating-point state instead of just rounding
10625 mode.
10626 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10627 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10628 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10629 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10630 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10631
10632 [BZ #15479]
10633 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10634 floating-point state after first floating-point operation on
10635 input. Restore full floating-point state instead of just rounding
10636 mode.
10637 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10638 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10639 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10640 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10641 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10642
10643 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10644
10645 [BZ #19727]
10646 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10647 valid high surrogate.
10648 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10649 of an utf16 surrogate.
10650 * iconv/gconv_simple.c (BODY): Likewise.
10651 * iconvdata/bug-iconv12.c: New file.
10652 * iconvdata/Makefile (tests): Add bug-iconv12.
10653
10654 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10655
10656 [BZ #19726]
10657 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10658 outptrp in case of an illegal input.
10659 * iconv/tst-iconv6.c: New file.
10660 * iconv/Makefile (tests): Add tst-iconv6.
10661
10662 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10663
10664 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10665 an error in case of a value in range of an utf16 low surrogate.
10666
10667 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10668
10669 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10670 an error in case of a value in range of an utf16 low surrogate.
10671
10672 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10673
10674 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10675 Move to ...
10676 * sysdeps/s390/Makefile: ... here.
10677 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10678 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10679 (BRANCH_ON_COUNT): New define.
10680 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10681 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10682 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10683 run on s390-32, too.
10684 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10685 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10686 run on s390-32, too.
10687 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10688 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10689 run on s390-32, too.
10690
10691 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10692
10693 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10694 etf3eh or new vector loop-variant.
10695
10696 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10697
10698 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10699 etf3eh or new vector loop-variant.
10700
10701 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10702
10703 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10704 or new vector loop-variant.
10705
10706 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10707
10708 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10709 Rename to TR_LOOP and usage of tr instead of troo instruction.
10710
10711 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10712
10713 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10714 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10715
10716 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10717
10718 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10719 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10720 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10721 New override define.
10722 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10723
10724 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10725
10726 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10727 * sysdeps/s390/configure.ac: Add test for S390 vector register
10728 support in gcc.
10729 * sysdeps/s390/configure: Regenerated.
10730
10731 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10732
10733 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10734 Install file from $(objpfx)gconv-modules.
10735 ($(objpfx)gconv-modules): Concatenate architecture specific file
10736 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10737 * sysdeps/s390/gconv-modules: New file.
10738 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10739 Deleted.
10740 ($(objpfx)gconv-modules-s390): Deleted.
10741 (sysdeps-gconv-modules): New variable.
10742
10743 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10744
10745 [BZ #15479]
10746 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10747 of immediate operand to rounding instruction.
10748 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10749 Likewise.
10750 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10751 Likewise.
10752 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10753 Likewise.
10754
10755 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10756
10757 * math/libm-test.inc (MIN_EXP): Directly define as
10758 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10759
10760 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10761
10762 * math/libm-test.inc (MANT_DIG): Directly define as
10763 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10764
10765 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10766
10767 * stdlib/gen-tst-strtod-round.c (main):
10768 Change usage to more closely match the generated
10769 output. Add usage and compilation instructions.
10770 (string_to_fp): Add and use FILE* parameter as
10771 output target.
10772 (print_fp): Likewise.
10773 (round_str): Likewise.
10774 (round_for_all): Likewise.
10775 * stdlib/tst-strtod-round.c (tests): Move into
10776 * stdlib/tst-strtod-round-data.h: New file.
10777
10778 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10779
10780 [BZ #15479]
10781 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10782 (__round): Do not force "inexact" exception.
10783 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10784 variable.
10785 (__round): Do not force "inexact" exception.
10786 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10787 (__roundf): Do not force "inexact" exception.
10788 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10789 (__roundl): Do not force "inexact" exception.
10790 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10791 (__roundl): Do not force "inexact" exception.
10792 * math/libm-test.inc (round_test_data): Do not allow spurious
10793 "inexact" exceptions.
10794
10795 [BZ #15479]
10796 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10797 exception in comment.
10798 (huge): Remove variable.
10799 (__floor): Do not force "inexact" exception.
10800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10801 "inexact" exception in comment.
10802 (huge): Remove variable.
10803 (__floor): Do not force "inexact" exception.
10804 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10805 exception in comment.
10806 (huge): Remove variable.
10807 (__floorf): Do not force "inexact" exception.
10808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10809 exception in comment.
10810 (huge): Remove variable.
10811 (__floorl): Do not force "inexact" exception.
10812
10813 [BZ #15479]
10814 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10815 exception in comment.
10816 (huge): Remove variable.
10817 (__ceil): Do not force "inexact" exception.
10818 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10819 "inexact" exception in comment.
10820 (huge): Remove variable.
10821 (__ceil): Do not force "inexact" exception.
10822 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10823 (__ceilf): Do not force "inexact" exception.
10824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10825 exception in comment.
10826 (huge): Remove variable.
10827 (__ceill): Do not force "inexact" exception.
10828
10829 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 * config.h.in (BIND_NOW): New.
10832 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10833 * configure: Regenerated.
10834 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10835 indirect branch via the GOT slot.
10836
10837 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10838
10839 [BZ #19765]
10840 * sysdeps/s390/mempcpy.S: New File.
10841 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10842 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10843 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10844 Add mempcpy variants.
10845 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10846 (memcpy): Adjust to be usable from mempcpy entry point.
10847 (__memcpy_mvcle): Likewise.
10848 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10849 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10850 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10851 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10852 (__memcpy_z10): Likewise.
10853 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10854
10855 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10856
10857 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10858 Remove __GI_ symbol.
10859 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10860 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10861 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10862 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10863 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10864 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10865
10866 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10867
10868 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10869 Use cghi instead of chi to compare 64bit value.
10870
10871 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10872
10873 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10874 Jump to 1MB check before executing mvc-loop.
10875
10876 2016-05-24 Florian Weimer <fweimer@redhat.com>
10877
10878 [BZ #6527]
10879 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10880 unconditionally.
10881 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10882
10883 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10884
10885 * stdlib/tst-strtod6.c (do_test): Use new type generic
10886 invocation of the test function.
10887 (test): Refactor into ...
10888 (TEST_STRTOD): New macro base function.
10889
10890 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10891
10892 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10893 (TEST_STRTOD): New macro.
10894 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10895
10896 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10897
10898 * stdlib/tst-strtod6.c (do_test): Use new type generic
10899 invocation of the test function.
10900 (test): Refactor into ...
10901 (TEST_STRTOD): New macro base function.
10902
10903 2016-05-23 Florian Weimer <fweimer@redhat.com>
10904
10905 CVE-2016-4429
10906 [BZ #20112]
10907 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10908 payload.
10909
10910 2016-05-23 Florian Weimer <fweimer@redhat.com>
10911
10912 [BZ #20111]
10913 * bits/sockaddr.h (_SS_SIZE): Define.
10914 * bits/socket.h (_SS_SIZE): Remove.
10915 (_SS_PADSIZE): Adjust to account for all padding.
10916 (struct sockaddr_storage): Update comment. Avoid implicit
10917 padding.
10918 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10919 (_SS_PADSIZE): Adjust to account for all padding.
10920 (struct sockaddr_storage): Update comment. Avoid implicit
10921 padding.
10922 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10923 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10924 (_SS_PADSIZE): Adjust to account for all padding.
10925 (struct sockaddr_storage): Update comment. Avoid implicit
10926 padding.
10927 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10928 __SS_SIZE is 126 in this version.
10929 * inet/tst-sockaddr.c: New file.
10930 * inet/Makefile (tests): Add tst-sockaddr.c
10931 (tst-sockaddr.c): Compile with non-strict aliasing.
10932
10933 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10934
10935 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10936 [XPG3 || XPG4].
10937 (NL_ARGMAX): Also expect for [XPG3].
10938 (NL_LANGMAX): Likewise.
10939 (NL_MSGMAX): Likewise.
10940 (NL_NMAX): Likewise.
10941 (NL_SETMAX): Likewise.
10942 (NL_TEXTMAX): Likewise.
10943 (NZERO): Likewise.
10944 (TMP_MAX): Likewise.
10945 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10946 variable.
10947
10948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10949 (PF_MAX): Update value.
10950 (AF_KCM): New macro.
10951 (SOL_NETBEUI): Likewise.
10952 (SOL_LLC): Likewise.
10953 (SOL_DCCP): Likewise.
10954 (SOL_NETLINK): Likewise.
10955 (SOL_TIPC): Likewise.
10956 (SOL_RXRPC): Likewise.
10957 (SOL_PPPOL2TP): Likewise.
10958 (SOL_BLUETOOTH): Likewise.
10959 (SOL_PNPIPE): Likewise.
10960 (SOL_RDS): Likewise.
10961 (SOL_IUCV): Likewise.
10962 (SOL_CAIF): Likewise.
10963 (SOL_ALG): Likewise.
10964 (SOL_NFC): Likewise.
10965 (SOL_KCM): Likewise.
10966 (MSG_BATCH): New enum value and macro.
10967
10968 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 [BZ #18185]
10971 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10972 sharing L2 cache to 2 for Knights Landing.
10973
10974 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10975
10976 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10977 (FTW_DP): Do not expect for [XPG3 || XPG4].
10978 (FTW_SL): Do not expect for [XPG3].
10979 (FTW_SLN): Likewise.
10980 (FTW_PHYS): Likewise.
10981 (FTW_MOUNT): Likewise.
10982 (FTW_DEPTH): Likewise.
10983 (FTW_CHDIR): Likewise.
10984 (nftw): Likewise.
10985 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10986 variable.
10987
10988 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10989
10990 * manual/errno.texi: Fix various typos & grammar errors.
10991
10992 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10993
10994 * manual/intro.texi: Fix duplicated typo.
10995
10996 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10997
10998 [BZ #13304]
10999 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11000 <float.h>, <math_private.h> and <stdlib.h>.
11001 (add_split): New function.
11002 (mul_split): Likewise.
11003 (ext_val): New typedef.
11004 (store_ext_val): New function.
11005 (mul_ext_val): New function.
11006 (compare): New function.
11007 (add_split_ext): New function.
11008 (__fmal): After checking for Inf, NaN and zero, compute result as
11009 an exact sum of scaled double values in round-to-nearest before
11010 adding those up and adjusting for other rounding modes.
11011 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11012 tests of fma.
11013 * math/auto-libm-test-out: Regenerated.
11014
11015 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 [BZ #20119]
11018 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11019 processor level type mask for CPUID with EAX == 11.
11020
11021 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11022
11023 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11024 logical threads if the HTT bit is 0.
11025 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11026 (index_cpu_HTT): Likewise.
11027 (reg_HTT): Likewise.
11028
11029 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11030
11031 [BZ #20115]
11032 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11033 Remove alignments on jump targets.
11034
11035 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11036
11037 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11038 (getpwent): Likewise.
11039 (setpwent): Likewise.
11040 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11041 variable.
11042
11043 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11044 (remque): Likewise.
11045 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11046 variable.
11047
11048 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11049
11050 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11051 not being tested.
11052
11053 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11056 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11057 call.
11058 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11059 (__condvar_cleanup1): Likewise.
11060
11061 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11064 New
11065 (__pthread_unwind): Renamed to ...
11066 (PTHREAD_UNWIND): This.
11067 (__pthread_enable_asynccancel): Replace
11068 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11069
11070 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11071
11072 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11073 (CLONE_NEWCGROUP): New macro.
11074
11075 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11076 (Q_GETNEXTQUOTA): New macro.
11077
11078 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11079
11080 [BZ #19907]
11081 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11082 buffer updated by the previous run.
11083 * string/test-memcpy.c (do_one_test): Likewise.
11084 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11085 * string/test-memmove.c (do_one_test): Likewise.
11086
11087 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11088
11089 [BZ #20094]
11090 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11091 not [__USE_XOPEN].
11092 (unlockpt): Likewise.
11093 (ptsname): Likewise.
11094 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11095 variable.
11096
11097 [BZ #20076]
11098 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11099 instead of [__USE_UNIX98].
11100 (S_ISSOCK): Likewise.
11101 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11102 variable.
11103
11104 [BZ #20074]
11105 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11106 [__USE_POSIX].
11107 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11108 variable.
11109
11110 [BZ #20051]
11111 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11112 (ttyslot): Do not declare.
11113 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11114 (ttyslot): New prototype.
11115 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11116 variable.
11117 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11118
11119 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11120
11121 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11122
11123 2016-05-13 Florian Weimer <fweimer@redhat.com>
11124
11125 Fix race condition in tst-mallocfork2, use fewer resources.
11126 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11127 to current process group.
11128 (signal_sender): Yield in the non-sleeping case.
11129
11130 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11131
11132 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11133 (ecvt): Likewise.
11134 (fcvt): Likewise.
11135 (gcvt): Likewise.
11136 (getsubopt): Likewise.
11137 (grantpt): Likewise.
11138 (initstate): Likewise.
11139 (l64a): Likewise.
11140 (mktemp): Likewise.
11141 (mkstemp): Likewise.
11142 (ptsname): Likewise.
11143 (random): Likewise.
11144 (realpath): Likewise.
11145 (setstate): Likewise.
11146 (srandom): Likewise.
11147 (ttyslot): Likewise.
11148 (unlockpt): Likewise.
11149 (valloc): Likewise.
11150
11151 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11152 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11153 variable.
11154
11155 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11156
11157 [BZ #20072]
11158 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11159 init_cpu_features only if SHARED is defined.
11160 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11161
11162 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11163
11164 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11165 non-inclusive caches on Intel processors.
11166
11167 2016-05-13 Florian Weimer <fweimer@redhat.com>
11168
11169 * malloc/malloc.c (dumped_main_arena_start)
11170 (dumped_main_arena_end): New variables.
11171 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11172 (do_check_chunk): Skip dumped fake mmapped chunks.
11173 (munmap_chunk): Likewise.
11174 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11175 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11176 mmapped chunks.
11177 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11178 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11179 and dumped_main_arena_end to cover the dumped heap.
11180
11181 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11182
11183 * conform/data/time.h-data (getdate_err): Do not expect for
11184 [XPG3].
11185 (getdate): Likewise.
11186 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11187 variable.
11188
11189 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11190 (F_ULOCK): Likewise.
11191 (F_TEST): Likewise.
11192 (F_TLOCK): Likewise.
11193 (useconds_t): Likewise.
11194 (intptr_t): Do not expect for [XPG3] or [XPG4].
11195 (brk): Do not expect for [XPG3]
11196 (fchown): Likewise.
11197 (fchdir): Likewise.
11198 (ftruncate): Likewise.
11199 (getdtablesize): Likewise.
11200 (gethostid): Likewise.
11201 (getpagesize): Likewise.
11202 (getpgid): Likewise.
11203 (getsid): Likewise.
11204 (getwd): Likewise.
11205 (lchown): Likewise.
11206 (lockf): Likewise.
11207 (readlink): Likewise.
11208 (sbrk): Likewise.
11209 (setpgrp): Likewise.
11210 (setregid): Likewise.
11211 (setreuid): Likewise.
11212 (symlink): Likewise.
11213 (sync): Likewise.
11214 (truncate): Likewise.
11215 (ualarm): Likewise.
11216 (usleep): Likewise.
11217 (vfork): Likewise.
11218 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11219 variable.
11220
11221 [BZ #20054]
11222 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11223 not [__USE_UNIX98].
11224 * conform/data/unistd.h-data (gethostname): Do not expect for
11225 [XPG3].
11226
11227 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11228 [!POSIX] (S_IFBLK): Likewise.
11229 [!POSIX] (S_IFCHR): Likewise.
11230 [!POSIX] (S_IFIFO): Likewise.
11231 [!POSIX] (S_IFREG): Likewise.
11232 [!POSIX] (S_IFDIR): Likewise.
11233 [!POSIX] (S_IFLNK): Likewise.
11234 [!POSIX] (S_IFSOCK): Likewise.
11235 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11236 variable.
11237 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11238
11239 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11240
11241 * sysdeps/aarch64/memset.S (__memset):
11242 Rewrite of optimized memset.
11243
11244 2016-05-12 Florian Weimer <fweimer@redhat.com>
11245
11246 [BZ #19703]
11247 Partially async-signal-safe fork for single-threaded processes.
11248 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11249 variable. Do not acquire and reset/release malloc and libio locks
11250 in single-threaded processes.
11251 * malloc/tst-mallocfork2.c: New file.
11252 * malloc/Makefile (tests): Add it.
11253
11254 2016-05-12 Florian Weimer <fweimer@redhat.com>
11255
11256 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11257 argument. Use scratch buffer instead of extend_alloca.
11258 (gethosts): Use scratch buffer instead of extend_alloca.
11259 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11260 extend_alloca.
11261 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11262
11263 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11264
11265 [BZ #20055]
11266 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11267 instead of [__USE_UNIX98].
11268 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11269 [__USE_UNIX98].
11270 * conform/data/termios.h-data (tcgetsid): Do not expect for
11271 [XPG3].
11272 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11273 variable.
11274 (test-xfail-XPG4/termios.h/conform): Likewise.
11275
11276 2016-05-11 Florian Weimer <fweimer@redhat.com>
11277
11278 Do not use mcheck in localedef.
11279 * locale/programs/localedef.c (turn_on_mcheck)
11280 (__malloc_initialize_hook): Remove.
11281
11282 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11283
11284 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11285 * sysdeps/s390/s390-64/Makefile: Likewise.
11286
11287 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11288
11289 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11290 Remove ifunc-defines.sym.
11291 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11292 Likewise.
11293 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11294 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11295 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11296 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11297 rtld-global-offsets.sym.
11298 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11299 * sysdeps/x86/cpu-features-offsets.sym: This.
11300 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11301 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11302
11303 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11304
11305 [BZ #20073]
11306 * io/sys/stat.h (fchmod): Declare for
11307 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11308 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11309 variable.
11310
11311 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11312 [XPG3] (S_IFSOCK): Likewise.
11313 [XPG3] (S_ISVTX): Likewise.
11314 [XPG3] (S_ISLNK): Likewise.
11315 [XPG3] (S_ISSOCK): Likewise.
11316 [XPG3] (fchmod): Likewise.
11317 [XPG3] (lstat): Likewise.
11318 [XPG3] (mknod): Likewise.
11319
11320 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11321 [XPG3]. Expect type long and XFAIL for [XPG4].
11322 (st_blocks): Likewise.
11323
11324 [BZ #20044]
11325 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11326 (pthread_atfork): New prototype.
11327 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11328 variable.
11329
11330 [BZ #20043]
11331 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11332 prototype.
11333
11334 2016-05-10 Florian Weimer <fweimer@redhat.com>
11335
11336 [BZ #20017]
11337 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11338 gmtime.
11339
11340 2016-05-10 Florian Weimer <fweimer@redhat.com>
11341
11342 [BZ #19994]
11343 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11344 flag in _res.options.
11345
11346 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11347
11348 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11349 [XPG3 || XPG4].
11350 (blksize_t): Likewise.
11351 (clockid_t): Likewise.
11352 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11353 variable.
11354 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11355
11356 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11357
11358 * sysdeps/unix/sysv/linux/s390/init-first.c:
11359 Add VDSO_SYMBOL(getcpu).
11360 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11361 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11362 Add VDSO_SYMBOL(getcpu).
11363 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11364 New define HAVE_GETCPU_VSYSCALL.
11365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11366
11367 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11368
11369 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11370 instead of <sysdeps/x86_64/cacheinfo.c>.
11371 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11372 * sysdeps/x86/cacheinfo.c: Here.
11373
11374 2016-05-04 Florian Weimer <fweimer@redhat.com>
11375
11376 * malloc/malloc-internal.h: Adjust header file guard.
11377
11378 2016-05-04 Florian Weimer <fweimer@redhat.com>
11379
11380 [BZ #19787]
11381 * inet/getnameinfo.c (check_sprintf_result): New function.
11382 (CHECKED_SNPRINTF): New macro.
11383 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11384 to the host buffer.
11385 (gni_host_local): Use checked_copy to copy the host name.
11386 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11387 (gni_serv_local): Use checked_copy to copy the service name.
11388 (getnameinfo): Remove unnecessary truncation of result buffers.
11389
11390 2016-05-04 Florian Weimer <fweimer@redhat.com>
11391
11392 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11393 in case of inet_ntop failure.
11394
11395 2016-05-04 Florian Weimer <fweimer@redhat.com>
11396
11397 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11398 avoid long lines.
11399 (gni_host_inet_numeric): Likewise. Reduce scope of local
11400 variables.
11401 (gni_host_inet, gni_host_local): Add comment.
11402 (gni_host): Add comment. Use temporary to avoid long lines.
11403
11404 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11405
11406 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11407 registers specifiers where general purpose registers specifiers should
11408 have been used.
11409
11410 2016-05-04 Florian Weimer <fweimer@redhat.com>
11411
11412 [BZ #19779]
11413 CVE-2016-1234
11414 Avoid copying names of directory entries.
11415 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11416 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11417 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11418 (struct readdir_result): New type.
11419 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11420 (GL_READDIR): New macros.
11421 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11422 (convert_dirent, convert_dirent64): New functions.
11423 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11424 convert_dirent64. Adjust references to the readdir result.
11425 * sysdeps/unix/sysv/linux/i386/glob64.c:
11426 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11427 * posix/bug-glob2.c (LONG_NAME): Define.
11428 (filesystem): Add LONG_NAME.
11429 (my_DIR): Increase the size of room_for_dirent.
11430
11431 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11432
11433 [BZ #20041]
11434 * misc/sys/select.h (__need_timespec): Only define if
11435 [__USE_XOPEN2K].
11436 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11437 variable.
11438 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11439 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11440 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11441
11442 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11443 Segher Boessenkool <segher@gcc.gnu.org>
11444
11445 [BZ #20004]
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11447 (__novec_swapcontext): Add missing load.
11448
11449 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11450
11451 [BZ #20023]
11452 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11453 <time.h>.
11454 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11455 variable.
11456 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11457
11458 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11459
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11461 flags CLONE_VM compare.
11462
11463 2016-05-02 Florian Weimer <fweimer@redhat.com>
11464
11465 [BZ #20031]
11466 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11467 completely empty.
11468
11469 2016-05-02 Florian Weimer <fweimer@redhat.com>
11470
11471 [BZ #19573]
11472 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11473 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11474 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11475 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11476 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11477 (hesiod_free_list): Mark as hidden.
11478 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11479 res_set, res_get.
11480 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11481 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11482 (hesiod_init): Remove obsolete res_ninit call.
11483 (hesiod_end): Do not free resolver state. Do not invoke callback.
11484 (hesiod_bind): Do not call init.
11485 (get_txt_records): Use res_mkquery, res_send instead of
11486 res_nmkquery, res_nsend.
11487 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11488 instead of _nss_hesiod_init.
11489 (_nss_hesiod_initgroups_dyn): Likewise.
11490 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11491 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11492 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11493
11494 2016-05-02 Florian Weimer <fweimer@redhat.com>
11495
11496 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11497 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11498
11499 2016-05-02 Florian Weimer <fweimer@redhat.com>
11500
11501 * hesiod/hesiod.h: Remove RCS keyword.
11502 * hesiod/hesiod_p.h: Likewise.
11503
11504 * hesiod/hesiod.c: Likewise.
11505
11506 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11507
11508 [BZ #12450]
11509 * locale/iso-639.def: Add Samogitian/sgs.
11510
11511 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11512
11513 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11514
11515 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11516
11517 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
11518 Carlos O'Donell <carlos@redhat.com>
11519
11520 [BZ #19072]
11521 * grp/Makefile (headers): Add grp-merge.h
11522 (routines): Add grp-merge.
11523 * grp/getgrgid_r.c: Include grp-merge.h.
11524 (DEEPCOPY_FN): Define.
11525 (MERGE_FN): Define.
11526 * grp/getgrname_r.c: Include grp-merge.h.
11527 (DEEPCOPY_FN): Define.
11528 (MERGE_FN): Define.
11529 * grp/grp-merge.c: New file.
11530 * grp/grp-merge.h: New file.
11531 * include/grp-merge.h: New file.
11532 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11533 __copy_grp@GLIBC_PRIVATE.
11534 * manual/nss.texi (Actions in the NSS configuration): Describe
11535 return, continue, and merge.
11536 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11537 (DEEPCOPY_FN): Define.
11538 (MERGE_FN): Define.
11539 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11540 (DEEPCOPY_FN): Define.
11541 (MERGE_FN): Define.
11542 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11543 [!MERGE_FN]: Define __merge_einval.
11544 (CHECK_MERGE): Define.
11545 (REENTRANT_NAME): Process merge if do_merge is true.
11546 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11547 (__nss_getent_r): Likewise.
11548 * nss/nsswitch.c (nss_parse_service_list): Likewise.
11549 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11550
11551 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11552
11553 [BZ #20012]
11554 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11555 length to calculate the buffer to read.
11556 (fmemopen_write): Set the buffer position based on bytes written.
11557 (fmemopen_seek): Return EINVAL for invalid whence modes.
11558
11559 [BZ #19957]
11560 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11561 tst-getpid2.
11562 (test): Add tst-clone2.
11563 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11564 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11565 pid/tid fields for CLONE_VM.
11566 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11567 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11568 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11569 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11570 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11571 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11572 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11573 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11575 Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11577 Likewise.
11578 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11579 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11580 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11581 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11582 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11583 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11585 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11586
11587 2016-04-29 Florian Weimer <fweimer@redhat.com>
11588
11589 [BZ #19642]
11590 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11591 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11592 (gni_serv_local, gni_serv): New functions extracted from
11593 getnameinfo.
11594 (getnameinfo): Call gni_host and gni_serv to perform the
11595 processing. Always free scratch buffer.
11596
11597 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11598
11599 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11600 remaining bytes in the dest string, with zeros.
11601
11602 2016-04-29 Florian Weimer <fweimer@redhat.com>
11603
11604 [BZ #20010]
11605 CVE-2016-3706
11606 * sysdeps/posix/getaddrinfo.c
11607 (convert_hostent_to_gaih_addrtuple): New function.
11608 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11609 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11610 AF_INET data.
11611
11612 2016-04-29 Florian Weimer <fweimer@redhat.com>
11613
11614 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11615 callback function gl_readdir.
11616 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11617 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11618 (glob_in_dir): Remove len. Use strdup instead of malloc and
11619 memcpy to copy the name.
11620 * manual/pattern.texi (Calling Glob): Document requirements for
11621 implementations of the gl_readdir callback function.
11622 * manual/examples/mkdirent.c: New example.
11623 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11624 per the manual guidance.
11625 * posix/tst-gnuglob.c (my_readdir): Likewise.
11626
11627 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11628
11629 [BZ #20014]
11630 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11631 not [__USE_POSIX].
11632 (getchar_unlocked): Likewise.
11633 (putc_unlocked): Likewise.
11634 (putchar_unlocked): Likewise.
11635 (flockfile): Likewise.
11636 (ftrylockfile): Likewise.
11637 (funlockfile): Likewise.
11638 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11639 variable.
11640 (test-xfail-XPG4/stdio.h/conform): Likewise.
11641
11642 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11643 Expect constant.
11644 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11645 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11646 variable.
11647 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11648 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11649
11650 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11651 [__USE_LARGEFILE64] (off64_t): Likewise.
11652 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11653 variable.
11654
11655 2016-04-28 Florian Weimer <fweimer@redhat.com>
11656
11657 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11658
11659 2016-04-28 Florian Weimer <fweimer@redhat.com>
11660
11661 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11662 * resolv/res_init.c: Likewise.
11663 * resolv/res_mkquery.c: Likewise.
11664
11665 2016-04-28 Florian Weimer <fweimer@redhat.com>
11666
11667 * resolv/res_init.c (isascii): Do not define. Use definition in
11668 <ctype.h>.
11669 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11670 (LOG_AUTH): Remove.
11671 (SPRINTF): Remove, adjust caller.
11672 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11673
11674 2016-04-28 Florian Weimer <fweimer@redhat.com>
11675
11676 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11677 SUNSECURITY conditional.
11678 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11679
11680 2016-04-28 Florian Weimer <fweimer@redhat.com>
11681
11682 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11683 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11684 Remove BSD-related preprocessor conditionals.
11685 * conf/portability.h: Remove.
11686
11687 2016-04-28 Florian Weimer <fweimer@redhat.com>
11688
11689 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11690 * resolv/res_data.c: Likewise.
11691
11692 2016-04-28 Florian Weimer <fweimer@redhat.com>
11693
11694 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11695 * resolv/res_data.c: Remove code conditional on ultrix.
11696
11697 2016-04-28 Florian Weimer <fweimer@redhat.com>
11698
11699 * resolv/res_init.c (RFC1535): Do not define. Remove
11700 RFC1535 preprocessor conditionals.
11701 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11702 because there configuration options which make the resolver
11703 behavior different.
11704
11705 2016-04-28 Florian Weimer <fweimer@redhat.com>
11706
11707 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11708 RESOLVSORT preprocessor conditionals.
11709 * resolv/nss_dns/dns-host.c: Likewise.
11710 * resolv/res_init.c: Likewise.
11711
11712 2016-04-28 Florian Weimer <fweimer@redhat.com>
11713
11714 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11715 is never defined.
11716
11717 2016-04-28 Florian Weimer <fweimer@redhat.com>
11718
11719 * inet/inet_lnaof.c: Remove SCSS keyword.
11720 * inet/inet_mkadr.c: Likewise.
11721 * inet/inet_net.c: Likewise.
11722 * inet/inet_netof.c: Likewise.
11723 * inet/rcmd.c: Likewise.
11724 * inet/rexec.c: Likewise.
11725 * inet/ruserpass.c: Likewise.
11726
11727 2016-04-28 Florian Weimer <fweimer@redhat.com>
11728
11729 * resolv/inet_addr.c: Remove _LIBC conditionals.
11730 * resolv/res_data.c: Likewise.
11731 * resolv/res_init.c: Likewise.
11732 * resolv/res_mkquery.c: Likewise.
11733 * resolv/res_libc.c: Update comment.
11734 * resolv/README: Update.
11735
11736 2016-04-28 Florian Weimer <fweimer@redhat.com>
11737
11738 * resolv/gethnamaddr.c: Remove SCSS keyword.
11739 * resolv/herror.c: Likewise.
11740 * resolv/inet_addr.c: Likewise.
11741 * resolv/inet_net_ntop.c: Likewise.
11742 * resolv/inet_net_pton.c: Likewise.
11743 * resolv/inet_neta.c: Likewise.
11744 * resolv/inet_ntop.c: Likewise.
11745 * resolv/inet_pton.c: Likewise.
11746 * resolv/ns_date.c: Remove RCS keyword.
11747 * resolv/ns_name.c: Likewise.
11748 * resolv/ns_netint.c: Likewise.
11749 * resolv/ns_parse.c: Likewise.
11750 * resolv/ns_print.c: Likewise.
11751 * resolv/ns_samedomain.c: Likewise.
11752 * resolv/ns_ttl.c: Likewise.
11753 * resolv/nsap_addr.c: Likewise.
11754 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11755 * resolv/res_data.c: Remove RCS keyword.
11756 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11757 * resolv/res_init.c: Likewise.
11758 * resolv/res_mkquery.c: Likewise.
11759 * resolv/res_query.c: Likewise.
11760 * resolv/res_send.c: Likewise.
11761
11762 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11763
11764 * conform/data/stdio.h-data (fdopen): Expect also for
11765 [XPG3 || XPG4].
11766
11767 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11768 (fseeko): Likewise.
11769 (ftello): Likewise.
11770 (ftrylockfile): Likewise.
11771 (funlockfile): Likewise.
11772 (getc_unlocked): Likewise.
11773 (getchar_unlocked): Likewise.
11774 (putc_unlocked): Likewise.
11775 (putchar_unlocked): Likewise.
11776
11777 2016-04-27 Florian Weimer <fweimer@redhat.com>
11778
11779 [BZ #19868]
11780 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11781 DNS packet syntax checks (which were not needed before). Skip
11782 over non-PTR records.
11783
11784 2016-04-27 Florian Weimer <fweimer@redhat.com>
11785
11786 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11787 definition. Include <stddef.h> instead.
11788
11789 2016-04-27 Florian Weimer <fweimer@redhat.com>
11790
11791 [BZ #19831]
11792 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11793 function.
11794 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11795 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11796
11797 2016-04-27 Florian Weimer <fweimer@redhat.com>
11798
11799 [BZ #19862]
11800 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11801 (getanswer_r): Do not call syslog.
11802 (gaih_getanswer_slice): Likewise.
11803 * resolv/gethnamaddr.c (AskedForGot): Remove.
11804 (getanswer): Do not call syslog.
11805 (gethostbyaddr): Likewise.
11806
11807 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11808
11809 * conform/data/signal.h-data (union sigval): Expect also if
11810 [XOPEN2K].
11811 (struct sigevent): Likewise.
11812 (SIGEV_NONE): Likewise.
11813 (SIGEV_SIGNAL): Likewise.
11814 (SIGEV_THREAD): Likewise.
11815 (SIGRTMIN): Likewise.
11816 (SIGRTMAX): Likewise.
11817 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11818 variable.
11819 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11820
11821 2016-04-27 Florian Weimer <fweimer@redhat.com>
11822
11823 [BZ #19830]
11824 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11825 (gaih_getanswer_slice): Likewise.
11826 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11827 Also check for availability of RR metadata.
11828
11829 2016-04-27 Florian Weimer <fweimer@redhat.com>
11830
11831 [BZ #19825]
11832 * resolv/res_send.c (send_vc): Remove early *resplen2
11833 initialization. Set *resplen2 on socket error. Call
11834 close_and_return_error for other errors.
11835
11836 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11837
11838 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11839 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11840 (SCM_IUCV_TRGCLS): New define.
11841
11842 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11843
11844 [BZ #20005]
11845 * libio/fmemopen.c (fmemopen_write): Update internal position after
11846 write.
11847 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11848 * stdio-common/tst-fmemopen4.c: New file..
11849
11850 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11851
11852 [BZ #19996]
11853 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11854 not [__USE_XOPEN2K].
11855 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11856 variable.
11857
11858 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11859 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11860 variable.
11861
11862 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11863 [__USE_XOPEN2K8].
11864 [__USE_LARGEFILE64] (off64_t): Likewise.
11865 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11866 variable.
11867
11868 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11869
11870 [BZ #19989]
11871 * libio/stdio.h (cuserid): Do not declare if
11872 [__USE_XOPEN2K && !__USE_GNU].
11873 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11874 variable.
11875
11876 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11877
11878 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11879 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11881 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11882 ifunc'ed strcspn.
11883 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11884 [EALIGN]: Removed.
11885 [END]: Likewise
11886 [STRSPN]: Define instead of the above to control symbol name.
11887 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11888 New file.
11889 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11890 Likewise.
11891 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11892 Likewise.
11893 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11894 Likewise.
11895 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11896 [INITIAL_MASK]: New macro.
11897 [STRCSPN]: Likewise.
11898 [UPDATE_MASK]: Likewise.
11899 [USE_AS_STRCSPN]: Likewise.
11900
11901 2016-04-25 Florian Weimer <fweimer@redhat.com>
11902
11903 [BZ #19931]
11904 * stdio-common/tst-vfprintf-width-prec.c: New file.
11905 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11906 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11907 (generated): Add mtrace-related files.
11908 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11909 (tst-%-mem.out): New pattern rule, replaces
11910 tst-printf-bz18872-mem.out.
11911 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11912 specifier, deallocate any previously allocated work buffer.
11913
11914 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11915
11916 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11917 Add nop before __startcontext, add explaining comments.
11918
11919 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11920
11921 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11922 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11923 completely different API.
11924
11925 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11926 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11927 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11928 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11929 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11930 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11931 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11932 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11933 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11934 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11935
11936 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11937
11938 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11939
11940 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11941
11942 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11943 when it is the default of 0.
11944
11945 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11946
11947 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11948 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11949 (sysdep_routines): Add new strcasestr targets.
11950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11951 (__libc_ifunc_impl_list): Likewise.
11952 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11953 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11954 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11955 * sysdeps/powerpc/powerpc64/power8/Makefile:
11956 New file to add strcasestr-ppc64 to sysdep_routines.
11957 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11958 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11959
11960 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11961
11962 * benchtests/Makefile (wcsmbs-benchset): Include only for
11963 native builds and runs.
11964 (LOCALES): Likewise.
11965 (bench-build): Build timing-type here instead of the bench
11966 target. Generate locale only for native builds.
11967 * benchtests/README: Add note for cross-building.
11968
11969 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11970
11971 * benchtests/README: Update README to include instructions on
11972 using bench-build.
11973
11974 * Makefile.in (bench-build): New target.
11975 * Rules (PHONY): Add bench-build target.
11976 * benchtests/Makefile (bench): Depend on bench-build.
11977 (bench-build): New target.
11978
11979 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11980
11981 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11982 profil_reply_port.
11983 (profile_waiter): Do not initialize profil_reply_port.
11984 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11985 frequency instead of tick length in us.
11986
11987 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11988
11989 [BZ #18712]
11990 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11991 (__old_mempcpy_small): Likewise.
11992 (__old_strcpy_small): Likewise.
11993 (__old_stpcpy_small): Likewise.
11994 (__old_strpbrk_c2): Fix compat symbol name.
11995 (__old_strpbrk_c3): Likewise.
11996 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11997 (__mempcpy_small): Remove.
11998 (__strcpy_small): Remove.
11999 (__stpcpy_small): Remove.
12000
12001 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12002
12003 [BZ #19400]
12004 * locale/iso-639.def: Add the Talossan/tzl language.
12005
12006 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12007
12008 [BZ #16983]
12009 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12010 comment. Add "ln" to strchr check on postal_fmt.
12011
12012 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12013
12014 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12015 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12016 tel_dom_fmt.
12017
12018 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12019
12020 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12021 (sysdep_routines): Added __strlen_power8.
12022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12023 __strlen_power8 entry.
12024 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12025 Implementation for POWER8.
12026 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12027 for __strlen_power8.
12028 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12029 Implementation for POWER8.
12030
12031 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12032
12033 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12034
12035 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12038 Goldmont and Airmont processors.
12039
12040 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12041
12042 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12043 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12044 (__STRING2_SMALL_GET32): Remove.
12045 (memset): Remove.
12046 (__memset_1): Remove.
12047 (__memset_gc): Remove.
12048 (__mempcpy): Remove.
12049 (mempcpy): Remove.
12050 (__mempcpy_args): Remove.
12051 (strchr): Remove.
12052 (strcpy): Remove.
12053 (strcpy_args): Remove.
12054 (__stpcpy_args): Remove.
12055 (__strcmp_cc): Remove.
12056 (__strcmp_gc): Remove.
12057 (strstr): Remove.
12058
12059 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12060
12061 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12062 * nis/nis_call.c (nis_server_cache_add): Likewise.
12063
12064 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12065
12066 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12067
12068 2016-04-14 Florian Weimer <fweimer@redhat.com>
12069
12070 * malloc/arena.c (__malloc_fork_lock_parent)
12071 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12072 internal_function attribute.
12073
12074 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12075
12076 * stdio-common/printf_fp.c (__printf_fp_l):
12077 Rename ___printf_fp_l to __printf_fp_l and
12078 remove strong alias. Use libc_hidden_def instead
12079 of ldbl_hidden_def macro.
12080
12081 2016-04-14 Florian Weimer <fweimer@redhat.com>
12082
12083 Remove malloc hooks from fork handler. They are no longer needed
12084 because malloc runs right before fork, and no malloc calls from
12085 other fork handlers are not possible anymore.
12086 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12087 declarations.
12088 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12089 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12090 (atfork_recursive_cntr): Remove.
12091 (__malloc_fork_lock_parent): Do not override malloc hooks and
12092 thread_arena.
12093 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12094 thread_arena.
12095 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12096 thread_arena instead of save_arena.
12097
12098 2016-04-14 Florian Weimer <fweimer@redhat.com>
12099
12100 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12101 (thread_atfork, thread_atfork_static): Remove.
12102 * sysdeps/mach/hurd/malloc-machine.h:
12103 (thread_atfork, thread_atfork_static): Remove.
12104
12105 2016-04-14 Florian Weimer <fweimer@redhat.com>
12106
12107 [BZ #19431]
12108 Run the malloc fork handler as late as possible to avoid deadlocks.
12109 * malloc/malloc-internal.h: New file.
12110 * malloc/malloc.c: Include it.
12111 * malloc/arena.c (ATFORK_MEM): Remove.
12112 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12113 Update comment.
12114 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12115 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12116 Remove outdated comment.
12117 (ptmalloc_init): Do not call thread_atfork. Remove
12118 thread_atfork_static.
12119 * malloc/tst-malloc-fork-deadlock.c: New file.
12120 * Makefile (tests): Add tst-malloc-fork-deadlock.
12121 (tst-malloc-fork-deadlock): Link against libpthread.
12122 * manual/memory.texi (Aligned Memory Blocks): Update safety
12123 annotation comments.
12124 * sysdeps/nptl/fork.c (__libc_fork): Call
12125 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12126 __malloc_fork_unlock_child.
12127 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12128
12129 2016-04-14 Florian Weimer <fweimer@redhat.com>
12130
12131 [BZ #19613]
12132 Remove union wait.
12133 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12134 (w_stopsig, w_stopval): Remove.
12135 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12136 stat_loc argument.
12137 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12138 (__WAIT_STATUS_DEFN): Remove.
12139 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12140 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12141 (wait, wait3, wait4): Use int * for the stat_loc argument.
12142 * posix/wait.c (__wait): Likewise.
12143 * posix/wait3.c (__wait3): Likewise.
12144 * posix/wait4.c (__wait4): Likewise.
12145 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12146 (__WAIT_STATUS_DEFN): Remove.
12147 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12148 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12149 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12150 argument.
12151 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12152 * sysdeps/posix/wait3.c (__wait3): Likewise.
12153 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12154 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12155 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12156 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12157 stat_loc argument.
12158 * manual/process.texi (BSD Wait Functions): Remove union wait.
12159
12160 2016-04-13 Andreas Schwab <schwab@suse.de>
12161
12162 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12163 (test-extras): Add tst-tlsalign-vars.
12164 * math/Makefile: Wrap long lines.
12165 (libm-vec-test-wrappers): Define.
12166 (test-extras): Add $(libm-vec-test-wrappers).
12167 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12168 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12169 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12170 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12171 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12172 (extra-test-objs): Add corresponding objects.
12173
12174 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 [BZ #19928]
12177 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12178 New.
12179 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12180 times of shared cache size.
12181 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12182 (VMOVNT): New.
12183 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12184 (VMOVNT): Likewise.
12185 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12186 (VMOVNT): Likewise.
12187 (VMOVU): Changed to movups for smaller code sizes.
12188 (VMOVA): Changed to movaps for smaller code sizes.
12189 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12190 comments.
12191 (PREFETCH): New.
12192 (PREFETCH_SIZE): Likewise.
12193 (PREFETCHED_LOAD_SIZE): Likewise.
12194 (PREFETCH_ONE_SET): Likewise.
12195 Rewrite to use forward and backward loops, which move 4 vector
12196 registers at a time, to support overlapping addresses and use
12197 non temporal store if size is above the threshold and there is
12198 no overlap between destination and source.
12199
12200 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12201
12202 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12203 Include dl-vdso.
12204 * sysdeps/unix/sysv/linux/mips/Versions: Add
12205 __vdso_clock_gettime.
12206 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12207 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12208 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12209 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12210 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12211 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12212 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12213 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12214 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12215
12216 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12217
12218 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12219 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12220 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12221 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12222 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12223 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12226 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12228 syscalls generation.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12230 [__NR_pwrite64] (__NR_write): Remove define.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12232 [__NR_pwrite64] (__NR_write): Remove define.
12233 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12234 Remove define.
12235 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12236 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12237 Remove define.
12238 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12239 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12240 Linux implementation as base.
12241 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12242
12243 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12244 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12245 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12246 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12249 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12251 syscall generation.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12253 [__NR_pread64] (__NR_pread): Remove define.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12255 [__NR_pread64] (__NR_pread): Likewise.
12256 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12257 define.
12258 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12259 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12260 Remove define.
12261 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12262 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12263 Linux implementation as base.
12264 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12265 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12266 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12267
12268 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12269 definition.
12270 (__ALIGNMENT_COUNT): Likewise.
12271 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12272 (__ALIGNMENT_COUNT): Likewise.
12273 (SYSCALL_LL): New define.
12274 (SYSCALL_LL64): Likewise.
12275 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12276 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12277 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12278 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12279
12280 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12281 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12282 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12283 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12284 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12285 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12286
12287 2016-04-11 Florian Weimer <fweimer@redhat.com>
12288
12289 [BZ #19865]
12290 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12291 original buffer before retry.
12292
12293 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12294
12295 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12296 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12297 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12298 GLRO(dl_auxv) list.
12299 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12300 including <ldsodefs.h>.
12301 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12302
12303 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12304
12305 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12306 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12307 $(CPPFLAGS).
12308
12309 2016-04-09 Khem Raj <raj.khem@gmail.com>
12310
12311 [BZ #17950]
12312 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12313 Add -mfpmath=387.
12314
12315 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12316
12317 * sysdeps/i386/configure.ac: Change == to = when calling test.
12318 * sysdeps/x86_64/configure.ac: Likewise.
12319 * sysdeps/i386/configure: Regenerated.
12320 * sysdeps/x86_64/configure: Likewise.
12321
12322 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12323
12324 [BZ #16137]
12325 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12326 * benchtests/bench-strcoll.c (input_files): Likewise.
12327 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12328 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12329 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12330
12331 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12332
12333 [BZ #19929]
12334 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12335 [__USE_XOPEN2K8 && !__USE_GNU].
12336 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12337 variable.
12338
12339 [BZ #19925]
12340 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12341 define if [!__USE_MISC && __USE_XOPEN2K].
12342 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12343 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12344 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12345 Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12347 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12348 variable.
12349 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12350
12351 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12352
12353 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12354 (sysdep_routines): Add new strspn targets.
12355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12356 (__libc_ifunc_impl_list): Add strspn.
12357 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12358 New file.
12359 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12360 Likewise.
12361 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12362 Likewise.
12363 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12364 Likewise.
12365
12366 2016-04-07 Florian Weimer <fweimer@redhat.com>
12367
12368 * misc/hsearch_r.c: Include <limits.h>.
12369
12370 2016-04-07 Florian Weimer <fweimer@redhat.com>
12371
12372 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12373
12374 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12377 (MEMCPY_SYMBOL): New.
12378 (MEMPCPY_SYMBOL): Likewise.
12379 (MEMMOVE_CHK_SYMBOL): Likewise.
12380 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12381 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12382 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12383 Provide alias for memcpy in libc.a and ld.so.
12384
12385 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12386
12387 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12388 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12389 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12390 Disabled fro now.
12391 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12392 symbols. Properly check USE_MULTIARCH on __memset symbols.
12393
12394 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * benchtests/Makefile (string-benchset): Add memcpy-large,
12397 memmove-large and memset-large.
12398 * benchtests/bench-memcpy-large.c: New file.
12399 * benchtests/bench-memmove-large.c: Likewise.
12400 * benchtests/bench-memmove-large.c: Likewise.
12401 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12402
12403 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12404
12405 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12406 32-bit displacement to avoid long nop between instructions.
12407
12408 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12409
12410 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12411 a comment on VMOVU and VMOVA.
12412
12413 2016-04-04 Florian Weimer <fweimer@redhat.com>
12414
12415 [BZ #19633]
12416 Use specified locale for number formatting in strfmon_l.
12417 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12418 (__nl_lookup_word): New inline functions.
12419 * include/printf.h (__print_fp_l): Declare.
12420 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12421 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12422 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12423 (___printf_fp): New function.
12424 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12425 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12426 * stdlib/tst-strfmon_l.c (do_test): New test.
12427 * stdlib/Makefile (tests): Add kt.
12428 (LOCALES): Build additional locales.
12429 (tst-strfmon_l.out): Require locales.
12430
12431 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12434 if not in libc.
12435 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12436 Likewise.
12437 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12438 Likewise.
12439 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12440 Likewise.
12441
12442 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12443
12444 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12445 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12446 with unaligned_erms.
12447 (__memmove_erms): Skip if source == destination.
12448 (__memmove_unaligned_erms): Don't check source == destination
12449 first.
12450
12451 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12454 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12455
12456 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12457
12458 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12459 * string/strspn.c (strspn): Likewise.
12460
12461 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12462
12463 * benchtests/bench-memset.c (do_test): Support 64-byte
12464 alignment.
12465 (test_main): Test 64-byte alignment.
12466
12467 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12468
12469 * benchtests/bench-memmove.c (test_main): Test 64-byte
12470 alignment.
12471
12472 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12473
12474 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12475
12476 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12477
12478 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12479 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12480 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12481
12482 * string/strpbrk.c (strpbrk): Rewrite function.
12483 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12484 (__strpbrk_c2): Likewise.
12485 (__strpbrk_c3): Likewise.
12486 * string/string-inlines.c
12487 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12488 Likewise.
12489 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12490 Likewise.
12491
12492 * string/strspn.c (strcspn): Rewrite function.
12493 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12494 (__strspn_c1): Remove inline function.
12495 (__strspn_c2): Likewise.
12496 (__strspn_c3): Likewise.
12497 * string/string-inlines.c
12498 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12499 compatibility symbol.
12500 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12501 Likewise.
12502 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12503 Likewise.
12504 * string/string-inlines.c: Include generic version.
12505
12506 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12507 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12508
12509 * string/Version (libc): Add GLIBC_2.24.
12510 * string/strcspn.c (strcspn): Rewrite function.
12511 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12512 (__strcspn_c1): Remove inline function.
12513 (__strcspn_c2): Likewise.
12514 (__strcspn_c3): Likewise.
12515 * string/string-inline.c
12516 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12517 compatibility symbol.
12518 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12519 Likewise.
12520 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12521 Likewise.
12522 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12523
12524 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12525
12526 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12527 Use ahi instead of aghi to adjust stack pointer.
12528
12529 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12530
12531 [BZ #19853]
12532 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12533 TEST to take significant digits as second parameter.
12534 [TEST]: Redefine in terms of TEST_N taking 30
12535 significant digits.
12536 (do_test): Add test case to demonstrate precision
12537 failure in the ldbl-128ibm printf.
12538 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12539 (__mpn_extract_long_double): Carry 7 extra intermediate
12540 bits of precision to aide computing difference when
12541 signs differ.
12542
12543 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12544
12545 [BZ #19881]
12546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12547 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12548 memset-avx512-unaligned-erms.
12549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12550 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12551 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12552 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12553 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12554 __memset_sse2_unaligned_erms, __memset_erms,
12555 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12556 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12557 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12558 file.
12559 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12560 Likewise.
12561 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12562 Likewise.
12563 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12564 Likewise.
12565
12566 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12567
12568 [BZ #19776]
12569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12570 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12571 memmove-avx512-unaligned-erms.
12572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12573 (__libc_ifunc_impl_list): Test
12574 __memmove_chk_avx512_unaligned_2,
12575 __memmove_chk_avx512_unaligned_erms,
12576 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12577 __memmove_chk_sse2_unaligned_2,
12578 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12579 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12580 __memmove_avx512_unaligned_erms, __memmove_erms,
12581 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12582 __memcpy_chk_avx512_unaligned_2,
12583 __memcpy_chk_avx512_unaligned_erms,
12584 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12585 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12586 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12587 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12588 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12589 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12590 __mempcpy_chk_avx512_unaligned_erms,
12591 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12592 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12593 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12594 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12595 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12596 __mempcpy_erms.
12597 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12598 file.
12599 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12600 Likewise.
12601 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12602 Likewise.
12603 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12604 Likewise.
12605
12606 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12607
12608 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12609 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12610 (La_s390_64_regs): Likewise.
12611 (La_s390_32_retval): Append vector register lrv_v24.
12612 (La_s390_64_retval): Likeweise.
12613 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12614 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12615 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12616 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12617
12618 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12619
12620 [BZ #19916]
12621 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12622 to create a non-vector/vector version for _dl_runtime_resolve and
12623 _dl_runtime_profile. Move implementation to ...
12624 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12625 (_dl_runtime_resolve) Save and restore fpr/vrs.
12626 (_dl_runtime_profile) Save and restore vrs and fix some issues
12627 if _dl_call_pltexit is called.
12628 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12629 Choose the correct resolver function if running on a machine with vx.
12630 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12631 to create a non-vector/vector version for _dl_runtime_resolve and
12632 _dl_runtime_profile. Move implementation to ...
12633 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12634 (_dl_runtime_resolve) Save and restore fpr/vrs.
12635 (_dl_runtime_profile) Save and restore vrs and fix some issues
12636 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12637 Choose the correct resolver function if running on a machine with vx.
12638
12639 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12640
12641 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12642
12643 2016-03-31 Florian Weimer <fweimer@redhat.com>
12644
12645 [BZ #19509]
12646 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12647 skip_map != NULL.
12648 * elf/tst-dlsym-error.c: New file.
12649 * elf/Makefile (tests): Add tst-dlsym-error.
12650 (tst-dlsym-error): Link against libdl.
12651
12652 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12653
12654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12655 (__ASSUME_FUTIMESAT): Remove macro.
12656 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12657
12658 2016-03-29 Florian Weimer <fweimer@redhat.com>
12659
12660 [BZ #19879]
12661 CVE-2016-3075
12662 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12663 copy name.
12664
12665 2016-03-29 Florian Weimer <fweimer@redhat.com>
12666
12667 [BZ #19837]
12668 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12669 error if parse_line fails.
12670
12671 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12672
12673 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12674 (index_cpu_ERMS): Likewise.
12675 (reg_ERMS): Likewise.
12676
12677 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12678
12679 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12680 PER_LINUX_FDPIC): Add.
12681
12682 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12683
12684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12685 memcpy-avx512-no-vzeroupper.
12686 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12687 to ...
12688 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12689 (MEMCPY): Don't define.
12690 (MEMCPY_CHK): Likewise.
12691 (MEMPCPY): Likewise.
12692 (MEMPCPY_CHK): Likewise.
12693 (MEMPCPY_CHK): Renamed to ...
12694 (__mempcpy_chk_avx512_no_vzeroupper): This.
12695 (MEMPCPY_CHK): Renamed to ...
12696 (__mempcpy_chk_avx512_no_vzeroupper): This.
12697 (MEMCPY_CHK): Renamed to ...
12698 (__memmove_chk_avx512_no_vzeroupper): This.
12699 (MEMCPY): Renamed to ...
12700 (__memmove_avx512_no_vzeroupper): This.
12701 (__memcpy_avx512_no_vzeroupper): New alias.
12702 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12703
12704 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12705
12706 [BZ #18858]
12707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12708 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12709 and mempcpy-avx512-no-vzeroupper.
12710 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12711 New.
12712 (MEMPCPY): Likewise.
12713 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12714 (MEMPCPY_CHK): New.
12715 (MEMPCPY): Likewise.
12716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12717 (MEMPCPY): Likewise.
12718 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12719 (MEMPCPY): Likewise.
12720 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12721 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12722 Likewise.
12723 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12724 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12725
12726 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12727 Amit Pawar <Amit.Pawar@amd.com>
12728
12729 [BZ #19583]
12730 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12731 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12732 processors. Set Fast_Copy_Backward for AMD Excavator
12733 processors.
12734 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12735 New.
12736 (index_arch_Fast_Unaligned_Copy): Likewise.
12737 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12738 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12739
12740 2016-03-25 Florian Weimer <fweimer@redhat.com>
12741
12742 [BZ #19791]
12743 * resolv/res_send.c (close_and_return_error): New function.
12744 (send_dg): Initialize *resplen2 after reopen failure. Call
12745 close_and_return_error for error returns. On error paths without
12746 __res_iclose, initialze *resplen2 explicitly. Update comment for
12747 successful return.
12748
12749 2016-03-25 Florian Weimer <fweimer@redhat.com>
12750
12751 [BZ# 19860]
12752 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12753 zero if the compiler does not provide the AVX512F bit.
12754
12755 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12756
12757 [BZ #19848]
12758 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12759 from 8 to 4.
12760 (__ieee754_powl): Compare integer exponent against 4 not 8.
12761 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12762 from 8 to 4.
12763 (__ieee754_powl): Compare integer exponent against 4 not 8.
12764 * math/auto-libm-test-in: Add more tests of pow.
12765 * math/auto-libm-test-out: Regenerated.
12766 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768
12769 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12770
12771 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12772 Make code unconditional.
12773 [!__NR_utimensat]: Remove conditional code.
12774 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12775 Make code unconditional.
12776 [!__NR_utimensat]: Remove conditional code.
12777 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12778 Make code unconditional.
12779 [!__NR_utimensat]: Remove conditional code.
12780
12781 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12782
12783 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12784 Make code unconditional.
12785
12786 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12787
12788 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12789 call-clobbered %eax on retry path.
12790 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12791
12792 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12793
12794 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12795 Don't set %rcx twice before "rep movsb".
12796
12797 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12798
12799 [BZ #19583]
12800 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12801 inline. Check family before setting family, model and
12802 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12803 bits here.
12804 (init_cpu_features): Replace HAS_CPU_FEATURE and
12805 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12806 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12807 for Intel processors with usable AVX2. Call get_common_indeces
12808 for other processors with family == NULL.
12809 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12810 (CPU_FEATURES_ARCH_P): Likewise.
12811 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12812 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12813
12814 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12815
12816 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12817 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12818 $(shared-thread-library) instead of hardcoding the path to libpthread.
12819
12820 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12821
12822 * sysdeps/unix/sysv/linux/kernel-features.h
12823 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12824 * sysdeps/unix/sysv/linux/getdents.c
12825 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12826 [!have_no_getdents64_defined]: Likewise.
12827 (__GETDENTS): Remove __have_no_getdents64 conditional.
12828
12829 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12830
12831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12832 Remove macro.
12833 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12834 <kernel-features.h>.
12835 (signalfd) [__NR_signalfd4]: Make code unconditional.
12836 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12837
12838 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12839
12840 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12841 style.
12842
12843 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12844
12845 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12846 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12847 __pthread_unwind.
12848 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12849 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12850 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12851 (__condvar_cleanup1): Likewise.
12852
12853 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12854
12855 [BZ #19822]
12856 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12857 move it to the final $@ location.
12858
12859 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12860
12861 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12862 access where posix_spawn success and pid argument is null.
12863 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12864 success case.
12865
12866 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12867
12868 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12869
12870 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12871
12872 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12873 and __fcntl.
12874 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12875 __fcntl only.
12876 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12877 adding attribute_hidden to __open and __fcntl.
12878
12879 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12880 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12881 depend on libc-modules.h,
12882 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12883
12884 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12885
12886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12887 Remove macro.
12888 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12889 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12890 entry.
12891
12892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12893 Remove macro.
12894 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12895 include <kernel-features.h>.
12896 [!__ASSUME_FALLOCATE]: Remove conditional code.
12897 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12898
12899 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12900
12901 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12902 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12903 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12904 (_ZGVdN4v_cos_avx2): Likewise.
12905 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12906 (_ZGVdN4v_cos): Likewise.
12907 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12908 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12909 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12910 (_ZGVdN4v_exp_avx2): Likewise.
12911 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12912 (_ZGVdN4v_exp): Likewise.
12913 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12914 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12915 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12916 (_ZGVdN4v_log_avx2): Likewise.
12917 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12918 (_ZGVdN4v_log): Likewise.
12919 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12920 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12921 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12922 (_ZGVdN4vv_pow_avx2): Likewise.
12923 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12924 (_ZGVdN4vv_pow): Likewise.
12925 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12926 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12927 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12928 (_ZGVdN4v_sin_avx2): Likewise.
12929 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12930 (_ZGVdN4v_sin): Likewise.
12931 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12932 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12933 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12934 (_ZGVdN4vvv_sincos_avx2): Likewise.
12935 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12936 (_ZGVdN4vvv_sincos): Likewise.
12937 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12938 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12939 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12940 (_ZGVbN4v_cosf_sse4): Likewise.
12941 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12942 (_ZGVdN8v_cosf_avx2): Likewise.
12943 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12944 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12945 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12946 (_ZGVbN4v_expf_sse4): Likewise.
12947 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12948 (_ZGVdN8v_expf_avx2): Likewise.
12949 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12950 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12951 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12952 (_ZGVbN4v_logf_sse4): Likewise.
12953 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12954 (_ZGVdN8v_logf_avx2): Likewise.
12955 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12956 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12957 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12958 (_ZGVbN4vv_powf_sse4): Likewise.
12959 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12960 (_ZGVdN8vv_powf_avx2): Likewise.
12961 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12962 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12963 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12964 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12965 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12966 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12967 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12968 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12969 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12970 (_ZGVbN4v_sinf_sse4): Likewise.
12971 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12972 (_ZGVdN8v_sinf_avx2): Likewise.
12973 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12974 Use JUMPTARGET to call callee.
12975 (WRAPPER_IMPL_SSE2_ff): Likewise.
12976 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12977 (WRAPPER_IMPL_AVX): Likewise.
12978 (WRAPPER_IMPL_AVX_ff): Likewise.
12979 (WRAPPER_IMPL_AVX_fFF): Likewise.
12980 (WRAPPER_IMPL_AVX512): Likewise.
12981 (WRAPPER_IMPL_AVX512_ff): Likewise.
12982 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12983 Likewise.
12984 (WRAPPER_IMPL_SSE2_ff): Likewise.
12985 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12986 (WRAPPER_IMPL_AVX): Likewise.
12987 (WRAPPER_IMPL_AVX_ff): Likewise.
12988 (WRAPPER_IMPL_AVX_fFF): Likewise.
12989 (WRAPPER_IMPL_AVX512): Likewise.
12990 (WRAPPER_IMPL_AVX512_ff): Likewise.
12991 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12992
12993 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12994
12995 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12996 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12997 qualifier.
12998 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12999 internal_function qualifiers.
13000
13001 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13002
13003 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13004 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13005 * math/atest-exp.c (exp_mpn): Mark chk unused.
13006 * math/atest-exp2.c (exp_mpn): Likewise.
13007 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13008 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13009
13010 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13011
13012 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13013 Remove macro.
13014 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13015 <kernel-features.h>.
13016 [__NR_ppoll]: Make code unconditional.
13017 [!__ASSUME_PPOLL]: Remove conditional code.
13018
13019 * sysdeps/unix/sysv/linux/kernel-features.h
13020 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13021 (__ASSUME_ACCEPT4): Likewise.
13022 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13023 Define.
13024 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13025 Likewise.
13026 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13027 Likewise.
13028 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13029 Likewise.
13030 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13031 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13032 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13033 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13034 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13035 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13037 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13038 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13039 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13040 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13041 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13042 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13043 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13044 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13046 Likewise.
13047 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13048 Likewise.
13049 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13050 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13051 0x040300].
13052 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13053 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13054 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13055 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13056 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13057 0x030300].
13058 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13059 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13060 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13061 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13062 0x040300].
13063 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13064 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13065 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13066 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13067 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13068 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13069 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13070 0x030300].
13071 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13072 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13073 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13074 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13075 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13076 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13077 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13078 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13079 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13080 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13081 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13082 0x040300].
13083 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13084 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13085 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13086 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13087 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13088 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13089 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13090 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13091 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13092 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13093 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13094 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13095 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13096 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13097 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13098 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13100 Likewise.
13101 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13102 Likewise.
13103
13104 2016-03-15 Andreas Schwab <schwab@suse.de>
13105
13106 [BZ #19257]
13107 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13108 statp->_u._ext.nscount as loop count.
13109
13110 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13111
13112 * math/test-signgam-finite-c99.c: Also #undef
13113 __LIBC_INTERNAL_MATH_INLINES.
13114 * math/test-signgam-main.c: Likewise.
13115
13116 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13117
13118 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13119 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13120 (MADV_FREE): Likewise.
13121 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13122 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13123 EPOLLEXCLUSIVE.
13124
13125 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13126
13127 * timezone/README: Remove mention of checktab.awk. Mention wiki
13128 SharedSourceFiles.
13129
13130 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13131
13132 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13133 WUNTRACED.
13134
13135 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13136
13137 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13138 order to match the type of p when calling atomic_exchange_acq().
13139
13140 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13141
13142 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13143 cfi_offset calls.
13144 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13145 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13146 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13147 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13148 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13149
13150 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13151
13152 * timezone/checktab.awk: Removed.
13153
13154 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13155
13156 * manual/math.texi (Errors in Math Functions): Document relaxed
13157 accuracy goals for IBM long double.
13158 * math/libm-test.inc (test_exceptions): Always allow spurious
13159 "underflow" and "inexact" exceptions for IBM long double.
13160
13161 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13162
13163 [BZ #19762]
13164 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13165 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13166 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13167 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13168 (bit_arch_*): This for feature array.
13169 (bit_*): Renamed to ...
13170 (bit_cpu_*): This for cpu array.
13171 (index_*): Renamed to ...
13172 (index_arch_*): This for feature array.
13173 (index_*): Renamed to ...
13174 (index_cpu_*): This for cpu array.
13175 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13176 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13177 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13178 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13179 bit_##name with index_cpu_##name and bit_cpu_##name.
13180 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13181 bit_##name with index_arch_##name and bit_arch_##name.
13182
13183 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13184
13185 [BZ #19792]
13186 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13187 Terminate FDE before return label.
13188
13189 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13190
13191 [BZ #19790]
13192 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13193 (rintl): Define as macro.
13194 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13195 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13196 of fesetround. Ensure results are evaluated before end of scope.
13197 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13198 USE_AS_NEARBYINTL and include s_rintl.c.
13199 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13200 Disable exception traps in new environment.
13201 (libc_feholdsetround_ppc_ctx): Likewise.
13202
13203 2016-03-08 Roland McGrath <roland@hack.frob.com>
13204
13205 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13206 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13207 (tst_audit10_aux) [__AVX512F__]: ... here.
13208
13209 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13210
13211 * include/sys/auxv.h: New file.
13212
13213 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13214
13215 [BZ #19759]
13216 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13217
13218 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13219
13220 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13221 operand modifier.
13222 (feclearexcept): Likewise.
13223
13224 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13225
13226 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13227 to reflect the entire 32-bit HWCAP.
13228 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13229 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13230
13231 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 [BZ #19783]
13234 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13235 $(test-via-rtld-prefix).
13236 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13237
13238 2016-03-08 Florian Weimer <fweimer@redhat.com>
13239
13240 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13241 union wait. Report any non-zero exit status as error.
13242
13243 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13244
13245 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13246 configured with --enable-hardcoded-path-in-tests.
13247
13248 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13249
13250 [BZ #19677]
13251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13252 (__ieee754_remainderl): Put zero low parts in canonical form.
13253 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13254 file. Based on
13255 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13256 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13257 with wrapper round test-fmodrem-ldbl-128ibm.c.
13258 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13259 file.
13260 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13261 Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13263 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13264
13265 2016-03-07 Florian Weimer <fweimer@redhat.com>
13266
13267 [BZ #19610]
13268 * elf/ldconfig.c (opt_link): Update comment.
13269 (options): Update help string for option -X.
13270 (search_dir): Unlink stale symbolic link only if updating symbolic
13271 links.
13272 * elf/tst-ldconfig-X.sh: New file.
13273 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13274 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13275
13276 2016-03-07 Andreas Schwab <schwab@suse.de>
13277
13278 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13279 needed arguments.
13280
13281 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13282
13283 [BZ #15333]
13284 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13285 to lstat64.
13286
13287 2016-03-07 Florian Weimer <fweimer@redhat.com>
13288
13289 * libio/filedoalloc.c (isatty): Remove.
13290 (local_isatty): Add comment. Call __isatty directly.
13291 (_IO_file_doallocate): Update comment. Assume _LIBC.
13292 * libio/wfiledoalloc.c (isatty): Remove.
13293 (_IO_wfile_doallocate): Update comment.
13294
13295 2016-03-07 Florian Weimer <fweimer@redhat.com>
13296
13297 [BZ #19269]
13298 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13299 tst-audit4-aux.o.
13300 (tst-audit10): Depend on tst-audit10-aux.o.
13301 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13302 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13303 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13304 instead of inline AVX code.
13305 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13306 instead of inline AVX512 code.
13307 * sysdeps/x86_64/tst-audit4-aux.c: New file
13308 * sysdeps/x86_64/tst-audit10-aux.c: New file
13309
13310 [BZ #19648]
13311 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13312
13313 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13314
13315 [BZ #14750]
13316 [BZ #10354]
13317 [BZ #18433]
13318 * include/sched.h (__clone): Add hidden prototype.
13319 (__clone2): Likewise.
13320 * include/unistd.h (__dup): Likewise.
13321 * posix/Makefile (tests): Add tst-spawn2.
13322 * posix/tst-spawn2.c: New file.
13323 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13324 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13325 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13326 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13327 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13328 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13329 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13330 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13331 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13332 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13333 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13335 Likewise.
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13337 Likewise.
13338 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13339 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13340 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13341 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13342 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13343 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13344 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13345 * sysdeps/unix/sysv/linux/nptl-signals.h
13346 (____nptl_is_internal_signal): New function.
13347 * sysdeps/unix/sysv/linux/spawni.c: New file.
13348
13349 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13350 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13351 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13352 * posix/tst-execvp2.c (do_test): Likewise.
13353 * posix/tst-execvp3.c (do_test): Likewise.
13354 * posix/tst-execvp4.c (do_test): Likewise.
13355 * posix/tst-execvpe1.c: New file.
13356 * posix/tst-execvpe2.c: Likewise.
13357 * posix/tst-execvpe3.c: Likewise.
13358 * posix/tst-execvpe4.c: Likewise.
13359 * posix/tst-execvpe5.c: Likewise.
13360 * posix/tst-execvpe6.c: Likewise.
13361
13362 [BZ #19534]
13363 * posix/execl.c (execl): Remove dynamic memory allocation.
13364 * posix/execle.c (execle): Likewise.
13365 * posix/execlp.c (execlp): Likewise.
13366
13367 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13368
13369 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13370 Replace .text with .text.avx512.
13371 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13372 Likewise.
13373
13374 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13375
13376 * sysdeps/generic/libnsl.abilist: New file.
13377 * sysdeps/generic/libutil.abilist: New file.
13378
13379 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 [BZ #19762]
13382 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13383 HAS_ARCH_FEATURE with Fast_Rep_String.
13384 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13385 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13386 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13387 Likewise.
13388 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13389 Likewise.
13390 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13391 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13392 Likewise.
13393 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13394 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13395 Likewise.
13396
13397 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 [BZ #19745]
13400 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13401 with *%rax in call.
13402
13403 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13404
13405 [BZ #19745]
13406 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13407 with *__libc_start_main@GOTPCREL(%rip) in call.
13408
13409 2016-03-04 Roland McGrath <roland@hack.frob.com>
13410
13411 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13412 inside conditional for nonempty $(CXX).
13413
13414 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13415 nonempty.
13416
13417 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13418 to test for empty $(CXX) rather than $(CXX) of "no".
13419
13420 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13421
13422 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13423
13424 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13425 H.J. Lu <hongjiu.lu@intel.com>
13426
13427 [BZ #18880]
13428 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13429 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13430 enable __memcpy_ssse3_back.
13431
13432 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13433
13434 [BZ #19758]
13435 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13436 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13437
13438 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13439
13440 [BZ #19490]
13441 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13442 (__fentry__): Likewise.
13443
13444 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13447 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13448
13449 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13450
13451 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13452 __mcount_internal directly.
13453 (C_LABEL(__fentry__)): Likewise.
13454 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13455 directly.
13456
13457 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13460 (__start_context): Call __setcontext directly.
13461
13462 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13463
13464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13465 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13466 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13467 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13468 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13469 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13470 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13471 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13472 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13473 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13474 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13475 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13476 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13477 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13478 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13479 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13480 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13482 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13483 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13484 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13485 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13486 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13487 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13488 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13489 Remove conditional code.
13490 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13491 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13492 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13493 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13494 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13495 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13496 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13497 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13498 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13499 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13501 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13502
13503 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13504
13505 * NEWS (2.23): Fix typo in bug 19048 text.
13506
13507 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13508
13509 [BZ #14259]
13510 * Makeconfig: Rename msgcatdir to localedir.
13511 Rename inst_msgcatdir to inst_localedir.
13512 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13513 * config.make.in: Add localedir.
13514 * elf/Makefile ($(objpfx)sotruss): Use localedir.
13515 (ldd-rewrite): Likewise.
13516 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13517 (install-others): Use inst_localedir.
13518 (CPPFLAGS): Use localedir.
13519 * locale/Makefile (locale-CPPFLAGS): Likewise.
13520 * po/Makefile (mo-installed): Use inst_localedir.
13521
13522 [BZ #19575]
13523 * localedata/charmaps/GB18030: Update comments regarding PAU to
13524 non-PUA mappings.
13525
13526 2016-02-24 Joseph Myers <joseph@codesourcery.com>
13527
13528 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13529 test for header.
13530 * sysdeps/unix/sysv/linux/configure: Regenerated.
13531 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13532 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13533 Remove conditional code.
13534 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13535
13536 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13537 Define to 3.2.0.
13538 (arch_minimum_kernel): Likewise.
13539 * sysdeps/unix/sysv/linux/configure: Regenerated.
13540 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13541 Define to 2.6.32.
13542 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13543 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13544 (arch_minimum_kernel): Define to 2.6.32.
13545 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13546 * README: Document Linux 3.2 requirement.
13547 * manual/install.texi (Linux): Document Linux 3.2 headers
13548 requirement.
13549 * INSTALL: Regenerated.
13550
13551 2016-02-24 Andreas Schwab <schwab@suse.de>
13552
13553 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13554 if !NO_LONG_DOUBLE.
13555
13556 2016-02-22 Roland McGrath <roland@hack.frob.com>
13557
13558 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13559 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13560
13561 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13562
13563 [BZ #19512]
13564 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13565
13566 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13567
13568 * posix/tst-dir.c: Include libc-internal.h.
13569
13570 2016-02-20 Florian Weimer <fweimer@redhat.com>
13571
13572 [BZ #19056]
13573 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13574 * manual/filesys.texi (Reading/Closing Directory): Mention
13575 deprecaion.
13576 * posix/tst-dir.c (main): Disable deprecation warning in test.
13577
13578 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13579
13580 [BZ #19679]
13581 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13582 Renamed to ...
13583 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13584 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13585 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13586 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13587 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13588 * sysdeps/x86_64/dl-trampoline.h
13589 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13590 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13591
13592 2016-02-19 Mark Wielaard <mjw@redhat.com>
13593
13594 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13595
13596 2016-02-19 Mark Wielaard <mjw@redhat.com>
13597
13598 * elf/elf.h (R_386_GOT32X): New.
13599 (R_386_NUM): Update.
13600 (R_X86_64_GOTPCRELX: New.
13601 (R_X86_64_REX_GOTPCRELX): New.
13602 (R_X86_64_NUM): Update.
13603
13604 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13605
13606 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13607
13608 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13609
13610 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13611 assign attr->stackaddr to it, and adjust it down when
13612 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13613 [_STACK_GROWS_UP]: Delete assert.
13614 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13615 Implement stack grows up logic.
13616 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13617 stack grows up logic.
13618
13619 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13620
13621 * NEWS: Update with 2.24 template.
13622
13623 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13624
13625 [BZ #19678]
13626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13627 Ensure +0.0 is returned when taking the next value below the least
13628 positive value.
13629
13630 2016-02-19 Florian Weimer <fweimer@redhat.com>
13631
13632 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13633 available. Do not define NO_THREADS.
13634 * malloc/malloc.c: Do not check NO_THREADS.
13635 * malloc/arena.c: Likewise.
13636
13637 2016-02-19 Florian Weimer <fweimer@redhat.com>
13638
13639 * malloc/malloc.c (__libc_mallinfo): Update comment.
13640 (struct malloc_par): Remove max_total_mem member, it was always 0.
13641 (int_mallinfo): Store 0 into usmblks (no functional change).
13642 * malloc/hooks.c (struct malloc_state): Document that
13643 max_total_mem is always 0.
13644 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13645 always 0.
13646 * manual/memory.texi (Statistics of Malloc): Likewise.
13647
13648 2016-02-19 Florian Weimer <fweimer@redhat.com>
13649
13650 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13651 * malloc/arena.c (arena_max): Remove.
13652 (heap_trim, _int_new_arena): Do not update arena_max.
13653
13654 2016-02-19 Florian Weimer <fweimer@redhat.com>
13655
13656 * resolv/res_init.c (res_ninit): Update comment.
13657
13658 2016-02-19 Florian Weimer <fweimer@redhat.com>
13659
13660 [BZ #19505]
13661 * posix/spawn_int.h: Add headers and include guard.
13662 (__spawn_valid_fd): New function.
13663 * posix/spawn_faction_addopen.c
13664 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13665 * posix/spawn_faction_addclose.c
13666 (posix_spawn_file_actions_addclose): Likewise.
13667 * posix/spawn_faction_adddup2.c
13668 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13669 second file descriptor.
13670 * posix/spawn_valid_fd.c: New file.
13671 * posix/tst-posix_spawn-fd.c: New file.
13672 * posix/Makefile (routines): Add spawn_valid_fd.
13673 (tests): Add tst-posix_spawn-fd.
13674
13675 2016-02-19 Florian Weimer <fweimer@redhat.com>
13676
13677 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13678 (do_test): Limit the number of arenas, so that we can use fewer
13679 outer threads. Limit timeout to 3 seconds, in preparation for a
13680 larger TIMEOUT value.
13681
13682 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13683
13684 [BZ #19674]
13685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13686 sign in overflowing and underflowing results when overflow or
13687 underflow is detected early. Include sign in result before rather
13688 than after scaling.
13689
13690 [BZ #19603]
13691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13692 (__ieee754_remainderl): Adjust sign of integer version of low part
13693 when taking absolute value of high part.
13694 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13695 * math/libm-test.inc (remainder_test_data): Add another test.
13696 (remquo_test_data): Likewise.
13697
13698 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13699
13700 [BZ #19602]
13701 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13702 equal high parts and both low parts zero specially.
13703 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13704 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13705 Add test-fmodl-ldbl-128ibm.
13706
13707 [BZ #19595]
13708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13709 common logic for all cases of shifting subnormal results. Do not
13710 insert sign bit in shifted mantissa. Always pass -1023 as biased
13711 exponent to ldbl_insert_mantissa in subnormal case.
13712
13713 [BZ #19594]
13714 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13715 on high and low parts then adjust result and use
13716 ldbl_canonicalize_int if needed.
13717
13718 [BZ #19593]
13719 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13720 on high part and __floor or __ceil on low part then use
13721 ldbl_canonicalize_int if needed.
13722
13723 [BZ #19592]
13724 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13725 high and low parts then use ldbl_canonicalize_int if needed.
13726
13727 [BZ #17899]
13728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13729 New function.
13730 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13731 on high and low parts then use ldbl_canonicalize_int if needed.
13732
13733 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13734
13735 * configure: Regenerated.
13736
13737 * po/libc.pot: Regenerated.
13738
13739 * po/be.po: Updated translation.
13740 * po/bg.po: Likewise.
13741 * po/ca.po: Likewise.
13742 * po/cs.po: Likewise.
13743 * po/da.po: Likewise.
13744 * po/el.po: Likewise.
13745 * po/eo.po: Likewise.
13746 * po/es.po: Likewise.
13747 * po/fi.po: Likewise.
13748 * po/fr.po: Likewise.
13749 * po/gl.po: Likewise.
13750 * po/hr.po: Likewise.
13751 * po/hu.po: Likewise.
13752 * po/ia.po: Likewise.
13753 * po/id.po: Likewise.
13754 * po/it.po: Likewise.
13755 * po/ja.po: Likewise.
13756 * po/lt.po: Likewise.
13757 * po/nb.po: Likewise.
13758 * po/nl.po: Likewise.
13759 * po/pt_BR.po: Likewise.
13760 * po/rw.po: Likewise.
13761 * po/sk.po: Likewise.
13762 * po/sl.po: Likewise.
13763 * po/sv.po: Likewise.
13764 * po/tr.po: Likewise.
13765 * po/zh_CN.po: Likewise.
13766 * po/zh_TW.po: Likewise.
13767
13768 * version.h (RELEAES): Set to "development".
13769 (VERSION): Set to 2.23.90.
13770
13771 * version.h (RELEASE): Set to "stable".
13772 (VERSION): Set to 2.23.
13773 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13774
13775 * NEWS: Updated fixed bugs.
13776
13777 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13778 Wilco Dijkstra <wdijkstr@arm.com>
13779
13780 [BZ #19462]
13781 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13782 (_STRING_INLINE_unaligned): This.
13783 * include/string.h: Include <string_private.h>.
13784 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13785 _STRING_INLINE_unaligned.
13786 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13787 (_STRING_INLINE_unaligned): New.
13788 * sysdeps/aarch64/string_private.h: New file.
13789 * sysdeps/generic/string_private.h: Likewise.
13790 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13791 * sysdeps/s390/string_private.h: Likewise.
13792 * sysdeps/x86/string_private.h: Likewise.
13793 * sysdeps/m68k/m680x0/m68020/bits/string.h
13794 (_STRING_ARCH_unaligned): Renamed to ...
13795 (_STRING_INLINE_unaligned): This.
13796 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13797 to ...
13798 (_STRING_INLINE_unaligned): This.
13799 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13800 to ...
13801 (_STRING_INLINE_unaligned): This.
13802 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13803 to ...
13804 (_STRING_INLINE_unaligned): This.
13805
13806 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13807 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 [BZ #19590]
13810 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13811 relocation.
13812
13813 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13814
13815 [BZ #18665]
13816 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13817 *herrno_p.
13818 (gaih_getanswer): Document functional behviour. Return tryagain
13819 if any result is tryagain.
13820 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13821 when freed.
13822 * resolv/res_send.c: Add copyright text.
13823 (__libc_res_nsend): Document that MAXPACKET is expected.
13824 (send_vc): Document. Remove buffer reuse.
13825 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13826 size of the buffer. Add Dprint for truncated UDP buffer.
13827
13828 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13829
13830 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13831 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13832 * INSTALL: Regenerate.
13833
13834 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13835 Jonathan Wakely <jwakely@redhat.com>
13836 Carlos O'Donell <carlos@redhat.com>
13837
13838 [BZ 19439]
13839 * math/Makefile (tests): Add test-math-isinff.
13840 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13841 * math/bits/mathcalls.h [__USE_MISC]: Use
13842 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13843 functions not in C++11 and which don't conflict e.g. isinff,
13844 isinfl etc.
13845 * math/test-math-isinff.cc: New file.
13846
13847 2016-02-12 Florian Weimer <fweimer@redhat.com>
13848
13849 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13850
13851 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13852
13853 [BZ #19529]
13854 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13855
13856 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13857
13858 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13859
13860 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13861
13862 [BZ #19550]
13863 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13864 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13865 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13866 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13867 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13868 New syscall entry.
13869 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13870 New syscall entry.
13871 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13872 syscall entry.
13873
13874 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13875
13876 [BZ #18240]
13877 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13878 unsigned int wraparound.
13879
13880 2016-01-27 Florian Weimer <fweimer@redhat.com>
13881
13882 [BZ #18240]
13883 * misc/bug18240.c: New test.
13884 * misc/Makefile (tests): Add it.
13885
13886 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13887 Joseph Myers <joseph@codesourcery.com>
13888
13889 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13890 load in branch delay slot when less than a word of input left.
13891
13892 2016-01-27 Andreas Schwab <schwab@suse.de>
13893
13894 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13895 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13896 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13897 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13898
13899 2016-01-26 David S. Miller <davem@davemloft.net>
13900
13901 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13902
13903 2016-01-25 David S. Miller <davem@davemloft.net>
13904
13905 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13906 __sqrtl_finite.
13907 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13908 instead using versioned_symbol.
13909 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13910 of entries.
13911
13912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13913 __sqrtl_finite to GLIBC_2.23
13914
13915 2016-01-25 Ricchard Henderson <rth@redhat.com>
13916
13917 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13918
13919 2016-01-25 Andreas Schwab <schwab@suse.de>
13920
13921 [BZ #17514]
13922 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13923 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13924 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13925 * nptl/tst-mutex-errorcheck.c: New file.
13926
13927 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13928
13929 [BZ #18560]
13930 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13931 (IPCOP_semop): Likewise.
13932 (IPCOP_semget): Likewise.
13933 (IPCOP_semctl): Likewise.
13934 (IPCOP_msgsnd): Likewise.
13935 (IPCOP_msgrcv): Likewise.
13936 (IPCOP_msgget): Likewise.
13937 (IPCOP_msgctl): Likewise.
13938 (IPCOP_shmat): Likewise.
13939 (IPCOP_shmdt): Likewise.
13940 (IPCOP_shmget): Likewise.
13941 (IPCOP_shmctl): Likewise.
13942
13943 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13944
13945 * string/tst-endian.c: Include <libc-internal.h>.
13946 (do_test): Ignore tautological-compare warnings around
13947 "htobeXX (beXXtoh (i)) != i" and
13948 "htoleXX (leXXtoh (i)) != i" if-statements.
13949
13950 2016-01-24 David S. Miller <davem@davemloft.net>
13951
13952 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13953 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13954 alias.
13955 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13956 __sqrtl_finite.
13957
13958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13959
13960 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13961
13962 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13963 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13964 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13965
13966 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13967
13968 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13969 (thread_func): Use new function to simplify barrier check.
13970 (do_test): Use new function to simplify checking barrier exit
13971 code, and actually join the child thread.
13972
13973 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13974
13975 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13976 semicolon.
13977 (__libc_tend): Likewise.
13978 (__libc_tabort): Likewise.
13979
13980 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13981
13982 * sysdeps/nios2/libm-test-ulps: Update.
13983 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13984 (__gtsf2): Likewise.
13985 (__unorddf2): Likewise.
13986 (__unordsf2): Likewise.
13987 (__ledf2): Likewise.
13988
13989 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13990
13991 * nis/nis_table.c (__follow_path): Disable diagnostic for
13992 uninitialized variable that is a false positive for gcc 4.7.
13993 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13994
13995 2016-01-20 Roland McGrath <roland@hack.frob.com>
13996
13997 * sysdeps/nacl/lowlevellock-futex.h
13998 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13999 Always evaluate PRIVATE argument.
14000
14001 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14002
14003 [BZ #19490]
14004 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14005 (pthread_cond_broadcast): Use ENTRY/END
14006 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14007 (pthread_cond_signal): Likewise.
14008 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14009 Likewise.
14010 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14011 Likewise.
14012 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14013 Likewise.
14014
14015 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14016
14017 * sysdeps/ieee754/dbl-64/s_finite.c
14018 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14019 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14020 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14022 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14023
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14025 (__gtsf2): Add as optional for libc.so.
14026 (__unordsf2): Likewise.
14027 (__signbit): Remove for libc.so.
14028 (__signbitl): Likewise.
14029
14030 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14031
14032 * iconvdata/bug-iconv11.c (test_ibm93x):
14033 Use %zu printf format specifier for size_t argument.
14034
14035 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14036
14037 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14038 already-recorded ulps.
14039 * sysdeps/arm/libm-test-ulps: Regenerated.
14040 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14041 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14042 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14043
14044 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14045 Paul Pluzhnikov <ppluzhnikov@google.com>
14046
14047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14048 assembler not supporting AVX-512.
14049
14050 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14051
14052 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14053
14054 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14055
14056 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14057 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14058
14059 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14060
14061 * sysdeps/arm/libm-test-ulps: Regenerated.
14062
14063 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14064
14065 [BZ #19451]
14066 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14067
14068 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14069
14070 [BZ #19486]
14071 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14072 * sysdeps/generic/fix-fp-int-convert-overflow.h
14073 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14074 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14075 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14076 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14077 Likewise.
14078 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14079 Avoid conversions to long int where inexact exceptions
14080 could be raised.
14081 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14082 Likewise.
14083 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14084 Avoid conversions to long long int where inexact exceptions
14085 could be raised.
14086 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14087 Likewise.
14088
14089 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14090
14091 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14092 * configure: Regenerated.
14093
14094 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14095
14096 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14097
14098 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14099
14100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14101 outside of comment.
14102
14103 2016-01-15 Torvald Riegel <triegel@redhat.com>
14104
14105 * nptl/tst-barrier1.c: Add description on first line.
14106 * nptl/tst-barrier2.c: Likewise.
14107 * nptl/tst-barrier3.c: Likewise.
14108 * nptl/tst-barrier4.c: Likewise.
14109 * nptl/tst-barrier5.c: Likewise.
14110
14111 2016-01-15 Torvald Riegel <triegel@redhat.com>
14112
14113 [BZ #18868]
14114 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14115
14116 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14117
14118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14120 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14121 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14122 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14123 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14124 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14125 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14126 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14127 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14128 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14129
14130 2016-01-15 Torvald Riegel <triegel@redhat.com>
14131
14132 [BZ #13065]
14133 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14134 new implementation.
14135 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14136 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14137 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14138 (BARRIER_IN_THRESHOLD): New macro.
14139 * nptl/pthread_barrierattr_setpshared.c
14140 (pthread_barrierattr_setpshared): Clean up.
14141 * nptl/tst-barrier4.c: Correct comment.
14142 * nptl/tst-barrier5.c: New file.
14143 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14144 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14145 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14146 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14147 * nptl/lowlevelbarrier.sym: Remove.
14148 * nptl/DESIGN-barrier.txt: Remove.
14149 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14150 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14151 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14152 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14153 error.
14154 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14155 implementation.
14156
14157 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14158
14159 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14160 (do_child): Mask SIGRTMIN while thr is running.
14161
14162 2016-01-15 Martin Sebor <msebor@redhat.com>
14163
14164 [BZ #19432]
14165 * iconvdata/Makefile: Add bug-iconv11.
14166 * iconvdata/bug-iconv11.c: New test.
14167 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14168 * iconvdata/ibm933.c: Same.
14169 * iconvdata/ibm935.c: Same.
14170 * iconvdata/ibm937.c: Same.
14171 * iconvdata/ibm939.c: Same.
14172
14173 2016-01-15 Martin Sebor <msebor@redhat.com>
14174
14175 [BZ #19443]
14176 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14177 [DEBUG] (_ufc_set_bits): Declare used.
14178 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14179 [DEBUG] (print_all): Declare used.
14180 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14181 operands of the ternary ?: expression to target type.
14182 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14183 calling the undeclared abort.
14184 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14185
14186 2016-01-15 Martin Sebor <msebor@redhat.com>
14187
14188 [BZ #18755]
14189 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14190 warnings.
14191 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14192 (__gai_create_helper_thread): Same.
14193 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14194 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14195 to suppress -Wmaybe-uninitialized warnings.
14196
14197 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 [BZ #19465]
14200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14201 inside if.
14202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14203 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14204 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14205
14206 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14207
14208 [BZ #19466]
14209 * time/tst-mktime2.c (time_t_max): Removed.
14210 (time_t_min): Likewise.
14211 (TYPE_SIGNED): New.
14212 (TYPE_MINIMUM): Likewise.
14213 (TYPE_MAXIMUM): Likewise.
14214 (TIME_T_MIN): Likewise.
14215 (TIME_T_MAX): Likewise.
14216 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14217 and TIME_T_MIN.
14218 (do_test): Likewise.
14219
14220 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14221
14222 [BZ #19467]
14223 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14224 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14225
14226 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14227
14228 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14229
14230 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14231
14232 * benchtests/Makefile (PYTHON): Define.
14233 (bench-func): Use $(PYTHON) to run python scripts.
14234 ($(objpfx)bench-%.c): Likewise.
14235
14236 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14237
14238 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14239 leading slash when `file_name' is "/".
14240
14241 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14242
14243 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14244 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14245 Likewise.
14246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14247 Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14249 Likewise.
14250 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14251 enum constant and macro.
14252 (PTRACE_SETSIGMASK): Likewise.
14253 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14254 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14255 (PTRACE_GETSIGMASK): Likewise.
14256 (PTRACE_SETSIGMASK): Likewise.
14257 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14258 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14259 Likewise.
14260 (PTRACE_SETSIGMASK): Likewise.
14261 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14262 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14263 (PTRACE_GETSIGMASK): Likewise.
14264 (PTRACE_SETSIGMASK): Likewise.
14265 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14267 Likewise.
14268 (PTRACE_SETSIGMASK): Likewise.
14269 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14270 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14271 Likewise.
14272 (PTRACE_SETSIGMASK): Likewise.
14273 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14274 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14275 Likewise.
14276 (PTRACE_SETSIGMASK): Likewise.
14277 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14278
14279 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14280 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14281
14282 [BZ #19439]
14283 * math/bits/mathcalls.h
14284 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14285 prototype.
14286 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14287
14288 2016-01-11 Andreas Schwab <schwab@suse.de>
14289
14290 [BZ #19253]
14291 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14292 cache when TZDEFRULES was used.
14293 * time/tst-tzname.c: New file.
14294 * time/Makefile (test): Add tst-tzname.
14295 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14296 * timezone/Makefile (test-zones): Add $(posixrules-file).
14297 ($(testdata)/$(posixrules-file)): New rule.
14298
14299 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14300
14301 Fix doc quoting problems with Texinfo 5
14302 Without this change, in the info file output, Texinfo 5 quotes code
14303 in text with undirected single quotes 'like this' and generates
14304 code examples that with many PDF readers cannot be cut out of PDFs
14305 and pasted into code.
14306 * manual/libc.texinfo: Configure the libc manual like the GNU
14307 Emacs manual, by using @documentencoding and setting
14308 txicodequoteundirected and txicodequotebacktick. This way,
14309 Texinfo 5 quotes code in text with directed single quotes ‘like
14310 this’ and produces examples that can be cut out of PDFs. This
14311 change causes Texinfo 5 to generate info files that contain UTF-8
14312 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14313 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14314
14315 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14316
14317 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14318 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14319 barriers to their respective compiler built-ins.
14320 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14321 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14322 * sysdeps/powerpc/sysdep.h: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14326
14327 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14328
14329 * scripts/config.guess: Revert previous shebang change.
14330 * scripts/config.sub: Likewise.
14331 * scripts/mkinstalldirs: Likewise.
14332
14333 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14334
14335 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14336 PPC_FEATURE2_HAS_IEEE128.
14337 * sysdeps/powerpc/dl-procinfo.c:
14338 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14339
14340 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14341
14342 [BZ #19415]
14343 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14344 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14345 (_dl_lookup_address): Rewrite using function resolver trampoline.
14346 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14347 two bits in address.
14348
14349 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14350
14351 * longlong.h: Change !__SHMEDIA__ to
14352 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14353 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14354
14355 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14356 Joseph Myers <joseph@codesourcery.com>
14357 Mark Shinwell <shinwell@codesourcery.com>
14358 Andrew Stubbs <ams@codesourcery.com>
14359 Rich Felker <dalias@libc.org>
14360
14361 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14362
14363 2016-01-07 Richard Henderson <rth@redhat.com>
14364
14365 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14366
14367 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14368
14369 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14370 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14371 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14372 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14373 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14374
14375 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14376 Joseph Myers <joseph@codesourcery.com>
14377
14378 * timezone/private.h: Update from tzcode 2015g.
14379 * timezone/tzfile.h: Likewise.
14380 * timezone/tzselect.ksh: Likewise.
14381 * timezone/zdump.c: Likewise.
14382 * timezone/zic.c: Likewise.
14383 * timezone/ialloc.c: Remove file.
14384 * timezone/scheck.c: Likewise.
14385 * timezone/Makefile (extra-objs): Remove variable.
14386 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14387 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14388 -Wno-maybe-uninitialized.
14389 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14390 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14391 (CFLAGS-ialloc.c): Remove variable.
14392 (CFLAGS-scheck.c): Likewise.
14393 * timezone/README: Update list of files from tzcode.
14394
14395 2016-01-07 Khem Raj <raj.khem@gmail.com>
14396
14397 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14398 instead of __fxprintf when _LIBC is undefined.
14399
14400 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14401
14402 * catgets/test-gencat.sh: Remove space after shebang.
14403 * conform/GlibcConform.pm: Likewise.
14404 * conform/check-header-lists.sh: Likewise.
14405 * conform/conformtest.pl: Likewise.
14406 * conform/linknamespace.pl: Likewise.
14407 * conform/list-header-symbols.pl: Likewise.
14408 * debug/catchsegv.sh: Likewise.
14409 * elf/genrtldtbl.awk: Likewise.
14410 * elf/tst-pathopt.sh: Likewise.
14411 * elf/tst-rtld-load-self.sh: Likewise.
14412 * grp/tst_fgetgrent.sh: Likewise.
14413 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14414 * iconvdata/gen-8bit-gap.sh: Likewise.
14415 * iconvdata/gen-8bit.sh: Likewise.
14416 * iconvdata/run-iconv-test.sh: Likewise.
14417 * intl/tst-gettext.sh: Likewise.
14418 * intl/tst-gettext2.sh: Likewise.
14419 * intl/tst-gettext4.sh: Likewise.
14420 * intl/tst-gettext6.sh: Likewise.
14421 * intl/tst-translit.sh: Likewise.
14422 * io/ftwtest-sh: Likewise.
14423 * libio/test-freopen.sh: Likewise.
14424 * locale/gen-translit.pl: Likewise.
14425 * malloc/tst-mtrace.sh: Likewise.
14426 * manual/check-safety.sh: Likewise.
14427 * manual/libc-texinfo.sh: Likewise.
14428 * manual/tsort.awk: Likewise.
14429 * manual/xtract-typefun.awk: Likewise.
14430 * nptl/tst-cancel-wrappers.sh: Likewise.
14431 * nptl/tst-tls6.sh: Likewise.
14432 * posix/globtest.sh: Likewise.
14433 * posix/tst-getconf.sh: Likewise.
14434 * posix/wordexp-tst.sh: Likewise.
14435 * scripts/check-c++-types.sh: Likewise.
14436 * scripts/check-local-headers.sh: Likewise.
14437 * scripts/config.guess: Likewise.
14438 * scripts/config.sub: Likewise.
14439 * scripts/cpp: Likewise.
14440 * scripts/cross-test-ssh.sh: Likewise.
14441 * scripts/documented.sh: Likewise.
14442 * scripts/evaluate-test.sh: Likewise.
14443 * scripts/gen-libc-abis: Likewise.
14444 * scripts/gen-sorted.awk: Likewise.
14445 * scripts/list-fixed-bugs.py: Likewise.
14446 * scripts/merge-test-results.sh: Likewise.
14447 * scripts/mkinstalldirs: Likewise.
14448 * scripts/rellns-sh: Likewise.
14449 * scripts/test-installation.pl: Likewise.
14450 * scripts/update-copyrights: Likewise.
14451 * stdio-common/tst-printf.sh: Likewise.
14452 * stdio-common/tst-unbputc.sh: Likewise.
14453 * stdlib/tst-fmtmsg.sh: Likewise.
14454 * stdlib/tst-setcontext3.sh: Likewise.
14455 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14456 * sysdeps/unix/make-syscalls.sh: Likewise.
14457
14458 2016-01-06 John David Anglin <dave.anglin@bell.net>
14459
14460 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14461 asm stw with atomic_exchange_rel. Add explanatory comment.
14462 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14463 Likewise.
14464
14465 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14466
14467 [BZ #19122]
14468 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14469 * sysdeps/generic/dl-unistd.h: New file.
14470 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14471
14472 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14473
14474 [BZ #19122]
14475 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14476 * sysdeps/generic/dl-mman.h: New file.
14477 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14478
14479 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14480
14481 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14482 trailing whitespace removed.
14483 * scripts/config.guess: Update to version 2016-01-01.
14484 * scripts/config.sub: Update to version 2016-01-01.
14485 * scripts/move-if-change: Update from gnulib.
14486
14487 2016-01-04 Anton Blanchard <anton@samba.org>
14488
14489 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14490 for array indices.
14491 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14492
14493 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14494
14495 * NEWS: Update copyright dates.
14496 * catgets/gencat.c (print_version): Likewise.
14497 * csu/version.c (banner): Likewise.
14498 * debug/catchsegv.sh: Likewise.
14499 * debug/pcprofiledump.c (print_version): Likewise.
14500 * debug/xtrace.sh (do_version): Likewise.
14501 * elf/ldconfig.c (print_version): Likewise.
14502 * elf/ldd.bash.in: Likewise.
14503 * elf/pldd.c (print_version): Likewise.
14504 * elf/sotruss.sh: Likewise.
14505 * elf/sprof.c (print_version): Likewise.
14506 * iconv/iconv_prog.c (print_version): Likewise.
14507 * iconv/iconvconfig.c (print_version): Likewise.
14508 * locale/programs/locale.c (print_version): Likewise.
14509 * locale/programs/localedef.c (print_version): Likewise.
14510 * login/programs/pt_chown.c (print_version): Likewise.
14511 * malloc/memusage.sh (do_version): Likewise.
14512 * malloc/memusagestat.c (print_version): Likewise.
14513 * malloc/mtrace.pl: Likewise.
14514 * manual/libc.texinfo: Likewise.
14515 * nptl/version.c (banner): Likewise.
14516 * nscd/nscd.c (print_version): Likewise.
14517 * nss/getent.c (print_version): Likewise.
14518 * nss/makedb.c (print_version): Likewise.
14519 * posix/getconf.c (main): Likewise.
14520 * scripts/test-installation.pl: Likewise.
14521 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14522
14523 * All files with FSF copyright notices: Update copyright dates
14524 using scripts/update-copyrights.
14525 * intl/plural.c: Regenerated.
14526 * locale/programs/charmap-kw.h: Likewise.
14527 * locale/programs/locfile-kw.h: Likewise.
14528
14529 2016-01-02 Helge Deller <deller@gmx.de>
14530
14531 [BZ #19285]
14532 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14533 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14534 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14535 (MADV_xxK_PAGES): Remove.
14536
14537 2016-01-01 Mike Frysinger <vapier@gentoo.org>
14538
14539 [BZ #15421]
14540 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14541 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
14542 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14543 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14544
14545 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
14546
14547 [BZ #19408]
14548 * sysdeps/unix/sysv/linux/personality.c: New file.
14549 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14550 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14551 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14552 (sysdep_routines): Add personality.
14553 (tests): Add tst-personality.
14554 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14556 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14557 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14558 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14559 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14560 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14561 Likewise.
14562 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14563 Likewise.
14564 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14565 Likewise.
14566 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14567 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14568 Likewise.
14569
14570 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14571
14572 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14573 (PATH_ARM_SYSTYPE): Remove.
14574 (PATH_CPUINFO): Likewise.
14575 (IO_BASE_FOOTBRIDGE): Likewise.
14576 (IO_SHIFT_FOOTBRIDGE): Likewise.
14577 (struct platform): Likewise.
14578 (init_iosys): Remove compatibility code for 2.4 kernels.
14579 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14580
14581 2015-12-29 Florian Weimer <fweimer@redhat.com>
14582
14583 * malloc/tst-malloc-thread-fail.c: New file.
14584 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14585 (tst-malloc-thread-fail): Link against libpthread.
14586
14587 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14588
14589 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14590 (get_parser): New function.
14591 (main): New function.
14592
14593 2015-12-29 Rob Wu <rob@robwu.nl>
14594
14595 [BZ #19369]
14596 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14597
14598 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14599
14600 [BZ #19270]
14601 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14602
14603 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14604
14605 [BZ #15421]
14606 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14607
14608 2015-12-23 Torvald Riegel <triegel@redhat.com>
14609
14610 [BZ #13690]
14611 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14612 after releasing it.
14613 (__lll_robust_unlock): Likewise.
14614 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14615 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14616 (lll_robust_unlock): Likewise.
14617 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14618 Prevent warnings in callers.
14619
14620 2015-12-23 Florian Weimer <fweimer@redhat.com>
14621
14622 * malloc/arena.c (list_lock): Update comment.
14623
14624 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14625
14626 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14627 __parse_hwcap_and_convert_at_platform to libc.a.
14628
14629 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14630
14631 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14632 platform and feature support for POWER9.
14633 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14634 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14635 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14636 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14637 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14638 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14639 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14640 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14641
14642 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14643
14644 Harmonize generic stdio-lock support with nptl
14645
14646 This fixes build when _IO_funlockfile is a macro, fixes build where
14647 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14648 stack unwind.
14649
14650 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14651 _IO_release_lock ): Use cleanup attribute on new
14652 _IO_acquire_lock_file variable instead of assuming that
14653 _IO_release_lock will be called.
14654 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14655 _IO_acquire_lock_needs_exceptions_enabled.
14656 (_IO_acquire_lock_clear_flags2): New macro.
14657
14658 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14659
14660 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14661
14662 2015-12-21 Florian Weimer <fweimer@redhat.com>
14663
14664 [BZ #19182]
14665 * malloc/arena.c (list_lock): Document lock ordering requirements.
14666 (free_list_lock): New lock.
14667 (ptmalloc_lock_all): Comment on free_list_lock.
14668 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14669 (detach_arena): Update comment. free_list_lock is now needed.
14670 (_int_new_arena): Use free_list_lock around detach_arena call.
14671 Acquire arena lock after list_lock. Add comment, including FIXME
14672 about incorrect synchronization.
14673 (get_free_list): Switch to free_list_lock.
14674 (reused_arena): Acquire free_list_lock around detach_arena call
14675 and attached threads counter update. Add two FIXMEs about
14676 incorrect synchronization.
14677 (arena_thread_freeres): Switch to free_list_lock.
14678 * malloc/malloc.c (struct malloc_state): Update comments to
14679 mention free_list_lock.
14680
14681 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14682
14683 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14684 Remove functions.
14685 (sloww, sloww1): Accept argument to offset quadrant.
14686 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14687 quadrant.
14688 (__sin, __cos): Consolidate common code into new functions.
14689 (reduce_sincos_1, do_sincos_1): New functions.
14690 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14691
14692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14693 code to new functions.
14694 (reduce_sincos_2, do_sincos_2): New functions.
14695 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14696
14697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14698 common code for sincos.
14699 (__cos) [!IN_SINCOS]: Likewise.
14700 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14701 New function.
14702 (__sincos): Use it.
14703
14704 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14705
14706 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14707 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14708 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14709
14710 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14711
14712 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14715 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14716 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14717 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14718 index_Prefer_No_VZEROUPPER): New feature.
14719 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14720 Prefer_No_VZEROUPPER for Knights Landing.
14721
14722 015-12-18 Torvald Riegel <triegel@redhat.com>
14723
14724 * math/atest-exp2.c (mp_exp_m1): Remove.
14725
14726 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14727
14728 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14729 syscalls.
14730 (__SYSCALL0): New macro.
14731 (__SYSCALL1): Likewise.
14732 (__SYSCALL2): Likewise.
14733 (__SYSCALL3): Likewise.
14734 (__SYSCALL4): Likewise.
14735 (__SYSCALL5): Likewise.
14736 (__SYSCALL6): Likewise.
14737 (__SYSCALL_CONCAT_X): Likewise.
14738 (__SYSCALL_CONCAT): Likewise.
14739 (__SYSCALL_DIST): Likewise.
14740 (__SYSCALL_CALL): Likewise.
14741
14742 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14743
14744 [BZ #19363]
14745 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14746
14747 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14748
14749 [BZ #19375]
14750 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14751 negative subnormals.
14752
14753 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14754
14755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14756 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14757 (INTERNAL_SYSCALL_NCS): Use it.
14758 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14759
14760 2015-12-16 Florian Weimer <fweimer@redhat.com>
14761
14762 [BZ #19243]
14763 * malloc/arena.c (get_free_list): Remove assert and adjust
14764 reference count handling. Add comment about reused_arena
14765 interaction.
14766 (reused_arena): Add comments abount get_free_list interaction.
14767 * malloc/tst-malloc-thread-exit.c: New file.
14768 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14769 (tst-malloc-thread-exit): Link against libpthread.
14770
14771 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14772
14773 [BZ #19367]
14774 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14775 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14776 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14777 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14778 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14779
14780 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14781
14782 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14783 Silvermont optimizations for Knights Landing.
14784
14785 2015-12-15 Andreas Schwab <schwab@suse.de>
14786
14787 [BZ #17197]
14788 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14789 immediately after emitting SI.
14790 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14791 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14792 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14793 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14794 * iconvdata/bug-iconv10.c: New file.
14795 * iconvdata/Makefile (tests): Add bug-iconv10.
14796 ($(objpfx)bug-iconv10.out): New rule.
14797
14798 2015-12-15 Florian Weimer <fweimer@redhat.com>
14799
14800 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14801 aliasing violation.
14802
14803 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14804
14805 [BZ #18472]
14806 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14807 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14808 conditionals for them.
14809 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14810 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14812 sys/kdaemon.h.
14813 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14814 compat-only syscall, obsoleted in glibc 2.23.
14815 (create_module): Likewise.
14816 (get_kernel_syms): Likewise.
14817 (query_module): Likewise.
14818 (uselib): Likewise.
14819 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14820
14821 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14822
14823 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14824 <linux/version.h>.
14825 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14826 conditional code.
14827 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14828 and ioshift_name initialization.
14829
14830 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14831
14832 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14833 Fix indentation.
14834
14835 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14836
14837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14838
14839 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14840
14841 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14842
14843 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14844 Jakub Wilk <jwilk@debian.org>
14845
14846 [BZ #19347]
14847 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14848 to change the group of the device to the tty group.
14849
14850 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14851
14852 Split large string section; add truncation advice
14853 * manual/examples/strncat.c: Remove.
14854 This example was misleading, as the code would have undefined
14855 behavior if "hello" was longer than SIZE. Anyway, the manual
14856 shouldn't encourage strncpy+strncat for this sort of thing.
14857 * manual/string.texi (Copying Strings and Arrays): Split into
14858 three sections Copying Strings and Arrays, Concatenating Strings,
14859 and Truncating Strings, as this section was way too long. All
14860 cross-referenced changed. Add advice about string-truncation
14861 functions. Remove misleading strncat example.
14862
14863 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14864
14865 * manual/nss.texi (NSS Modules Interface): Document
14866 NSS_STATUS_NOTFOUND and SUCCESS.
14867
14868 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14869
14870 [BZ 18568]
14871 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14872 201505L, for Unicode 8.
14873
14874 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14875
14876 * locale/C-translit.h: Regenerate.
14877
14878 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14879
14880 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14881 and U+0153.
14882
14883 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14884
14885 [BZ #19351]
14886 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14887 expanding log(1+z), compare z rather than its square with epsilon
14888 to determine when to avoid evaluating the expansion.
14889
14890 [BZ #19350]
14891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14892 Increase overflow threshold.
14893
14894 [BZ #19349]
14895 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14896 when small.
14897
14898 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14899 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14900 New macro.
14901 [__LINUX_KERNEL_VERSION >= 0x040300]
14902 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14903 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14904 Likewise.
14905 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14906 Likewise.
14907 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14908 Likewise.
14909 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14910 Likewise.
14911 [__LINUX_KERNEL_VERSION >= 0x040300]
14912 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14913 [__LINUX_KERNEL_VERSION >= 0x040300]
14914 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14915 [__LINUX_KERNEL_VERSION >= 0x040300]
14916 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14917 [__LINUX_KERNEL_VERSION >= 0x040300]
14918 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14919 [__LINUX_KERNEL_VERSION >= 0x040300]
14920 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14921 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14922 Likewise.
14923 [__LINUX_KERNEL_VERSION >= 0x040300]
14924 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14925 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14926 Likewise.
14927 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14928 Likewise.
14929 [__LINUX_KERNEL_VERSION >= 0x040300]
14930 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14931 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14932 Likewise.
14933 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14934 Likewise.
14935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14936 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14937 Likewise.
14938 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14939 Likewise.
14940 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14941 Likewise.
14942 [__LINUX_KERNEL_VERSION >= 0x040300]
14943 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14944 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14945 Likewise.
14946 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14947 Likewise.
14948 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14949 Likewise.
14950 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14951 Likewise.
14952 [__LINUX_KERNEL_VERSION >= 0x040300]
14953 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14954 [__LINUX_KERNEL_VERSION >= 0x040300]
14955 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14956 [__LINUX_KERNEL_VERSION >= 0x040300]
14957 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14958 [__LINUX_KERNEL_VERSION >= 0x040300]
14959 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14960 [__LINUX_KERNEL_VERSION >= 0x040300]
14961 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14962 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14963 Likewise.
14964 [__LINUX_KERNEL_VERSION >= 0x040300]
14965 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14966 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14967 Likewise.
14968 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14969 Likewise.
14970 [__LINUX_KERNEL_VERSION >= 0x040300]
14971 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14972 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14973 Likewise.
14974 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14975 Likewise.
14976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14977 (__ASSUME_SOCKET_SYSCALL): Likewise.
14978 (__ASSUME_BIND_SYSCALL): Likewise.
14979 (__ASSUME_CONNECT_SYSCALL): Likewise.
14980 (__ASSUME_LISTEN_SYSCALL): Likewise.
14981 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14982 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14983 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14984 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14985 (__ASSUME_SEND_SYSCALL): Likewise.
14986 (__ASSUME_SENDTO_SYSCALL): Likewise.
14987 (__ASSUME_RECV_SYSCALL): Likewise.
14988 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14989 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14990 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14991 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14992 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14993 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14994 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14995 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14996 Likewise.
14997 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14998 Likewise.
14999 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15000 Likewise.
15001 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15002 Likewise.
15003 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15004 Likewise.
15005 [__LINUX_KERNEL_VERSION >= 0x020625]
15006 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15007 [__LINUX_KERNEL_VERSION >= 0x020625]
15008 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15009 [__LINUX_KERNEL_VERSION >= 0x020625]
15010 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15011 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15012 Likewise.
15013 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15014 Likewise.
15015 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15016 Likewise.
15017 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15018 Likewise.
15019 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15020 Likewise.
15021 [__LINUX_KERNEL_VERSION >= 0x020625]
15022 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15023 [__LINUX_KERNEL_VERSION >= 0x020625]
15024 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15025 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15026 Likewise.
15027 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15028 Likewise.
15029
15030 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15031
15032 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15033 record the current if the current ABI and CPU support the FP64
15034 extension.
15035 (has-modd-spreg): Define to record the current if the current ABI and
15036 CPU support 32-bit floating point values in odd FPU registers.
15037 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15038 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15039 $(has-modd-spreg) equals yes.
15040 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15041 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15042 $(has-modd-spreg) equal yes.
15043
15044 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15045
15046 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15047 basename.
15048
15049 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15050
15051 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15052 (bench-string): ... here.
15053 (bench): Add bench-string.
15054 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15055 to *-benchset to reflect what they are.
15056 (benchset): Adjust.
15057
15058 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15059 cos-inputs.
15060
15061 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15062
15063 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15064 __attribute__ ((__simd__)) for vector math function declarations.
15065
15066 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15067
15068 Fix typo in strncat, wcsncat manual entries
15069 * manual/string.texi (Copying and Concatenation): Fix typos in
15070 sample implementations of strncat and wcsncat, by having them use
15071 the old value of the destination length, not the new one.
15072
15073 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15074
15075 [BZ #16961]
15076 [BZ #16962]
15077 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15078 string on the stack for strtod.
15079 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15080 a string on the stack for strtof.
15081 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15082 constructing a string on the stack for strtold.
15083 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15084 __strtold_nan to GLIBC_PRIVATE.
15085 * math/test-nan-overflow.c: New file.
15086 * math/test-nan-payload.c: Likewise.
15087 * math/Makefile (tests): Add test-nan-overflow and
15088 test-nan-payload.
15089
15090 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15091
15092 Consistency about byte vs character in string.texi
15093 * manual/string.texi (String and Array Utilities):
15094 Distinguish more carefully among bytes, multibyte characters,
15095 and wide characters. Use "byte" when talking about C 'char',
15096 to distinguish it more clearly from multibyte characters.
15097 Say "wide character" or "multibyte character" instead of
15098 "character", when a wide or multibyte character is intended.
15099 Similarly for "multibyte string" versus "string".
15100 Define these terms more carefully.
15101
15102 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15103
15104 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15105 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15106 Likewise.
15107 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15108 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15109 * sysdeps/sh/math_private.h: New file.
15110 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15111 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15112 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15113 long double function name.
15114 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15116 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15120 Remove __finitel, __isinfl, and __isnanl.
15121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15122 Likewise.
15123 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15125 Remove __finitel.
15126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15127 Likewise.
15128 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15129
15130 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15131
15132 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15133 installed libmvec_nonshared.a.
15134
15135 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15136
15137 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15138 (sysdep_routines): Likewise.
15139 (sysdep-rtld-routines): Likewise.
15140 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15141 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15142 * sysdeps/powerpc/Versions: Added new
15143 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15144 * sysdeps/powerpc/hwcapinfo.c: New file.
15145 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15146 and parse hwcap, hwcap2 and platform number information.
15147 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15148 to store HWCAP+HWCAP2 and platform number.
15149 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15150 for HWCAP+HWCAP2 and platform number in the TCB.
15151 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15152 the HWCAP, HWCAP2 and platform number in the TCB.
15153 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15154 (TLS_INIT_TP): Included calls to add the hwcap and
15155 at_platform values in the TCB in TP initialization.
15156 (TLS_DEFINE_INIT_TP): Likewise.
15157 (THREAD_GET_HWCAP): New macro.
15158 (THREAD_SET_HWCAP): Likewise.
15159 (THREAD_GET_AT_PLATFORM): Likewise.
15160 (THREAD_SET_AT_PLATFORM): Likewise.
15161 * sysdeps/powerpc/powerpc32/dl-machine.h:
15162 (dl_platform_init): New function that calls
15163 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15164 powerpc32.
15165 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15166 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15167 this functionality, static linking case.
15168 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15169 linking case.
15170 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15171 __parse_hwcap_and_convert_at_platform for the static linking case.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15173 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15174 ABI list for GLIBC 2.23.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15176 Likewise.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15178 Likewise.
15179
15180 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15181
15182 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15183 * configure: Regenerate.
15184 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15185 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15186
15187 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15188
15189 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15190 * iconvdata/ibm933.c: Likewise.
15191 * iconvdata/ibm935.c: Likewise.
15192 * iconvdata/ibm937.c: Likewise.
15193 * iconvdata/ibm939.c: Likewise.
15194
15195 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15196
15197 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15198 pthread_join.
15199 * nptl/tst-cancel21.c (tf): Likewise.
15200
15201 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15202
15203 [BZ #19313]
15204 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15205 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15206 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15207 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15208 Likewise.
15209 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15210 Likewise.
15211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15212 Likewise.
15213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15214 Likewise.
15215 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15216 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15217 unsigned long int with __CPU_MASK_TYPE.
15218
15219 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15220
15221 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15222
15223 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15224
15225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15226 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15227 t512.x.
15228 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15229
15230 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15231
15232 [BZ #19214]
15233 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15234 argument to return extended model. Update family and model
15235 with extended family and model when family == 0x0f.
15236 (init_cpu_features): Updated.
15237
15238 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15239
15240 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15241 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15242
15243 * sysdeps/mach/hurd/mmap64.c: New file.
15244
15245 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15246
15247 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15248 rights for its main user thread in NEWTASK.
15249
15250 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15251
15252 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15253 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15254
15255 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15256
15257 [BZ #14259]
15258 * Makeconfig: Rename localedir to complocaledir.
15259 Rename inst_localedir to inst_complocaledir.
15260 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15261 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15262 * configure.ac: Use libc_cv_complocaledir.
15263 * configure: Regenerate.
15264 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15265 -DCOMPLOCALEDIR.
15266 * locale/findlocale.c: Use COMPLOCALEDIR.
15267 * locale/loadarchive.c: Likewise.
15268 * locale/programs/locale.c: Likewise.
15269 * locale/programs/localedef.c: Likewise.
15270 * locale/programs/locarchive.c: Likewise.
15271 * localedata/Makefile: Use inst_complocaledir.
15272 * sysdeps/gnu/configure: Regenerate.
15273 * sysdeps/hppa/configure: Regenerate.
15274 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15275 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15277 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15278 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15279 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15280 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15281
15282 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15283
15284 [BZ #19058]
15285 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15286 AS_NEEDED.
15287 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15288 workaround.
15289 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15290 libmvec-static-only-routines): Added new file.
15291 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15292
15293 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15294
15295 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15296 of interrupted RPC instead of restoring it.
15297
15298 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15299 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15300 libc_hidden_def.
15301 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15302 into initialized data instead of common. Define rtld_hidden_data_def.
15303 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15304 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15305 libc_hidden_def.
15306 (if_freenameindex): Add libc_hidden_weak.
15307 (if_nameindex): Add libc_hidden_weak.
15308 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15309 __open64.
15310 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15311 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15312 * sysdeps/mach/nanosleep.c: Include <time.h>
15313 (__nanosleep): Rename to __libc_nanosleep.
15314 (__nanosleep): Add weak_alias.
15315 (nanosleep): Update alias.
15316
15317 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15318
15319 * stdlib/strtod_nan.c: New file.
15320 * stdlib/strtod_nan_double.h: Likewise.
15321 * stdlib/strtod_nan_float.h: Likewise.
15322 * stdlib/strtod_nan_main.c: Likewise.
15323 * stdlib/strtod_nan_narrow.h: Likewise.
15324 * stdlib/strtod_nan_wide.h: Likewise.
15325 * stdlib/strtof_nan.c: Likewise.
15326 * stdlib/strtold_nan.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15328 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15329 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15330 * wcsmbs/wcstod_nan.c: Likewise.
15331 * wcsmbs/wcstof_nan.c: Likewise.
15332 * wcsmbs/wcstold_nan.c: Likewise.
15333 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15334 strtold_nan.
15335 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15336 wcstof_nan.
15337 * include/stdlib.h (__strtof_nan): Declare and use
15338 libc_hidden_proto.
15339 (__strtod_nan): Likewise.
15340 (__strtold_nan): Likewise.
15341 (__wcstof_nan): Likewise.
15342 (__wcstod_nan): Likewise.
15343 (__wcstold_nan): Likewise.
15344 * include/wchar.h (____wcstoull_l_internal): Declare.
15345 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15346 (____strtoull_l_internal): Remove declaration.
15347 (STRTOF_NAN): Define macro.
15348 (SET_MANTISSA): Remove macro.
15349 (STRTOULL): Likewise.
15350 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15351 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15352 (STRTOF_NAN): Define macro.
15353 (SET_MANTISSA): Remove macro.
15354 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15355 (SET_MANTISSA): Remove macro.
15356 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15357 macro.
15358 (SET_MANTISSA): Remove macro.
15359 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15360 macro.
15361 (SET_MANTISSA): Remove macro.
15362 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15363 (SET_MANTISSA): Remove macro.
15364 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15365 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15366 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15367
15368 [BZ #19266]
15369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15370 upper case and lower case letters inside NAN(), not using TOLOWER.
15371 * stdlib/tst-strtod-nan-locale-main.c: New file.
15372 * stdlib/tst-strtod-nan-locale.c: Likewise.
15373 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15374 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15375 Depend on $(gen-locales).
15376 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15377 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15378 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15379 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15380 Depend on $(gen-locales).
15381 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15382
15383 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15384
15385 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15386
15387 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15389 __finitel, __isinfl, and __isnanl.
15390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15391 Likewise.
15392 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15394 __finitel.
15395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15396 Likewise.
15397 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15398
15399 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15400
15401 * malloc/memusage.c (me): Remove redundant getenv call.
15402
15403 2015-10-24 Florian Weimer <fweimer@redhat.com>
15404
15405 [BZ #19143]
15406 [BZ #19164]
15407 * nptl/check-cpuset.h: Remove.
15408 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15409 Remove CPU set size check.
15410 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15411 Likewise.
15412 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15413 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15414 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15415 (__pthread_setaffinity_new): Remove CPU set size check.
15416 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15417 (__kernel_cpumask_size): Remove.
15418 (__sched_setaffinity_new): Remove CPU set size check.
15419 * manual/threads.texi (Default Thread Attributes): Remove stale
15420 reference to check_cpuset_attr, determine_cpumask_size in comment.
15421 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15422 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15423 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15424 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15425 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15426 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15427 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15428 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15429 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15430 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15431 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15432 skeleton test file.
15433 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15434 tst-affinity-pid.
15435
15436 2015-11-24 Florian Weimer <fweimer@redhat.com>
15437
15438 * scripts/update-abilist.sh: New file.
15439 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15440 * Makerules (update-all-abi-%, update-all-abi)
15441 (subdir_update-all-abi): New targets.
15442 * elf/Makefile (update-all-abi): New target.
15443
15444 2015-11-24 Florian Weimer <fweimer@redhat.com>
15445
15446 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15447 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15448 (__libc_lock_define_initialized): Use it.
15449 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15450 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15451 * malloc/malloc.c (main_arena): Likewise.
15452 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15453 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15454
15455 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15456
15457 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15458 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15459 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15460 (PTRACE_O_MASK): Update value.
15461 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15462 New value in enum __ptrace_setoptions.
15463 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15464 (PTRACE_O_MASK): Update value.
15465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15466 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15467 (PTRACE_O_MASK): Update value.
15468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15469 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15470 (PTRACE_O_MASK): Update value.
15471 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15472 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15473 (PTRACE_O_MASK): Update value.
15474 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15475 New value in enum __ptrace_setoptions.
15476 (PTRACE_O_MASK): Update value.
15477 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15478 New value in enum __ptrace_setoptions.
15479 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15480 (PTRACE_O_MASK): Update value.
15481
15482 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15483 New macro.
15484 (PACKET_AUXDATA): Likewise.
15485 (PACKET_ORIGDEV): Likewise.
15486 (PACKET_VERSION): Likewise.
15487 (PACKET_HDRLEN): Likewise.
15488 (PACKET_RESERVE): Likewise.
15489 (PACKET_TX_RING): Likewise.
15490 (PACKET_LOSS): Likewise.
15491 (PACKET_VNET_HDR): Likewise.
15492 (PACKET_TX_TIMESTAMP): Likewise.
15493 (PACKET_TIMESTAMP): Likewise.
15494 (PACKET_FANOUT): Likewise.
15495 (PACKET_TX_HAS_OFF): Likewise.
15496 (PACKET_QDISC_BYPASS): Likewise.
15497 (PACKET_ROLLOVER_STATS): Likewise.
15498 (PACKET_FANOUT_DATA): Likewise.
15499 (PACKET_MR_UNICAST): Likewise.
15500
15501 [BZ #19242]
15502 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15503 (TOUPPER): Likewise.
15504 * stdlib/tst-strtol-locale-main.c: New file.
15505 * stdlib/tst-strtol-locale.c: Likewise.
15506 * stdlib/Makefile (tests): Add tst-strtol-locale.
15507 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15508 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15509 Depend on $(gen-locales).
15510 * wcsmbs/tst-wcstol-locale.c: New file.
15511 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15512 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15513 tr_TR.ISO-8859-9.
15514 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15515 Depend on $(gen-locales).
15516
15517 2015-11-20 Roland McGrath <roland@hack.frob.com>
15518
15519 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15520 __glibc_likely instead of __builtin_expect. After falling back to
15521 dyncode_create in a non-ET_DYN case, use the allocate_code_data
15522 system interface to register the code pages as occupied.
15523
15524 2015-11-20 Joseph Myers <joseph@codesourcery.com>
15525
15526 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15527 [!ARM_MATH_PRIVATE_H].
15528 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15529 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15530 [!HPPA_MATH_PRIVATE_H].
15531 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15532 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15533 to [!I386_MATH_PRIVATE_H].
15534 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15535 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15536 Change guard to [!M68K_MATH_PRIVATE_H].
15537 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15538 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15539 guard to [!MICROBLAZE_MATH_PRIVATE_H].
15540 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15541 macro.
15542 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15543 [!MIPS_MATH_PRIVATE_H].
15544 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15545 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15546 [!NIO2_MATH_PRIVATE_H].
15547 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15548 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15549 [!TILE_MATH_PRIVATE_H].
15550 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15551
15552 [BZ #15421]
15553 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15554 initialize with 0 and define as weak alias of __signgam.
15555 * include/math.h [!_ISOMAC] (__signgam): Declare.
15556 * math/Makefile (libm-calls): Add w_lgamma_compat.
15557 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15558 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15559 test-signgam-ullong-init.
15560 (tests-static): Add test-signgam-uchar-static,
15561 test-signgam-uchar-init-static, test-signgam-uint-static,
15562 test-signgam-uint-init-static, test-signgam-ullong-static and
15563 test-signgam-ullong-init-static.
15564 (CFLAGS-test-signgam-uchar.c): New variable.
15565 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15566 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15567 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15568 (CFLAGS-test-signgam-uint.c): Likewise.
15569 (CFLAGS-test-signgam-uint-init.c): Likewise.
15570 (CFLAGS-test-signgam-uint-static.c): Likewise.
15571 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15572 (CFLAGS-test-signgam-ullong.c): Likewise.
15573 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15574 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15575 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15576 * math/Versions (libm): Add GLIBC_2.23.
15577 * math/lgamma-compat.h: New file.
15578 * math/test-signgam-main.c: Likewise.
15579 * math/test-signgam-uchar-init-static.c: Likewise.
15580 * math/test-signgam-uchar-init.c: Likewise.
15581 * math/test-signgam-uchar-static.c: Likewise.
15582 * math/test-signgam-uchar.c: Likewise.
15583 * math/test-signgam-uint-init-static.c: Likewise.
15584 * math/test-signgam-uint-init.c: Likewise.
15585 * math/test-signgam-uint-static.c: Likewise.
15586 * math/test-signgam-uint.c: Likewise.
15587 * math/test-signgam-ullong-init-static.c: Likewise.
15588 * math/test-signgam-ullong-init.c: Likewise.
15589 * math/test-signgam-ullong-static.c: Likewise.
15590 * math/test-signgam-ullong.c: Likewise.
15591 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15592 wrapper of w_lgamma_main.c.
15593 * math/w_lgamma_compat.c: New file.
15594 * math/w_lgamma_compatf.c: Likewise.
15595 * math/w_lgamma_compatl.c: Likewise.
15596 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15597 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15598 defining compatibility symbols.
15599 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15600 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15601 wrapper of w_lgammaf_main.c.
15602 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15603 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15604 defining compatibility symbols.
15605 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15606 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15607 wrapper of w_lgammal_main.c.
15608 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15609 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15610 defining compatibility symbols.
15611 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15612 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15613 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15614 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15615 <lgamma-compat.h>.
15616 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15617 (__ieee754_gamma): Define as alias.
15618 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15619 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15620 <lgamma-compat.h>.
15621 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15622 (__ieee754_gammaf): Define as alias.
15623 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15624 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15625 <lgamma-compat.h>.
15626 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15627 (__ieee754_gammal): Define as alias.
15628 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15629 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15630 <math/w_lgamma_compat.c>.
15631 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15632 Define as alias of __lgamma_compat and use in defining lgammal.
15633 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15634 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15635 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15636 (USE_AS_COMPAT): New macro.
15637 (LGAMMA_OLD_VER): Undefine and redefine.
15638 (lgammal): Do not define here.
15639 (gammal): Only define here if [GAMMA_ALIAS].
15640 * conform/linknamespace.pl (@whitelist): Remove signgam.
15641 * sysdeps/nacl/libm.abilist: Update.
15642 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15643 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15644 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15651 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15652 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15653 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15655 Likewise.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15657 Likewise.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15659 Likewise.
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15661 Likewise.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15668 Likewise.
15669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15670 Likewise.
15671 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15672 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15673 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15674
15675 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15676
15677 [BZ #16364]
15678 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15679 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15680
15681 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15682
15683 * sysdeps/s390/fpu/bits/mathinline.h:
15684 Use __asm__ [__volatile__] instead of asm [volatile].
15685 * sysdeps/s390/abort-instr.h: Likewise.
15686 * sysdeps/s390/atomic-machine.h: Likewise.
15687 * sysdeps/s390/bits/string.h: Likewise.
15688 * sysdeps/s390/dl-tls.h: Likewise.
15689 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15690 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15691 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15692 * sysdeps/s390/fpu/fesetround.c: Likewise.
15693 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15694 * sysdeps/s390/fpu/s_fma.c: Likewise.
15695 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15696 * sysdeps/s390/memusage.h: Likewise.
15697 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15698 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15699 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15700 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15701 * sysdeps/s390/nptl/tls.h: Likewise.
15702 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15703 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15704 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15705 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15706 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15707 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15708 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15709 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15710 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15711 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15712 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15713 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15714 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15715 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15716 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15717 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15718 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15719 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15720 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15722 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15724 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15725
15726 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15727 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15728
15729 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15730 Add lwarx hint, and use macro for acquire instruction.
15731 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15732 Likewise.
15733 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15734 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15735 update to use new atomic macros.
15736
15737 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15738
15739 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15740 (__lll_trylock_elision): Fix setting of adapt_count.
15741 * sysdeps/unix/sysv/linux/powerpc/htm.h
15742 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15743 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15744 (_ABORT_SYSCALL): Renumber, and clarify definition.
15745 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15746
15747 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15748
15749 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15750 after system headers to prevent MIN/MAX redefinition. Define
15751 HAVE_ALLOCA to preserve builtin alloca usage.
15752
15753 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15754
15755 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15756 static and don't set or restore rounding.
15757 (__cos)[IN_SINCOS]: Likewise.
15758 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15759 (__sincos): Set and restore rounding mode. Remove check for infinite
15760 or NaN input.
15761
15762 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15763
15764 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15765 as used.
15766
15767 2015-11-16 Florian Weimer <fweimer@redhat.com>
15768
15769 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15770
15771 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15772
15773 * config.make.in (have-glob-dat-reloc): New.
15774 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15775 target supports GLOB_DAT relocaton. AC_SUBST.
15776 * configure: Regenerated.
15777 * elf/Makefile (tests): Add tst-prelink.
15778 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15779 (tst-prelink-ENV): New.
15780 ($(objpfx)tst-prelink-conflict.out): Likewise.
15781 ($(objpfx)tst-prelink-cmp.out): Likewise.
15782 * sysdeps/x86/tst-prelink.c: Moved to ...
15783 * elf/tst-prelink.c: Here.
15784 * sysdeps/x86/tst-prelink.exp: Moved to ...
15785 * elf/tst-prelink.exp: Here.
15786 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15787 (tst-prelink-ENV): Removed.
15788 ($(objpfx)tst-prelink-conflict.out): Likewise.
15789 ($(objpfx)tst-prelink-cmp.out): Likewise.
15790 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15791
15792 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15793
15794 [BZ #14551]
15795 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15796 (__mpn_construct_long_double): If high part overflows to infinity,
15797 set errno and recompute overflowed result of the correct sign.
15798 * sysdeps/ieee754/ldbl-128ibm/Makefile
15799 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15800 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15801 $(libm).
15802 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15803
15804 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15805
15806 [BZ #15479]
15807 [BZ #19238]
15808 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15809 floating-point state after first operation on input. Restore full
15810 state rather than just rounding mode.
15811 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15812 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15813 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15814
15815 [BZ #19235]
15816 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15817 add 0.5 to integer arguments.
15818 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15819 Likewise.
15820 (.LC2): New object.
15821
15822 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15823
15824 * scripts/pylintrc (reports): Set to no.
15825
15826 2015-11-10 Roland McGrath <roland@hack.frob.com>
15827
15828 * elf/dl-load.c (open_verify): Take new argument FD.
15829 Skip __open call if passed FD is not -1.
15830 (_dl_map_object, open_path): Update callers.
15831 * elf/dl-sysdep-open.h: New file.
15832 * elf/dl-load.c: Include it.
15833 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15834 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15835 * sysdeps/nacl/dl-sysdep-open.h: New file.
15836 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15837 from libc to rtld.
15838
15839 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15840
15841 [BZ #19228]
15842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15843 and restore full floating-point state.
15844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15845 Likewise.
15846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15847 Likewise.
15848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15849 Likewise.
15850 * math/test-nearbyint-except-2.c: New file.
15851 * math/Makefile (tests): Add test-nearbyint-except-2.
15852
15853 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15854
15855 [BZ #19178]
15856 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15857 (tst-prelink-ENV): New.
15858 ($(objpfx)tst-prelink-conflict.out): Likewise.
15859 ($(objpfx)tst-prelink-cmp.out): Likewise.
15860 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15861 * sysdeps/x86/tst-prelink.c: New file.
15862 * sysdeps/x86/tst-prelink.exp: Likewise.
15863
15864 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15865
15866 * math/auto-libm-test-in: Add another test of pow.
15867 * math/auto-libm-test-out: Regenerated.
15868 * math/libm-test.inc (pow_test_data): Add another test.
15869
15870 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15871
15872 [BZ #19219]
15873 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15874 weak_alias to nearbyintl.
15875
15876 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15877
15878 * sysdeps/aarch64/bits/string.h: New file.
15879 (_STRING_ARCH_unaligned): Define.
15880
15881 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15882
15883 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15884 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15885 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15886 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15888
15889 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15890
15891 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15892 for original name of the DSO. Add it to the name list of the DSO
15893 if it is actually given.
15894 (_dl_map_object): Keep track of whether an audit module rewrote
15895 the file name. If yes, pass the original name to
15896 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15897 debugging is enabled, log the change of the file name.
15898 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15899 _dl_map_object_from_fd.
15900 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15901 * elf/tst-audit11.c: New file
15902 * elf/tst-auditmod11.c: New file.
15903 * elf/tst-audit11mod1.c: New file.
15904 * elf/tst-audit11mod2.c: New file.
15905 * elf/tst-audit11mod2.map: New file.
15906 * elf/tst-audit12.c: New file
15907 * elf/tst-auditmod12.c: New file.
15908 * elf/tst-audit12mod1.c: New file.
15909 * elf/tst-audit12mod2.c: New file.
15910 * elf/tst-audit12mod2.map: New file.
15911 * elf/tst-audit12mod3.c: New file.
15912
15913 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15914
15915 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15916 Don't create weak aliases,
15917 because versioned symbols are created later.
15918 * sysdeps/s390/s390-32/setjmp.S
15919 (setjmp, _setjmp): Remove weak and rename to an unique name
15920 in SHARED case due to existing versioned symbols.
15921 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15923 (getcontext): Create weak alias only in non SHARED case.
15924 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15925
15926 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15927
15928 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15929 (__ASSUME_*_SYSCALL) Define new macros.
15930 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15931 Remove socketcall syscalls.
15932 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15933 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15934 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15935 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15936 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15937 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15938
15939 2015-11-09 Florian Weimer <fweimer@redhat.com>
15940
15941 [BZ #12926]
15942 Terminate process on invalid netlink response.
15943 * sysdeps/unix/sysv/linux/netlinkaccess.h
15944 (__netlink_assert_response): Declare.
15945 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15946 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15947 (sysdep_routines): Add netlink_assert_response.
15948 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15949 __netlink_assert_response.
15950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15951 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15952 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15953 __netlink_assert_response.
15954
15955 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15956
15957 [BZ #19178]
15958 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15959 (RTYPE_CLASS_PLT): Likewise.
15960 (RTYPE_CLASS_COPY): Likewise.
15961 (RTYPE_CLASS_TLS): Likewise.
15962 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15963 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15964 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15965 DL_DEBUG_PRELINK.
15966
15967 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15968
15969 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15970 calls with argument -0.5.
15971 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15972
15973 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15974 (libc_cv_z_nodlopen): Likewise.
15975 (libc_cv_z_initfirst): Likewise.
15976 * configure: Regenerated.
15977
15978 2015-11-06 Florian Weimer <fweimer@redhat.com>
15979
15980 Simplify abilist format to be line-based.
15981 * scripts/abilist.awk: Collect descriptors in the descs variable.
15982 (emit): Write descs variable and sort it
15983 externally, with sort.
15984 * sysdeps/**/*.abilist: Convert to new format.
15985
15986 2015-11-06 Mark Wielaard <mjw@redhat.com>
15987
15988 [BZ #11460]
15989 * io/Makefile (routines): Add fts64.
15990 (tests): Add tst-fts and tst-fts-lfs.
15991 (CFLAGS-fts64.c): New.
15992 * io/Versions (GLIBC_2.23): New.
15993 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15994 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15995 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15996 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15997 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15998 (FTSENT64): Likewise.
15999 (fts64_children): Likewise.
16000 (fts64_close): Likewise.
16001 (fts64_open): Likewise.
16002 (fts64_read): Likewise.
16003 (fts64_set): Likewise.
16004 * io/fts64.c: New file.
16005 * io/tst-fts.c: New test.
16006 * io/tst-fts-lfs.c: Likewise.
16007 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16008 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16009 fts64_set.
16010 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16024 Likewise.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16026 Likewise.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16039 * sysdeps/wordsize-64/fts.c: New file.
16040 * sysdeps/wordsize-64/fts64.c: Likewise.
16041 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16042 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16045
16046 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16047
16048 * math/libm-test.inc (NON_FINITE): New macro.
16049 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16050 * math/gen-libm-test.pl (show_exceptions): Add argument
16051 $non_finite.
16052 (parse_args): Update call to show_exceptions.
16053 * math/test-math-finite.h: New file.
16054 * math/test-math-no-finite.h: Likewise.
16055 * math/test-double-finite.c: Likewise.
16056 * math/test-float-finite.c: Likewise.
16057 * math/test-ldouble-finite.c: Likewise.
16058 * math/test-double.c: Include "test-math-no-finite.h".
16059 * math/test-float.c: Include "test-math-no-finite.h".
16060 * math/test-ldouble.c: Include "test-math-no-finite.h".
16061 * math/test-math-inline.h (TEST_FINITE): New macro.
16062 * math/test-math-vector.h (TEST_FINITE): Likewise.
16063 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16064 (libm-tests): Add test-float-finite and test-double-finite.
16065 ($(objpfx)test-float-finite.o): New dependency on
16066 $(objpfx)libm-test.stmp.
16067 ($(objpfx)test-double-finite.o): Likewise.
16068 ($(objpfx)test-ldouble-finite.o): Likewise.
16069 (libm-test-no-inline-cflags): New variable.
16070 (libm-test-finite-cflags): Likewise.
16071 (CFLAGS-test-float-finite.c): Likewise.
16072 (CFLAGS-test-double-finite.c): Likewise.
16073 (CFLAGS-test-ldouble-finite.c): Likewise.
16074 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16075 (CFLAGS-test-double.c): Likewise.
16076 (CFLAGS-test-ldouble.c): Likewise.
16077
16078 2015-11-05 Roland McGrath <roland@hack.frob.com>
16079
16080 * io/fcntl.c (__fcntl): Add ... to prototype.
16081 * misc/ioctl.c (__ioctl): Likewise.
16082 * misc/syscall.c (syscall): Likewise.
16083
16084 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16085
16086 * scripts/list-fixed-bugs.py: New file.
16087
16088 [BZ #19213]
16089 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16090 returned for argument 1.
16091 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16092 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16093 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16094 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16095 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16096 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16097
16098 [BZ #19211]
16099 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16100 __USE_XOPEN], not if [!__USE_ISOC99].
16101 (lgammaf): Likewise.
16102 (lgammal): Likewise.
16103 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16104 (gammaf): Likewise.
16105 (gammal): Likewise.
16106 * math/test-signgam-finite-c11.c: New file.
16107 * math/test-signgam-finite-c99.c: Likewise.
16108 * math/test-signgam-finite.c: Likewise.
16109 * math/Makefile (tests): Add test-signgam-finite,
16110 test-signgam-finite-c99 and test-signgam-finite-c11.
16111 (CFLAGS-test-signgam-finite.c): New variable.
16112 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16113 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16114
16115 [BZ #19212]
16116 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16117 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16118 500].
16119 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16120 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16121 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16122 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16123 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16124 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16125 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16126 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16127 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16128 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16129
16130 [BZ #19209]
16131 * math/bits/math-finite.h (ldexp): Remove declaration.
16132 (ldexpf): Likewise.
16133 (ldexpl): Likewise.
16134
16135 [BZ #19205]
16136 * math/bits/math-finite.h (acosf): Condition declaration on
16137 [__USE_ISOC99].
16138 (acosl): Likewise.
16139 (acoshf): Likewise.
16140 (acoshl): Likewise.
16141 (asinf): Likewise.
16142 (asinl): Likewise.
16143 (atan2f): Likewise.
16144 (atan2l): Likewise.
16145 (atanhf): Likewise.
16146 (atanhl): Likewise.
16147 (coshf): Likewise.
16148 (coshl): Likewise.
16149 (expf): Likewise.
16150 (expl): Likewise.
16151 (fmodf): Likewise.
16152 (fmodl): Likewise.
16153 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16154 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16155 (j0l): Likewise.
16156 (y0f): Likewise.
16157 (y0l): Likewise.
16158 (j1f): Likewise.
16159 (j1l): Likewise.
16160 (y1f): Likewise.
16161 (y1l): Likewise.
16162 (jnf): Likewise.
16163 (jnl): Likewise.
16164 (ynf): Likewise.
16165 (ynl): Likewise.
16166 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16167 (lgammal_r): Likewise.
16168 (__lgamma_r_finite): New declaration.
16169 (__lgammaf_r_finite): Likewise.
16170 (__lgammal_r_finite): Likewise.
16171 (lgamma): Use __lgamma_r_finite.
16172 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16173 __lgammaf_r_finite.
16174 (lgammal): Condition definition on [__USE_ISOC99]. Use
16175 __lgammal_r_finite.
16176 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16177 __lgamma_r_finite.
16178 (gammaf): Condition definition on [__USE_ISOC99]. Use
16179 __lgammaf_r_finite.
16180 (gammal): Condition definition on [__USE_ISOC99]. Use
16181 __lgammal_r_finite.
16182 (logf): Condition declaration on [__USE_ISOC99].
16183 (logl): Likewise.
16184 (log10f): Likewise.
16185 (log10l): Likewise.
16186 (ldexpf): Likewise.
16187 (ldexpl): Likewise.
16188 (powf): Likewise.
16189 (powl): Likewise.
16190 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16191 __USE_ISOC99].
16192 (remainderf): Condition declaration on [__USE_ISOC99].
16193 (remainderl): Likewise.
16194 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16195 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16196 (scalbl): Likewise.
16197 (sinhf): Condition declaration on [__USE_ISOC99].
16198 (sinhl): Likewise.
16199 (sqrtf): Likewise.
16200 (sqrtl): Likewise.
16201
16202 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16203
16204 * sysdeps/arm/atomic-machine.h
16205 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16206 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16207 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16208 Remove conditional code.
16209 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16210 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16211 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16212 Change conditional to [__ASSEMBLER__].
16213 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16214 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16215 [!__ASSEMBLER__].
16216 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16217 code.
16218 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16219 conditional macro definitions.
16220 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16221 (__arch_compare_and_exchange_val_16_acq): Likewise.
16222 (__arch_compare_and_exchange_val_32_acq): Likewise.
16223 (atomic_exchange_and_add): Likewise.
16224 (atomic_add): Likewise.
16225 (atomic_add_negative): Likewise.
16226 (atomic_add_zero): Likewise.
16227 (atomic_bit_set): Likewise.
16228 (atomic_bit_test_set): Likewise.
16229 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16230 code unconditional.
16231 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16232
16233 * math/test-math-errno.h: New file.
16234 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16235 empty.
16236 (TEST_ERRNO): New macro.
16237 (TEST_EXCEPTIONS): Likewise.
16238 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16239 (TEST_EXCEPTIONS): Likewise.
16240 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16241 * math/test-double.c: Include "test-math-errno.h".
16242 * math/test-float.c: Likewise.
16243 * math/test-ldouble.c: Likewise.
16244 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16245 code unconditional.
16246 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16247 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16248 unconditional.
16249 (test_errno): Only run code if TEST_ERRNO.
16250 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16251
16252 2015-11-04 Florian Weimer <fweimer@redhat.com>
16253
16254 * nptl/tst-once5.cc: Remove attribution.
16255
16256 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16257
16258 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16259 sqrt, tan, tanh, y0, y1 and yn.
16260 * math/auto-libm-test-out: Regenerated.
16261 * math/libm-test.inc (scalb_test_data): Add more tests.
16262 (scalbn_test_data): Likewise.
16263 (scalbln_test_data): Likewise.
16264 (signbit_test_data): Likewise.
16265 (sin_test_data): Likewise.
16266 (sincos_test_data): Likewise.
16267 (sinh_test_data): Likewise.
16268 (sqrt_test_data): Likewise.
16269 (tan_test_data): Likewise.
16270 (tanh_test_data): Likewise.
16271 (tgamma_test_data): Likewise.
16272 (y0_test_data): Likewise.
16273 (y1_test_data): Likewise.
16274 (yn_test_data): Likewise.
16275 (significand_test_data): Likewise.
16276 * sysdeps/i386/fpu/libm-test-ulps: Update.
16277
16278 2015-11-03 David Kastrup <dak@gnu.org>
16279
16280 [BZ #18604]
16281 * assert/assert.h (assert): Don't macro-expand failed assertion
16282 expression in error message.
16283 * malloc/malloc.c (assert): Likewise.
16284
16285 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16286
16287 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16288 test.
16289 * configure: Regenerated.
16290
16291 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16292
16293 * math/libm-test.inc (modf_test_data): Add more tests.
16294 (nearbyint_test_data): Likewise.
16295 (nextafter_test_data): Likewise.
16296 (nexttoward_test_data): Likewise.
16297 (pow_test_data): Likewise.
16298 (remainder_test_data): Likewise.
16299 (remquo_test_data): Likewise.
16300 (rint_test_data): Likewise.
16301
16302 [BZ #19201]
16303 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16304 Check for zero remainder in case of large exponents and ensure
16305 correct sign of result in that case.
16306 * math/libm-test.inc (remainder_test_data): Add more tests.
16307
16308 [BZ #6799]
16309 * math/s_nextafter.c: Include <errno.h>.
16310 (__nextafter): Set errno on overflow and underflow.
16311 * math/s_nexttowardf.c: Include <errno.h>.
16312 (__nexttowardf): Set errno on overflow and underflow.
16313 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16314 (__nextafterl): Set errno on overflow and underflow.
16315 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16316 (__nexttoward): Set errno on overflow and underflow.
16317 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16318 (__nexttowardf): Set errno on overflow and underflow.
16319 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16320 (__nextafterf): Set errno on overflow and underflow.
16321 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16322 (__nextafterl): Set errno on overflow and underflow.
16323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16324 (__nexttoward): Set errno on overflow and underflow.
16325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16326 (__nexttowardf): Set errno on overflow and underflow.
16327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16328 (__nextafterl): Set errno on overflow and underflow.
16329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16330 (__nexttoward): Set errno on overflow and underflow.
16331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16332 (__nexttowardf): Set errno on overflow and underflow.
16333 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16334 (__nexttoward): Set errno on overflow and underflow.
16335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16336 (__nexttowardf): Set errno on overflow and underflow.
16337 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16338 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16339 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16340 (__nextafterl): Set errno on overflow and underflow.
16341 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16342 setting to be missing on overflow. Add more tests.
16343 (nexttoward_test_data): Likewise.
16344
16345 * configure.ac (libc_cv_initfini_array): Remove configure test.
16346 * configure: Regenerated.
16347
16348 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16349
16350 [BZ #19189]
16351 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16352 non-finite argument handle arguments with negative sign.
16353
16354 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16355 result from infinite argument.
16356 (j1_test_data): Likewise.
16357 (jn_test_data): Likewise.
16358 (y0_test_data): Likewise.
16359 (y1_test_data): Likewise.
16360 (yn_test_data): Likewise.
16361
16362 [BZ #16171]
16363 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16364 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16365 * math/w_remainderf.c (dremf): Define as weak alias of
16366 __remainderf.
16367 * math/w_remainderl.c (dreml): Define as weak alias of
16368 __remainderl.
16369 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16370 __remainder.
16371 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16372 __remainderf.
16373 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16374 __remainderl.
16375 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16376 weak alias of remainderl.
16377 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16378 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16379 alias of __remainder.
16380 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16381 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16382 strong alias of __remainderl.
16383 (dreml): Use long_double_symbol.
16384 * math/Makefile (libm-calls): Remove w_drem.
16385 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16386 (CFLAGS-nldbl-drem.c): Remove variable.
16387 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16388 * math/w_drem.c: Remove file.
16389 * math/w_dremf.c: Likewise.
16390 * math/w_dreml.c: Likewise.
16391 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16392 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16393 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16394
16395 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16396 * sysdeps/i386/configure: Regenerated.
16397 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16398 * sysdeps/x86_64/configure: Regenerated.
16399
16400 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16401 test.
16402 (libc_cv_visibility_attribute): Likewise.
16403 (libc_cv_protected_data): Test unconditionally.
16404 (libc_cv_broken_visibility_attribute): Remove configure test.
16405 (libc_cv_have_sdata_section): Test unconditionally.
16406 * configure: Regenerated.
16407
16408 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16409 * include/scratch_buffer.h: Include <stddef.h> instead of
16410 <libc-internal.h>.
16411 (struct scratch_buffer): Use max_align_t instead of
16412 libc_max_align_t.
16413
16414 2015-10-29 Florian Weimer <fweimer@redhat.com>
16415
16416 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16417 instead of extend_alloca. Change control flow to avoid a goto.
16418 Remove assert which is trivially always true.
16419
16420 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16421
16422 [BZ #16068]
16423 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16424 (FE_ALL_EXCEPT_X86): New macro.
16425 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16426 FE_ALL_EXCEPT. Ensure precision control is included in
16427 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16428 handle "denormal operand exception" and clear FZ and DAZ bits.
16429 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16430 (FE_ALL_EXCEPT_X86): New macro.
16431 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16432 FE_ALL_EXCEPT. Ensure precision control is included in
16433 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16434 handle "denormal operand exception" and clear FZ and DAZ bits.
16435 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16436 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16437 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16438 test-fenv-x87 and test-fenv-sse-2.
16439 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16440
16441 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16442 * math/test-double.h (BUILD_COMPLEX): New macro.
16443 * math/test-float.h (BUILD_COMPLEX): Likewise.
16444 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16445
16446 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16447 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16448 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16450 instead of DBL_DENORM_MIN in comment.
16451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16452 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16453 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16454 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16456 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16457
16458 2015-10-28 Florian Weimer <fweimer@redhat.com>
16459
16460 [BZ# 19048]
16461 * malloc/malloc.c (struct malloc_state): Update comment. Add
16462 attached_threads member.
16463 (main_arena): Initialize attached_threads.
16464 * malloc/arena.c (list_lock): Update comment.
16465 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16466 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16467 (deattach_arena): New function.
16468 (_int_new_arena): Initialize arena reference count and deattach
16469 replaced arena.
16470 (get_free_list, reused_arena): Update reference count and deattach
16471 replaced arena.
16472 (arena_thread_freeres): Update arena reference count and only put
16473 unreferenced arenas on the free list.
16474
16475 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16476
16477 [BZ #19181]
16478 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16479 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16480 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16481 * math/test-fenv-clear-main.c: New file.
16482 * math/test-fenv-clear.c: Likewise.
16483 * math/Makefile (tests): Add test-fenv-clear.
16484 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16485 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16486 test-fenv-clear-sse.
16487 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16488
16489 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16490 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16491 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16492
16493 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16494
16495 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16496 static libc.
16497
16498 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16499
16500 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16501 test.
16502 * sysdeps/i386/configure: Regenerated.
16503 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16504 test.
16505 * sysdeps/x86_64/configure: Regenerated.
16506 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16508 memset-avx2 unconditionally instead of conditionally on
16509 [$(config-cflags-avx2) = yes].
16510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16511 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16512 unconditional.
16513 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16514 * sysdeps/x86_64/multiarch/memset_chk.S
16515 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16516 to [IS_IN (libc) && SHARED].
16517
16518 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16519
16520 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16521 configure test.
16522 * sysdeps/arm/configure: Regenerated.
16523 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16524 Define variable if not already defined.
16525
16526 [BZ #17404]
16527 * sysdeps/mips/atomic-machine.h
16528 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16529 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16530 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16531
16532 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16533 unconditional.
16534 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16535 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16536 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16537 unconditional.
16538 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16539 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16540 unconditional.
16541 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16542 * stdlib/setenv.c
16543 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16544 code unconditional.
16545 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16546 Remove conditional code.
16547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16548 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16549 unconditional.
16550 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16551 code.
16552 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16553 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16554 unconditional.
16555 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16556 code.
16557 * sysdeps/ieee754/ldbl-128/k_tanl.c
16558 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16559 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16560 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16561 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16562 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16563 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16564 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16565 unconditional.
16566 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16567 code.
16568 * sysdeps/ieee754/ldbl-96/k_tanl.c
16569 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16570 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16571
16572 * nptl/tst-initializers1-c11.c: New file.
16573 * nptl/tst-initializers1-gnu11.c: Likewise.
16574 * nptl/Makefile (tests): Add these new tests.
16575 (CFLAGS-tst-initializers1-c11.c): New variable.
16576 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16577
16578 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16579 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16580 instead of -std=gnu99.
16581 * configure.ac (systemtap): Test with -std=gnu11 instead of
16582 -std=gnu99.
16583 * configure: Regenerated.
16584 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16585 in compilation command in comment.
16586
16587 * sysdeps/nptl/configure.ac: Remove file.
16588 * sysdeps/nptl/configure: Remove generated file.
16589 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16590 * configure: Regenerated.
16591 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16592 * config.make.in (have-forced-unwind): Remove variable.
16593 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16594 unconditional.
16595 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16596 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16597 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16598 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16599 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16600 unconditional.
16601
16602 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16603
16604 [BZ #19174]
16605 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16606 .skip_lock_out_of_tbegin_retries.
16607 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16608 (__lll_lock_elision): Likewise, and respect a value of
16609 try_tbegin <= 0.
16610
16611 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16612
16613 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16614 statement.
16615
16616 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16617
16618 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16619 variable.
16620 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16621 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16622
16623 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16624 of -std=c1x -D_ISOC11_SOURCE.
16625
16626 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16627 * configure: Regenerated.
16628 * manual/install.texi (Tools for Compilation): Document
16629 requirement for GCC 4.7 or later.
16630 * INSTALL: Regenerated.
16631
16632 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16633
16634 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16635 on CNT to a conditional jump to 'puntdata'.
16636
16637 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16638
16639 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16640 (libc_cv_gcc_tls_model_attr): Likewise.
16641 * configure: Regenerated.
16642
16643 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16644 * configure: Regenerated.
16645 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16646
16647 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16648
16649 * configure.ac (old_glibc_headers): Remove configure test.
16650 * configure: Regenerated.
16651 * config.make.in (old-glibc-headers): Remove variable.
16652 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16653 (install): Remove dependency on remove-old-headers.
16654 (headers2_0): Remove variable.
16655 (remove-old-headers): Remove rule.
16656
16657 * configure.ac (libc_cv_dot_text): Remove configure test.
16658 (libc_cv_asm_set_directive): Use .text instead of
16659 ${libc_cv_dot_text} in configure test.
16660 * configure: Regenerated.
16661
16662 2015-10-26 Florian Weimer <fweimer@redhat.com>
16663
16664 [BZ #19168]
16665 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16666
16667 2015-10-26 Florian Weimer <fweimer@redhat.com>
16668
16669 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16670 not support static linking.
16671 * configure: Regenerate.
16672
16673 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16674
16675 * math/libm-test.inc (check_float_internal): Do not special-case
16676 errors up to 0.5 ulp.
16677
16678 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16679 log2.
16680 * math/auto-libm-test-out: Regenerated.
16681 * math/libm-test.inc (MAX_EXP): New macro.
16682 (ilogb_test_data): Add more tests.
16683 (isfinite_test_data): Likewise.
16684 (isgreater_test_data): Likewise.
16685 (isgreaterequal_test_data): Likewise.
16686 (isinf_test_data): Likewise.
16687 (isless_test_data): Likewise.
16688 (islessequal_test_data): Likewise.
16689 (islessgreater_test_data): Likewise.
16690 (isnan_test_data): Likewise.
16691 (isnormal_test_data): Likewise.
16692 (issignaling_test_data): Likewise.
16693 (isunordered_test_data): Likewise.
16694 (j0_test_data): Likewise.
16695 (j1_test_data): Likewise.
16696 (jn_test_data): Likewise.
16697 (lgamma_test_data): Likewise.
16698 (log_test_data): Likewise.
16699 (log10_test_data): Likewise.
16700 (log1p_test_data): Likewise.
16701 (log2_test_data): Likewise.
16702 (logb_test_data): Likewise.
16703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16704
16705 [BZ #18611]
16706 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16707 avoid excess range and precision on underflow.
16708 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16709 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16710 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16711 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16712 underflow.
16713 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16717 * math/auto-libm-test-in: Do not allow missing errno setting for
16718 tests of j1 and jn.
16719 * math/auto-libm-test-out: Regenerated.
16720
16721 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16722
16723 [BZ #15491]
16724 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16725 floating-point environment instead of clearing all exceptions.
16726 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16727 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16728 merging in "invalid" exceptions from frndint.
16729 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16730 * math/test-nearbyint-except.c: New file.
16731 * math/Makefile (tests): Add test-nearbyint-except.
16732
16733 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16734
16735 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16736
16737 * sysdeps/tile/libm-test-ulps: Regenerated.
16738
16739 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16740
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16742 (__NR_sync_file_range2): Assume it is always defined.
16743 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16744 (__NR_sync_file_range): Assume it is always defined.
16745
16746 2015-10-22 Andreas Schwab <schwab@suse.de>
16747
16748 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16749 INTERNAL_SYSCALL_ERRNO.
16750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16751 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16752 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16753 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16754 Likewise.
16755 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16756
16757 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16758
16759 * io/tst-fcntl.c (fd): New static variable.
16760 (do_prepare): Open temporary file here....
16761 (do_test): ...not here.
16762
16763 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16764
16765 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16766
16767 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16768 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16769 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16770 Moved before "#ifdef __ASSEMBLER__".
16771
16772 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16773
16774 [BZ #19156]
16775 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16776 arguments very close to 0.
16777
16778 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16779
16780 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16781 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16782
16783 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16784
16785 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16786 New. Defined for GCC 5 and above when not compiling for
16787 profiling.
16788 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16789
16790 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16791 Renamed to ...
16792 (CFLAGS-epoll_pwait.o): This.
16793 (CFLAGS-mmap.c): Renamed to ...
16794 (CFLAGS-mmap.o): This.
16795 (CFLAGS-mmap64.c): Renamed to ...
16796 (CFLAGS-mmap64.o): This.
16797 (CFLAGS-epoll_pwait.os): New.
16798 (CFLAGS-mmap.os): Likewise.
16799 (CFLAGS-mmap64.os): Likewise.
16800 (CFLAGS-semtimedop.os): Likewise.
16801 (CFLAGS-semtimedop.c): Renamed to ...
16802 (CFLAGS-semtimedop.o): This.
16803
16804 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16805
16806 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16807 warning message.
16808
16809 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16810
16811 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16812 * Makefile ($(objpfx)c++-types-check.out): Filter out
16813 $(+gccwarn-c) instead of -Wstrict-prototypes.
16814
16815 * io/fts.c (fts_open): Convert to prototype-style function
16816 definition.
16817 * malloc/mcheck.c (mcheck): Likewise.
16818 (mcheck_pedantic): Likewise.
16819 * posix/regexec.c (re_search_2_stub): Likewise. Use
16820 internal_function.
16821 (re_search_internal): Likewise.
16822 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16823 prototype-style function definition.
16824 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16825 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16826 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16827 (xdr_utmpptr): Likewise.
16828 (xdr_utmparr): Likewise.
16829 (xdr_utmpidle): Likewise.
16830 (xdr_utmpidleptr): Likewise.
16831 (xdr_utmpidlearr): Likewise.
16832
16833 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16834 log, log10 and log2.
16835 * math/auto-libm-test-out: Regenerated.
16836 * math/libm-test.inc (fmod_test_data): Add more tests.
16837 (fpclassify_test_data): Likewise.
16838 (frexp_test_data): Likewise.
16839 (hypot_test_data): Likewise.
16840 (ilogb_test_data): Likewise.
16841
16842 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16843
16844 * debug/fortify_fail.c (__fortify_fail): Convert to
16845 prototype-style function definition. Use internal_function.
16846 * libio/genops.c (save_for_backup): Convert to prototype-style
16847 function definition.
16848 * libio/wgenops.c (save_for_wbackup): Likewise.
16849 * login/grantpt.c (grantpt): Likewise.
16850 * login/ptsname.c (ptsname): Likewise.
16851 (__ptsname_r): Likewise.
16852 * login/unlockpt.c (unlockpt): Likewise.
16853 * mach/msgserver.c (__mach_msg_server): Likewise.
16854 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16855 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16856 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16857 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16858 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16859 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16860 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16861 Likewise.
16862 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16863 internal_function.
16864 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16865 prototype-style function definition.
16866 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16867 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16868 (__pthread_create_2_0): Likewise.
16869 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16870 * nptl/register-atfork.c (__register_atfork): Likewise.
16871 * posix/glob.c (glob): Likewise.
16872 * posix/regcomp.c (re_comp): Likewise.
16873 * posix/regexec.c (re_exec): Likewise.
16874 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16875 [!__STDC__]: Remove conditional code.
16876 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16877 [!__STDC__]: Remove conditional code.
16878 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16879 [!__STDC__]: Remove conditional code.
16880 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16881 [!__STDC__]: Remove conditional code.
16882 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16883 [!__STDC__]: Remove conditional code.
16884 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16885 [!__STDC__]: Remove conditional code.
16886 * stdlib/mul.c [__STDC__]: Make code unconditional.
16887 [!__STDC__]: Remove conditional code.
16888 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16889 [!__STDC__]: Remove conditional code.
16890 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16891 [!__STDC__]: Remove conditional code.
16892 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16893 function definition.
16894 (STRTOF): Likewise.
16895 * stdlib/strtod_l.c (__STRTOF): Likewise.
16896 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16897 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16898 (__strtol_l): Likewise.
16899 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16900 [!__STDC__]: Remove conditional code.
16901 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16902 definition.
16903 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16904 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16905 type.
16906 (__strcasecmp): Convert to prototype-style function definition.
16907 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16908 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16909 type.
16910 (__strncasecmp): Convert to prototype-style function definition.
16911 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16912 * sunrpc/xdr.c (xdr_union): Likewise.
16913 * sunrpc/xdr_array.c (xdr_array): Likewise.
16914 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16915 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16916 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16917 Likewise.
16918 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16919 Likewise.
16920 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16921 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16922 Likewise.
16923 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16924 (LOCALE_PARAM_PROTO): Likewise.
16925 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16926 argument type.
16927 (ut_argument_spec): Remove macro.
16928 (ut_argument_spec_iso): Rename to ut_argument_spec.
16929 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16930 prototype-style function definition.
16931 (memcpy_uppcase): Likewise.
16932 (__strftime_internal): Likewise.
16933 (my_strftime): Likewise.
16934 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16935 (LOCALE_PARAM_DECL): Likewise.
16936 [_LIBC] (LOCALE_PARAM): Include argument type.
16937 (__strptime_internal): Convert to prototype-style function
16938 definition.
16939 (strptime): Likewise.
16940 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16941 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16942 type.
16943 (__wcscasecmp): Convert to prototype-style function definition.
16944 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16945 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16946 type.
16947 (__wcsncasecmp): Convert to prototype-style function definition.
16948
16949 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16950 function definition.
16951 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16952 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16953 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16954 * elf/dl-minimal.c (_itoa): Likewise.
16955 * hurd/hurdmalloc.c (malloc): Likewise.
16956 (free): Likewise.
16957 (realloc): Likewise.
16958 * inet/inet6_option.c (inet6_option_space): Likewise.
16959 (inet6_option_init): Likewise.
16960 (inet6_option_append): Likewise.
16961 (inet6_option_alloc): Likewise.
16962 (inet6_option_next): Likewise.
16963 (inet6_option_find): Likewise.
16964 * io/ftw.c (FTW_NAME): Likewise.
16965 (NFTW_NAME): Likewise.
16966 (NFTW_NEW_NAME): Likewise.
16967 (NFTW_OLD_NAME): Likewise.
16968 * libio/iofwide.c (_IO_fwide): Likewise.
16969 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16970 (_IO_str_init_static): Likewise.
16971 (_IO_str_init_readonly): Likewise.
16972 (_IO_str_overflow): Likewise.
16973 (_IO_str_underflow): Likewise.
16974 (_IO_str_count): Likewise.
16975 (_IO_str_seekoff): Likewise.
16976 (_IO_str_pbackfail): Likewise.
16977 (_IO_str_finish): Likewise.
16978 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16979 (_IO_wstr_overflow): Likewise.
16980 (_IO_wstr_underflow): Likewise.
16981 (_IO_wstr_count): Likewise.
16982 (_IO_wstr_seekoff): Likewise.
16983 (_IO_wstr_pbackfail): Likewise.
16984 (_IO_wstr_finish): Likewise.
16985 * locale/programs/localedef.c (normalize_codeset): Likewise.
16986 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16987 (add_locales_to_archive): Likewise.
16988 (delete_locales_from_archive): Likewise.
16989 * malloc/malloc.c (__libc_mallinfo): Likewise.
16990 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16991 * misc/tsearch.c (__tfind): Likewise.
16992 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16993 * nptl/pthread_attr_getdetachstate.c
16994 (__pthread_attr_getdetachstate): Likewise.
16995 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16996 Likewise.
16997 * nptl/pthread_attr_getinheritsched.c
16998 (__pthread_attr_getinheritsched): Likewise.
16999 * nptl/pthread_attr_getschedparam.c
17000 (__pthread_attr_getschedparam): Likewise.
17001 * nptl/pthread_attr_getschedpolicy.c
17002 (__pthread_attr_getschedpolicy): Likewise.
17003 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17004 Likewise.
17005 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17006 Likewise.
17007 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17008 Likewise.
17009 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17010 Likewise.
17011 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17012 (__pthread_attr_init_2_0): Likewise.
17013 * nptl/pthread_attr_setdetachstate.c
17014 (__pthread_attr_setdetachstate): Likewise.
17015 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17016 Likewise.
17017 * nptl/pthread_attr_setinheritsched.c
17018 (__pthread_attr_setinheritsched): Likewise.
17019 * nptl/pthread_attr_setschedparam.c
17020 (__pthread_attr_setschedparam): Likewise.
17021 * nptl/pthread_attr_setschedpolicy.c
17022 (__pthread_attr_setschedpolicy): Likewise.
17023 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17024 Likewise.
17025 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17026 Likewise.
17027 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17028 Likewise.
17029 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17030 Likewise.
17031 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17032 Likewise.
17033 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17034 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17035 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17036 use internal_function.
17037 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17038 prototype-style function definition.
17039 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17040 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17041 internal_function.
17042 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17043 Convert to prototype-style function definition.
17044 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17045 Likewise.
17046 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17047 Likewise.
17048 (__pthread_mutex_unlock): Likewise.
17049 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17050 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17051 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17052 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17053 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17054 * nss/makedb.c (process_input): Likewise.
17055 * posix/fnmatch.c (__strchrnul): Likewise.
17056 (__wcschrnul): Likewise.
17057 (fnmatch): Likewise.
17058 * posix/fnmatch_loop.c (FCT): Likewise.
17059 * posix/glob.c (globfree): Likewise.
17060 (__glob_pattern_type): Likewise.
17061 (__glob_pattern_p): Likewise.
17062 * posix/regcomp.c (re_compile_pattern): Likewise.
17063 (re_set_syntax): Likewise.
17064 (re_compile_fastmap): Likewise.
17065 (regcomp): Likewise.
17066 (regerror): Likewise.
17067 (regfree): Likewise.
17068 * posix/regexec.c (regexec): Likewise.
17069 (re_match): Likewise.
17070 (re_search): Likewise.
17071 (re_match_2): Likewise.
17072 (re_search_2): Likewise.
17073 (re_search_stub): Likewise. Use internal_function
17074 (re_copy_regs): Likewise.
17075 (re_set_registers): Convert to prototype-style function
17076 definition.
17077 (prune_impossible_nodes): Likewise. Use internal_function.
17078 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17079 prototype-style function definition.
17080 (inet_net_pton_ipv4): Likewise.
17081 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17082 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17083 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17084 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17085 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17086 Make variadic.
17087 * time/strptime_l.c (localtime_r): Convert to prototype-style
17088 function definition.
17089 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17090 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17091 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17092 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17093
17094 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17095 definition.
17096 (_ufc_doit_r): Likewise.
17097 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17098 (_ufc_output_conversion_r): Likewise.
17099 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17100 * inet/rcmd.c (rcmd_af): Likewise.
17101 (rcmd): Likewise.
17102 (ruserok_af): Likewise.
17103 (ruserok): Likewise.
17104 (ruserok2_sa): Likewise.
17105 (ruserok_sa): Likewise.
17106 (iruserok_af): Likewise.
17107 (iruserok): Likewise.
17108 (__ivaliduser): Likewise.
17109 (__validuser2_sa): Likewise.
17110 * inet/rexec.c (rexec_af): Likewise.
17111 (rexec): Likewise.
17112 * inet/ruserpass.c (ruserpass): Likewise.
17113 * locale/programs/xmalloc.c (xcalloc): Likewise.
17114 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17115 * math/w_drem.c (__drem): Likewise.
17116 * math/w_dremf.c (__dremf): Likewise.
17117 * math/w_dreml.c (__dreml): Likewise.
17118 * misc/daemon.c (daemon): Likewise.
17119 * resolv/res_debug.c (p_fqnname): Likewise.
17120 * stdlib/div.c (div): Likewise.
17121 * string/memcmp.c (memcmp_bytes): Likewise.
17122 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17123 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17124
17125 * crypt/cert.c (main): Convert to prototype-style function
17126 definition.
17127 * io/pipe.c (__pipe): Likewise.
17128 * io/pipe2.c (__pipe2): Likewise.
17129 * misc/futimesat.c (futimesat): Likewise.
17130 * misc/utimes.c (__utimes): Likewise.
17131 * posix/execve.c (__execve): Likewise.
17132 * posix/execvp.c (execvp): Likewise.
17133 * posix/execvpe.c (__execvpe): Likewise.
17134 * posix/fexecve.c (fexecve): Likewise.
17135 * socket/socketpair.c (socketpair): Likewise.
17136 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17137 * stdlib/erand48.c (erand48): Likewise.
17138 * stdlib/erand48_r.c (__erand48_r): Likewise.
17139 * stdlib/jrand48.c (jrand48): Likewise.
17140 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17141 * stdlib/lcong48.c (lcong48): Likewise.
17142 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17143 * stdlib/nrand48.c (nrand48): Likewise.
17144 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17145 * stdlib/seed48.c (seed48): Likewise.
17146 * stdlib/seed48_r.c (__seed48_r): Likewise.
17147 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17148 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17149 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17150
17151 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17152
17153 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17154 * configure: Regenerated.
17155 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17156 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17157 unconditional.
17158 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17159 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17160 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17161 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17162 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17163 unconditional.
17164 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17165
17166 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17167 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17168
17169 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17170 function definition.
17171 * crypt/crypt_util.c (__encrypt_r): Likewise.
17172 * libio/genops.c (_IO_no_init): Likewise.
17173 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17174 (_IO_old_fopencookie): Likewise.
17175 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17176 * libio/iogetline.c (_IO_getline): Likewise.
17177 (_IO_getline_info): Likewise.
17178 * libio/iogetwline.c (_IO_getwline): Likewise.
17179 (_IO_getwline_info): Likewise.
17180 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17181 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17182 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17183 (find_entry): Likewise.
17184 (iterate_table): Likewise.
17185 (lookup): Likewise.
17186 * login/forkpty.c (forkpty): Likewise.
17187 * misc/hsearch_r.c (__hsearch_r): Likewise.
17188 * misc/select.c (__select): Likewise.
17189 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17190 Likewise.
17191 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17192 Likewise.
17193 * nptl/old_pthread_cond_timedwait.c
17194 (__pthread_cond_timedwait_2_0): Likewise.
17195 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17196 * nptl/pthread_barrierattr_getpshared.c
17197 (pthread_barrierattr_getpshared): Likewise.
17198 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17199 Likewise.
17200 * nptl/pthread_mutex_setprioceiling.c
17201 (pthread_mutex_setprioceiling): Likewise.
17202 * nptl/pthread_mutexattr_getprioceiling.c
17203 (pthread_mutexattr_getprioceiling): Likewise.
17204 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17205 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17206 Likewise.
17207 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17208 Likewise.
17209 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17210 Likewise.
17211 * socket/recvfrom.c (__recvfrom): Likewise.
17212 * socket/sendto.c (__sendto): Likewise.
17213 * socket/setsockopt.c (__setsockopt): Likewise.
17214 * stdio-common/_itoa.c (_itoa): Likewise.
17215 * stdio-common/_itowa.c (_itowa): Likewise.
17216 * stdio-common/reg-printf.c (__register_printf_specifier):
17217 Likewise.
17218 (__register_printf_function): Likewise.
17219 * stdio-common/tempname.c (__path_search): Likewise.
17220 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17221 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17222 * stdlib/random_r.c (__initstate_r): Likewise.
17223 * stdlib/setenv.c (__add_to_environ): Likewise.
17224 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17225 * streams/getpmsg.c (getpmsg): Likewise.
17226 * streams/putmsg.c (putmsg): Likewise.
17227 * streams/putpmsg.c (putpmsg): Likewise.
17228 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17229 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17230 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17231 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17232 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17233 * sunrpc/svc_udp.c (cache_get): Likewise.
17234 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17235 * sysdeps/mach/hurd/getcwd.c
17236 (__canonicalize_directory_name_internal): Likewise.
17237 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17238 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17239 * sysdeps/mach/hurd/select.c (__select): Likewise.
17240 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17241 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17242 * sysdeps/sparc/nptl/pthread_barrier_init.c
17243 (__pthread_barrier_init): Likewise.
17244 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17245 (__pthread_cond_timedwait): Likewise.
17246 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17247 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17248 Likewise.
17249 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17250 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17251 Likewise.
17252 * sysvipc/semtimedop.c (semtimedop): Likewise.
17253 * time/setitimer.c (__setitimer): Likewise.
17254 * time/strftime_l.c (emacs_strftime): Likewise.
17255
17256 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17257
17258 * config.make.in (have-ssp): Delete.
17259 (stack-protector): New variable.
17260 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17261 cache test for -fstack-protector-strong. Export stack_protector to
17262 the best ssp flag.
17263 * configure: Regenerated.
17264 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17265 * nscd/Makefile (CFLAGS-nscd): Likewise.
17266 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17267
17268 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17269
17270 [BZ #19122]
17271 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17272 attribute_hidden.
17273
17274 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17275
17276 [BZ #18743]
17277 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17278 code to...
17279 (ELIDE_LOCK): ...here.
17280 (__get_new_count): New function with part of the code from
17281 __elide_lock that updates the value of adapt_count after a
17282 transaction abort.
17283 (__elided_trylock): Moved this code to...
17284 (ELIDE_TRYLOCK): ...here.
17285
17286 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17287
17288 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17289 * configure: Regenerate.
17290 * INSTALL: Regenerate.
17291 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17292 and tweak grammar.
17293
17294 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17295
17296 * login/programs/pt_chown.c: Include signal.h
17297 (main): Clear any signal mask from the parent process.
17298
17299 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17300
17301 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17302 * configure: Regenerated.
17303 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17304 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17305 $(gnu89-inline-CFLAGS).
17306
17307 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17308 test.
17309 (libc_cv_asm_weakext_directive): Likewise.
17310 * configure: Regenerated.
17311 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17312 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17313 * include/libc-symbols.h
17314 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17315 #error.
17316 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17317 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17318
17319 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17320 prototype-style function definition.
17321 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17322 * sysdeps/i386/ffs.c (__ffs): Likewise.
17323 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17324 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17325 Likewise.
17326 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17327 Likewise.
17328 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17330 Likewise.
17331 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17332 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17333 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17334 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17335 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17336 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17337 * sysdeps/mach/hurd/access.c (__access): Likewise.
17338 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17339 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17340 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17341 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17342 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17343 (cthread_getspecific): Likewise.
17344 (cthread_setspecific): Likewise.
17345 (__libc_getspecific): Likewise.
17346 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17347 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17348 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17349 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17350 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17351 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17352 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17353 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17354 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17355 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17356 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17357 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17358 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17359 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17360 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17361 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17362 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17363 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17364 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17365 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17366 * sysdeps/mach/hurd/link.c (__link): Likewise.
17367 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17368 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17369 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17370 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17371 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17372 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17373 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17374 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17375 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17376 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17377 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17378 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17379 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17380 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17381 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17382 * sysdeps/mach/hurd/send.c (__send): Likewise.
17383 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17384 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17385 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17386 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17387 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17388 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17389 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17390 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17391 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17392 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17393 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17394 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17395 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17396 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17397 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17398 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17399 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17400 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17401 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17402 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17403 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17404 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17405 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17406 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17407 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17408 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17409 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17410 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17411 * sysdeps/posix/alarm.c (alarm): Likewise.
17412 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17413 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17414 * sysdeps/posix/dup.c (__dup): Likewise.
17415 * sysdeps/posix/dup2.c (__dup2): Likewise.
17416 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17417 (main): Likewise.
17418 * sysdeps/posix/flock.c (__flock): Likewise.
17419 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17420 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17421 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17422 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17423 * sysdeps/posix/isatty.c (__isatty): Likewise.
17424 * sysdeps/posix/killpg.c (killpg): Likewise.
17425 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17426 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17427 * sysdeps/posix/raise.c (raise): Likewise.
17428 * sysdeps/posix/remove.c (remove): Likewise.
17429 * sysdeps/posix/rename.c (rename): Likewise.
17430 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17431 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17432 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17433 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17434 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17435 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17436 * sysdeps/posix/sigset.c (sigset): Likewise.
17437 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17438 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17439 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17440 * sysdeps/posix/time.c (time): Likewise.
17441 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17442 (ttyname): Likewise.
17443 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17444 * sysdeps/posix/utime.c (utime): Likewise.
17445 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17446 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17447 Likewise.
17448 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17449 (pthread_spin_trylock): Likewise.
17450 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17451 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17452 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17453 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17454 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17455 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17456 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17457 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17458 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17459 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17460 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17461 * sysdeps/s390/ffs.c (__ffs): Likewise.
17462 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17463 Likewise.
17464 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17465 Likewise.
17466 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17467 Likewise.
17468 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17469 (pthread_barrier_destroy): Likewise.
17470 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17471 (__pthread_barrier_wait): Likewise.
17472 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17473 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17474 (__pthread_barrier_wait): Likewise.
17475 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17476 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17477 (memcmp_not_common_alignment): Likewise.
17478 (MEMCMP): Likewise.
17479 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17480 (_wordcopy_fwd_dest_aligned): Likewise.
17481 (_wordcopy_bwd_aligned): Likewise.
17482 (_wordcopy_bwd_dest_aligned): Likewise.
17483 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17484 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17485 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17486 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17487 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17488 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17489 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17490 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17491 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17492 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17493 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17494 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17495 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17496 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17497 * sysdeps/unix/stime.c (stime): Likewise.
17498 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17499 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17500 Likewise. Use internal_function.
17501 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17502 Convert to prototype-style function definition.
17503 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17504 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17505 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17506 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17507 Likewise. Use internal_function.
17508 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17509 prototype-style function definition
17510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17511 Likewise.
17512 (__getlogin_r): Likewise.
17513 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17514 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17515 (__pthread_cond_broadcast): Likewise.
17516 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17517 (__pthread_cond_destroy): Likewise.
17518 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17519 (__pthread_cond_init): Likewise.
17520 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17521 (__pthread_cond_signal): Likewise.
17522 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17523 (__pthread_cond_wait): Likewise.
17524 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17525 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17526 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17527 Likewise.
17528 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17529 Likewise.
17530 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17531 Likewise.
17532 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17533 Likewise.
17534 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17536 (__ftruncate64): Likewise.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17538 (truncate64): Likewise.
17539 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17540 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17541 (pthread_getcpuclockid): Likewise.
17542 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17543 Likewise.
17544 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17545 Likewise.
17546 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17547 Likewise.
17548 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17549 Likewise.
17550 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17551 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17552 (__libc_sigaction): Likewise.
17553 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17554 Likewise.
17555 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17556 (__sigprocmask): Likewise.
17557 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17558 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17559 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17561 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17562 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17563 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17564 Likewise.
17565 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17566 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17567 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17568 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17570 Likewise.
17571 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17572 (__sigprocmask): Likewise.
17573 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17574 (cfgetispeed): Likewise.
17575 (cfsetospeed): Likewise.
17576 (cfsetispeed): Likewise.
17577 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17578 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17579 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17580 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17581 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17582 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17583 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17584 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17585 Likewise.
17586 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17587 Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17589 Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17591 Likewise.
17592 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17593
17594 2015-10-17 Florian Weimer <fweimer@redhat.com>
17595
17596 sunrpc: Rewrite with explicit TLS access using __thread.
17597 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17598 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17599 directly.
17600 (__rpc_thread_variables): Access thread_rpc_vars directly.
17601 Eliminate redundant assignment of the tvp variable.
17602
17603 2015-10-17 Florian Weimer <fweimer@redhat.com>
17604
17605 malloc: Rewrite with explicit TLS access using __thread.
17606 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17607 (tsd_setspecific, tsd_getspecific): Remove.
17608 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17609 (tsd_setspecific, tsd_getspecific): Likewise.
17610 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17611 (tsd_setspecific, tsd_getspecific): Likewise.
17612 * malloc/arena.c (thread_arena): New TLS variable.
17613 (arena_key): Remove variable.
17614 (arena_get): Use thread_arena.
17615 (arena_lookup): Remove macro.
17616 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17617 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17618 (_int_new_arena, get_free_list, reused_arena)
17619 (arena_thread_freeres): Use thread_arena.
17620 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17621 tsd_getspecific, tsd_setspecific from safety annotations.
17622 (Allocating Cleared Space): Remove arena_lookup from safety
17623 annotations.
17624
17625 2015-10-17 Florian Weimer <fweimer@redhat.com>
17626
17627 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17628 struct scratch_buffer instead of extend_alloca.
17629
17630 2015-10-17 Florian Weimer <fweimer@redhat.com>
17631
17632 * sysdeps/unix/sysv/linux/kernel-features.h
17633 (__ASSUME_SOCK_CLOEXEC): Remove.
17634 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17635 (__have_paccept): Remove unused macro.
17636 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17637 * misc/syslog.c (openlog_internal): Remove fallback code for
17638 !__ASSUME_SOCK_CLOEXEC.
17639 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17640 missing SOCK_CLOEXEC.
17641 * nscd/connections.c (have_sock_cloexec): Remove definition.
17642 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17643 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17644 !__ASSUME_SOCK_CLOEXEC.
17645 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17646 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17647 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17648 definition.
17649 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17650 code for !__ASSUME_SOCK_CLOEXEC.
17651
17652 2015-10-17 Florian Weimer <fweimer@redhat.com>
17653
17654 [BZ #18982]
17655 * manual/stdio.texi (Variable Arguments Output): Add portability
17656 note, explaining that vfprintf clobbers the va_list pointer.
17657
17658 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17659
17660 * math/libm-test.inc (fabs_test_data): Add more tests.
17661 (fdim_test_data): Likewise.
17662 (fma_test_data): Likewise.
17663 (fmax_test_data): Likewise.
17664 (fmin_test_data): Likewise.
17665 (fmod_test_data): Likewise.
17666
17667 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17668
17669 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17670 data.
17671
17672 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17673
17674 * math/libm-test.inc (ceil_test_data): Add more tests and more
17675 expectations for "inexact".
17676 (floor_test_data): Add more tests.
17677 (round_test_data): Likewise.
17678 (trunc_test_data): Likewise.
17679
17680 * crypt/cert.c (good_bye): Convert to prototype-style function
17681 definition.
17682 (get8): Likewise.
17683 (put8): Likewise.
17684 * crypt/crypt-entry.c (crypt): Likewise.
17685 (__fcrypt): Likewise.
17686 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17687 (_ufc_set_bits): Likewise.
17688 (_ufc_clearmem): Likewise.
17689 (__init_des_r): Likewise.
17690 (shuffle_sb): Likewise.
17691 (shuffle_sb): Likewise.
17692 (_ufc_setup_salt_r): Likewise.
17693 (_ufc_mk_keytab_r): Likewise.
17694 (_ufc_dofinalperm_r): Likewise.
17695 (encrypt): Likewise.
17696 (__setkey_r): Likewise.
17697 (setkey): Likewise.
17698 * crypt/md5.c (md5_init_ctx): Likewise.
17699 (md5_read_ctx): Likewise.
17700 (md5_finish_ctx): Likewise.
17701 (md5_stream): Likewise.
17702 (md5_buffer): Likewise.
17703 (md5_process_bytes): Likewise.
17704 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17705 (__sha256_finish_ctx): Likewise.
17706 (__sha256_process_bytes): Likewise.
17707 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17708 (__sha512_finish_ctx): Likewise.
17709 (__sha512_process_bytes): Likewise.
17710 * ctype/isctype.c (__isctype): Likewise.
17711 * debug/backtrace.c (__backtrace): Likewise.
17712 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17713 * debug/fgets_chk.c (__fgets_chk): Likewise.
17714 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17715 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17716 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17717 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17718 * debug/memset_chk.c (__memset_chk): Likewise.
17719 * debug/strcat_chk.c (__strcat_chk): Likewise.
17720 * debug/strncat_chk.c (__strncat_chk): Likewise.
17721 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17722 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17723 * dirent/dirfd.c (dirfd): Likewise.
17724 * dirent/getdents.c (__getdirentries): Likewise.
17725 * dirent/getdents64.c (getdirentries64): Likewise.
17726 * dirent/rewinddir.c (__rewinddir): Likewise.
17727 * dirent/seekdir.c (seekdir): Likewise.
17728 * dirent/telldir.c (telldir): Likewise.
17729 * elf/sln.c (makesymlinks): Likewise.
17730 (makesymlink): Likewise.
17731 * gmon/gmon.c (__moncontrol): Likewise.
17732 (__monstartup): Likewise.
17733 (write_hist): Likewise.
17734 (write_call_graph): Likewise.
17735 (write_bb_counts): Likewise.
17736 * grp/setgroups.c (setgroups): Likewise.
17737 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17738 * inet/inet_net.c (inet_network): Likewise.
17739 * inet/inet_netof.c (inet_netof): Likewise.
17740 * inet/rcmd.c (rresvport_af): Likewise.
17741 (rresvport): Likewise.
17742 * io/access.c (__access): Likewise.
17743 * io/chdir.c (__chdir): Likewise.
17744 * io/chmod.c (__chmod): Likewise.
17745 * io/chown.c (__chown): Likewise.
17746 * io/close.c (__close): Likewise.
17747 * io/creat.c (creat): Likewise.
17748 * io/creat64.c (creat64): Likewise.
17749 * io/dup.c (__dup): Likewise.
17750 * io/dup2.c (__dup2): Likewise.
17751 * io/dup3.c (__dup3): Likewise.
17752 * io/euidaccess.c (__euidaccess): Likewise.
17753 * io/faccessat.c (faccessat): Likewise.
17754 * io/fchmod.c (__fchmod): Likewise.
17755 * io/fchmodat.c (fchmodat): Likewise.
17756 * io/fchown.c (__fchown): Likewise.
17757 * io/fchownat.c (fchownat): Likewise.
17758 * io/fcntl.c (__fcntl): Likewise.
17759 * io/flock.c (__flock): Likewise.
17760 * io/fts.c (fts_load): Likewise.
17761 (fts_close): Likewise.
17762 (fts_read): Likewise.
17763 (fts_set): Likewise.
17764 (fts_children): Likewise.
17765 (fts_build): Likewise.
17766 (fts_stat): Likewise.
17767 (fts_sort): Likewise.
17768 (fts_alloc): Likewise.
17769 (fts_lfree): Likewise.
17770 (fts_palloc): Likewise.
17771 (fts_padjust): Likewise.
17772 (fts_maxarglen): Likewise.
17773 (fts_safe_changedir): Likewise.
17774 * io/getwd.c (getwd): Likewise.
17775 * io/isatty.c (__isatty): Likewise.
17776 * io/lchown.c (__lchown): Likewise.
17777 * io/link.c (__link): Likewise.
17778 * io/linkat.c (linkat): Likewise.
17779 * io/lseek.c (__libc_lseek): Likewise.
17780 * io/mkdir.c (__mkdir): Likewise.
17781 * io/mkdirat.c (mkdirat): Likewise.
17782 * io/mkfifo.c (mkfifo): Likewise.
17783 * io/mkfifoat.c (mkfifoat): Likewise.
17784 * io/open.c (__libc_open): Likewise.
17785 * io/open64.c (__libc_open64): Likewise.
17786 * io/readlink.c (__readlink): Likewise.
17787 * io/readlinkat.c (readlinkat): Likewise.
17788 * io/rmdir.c (__rmdir): Likewise.
17789 * io/symlink.c (__symlink): Likewise.
17790 * io/symlinkat.c (symlinkat): Likewise.
17791 * io/ttyname.c (ttyname): Likewise.
17792 * io/ttyname_r.c (__ttyname_r): Likewise.
17793 * io/umask.c (__umask): Likewise.
17794 * io/unlink.c (__unlink): Likewise.
17795 * io/unlinkat.c (unlinkat): Likewise.
17796 * io/utime.c (utime): Likewise.
17797 * libio/clearerr.c (clearerr): Likewise.
17798 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17799 * libio/feof.c (_IO_feof): Likewise.
17800 * libio/feof_u.c (feof_unlocked): Likewise.
17801 * libio/ferror.c (_IO_ferror): Likewise.
17802 * libio/ferror_u.c (ferror_unlocked): Likewise.
17803 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17804 * libio/fileno.c (__fileno): Likewise.
17805 * libio/fputc.c (fputc): Likewise.
17806 * libio/fputc_u.c (fputc_unlocked): Likewise.
17807 * libio/fputwc.c (fputwc): Likewise.
17808 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17809 * libio/freopen.c (freopen): Likewise.
17810 * libio/freopen64.c (freopen64): Likewise.
17811 * libio/fseek.c (fseek): Likewise.
17812 * libio/fseeko.c (fseeko): Likewise.
17813 * libio/fseeko64.c (fseeko64): Likewise.
17814 * libio/ftello.c (__ftello): Likewise.
17815 * libio/ftello64.c (ftello64): Likewise.
17816 * libio/fwide.c (fwide): Likewise.
17817 * libio/genops.c (_IO_un_link): Likewise.
17818 (_IO_link_in): Likewise.
17819 (_IO_least_marker): Likewise.
17820 (_IO_switch_to_main_get_area): Likewise.
17821 (_IO_switch_to_backup_area): Likewise.
17822 (_IO_switch_to_get_mode): Likewise.
17823 (_IO_free_backup_area): Likewise.
17824 (_IO_switch_to_put_mode): Likewise.
17825 (__overflow): Likewise.
17826 (__underflow): Likewise.
17827 (__uflow): Likewise.
17828 (_IO_setb): Likewise.
17829 (_IO_doallocbuf): Likewise.
17830 (_IO_default_underflow): Likewise.
17831 (_IO_default_uflow): Likewise.
17832 (_IO_default_xsputn): Likewise.
17833 (_IO_sgetn): Likewise.
17834 (_IO_default_xsgetn): Likewise.
17835 (_IO_sync): Likewise.
17836 (_IO_default_setbuf): Likewise.
17837 (_IO_default_seekpos): Likewise.
17838 (_IO_default_doallocate): Likewise.
17839 (_IO_init): Likewise.
17840 (_IO_old_init): Likewise.
17841 (_IO_default_sync): Likewise.
17842 (_IO_default_finish): Likewise.
17843 (_IO_default_seekoff): Likewise.
17844 (_IO_sputbackc): Likewise.
17845 (_IO_sungetc): Likewise.
17846 (_IO_set_column): Likewise.
17847 (_IO_set_column): Likewise.
17848 (_IO_adjust_column): Likewise.
17849 (_IO_get_column): Likewise.
17850 (_IO_init_marker): Likewise.
17851 (_IO_remove_marker): Likewise.
17852 (_IO_marker_difference): Likewise.
17853 (_IO_marker_delta): Likewise.
17854 (_IO_seekmark): Likewise.
17855 (_IO_unsave_markers): Likewise.
17856 (_IO_nobackup_pbackfail): Likewise.
17857 (_IO_default_pbackfail): Likewise.
17858 (_IO_default_seek): Likewise.
17859 (_IO_default_stat): Likewise.
17860 (_IO_default_read): Likewise.
17861 (_IO_default_write): Likewise.
17862 (_IO_default_showmanyc): Likewise.
17863 (_IO_default_imbue): Likewise.
17864 (_IO_iter_next): Likewise.
17865 (_IO_iter_file): Likewise.
17866 * libio/getc.c (_IO_getc): Likewise.
17867 * libio/getwc.c (_IO_getwc): Likewise.
17868 * libio/iofclose.c (_IO_new_fclose): Likewise.
17869 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17870 * libio/iofflush.c (_IO_fflush): Likewise.
17871 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17872 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17873 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17874 * libio/iofgets.c (_IO_fgets): Likewise.
17875 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17876 * libio/iofgetws.c (fgetws): Likewise.
17877 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17878 * libio/iofopen64.c (_IO_fopen64): Likewise.
17879 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17880 (_IO_cookie_write): Likewise.
17881 (_IO_cookie_seek): Likewise.
17882 (_IO_cookie_close): Likewise.
17883 (_IO_cookie_seekoff): Likewise.
17884 (_IO_old_cookie_seek): Likewise.
17885 * libio/iofputs.c (_IO_fputs): Likewise.
17886 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17887 * libio/iofputws.c (fputws): Likewise.
17888 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17889 * libio/iofread.c (_IO_fread): Likewise.
17890 * libio/iofread_u.c (__fread_unlocked): Likewise.
17891 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17892 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17893 * libio/ioftell.c (_IO_ftell): Likewise.
17894 * libio/iofwrite.c (_IO_fwrite): Likewise.
17895 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17896 * libio/iogets.c (_IO_gets): Likewise.
17897 * libio/iopadn.c (_IO_padn): Likewise.
17898 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17899 (_IO_new_popen): Likewise.
17900 (_IO_new_proc_close): Likewise.
17901 * libio/ioputs.c (_IO_puts): Likewise.
17902 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17903 (_IO_seekoff): Likewise.
17904 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17905 (_IO_seekpos): Likewise.
17906 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17907 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17908 * libio/ioungetc.c (_IO_ungetc): Likewise.
17909 * libio/ioungetwc.c (ungetwc): Likewise.
17910 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17911 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17912 * libio/iowpadn.c (_IO_wpadn): Likewise.
17913 * libio/libc_fatal.c (__libc_fatal): Likewise.
17914 * libio/memstream.c (__open_memstream): Likewise.
17915 (_IO_mem_sync): Likewise.
17916 (_IO_mem_finish): Likewise.
17917 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17918 (_IO_old_file_close_it): Likewise.
17919 (_IO_old_file_finish): Likewise.
17920 (_IO_old_file_fopen): Likewise.
17921 (_IO_old_file_attach): Likewise.
17922 (_IO_old_file_setbuf): Likewise.
17923 (_IO_old_do_write): Likewise.
17924 (old_do_write): Likewise.
17925 (_IO_old_file_underflow): Likewise.
17926 (_IO_old_file_overflow): Likewise.
17927 (_IO_old_file_sync): Likewise.
17928 (_IO_old_file_seekoff): Likewise.
17929 (_IO_old_file_write): Likewise.
17930 (_IO_old_file_xsputn): Likewise.
17931 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17932 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17933 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17934 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17935 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17936 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17937 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17938 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17939 (_IO_old_popen): Likewise.
17940 (_IO_old_proc_close): Likewise.
17941 * libio/oldpclose.c (__old_pclose): Likewise.
17942 * libio/pclose.c (__new_pclose): Likewise.
17943 * libio/peekc.c (_IO_peekc_locked): Likewise.
17944 * libio/putc.c (_IO_putc): Likewise.
17945 * libio/putc_u.c (putc_unlocked): Likewise.
17946 * libio/putchar.c (putchar): Likewise.
17947 * libio/putchar_u.c (putchar_unlocked): Likewise.
17948 * libio/putwc.c (putwc): Likewise.
17949 * libio/putwc_u.c (putwc_unlocked): Likewise.
17950 * libio/putwchar.c (putwchar): Likewise.
17951 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17952 * libio/rewind.c (rewind): Likewise.
17953 * libio/setbuf.c (setbuf): Likewise.
17954 * libio/setlinebuf.c (setlinebuf): Likewise.
17955 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17956 * libio/vscanf.c (_IO_vscanf): Likewise.
17957 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17958 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17959 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17960 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17961 (_IO_switch_to_main_wget_area): Likewise.
17962 (_IO_switch_to_wbackup_area): Likewise.
17963 (_IO_wsetb): Likewise.
17964 (_IO_wdefault_pbackfail): Likewise.
17965 (_IO_wdefault_finish): Likewise.
17966 (_IO_wdefault_uflow): Likewise.
17967 (__woverflow): Likewise.
17968 (__wuflow): Likewise.
17969 (__wunderflow): Likewise.
17970 (_IO_wdefault_xsputn): Likewise.
17971 (_IO_wdefault_xsgetn): Likewise.
17972 (_IO_wdoallocbuf): Likewise.
17973 (_IO_wdefault_doallocate): Likewise.
17974 (_IO_switch_to_wget_mode): Likewise.
17975 (_IO_free_wbackup_area): Likewise.
17976 (_IO_switch_to_wput_mode): Likewise.
17977 (_IO_sputbackwc): Likewise.
17978 (_IO_sungetwc): Likewise.
17979 (_IO_adjust_wcolumn): Likewise.
17980 (_IO_init_wmarker): Likewise.
17981 (_IO_wmarker_delta): Likewise.
17982 (_IO_seekwmark): Likewise.
17983 (_IO_unsave_wmarkers): Likewise.
17984 * libio/wmemstream.c (open_wmemstream): Likewise.
17985 (_IO_wmem_sync): Likewise.
17986 (_IO_wmem_finish): Likewise.
17987 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17988 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17989 * locale/programs/simple-hash.c (init_hash): Likewise.
17990 (delete_hash): Likewise.
17991 (insert_entry): Likewise.
17992 (set_entry): Likewise.
17993 (next_prime): Likewise.
17994 (is_prime): Likewise.
17995 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17996 (xmalloc): Likewise.
17997 (xrealloc): Likewise.
17998 * locale/programs/xstrdup.c (xstrdup): Likewise.
17999 * localedata/collate-test.c (xstrcoll): Likewise.
18000 * localedata/xfrm-test.c (xstrcmp): Likewise.
18001 * login/getlogin_r.c (__getlogin_r): Likewise.
18002 * login/getpt.c (__posix_openpt): Likewise.
18003 * login/login_tty.c (login_tty): Likewise.
18004 * login/setlogin.c (setlogin): Likewise.
18005 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18006 (mach_msg_destroy_port): Likewise.
18007 (mach_msg_destroy_memory): Likewise.
18008 * malloc/mcheck.c (flood): Likewise.
18009 * misc/acct.c (acct): Likewise.
18010 * misc/brk.c (__brk): Likewise.
18011 * misc/chflags.c (chflags): Likewise.
18012 * misc/chroot.c (chroot): Likewise.
18013 * misc/fchflags.c (fchflags): Likewise.
18014 * misc/fstab.c (getfsspec): Likewise.
18015 (getfsfile): Likewise.
18016 * misc/fsync.c (fsync): Likewise.
18017 * misc/ftruncate.c (__ftruncate): Likewise.
18018 * misc/ftruncate64.c (__ftruncate64): Likewise.
18019 * misc/getdomain.c (getdomainname): Likewise.
18020 (getdomainname): Likewise.
18021 * misc/gethostname.c (__gethostname): Likewise.
18022 * misc/getpass.c (getpass): Likewise.
18023 * misc/getttyent.c (skip): Likewise.
18024 (value): Likewise.
18025 * misc/gtty.c (gtty): Likewise.
18026 * misc/hsearch.c (hsearch): Likewise.
18027 (hcreate): Likewise.
18028 * misc/hsearch_r.c (__hcreate_r): Likewise.
18029 (__hdestroy_r): Likewise.
18030 * misc/ioctl.c (__ioctl): Likewise.
18031 * misc/mkdtemp.c (mkdtemp): Likewise.
18032 * misc/mkostemp.c (mkostemp): Likewise.
18033 * misc/mkostemp64.c (mkostemp64): Likewise.
18034 * misc/mkostemps.c (mkostemps): Likewise.
18035 * misc/mkostemps64.c (mkostemps64): Likewise.
18036 * misc/mkstemp.c (mkstemp): Likewise.
18037 * misc/mkstemp64.c (mkstemp64): Likewise.
18038 * misc/mkstemps.c (mkstemps): Likewise.
18039 * misc/mkstemps64.c (mkstemps64): Likewise.
18040 * misc/mktemp.c (__mktemp): Likewise.
18041 * misc/preadv.c (preadv): Likewise.
18042 * misc/preadv64.c (preadv64): Likewise.
18043 * misc/pwritev.c (pwritev): Likewise.
18044 * misc/pwritev64.c (pwritev64): Likewise.
18045 * misc/readv.c (__readv): Likewise.
18046 * misc/revoke.c (revoke): Likewise.
18047 * misc/setdomain.c (setdomainname): Likewise.
18048 * misc/setegid.c (setegid): Likewise.
18049 * misc/seteuid.c (seteuid): Likewise.
18050 * misc/sethostid.c (sethostid): Likewise.
18051 * misc/sethostname.c (sethostname): Likewise.
18052 * misc/setregid.c (__setregid): Likewise.
18053 * misc/setreuid.c (__setreuid): Likewise.
18054 * misc/sstk.c (sstk): Likewise.
18055 * misc/stty.c (stty): Likewise.
18056 * misc/syscall.c (syscall): Likewise.
18057 * misc/syslog.c (setlogmask): Likewise.
18058 * misc/truncate.c (__truncate): Likewise.
18059 * misc/truncate64.c (truncate64): Likewise.
18060 * misc/ualarm.c (ualarm): Likewise.
18061 * misc/usleep.c (usleep): Likewise.
18062 * misc/ustat.c (ustat): Likewise.
18063 * misc/writev.c (__writev): Likewise.
18064 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18065 * nptl/old_pthread_cond_broadcast.c
18066 (__pthread_cond_broadcast_2_0): Likewise.
18067 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18068 Likewise.
18069 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18070 Likewise.
18071 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18072 Likewise.
18073 * nptl/pt-raise.c (raise): Likewise.
18074 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18075 Likewise.
18076 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18077 * nptl/pthread_barrierattr_destroy.c
18078 (pthread_barrierattr_destroy): Likewise.
18079 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18080 Likewise.
18081 * nptl/pthread_barrierattr_setpshared.c
18082 (pthread_barrierattr_setpshared): Likewise.
18083 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18084 Likewise.
18085 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18086 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18087 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18088 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18089 Likewise.
18090 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18091 Likewise.
18092 * nptl/pthread_condattr_getpshared.c
18093 (pthread_condattr_getpshared): Likewise.
18094 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18095 Likewise.
18096 * nptl/pthread_condattr_setpshared.c
18097 (pthread_condattr_setpshared): Likewise.
18098 * nptl/pthread_detach.c (pthread_detach): Likewise.
18099 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18100 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18101 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18102 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18103 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18104 Likewise.
18105 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18106 Likewise.
18107 * nptl/pthread_mutex_getprioceiling.c
18108 (pthread_mutex_getprioceiling): Likewise.
18109 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18110 Likewise.
18111 * nptl/pthread_mutexattr_getprotocol.c
18112 (pthread_mutexattr_getprotocol): Likewise.
18113 * nptl/pthread_mutexattr_getpshared.c
18114 (pthread_mutexattr_getpshared): Likewise.
18115 * nptl/pthread_mutexattr_getrobust.c
18116 (pthread_mutexattr_getrobust): Likewise.
18117 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18118 Likewise.
18119 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18120 Likewise.
18121 * nptl/pthread_mutexattr_setprioceiling.c
18122 (pthread_mutexattr_setprioceiling): Likewise.
18123 * nptl/pthread_mutexattr_setprotocol.c
18124 (pthread_mutexattr_setprotocol): Likewise.
18125 * nptl/pthread_mutexattr_setpshared.c
18126 (pthread_mutexattr_setpshared): Likewise.
18127 * nptl/pthread_mutexattr_setrobust.c
18128 (pthread_mutexattr_setrobust): Likewise.
18129 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18130 Likewise.
18131 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18132 Likewise.
18133 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18134 Likewise.
18135 * nptl/pthread_rwlockattr_getkind_np.c
18136 (pthread_rwlockattr_getkind_np): Likewise.
18137 * nptl/pthread_rwlockattr_getpshared.c
18138 (pthread_rwlockattr_getpshared): Likewise.
18139 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18140 Likewise.
18141 * nptl/pthread_rwlockattr_setkind_np.c
18142 (pthread_rwlockattr_setkind_np): Likewise.
18143 * nptl/pthread_rwlockattr_setpshared.c
18144 (pthread_rwlockattr_setpshared): Likewise.
18145 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18146 Likewise.
18147 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18148 Likewise.
18149 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18150 Likewise.
18151 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18152 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18153 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18154 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18155 * nptl/sem_close.c (sem_close): Likewise.
18156 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18157 * nptl/sem_init.c (__old_sem_init): Likewise.
18158 * nptl/sigaction.c (__sigaction): Likewise.
18159 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18160 * posix/_exit.c (_exit): Likewise.
18161 * posix/alarm.c (alarm): Likewise.
18162 * posix/confstr.c (confstr): Likewise.
18163 * posix/fpathconf.c (__fpathconf): Likewise.
18164 * posix/getgroups.c (__getgroups): Likewise.
18165 * posix/getpgid.c (__getpgid): Likewise.
18166 * posix/group_member.c (__group_member): Likewise.
18167 * posix/pathconf.c (__pathconf): Likewise.
18168 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18169 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18170 * posix/setgid.c (__setgid): Likewise.
18171 * posix/setpgid.c (__setpgid): Likewise.
18172 * posix/setuid.c (__setuid): Likewise.
18173 * posix/sleep.c (__sleep): Likewise.
18174 * posix/sysconf.c (__sysconf): Likewise.
18175 * posix/times.c (__times): Likewise.
18176 * posix/uname.c (__uname): Likewise.
18177 * posix/waitid.c (__waitid): Likewise.
18178 * pwd/getpw.c (__getpw): Likewise.
18179 * resolv/base64.c (b64_pton): Likewise.
18180 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18181 * resolv/gethnamaddr.c (Dprintf): Likewise.
18182 (gethostbyname): Likewise.
18183 (gethostbyname2): Likewise.
18184 (gethostbyaddr): Likewise.
18185 (_sethtent): Likewise.
18186 (_gethtbyname): Likewise.
18187 (_gethtbyname2): Likewise.
18188 (_gethtbyaddr): Likewise.
18189 (map_v4v6_address): Likewise.
18190 (map_v4v6_hostent): Likewise.
18191 (addrsort): Likewise.
18192 (ht_sethostent): Likewise.
18193 (ht_gethostbyname): Likewise.
18194 (ht_gethostbyaddr): Likewise.
18195 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18196 (inet_net_ntop_ipv4): Likewise.
18197 * resolv/inet_neta.c (inet_neta): Likewise.
18198 * resolv/inet_ntop.c (inet_ntop): Likewise.
18199 (inet_ntop4): Likewise.
18200 (inet_ntop6): Likewise.
18201 * resolv/inet_pton.c (__inet_pton): Likewise.
18202 (inet_pton4): Likewise.
18203 (inet_pton6): Likewise.
18204 * resolv/res_debug.c (loc_aton): Likewise.
18205 (loc_ntoa): Likewise.
18206 * resource/getpriority.c (__getpriority): Likewise.
18207 * resource/getrusage.c (__getrusage): Likewise.
18208 * resource/nice.c (nice): Likewise.
18209 * resource/setpriority.c (__setpriority): Likewise.
18210 * resource/setrlimit64.c (setrlimit64): Likewise.
18211 * resource/vlimit.c (vlimit): Likewise.
18212 * resource/vtimes.c (vtimes): Likewise.
18213 * rt/aio_error.c (aio_error): Likewise.
18214 * rt/aio_return.c (aio_return): Likewise.
18215 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18216 * signal/kill.c (__kill): Likewise.
18217 * signal/killpg.c (killpg): Likewise.
18218 * signal/raise.c (raise): Likewise.
18219 * signal/sigaction.c (__sigaction): Likewise.
18220 * signal/sigaddset.c (sigaddset): Likewise.
18221 * signal/sigaltstack.c (sigaltstack): Likewise.
18222 * signal/sigandset.c (sigandset): Likewise.
18223 * signal/sigblock.c (__sigblock): Likewise.
18224 * signal/sigdelset.c (sigdelset): Likewise.
18225 * signal/sigempty.c (sigemptyset): Likewise.
18226 * signal/sigfillset.c (sigfillset): Likewise.
18227 * signal/sighold.c (sighold): Likewise.
18228 * signal/sigignore.c (sigignore): Likewise.
18229 * signal/sigintr.c (siginterrupt): Likewise.
18230 * signal/sigisempty.c (sigisemptyset): Likewise.
18231 * signal/sigismem.c (sigismember): Likewise.
18232 * signal/signal.c (signal): Likewise.
18233 * signal/sigorset.c (sigorset): Likewise.
18234 * signal/sigpause.c (__sigpause): Likewise.
18235 * signal/sigpending.c (sigpending): Likewise.
18236 * signal/sigprocmask.c (__sigprocmask): Likewise.
18237 * signal/sigrelse.c (sigrelse): Likewise.
18238 * signal/sigreturn.c (__sigreturn): Likewise.
18239 * signal/sigset.c (sigset): Likewise.
18240 * signal/sigsetmask.c (__sigsetmask): Likewise.
18241 * signal/sigstack.c (sigstack): Likewise.
18242 * signal/sigsuspend.c (__sigsuspend): Likewise.
18243 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18244 * signal/sysv_signal.c (__sysv_signal): Likewise.
18245 * socket/accept.c (accept): Likewise.
18246 * socket/accept4.c (__libc_accept4): Likewise.
18247 * socket/bind.c (__bind): Likewise.
18248 * socket/connect.c (__connect): Likewise.
18249 * socket/getpeername.c (getpeername): Likewise.
18250 * socket/getsockname.c (__getsockname): Likewise.
18251 * socket/getsockopt.c (getsockopt): Likewise.
18252 * socket/listen.c (__listen): Likewise.
18253 * socket/recv.c (__recv): Likewise.
18254 * socket/recvmsg.c (__recvmsg): Likewise.
18255 * socket/send.c (__send): Likewise.
18256 * socket/sendmsg.c (__sendmsg): Likewise.
18257 * socket/shutdown.c (shutdown): Likewise.
18258 * socket/sockatmark.c (sockatmark): Likewise.
18259 * socket/socket.c (__socket): Likewise.
18260 * stdio-common/ctermid.c (ctermid): Likewise.
18261 * stdio-common/cuserid.c (cuserid): Likewise.
18262 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18263 * stdio-common/remove.c (remove): Likewise.
18264 * stdio-common/rename.c (rename): Likewise.
18265 * stdio-common/renameat.c (renameat): Likewise.
18266 * stdio-common/tempname.c (__gen_tempname): Likewise.
18267 * stdio-common/xbug.c (InitBuffer): Likewise.
18268 (AppendToBuffer): Likewise.
18269 (ReadFile): Likewise.
18270 * stdlib/a64l.c (a64l): Likewise.
18271 * stdlib/drand48_r.c (drand48_r): Likewise.
18272 * stdlib/getcontext.c (getcontext): Likewise.
18273 * stdlib/getenv.c (getenv): Likewise.
18274 * stdlib/l64a.c (l64a): Likewise.
18275 * stdlib/llabs.c (llabs): Likewise.
18276 * stdlib/lldiv.c (lldiv): Likewise.
18277 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18278 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18279 * stdlib/putenv.c (putenv): Likewise.
18280 * stdlib/random.c (__srandom): Likewise.
18281 (__initstate): Likewise.
18282 (__setstate): Likewise.
18283 * stdlib/random_r.c (__srandom_r): Likewise.
18284 (__setstate_r): Likewise.
18285 (__random_r): Likewise.
18286 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18287 * stdlib/setcontext.c (setcontext): Likewise.
18288 * stdlib/setenv.c (setenv): Likewise.
18289 (unsetenv): Likewise.
18290 * stdlib/srand48.c (srand48): Likewise.
18291 * stdlib/srand48_r.c (__srand48_r): Likewise.
18292 * stdlib/swapcontext.c (swapcontext): Likewise.
18293 * stdlib/system.c (__libc_system): Likewise.
18294 * stdlib/tst-strtod.c (expand): Likewise.
18295 * stdlib/tst-strtol.c (expand): Likewise.
18296 * stdlib/tst-strtoll.c (expand): Likewise.
18297 * streams/fattach.c (fattach): Likewise.
18298 * streams/fdetach.c (fdetach): Likewise.
18299 * streams/getmsg.c (getmsg): Likewise.
18300 * streams/isastream.c (isastream): Likewise.
18301 * string/ffs.c (__ffs): Likewise.
18302 * string/ffsll.c (ffsll): Likewise.
18303 * string/memcmp.c (memcmp_common_alignment): Likewise.
18304 (memcmp_not_common_alignment): Likewise.
18305 (MEMCMP): Likewise.
18306 * string/memcpy.c (memcpy): Likewise.
18307 * string/memmove.c (MEMMOVE): Likewise.
18308 * string/memset.c (memset): Likewise.
18309 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18310 * string/strchrnul.c (STRCHRNUL): Likewise.
18311 * string/strerror.c (strerror): Likewise.
18312 * string/strndup.c (__strndup): Likewise.
18313 * string/strverscmp.c (__strverscmp): Likewise.
18314 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18315 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18316 (clnttcp_freeres): Likewise.
18317 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18318 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18319 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18320 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18321 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18322 (xdr_callhdr): Likewise.
18323 * sunrpc/rpcinfo.c (udpping): Likewise.
18324 (tcpping): Likewise.
18325 (pstatus): Likewise.
18326 (pmapdump): Likewise.
18327 (brdcst): Likewise.
18328 (deletereg): Likewise.
18329 (getprognum): Likewise.
18330 (getvers): Likewise.
18331 (get_inet_address): Likewise.
18332 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18333 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18334 (svcudp_stat): Likewise.
18335 (svcudp_recv): Likewise.
18336 (svcudp_reply): Likewise.
18337 (svcudp_getargs): Likewise.
18338 (svcudp_freeargs): Likewise.
18339 (svcudp_destroy): Likewise.
18340 * sunrpc/xdr.c (xdr_bytes): Likewise.
18341 (xdr_netobj): Likewise.
18342 (xdr_string): Likewise.
18343 (xdr_wrapstring): Likewise.
18344 * sunrpc/xdr_float.c (xdr_float): Likewise.
18345 (xdr_double): Likewise.
18346 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18347 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18348 * sysvipc/ftok.c (ftok): Likewise.
18349 * sysvipc/msgctl.c (msgctl): Likewise.
18350 * sysvipc/msgget.c (msgget): Likewise.
18351 * sysvipc/msgrcv.c (msgrcv): Likewise.
18352 * sysvipc/msgsnd.c (msgsnd): Likewise.
18353 * sysvipc/semget.c (semget): Likewise.
18354 * sysvipc/semop.c (semop): Likewise.
18355 * sysvipc/shmat.c (shmat): Likewise.
18356 * sysvipc/shmctl.c (shmctl): Likewise.
18357 * sysvipc/shmdt.c (shmdt): Likewise.
18358 * sysvipc/shmget.c (shmget): Likewise.
18359 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18360 * termios/speed.c (cfgetospeed): Likewise.
18361 (cfgetispeed): Likewise.
18362 (cfsetospeed): Likewise.
18363 (cfsetispeed): Likewise.
18364 * termios/tcflow.c (tcflow): Likewise.
18365 * termios/tcflush.c (tcflush): Likewise.
18366 * termios/tcgetattr.c (__tcgetattr): Likewise.
18367 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18368 * termios/tcgetsid.c (tcgetsid): Likewise.
18369 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18370 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18371 * time/adjtime.c (__adjtime): Likewise.
18372 * time/dysize.c (dysize): Likewise.
18373 * time/ftime.c (ftime): Likewise.
18374 * time/getitimer.c (__getitimer): Likewise.
18375 * time/gettimeofday.c (__gettimeofday): Likewise.
18376 * time/gmtime.c (__gmtime_r): Likewise.
18377 (gmtime): Likewise.
18378 * time/localtime.c (__localtime_r): Likewise.
18379 (localtime): Likewise.
18380 * time/offtime.c (__offtime): Likewise.
18381 * time/settimeofday.c (__settimeofday): Likewise.
18382 * time/stime.c (stime): Likewise.
18383 * time/strftime_l.c (tm_diff): Likewise.
18384 (iso_week_days): Likewise.
18385 * time/strptime.c (strptime): Likewise.
18386 * time/time.c (time): Likewise.
18387 * time/timespec_get.c (timespec_get): Likewise.
18388 * time/tzset.c (tzset_internal): Likewise.
18389 (compute_change): Likewise.
18390 (__tz_compute): Likewise.
18391 * wcsmbs/btowc.c (__btowc): Likewise.
18392 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18393 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18394 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18395 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18396 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18397 * wcsmbs/wcscat.c (__wcscat): Likewise.
18398 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18399 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18400 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18401 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18402 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18403 * wcsmbs/wcslen.c (__wcslen): Likewise.
18404 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18405 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18406 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18407 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18408 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18409 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18410 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18411 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18412 * wcsmbs/wcstok.c (wcstok): Likewise.
18413 * wcsmbs/wctob.c (wctob): Likewise.
18414 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18415 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18416 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18417 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18418 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18419 * wcsmbs/wmemset.c (__wmemset): Likewise.
18420 * wctype/wcfuncs.c (__towlower): Likewise.
18421 (__towupper): Likewise.
18422
18423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18424 (lll_unlock_elision): Add adapt_count parameter.
18425
18426 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18427
18428 * sysdeps/nptl/configure.ac: Do not give errors based on the
18429 results of top-level configure tests.
18430 * sysdeps/nptl/configure: Regenerated.
18431
18432 * configure.ac (libc_cv_Bgroup): Remove configure test.
18433 * configure: Regenerated.
18434 * config.make.in (have-Bgroup): Remove variable.
18435
18436 * configure.ac (sizeof_long_double): Remove configure test.
18437 * configure: Regenerated.
18438 * config.make.in (sizeof-long-double): Remove variable.
18439
18440 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18441 * configure: Regenerated.
18442 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18443 variable.
18444 (exceptions): Likewise.
18445 * sysdeps/arm/configure: Regenerated.
18446 * config.make.in (exceptions): Remove variable.
18447 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18448 $(exceptions).
18449 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18450 (CFLAGS-vdprintf_chk.c): Likewise.
18451 (CFLAGS-printf_chk.c): Likewise.
18452 (CFLAGS-fprintf_chk.c): Likewise.
18453 (CFLAGS-vprintf_chk.c): Likewise.
18454 (CFLAGS-vfprintf_chk.c): Likewise.
18455 (CFLAGS-gets_chk.c): Likewise.
18456 (CFLAGS-fgets_chk.c): Likewise.
18457 (CFLAGS-fgets_u_chk.c): Likewise.
18458 (CFLAGS-fread_chk.c): Likewise.
18459 (CFLAGS-fread_u_chk.c): Likewise.
18460 (CFLAGS-wprintf_chk.c): Likewise.
18461 (CFLAGS-fwprintf_chk.c): Likewise.
18462 (CFLAGS-vwprintf_chk.c): Likewise.
18463 (CFLAGS-vfwprintf_chk.c): Likewise.
18464 (CFLAGS-fgetws_chk.c): Likewise.
18465 (CFLAGS-fgetws_u_chk.c): Likewise.
18466 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18467 (CFLAGS-fputc.c): Likewise.
18468 (CFLAGS-fputwc.c): Likewise.
18469 (CFLAGS-freopen64.c): Likewise.
18470 (CFLAGS-freopen.c): Likewise.
18471 (CFLAGS-fseek.c): Likewise.
18472 (CFLAGS-fseeko64.c): Likewise.
18473 (CFLAGS-fseeko.c): Likewise.
18474 (CFLAGS-ftello64.c): Likewise.
18475 (CFLAGS-ftello.c): Likewise.
18476 (CFLAGS-fwide.c): Likewise.
18477 (CFLAGS-genops.c): Likewise.
18478 (CFLAGS-getc.c): Likewise.
18479 (CFLAGS-getchar.c): Likewise.
18480 (CFLAGS-getwc.c): Likewise.
18481 (CFLAGS-getwchar.c): Likewise.
18482 (CFLAGS-iofclose.c): Likewise.
18483 (CFLAGS-iofflush.c): Likewise.
18484 (CFLAGS-iofgetpos64.c): Likewise.
18485 (CFLAGS-iofgetpos.c): Likewise.
18486 (CFLAGS-iofgets.c): Likewise.
18487 (CFLAGS-iofgetws.c): Likewise.
18488 (CFLAGS-iofputs.c): Likewise.
18489 (CFLAGS-iofputws.c): Likewise.
18490 (CFLAGS-iofread.c): Likewise.
18491 (CFLAGS-iofsetpos64.c): Likewise.
18492 (CFLAGS-iofsetpos.c): Likewise.
18493 (CFLAGS-ioftell.c): Likewise.
18494 (CFLAGS-iofwrite.c): Likewise.
18495 (CFLAGS-iogetdelim.c): Likewise.
18496 (CFLAGS-iogetline.c): Likewise.
18497 (CFLAGS-iogets.c): Likewise.
18498 (CFLAGS-iogetwline.c): Likewise.
18499 (CFLAGS-ioputs.c): Likewise.
18500 (CFLAGS-ioseekoff.c): Likewise.
18501 (CFLAGS-ioseekpos.c): Likewise.
18502 (CFLAGS-iosetbuffer.c): Likewise.
18503 (CFLAGS-iosetvbuf.c): Likewise.
18504 (CFLAGS-ioungetc.c): Likewise.
18505 (CFLAGS-ioungetwc.c): Likewise.
18506 (CFLAGS-oldfileops.c): Likewise.
18507 (CFLAGS-oldiofclose.c): Likewise.
18508 (CFLAGS-oldiofgetpos64.c): Likewise.
18509 (CFLAGS-oldiofgetpos.c): Likewise.
18510 (CFLAGS-oldiofsetpos64.c): Likewise.
18511 (CFLAGS-oldiofsetpos.c): Likewise.
18512 (CFLAGS-peekc.c): Likewise.
18513 (CFLAGS-putc.c): Likewise.
18514 (CFLAGS-putchar.c): Likewise.
18515 (CFLAGS-putwc.c): Likewise.
18516 (CFLAGS-putwchar.c): Likewise.
18517 (CFLAGS-rewind.c): Likewise.
18518 (CFLAGS-wfileops.c): Likewise.
18519 (CFLAGS-wgenops.c): Likewise.
18520 (CFLAGS-oldiofopen.c): Likewise.
18521 (CFLAGS-iofopen.c): Likewise.
18522 (CFLAGS-iofopen64.c): Likewise.
18523 (CFLAGS-oldtmpfile.c): Likewise.
18524 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18525 (CFLAGS-fprintf.c): Likewise.
18526 (CFLAGS-printf.c): Likewise.
18527 (CFLAGS-vfwprintf.c): Likewise.
18528 (CFLAGS-vfscanf.c): Likewise.
18529 (CFLAGS-vfwscanf.c): Likewise.
18530 (CFLAGS-fscanf.c): Likewise.
18531 (CFLAGS-scanf.c): Likewise.
18532 (CFLAGS-isoc99_vfscanf.c): Likewise.
18533 (CFLAGS-isoc99_vscanf.c): Likewise.
18534 (CFLAGS-isoc99_fscanf.c): Likewise.
18535 (CFLAGS-isoc99_scanf.c): Likewise.
18536 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18537 (CFLAGS-isoc99_fwscanf.c): Likewise.
18538 (CFLAGS-isoc99_vwscanf.c): Likewise.
18539 (CFLAGS-isoc99_vfwscanf.c): Likewise.
18540
18541 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18542 after mkstemp64.
18543 * login/tst-utmp.c (do_prepare): Likewise.
18544 * rt/tst-aio.c (do_prepare): Likewise.
18545 * rt/tst-aio64.c (do_prepare): Likewise.
18546
18547 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18548
18549 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18550 (__lll_lock_elision): Remove adapt_count decrement...
18551 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18552 (__lll_trylock_elision): Likewise.
18553 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18554 (__lll_unlock_elision): ... to here. And utilize
18555 new adapt_count parameter.
18556 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18557 (__lll_unlock_elision): Update to include adapt_count
18558 parameter.
18559 (lll_unlock_elision): Pass pointer to adapt_count
18560 variable.
18561
18562 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18563
18564 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18565 Add elision adapt_count parameter to list of arguments.
18566 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18567 (lll_unlock_elision): Update with new parameter list
18568 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18569 (lll_unlock_elision): Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18571 (lll_unlock_elision): Likewise.
18572
18573 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18574
18575 [BZ #19122]
18576 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18577 attribute_hidden.
18578
18579 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18580 attribute_hidden.
18581 [IS_IN (rtld)] (__strdup): Likewise.
18582 [IS_IN (rtld)] (__strerror_r): Likewise.
18583 [IS_IN (rtld)] (__strsep_g): Likewise.
18584 [IS_IN (rtld)] (memchr): Likewise.
18585 [IS_IN (rtld)] (memcmp): Likewise.
18586 [IS_IN (rtld)] (memcpy): Likewise.
18587 [IS_IN (rtld)] (memmove): Likewise.
18588 [IS_IN (rtld)] (memset): Likewise.
18589 [IS_IN (rtld)] (rawmemchr): Likewise.
18590 [IS_IN (rtld)] (stpcpy): Likewise.
18591 [IS_IN (rtld)] (strchr): Likewise.
18592 [IS_IN (rtld)] (strcmp): Likewise.
18593 [IS_IN (rtld)] (strlen): Likewise.
18594 [IS_IN (rtld)] (strnlen): Likewise.
18595 [IS_IN (rtld)] (strsep): Likewise.
18596
18597 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18598 attribute_hidden.
18599 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18600
18601 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18602 attribute_hidden.
18603 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18604
18605 * include/setjmp.h (__longjmp): Add attribute_hidden.
18606 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18607
18608 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18609 Add attribute_hidden.
18610
18611 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18612 [IS_IN (rtld)] (__open): Likewise.
18613 [IS_IN (rtld)] (__fcntl): Likewise.
18614
18615 * include/dirent.h (__opendirat): Add attribute_hidden.
18616 (__getdents): Likewise.
18617 (__getdents64): Likewise.
18618 (__alloc_dir): Likewise.
18619 [IS_IN (rtld)] (__closedir): Likewise.
18620 [IS_IN (rtld)] (__fdopendir): Likewise.
18621 [IS_IN (rtld)] (__readdir): Likewise.
18622 [IS_IN (rtld)] (__readdir64): Likewise.
18623 [IS_IN (rtld)] (__rewinddir): Likewise.
18624
18625 * include/dlfcn.h (_dl_catch_error): Moved to ...
18626 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18627 attribute_hidden.
18628
18629 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18630 (_itoa_word): Likewise.
18631
18632 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18633 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18634 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18635 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18636 (_dl_higher_prime_number): Likewise.
18637 (_dl_debug_printf_c): Likewise.
18638 (_dl_signal_cerror): Likewise.
18639 (_dl_receive_error): Likewise.
18640 (_dl_reloc_bad_type): Likewise.
18641 (_dl_resolve_conflicts): Likewise.
18642 (_dl_check_all_versions): Likewise.
18643 (_dl_check_map_versions): Likewise.
18644 (_dl_sort_fini): Likewise.
18645 (_dl_debug_initialize): Likewise.
18646 (_dl_init_paths): Likewise.
18647 (_dl_show_auxv): Likewise.
18648 (_dl_next_ld_env_entry): Likewise.
18649 (_dl_important_hwcaps): Likewise.
18650 (_dl_load_cache_lookup): Likewise.
18651 (_dl_update_slotinfo): Likewise.
18652 (_dl_show_scope): Likewise.
18653
18654 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18655 attribute_hidden.
18656 (_wordcopy_fwd_dest_aligned): Likewise.
18657 (_wordcopy_bwd_aligned): Likewise.
18658 (_wordcopy_bwd_dest_aligned): Likewise.
18659
18660 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18661 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18662 Likewise.
18663 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18664 Likewise.
18665 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18666
18667 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18670 GCC 5 requirement.
18671
18672 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18673
18674 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18675 test.
18676 * sysdeps/i386/configure: Regenerated.
18677 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18678 code unconditional.
18679
18680 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18681 test.
18682 (libc_cv_asm_popsection_directive): Likewise.
18683 * configure: Regenerated.
18684 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18685 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18686 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18687 (__make_section_unallocated): Make definition unconditional.
18688 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18689 Remove conditional definition.
18690 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18691 (__make_section_unallocated): Likewise.
18692
18693 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18694 * configure: Regenerated.
18695 * config.make.in (static-libgcc): Remove variable.
18696 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18697 $(static-libgcc).
18698 (build-module-helper): Likewise.
18699
18700 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18701 * configure: Regenerated.
18702
18703 2015-10-15 Florian Weimer <fweimer@redhat.com>
18704
18705 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18706 (struct char_buffer): New type.
18707 (char_buffer_start, char_buffer_size, char_buffer_error)
18708 (char_buffer_rewind, char_buffer_add): New functions.
18709 (ADDW): Remove macro, replaced by the char_buffer_add function.
18710 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18711 of extend_alloca. Make control flow more explicit.
18712
18713 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18714
18715 [BZ #19137]
18716 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18717 Add -fomit-frame-pointer.
18718 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18719
18720 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18721
18722 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18723 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18725 only if !__GNUC_PREREQ (5,0).
18726 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18727 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18728 (INTERNAL_SYSCALL_NCS): Likewise.
18729 (LOADREGS_0): New macro for GCC 5.
18730 (ASMARGS_0): Likewise.
18731 (LOADREGS_1): Likewise.
18732 (ASMARGS_1): Likewise.
18733 (LOADREGS_2): Likewise.
18734 (ASMARGS_2): Likewise.
18735 (LOADREGS_3): Likewise.
18736 (ASMARGS_3): Likewise.
18737 (LOADREGS_4): Likewise.
18738 (ASMARGS_4): Likewise.
18739 (LOADREGS_5): Likewise.
18740 (ASMARGS_5): Likewise.
18741 (LOADREGS_6): Likewise.
18742 (ASMARGS_6): Likewise.
18743
18744 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18745
18746 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18747 -fomit-frame-pointer.
18748 (CFLAGS-mmap64.c): Likewise.
18749 (CFLAGS-semtimedop.c): Likewise.
18750 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18751 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18752 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18753 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18754
18755 2015-10-15 Florian Weimer <fweimer@redhat.com>
18756
18757 [BZ #18928]
18758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18759 _dl_pointer_guard member.
18760 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18761 initializer.
18762 (security_init): Always set up pointer guard.
18763 (process_envvars): Do not process LD_POINTER_GUARD.
18764
18765 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18766
18767 [BZ #19134]
18768 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18769 (.LC2): Likewise.
18770 (.LC3): Likewise.
18771 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18772
18773 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18774
18775 [BZ #19129]
18776 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18777 r0 and r1.
18778
18779 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18780
18781 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18782
18783 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18784
18785 * include/stap-probe.h: Fix macro definition formatting.
18786
18787 2015-10-14 Florian Weimer <fweimer@redhat.com>
18788
18789 [BZ #19074]
18790 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18791 load and store num_ifs.
18792
18793 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18794
18795 [BZ #18822]
18796 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18797 (__sched_getaffinity_new): Add libc_hidden_proto and
18798 libc_hidden_def.
18799
18800 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 [BZ #19007]
18803 * scripts/localplt.awk: Also allow GOT references.
18804 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18805 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18806 with "+ REL R_386_GLOB_DAT".
18807 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18808 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18809
18810 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18811
18812 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18813 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18814 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18815 Likewise.
18816 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18817 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18818 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18819 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18820 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18821 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18822 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18823 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18824 Likewise.
18825 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18826
18827 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18828
18829 [BZ #19125]
18830 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18831 <math_private.h> and <stdint.h>.
18832 (__llround): Avoid conversions to and from long long int, and
18833 subtractions, where those might raise spurious exceptions.
18834 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18835 <math_private.h> and <stdint.h>.
18836 (__llroundf): Avoid conversions to and from long long int, and
18837 subtractions, where those might raise spurious exceptions.
18838
18839 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18840
18841 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18842 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18843 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18844 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18845 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18846 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18847 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18848 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18849 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18850 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18851 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18852 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18853 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18854 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18855 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18856 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18857 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18858 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18859 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18860 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18862 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18863 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18864 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18865 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18866 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18867 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18868 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18869 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18870 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18871 (__xstat64_conv): Likewise.
18872 (__xstat32_conv): Likewise.
18873
18874 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18875
18876 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18877 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18878 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18879 <sysdeps/unix/sysv/linux/sysdep.h>.
18880 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18881 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18882 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18883 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18884 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18885 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18886 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18887 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18888 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18891 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18894 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18896 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18897 (sysdep-dl-routines): Add sysdep.
18898 [$(subdir) == nptl] (libpthread-routines): Likewise.
18899 [$(subdir) == rt] (librt-routines): Likewise.
18900 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18901 PIC when branching to SYSCALL_ERROR_LABEL.
18902 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18903 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18904 <sysdeps/unix/sysv/linux/sysdep.h>.
18905 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18906 (SYSCALL_ERROR_ERRNO): Removed.
18907 (SYSCALL_ERROR_HANDLER): Changed to empty.
18908 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18909 (__syscall_error): New prototype.
18910 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18911 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18912
18913 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18914
18915 [BZ #19124]
18916 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18917 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18918 _dl_runtime_resolve_avx.
18919 (_dl_runtime_profile_avx512): Make it a hidden alias of
18920 _dl_runtime_profile_avx.
18921
18922 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18923
18924 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18925 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18926 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18927 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18928
18929 [BZ #16422]
18930 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18931 New configure test.
18932 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18933 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18934 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18935 <math_private.h> and <stdint.h>.
18936 (__llrint): Avoid conversions to long long int where those might
18937 raise spurious exceptions.
18938 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18939 <math_private.h> and <stdint.h>.
18940 (__llrintf): Avoid conversions to long long int where those might
18941 raise spurious exceptions.
18942
18943 2015-10-12 Andreas Schwab <schwab@suse.de>
18944
18945 [BZ #18969]
18946 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18947 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18948 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18949 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18950 $(gen-locales).
18951 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18952 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18953 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18954 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18955 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18956 $(gen-locales).
18957 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18958 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18959 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18960 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18961 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18962 ($(objpfx)tst-ftell-active-handler.out)
18963 ($(objpfx)tst-ftell-append.out)
18964 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18965 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18966 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18967 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18968 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18969 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18970 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18971 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18972 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18973 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18974 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18975 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18976 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18977 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18978 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18979 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18980 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18981 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18982 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18983 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18984 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18985 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18986 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18987 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18988 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18989 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18990 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18991 $(gen-locales).
18992 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18993 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18994 $(gen-locales).
18995 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18996 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18997 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18998 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18999 $(gen-locales).
19000 * libio/tst_wprintf2.c (main): Use explicit locale.
19001 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19002
19003 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19004
19005 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19006 __msg_sig_post.
19007 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19008
19009 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19010
19011 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19012 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19013
19014 * sysdeps/arm/libm-test-ulps: Regenerated.
19015
19016 [BZ #15470]
19017 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19018
19019 [BZ #16399]
19020 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19021 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19022 and <fix-fp-int-convert-overflow.h>.
19023 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19024 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19025 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19026 and <fix-fp-int-convert-overflow.h>.
19027 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19028 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19029 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19030 <fix-fp-int-convert-overflow.h>.
19031 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19032 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19033 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19034 <fix-fp-int-convert-overflow.h>.
19035 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19036 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19037 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19038 and <fix-fp-int-convert-overflow.h>.
19039 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19040 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19041 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19042 <limits.h> and <fix-fp-int-convert-overflow.h>.
19043 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19044 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19045 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19046 and <fix-fp-int-convert-overflow.h>.
19047 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19048 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19049 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19050 and <fix-fp-int-convert-overflow.h>.
19051 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19052 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19053 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19054
19055 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19056
19057 [BZ #18589]
19058 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19059 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19060 $(gen-locales).
19061
19062 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19063 Phil Blundell <pb@pbcl.net>
19064
19065 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19066 * nptl/tst-cancel26.c: New file.
19067 * nptl/tst-cancel27.c: Likewise.
19068
19069 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19070
19071 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19072 __ILP32__ isn't defined.
19073 (lrint): Likewise.
19074 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19075 (lrintf): Likewise.
19076 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19077 (lrintl): Likewise.
19078 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19079 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19080 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19081
19082 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19083
19084 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19085 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19086
19087 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19088 file.
19089 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19090 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19091
19092 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19093
19094 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19095 configure test.
19096 * sysdeps/i386/configure: Regenerated.
19097 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19098 configure test.
19099 * sysdeps/x86_64/configure: Regenerated.
19100 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19101 Make code unconditional.
19102
19103 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19104 test.
19105 * sysdeps/i386/configure: Regenerated.
19106 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19107 test.
19108 * sysdeps/x86_64/configure: Regenerated.
19109 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19110 Make code unconditional.
19111 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19112 Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19114 Likewise.
19115 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19116 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19117 code unconditional.
19118 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19119 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19120 code unconditional.
19121 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19122 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19123 code unconditional.
19124 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19125 code unconditional.
19126 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19127 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19128 code unconditional.
19129 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19130 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19131 code unconditional.
19132 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19133 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19134 code unconditional.
19135 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19136 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19137 code unconditional.
19138 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19139 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19140
19141 [BZ #19095]
19142 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19143 mantissa to long int before shifting left.
19144
19145 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19146
19147 [BZ #19094]
19148 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19149 <limits.h>.
19150 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19151 when result overflows but exception would not result from cast.
19152 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19153 <limits.h>.
19154 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19155 when result overflows but exception would not result from cast.
19156 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19157 <limits.h>.
19158 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19159 when result overflows but exception would not result from cast.
19160 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19161 <limits.h>.
19162 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19163 when result overflows but exception would not result from cast.
19164 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19165 <limits.h>.
19166 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19167 when result overflows but exception would not result from cast.
19168 * math/libm-test.inc (lrint_test_data): Add more tests.
19169 (llrint_test_data): Likewise.
19170
19171 2015-10-08 Roland McGrath <roland@hack.frob.com>
19172
19173 [BZ #18872]
19174 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19175 Move out from under [$(run-built-tests) = yes] conditional.
19176 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19177 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19178
19179 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19180
19181 [BZ #18589]
19182 * string/Makefile (tests): Add bug-strcoll2.
19183 (LOCALES): Add cs_CZ.UTF-8.
19184 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19185
19186 [BZ #18589]
19187 * string/bug-strcoll2.c: New file.
19188 * locale/categories.def: Revert commit
19189 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19190 * locale/langinfo.h: Likewise.
19191 * locale/localeinfo.h: Likewise.
19192 * locale/C-collate.c: Likewise.
19193 * locale/programs/ld-collate.c (collate_output): Likewise.
19194 * string/strcoll_l.c (STRDIFF): Likewise.
19195 (STRCOLL): Likewise.
19196 * wcsmbs/wcscoll_l.c: Likewise.
19197
19198 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19199
19200 * math/libm-test.inc (lround_test_data): Do not expect the absence
19201 of "inexact" for some tests with non-integer arguments.
19202 (llround_test_data): Likewise.
19203
19204 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19205 test.
19206 (libc_cv_cc_sse2avx): Likewise.
19207 * sysdeps/i386/configure: Regenerated.
19208 * sysdeps/i386/i686/multiarch/Makefile
19209 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19210 [$(subdir) = math].
19211 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19212 code unconditional.
19213 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19214 Likewise.
19215 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19216 Likewise.
19217 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19218 Likewise.
19219 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19220 test.
19221 (libc_cv_cc_sse2avx): Likewise.
19222 * sysdeps/x86_64/configure: Regenerated.
19223 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19224 unconditional.
19225 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19226 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19227 unconditional.
19228 (_dl_runtime_profile)
19229 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19230 conditional code.
19231 * sysdeps/x86_64/fpu/multiarch/Makefile
19232 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19233 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19234 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19235 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19236 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19237 * sysdeps/x86_64/fpu/multiarch/e_log.c
19238 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19239 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19240 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19241 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19242 Likewise.
19243 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19244 Likewise.
19245 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19246 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19247 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19248 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19249 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19250 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19251 (HAVE_SSE2AVX_SUPPORT): Likewise.
19252
19253 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19254
19255 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19256 instead of #pragma optimize.
19257
19258 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19259
19260 [BZ #17195]
19261 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19262 as is similarly done in systrim and _int_free already.
19263
19264 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19265
19266 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19267
19268 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19269
19270 [BZ #19088]
19271 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19272 <limits.h>.
19273 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19274 overflows but exception would not result from cast.
19275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19276 and <limits.h>.
19277 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19278 overflows but exception would not result from cast.
19279 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19280 <limits.h>.
19281 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19282 overflows but exception would not result from cast.
19283 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19284 <limits.h>.
19285 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19286 overflows but exception would not result from cast.
19287 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19288 <limits.h>.
19289 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19290 overflows but exception would not result from cast.
19291 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19292 <limits.h>.
19293 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19294 overflows but exception would not result from cast.
19295 * math/libm-test.inc (lround_test_data): Add more tests.
19296 (llround_test_data): Likewise.
19297
19298 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19299
19300 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19301 (CFLAGS-ialloc.c): Ditto.
19302 (CFLAGS-scheck.c): Ditto.
19303
19304 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19305
19306 [BZ #19086]
19307 * manual/filesys.texi (Storage Allocation): Fix argument order for
19308 posix_fallocate64.
19309
19310 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19311
19312 [BZ #19085]
19313 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19314 exponent below 48 inside case for non-overflowing exponent.
19315 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19316
19317 2015-10-07 Florian Weimer <fweimer@redhat.com>
19318
19319 * iconvdata/cp737.h (from_idx): Add const.
19320 * iconvdata/cp775.h (from_idx): Likewise.
19321
19322 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19323
19324 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19325 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19326 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19327
19328 [BZ #19079]
19329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19330 file, conditioned on [!_LP64].
19331 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19332 [!_LP64] (__lround): Do not define as function or alias.
19333 [!_LP64] (lround): Likewise.
19334 [!_LP64] (__lroundl): Likewise.
19335 [!_LP64] (lroundl): Likewise.
19336 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19337 macro.
19338 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19339 Likewise.
19340
19341 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19342
19343 * math/libm-test.inc (lrint_test_data): Add more tests.
19344 (llrint_test_data): Likewise.
19345 (lround_test_data): Likewise.
19346 (llround_test_data): Likewise.
19347
19348 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19349 (llrint_test_data): Add tests used for lrint.
19350
19351 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19352 test.
19353 * sysdeps/i386/configure: Regenerated.
19354 * sysdeps/i386/i686/multiarch/Makefile
19355 [$(config-cflags-sse4) = yes]: Make code unconditional.
19356 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19357 Likewise.
19358 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19359 Likewise.
19360 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19361 test.
19362 * sysdeps/x86_64/configure: Regenerated.
19363 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19364 Make code unconditional.
19365 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19366 Likewise.
19367 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19368 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19369
19370 * scripts/rpm2dynsym.sh: Remove file.
19371
19372 2015-10-06 Florian Weimer <fweimer@redhat.com>
19373
19374 * configure.ac (libc_cv_cxx_thread_local): Define.
19375 * configure: Regenerate.
19376 * config.make.in (have-cxx-thread_local): Define.
19377 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19378 (LDLIBS-tst-thread_local1): Define.
19379 (tests): Add tst-thread_local1.
19380 [have-cxx-thread_local != yes] (tests-unsupported): Add
19381 tst-thread_local1.
19382 * nptl/tst-thread_local1.cc: New file.
19383
19384 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19385
19386 [BZ #19078]
19387 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19388 (u_thres): Likewise.
19389 (__expl): Determine whether to call __kernel_standard_l based on
19390 value of result, not argument.
19391
19392 * math/libm-test.inc (scalb_test_data): Add more expectations for
19393 the "inexact" exception.
19394
19395 [BZ #19077]
19396 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19397 0.0L for argument 1.0L.
19398
19399 [BZ #19076]
19400 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19401 constant 0.0L when computing infinite result.
19402
19403 2015-10-06 Florian Weimer <fweimer@redhat.com>
19404
19405 [BZ #10432]
19406 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19407 malloc_usable_size.
19408
19409 2015-10-06 Florian Weimer <fweimer@redhat.com>
19410
19411 [BZ #19018]
19412 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19413 Mangle function pointer before storing it.
19414 (__call_tls_dtors): Demangle function pointer before calling it.
19415
19416 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19417
19418 [BZ #19012]
19419 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19420 Clean up on failure.
19421
19422 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19423
19424 [BZ #19071]
19425 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19426 long int variable to store possibly incremented high part of
19427 mantissa.
19428 * math/libm-test.inc (lround_test_data): Add tests used for
19429 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19430 for tests requiring 64-bit long. Do not condition tests on
19431 [TEST_FLOAT] unnecessarily.
19432 (llround_test_data): Add tests used for lround. Add another
19433 expectation for the "inexact" exception. Do not condition tests
19434 on [TEST_FLOAT] unnecessarily.
19435
19436 [BZ #887]
19437 [BZ #19049]
19438 [BZ #19050]
19439 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19440 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19441 <fix-int-fp-convert-zero.h>.
19442 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19443 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19444 <fix-int-fp-convert-zero.h>.
19445 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19446 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19447 <fix-int-fp-convert-zero.h>.
19448 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19449 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19450 <fix-int-fp-convert-zero.h>.
19451 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19452 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19453 <fix-int-fp-convert-zero.h>.
19454 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19455 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19456 <fix-int-fp-convert-zero.h>.
19457 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19458 * sysdeps/ieee754/flt-32/s_erff.c: Include
19459 <fix-int-fp-convert-zero.h>.
19460 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19461 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19462 <fix-int-fp-convert-zero.h>.
19463 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19465 <fix-int-fp-convert-zero.h>.
19466 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19468 <fix-int-fp-convert-zero.h>.
19469 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19470 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19471 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19472 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19473 file.
19474 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19475
19476 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19477
19478 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19479
19480 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19481
19482 [BZ #19059]
19483 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19484 overflowing computation.
19485 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19486 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19487 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19488 Likewise.
19489 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19490 Likewise.
19491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19492 Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19494 Likewise.
19495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19497 Likewise.
19498 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19499 Likewise.
19500 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19501
19502 * nss/rewrite_field.c (__nss_rewrite_field): Use
19503 internal_function.
19504 * nss/valid_field.c (__nss_valid_field): Likewise.
19505 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19506
19507 2015-10-02 Florian Weimer <fweimer@redhat.com>
19508
19509 [BZ #18724]
19510 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19511 (__nss_invalid_field_characters, __nss_valid_field)
19512 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19513 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19514 tst-field.c: New file.
19515 * nss/Makefile (routines): Add valid_field, rewrite_field.
19516 (tests-static): Define unconditionally.
19517 (tests): Include tests-static.
19518 [build-static-nss] (tests-static): Use append.
19519 [build-static-nss] (tests): Remove modification.
19520 * nss/getent.c (print_group): Call putgrent. Report error.
19521 (print_gshadow): Call putsgent. Report error.
19522 (print_passwd): Call putpwent. Report error.
19523 (print_shadow): Call putspent. Report error.
19524 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19525 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19526 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
19527 name, password, directory, shell fields for valid syntax. Rewrite
19528 GECOS field to match syntax.
19529 * pwd/Makefile (tests): Add tst-putpwent.
19530 * pwd/tst-putpwent.c: New file.
19531 * grp/putgrent.c (putgrent): Convert to ISO function definition.
19532 Check grName, grpasswd, gr_mem fields for valid syntax.
19533 Change loop variable i to size_t.
19534 * grp/Makefile (tests): Add tst-putgrent.
19535 * grp/tst-putgrent.c: New file.
19536 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19537 valid syntax.
19538 * shadow/Makefile (tests): Add tst-putspent.
19539 * shadow/tst-putspent.c: New file.
19540 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19541 sg_mem fields for valid syntax.
19542 * gshadow/Makefile (tests): Add tst-putsgent.
19543 * gshadow/tst-putsgent.c: New file.
19544
19545 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19546
19547 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19548 assembly instructions.
19549
19550 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19551
19552 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19553 prefix from operands.
19554
19555 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19556
19557 [BZ #16347]
19558 [BZ #19046]
19559 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19560 <libc-internal.h>.
19561 (MAXLGM): Do not use diagnostic control macros.
19562 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19563 threshold for ldbl-128ibm.
19564 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19565 instead of multiplying by log then subtracting.
19566 * math/auto-libm-test-in: Add more tests of lgamma.
19567 * math/auto-libm-test-out: Regenerated.
19568
19569 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19570 (TYPE_HEX_DIG): Likewise.
19571 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19572 precisions when printing floating-point numbers.
19573 (check_float_internal): Likewise.
19574
19575 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19576
19577 [BZ #16620]
19578 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19579 of log (10) rounded downward to 48 bits.
19580 (log10_low): Use corresponding low part of log (10).
19581
19582 [BZ #19032]
19583 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19584 compute result as (x - x) / (x - x) not as 0 / 0.
19585 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19586 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19587
19588 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19589 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19590 and expm1.
19591 * math/auto-libm-test-out: Regenerated.
19592 * math/libm-test.inc (acos_test_data): Add more tests.
19593 (asin_test_data): Likewise.
19594 (asinh_test_data): Likewise.
19595 (atan_test_data): Likewise.
19596 (atanh_test_data): Likewise.
19597 (atan2_test_data): Likewise.
19598 (cbrt_test_data): Likewise.
19599 (ceil_test_data): Likewise.
19600 (copysign_test_data): Likewise.
19601 (cos_test_data): Likewise.
19602 (cosh_test_data): Likewise.
19603 (erf_test_data): Likewise.
19604 (erfc_test_data): Likewise.
19605 (exp_test_data): Likewise.
19606 (exp10_test_data): Likewise.
19607 (exp2_test_data): Likewise.
19608 (expm1_test_data): Likewise.
19609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19610
19611 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19612
19613 [BZ #19006]
19614 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19615 to ...
19616 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19617 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19618 to ...
19619 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19620 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19621 to ...
19622 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19623 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19624 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19625 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19626 to ...
19627 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19628 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19629 Moved to ...
19630 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19631 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19632 Moved to ...
19633 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19634 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19635 to ...
19636 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19637 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19638 Moved to ...
19639 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19640 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19641 to ...
19642 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19643 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19644 Removed.
19645 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19646 Likewise.
19647 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19648 Likewise.
19649 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19650 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19651 Likewise.
19652 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19653 Likewise.
19654 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19655 Likewise.
19656 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19657 Likewise.
19658 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19659 Likewise.
19660 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19661 Likewise.
19662 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19663 Likewise.
19664 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19665 Likewise.
19666 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19667 Likewise.
19668 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19669 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19670 Likewise.
19671 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19672 Likewise.
19673 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19674 Likewise.
19675 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19676 Likewise.
19677 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19678 Likewise.
19679 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19680 Replace ../i486/pthread_cond_timedwait.S with
19681 ../pthread_cond_timedwait.S.
19682
19683 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19684
19685 * math/libm-test.inc (acos_test_data): Refine expectations for
19686 errno and "inexact" exceptions.
19687 (acosh_test_data): Likewise.
19688 (asin_test_data): Likewise.
19689 (asinh_test_data): Likewise.
19690 (atan_test_data): Likewise.
19691 (atanh_test_data): Likewise.
19692 (atan2_test_data): Likewise.
19693 (cbrt_test_data): Likewise.
19694 (ceil_test_data): Likewise.
19695 (copysign_test_data): Likewise.
19696 (cosh_test_data): Likewise.
19697 (erf_test_data): Likewise.
19698 (erfc_test_data): Likewise.
19699 (exp_test_data): Likewise.
19700 (exp10_test_data): Likewise.
19701 (exp2_test_data): Likewise.
19702 (expm1_test_data): Likewise.
19703 (fabs_test_data): Likewise.
19704 (floor_test_data): Likewise.
19705 (fma_test_data): Likewise.
19706 (fmax_test_data): Likewise.
19707 (fmin_test_data): Likewise.
19708 (fmod_test_data): Likewise.
19709 (fpclassify_test_data): Likewise.
19710 (frexp_test_data): Likewise.
19711 (hypot_test_data): Likewise.
19712 (ilogb_test_data): Likewise.
19713 (isgreater_test_data): Likewise.
19714 (isgreaterequal_test_data): Likewise.
19715 (isinf_test_data): Likewise.
19716 (isless_test_data): Likewise.
19717 (islessequal_test_data): Likewise.
19718 (islessgreater_test_data): Likewise.
19719 (isnan_test_data): Likewise.
19720 (isnormal_test_data): Likewise.
19721 (issignaling_test_data): Likewise.
19722 (isunordered_test_data): Likewise.
19723 (j0_test_data): Likewise.
19724 (j1_test_data): Likewise.
19725 (jn_test_data): Likewise.
19726 (lgamma_test_data): Likewise.
19727 (lrint_test_data): Likewise.
19728 (llrint_test_data): Likewise.
19729 (log_test_data): Likewise.
19730 (log10_test_data): Likewise.
19731 (log1p_test_data): Likewise.
19732 (log2_test_data): Likewise.
19733 (logb_test_data): Likewise.
19734 (lround_test_data): Likewise.
19735 (llround_test_data): Likewise.
19736 (modf_test_data): Likewise.
19737 (nearbyint_test_data): Likewise.
19738 (nextafter_test_data): Likewise.
19739 (nexttoward_test_data): Likewise.
19740 (pow_test_data): Likewise.
19741 (remainder_test_data): Likewise.
19742 (remquo_test_data): Likewise.
19743 (rint_test_data): Likewise.
19744 (round_test_data): Likewise.
19745 (signbit_test_data): Likewise.
19746 (sinh_test_data): Likewise.
19747 (sqrt_test_data): Likewise.
19748 (tanh_test_data): Likewise.
19749 (tgamma_test_data): Likewise.
19750 (trunc_test_data): Likewise.
19751 (y0_test_data): Likewise.
19752 (y1_test_data): Likewise.
19753 (yn_test_data): Likewise.
19754 (significand_test_data): Likewise.
19755
19756 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19757
19758 * manual/filesys.texi (Storage Allocation): Document that
19759 posix_fallocate emulation fails when fd is open with O_WRONLY.
19760
19761 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19762
19763 [BZ #19016]
19764 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19765 allow more cases with X^2 + Y^2 >= 0.5.
19766 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19767 normal element in sum instead of special-casing based on values of
19768 arguments.
19769 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19770 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19771 -1 as normal element in sum instead of special-casing based on
19772 values of arguments.
19773 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19774 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19775 (__x2y2m1): Update comment.
19776 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19777 as normal element in sum instead of special-casing based on values
19778 of arguments.
19779 * math/s_clog.c (__clog): Handle more cases using log1p without
19780 hypot.
19781 * math/s_clog10.c (__clog10): Likewise.
19782 * math/s_clog10f.c (__clog10f): Likewise.
19783 * math/s_clog10l.c (__clog10l): Likewise.
19784 * math/s_clogf.c (__clogf): Likewise.
19785 * math/s_clogl.c (__clogl): Likewise.
19786 * math/auto-libm-test-in: Add more tests of clog and clog10.
19787 * math/auto-libm-test-out: Regenerated.
19788 * sysdeps/i386/fpu/libm-test-ulps: Update.
19789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19790
19791 2015-09-28 Martin Sebor <msebor@redhat.com>
19792
19793 [BZ #18969]
19794 * string/Makefile (LOCALES): Define.
19795 (gen-locales.mk): Include.
19796 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19797 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19798 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19799 on setlocale failure.
19800
19801 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19802
19803 [BZ #18985]
19804 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19805 (__strftime_internal): Likewise.
19806 * time/tst-strftime.c (do_bz18985): New test.
19807 (do_test): Call it.
19808
19809 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19810
19811 [BZ #18956]
19812 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19813 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19814 extracting high part.
19815 * math/auto-libm-test-in: Add another test of pow.
19816 * math/auto-libm-test-out: Regenerated.
19817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19818
19819 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19820
19821 [BZ #18825]
19822 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19823 New macro.
19824 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19825 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19826 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19827 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19828 DBL_NARROW_EVAL, reloading the PIC register as needed.
19829 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19830 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19831 FLT_NARROW_EVAL. Use separate return path for case when first
19832 argument is NaN.
19833 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19834 DEFINE_LDBL_MIN.
19835 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19836 PIC register.
19837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19838 math_check_force_underflow_nonneg.
19839 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19840 underflow for subnormal result.
19841 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19843 math_check_force_underflow_nonneg.
19844 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19845 math_check_force_underflow.
19846 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19847 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19848 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19849 DEFINE_LDBL_MIN.
19850 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19851 * math/auto-libm-test-in: Add more tests of pow.
19852 * math/auto-libm-test-out: Regenerated.
19853
19854 2015-09-25 Florian Weimer <fweimer@redhat.com>
19855
19856 * nss/bug17079.c (init_test_items): Add diagnostic for
19857 inconsistent entries.
19858 (test_buffer_size): Skip inconsistent entries.
19859
19860 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19861
19862 [BZ #13304]
19863 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19864 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19865 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19866
19867 [BZ #13304]
19868 * sysdeps/microblaze/s_fma.c: New file.
19869 * sysdeps/microblaze/s_fmaf.c: Likewise.
19870 * sysdeps/microblaze/sfp-machine.h: Likewise.
19871
19872 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19873
19874 [BZ #17250]
19875 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19876 member.
19877
19878 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19879
19880 [BZ #18803]
19881 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19882 (MO): New macro.
19883 (__ieee754_hypot) [PIC]: Load PIC register.
19884 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19885 DBL_NARROW_EVAL.
19886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19887 math_check_force_underflow_nonneg in case where result might be
19888 tiny.
19889 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19890 Likewise.
19891 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19892 Likewise.
19893 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19894 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19895 * math/auto-libm-test-in: Add more tests of hypot.
19896 * math/auto-libm-test-out: Regenerated.
19897
19898 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19899
19900 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19901
19902 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19903
19904 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19905 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19906 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19907 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19908 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19909 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19910 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19911
19912 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19913 LOAD_PIC_REG.
19914
19915 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19916 (FLT_CHECK_FORCE_UFLOW): Likewise.
19917 (DBL_CHECK_FORCE_UFLOW): Likewise.
19918 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19919 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19920 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19921 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19922 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19923 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19924 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19925 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19926 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19927 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19928 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19929 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19930 (flt_min): Replace with use of DEFINE_FLT_MIN.
19931 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19932 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19933 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19934 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19935 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19936 (flt_min): Replace with use of DEFINE_FLT_MIN.
19937 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19938 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19939 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19940 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19941 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19942 (flt_min): Replace with use of DEFINE_FLT_MIN.
19943 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19944 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19945 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19946 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19947 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19948 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19949 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19950 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19951 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19952 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19953 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19954 (flt_min): Replace with use of DEFINE_FLT_MIN.
19955 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19956 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19957 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19958 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19959 main computation.
19960 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19961 (flt_min): Replace with use of DEFINE_FLT_MIN.
19962 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19963 main computation.
19964 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19965 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19966 (MO): New macro.
19967 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19968 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19969 (flt_min): Replace with use of DEFINE_FLT_MIN.
19970 (MO): New macro.
19971 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19972 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19973 (__log1pl): Use MO.
19974
19975 [BZ #19003]
19976 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19977 $(config-cflags-nofma).
19978
19979 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19980
19981 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19982
19983 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19984
19985 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19986 (TWO127): Likewise.
19987
19988 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19989 (min_of_type): Likewise.
19990 (math_check_force_underflow): Likewise.
19991 (math_check_force_underflow_nonneg): Likewise.
19992 (math_check_force_underflow_complex): Likewise.
19993 * math/e_exp2l.c (__ieee754_exp2l): Use
19994 math_check_force_underflow_nonneg.
19995 * math/k_casinh.c (__kernel_casinh): Likewise.
19996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19998 * math/s_catan.c (__catan): Use
19999 math_check_force_underflow_complex.
20000 * math/s_catanf.c (__catanf): Likewise.
20001 * math/s_catanh.c (__catanh): Likewise.
20002 * math/s_catanhf.c (__catanhf): Likewise.
20003 * math/s_catanhl.c (__catanhl): Likewise.
20004 * math/s_catanl.c (__catanl): Likewise.
20005 * math/s_ccosh.c (__ccosh): Likewise.
20006 * math/s_ccoshf.c (__ccoshf): Likewise.
20007 * math/s_ccoshl.c (__ccoshl): Likewise.
20008 * math/s_cexp.c (__cexp): Likewise.
20009 * math/s_cexpf.c (__cexpf): Likewise.
20010 * math/s_cexpl.c (__cexpl): Likewise.
20011 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20012 * math/s_clog10.c (__clog10): Likewise.
20013 * math/s_clog10f.c (__clog10f): Likewise.
20014 * math/s_clog10l.c (__clog10l): Likewise.
20015 * math/s_clogf.c (__clogf): Likewise.
20016 * math/s_clogl.c (__clogl): Likewise.
20017 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20018 * math/s_csinf.c (__csinf): Likewise.
20019 * math/s_csinh.c (__csinh): Likewise.
20020 * math/s_csinhf.c (__csinhf): Likewise.
20021 * math/s_csinhl.c (__csinhl): Likewise.
20022 * math/s_csinl.c (__csinl): Likewise.
20023 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20024 * math/s_csqrtf.c (__csqrtf): Likewise.
20025 * math/s_csqrtl.c (__csqrtl): Likewise.
20026 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20027 * math/s_ctanf.c (__ctanf): Likewise.
20028 * math/s_ctanh.c (__ctanh): Likewise.
20029 * math/s_ctanhf.c (__ctanhf): Likewise.
20030 * math/s_ctanhl.c (__ctanhl): Likewise.
20031 * math/s_ctanl.c (__ctanl): Likewise.
20032 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20033 instead of volatile.
20034 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20035 math_check_force_underflow.
20036 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20037 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20038 volatile when forcing underflow.
20039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20040 math_check_force_underflow_nonneg.
20041 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20042 Likewise.
20043 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20044 math_check_force_underflow.
20045 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20046 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20047 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20048 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20049 math_check_force_underflow_nonneg.
20050 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20051 math_check_force_underflow.
20052 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20054 instead of volatile.
20055 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20056 math_check_force_underflow.
20057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20059 math_check_force_underflow_nonneg.
20060 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20061 math_check_force_underflow.
20062 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20063 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20064 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20065 math_check_force_underflow_nonneg.
20066 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20067 Likewise.
20068 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20069 math_check_force_underflow.
20070 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20071 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20072 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20073 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20074 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20075 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20076 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20077 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20078 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20079 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20080 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20081 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20082 Likewise.
20083 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20084 math_check_force_underflow_nonneg.
20085 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20086 Likewise.
20087 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20088 math_check_force_underflow.
20089 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20090 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20091 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20092 Likewise.
20093 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20094 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20095 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20096 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20097 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20098 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20100 instead of volatile.
20101 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20102 math_check_force_underflow.
20103 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20105 math_check_force_underflow.
20106 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20107 Likewise.
20108 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20109 Use math_check_force_underflow_nonneg.
20110 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20111 math_check_force_underflow.
20112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20113 Likewise.
20114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20115 Likewise.
20116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20122 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20123 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20124 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20125 math_check_force_underflow_nonneg.
20126 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20127 math_check_force_underflow.
20128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20129 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20130 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20131 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20132 math_check_force_underflow_nonneg.
20133 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20134 math_check_force_underflow.
20135 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20137 instead of volatile.
20138 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20139 math_check_force_underflow.
20140
20141 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20142 * stdlib/strtod_l.c: Include <math_private.h>.
20143 (overflow_value): Use math_narrow_eval.
20144 (underflow_value): Likewise.
20145 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20146 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20147 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20148 (__ieee754_gamma_r): Likewise.
20149 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20150 Likewise.
20151 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20152 Likewise.
20153 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20154 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20155 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20156 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20157 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20158 (__ieee754_gammaf_r): Likewise.
20159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20160 Likewise.
20161 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20162 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20163 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20164 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20165 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20166 volatile.
20167 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20169 math_narrow_eval.
20170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20171 Likewise.
20172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20173 Likewise.
20174 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20175 Likewise.
20176 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20177 volatile.
20178 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20179 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20180 math_narrow_eval.
20181 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20182 Likewise.
20183 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20184 Likewise.
20185
20186 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 * nptl/Versions: Remove ignored symbols.
20189
20190 2015-09-22 Florian Weimer <fweimer@redhat.com>
20191
20192 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20193 * nss/Makefile (tests): Update.
20194
20195 2015-09-22 Florian Weimer <fweimer@redhat.com>
20196
20197 * nss/bug18287.c: New file.
20198 * nss/Makefile (tests): Add bug18287.
20199
20200 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20201
20202 * mach/Versions (__mach_host_self_): Add symbol.
20203
20204 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20205
20206 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20207 vm_page_size.
20208
20209 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20210
20211 Really fix sysdeps/i386/fpu/s_scalbn.S build
20212
20213 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20214 (libc: GLIBC_2_22): Remove unused version set.
20215
20216 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20217
20218 * config.make.in (enable-timezone-tools): New variable.
20219 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20220 (enable_timezone_tools): Export to generated files.
20221 * configure: Regenerate.
20222 * INSTALL: Regenerate.
20223 * manual/install.texi (--disable-timezone-tools): Document new flag.
20224 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20225 ifeq ($(enable-timezone-tools),yes) check.
20226
20227 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20228
20229 * timezone/Makefile: Revert previous change.
20230
20231 [BZ #18980]
20232 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20233 (DEFINE_DBL_MIN): Likewise.
20234 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20235 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20236 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20237 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20238 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20239 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20240 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20241 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20242 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20243 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20244 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20245 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20246 (flt_min): Replace with use of DEFINE_FLT_MIN.
20247 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20248 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20249 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20250 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20251 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20252 (flt_min): Replace with use of DEFINE_FLT_MIN.
20253 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20254 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20255 (flt_min): Replace with use of DEFINE_FLT_MIN.
20256 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20257 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20258 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20259 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20260 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20261 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20262 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20263 (__ieee754_pow): Use DBL_NARROW_EVAL.
20264 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20265 (__ieee754_powf): Use FLT_NARROW_EVAL.
20266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20267 (__ieee754_expf_sse2): Convert double-precision result to single
20268 precision.
20269 * sysdeps/i386/fpu/libm-test-ulps: Update.
20270
20271 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20272
20273 * timezone/Makefile: Ignore unused variable errors due to private.h
20274 (time_t_min) and (time_t_max).
20275 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20276 Likewise.
20277
20278 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20279
20280 [BZ #18981]
20281 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20282 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20283 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20284 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20285 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20286 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20287 (__scalbn): Use DBL_NARROW_EVAL.
20288 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20289 (__scalbnf): Use FLT_NARROW_EVAL.
20290
20291 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20292
20293 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20294 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20295 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20296 * stdio-common/printf_fp.c (___printf_fp):
20297 Use signbit to get the sign. Use isinf macro to allow inlining.
20298 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20299 * stdio-common/printf_size.c (__printf_size): Likewise.
20300
20301 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20302
20303 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20304
20305 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20306
20307 [BZ #18980]
20308 * sysdeps/generic/math_private.h: Include <float.h>.
20309 (math_narrow_eval): New macro.
20310 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20311 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20312 math_narrow_eval on overflowing return value.
20313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20314 Likewise.
20315 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20316 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20317 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20318 Likewise.
20319 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20320
20321 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20322
20323 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20324 * math/Makefile: Remove isinf_ns.c.
20325 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20326 * math/multc3.c (__multc3): Likewise.
20327 * math/s_casin.c (__casin): Likewise.
20328 * math/s_casinf.c (__casinf): Likewise.
20329 * math/s_casinl.c (__casinl): Likewise.
20330 * math/s_cproj.c (__cproj): Likewise.
20331 * math/s_cprojf.c (__cprojf): Likewise.
20332 * math/s_cprojl.c (__cprofl): Likewise.
20333 * math/s_ctan.c (__ctan): Likewise.
20334 * math/s_ctanf.c (__ctanf): Likewise.
20335 * math/s_ctanh.c (__ctanh): Likewise.
20336 * math/s_ctanhf.c (__ctanhf): Likewise.
20337 * math/s_ctanhl.c (__ctanhl): Likewise.
20338 * math/s_ctanl.c (__ctanl): Likewise.
20339 * math/w_fmod.c (__fmod): Likewise.
20340 * math/w_fmodf.c (__fmodf): Likewise.
20341 * math/w_fmodl.c (_fmodl): Likewise.
20342 * math/w_remainder.c (__remainder): Likewise.
20343 * math/w_remainderf.c (__remainderf): Likewise.
20344 * math/w_remainderl.c (__remainderl): Likewise.
20345 * math/w_scalb.c (__scalb): Likewise.
20346 * math/w_scalbf.c (__scalbf): Likewise.
20347 * math/w_scalbl.c (__scalbl): Likewise.
20348 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20349 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20350 with isinf.
20351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20353 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20354 __isinf_nsf with isinf.
20355 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20356 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20357 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20358 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20359 with isinf.
20360 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20361 __isinf_nsl with isinf.
20362 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20363 with isinf.
20364 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20365 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20366 __isinf_nsl with isinf.
20367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20368 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20369 with isinf.
20370
20371 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20372
20373 * resolv/base64.c (rcsid): Remove unused static.
20374 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20375 static. (tqpi1): Likewise.
20376 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20377 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20378 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20379 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20383 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20384 Likewise.
20385
20386 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20387
20388 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20389 <nptl/pthreadP.h>.
20390 (_longjmp_unwind): Use __libc_ptf_call.
20391 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20392
20393 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20394
20395 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20396 * sysdeps/arm/__longjmp.S: Likewise.
20397
20398 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20399
20400 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20401 Use __builtin_signbit.
20402 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20403 Use __builtin_signbitf.
20404 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20405 Use __builtin_signbitl.
20406 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20407 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20408
20409 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20410
20411 [BZ #15367]
20412 [BZ #17441]
20413
20414 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20415 * math/math.h (fpclassify): Use __builtin_fpclassify when
20416 available. (signbit): Use __builtin_signbit(f/l).
20417 (isfinite): Use__builtin_isfinite. (isnormal): Use
20418 __builtin_isnormal. (isnan): Use __builtin_isnan.
20419 (isinf): Use __builtin_isinf_sign.
20420
20421 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20422
20423 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20424 * benchtests/bench-math-inlines.c: New benchmark.
20425 * benchtests/bench-util.h: New file.
20426 * benchtests/bench-util.c: New file.
20427 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20428
20429 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20430
20431 * elf/tst-dlmopen1.c: Define TEST_SO.
20432 (do_test): Use TEST_SO.
20433
20434 * elf/dl-load.c: Include libc-internal.h.
20435 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20436
20437 2015-09-18 Vincent Bernat <vincent@bernat.im>
20438
20439 [BZ #17887]
20440 * time/strptime_l.c (__strptime_internal): Make %z accept
20441 [+-]HH:MM time zones.
20442
20443 2015-09-18 Vincent Bernat <vincent@bernat.im>
20444
20445 [BZ #17886]
20446 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20447 valid time zone.
20448
20449 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20450
20451 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20452 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20453 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20454 (__ASSUME_FDATASYNC): Delete.
20455
20456 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20457
20458 * conform/linknamespace.pl: Require weak undefined symbols to be
20459 in the standard namespace.
20460 (%strong_syms): Rename to %seen_syms.
20461 (%strong_seen): Rename to %seen_where.
20462
20463 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20464
20465 [BZ #18970]
20466 * misc/error.c (error): Replace pthread_setcancelstate with
20467 __pthread_setcancelstate.
20468 (error_at_line): Likewise.
20469 * posix/wordexp.c (parse_comm): Likewise.
20470 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20471 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20472 (__pthread_setcancelstate): This.
20473 (pthread_setcancelstate): Add an alias.
20474 * nptl/nptl-init.c (pthread_functions): Replace
20475 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20476 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20477 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20478 hidden_proto.
20479 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20480 it with hidden_def.
20481 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20482 (pthread_setcancelstate): Renamed to ...
20483 (__pthread_setcancelstate): This.
20484 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20485 __libc_ptf_call with __pthread_setcancelstate.
20486
20487 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20488 Andreas Schwab <schwab@suse.de>
20489
20490 [BZ #17118]
20491 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20492 result when imaginary part of argument is infinite using sine and
20493 cosine.
20494 * math/s_ctanf.c (__ctanf): Likewise.
20495 * math/s_ctanl.c (__ctanl): Likewise.
20496 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20497 of result when real part of argument is infinite using sine and
20498 cosine.
20499 * math/s_ctanhf.c (__ctanhf): Likewise.
20500 * math/s_ctanhl.c (__ctanhl): Likewise.
20501 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20502 (ctanh_test_data): Add more tests of ctanh.
20503
20504 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20505
20506 [BZ #15384]
20507 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20508 bit-mask as in subtraction.
20509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20510 Likewise.
20511 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20512 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20513 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20514
20515 [BZ #18951]
20516 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20517 underflow exception for small results.
20518 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20519 Likewise.
20520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20521 Likewise.
20522 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20523 Likewise.
20524 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20525 Likewise.
20526 * math/auto-libm-test-in: Add more tests of tgamma.
20527 * math/auto-libm-test-out: Regenerated.
20528
20529 2015-09-17 Andreas Schwab <schwab@suse.de>
20530
20531 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20532
20533 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #18977]
20536 * math/bits/mathcalls.h
20537 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20538 not declare.
20539 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20540 Likewise.
20541 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20542 Likewise.
20543 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20544 Likewise.
20545 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20546 Likewise.
20547 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20548 Likewise.
20549 * conform/data/math.h-data
20550 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20551 function.
20552 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20553 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20554 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20555 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20556 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20557 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20558 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20559 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20560 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20561 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20562 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20563
20564 [BZ #6803]
20565 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20566 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20567 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20568 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20569 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20570 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20571 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20572 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20573 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20575 Likewise.
20576 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20577 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20578 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20580 long_double_symbol calls.
20581 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20582 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20583 strong alias of __ldexpl.
20584 (scalbnl): Define using long_double_symbol.
20585 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20586 Remove alias.
20587 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20588 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20589 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20590 (scalbln_test_data): Add more errno expectations.
20591
20592 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20593
20594 Cache the host port like we cache the task port. This way we do not
20595 need to call the kernel just to get the port. Furthermore, we no
20596 longer increase the reference count on every invocation of
20597 `mach_host_self'.
20598
20599 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20600 Protect declarations against the macro expansion.
20601 * mach/mach_init.c (__mach_host_self_): New variable.
20602 (mach_init): Initialize `__mach_host_self_'.
20603 * mach/mach_init.h (__mach_host_self_): New declaration.
20604 (__mach_host_self, mach_host_self): New macros.
20605 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20606 Release reference.
20607
20608 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20609
20610 [BZ #4404]
20611 * po/de.po: Update from Translation Project.
20612
20613 [BZ #16415]
20614 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20615 (__expm1l): Remove code to handle positive infinity and overflow.
20616 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20617 variable.
20618 (__expm1l): Remove code to handle positive infinity and overflow.
20619
20620 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20621 Paul Pluzhnikov <ppluzhnikov@google.com>
20622
20623 [BZ #18872]
20624 * stdio-common/Makefile (tst-printf-bz18872): New test.
20625 (tst-printf-bz18872-mem.out): Likewise.
20626 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20627 * stdio-common/vfprintf.c: Fix memory leaks.
20628
20629 2015-09-16 Andreas Schwab <schwab@suse.de>
20630
20631 [BZ #17244]
20632 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20633 Remove extra va_start/va_end calls.
20634
20635 [BZ #17243]
20636 * posix/execl.c (execl): Add missing va_end.
20637 * posix/execle.c (execle): Likewise.
20638 * posix/execlp.c (execlp): Likewise.
20639
20640 2015-09-15 Roland McGrath <roland@hack.frob.com>
20641
20642 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20643 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20644
20645 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20646
20647 [BZ #18967]
20648 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20649 undefine around includes of <bits/mathcalls.h>.
20650 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20651 not declare function.
20652 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20653 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20654 (scalb): Likewise.
20655 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20656 not define macro.
20657 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20658 variable.
20659 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20660 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20661 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20662
20663 [BZ #18857]
20664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20665 return non-finite argument without doing ordered comparisons on
20666 it.
20667
20668 [BZ #16296]
20669 * math/fenv.h (fegetround): Use __attribute_pure__.
20670 * include/fenv.h (__fegetround): Likewise.
20671
20672 [BZ #18595]
20673 * math/s_ctan.c (__ctan): Force underflow exception for results
20674 whose real or imaginary part has small absolute value.
20675 * math/s_ctanf.c (__ctanf): Likewise.
20676 * math/s_ctanh.c (__ctanh): Likewise.
20677 * math/s_ctanhf.c (__ctanhf): Likewise.
20678 * math/s_ctanhl.c (__ctanhl): Likewise.
20679 * math/s_ctanl.c (__ctanl): Likewise.
20680 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20681 and ctanh. Add more tests of ctan and ctanh.
20682
20683 [BZ #15918]
20684 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20685 handling of cases where one argument is an infinity.
20686
20687 [BZ #18875]
20688 [BZ #18966]
20689 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20690 (MO): New macro.
20691 (__ieee754_exp10): For small results, force underflow exception
20692 and remove excess range and precision from return value.
20693 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20694 (MO): New macro.
20695 (__ieee754_exp10f): For small results, force underflow exception
20696 and remove excess range and precision from return value.
20697 * math/auto-libm-test-in: Add more tests of exp10.
20698 * math/auto-libm-test-out: Regenerated.
20699
20700 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20701
20702 [BZ #18875]
20703 [BZ #18961]
20704 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20705 (MO): New macro.
20706 (__ieee754_exp): For small results, force underflow exception and
20707 remove excess range and precision from return value.
20708 (__exp_finite): Likewise.
20709 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20710 (MO): New macro.
20711 (__ieee754_expf): For small results, force underflow exception and
20712 remove excess range and precision from return value.
20713 (__expf_finite): Likewise.
20714 * math/auto-libm-test-in: Add more tests of exp.
20715 * math/auto-libm-test-out: Regenerated.
20716
20717 [BZ #16521]
20718 [BZ #18875]
20719 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20720 small results.
20721 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20722 (MO): New macro.
20723 (__ieee754_exp2): For small results, force underflow exception and
20724 remove excess range and precision from return value.
20725 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20726 (MO): New macro.
20727 (__ieee754_exp2f): For small results, force underflow exception
20728 and remove excess range and precision from return value.
20729 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20730 (MO): New macro.
20731 (__ieee754_exp2l): Force underflow exception for small results.
20732 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20733 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20734 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20735 (MO): New macro.
20736 (__ieee754_exp2l): Force underflow exception for small results.
20737 * math/auto-libm-test-in: Add more tests or exp2.
20738 * math/auto-libm-test-out: Regenerated.
20739
20740 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20741
20742 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20743
20744 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20745 /dev/null.
20746
20747 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20748
20749 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20750 io fs process)): Drop spurious backslash.
20751
20752 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20753
20754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20755 Use sysinfo system call instead of parsing /proc/meminfo.
20756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20757 Likewise.
20758
20759 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20760
20761 [BZ #16985]
20762 * programs/localedef.c (main): Display argv[remaining] when
20763 output_path is NULL.
20764
20765 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20766
20767 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20768 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20769 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20770 tanh.
20771 * math/auto-libm-test-out: Regenerated.
20772 * sysdeps/i386/fpu/libm-test-ulps: Update.
20773 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20774 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20776
20777 2015-09-11 Roland McGrath <roland@hack.frob.com>
20778
20779 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20780 Use 'override' keyword to freeze the value here, preventing
20781 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20782
20783 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20784
20785 [BZ #14912]
20786 * sysdeps/aarch64/bits/atomic.h: Move to ...
20787 * sysdeps/aarch64/atomic-machine.h: ...here.
20788 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20789 _AARCH64_ATOMIC_MACHINE_H.
20790 * sysdeps/alpha/bits/atomic.h: Move to ...
20791 * sysdeps/alpha/atomic-machine.h: ...here.
20792 * sysdeps/arm/bits/atomic.h: Move to ...
20793 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20794 * bits/atomic.h: Move to ...
20795 * sysdeps/generic/atomic-machine.h: ...here.
20796 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20797 * sysdeps/i386/bits/atomic.h: Move to ...
20798 * sysdeps/i386/atomic-machine.h: ...here.
20799 * sysdeps/ia64/bits/atomic.h: Move to ...
20800 * sysdeps/ia64/atomic-machine.h: ...here.
20801 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20802 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20803 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20804 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20805 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20806 * sysdeps/microblaze/bits/atomic.h: Move to ...
20807 * sysdeps/microblaze/atomic-machine.h: ...here.
20808 * sysdeps/mips/bits/atomic.h: Move to ...
20809 * sysdeps/mips/atomic-machine.h: ...here.
20810 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20811 * sysdeps/powerpc/bits/atomic.h: Move to ...
20812 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20813 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20814 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20815 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20816 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20817 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20818 <atomic-machine.h> instead of <bits/atomic.h>.
20819 * sysdeps/s390/bits/atomic.h: Move to ...
20820 * sysdeps/s390/atomic-machine.h: ...here.
20821 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20822 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20823 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20824 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20825 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20826 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20827 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20828 * sysdeps/tile/bits/atomic.h: Move to ...
20829 * sysdeps/tile/atomic-machine.h: ...here.
20830 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20831 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20832 <sysdeps/tile/atomic-machine.h> instead of
20833 <sysdeps/tile/bits/atomic.h>.
20834 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20835 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20836 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20837 <sysdeps/tile/atomic-machine.h> instead of
20838 <sysdeps/tile/bits/atomic.h>.
20839 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20840 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20841 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20842 <sysdeps/arm/atomic-machine.h> instead of
20843 <sysdeps/arm/bits/atomic.h>.
20844 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20845 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20846 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20847 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20848 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20849 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20850 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20851 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20852 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20853 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20854 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20855 * sysdeps/x86_64/bits/atomic.h: Move to ...
20856 * sysdeps/x86_64/atomic-machine.h: ...here.
20857 * include/atomic.h: Include <atomic-machine.h> instead of
20858 <bits/atomic.h>.
20859
20860 * sysdeps/mips/mips32/libm-test-ulps: Update.
20861 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20862
20863 [BZ #18952]
20864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20865 not convert non-integer negative arguments to int to determine the
20866 value of signgam.
20867 * math/auto-libm-test-in: Add more tests of lgamma.
20868 * math/auto-libm-test-out: Regenerated.
20869
20870 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20871 cosh, csqrt, erfc, expm1 and lgamma.
20872 * math/auto-libm-test-out: Regenerated.
20873 * sysdeps/i386/fpu/libm-test-ulps: Update.
20874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20875
20876 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20877
20878 [BZ #2542]
20879 [BZ #2543]
20880 [BZ #2558]
20881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20882 __lgamma_neg for arguments from -28.0 to -2.0.
20883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20884 __lgamma_negf for arguments from -15.0 to -2.0.
20885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20886 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20887 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20888 Call __lgamma_negl for arguments from -33.0 to -2.0.
20889 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20890 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20891 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20893 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20894 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20895 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20896 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20897 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20898 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20899 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20900 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20901 (__lgamma_neg): Likewise.
20902 (__lgamma_negl): Likewise.
20903 (__lgamma_product): Likewise.
20904 (__lgamma_productl): Likewise.
20905 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20906 * math/auto-libm-test-in: Add more tests of lgamma.
20907 * math/auto-libm-test-out: Regenerated.
20908 * sysdeps/i386/fpu/libm-test-ulps: Update.
20909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20910
20911 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20912
20913 [BZ #18675]
20914 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20915
20916 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20917
20918 [BZ #14912]
20919 * bits/libc-lock.h: Move to ...
20920 * sysdeps/generic/libc-lock.h: ...here.
20921 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20922 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20923 * sysdeps/mach/hurd/libc-lock.h: ...here.
20924 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20925 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20926 * sysdeps/mach/bits/libc-lock.h: Move to ...
20927 * sysdeps/mach/libc-lock.h: ...here.
20928 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20929 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20930 * sysdeps/nptl/libc-lock.h: ...here.
20931 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20932 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20933 * sysdeps/nptl/libc-lockP.h: ...here.
20934 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20935 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20936 <bits/libc-lock.h>.
20937 * dirent/scandir-tail.c: Likewise.
20938 * dlfcn/dlerror.c: Likewise.
20939 * elf/dl-close.c: Likewise.
20940 * elf/dl-iteratephdr.c: Likewise.
20941 * elf/dl-lookup.c: Likewise.
20942 * elf/dl-open.c: Likewise.
20943 * elf/dl-support.c: Likewise.
20944 * elf/dl-writev.h: Likewise.
20945 * elf/rtld.c: Likewise.
20946 * grp/fgetgrent.c: Likewise.
20947 * gshadow/fgetsgent.c: Likewise.
20948 * gshadow/sgetsgent.c: Likewise.
20949 * iconv/gconv_conf.c: Likewise.
20950 * iconv/gconv_db.c: Likewise.
20951 * iconv/gconv_dl.c: Likewise.
20952 * iconv/gconv_int.h: Likewise.
20953 * iconv/gconv_trans.c: Likewise.
20954 * include/link.h: Likewise.
20955 * inet/getnameinfo.c: Likewise.
20956 * inet/getnetgrent.c: Likewise.
20957 * inet/getnetgrent_r.c: Likewise.
20958 * intl/bindtextdom.c: Likewise.
20959 * intl/dcigettext.c: Likewise.
20960 * intl/finddomain.c: Likewise.
20961 * intl/gettextP.h: Likewise.
20962 * intl/loadmsgcat.c: Likewise.
20963 * intl/localealias.c: Likewise.
20964 * intl/textdomain.c: Likewise.
20965 * libidn/idn-stub.c: Likewise.
20966 * libio/libioP.h: Likewise.
20967 * locale/duplocale.c: Likewise.
20968 * locale/freelocale.c: Likewise.
20969 * locale/newlocale.c: Likewise.
20970 * locale/setlocale.c: Likewise.
20971 * login/getutent_r.c: Likewise.
20972 * login/getutid_r.c: Likewise.
20973 * login/getutline_r.c: Likewise.
20974 * login/utmp-private.h: Likewise.
20975 * login/utmpname.c: Likewise.
20976 * malloc/mtrace.c: Likewise.
20977 * misc/efgcvt.c: Likewise.
20978 * misc/error.c: Likewise.
20979 * misc/fstab.c: Likewise.
20980 * misc/getpass.c: Likewise.
20981 * misc/mntent.c: Likewise.
20982 * misc/syslog.c: Likewise.
20983 * nis/nis_call.c: Likewise.
20984 * nis/nis_callback.c: Likewise.
20985 * nis/nss-default.c: Likewise.
20986 * nis/nss_compat/compat-grp.c: Likewise.
20987 * nis/nss_compat/compat-initgroups.c: Likewise.
20988 * nis/nss_compat/compat-pwd.c: Likewise.
20989 * nis/nss_compat/compat-spwd.c: Likewise.
20990 * nis/nss_nis/nis-alias.c: Likewise.
20991 * nis/nss_nis/nis-ethers.c: Likewise.
20992 * nis/nss_nis/nis-grp.c: Likewise.
20993 * nis/nss_nis/nis-hosts.c: Likewise.
20994 * nis/nss_nis/nis-network.c: Likewise.
20995 * nis/nss_nis/nis-proto.c: Likewise.
20996 * nis/nss_nis/nis-pwd.c: Likewise.
20997 * nis/nss_nis/nis-rpc.c: Likewise.
20998 * nis/nss_nis/nis-service.c: Likewise.
20999 * nis/nss_nis/nis-spwd.c: Likewise.
21000 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21001 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21002 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21003 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21004 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21005 * nis/nss_nisplus/nisplus-network.c: Likewise.
21006 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21007 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21008 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21009 * nis/nss_nisplus/nisplus-service.c: Likewise.
21010 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21011 * nis/ypclnt.c: Likewise.
21012 * nptl/libc_pthread_init.c: Likewise.
21013 * nss/getXXbyYY.c: Likewise.
21014 * nss/getXXent.c: Likewise.
21015 * nss/getXXent_r.c: Likewise.
21016 * nss/nss_db/db-XXX.c: Likewise.
21017 * nss/nss_db/db-netgrp.c: Likewise.
21018 * nss/nss_db/nss_db.h: Likewise.
21019 * nss/nss_files/files-XXX.c: Likewise.
21020 * nss/nss_files/files-alias.c: Likewise.
21021 * nss/nsswitch.c: Likewise.
21022 * posix/regex_internal.h: Likewise.
21023 * posix/wordexp.c: Likewise.
21024 * pwd/fgetpwent.c: Likewise.
21025 * resolv/res_hconf.c: Likewise.
21026 * resolv/res_libc.c: Likewise.
21027 * shadow/fgetspent.c: Likewise.
21028 * shadow/lckpwdf.c: Likewise.
21029 * shadow/sgetspent.c: Likewise.
21030 * socket/opensock.c: Likewise.
21031 * stdio-common/reg-modifier.c: Likewise.
21032 * stdio-common/reg-printf.c: Likewise.
21033 * stdio-common/reg-type.c: Likewise.
21034 * stdio-common/vfprintf.c: Likewise.
21035 * stdio-common/vfscanf.c: Likewise.
21036 * stdlib/abort.c: Likewise.
21037 * stdlib/cxa_atexit.c: Likewise.
21038 * stdlib/fmtmsg.c: Likewise.
21039 * stdlib/random.c: Likewise.
21040 * stdlib/setenv.c: Likewise.
21041 * string/strsignal.c: Likewise.
21042 * sunrpc/auth_none.c: Likewise.
21043 * sunrpc/bindrsvprt.c: Likewise.
21044 * sunrpc/create_xid.c: Likewise.
21045 * sunrpc/key_call.c: Likewise.
21046 * sunrpc/rpc_thread.c: Likewise.
21047 * sysdeps/arm/backtrace.c: Likewise.
21048 * sysdeps/generic/ldsodefs.h: Likewise.
21049 * sysdeps/generic/stdio-lock.h: Likewise.
21050 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21051 * sysdeps/i386/backtrace.c: Likewise.
21052 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21053 * sysdeps/m68k/backtrace.c: Likewise.
21054 * sysdeps/mach/hurd/cthreads.c: Likewise.
21055 * sysdeps/mach/hurd/dirstream.h: Likewise.
21056 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21057 * sysdeps/nptl/malloc-machine.h: Likewise.
21058 * sysdeps/nptl/stdio-lock.h: Likewise.
21059 * sysdeps/posix/dirstream.h: Likewise.
21060 * sysdeps/posix/getaddrinfo.c: Likewise.
21061 * sysdeps/posix/system.c: Likewise.
21062 * sysdeps/pthread/aio_suspend.c: Likewise.
21063 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21064 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21065 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21066 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21067 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21068 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21069 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21070 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21071 * sysdeps/unix/sysv/linux/system.c: Likewise.
21072 * sysdeps/x86_64/backtrace.c: Likewise.
21073 * time/alt_digit.c: Likewise.
21074 * time/era.c: Likewise.
21075 * time/tzset.c: Likewise.
21076 * wcsmbs/wcsmbsload.c: Likewise.
21077 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21078 instead of <bits/libc-lock.h> in comment.
21079
21080 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21081
21082 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21083 Only use .set mips2 if the current ISA is below mips2.
21084 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21085 Likewise.
21086 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21087 mips32r2 if the current ISA is below mips32r2.
21088 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21089 (TLS_IE): Updated to use the TLD_RDHWR macro.
21090 (TLS_LE): Likewise.
21091 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21092 __ASSEMBLER__ condition.
21093
21094 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21095
21096 Fix parallel build of before-compile targets.
21097
21098 * sysdeps/mach/Makefile ($(patsubst
21099 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21100 mach-before-compile target.
21101 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21102 io fs process)): Move rule to dedicated hurd-before-compile target.
21103
21104 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21105
21106 Fix rules generating headers in hurd/ and mach/ when initial make call
21107 has subdir= explicitly set.
21108
21109 * sysdeps/mach/Makefile ($(patsubst
21110 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21111 calling $(MAKE).
21112 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21113 io fs process)): Force subdir to hurd when calling $(MAKE).
21114 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21115 subdir to mach when calling $(MAKE).
21116
21117 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21118
21119 Check sysheaders when looking for Mach and Hurd headers
21120
21121 * sysdeps/mach/configure.ac: Add sysheaders check.
21122 * sysdeps/mach/configure: Regenerate.
21123 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21124 * sysdeps/mach/hurd/configure: Regenerate.
21125
21126 2015-09-04 Roland McGrath <roland@hack.frob.com>
21127
21128 [BZ #18921]
21129 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21130 Fix inverted sense of test of 'o_directory_works' value.
21131 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21132 Bernhard Voelker <mail@bernhard-voelker.de>.
21133
21134 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21135
21136 [BZ #14912]
21137 * bits/linkmap.h: Move to ...
21138 * sysdeps/generic/linkmap.h: ...here.
21139 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21140 * sysdeps/aarch64/linkmap.h: ...here.
21141 * sysdeps/arm/bits/linkmap.h: Move to ...
21142 * sysdeps/arm/linkmap.h: ...here.
21143 * sysdeps/hppa/bits/linkmap.h: Move to ...
21144 * sysdeps/hppa/linkmap.h: ...here.
21145 * sysdeps/ia64/bits/linkmap.h: Move to ...
21146 * sysdeps/ia64/linkmap.h: ...here.
21147 * sysdeps/mips/bits/linkmap.h: Move to ...
21148 * sysdeps/mips/linkmap.h: ...here.
21149 * sysdeps/s390/bits/linkmap.h: Move to ...
21150 * sysdeps/s390/linkmap.h: ...here.
21151 * sysdeps/sh/bits/linkmap.h: Move to ...
21152 * sysdeps/sh/linkmap.h: ...here.
21153 * sysdeps/x86/bits/linkmap.h: Move to ...
21154 * sysdeps/x86/linkmap.h: ...here.
21155 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21156
21157 2015-09-04 Andreas Schwab <schwab@suse.de>
21158
21159 [BZ #18635]
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21161 (__makecontext): Terminate FDE before return label.
21162 (__novec_makecontext): Likewise.
21163
21164 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21165
21166 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21167 first member of struct sv in syscall macro.
21168
21169 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21170
21171 [BZ #14912]
21172 * bits/stdio-lock.h: Move to ...
21173 * sysdeps/generic/stdio-lock.h: ...here.
21174 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21175 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21176 * sysdeps/nptl/stdio-lock.h: ...here.
21177 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21178 * include/libio.h: Include <stdio-lock.h> instead of
21179 <bits/stdio-lock.h>.
21180 * sysdeps/nptl/fork.c: Likewise.
21181 * sysdeps/pthread/flockfile.c: Likewise.
21182 * sysdeps/pthread/ftrylockfile.c: Likewise.
21183 * sysdeps/pthread/funlockfile.c: Likewise.
21184
21185 [BZ #14912]
21186 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21187 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21188 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21189 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21190 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21191 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21192 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21193
21194 2015-09-03 Roland McGrath <roland@hack.frob.com>
21195
21196 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21197 (test-xfail-tst-protected1b): New variable.
21198
21199 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21200
21201 [BZ #14912]
21202 * bits/libc-tsd.h: Move to ...
21203 * sysdeps/generic/libc-tsd.h: ...here.
21204 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21205 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21206 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21207 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21208 * include/ctype.h: Include <libc-tsd.h> instead of
21209 <bits/libc-tsd.h>.
21210 * include/rpc/rpc.h: Likewise.
21211 * locale/localeinfo.h: Likewise.
21212 * sunrpc/rpc_thread.c: Likewise.
21213 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21214 * sysdeps/nptl/malloc-machine.h: Likewise.
21215
21216 * Makefile (headers): Remove bits/libc-lock.h.
21217 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21218
21219 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21220 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21221 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21222 <bits/stdio-lock.h>.
21223 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21224 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21225
21226 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21227
21228 [BZ #18757]
21229 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21230 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21231 BZ #18757.
21232
21233 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21234
21235 * malloc/mtrace.pl: Filter out NULL entries.
21236
21237 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21238
21239 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21240 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21241 macro.
21242
21243 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21244 (TCP_CC_INFO): Likewise.
21245 (TCP_SAVE_SYN): Likewise.
21246 (TCP_SAVED_SYN): Likewise.
21247
21248 2015-08-31 Brett Neumeier <brett@neumeier.us>
21249
21250 [BZ #18870]
21251 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21252
21253 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21254
21255 [BZ #18873]
21256 Fix broken overflow check in posix_fallocate
21257 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21258 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21259 Fix parenthesization typo.
21260
21261 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21262
21263 [BZ #18887]
21264 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21265 tst-mntent-blank-passno.
21266 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21267 * misc/tst-mntent-blank-corrupt.c: New test.
21268 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21269 * misc/tst-mntent.c (do_test): ... here.
21270
21271 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21272
21273 [BZ #4404]
21274 * po/de.po: Fix SIGALRM typo.
21275
21276 2015-08-28 James Perkins <james@loowit.net>
21277
21278 * time/tst-strptime2.c (tests): Replace short list of test
21279 strings for strptime %z specifier with code which exhaustively
21280 tests every combination of sign and 0 to 5 digits. Tests for
21281 rejection of invalid strings.
21282
21283 2015-08-28 James Perkins <james@loowit.net>
21284
21285 [BZ #16141]
21286 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21287 calculation, removing incorrect decimal time rounding, so that
21288 all minute values result in a valid seconds value.
21289 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21290 offset range limits to UTC-99:59 through UTC+99:59 to parse
21291 current and historical use cases.
21292 * time/tst-strptime2.c (tests): Modify and add tests for the
21293 strptime %z input field descriptor, specifically conversion of
21294 minutes to seconds and validating an offset range of -9959 to
21295 +9959.
21296
21297 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21298 Dmitry V. Levin <ldv@altlinux.org>
21299
21300 [BZ #18877]
21301 * posix/Makefile (tests): Add tst-mmap-offset.
21302 * posix/tst-mmap.c: New file.
21303 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21304 offset calculation for negative values.
21305
21306 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21307
21308 * sysdeps/i386/init-arch.h: New file.
21309 * sysdeps/i386/i586/init-arch.h: Likewise.
21310 * sysdeps/i386/i686/init-arch.h: Likewise.
21311 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21312 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21313 * sysdeps/x86/cpu-features.h (bit_I586): New.
21314 (bit_I686): Likewise.
21315 (bit_CX8): Likewise.
21316 (bit_CMOV): Likewise.
21317 (index_CX8): Likewise.
21318 (index_CMOV): Likewise.
21319 (index_I586): Likewise.
21320 (index_I686): Likewise.
21321 (reg_CX8): Likewise.
21322 (reg_CMOV): Likewise.
21323 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21324 available at compile-time.
21325 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21326 available at compile-time.
21327 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21328 (USE_I686): Likewise.
21329
21330 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21331
21332 * sysdeps/i386/bcopy.S: New file.
21333 * sysdeps/i386/bzero.S: Likewise.
21334 * sysdeps/i386/memcpy.S: Likewise.
21335 * sysdeps/i386/memmove.S: Likewise.
21336 * sysdeps/i386/mempcpy.S: Likewise.
21337 * sysdeps/i386/memset.S: Likewise.
21338 * sysdeps/i386/bzero.c: Removed.
21339 * sysdeps/i386/memset.c: Likewise.
21340 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21341 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21342 * sysdeps/i386/i586/memset_chk.S: Likewise.
21343 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21344 * sysdeps/i386/memcpy_chk.S: Here.
21345 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21346 * sysdeps/i386/memmove_chk.S: Here.
21347 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21348 * sysdeps/i386/mempcpy_chk.S: Likewise.
21349 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21350 * sysdeps/i386/memset_chk.S: Likewise.
21351
21352 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21353
21354 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21355 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21356 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21357 * soft-fp/fmadf4.c: Ditto.
21358 * soft-fp/fmatf4.c: Ditto.
21359
21360 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * sysdeps/i386/i586/Implies: Removed.
21363 * sysdeps/i386/i686/Implies: Likewise.
21364
21365 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21366
21367 * sysdeps/i386/i486/strlen.S: Moved to ...
21368 * sysdeps/i386/strlen.S: Here.
21369
21370 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21371
21372 * sysdeps/i386/i486/strcat.S: Moved to ...
21373 * sysdeps/i386/strcat.S: Here.
21374
21375 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21376
21377 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21378 * sysdeps/i386/pthread_spin_trylock.S: Here.
21379 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21380 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21381
21382 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21383
21384 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21385 * sysdeps/i386/string-inlines.c: Here.
21386
21387 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21388
21389 * sysdeps/i386/i486/htonl.S: Moved ...
21390 * sysdeps/i386/htonl.S: here.
21391
21392 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21393
21394 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21395 * sysdeps/i386/bits/atomic.h: Here.
21396
21397 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21398
21399 * sysdeps/i386/i486/Versions: Removed.
21400
21401 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21402
21403 [BZ #2898]
21404 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21405 Based on patch by Aurelien Jarno.
21406
21407 2015-08-26 Stan Shebs <stanshebs@google.com>
21408
21409 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21410 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21411
21412 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21413
21414 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21415 * sysdeps/powerpc/dl-procinfo.c:
21416 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21417 feature so it shows when LD_SHOW_AUXV=1.
21418
21419 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21420
21421 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21422 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21423 definition. ISA 2.07B no longer requires full sync.
21424
21425 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21426
21427 [BZ #18863]
21428 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21429 (si_call_addr): Define.
21430 (si_syscall): Define.
21431 (si_arch): Define.
21432
21433 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21434
21435 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21436 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21437 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21438 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21439 (__memset_zero_constant_len_parameter): New.
21440 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21441 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21442 (__memset_zero_constant_len_parameter): Don't define if
21443 __memset_chk or USE_AS_BZERO are defined.
21444
21445 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21446 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21447 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21448
21449 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21450 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21451 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21452 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21453 comments.
21454 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21455 -mno-mmx for $(all-rtld-routines).
21456 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21457 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21458 i386.
21459
21460 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21461
21462 * sysdeps/generic/unwind.h
21463 (_Unwind_Word): Use __mode__(__unwind_word__)
21464 instead of __mode__(__word__).
21465 (_Unwind_Sword): Likewise.
21466
21467 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21468 (MAX_NEEDED_INPUT): New define.
21469 (MAX_NEEDED_OUTPUT): New define.
21470
21471 * NEWS: New item for IBM z13 string optimizations.
21472
21473 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21474 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21475 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21476 * sysdeps/s390/multiarch/Makefile
21477 (sysdep_routines): Add memrchr functions.
21478 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21479 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21480
21481 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21482 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21483 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21484 * sysdeps/s390/multiarch/Makefile
21485 (sysdep_routines): Add wmemcmp functions.
21486 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21487 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21488 * benchtests/bench-wmemcmp.c: New File.
21489 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21490
21491 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21492 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21493 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21494 * sysdeps/s390/multiarch/Makefile
21495 (sysdep_routines): Add wmemset functions.
21496 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21497 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21498 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21499 * string/test-memset.c: Add wmemset support.
21500 * wcsmbs/test-wmemset.c: New File.
21501 * wcsmbs/Makefile (strop-tests): Add wmemset.
21502 * benchtests/bench-memset.c: Add wmemset support.
21503 * benchtests/bench-wmemset.c: New File.
21504 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21505
21506 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21507 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21508 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21509 * sysdeps/s390/multiarch/Makefile
21510 (sysdep_routines): Add memccpy functions.
21511 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21512 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21513 * string/memccpy.c: Use MEMCCPY if defined.
21514
21515 * sysdeps/s390/multiarch/memchr-vx.S: New File.
21516 * sysdeps/s390/multiarch/memchr.c: Likewise.
21517 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21518 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21519 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21520 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21521 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21522 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21523 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21524 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21525 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21526 and rawmemchr functions.
21527 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21528 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21529 and wmemchr.
21530 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21531 * string/test-memchr.c: Add wmemchr support.
21532 * wcsmbs/test-wmemchr.c: New File.
21533 * wcsmbs/Makefile (strop-tests): Add wmemchr.
21534 * benchtests/bench-memchr.c: Add wmemchr support.
21535 * benchtests/bench-wmemchr.c: New File.
21536 * benchtests/Makefile (wcsmbs-bench): wmemchr.
21537
21538 * sysdeps/s390/multiarch/strcspn-c.c: New File.
21539 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21540 * sysdeps/s390/multiarch/strcspn.c: Likewise.
21541 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21542 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21543 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21544 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21545 wcscspn functions.
21546 * sysdeps/s390/multiarch/ifunc-impl-list.c
21547 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21548 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21549 * string/test-strcspn.c: Add wcscspn support.
21550 * wcsmbs/test-wcscspn.c: New File.
21551 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21552 * benchtests/bench-strcspn.c: Add wcscspn support.
21553 * benchtests/bench-wcscspn.c: New File.
21554 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21555
21556 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21557 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21558 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21559 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21560 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21561 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21562 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21563 wcspbrk functions.
21564 * sysdeps/s390/multiarch/ifunc-impl-list.c
21565 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21566 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21567 * string/test-strpbrk.c: Add wcspbrk support.
21568 * wcsmbs/test-wcspbrk.c: New File.
21569 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21570 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21571 * benchtests/bench-wcspbrk.c: New File.
21572 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21573
21574 * sysdeps/s390/multiarch/strspn-c.c: New File.
21575 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21576 * sysdeps/s390/multiarch/strspn.c: Likewise.
21577 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21578 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21579 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21580 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21581 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21582 wcsspn functions.
21583 * sysdeps/s390/multiarch/ifunc-impl-list.c
21584 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21585 * string/test-strspn.c: Add wcsspn support.
21586 * wcsmbs/test-wcsspn.c: New File.
21587 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21588 * benchtests/bench-strspn.c: Add wcsspn support.
21589 * benchtests/bench-wcsspn.c: New File.
21590 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21591
21592 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21593 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21594 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21595 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21596 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21597 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21598 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21599 wcsrchr functions.
21600 * sysdeps/s390/multiarch/ifunc-impl-list.c
21601 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21602 * benchtests/bench-wcsrchr.c: New File.
21603 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21604
21605 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21606 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21607 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21608 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21609 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21610 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21611 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21612 wcschrnul functions.
21613 * sysdeps/s390/multiarch/ifunc-impl-list.c
21614 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21615 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21616 * string/test-strchr.c: Add wcschrnul support.
21617 * wcsmbs/test-wcschrnul.c: New File.
21618 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21619 * benchtests/bench-strchr.c: Add wcschrnul support.
21620 * benchtests/bench-wcschrnul.c: New File.
21621 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21622
21623 * sysdeps/s390/multiarch/strchr-c.c: New File.
21624 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21625 * sysdeps/s390/multiarch/strchr.c: Likewise.
21626 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21627 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21628 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21629 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21630 wcschr functions.
21631 * sysdeps/s390/multiarch/ifunc-impl-list.c
21632 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21633 * string/strchr.c (STRCHR): Define and use macro.
21634 * benchtests/bench-wcschr.c: New File.
21635 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21636
21637 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21638 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21639 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21640 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21641 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21642 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21643 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21644 wcsncmp functions.
21645 * sysdeps/s390/multiarch/ifunc-impl-list.c
21646 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21647 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21648 * benchtests/bench-strncmp.c: Add wcsncmp support.
21649 * benchtests/bench-wcsncmp.c: New File.
21650 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21651
21652 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21653 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21654 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21655 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21656 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21657 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21658 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21659 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21660 wcscmp functions.
21661 * sysdeps/s390/multiarch/ifunc-impl-list.c
21662 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21663 * string/strcmp.c (STRCMP): Define and use macro.
21664 * benchtests/bench-wcscmp.c: New File.
21665 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21666 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21667 instead of _HAVE_STRING_ARCH_memchr.
21668
21669 * sysdeps/s390/multiarch/strncat-c.c: New File.
21670 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21671 * sysdeps/s390/multiarch/strncat.c: Likewise.
21672 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21673 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21674 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21675 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21676 wcsncat functions.
21677 * sysdeps/s390/multiarch/ifunc-impl-list.c
21678 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21679 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21680 * string/test-strncat.c: Add wcsncat support.
21681 * wcsmbs/test-wcsncat.c: New File.
21682 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21683 * benchtests/bench-strncat.c: Add wcsncat support.
21684 * benchtests/bench-wcsncat.c: New File.
21685 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21686
21687 * sysdeps/s390/multiarch/strcat-c.c: New File.
21688 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21689 * sysdeps/s390/multiarch/strcat.c: Likewise.
21690 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21691 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21692 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21693 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21694 wcscat functions.
21695 * sysdeps/s390/multiarch/ifunc-impl-list.c
21696 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21697 * string/strcat.c (STRCAT): Define and use macro.
21698 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21699 * string/test-strcat.c: Add wcscat support.
21700 * wcsmbs/test-wcscat.c: New File.
21701 * wcsmbs/Makefile (strop-tests): Add wcscat.
21702 * benchtests/bench-strcat.c: Add wcscat support.
21703 * benchtests/bench-wcscat.c: New File.
21704 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21705
21706 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21707 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21708 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21709 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21710 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21711 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21712 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21713 wcpncpy functions.
21714 * sysdeps/s390/multiarch/ifunc-impl-list.c
21715 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21716 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21717 * string/test-stpncpy.c: Add wcpncpy support.
21718 * wcsmbs/test-wcpncpy.c: New File.
21719 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21720 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21721 * benchtests/bench-wcpncpy.c: New File.
21722 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21723
21724 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21725 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21726 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21727 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21728 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21729 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21730 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21731 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21732 wcsncpy functions.
21733 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21734 * sysdeps/s390/multiarch/ifunc-impl-list.c
21735 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21736 * string/test-strncpy.c: Add wcsncpy support.
21737 * wcsmbs/test-wcsncpy.c: New File.
21738 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21739 * benchtests/bench-strncpy.c: Add wcsncpy support.
21740 * benchtests/bench-wcsncpy.c: New File.
21741 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21742
21743 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21744 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21745 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21746 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21747 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21748 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21749 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21750 wcpcpy functions.
21751 * string/stpcpy.c: Use STPCPY if defined.
21752 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21753 * sysdeps/s390/multiarch/ifunc-impl-list.c
21754 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21755 * string/test-stpcpy.c: Add wcpcpy support.
21756 * wcsmbs/test-wcpcpy.c: New File.
21757 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21758 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21759 * benchtests/bench-wcpcpy.c: New File.
21760 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21761
21762 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21763 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21764 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21765 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21766 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21767 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21768 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21769 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21770 wcscpy functions.
21771 * sysdeps/s390/multiarch/ifunc-impl-list.c
21772 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21773 * benchtests/bench-wcscpy.c: New File.
21774 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21775
21776 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21777 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21778 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21779 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21780 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21781 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21782 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21783 wcsnlen functions.
21784 * sysdeps/s390/multiarch/ifunc-impl-list.c
21785 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21786 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21787 * string/test-strnlen.c: Add wcsnlen support.
21788 * wcsmbs/test-wcsnlen.c: New File.
21789 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21790 * benchtests/bench-strnlen.c: Add wcsnlen support.
21791 * benchtests/bench-wcsnlen.c: New File.
21792 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21793
21794 * sysdeps/s390/multiarch/Makefile: New File.
21795 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21796 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21797 * sysdeps/s390/multiarch/strlen.c: Likewise.
21798 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21799 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21800 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21801 * string/strlen.c (STRLEN): Define and use macro.
21802 * sysdeps/s390/multiarch/ifunc-impl-list.c
21803 (IFUNC_VX_IMPL): New macro function.
21804 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21805 * benchtests/Makefile (wcsmbs-bench): New variable.
21806 (string-bench-all): Added wcsmbs-bench.
21807 * benchtests/bench-wcslen.c: New File.
21808
21809 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21810 s390_vx_libc_ifunc2): New macro function.
21811
21812 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21813 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21814 assembler support.
21815 * sysdeps/s390/configure: Regenerated.
21816
21817 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21818 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21819
21820 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21821 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21822 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21823
21824 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21825 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21827 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21828 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21829 (memcmp, bcmp): Use __memcmp_default as alias source.
21830 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21831 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21832 Rename to __memcmp_default.
21833 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21834 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21835 (memcpy): Use __memcpy_default as alias source.
21836 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21837 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21838 Rename to __memcpy_default.
21839 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21840 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21841 (memset): Use __memset_default as alias source.
21842 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21843 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21844 Rename to __memset_default.
21845 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21846 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21847 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21848 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21849 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21850 (memcmp, bcmp): Use __memcmp_default as alias source.
21851 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21852 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21853 Rename to __memcmp_default.
21854 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21855 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21856 (memcpy): Use __memcpy_default as alias source.
21857 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21858 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21859 Rename to __memcpy_default.
21860 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21861 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21862 (memset): Use __memset_default as alias source.
21863 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21864 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21865 Rename to __memset_default.
21866 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21867 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21868
21869 [BZ #18610]
21870 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21871 __ieee_instruction_pointer to __unused.
21872 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21873 __ieee_instruction_pointer.
21874 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21875 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21876 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21877 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21878 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21879 Mark dxc-field as reserved.
21880
21881 2015-08-25 Roland McGrath <roland@hack.frob.com>
21882
21883 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21884 if the weak reference is not null.
21885
21886 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21887
21888 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21889
21890 [BZ #11214]
21891 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21892
21893 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21894
21895 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21896 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21897 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21898 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21899 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21900 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21901 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21902 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21903 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21904 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21905 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21906 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21907 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21908 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21909 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21910 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21911 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21912 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21913
21914 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21915
21916 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21917 register other than r0 for tabort, it has special meaning.
21918 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21919 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21920 transaction before starting syscall.
21921
21922 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21923
21924 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21925
21926 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21929
21930 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21931 * sysdeps/x86_64/rtld-memset.S: Likewise.
21932 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21933 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21934 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21935 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21936
21937 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21938
21939 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21940
21941 * debug/strcpy_chk.c: Improve performance.
21942 * debug/stpcpy_chk.c: Likewise.
21943 * sysdeps/x86_64/strcpy_chk.S: Remove.
21944 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21945
21946 [BZ #18240]
21947 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21948
21949 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 [BZ #15128]
21952 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21953 ifuncmain8.
21954 (modules-names): Add ifuncmod8.
21955 ($(objpfx)ifuncmain8): New rule.
21956 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21957 <cpuid.h>.
21958 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21959 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21960 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21961 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21962 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21963 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21964 * sysdeps/x86_64/ifuncmain8.c: New file.
21965 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21966 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21967 Removed.
21968 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21969 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21970 Change rtld_savespace_sse to __glibc_unused2.
21971 (RTLD_CHECK_FOREIGN_CALL): Removed.
21972 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21973 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21974 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21975
21976 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21977
21978 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21979
21980 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21981
21982 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21983 Unconditionally set __fpcr to avoid uninialized warning.
21984 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21985
21986 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21987
21988 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21989 is corrupt.
21990
21991 * malloc/arena.c (arena_get2): Drop unused argument.
21992 (arena_lock): Adjust.
21993 (arena_get_retry): Likewise.
21994
21995 2015-08-24 Andreas Schwab <schwab@suse.de>
21996
21997 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21998 Don't define.
21999 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22000 (__ASSUME_IPC64): Don't undef.
22001 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22002 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22003 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22004 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22005 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22006 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22007 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22008 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22009 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22010 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22011 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22012 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22013 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22014 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22015 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22016 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22017 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22018 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22019 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22020 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22021 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22022
22023 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22024
22025 * manual/Makefile (install): Only build manual when perl is available.
22026
22027 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22028
22029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22030 '#undef memcpy' by '#undef memchr'.
22031
22032 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22033
22034 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22035 memchr not point to the internal __GI_memchr implementation.
22036
22037 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22038
22039 * timezone/Makefile (CFLAGS-zdump.c): Remove
22040 -Wno-strict-prototypes.
22041 (CFLAGS-zic.c): Likewise.
22042 (CFLAGS-ialloc.c): Likewise.
22043 (CFLAGS-scheck.c): Likewise.
22044
22045 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22046 -Wno-error=undef.
22047
22048 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22049
22050 * i386/i686/multiarch/strcasestr-c.c: Removed.
22051 * x86_64/multiarch/strcasestr.c: Likewise.
22052 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22053 Remove strcasestr.
22054
22055 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22056
22057 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22058
22059 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22060 variables for high and low parts before possibly modifying them.
22061
22062 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22063
22064 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22065 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22066 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22067 of "multiarch/init-arch.h".
22068 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22069 * sysdeps/x86/init-arch.h: This.
22070
22071 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22072
22073 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22074 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22075
22076 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22077
22078 [BZ #17787]
22079 * manual/macros.texi: Add twoexp macro.
22080 * manual/filesys.texi: Fix exponents.
22081 * manual/llio.texi: Likewise.
22082 * manual/stdio.texi: Likewise.
22083
22084 2015-08-20 Florian Weimer <fweimer@redhat.com>
22085
22086 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22087 incorrect use.
22088
22089 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22090
22091 [BZ #18370]
22092 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22093 whose real or imaginary part has small absolute value.
22094 * math/s_csqrtf.c (__csqrtf): Likewise.
22095 * math/s_csqrtl.c (__csqrtl): Likewise.
22096 * math/auto-libm-test-in: Add more tests of csqrt.
22097 * math/auto-libm-test-out: Regenerated.
22098 * sysdeps/i386/fpu/libm-test-ulps: Update.
22099
22100 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22101
22102 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22103 __ppc_set_ppr_very_low): New functions.
22104 * manual/platform.texi: Add documentation about
22105 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22106
22107 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22108
22109 * string/stpncpy.c (stpncpy): Improve performance using
22110 __strnlen/memcpy/memset.
22111
22112 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22113
22114 [BZ #18796]
22115 * scripts/test-installation.pl: Don't add -lmvec to build options if
22116 libmvec wasn't built.
22117
22118 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22119
22120 [BZ #14341]
22121 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22122 case when there is a gap between DT_REL and DT_JMPREL sections.
22123 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22124 (LDFLAGS-tst-split-dynreloc): New.
22125 (tst-split-dynreloc-ENV): Likewise.
22126 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22127 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22128
22129 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 [BZ #18822]
22132 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22133 attribute_hidden.
22134 (__xstat64_conv): Likewise.
22135 (__xstat32_conv): Likewise.
22136
22137 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22138
22139 [BZ #18822]
22140 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22141 Don't load %ebx when calling __setcontext. Call __setcontext
22142 with HIDDEN_JUMPTARGET.
22143 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22144 libc_hidden_def.
22145
22146 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22147
22148 * sysdeps/i386/i686/Makefile
22149 [$(subdir) == string] (sysdep_routines): Moved to ...
22150 * sysdeps/i386/Makefile: Here.
22151 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22152 * sysdeps/i386/cacheinfo.c: Here.
22153 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22154 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22155 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22156 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22157
22158 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22161 __i586__ is defined.
22162 (HAS_I686): Defined to 1 if __i686__ is defined.
22163
22164 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22165
22166 * elf/Makefile [$(have-z-execstack) = yes]
22167 (CPPFLAGS-tst-execstack.c): New variable.
22168
22169 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22170 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22171 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22172 UTMPX || _HAVE_UT_TV].
22173 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22174 UTMPX || _HAVE_UT_TV - 0].
22175
22176 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22177
22178 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22179 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22180 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22181
22182 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22183
22184 * sysdeps/powerpc/dl-procinfo.c:
22185 (_dl_powerpc_cap_flags): Added missing strings for some
22186 hwcap features.
22187 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22188
22189 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22190
22191 Port the 0x7efe...feff pattern to GCC 6.
22192 See Steve Ellcey's bug report in:
22193 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22194 * string/memrchr.c (MEMRCHR):
22195 * string/rawmemchr.c (RAWMEMCHR):
22196 * string/strchr.c (strchr):
22197 * string/strchrnul.c (STRCHRNUL):
22198 Rewrite code to avoid issues with signed shift overflow.
22199
22200 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22201
22202 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22203 whether cpuid is available only if HAS_CPUID is 0.
22204 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22205 (HAS_I586): Likewise.
22206 (HAS_I686): Likewise.
22207
22208 2015-08-18 Zack Weinberg <zackw@panix.com>
22209
22210 * misc/Versions (libc): Add GLIBC_2.23.
22211
22212 2015-08-18 Alan Modra <amodra@gmail.com>
22213
22214 [BZ #18421]
22215 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22216 .Lp__global.
22217 (_start): Load %dp via .Lp__global.
22218 [!SHARED]: Use .section .rodata.
22219
22220 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22221
22222 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22223 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22224
22225 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22226
22227 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22228 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22229
22230 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22231
22232 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22233 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22234
22235 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22236
22237 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22238 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22239
22240 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22241
22242 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22243 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22244
22245 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22246
22247 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22248 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22249
22250 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22251
22252 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22253
22254 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22255
22256 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22257 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22258 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22259 (__ASSUME_LWS_CAS): Delete.
22260
22261 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22262
22263 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22264 * sysdeps/hppa/configure: Regenerated.
22265 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22266 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22267 * sysdeps/hppa/nptl/tls.h: Likewise.
22268
22269 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22270
22271 [BZ #18823]
22272 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22273 for scaling up small arguments.
22274 * math/s_csqrtf.c (__csqrtf): Likewise.
22275 * math/s_csqrtl.c (__csqrtl): Likewise.
22276 * math/auto-libm-test-in: Add more tests of csqrt.
22277 * math/auto-libm-test-out: Regenerated.
22278
22279 2015-08-17 Andreas Schwab <schwab@suse.de>
22280
22281 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22282 version set GLIBC_2.19.
22283
22284 2015-08-16 Zack Weinberg <zackw@panix.com>
22285
22286 [BZ #18681]
22287 * misc/regexp.h: This interface is no longer supported.
22288 Remove all contents, leaving only an #error directive.
22289 * misc/regexp.c (loc1, loc2, locs, step, advance):
22290 Demote to compatibility symbols.
22291
22292 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22293
22294 [BZ #18084]
22295 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22296 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22297 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22298 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22299 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22300 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22301 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22302 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22303 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22304
22305 2015-08-15 Zack Weinberg <zackw@panix.com>
22306
22307 [BZ #18795]
22308 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22309 buffer length is known to be too large, not if it's known to be
22310 small enough.
22311 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22312 overflow at runtime, involving a length parameter, twice: once
22313 with a compile-time constant length parameter, once without.
22314
22315 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22316
22317 [BZ #18824]
22318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22319 scaling x * y up instead of down.
22320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22321 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22322 * math/auto-libm-test-in: Add more tests of fma.
22323 * math/auto-libm-test-out: Regenerated.
22324
22325 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22326
22327 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22328
22329 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22330
22331 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22332 unnecessary movq.
22333 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22334 Likewise.
22335
22336 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22337
22338 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22339 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22340 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22341 and tgamma.
22342 * math/auto-libm-test-out: Regenerated.
22343 * sysdeps/i386/fpu/libm-test-ulps: Update.
22344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22345
22346 [BZ #16520]
22347 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22348 (__tanh): Force underflow exception for arguments with small
22349 absolute value.
22350 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22351 (__tanhf): Force underflow exception for arguments with small
22352 absolute value.
22353 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22354 (__tanhl): Force underflow exception for arguments with small
22355 absolute value.
22356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22357 (__tanhl): Force underflow exception for arguments with small
22358 absolute value.
22359 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22360 (__tanhl): Force underflow exception for arguments with small
22361 absolute value.
22362 * math/auto-libm-test-in: Add more tests of tanh.
22363 * math/auto-libm-test-out: Regenerated.
22364 * sysdeps/i386/fpu/libm-test-ulps: Update.
22365
22366 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22367
22368 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22369 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22370
22371 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22374 <cpuid.h>.
22375
22376 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22379 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22380
22381 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22382
22383 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22384 Remove $(objpfx)init-arch.o.
22385 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22386 init-arch.
22387 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22388 (INIT_ARCH_EXT): Defined as empty.
22389 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22390 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22391 __init_cpu_features call. Replace HAS_XXX with
22392 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22393 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22395 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22396 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22397 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22398 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22399 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22400 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22401 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22402 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22403 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22404 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22405 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22406 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22407 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22408 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22410 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22411 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22412 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22413 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22414 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22415 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22416 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22417 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22418 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22419 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22420 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22421 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22422 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22423 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22424 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22425 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22426 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22427 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22428
22429 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22430
22431 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22432 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22433 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22434 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22435 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22436 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22437 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22438 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22439 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22440 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22441 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22442 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22443 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22444 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22445 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22446 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22447 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22448 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22449 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22450 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22451 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22452 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22453 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22454 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22455 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22456 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22457 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22458 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22459 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22461 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22462 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22463 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22465 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22466 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22467 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22468 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22469 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22470 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22471 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22472 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22473 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22474
22475 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22476
22477 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22478 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22481 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22482 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22484 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22485 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22488 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22489 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22490 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22491 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22492 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22493 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22494 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22495 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22496 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22498 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22499 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22500 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22501 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22502 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22503 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22504 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22505 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22506 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22507 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22508 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22509 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22510 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22511 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22512 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22513 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22514 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22515 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22516 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22517 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22518 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22519 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22520
22521 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22524 (dl_platform_init): Call init_cpu_features.
22525 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22526 * sysdeps/i386/i686/cacheinfo.c
22527 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22528 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22529 * sysdeps/i386/i686/multiarch/Versions: Removed.
22530 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22531 Removed.
22532 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22533 * sysdeps/unix/sysv/linux/x86/Makefile
22534 (libpthread-sysdep_routines): Remove init-arch.
22535 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22536 <sysdeps/x86_64/dl-procinfo.c> instead of
22537 sysdeps/generic/dl-procinfo.c>.
22538 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22539 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22540 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22541 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22542 [$(subdir) == elf] (tests-static): Add
22543 tst-get-cpu-features-static.
22544 * sysdeps/x86/Versions: New file.
22545 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22546 * sysdeps/x86/cpu-features.c: Likewise.
22547 * sysdeps/x86/cpu-features.h: Likewise.
22548 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22549 * sysdeps/x86/libc-start.c: Likewise.
22550 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22551 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22552 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22553 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22554 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22555 Assume USE_MULTIARCH is defined and don't check it.
22556 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22557 (is_amd): Likewise.
22558 (max_cpuid): Likewise.
22559 (intel_check_word): Likewise.
22560 (__cache_sysconf): Don't call __init_cpu_features.
22561 (__x86_preferred_memory_instruction): Removed.
22562 (init_cacheinfo): Don't call __init_cpu_features. Replace
22563 __cpu_features with GLRO(dl_x86_cpu_features).
22564 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22565 (dl_platform_init): Call init_cpu_features.
22566 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22567 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22568 * sysdeps/x86_64/multiarch/Versions: Removed.
22569 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22570 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22571 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22572 Removed.
22573 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22574
22575 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22576
22577 [BZ #18820]
22578 * libio/Makefile (test-fmemopen-mem): New test.
22579 * libio/test-fmemopen.c (do_bz18820): New test.
22580 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22581 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22582
22583 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22584
22585 [BZ #16734]
22586 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22587 (FREE_BUF): Delete.
22588 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22589 * libio/genops.c (_IO_setb): Use malloc and free directly.
22590 (_IO_default_doallocate, _IO_default_finish): Likewise.
22591 ( _IO_unbuffer_all): Likewise.
22592 ( libc_freeres_fn): Likewise.
22593 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22594 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22595 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22596 (_IO_wdefault_doallocate): Likewise.
22597
22598 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22599
22600 [BZ #18086]
22601 * sysdeps/posix/nice.c (nice): Restore old errno.
22602 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22603
22604 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22605
22606 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22607
22608 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22609
22610 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22611 __bcopy and add a weak_alias to bcopy.
22612 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22613 for static build.
22614
22615 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22616 cleanup macro usage.
22617 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22618 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22619 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22620 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22621 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22622 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22623 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22624 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22625 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22626 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22627 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22628 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22629 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22630 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22631 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22632 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22633 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22634 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22635 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22636
22637 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22638 libc_hidden_def.
22639 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22640
22641 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22642 (sysdep_routines): Add strstr-ppc64.
22643 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22644
22645 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22646
22647 [BZ #18778]
22648 * elf/Makefile (tests): Add Add tst-nodelete2.
22649 (modules-names): Add tst-nodelete2mod.
22650 (tst-nodelete2mod.so-no-z-defs): New.
22651 ($(objpfx)tst-nodelete2): Likewise.
22652 ($(objpfx)tst-nodelete2.out): Likewise.
22653 (LDFLAGS-tst-nodelete2): Likewise.
22654 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22655 out of loop through all loaded libraries.
22656 * elf/tst-nodelete2.c: New file.
22657 * elf/tst-nodelete2mod.c: Likewise.
22658 * elf/tst-znodelete-zlib.cc: Delete.
22659
22660 2015-08-11 Andreas Schwab <schwab@suse.de>
22661
22662 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22663 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22664 (__openat64_nocancel): Likewise.
22665
22666 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22667
22668 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22669 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22670 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22671 * math/auto-libm-test-out: Regenerated.
22672 * sysdeps/i386/fpu/libm-test-ulps: Update.
22673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22674
22675 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22676
22677 [BZ #18790]
22678 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22679 threshold for returning +/- 1.
22680 * math/auto-libm-test-in: Add more tests of tanh.
22681 * math/auto-libm-test-out: Regenerated.
22682 * sysdeps/i386/fpu/libm-test-ulps: Update.
22683
22684 2015-08-10 Andreas Schwab <schwab@suse.de>
22685
22686 [BZ #18781]
22687 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22688 MORE_OFLAGS to oflag.
22689 * io/test-lfs.c (do_test): Test openat64.
22690
22691 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22692
22693 [BZ #18789]
22694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22695 smaller threshold for returning the argument.
22696 * math/auto-libm-test-in: Add more tests of sinh.
22697 * math/auto-libm-test-out: Regenerated.
22698 * sysdeps/i386/fpu/libm-test-ulps: Update.
22699
22700 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22701
22702 [BZ #18674]
22703 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22704 break.
22705
22706 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22707
22708 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22709 (generated): Don't add $(addprefix z.,$(tzfiles)).
22710
22711 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22712
22713 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22714 * scripts/sysd-rules.awk: Likewise.
22715
22716 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22717
22718 * iconvdata/tst-tables.sh: Change echo -n to printf.
22719 * nss/db-Makefile: Likewise.
22720 * posix/tst-getconf.sh: Likewise.
22721 * stdio-common/tst-unbputc.sh: Likewise.
22722
22723 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22724
22725 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22726 MADV_*_PAGES defines behind this feature check.
22727
22728 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22729
22730 [BZ #18480]
22731 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22732 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22733 Define.
22734 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22735 LOAD_REGS_5, LOAD_REGS_6): Update.
22736 (INTERNAL_SYSCALL): Update using new LOAD defines.
22737 (INTERNAL_SYSCALL_NCS): Likewise.
22738 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22739
22740 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22741
22742 [BZ #16734]
22743 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22744
22745 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22746
22747 [BZ #17905]
22748 * catgets/Makefile (tst-catgets-mem): New test.
22749 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22750 * catgets/open_catalog.c (__open_catalog): Likewise.
22751 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22752
22753 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22754
22755 [BZ #18787]
22756 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22757 clobber registers.
22758 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22759 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22760 Cast return to __typeof (oldval).
22761
22762 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22763
22764 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22765 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22766 and delete sys/syscall.h include.
22767
22768 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22769
22770 [BZ #16517]
22771 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22772 (tan): Force underflow exception for arguments with small absolute
22773 value.
22774 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22775 (__kernel_tanf): Force underflow exception for arguments with
22776 small absolute value.
22777 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22778 (__kernel_tanl): Force underflow exception for arguments with
22779 small absolute value.
22780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22781 (__kernel_tanl): Force underflow exception for arguments with
22782 small absolute value.
22783 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22784 (__kernel_tanl): Force underflow exception for arguments with
22785 small absolute value.
22786 * math/auto-libm-test-in: Add more tests of tan.
22787 * math/auto-libm-test-out: Regenerated.
22788
22789 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22790
22791 Fix sysdeps/i386/fpu/s_scalbn.S build
22792
22793 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22794
22795 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22796
22797 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22798
22799 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22800
22801 Fix gcrt0.o compilation
22802
22803 When static-start-installed-name is different from
22804 start-installed-name, we must not use the shared objects.
22805
22806 * csu/Makefile
22807 (extra-objs): Add gmon-start.o when building shared library and
22808 $(static-start-installed-name) is different from
22809 $(start-installed-name).
22810 $(objpfx)g$(static-start-installed-name): When building shared
22811 library and $(static-start-installed-name) is different from
22812 $(static-start-installed-name), revert to non-shared rule,
22813 i.e. using $(objpfx)% and gmon-start.o.
22814
22815 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22816
22817 [BZ #16519]
22818 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22819 (__ieee754_sinh): Force underflow exception for arguments with
22820 small absolute value.
22821 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22822 (__ieee754_sinhf): Force underflow exception for arguments with
22823 small absolute value.
22824 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22825 (__ieee754_sinhl): Force underflow exception for arguments with
22826 small absolute value.
22827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22828 (__ieee754_sinhl): Force underflow exception for arguments with
22829 small absolute value.
22830 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22831 (__ieee754_sinhl): Force underflow exception for arguments with
22832 small absolute value.
22833 * math/auto-libm-test-in: Add more tests of sinh.
22834 * math/auto-libm-test-out: Regenerated.
22835 * sysdeps/i386/fpu/libm-test-ulps: Update.
22836
22837 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22838
22839 * libio/oldfileops.c: Include unistd.h.
22840
22841 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22842
22843 * stdlib/isomac.c: Include ctype.h.
22844
22845 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22846
22847 * dirent/tst-seekdir.c (main): Converted to ...
22848 (do_test): ... this.
22849 (TEST_FUNCTION): New macro.
22850 Include test-skeleton.c.
22851 * elf/tst-dlmodcount.c (main): Converted to ...
22852 (do_test): ... this.
22853 (TEST_FUNCTION): New macro.
22854 Include test-skeleton.c.
22855 * elf/tst-order-main.c (main): Converted to ...
22856 (do_test): ... this.
22857 (TEST_FUNCTION): New macro.
22858 Include test-skeleton.c.
22859 * elf/tst-pie2.c (main): Converted to ...
22860 (do_test): ... this.
22861 (TEST_FUNCTION): New macro.
22862 Include test-skeleton.c.
22863 * inet/tst-ether_aton.c (main): Converted to ...
22864 (do_test): ... this.
22865 (TEST_FUNCTION): New macro.
22866 Include test-skeleton.c.
22867 * misc/tst-mntent.c (main): Converted to ...
22868 (do_test): ... this.
22869 (TEST_FUNCTION): New macro.
22870 Include test-skeleton.c.
22871 * misc/tst-tsearch.c (main): Converted to ...
22872 (do_test): ... this.
22873 (TEST_FUNCTION): New macro.
22874 Include test-skeleton.c.
22875 * posix/tst-regexloc.c (main): Converted to ...
22876 (do_test): ... this.
22877 (TEST_FUNCTION): New macro.
22878 Include test-skeleton.c.
22879 * resolv/tst-aton.c (main): Converted to ...
22880 (do_test): ... this.
22881 (TEST_FUNCTION): New macro.
22882 Include test-skeleton.c.
22883 * stdio-common/test-fwrite.c (main): Converted to ...
22884 (do_test): ... this.
22885 (TEST_FUNCTION): New macro.
22886 Include test-skeleton.c.
22887 * stdio-common/tst-ferror.c (main): Converted to ...
22888 (do_test): ... this.
22889 (TEST_FUNCTION): New macro.
22890 Include test-skeleton.c.
22891 * stdio-common/tst-printf.c (main): Converted to ...
22892 (do_test): ... this.
22893 (TEST_FUNCTION): New macro.
22894 Include test-skeleton.c.
22895 * stdio-common/tst-printfsz.c (main): Converted to ...
22896 (do_test): ... this.
22897 (TEST_FUNCTION): New macro.
22898 Include test-skeleton.c.
22899 * stdlib/tst-strtod.c (main): Converted to ...
22900 (do_test): ... this.
22901 (TEST_FUNCTION): New macro.
22902 Include test-skeleton.c.
22903 * string/tst-strlen.c (main): Converted to ...
22904 (do_test): ... this.
22905 (TEST_FUNCTION): New macro.
22906 Include test-skeleton.c.
22907 * string/tst-svc.c (main): Converted to ...
22908 (do_test): ... this.
22909 (TEST_FUNCTION): New macro.
22910 Include test-skeleton.c.
22911 * time/tst-strptime.c (main): Converted to ...
22912 (do_test): ... this.
22913 (TEST_FUNCTION): New macro.
22914 Include test-skeleton.c.
22915 * timezone/tst-timezone.c (main): Converted to ...
22916 (do_test): ... this.
22917 (TEST_FUNCTION): New macro.
22918 Include test-skeleton.c.
22919
22920 2015-08-05 Zack Weinberg <zackw@panix.com>
22921
22922 * misc/regexp.h: Update comments.
22923
22924 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22925
22926 [BZ #18635]
22927 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22928 before return label.
22929
22930 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 [BZ #18661]
22933 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22934 when calling __errno_location.
22935 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22936 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22937
22938 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 [BZ #18661]
22941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22942 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22943 __gettimeofday.
22944
22945 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22946
22947 [BZ #18661]
22948 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22949 (__start_context): Don't use pop to restore %rdi so that stack
22950 is aligned to 16 bytes when calling __setcontext.
22951
22952 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22953
22954 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22955 only for libc.
22956 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22957
22958 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22959
22960 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22961 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22962 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22963
22964 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22965
22966 * string/memccpy.c (memccpy):
22967 Improve performance by using memchr/memcpy/__mempcpy.
22968
22969 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22970
22971 * string/strncpy.c (strncpy):
22972 Improve performance by using __strnlen/memcpy.
22973
22974 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22975
22976 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22977 Optimize to avoid an unnecessary FPCR read.
22978
22979 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22980
22981 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22982 Optimize to reduce FPCR/FPSR accesses.
22983
22984 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22985
22986 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22987 dead->data[category] != NULL.
22988
22989 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22990
22991 [BZ #18647]
22992 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22993 and |x| close to 1, use absolute value of x when computing log.
22994 * math/auto-libm-test-in: Add more tests of pow.
22995 * math/auto-libm-test-out: Regenerated.
22996
22997 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22998
22999 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23000 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23001 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23002
23003 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23004
23005 [BZ #18525]
23006 * locales/km_KH: Remove timezone definition.
23007 * locales/lo_LA: Likewise.
23008 * locales/my_MM: Likewise.
23009 * locales/nan_TW@latin: Likewise.
23010 * locales/th_TH: Likewise.
23011 * locales/uk_UA: Likewise.
23012
23013 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23014
23015 [BZ #18265]
23016 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23017 (wcsncat): Likewise.
23018 (wcscmp): Likewise.
23019 (wcsncmp): Likewise.
23020
23021 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23022
23023 * test-skeleton.c (usage): New function.
23024 (main): Call usage when opt is '?'.
23025
23026 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23027
23028 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23029 before first use.
23030
23031 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23032
23033 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23034 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23035 in there too.
23036
23037 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23038
23039 * version.h (RELEASE): Set to "development".
23040 (VERSION): Set to "2.22.90"
23041
23042 * version.h (RELEASE): Set to "stable".
23043 (VERSION): Set to "2.22"
23044 * include/features.h (__GLIBC_MINOR__): Set to 22.
23045
23046 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23047
23048 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23049 Restructure macro to avoid "value computed is not used" warning.
23050 (atomic_compare_and_exchange_val_acq): Likewise.
23051
23052 2015-08-04 Andreas Schwab <schwab@suse.de>
23053
23054 [BZ #18635]
23055 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23056 ret.
23057 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23058
23059 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23060
23061 * po/pl.po: Updated translation.
23062 * po/uk.po: Likewise.
23063 * po/fi.po: Likewise.
23064 * po/ko.po: Likewise.
23065 * po/ru.po: Likewise.
23066 * po/vi.po: Likewise.
23067
23068 2015-07-31 Zack Weinberg <zackw@panix.com>
23069
23070 [BZ #18681]
23071 * regexp.h: Add unconditional #warning stating that this header
23072 will be removed soon. Revise banner comment to match.
23073 (compile): Consistently use ERROR instead of RETURN to report
23074 errors (partial fix for bz#18681).
23075 * regexp.c: Don't include regexp.h. Remove some unnecessary
23076 declarations.
23077
23078 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23079
23080 * po/libc.pot: Regenerated.
23081
23082 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23083
23084 [BZ #18740]
23085 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23086 float-vlen4-arch-ext-cflags): Removed.
23087 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23088 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23089
23090 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23091
23092 [BZ #14113]
23093 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23094 aligned to __aligned__.
23095 (pthread_cond_t, pthread_rwlock_t): Likewise.
23096
23097 2015-07-30 Torvald Riegel <triegel@redhat.com>
23098
23099 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23100
23101 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23102
23103 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23104 (struct sigaction): Change sa_flags from a long to an int, and add
23105 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23106
23107 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23108
23109 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23110 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23111 sysdeps/generic/sysdep.h include.
23112 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23113 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23114 sysdeps/hppa/sysdep.h.
23115 (ENTRY, PSEUDO): Undefine before defining.
23116
23117 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23118
23119 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23120 from scratch to use INTERNAL_SYSCALL.
23121
23122 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23123
23124 [BZ #18078]
23125 * scripts/check-localplt.awk: Support alternate relocations.
23126 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23127 sections.
23128 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23129 malloc entries with + REL R_386_GLOB_DAT.
23130 * sysdeps/x86_64/localplt.data: New file.
23131
23132 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23133
23134 [BZ #18731]
23135 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23136 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23137 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23138
23139 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23140
23141 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23142
23143 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23144
23145 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23146 directly in terms of __sync_fetch_and_add and delete (int) cast.
23147
23148 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23149
23150 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23151 the -D_ASM_IA64_CURRENT_H flag.
23152
23153 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23154
23155 [BZ #18641]
23156 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23157
23158 2015-07-27 Andreas Schwab <schwab@suse.de>
23159
23160 * conform/conformtest.pl (checknamespace): Filter out string
23161 literals while tokenizing.
23162
23163 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23164
23165 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23166 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23167 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23168
23169 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23170
23171 * nptl/tst-join7mod.c: Add #include <string.h>.
23172
23173 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23174
23175 * sysdeps/nios2/libm-test-ulps: Update.
23176
23177 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23178
23179 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23180 Fix order of arguments to the rt_sigprocmask syscall.
23181 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23182 Likewise.
23183
23184 2015-07-24 Roland McGrath <roland@hack.frob.com>
23185
23186 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23187
23188 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23189
23190 [BZ #18457]
23191 * nptl/Makefile (tests): New test case tst-join7.
23192 (modules-names): New test case module tst-join7mod.
23193 * nptl/tst-join7.c: New file.
23194 * nptl/tst-join7mod.c: New file.
23195 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23196 all translation units in libc.so, libpthread.so and rtld.
23197
23198 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23199
23200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23201
23202 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23203
23204 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23205 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23206 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23207 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23208 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23210 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23211 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23212 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23213 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23214 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23215 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23216 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23217 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23218 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23219 implementation.
23220
23221 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23222
23223 [BZ #17711]
23224 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23225 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23226 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23227 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23228 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23229 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23230
23231 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23232
23233 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23234 instead of just saying load lock in the comments.
23235
23236 2015-07-23 Roland McGrath <roland@hack.frob.com>
23237
23238 * sysdeps/unix/Subdirs: Moved ...
23239 * sysdeps/posix/Subdirs: ... here.
23240 * login/pty.h (struct termios, struct winsize): Add forward decls.
23241 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23242 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23243 * sysdeps/arm/nacl/libc.abilist: Updated.
23244 * sysdeps/nacl/libutil.abilist: New file.
23245
23246 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23247 (SIGWINCH): New macro.
23248
23249 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23250 * sysdeps/arm/nacl/libc.abilist: Add it.
23251
23252 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23253
23254 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23255
23256 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23257
23258 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23259 Swap __glibc_reserved0 and sa_flags order.
23260
23261 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23262
23263 [BZ #18657]
23264 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23265 are pending TLS destructor calls.
23266 * include/link.h (struct link_map): Add concurrency note for
23267 L_TLS_DTOR_COUNT.
23268 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23269 Don't touch the link map flag. Atomically increment
23270 l_tls_dtor_count.
23271 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23272 Avoid taking the load lock and don't touch the link map flag.
23273 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23274 * stdlib/Makefile (tests): Use it.
23275 * stdlib/tst-tls-atexit.c (do_test): dlopen
23276 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23277 to allow tst-tls-atexit-nodelete test case to use it.
23278
23279 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23280
23281 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23282 to bits/types.h.
23283 (msgqnum_t): New typedef.
23284 (msglen_t): Likewise.
23285 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23286 and msg_qbytes type to msglen_t.
23287
23288 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23289
23290 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23291 pad0 to __glibc_reserved0.
23292 (struct stat64): Likewise.
23293
23294 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23295
23296 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23297 Change sa_flags from a long to an int and add __glibc_reserved0 before
23298 it for padding.
23299
23300 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23301
23302 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23303 anonymous by deleting "siginfo" name.
23304
23305 2015-07-21 Roland McGrath <roland@hack.frob.com>
23306
23307 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23308 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23309 rather than __nacl_irt_filename.
23310 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23311
23312 * NEWS: New item for arm-nacl port.
23313 * sysdeps/arm/nacl/libc.abilist: New file.
23314 * sysdeps/nacl/ld.abilist: New file.
23315 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23316 * sysdeps/nacl/libanl.abilist: New file.
23317 * sysdeps/nacl/libcrypt.abilist: New file.
23318 * sysdeps/nacl/libdl.abilist: New file.
23319 * sysdeps/nacl/libm.abilist: New file.
23320 * sysdeps/nacl/libpthread.abilist: New file.
23321 * sysdeps/nacl/libresolv.abilist: New file.
23322 * sysdeps/nacl/librt.abilist: New file.
23323
23324 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23325
23326 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23327 __startcontext to initialize the new context.
23328 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23329 up CFI directive to forbid further backtracing.
23330
23331 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23332
23333 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23334 reference.
23335 * charmaps/ANSI_X3.4-1968: Likewise.
23336 * charmaps/BS_4730: Likewise.
23337 * charmaps/BS_VIEWDATA: Likewise.
23338 * charmaps/CP1250: Likewise.
23339 * charmaps/CP1251: Likewise.
23340 * charmaps/CP1252: Likewise.
23341 * charmaps/CP1253: Likewise.
23342 * charmaps/CP1254: Likewise.
23343 * charmaps/CP1255: Likewise.
23344 * charmaps/CP1256: Likewise.
23345 * charmaps/CSN_369103: Likewise.
23346 * charmaps/EBCDIC-DK-NO: Likewise.
23347 * charmaps/GB_1988-80: Likewise.
23348 * charmaps/GREEK-CCITT: Likewise.
23349 * charmaps/GREEK7: Likewise.
23350 * charmaps/INIS-8: Likewise.
23351 * charmaps/ISIRI-3342: Likewise.
23352 * charmaps/ISO_2033-1983: Likewise.
23353 * charmaps/ISO_5427-EXT: Likewise.
23354 * locales/POSIX: Likewise.
23355 * locales/ar_SA: Likewise.
23356 * locales/be_BY: Likewise.
23357 * locales/be_BY@latin: Likewise.
23358 * locales/ca_ES: Likewise.
23359 * locales/cs_CZ: Likewise.
23360 * locales/da_DK: Likewise.
23361 * locales/de_BE: Likewise.
23362 * locales/de_CH: Likewise.
23363 * locales/de_LU: Likewise.
23364 * locales/en_AU: Likewise.
23365 * locales/en_BW: Likewise.
23366 * locales/en_CA: Likewise.
23367 * locales/en_DK: Likewise.
23368 * locales/en_GB: Likewise.
23369 * locales/en_IE: Likewise.
23370 * locales/en_NZ: Likewise.
23371 * locales/en_ZA: Likewise.
23372 * locales/en_ZW: Likewise.
23373 * locales/es_AR: Likewise.
23374 * locales/es_BO: Likewise.
23375 * locales/es_CL: Likewise.
23376 * locales/es_CO: Likewise.
23377 * locales/es_DO: Likewise.
23378 * locales/es_EC: Likewise.
23379 * locales/es_ES: Likewise.
23380 * locales/es_HN: Likewise.
23381 * locales/es_MX: Likewise.
23382 * locales/es_PA: Likewise.
23383 * locales/es_PE: Likewise.
23384 * locales/es_PY: Likewise.
23385 * locales/es_SV: Likewise.
23386 * locales/es_US: Likewise.
23387 * locales/es_UY: Likewise.
23388 * locales/es_VE: Likewise.
23389 * locales/et_EE: Likewise.
23390 * locales/fa_IR: Likewise.
23391 * locales/fo_FO: Likewise.
23392 * locales/fr_CA: Likewise.
23393 * locales/fr_CH: Likewise.
23394 * locales/gv_GB: Likewise.
23395 * locales/he_IL: Likewise.
23396 * locales/hr_HR: Likewise.
23397 * locales/id_ID: Likewise.
23398 * locales/is_IS: Likewise.
23399 * locales/it_CH: Likewise.
23400 * locales/iw_IL: Likewise.
23401 * locales/kl_GL: Likewise.
23402 * locales/ko_KR: Likewise.
23403 * locales/kw_GB: Likewise.
23404 * locales/lg_UG: Likewise.
23405 * locales/lt_LT: Likewise.
23406 * locales/lv_LV: Likewise.
23407 * locales/mi_NZ: Likewise.
23408 * locales/nhn_MX: Likewise.
23409 * locales/nl_BE: Likewise.
23410 * locales/pl_PL: Likewise.
23411 * locales/sk_SK: Likewise.
23412 * locales/sl_SI: Likewise.
23413 * locales/sv_FI: Likewise.
23414 * locales/tl_PH: Likewise.
23415 * locales/tr_TR: Likewise.
23416 * locales/vi_VN: Likewise.
23417
23418 2015-07-21 Khem Raj <raj.khem@gmail.com>
23419
23420 [BZ #17475]
23421 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23422 of tu_IN and bh_IN.
23423
23424 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23425
23426 [BZ #18694]
23427 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23428 bits/wordsize.h.
23429 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23430
23431 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23432
23433 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23434 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23435 (spawn_thread): New function.
23436 (load): Rename to reg_dtor_and_close. Move dlopen to...
23437 (do_test): ... here. Use IS_LOADED to test for its
23438 availability.
23439
23440 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23441
23442 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23443
23444 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23445
23446 [BZ #18696]
23447 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23448 si_addr_bnd.
23449 (si_lower): New.
23450 (si_upper): Likewise.
23451
23452 2015-07-16 David S. Miller <davem@davemloft.net>
23453
23454 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23455
23456 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23457
23458 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23459 buffer.
23460 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23461 fail output information.
23462
23463 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23464
23465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23466 and strstr-ppc64..
23467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23468 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23469 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23470 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23471 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23472
23473 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23474
23475 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23476 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23477 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23478 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23479
23480 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23481
23482 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23483 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23484 rtld_hidden_proto.
23485 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23486
23487 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23488
23489 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23490 the test can fail.
23491
23492 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23493
23494 [BZ #18676]
23495 * elf/tst-nodelete-opened.c: New test case.
23496 * elf/tst-nodelete-opened-lib.c: New test case module.
23497 * elf/Makefile (tests, modules-names): Use them.
23498 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23499 early.
23500
23501 2015-07-15 David S. Miller <davem@davemloft.net>
23502
23503 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23504 futex-intenal.h
23505 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23506 * sysdeps/sparc/sparc64/Makefile: Likewise.
23507 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23508 Remove space from macro define.
23509 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23510
23511 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23512
23513 [BZ #17475]
23514 * locale/iso-639.def: Update Bhili and Tulu language codes as
23515 per iso639-3.
23516
23517 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
23518
23519 * elf/tst-leaks1.c (main): Converted to ...
23520 (do_test): ... this.
23521 (TEST_FUNCTION): New macro.
23522 Include test-skeleton.c.
23523 * localedata/tst-langinfo.c (main): Converted to ...
23524 (do_test): ... this.
23525 (TEST_FUNCTION): New macro.
23526 Include test-skeleton.c.
23527 * math/test-fpucw.c (main): Converted to ...
23528 (do_test): ... this.
23529 (TEST_FUNCTION): New macro.
23530 Include test-skeleton.c.
23531 * math/test-tgmath.c (main): Converted to ...
23532 (do_test): ... this.
23533 (TEST_FUNCTION): New macro.
23534 Include test-skeleton.c.
23535 * math/test-tgmath2.c (main): Converted to ...
23536 (do_test): ... this.
23537 (TEST_FUNCTION): New macro.
23538 Include test-skeleton.c.
23539 * setjmp/tst-setjmp.c (main): Converted to ...
23540 (do_test): ... this.
23541 (TEST_FUNCTION): New macro.
23542 Include test-skeleton.c.
23543 * stdio-common/tst-sscanf.c (main): Converted to ...
23544 (do_test): ... this.
23545 (TEST_FUNCTION): New macro.
23546 Include test-skeleton.c.
23547 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23548 (do_test): ... this.
23549 (TEST_FUNCTION): New macro.
23550 Include test-skeleton.c.
23551
23552 * elf/tst-audit9.c (main): Converted to ...
23553 (do_test): ... this.
23554 (TEST_FUNCTION): New macro.
23555 Include test-skeleton.c.
23556
23557 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23558
23559 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23560
23561 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23562
23563 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23564 New variable.
23565
23566 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23567
23568 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23569
23570 2015-07-14 Roland McGrath <roland@hack.frob.com>
23571
23572 * sysdeps/generic/dl-fileid.h: New file.
23573 * sysdeps/posix/dl-fileid.h: New file.
23574 * sysdeps/nacl/dl-fileid.h: New file.
23575 * include/link.h: Include <dl-fileid.h>.
23576 (struct link_map): Replace l_dev and l_ino with l_file_id.
23577 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23578 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23579 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23580
23581 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23582
23583 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23584
23585 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23586
23587 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23588 Add iff $CXX is set.
23589 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23590 Likewise.
23591 (tst-nodelete-zmodiff): Likewise.
23592 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23593
23594 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23595
23596 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23597
23598 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23599
23600 * sysdeps/aarch64/fpu/math_private.h
23601 (define math_opt_barrier): Add AArch64 version.
23602 (math_force_eval): Likewise.
23603
23604 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23605
23606 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23607
23608 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23609
23610 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23611 %ld with %jd and cast to intmax_t.
23612 (do_test_length_zero): Likewise.
23613
23614 2015-07-10 Roland McGrath <roland@hack.frob.com>
23615
23616 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23617
23618 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23619
23620 * sysdeps/tile/libm-test-ulps: Regenerated.
23621
23622 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23623 Comment out the whole function, not just its body.
23624
23625 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23626
23627 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23628 locks.
23629
23630 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23631
23632 2015-07-10 Torvald Riegel <triegel@redhat.com>
23633
23634 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23635 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23636
23637 2015-07-10 Torvald Riegel <triegel@redhat.com>
23638
23639 * sysdeps/nptl/futex-internal.h: New file.
23640 * sysdeps/nacl/futex-internal.h: New file.
23641 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23642 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23643 error checking.
23644 (setxid_unmark_thread): Likewise.
23645 (__nptl_setxid): Likewise.
23646 (__wait_lookup_done): Likewise.
23647 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23648 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23649 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23650 * nptl/pthread_once.c (clear_once_control): Likewise.
23651 (__pthread_once_slow): Likewise.
23652 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23653 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23654 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23655 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23656 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23657 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23658 Likewise.
23659 (__pthread_rwlock_rdlock): Likewise.
23660 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23661 Likewise.
23662 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23663 Likewise.
23664 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23665 Likewise.
23666 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23667 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23668 Likewise.
23669 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23670 __ASSUME_PRIVATE_FUTEX check.
23671 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23672 Check that shared futexes are supported.
23673 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23674 wrappers with error checking.
23675 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23676 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23677 * nptl/pthread_barrierattr_setpshared.c
23678 (pthread_barrierattr_setpshared): Check that shared futexes are
23679 supported.
23680 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23681 Likewise.
23682 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23683 Likewise.
23684 * nptl/sem_init.c (futex_private_if_supported): Remove.
23685 (__new_sem_init): Adapt and check that shared futexes are supported.
23686 * nptl/sem_open.c (sem_open): Likewise.
23687 * nptl/sem_post.c (futex_wake): Remove.
23688 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23689 (do_futex_wait): Use futex wrappers with error checking.
23690 * nptl/sem_wait.c: Include lowlevellock.h.
23691 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23692 Use futex_supports_pshared.
23693 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23694 Use futex wrappers with error checking.
23695 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23696 Likewise.
23697 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23698 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23699 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23700 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23701 (futex_wake): Likewise.
23702 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23703 (do_futex_wait): Use futex wrappers with error checking.
23704 (__new_sem_wait_slow): Update EINTR handling.
23705 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23706
23707 2015-07-09 Martin Sebor <msebor@redhat.com>
23708
23709 [BZ #18435]
23710 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23711 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23712 * nptl/Makefile (test-xfail-tst-once5): Define.
23713
23714 2015-07-09 Roland McGrath <roland@hack.frob.com>
23715
23716 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23717 * elf/dl-minimal.c: For readability, reorder some definitions and
23718 introduce more page breaks. Include <stdio.h>.
23719 (__libc_fatal): New function.
23720
23721 * include/unistd.h: Add rtld_hidden_proto for _exit.
23722 * posix/_exit.c: Add rtld_hidden_def.
23723 * sysdeps/mach/hurd/_exit.c: Likewise.
23724 * sysdeps/nacl/_exit.c: Likewise.
23725 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23726 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23727
23728 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23729
23730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23731 bndmov encoding with zero displacement.
23732
23733 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23734 H.J. Lu <hongjiu.lu@intel.com>
23735
23736 [BZ #18134]
23737 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23738 * sysdeps/i386/configure: Regenerated.
23739 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23740 (_dl_runtime_profile): Save and restore Intel MPX return bound
23741 registers when calling _dl_call_pltexit. Add
23742 PRESERVE_BND_REGS_PREFIX before return.
23743 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23744 (LRV_BND1_OFFSET): Likewise.
23745 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23746 lrv_bnd1.
23747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23748 typo in bndmov encoding.
23749 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23750 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23751 branch instructions to preserve bounds.
23752
23753 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23754
23755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23756 [GLIBC_2.22]: Add fmemopen.
23757
23758 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23759
23760 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23761 returns an error, also try to use host port from __mach_host_self for
23762 the __vm_wire call.
23763 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23764
23765 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23766
23767 [BZ #18400]
23768 [BZ #18648]
23769 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23770 Fix pr_uid and pr_gid members.
23771 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23772 definition to elf_greg_t.
23773
23774 2015-07-08 Roland McGrath <roland@hack.frob.com>
23775
23776 [BZ #18383]
23777 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23778 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23779 * sysdeps/arm/configure: Regenerated.
23780 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23781 (test-xfail-tst-tlsalign-static): Variable removed.
23782
23783 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23784 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23785 rather than explicit 'ln -s'.
23786
23787 * resolv/rpc/netdb.h: New file.
23788 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23789
23790 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23791
23792 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23793 length buffers.
23794 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23795 test-skeleton.c.
23796
23797 [BZ #6544]
23798 [BZ #11216]
23799 [BZ #12836]
23800 [BZ #13151]
23801 [BZ #13152]
23802 [BZ #14292]
23803 * include/stdio.h (fmemopen): Remove hidden prototype.
23804 (__fmemopen): Add new hidden prototype.
23805 * libio/Makefile: Add oldfmemopen object.
23806 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23807 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23808 compliance.
23809 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23810 symbol compatibility.
23811 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23812 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23813 fmemopen.
23814 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23815 on append and read mode.
23816 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23817 fmemopen.
23818 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23819 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23820 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23821 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23822 Likewise.
23823 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23824 [GLIBC_2.22]: Likewise.
23825 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23826 Likewise.
23827 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23828 Likewise.
23829 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23830 [GLIBC_2.22]: Likewise.
23831 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23832 [GLIBC_2.22]: Likewise.
23833 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23834 [GLIBC_2.22]: Likewise.
23835 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23836 [GLIBC_2.22]: Likewise.
23837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23838 [GLIBC_2.22]: Likewise.
23839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23840 [GLIBC_2.22]: Likewise.
23841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23842 [GLIBC_2.22]: Likewise.
23843 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23844 Likewise.
23845 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23846 Likewise.
23847 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23848 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23849 [GLIBC_2.22]: Likewise.
23850 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23851 [GLIBC_2.22]: Likewise.
23852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23853 [GLIBC_2.22]: Likewise.
23854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23855 [GLIBC_2.22]: Likewise.
23856 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23857 Likewise.
23858 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23859 Likewise.
23860 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23861 Likewise.
23862 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23863 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23864
23865 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23866
23867 [BZ #18643]
23868 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23869 IPV6_PATHMTU, and IPV6_DONTFRAG.
23870
23871 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23872
23873 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23874 and _IO_UNBUFFERED.
23875 * libio/oldfileops.c: Likewise.
23876 * libio/wfileops.c: Likewise.
23877
23878 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23879
23880 * nscd/selinux.c: Delete selinux/flask.h include.
23881
23882 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23883
23884 [BZ #18641]
23885 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23886 (putpwent): Likewise.
23887 (getpwnam): Likewise.
23888 (getpwent_r): Likewise.
23889 (getpwuid_r): Likewise.
23890 (getpwnam_r): Likewise.
23891 (fgetpwent_r): Likewise.
23892
23893 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23894
23895 [BZ #18557]
23896 * inet/rcmd.c (__validuser2_sa): Check user first to
23897 short-circuit host check.
23898
23899 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23900 Mikhail Ilin <m.ilin@samsung.com>
23901
23902 [BZ #17833]
23903 * elf/Makefile (tests): Add tst-nodelete.
23904 (modules-names): Add tst-nodelete-uniquemod.
23905 (tst-nodelete-uniquemod.so-no-z-defs): New.
23906 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23907 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23908 ($(objpfx)tst-nodelete): Likewise.
23909 ($(objpfx)tst-nodelete.out): Likewise.
23910 (LDFLAGS-tst-nodelete): Likewise.
23911 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23912 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23913 implement forced object deletion.
23914 (_dl_close): Pass false to _dl_close_worker.
23915 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23916 * elf/tst-nodelete.cc: New file.
23917 * elf/tst-nodeletelib.cc: Likewise.
23918 * elf/tst-znodeletelib.cc: Likewise.
23919 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23920
23921 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23922
23923 [BZ #18508]
23924 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23925 Depend on $(libdl).
23926 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23927 is not called infinitely times.
23928 (backtrace_helper): New function.
23929 (trace_arg): New struct.
23930 (st1): Enlarge stack size.
23931 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23932 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23933 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23934 Likewise.
23935
23936 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23937
23938 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23939
23940 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23941
23942 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23943 Include sys/types.h instead of bits/types.h.
23944 Remove inclusion of bits/wordsize.h.
23945
23946 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23947
23948 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23949 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23950 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23951 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23952 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23953 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23954
23955 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23956
23957 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23958 link-defines.sym.
23959 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23960 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23961 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23962 and LR_SIZE.
23963 * sysdeps/i386/link-defines.sym: New file.
23964
23965 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23966
23967 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23968 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23969 ($(objpfx)tst-audit3): New rule.
23970 ($(objpfx)tst-audit3.out): Likewise.
23971 * sysdeps/i386/tst-audit3.c: New file.
23972 * sysdeps/i386/tst-audit3.h: Likewise.
23973 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23974 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23975
23976 2015-07-07 Torvald Riegel <triegel@redhat.com>
23977
23978 [BZ #18633]
23979 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23980 pointer in C code.
23981 (__strcat_c): Likewise.
23982 (__strcat_g): Likewise.
23983
23984 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23985
23986 [BZ #18592]
23987 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23988
23989 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23990
23991 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23992 New function. (__ieee754_sqrtf): New function.
23993 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23994 New function.
23995 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23996 New function.
23997
23998 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23999
24000 * sysdeps/ieee754/support.c: Remove unused file.
24001
24002 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24003
24004 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24005 registers instead of d ones so the layout is kernel abi compatible.
24006 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24007 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24008 Likewise.
24009
24010 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24011
24012 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24013
24014 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24015
24016 [BZ #18619]
24017 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24018 and return argument in case of subnormal argument.
24019
24020 2015-07-01 Martin Sebor <msebor@redhat.com>
24021
24022 [BZ #18435]
24023 * nptl/Makefile: Add tst-once5.cc.
24024 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24025 Remove macro redefinitions.
24026 * nptl/tst-once5.cc: New test.
24027
24028 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24029
24030 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24031
24032 * sysdeps/arm/libm-test-ulps: Regenerated.
24033
24034 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24035 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24036
24037 2015-06-30 Torvald Riegel <triegel@redhat.com>
24038
24039 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24040 lll_lock_wait_private and lll_futex_wake probes.
24041
24042 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24044 Likewise.
24045 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24046 atomic_spin_nop.
24047 * sysdeps/x86_64/bits/atomic.h: Likewise.
24048 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24049 to atomic_spin_nop and move ...
24050 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24051 ... here and ...
24052 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24053 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24054 atomic_spin_nop instead of BUSY_WAIT_NOP.
24055 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24056 Likewise.
24057 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24058 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24059 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24060 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24061 instead of atomic_delay.
24062
24063 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24064
24065 [BZ #18613]
24066 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24067 X_ADJ not X when adjusting exponent.
24068 (__ieee754_gamma_r): Do intermediate computations in
24069 round-to-nearest then adjust overflowing and underflowing results
24070 as needed.
24071 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24072 of X_ADJ not X when adjusting exponent.
24073 (__ieee754_gammaf_r): Do intermediate computations in
24074 round-to-nearest then adjust overflowing and underflowing results
24075 as needed.
24076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24077 log of X_ADJ not X when adjusting exponent.
24078 (__ieee754_gammal_r): Do intermediate computations in
24079 round-to-nearest then adjust overflowing and underflowing results
24080 as needed. Use 1.0L not 1.0f as numerator of division.
24081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24082 log of X_ADJ not X when adjusting exponent.
24083 (__ieee754_gammal_r): Do intermediate computations in
24084 round-to-nearest then adjust overflowing and underflowing results
24085 as needed. Use 1.0L not 1.0f as numerator of division.
24086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24087 of X_ADJ not X when adjusting exponent.
24088 (__ieee754_gammal_r): Do intermediate computations in
24089 round-to-nearest then adjust overflowing and underflowing results
24090 as needed. Use 1.0L not 1.0f as numerator of division.
24091 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24092 to auto-libm-test-in.
24093 (tgamma_test): Use ALL_RM_TEST.
24094 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24095 tests of tgamma with spurious-overflow.
24096 * math/auto-libm-test-out: Regenerated.
24097 * math/gen-libm-have-vector-test.sh: Do not check for START.
24098 * sysdeps/i386/fpu/libm-test-ulps: Update.
24099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24100
24101 [BZ #18612]
24102 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24103 arguments, just return 0.5 times the argument, with underflow
24104 forced as needed.
24105 * math/auto-libm-test-in: Add more tests of j1.
24106 * math/auto-libm-test-out: Regenerated.
24107
24108 [BZ #16559]
24109 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24110 (__ieee754_j1): Force underflow exception for small results.
24111 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24112 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24113 (__ieee754_j1f): Force underflow exception for small results.
24114 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24115 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24118 (__ieee754_j1l): Force underflow exception for small results.
24119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24120 * math/auto-libm-test-in: Add more tests of j1 and jn.
24121 * math/auto-libm-test-out: Regenerated.
24122
24123 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24124 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24125 (PF_MPLS): Likewise.
24126 (AF_IB): Likewise.
24127 (AF_MPLS): Likewise.
24128 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24129 value and macro.
24130 (MS_RMT_MASK): Include MS_LAZYTIME.
24131
24132 2015-06-26 Mel Gorman <mgorman@suse.de>
24133
24134 [BZ #18502]
24135 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24136 already minimal.
24137
24138 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24139
24140 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24141 (DT_MIPS_NUM): Update.
24142 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24143 DT_MIPS_RLD_MAP_REL.
24144
24145 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24146
24147 [BZ #16559]
24148 [BZ #18602]
24149 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24150 round-to-nearest internally then recompute results that
24151 underflowed to zero in the original rounding mode.
24152 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24153 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24155 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24156 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24157 * sysdeps/i386/fpu/libm-test-ulps: Update.
24158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24159
24160 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24161
24162 * NEWS: Fixed description of link with vector math library.
24163
24164 2015-06-25 Andreas Schwab <schwab@suse.de>
24165
24166 [BZ #18549]
24167 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24168 * libio/test-fmemopen.c (do_test): Add test for it.
24169
24170 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24171
24172 [BZ #17841]
24173 * Makeconfig (no-pie-ldflag): New.
24174 (+link): Set to $(+link-pie) if default to PIE.
24175 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24176 * config.make.in (build-pie-default): New.
24177 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24178 is default. AC_SUBST.
24179 * configure: Regenerated.
24180 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24181
24182 2015-06-24 Roland McGrath <roland@hack.frob.com>
24183
24184 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24185 to 'unsigned int'.
24186
24187 * resolv/gai_misc.h (struct waitlist): Change type of field
24188 counterp to 'volatile unsigned int *'.
24189 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24190 FUTEXADDR and OLDVAL.
24191 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24192 Give local variable TOTAL type 'volatile unsigned int'.
24193 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24194 * resolv/gai_suspend.c (gai_suspend):
24195 Give local variable CNTR type 'unsigned int'.
24196
24197 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24198 counterp to 'volatile unsigned int *'.
24199 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24200 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24201 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24202 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24203 Give local variable TOTAL type 'volatile unsigned int'.
24204 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24205
24206 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24207
24208 [BZ #18383]
24209 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24210 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24211 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24212 comment for i386/x86-64.
24213 (test-xfail-tst-tlsalign-extern-static): Removed.
24214
24215 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24216
24217 * math/test-double.h: New file.
24218 * math/test-float.h: Likewise.
24219 * math/test-ldouble.h: Likewise.
24220 * math/test-math-inline.h: Likewise.
24221 * math/test-math-no-inline.h: Likewise.
24222 * math/test-math-scalar.h: Likewise.
24223 * math/test-math-vector.h: Likewise.
24224 * math/test-vec-loop.h: Remove file. Contents moved into
24225 test-math-vector.h.
24226 * math/libm-test.inc (MATHCONST): Do not document macro.
24227 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24228 and test-math-scalar.h.
24229 (FUNC): Remove macro.
24230 (FUNC_TEST): Likewise.
24231 (FLOAT): Likewise.
24232 (MATHCONST): Likewise.
24233 (PRINTF_EXPR): Likewise.
24234 (PRINTF_XEXPR): Likewise.
24235 (PRINTF_NEXPR): Likewise.
24236 (TEST_DOUBLE): Likewise.
24237 (TEST_MATHVEC): Likewise.
24238 (__NO_MATH_INLINES): Likewise.
24239 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24240 and test-math-scalar.h.
24241 (FUNC): Remove macro.
24242 (FUNC_TEST): Likewise.
24243 (FLOAT): Likewise.
24244 (MATHCONST): Likewise.
24245 (PRINTF_EXPR): Likewise.
24246 (PRINTF_XEXPR): Likewise.
24247 (PRINTF_NEXPR): Likewise.
24248 (TEST_FLOAT): Likewise.
24249 (TEST_MATHVEC): Likewise.
24250 (__NO_MATH_INLINES): Likewise.
24251 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24252 and test-math-scalar.h.
24253 (FUNC): Remove macro.
24254 (FUNC_TEST): Likewise.
24255 (FLOAT): Likewise.
24256 (MATHCONST): Likewise.
24257 (PRINTF_EXPR): Likewise.
24258 (PRINTF_XEXPR): Likewise.
24259 (PRINTF_NEXPR): Likewise.
24260 (TEST_DOUBLE): Likewise.
24261 (TEST_MATHVEC): Likewise.
24262 (TEST_INLINE): Likewise.
24263 (__NO_MATH_INLINES): Likewise.
24264 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24265 test-math-scalar.h.
24266 (FUNC): Remove macro.
24267 (FUNC_TEST): Likewise.
24268 (FLOAT): Likewise.
24269 (MATHCONST): Likewise.
24270 (PRINTF_EXPR): Likewise.
24271 (PRINTF_XEXPR): Likewise.
24272 (PRINTF_NEXPR): Likewise.
24273 (TEST_FLOAT): Likewise.
24274 (TEST_MATHVEC): Likewise.
24275 (TEST_INLINE): Likewise.
24276 (__NO_MATH_INLINES): Likewise.
24277 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24278 and test-math-scalar.h.
24279 (FUNC): Remove macro.
24280 (FUNC_TEST): Likewise.
24281 (FLOAT): Likewise.
24282 (MATHCONST): Likewise.
24283 (PRINTF_EXPR): Likewise.
24284 (PRINTF_XEXPR): Likewise.
24285 (PRINTF_NEXPR): Likewise.
24286 (TEST_LDOUBLE): Likewise.
24287 (TEST_MATHVEC): Likewise.
24288 (TEST_INLINE): Likewise.
24289 (__NO_MATH_INLINES): Likewise.
24290 * math/test-ldouble.c: Include test-ldouble.h,
24291 test-math-no-inline.h and test-math-scalar.h.
24292 (FUNC): Remove macro.
24293 (FUNC_TEST): Likewise.
24294 (FLOAT): Likewise.
24295 (MATHCONST): Likewise.
24296 (PRINTF_EXPR): Likewise.
24297 (PRINTF_XEXPR): Likewise.
24298 (PRINTF_NEXPR): Likewise.
24299 (TEST_LDOUBLE): Likewise.
24300 (TEST_MATHVEC): Likewise.
24301 (__NO_MATH_INLINES): Likewise.
24302 * math/test-double-vlen2.h: Include test-double.h,
24303 test-math-no-inline.h and test-math-vector.h.
24304 (FLOAT): Remove macro.
24305 (FUNC): Likewise.
24306 (MATHCONST): Likewise.
24307 (PRINTF_EXPR): Likewise.
24308 (PRINTF_XEXPR): Likewise.
24309 (PRINTF_NEXPR): Likewise.
24310 (TEST_DOUBLE): Likewise.
24311 (TEST_MATHVEC): Likewise.
24312 (__NO_MATH_INLINES): Likewise.
24313 (CNCT): Likewise.
24314 (CONCAT): Likewise.
24315 (WRAPPER_NAME): Likewise.
24316 (WRAPPER_DECL): Likewise.
24317 (WRAPPER_DECL_ff): Likewise.
24318 (WRAPPER_DECL_fFF): Likewise.
24319 (VECTOR_WRAPPER): Likewise.
24320 (VECTOR_WRAPPER_ff): Likewise.
24321 (VECTOR_WRAPPER_fFF): Likewise.
24322 (VEC_LEN): New macro.
24323 * math/test-double-vlen4.h: Include test-double.h,
24324 test-math-no-inline.h and test-math-vector.h.
24325 (FLOAT): Remove macro.
24326 (FUNC): Likewise.
24327 (MATHCONST): Likewise.
24328 (PRINTF_EXPR): Likewise.
24329 (PRINTF_XEXPR): Likewise.
24330 (PRINTF_NEXPR): Likewise.
24331 (TEST_DOUBLE): Likewise.
24332 (TEST_MATHVEC): Likewise.
24333 (__NO_MATH_INLINES): Likewise.
24334 (CNCT): Likewise.
24335 (CONCAT): Likewise.
24336 (WRAPPER_NAME): Likewise.
24337 (WRAPPER_DECL): Likewise.
24338 (WRAPPER_DECL_ff): Likewise.
24339 (WRAPPER_DECL_fFF): Likewise.
24340 (VECTOR_WRAPPER): Likewise.
24341 (VECTOR_WRAPPER_ff): Likewise.
24342 (VECTOR_WRAPPER_fFF): Likewise.
24343 (VEC_LEN): New macro.
24344 * math/test-double-vlen8.h: Include test-double.h,
24345 test-math-no-inline.h and test-math-vector.h.
24346 (FLOAT): Remove macro.
24347 (FUNC): Likewise.
24348 (MATHCONST): Likewise.
24349 (PRINTF_EXPR): Likewise.
24350 (PRINTF_XEXPR): Likewise.
24351 (PRINTF_NEXPR): Likewise.
24352 (TEST_DOUBLE): Likewise.
24353 (TEST_MATHVEC): Likewise.
24354 (__NO_MATH_INLINES): Likewise.
24355 (CNCT): Likewise.
24356 (CONCAT): Likewise.
24357 (WRAPPER_NAME): Likewise.
24358 (WRAPPER_DECL): Likewise.
24359 (WRAPPER_DECL_ff): Likewise.
24360 (WRAPPER_DECL_fFF): Likewise.
24361 (VECTOR_WRAPPER): Likewise.
24362 (VECTOR_WRAPPER_ff): Likewise.
24363 (VECTOR_WRAPPER_fFF): Likewise.
24364 (VEC_LEN): New macro.
24365 * math/test-float-vlen4.h: Include test-float.h,
24366 test-math-no-inline.h and test-math-vector.h.
24367 (FLOAT): Remove macro.
24368 (FUNC): Likewise.
24369 (MATHCONST): Likewise.
24370 (PRINTF_EXPR): Likewise.
24371 (PRINTF_XEXPR): Likewise.
24372 (PRINTF_NEXPR): Likewise.
24373 (TEST_FLOAT): Likewise.
24374 (TEST_MATHVEC): Likewise.
24375 (__NO_MATH_INLINES): Likewise.
24376 (CNCT): Likewise.
24377 (CONCAT): Likewise.
24378 (WRAPPER_NAME): Likewise.
24379 (WRAPPER_DECL): Likewise.
24380 (WRAPPER_DECL_ff): Likewise.
24381 (WRAPPER_DECL_fFF): Likewise.
24382 (VECTOR_WRAPPER): Likewise.
24383 (VECTOR_WRAPPER_ff): Likewise.
24384 (VECTOR_WRAPPER_fFF): Likewise.
24385 (VEC_LEN): New macro.
24386 * math/test-float-vlen8.h: Include test-float.h,
24387 test-math-no-inline.h and test-math-vector.h.
24388 (FLOAT): Remove macro.
24389 (FUNC): Likewise.
24390 (MATHCONST): Likewise.
24391 (PRINTF_EXPR): Likewise.
24392 (PRINTF_XEXPR): Likewise.
24393 (PRINTF_NEXPR): Likewise.
24394 (TEST_FLOAT): Likewise.
24395 (TEST_MATHVEC): Likewise.
24396 (__NO_MATH_INLINES): Likewise.
24397 (CNCT): Likewise.
24398 (CONCAT): Likewise.
24399 (WRAPPER_NAME): Likewise.
24400 (WRAPPER_DECL): Likewise.
24401 (WRAPPER_DECL_ff): Likewise.
24402 (WRAPPER_DECL_fFF): Likewise.
24403 (VECTOR_WRAPPER): Likewise.
24404 (VECTOR_WRAPPER_ff): Likewise.
24405 (VECTOR_WRAPPER_fFF): Likewise.
24406 (VEC_LEN): New macro.
24407 * math/test-float-vlen16.h: Include test-float.h,
24408 test-math-no-inline.h and test-math-vector.h.
24409 (FLOAT): Remove macro.
24410 (FUNC): Likewise.
24411 (MATHCONST): Likewise.
24412 (PRINTF_EXPR): Likewise.
24413 (PRINTF_XEXPR): Likewise.
24414 (PRINTF_NEXPR): Likewise.
24415 (TEST_FLOAT): Likewise.
24416 (TEST_MATHVEC): Likewise.
24417 (__NO_MATH_INLINES): Likewise.
24418 (CNCT): Likewise.
24419 (CONCAT): Likewise.
24420 (WRAPPER_NAME): Likewise.
24421 (WRAPPER_DECL): Likewise.
24422 (WRAPPER_DECL_ff): Likewise.
24423 (WRAPPER_DECL_fFF): Likewise.
24424 (VECTOR_WRAPPER): Likewise.
24425 (VECTOR_WRAPPER_ff): Likewise.
24426 (VECTOR_WRAPPER_fFF): Likewise.
24427 (VEC_LEN): New macro.
24428 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24429 test-vec-loop.h.
24430 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24431 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24432 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24433 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24434 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24435 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24436 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24437
24438 2015-06-24 Roland McGrath <roland@hack.frob.com>
24439
24440 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24441 (__getlogin_r): ... this.
24442
24443 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24444
24445 [BZ #18594]
24446 * math/s_ccosh.c (__ccosh): Compare with least normal value
24447 instead of comparing class with FP_SUBNORMAL.
24448 * math/s_ccoshf.c (__ccoshf): Likewise.
24449 * math/s_ccoshl.c (__ccoshl): Likewise.
24450 * math/s_cexp.c (__cexp): Likewise.
24451 * math/s_cexpf.c (__cexpf): Likewise.
24452 * math/s_cexpl.c (__cexpl): Likewise.
24453 * math/s_csin.c (__csin): Likewise.
24454 * math/s_csinf.c (__csinf): Likewise.
24455 * math/s_csinh.c (__csinh): Likewise.
24456 * math/s_csinhf.c (__csinhf): Likewise.
24457 * math/s_csinhl.c (__csinhl): Likewise.
24458 * math/s_csinl.c (__csinl): Likewise.
24459 * math/s_ctan.c (__ctan): Likewise.
24460 * math/s_ctanf.c (__ctanf): Likewise.
24461 * math/s_ctanh.c (__ctanh): Likewise.
24462 * math/s_ctanhf.c (__ctanhf): Likewise.
24463 * math/s_ctanhl.c (__ctanhl): Likewise.
24464 * math/s_ctanl.c (__ctanl): Likewise.
24465 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24466 csin, csinh, ctan and ctanh.
24467 * math/auto-libm-test-out: Regenerated.
24468 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24469 * sysdeps/i386/fpu/libm-test-ulps: Update.
24470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24471
24472 2015-06-24 Roland McGrath <roland@hack.frob.com>
24473
24474 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24475 return value is wrong, print the expected value too.
24476
24477 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24478
24479 [BZ #18585]
24480 * elf/readlib.c (is_gdb_python_file): New.
24481 (process_file): Don't issue errors on filenames with -gdb.py
24482 suffix.
24483
24484 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24485
24486 * math/auto-libm-test-in: Add more tests of csin and csinh.
24487 * math/auto-libm-test-out: Regenerated.
24488 * math/libm-test.inc (csin_test_data): Remove tests moved to
24489 auto-libm-test-in.
24490 (csinh_test_data): Likewise.
24491
24492 [BZ #18593]
24493 * math/s_csin.c (__csin): Negate before rather than after possibly
24494 overflowing multiplication.
24495 * math/s_csinf.c (__csinf): Likewise.
24496 * math/s_csinh.c (__csinh): Likewise.
24497 * math/s_csinhf.c (__csinhf): Likewise.
24498 * math/s_csinhl.c (__csinhl): Likewise.
24499 * math/s_csinl.c (__csinl): Likewise.
24500 * math/auto-libm-test-in: Add some tests of csin and csinh.
24501 * math/auto-libm-test-out: Regenerated.
24502 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24503 (csinh_test_data): Likewise.
24504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24505
24506 [BZ #18586]
24507 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24508 underflow exception for small results.
24509
24510 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24511
24512 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24513 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24514 variable and included header.
24515 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24516 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24517 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24518 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24519 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24520 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24521 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24522 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24523 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24524 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24525 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24526 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24527 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24528 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24529 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24530 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24531
24532 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24533
24534 [BZ #16526]
24535 [BZ #16538]
24536 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24537 (__sin): Force underflow exception for arguments with small
24538 absolute value.
24539 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24540 (__kernel_sinf): Force underflow exception for arguments with
24541 small absolute value.
24542 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24543 (__kernel_sincosl): Force underflow exception for arguments with
24544 small absolute value.
24545 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24546 (__kernel_sinl): Force underflow exception for arguments with
24547 small absolute value.
24548 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24549 (__kernel_sincosl): Force underflow exception for arguments with
24550 small absolute value.
24551 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24552 (__kernel_sinl): Force underflow exception for arguments with
24553 small absolute value.
24554 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24555 (__kernel_sinl): Force underflow exception for arguments with
24556 small absolute value.
24557 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24558 (__kernel_sinf): Force underflow exception for arguments with
24559 small absolute value.
24560 * math/auto-libm-test-in: Add more tests of sin and sincos.
24561 * math/auto-libm-test-out: Regenerated.
24562
24563 [BZ #18245]
24564 [BZ #18583]
24565 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24566 (__kernel_standard_l): Use feholdexcept and fesetenv around
24567 conversion to double instead of special-casing overflow and
24568 underflow.
24569 * math/libm-test.inc (fmod_test_data): Add more tests.
24570 (remainder_test_data): Likewise.
24571 (sqrt_test_data): Likewise.
24572
24573 2015-06-23 Torvald Riegel <triegel@redhat.com>
24574
24575 [BZ #17403]
24576 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24577 atomic_read_barrier, atomic_write_barrier): Define.
24578 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24579 atomic_read_barrier, atomic_write_barrier): Define.
24580
24581 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24582
24583 * math/Makefile [$(PERL) != no]
24584 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24585 dependency on libm-test.stmp below the inclusion of Rules.
24586
24587 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24588
24589 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24590 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24591 and included header.
24592 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24593 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24594 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24595 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24600 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24601 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24602 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24603 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24604 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24605 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24606 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24607 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24608 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24609 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24610 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24611
24612 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24613
24614 [BZ #18371]
24615 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24616 intermediate but not final result might underflow.
24617 * math/s_csqrtf.c (__csqrtf): Likewise.
24618 * math/s_csqrtl.c (__csqrtl): Likewise.
24619 * math/auto-libm-test-in: Add more tests of csqrt.
24620 * math/auto-libm-test-out: Regenerated.
24621 * sysdeps/i386/fpu/libm-test-ulps: Update.
24622
24623 [BZ #18219]
24624 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24625 threshold on absolute value of exponent for which scaling is used.
24626 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24627 * math/auto-libm-test-in: Add more tests of exp2.
24628 * math/auto-libm-test-out: Regenerated.
24629
24630 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24631
24632 [BZ #17977]
24633 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24634 when initializing interface list, based on the bug analysis
24635 and the patch proposed by Eric Newton.
24636 * resolv/tst-res_hconf_reorder.c: New test.
24637 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24638 tst-res_hconf_reorder.
24639 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24640 and $(shared-thread-library).
24641 (tst-res_hconf_reorder-ENV): New variable.
24642
24643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24644 in comment.
24645
24646 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24647
24648 [BZ #16353]
24649 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24650 (__expm1): Force underflow exception for arguments with small
24651 absolute value.
24652 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24653 (__expm1f): Force underflow exception for arguments with small
24654 absolute value.
24655 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24656 (__expm1): Force underflow exception for arguments with small
24657 absolute value.
24658 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24659 (__expm1f): Force underflow exception for arguments with small
24660 absolute value.
24661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24662 Check for small arguments before calling __expm1.
24663 * math/auto-libm-test-in: Do not mark underflow exceptions as
24664 possibly missing for bug 16353.
24665 * math/auto-libm-test-out: Regenerated.
24666
24667 2015-06-22 Andreas Schwab <schwab@suse.de>
24668
24669 [BZ #18513]
24670 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24671 PTR queries.
24672
24673 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24674
24675 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24676
24677 * string/strcoll_l.c: Remove unused struct element idxnow.
24678
24679 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24680
24681 [BZ #18569]
24682 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24683 underflow and return argument in case of subnormal argument.
24684 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24685 Likewise.
24686 * math/auto-libm-test-in: Add more tests of expm1.
24687 * math/auto-libm-test-out: Regenerated.
24688
24689 [BZ #16361]
24690 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24691 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24692 tiny results.
24693 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24694 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24695 tiny results.
24696 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24697 mark underflow exceptions as possibly missing for bug 16361.
24698 * math/auto-libm-test-out: Regenerated.
24699
24700 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24701
24702 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24703 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24704 Remove variable.
24705 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24706 (test-xfail-XOPEN2K8/utmpx.h/conform).
24707
24708 * conform/conformtest.pl ($xerrors): New variable.
24709 (note_error): New function.
24710 (compiletest): New argument $xfail. Use not_error.
24711 (runtest): Likewise.
24712 (top level): Handle xfail- lines. Update calls to compiletest and
24713 runtest. Handle xfail- and optional- in headers listed with
24714 allow-header.
24715 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24716 (O_EXEC): Likewise.
24717 (O_SEARCH): Likewise.
24718 * conform/data/stropts.h-data (ioctl): Likewise.
24719 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24720 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24721 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24722 (msghdr.msg_controllen): Likewise.
24723 (cmsghdr.cmsg_len): Likewise.
24724 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24725 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24726 variable.
24727 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24728 (test-xfail-XPG4/stropts.h/conform): Likewise.
24729 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24730 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24731 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24732 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24733 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24734 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24735 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24736 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24737 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24738 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24739 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24740 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24741 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24742 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24743 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24744 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24745 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24746 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24747 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24748
24749 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24750
24751 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24752 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24753 definitions for proper unfolding of __MATHDECL_VEC.
24754
24755 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24756
24757 * benchtests/bench-strcoll.c:
24758 Include string.h.
24759 (main): Remove unused variable res.
24760
24761 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24762
24763 * timezone/Makefile (%/UTC %/Universal):
24764 Generate test-result files for UTC and Universal.
24765
24766 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24767
24768 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24769
24770 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24771
24772 [BZ #16350]
24773 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24774 for arguments with small absolute value.
24775 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24776 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24777 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24778 (__asinh): Force underflow exception for arguments with small
24779 absolute value.
24780 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24781 (__asinhf): Force underflow exception for arguments with small
24782 absolute value.
24783 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24784 (__asinhl): Force underflow exception for arguments with small
24785 absolute value.
24786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24787 (__asinhl): Force underflow exception for arguments with small
24788 absolute value.
24789 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24790 (__asinhl): Force underflow exception for arguments with small
24791 absolute value.
24792 * math/auto-libm-test-in: Do not mark underflow exceptions as
24793 possibly missing for bug 16350.
24794 * math/auto-libm-test-out: Regenerated.
24795
24796 * include/bits/ipc.h: Remove file.
24797 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24798 variable.
24799 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24800 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24801 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24802 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24803 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24804 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24805 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24806 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24807 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24808
24809 * math/auto-libm-test-in: Remove spurious underflow allowance for
24810 tests of cexp.
24811 * math/auto-libm-test-out: Regenerated.
24812
24813 [BZ #18558]
24814 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24815 unconditional definition.
24816 (MCAST_BLOCK_SOURCE): Likewise.
24817 (MCAST_UNBLOCK_SOURCE): Likewise.
24818 (MCAST_LEAVE_GROUP): Likewise.
24819 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24820 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24821 (MCAST_MSFILTER): Likewise.
24822 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24823 Remove variable.
24824 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24825 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24826 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24827 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24828 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24829
24830 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24831
24832 * NEWS: Mention addition of x86_64 vector sincosf.
24833 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24834 * math/test-float-vlen4.h: Likewise.
24835 * math/test-float-vlen8.h: Likewise.
24836 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24837 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24838 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24839 * sysdeps/x86_64/fpu/Versions: New versions added.
24840 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24841 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24842 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24843 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24844 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24845 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24846 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24847 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24848 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24849 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24850 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24851 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24852 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24853 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24854 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24855 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24856 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24857 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24858 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24859 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24860 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24861 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24862 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24863 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24864
24865 * NEWS: Mention addition of x86_64 vector sincos.
24866 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24867 * math/math.h (__MATHDECL_VEC): New macro.
24868 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24869 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24870 declaration under condition.
24871 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24872 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24873 TEST_VEC_LOOP change.
24874 * math/test-double-vlen4.h: Likewise.
24875 * math/test-double-vlen8.h: Likewise.
24876 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24877 * math/test-float-vlen4.h: Likewise.
24878 * math/test-float-vlen8.h: Likewise.
24879 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24880 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24881 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24882 * sysdeps/x86_64/fpu/Versions: New versions added.
24883 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24884 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24885 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24886 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24887 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24888 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24889 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24890 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24891 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24892 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24893 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24894 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24895 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24896 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24897 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24898 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24899 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24900 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24901 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24902 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24903 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24904 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24905 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24906 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24907
24908 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24909 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24910 redirections for powf.
24911 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24912 * sysdeps/x86_64/fpu/Versions: New versions added.
24913 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24914 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24915 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24916 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24917 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24918 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24919 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24920 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24921 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24922 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24923 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24924 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24925 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24926 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24927 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24928 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24929 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24930 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24931 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24932 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24933 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24934 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24935 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24936 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24937 * math/test-float-vlen16.h: Fixed 2 argument macro.
24938 * math/test-float-vlen4.h: Likewise.
24939 * math/test-float-vlen8.h: Likewise.
24940 * NEWS: Mention addition of x86_64 vector powf.
24941
24942 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24943
24944 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24945 and redefine.
24946 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24947 and redefine.
24948 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24949 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24951
24952 [BZ #18553]
24953 * resource/getpriority.c (getpriority): Rename to __getpriority
24954 and define as weak alias of __getpriority.
24955 * resource/setpriority.c (setpriority): Rename to __setpriority
24956 and define as weak alias of __setpriority.
24957 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24958 __getpriority and define as weak alias of __getpriority.
24959 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24960 __setpriority and define as weak alias of __setpriority.
24961 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24962 strong name.
24963 (setpriority): Use __setpriority as strong name.
24964 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24965 __getpriority and define as weak alias of __getpriority.
24966 * include/sys/resource.h (__getpriority): Declare. Use
24967 libc_hidden_proto.
24968 (__setpriority): Likewise.
24969 (getpriority): Don't use libc_hidden_proto.
24970 (setpriority): Likewise.
24971 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24972 getpriority. Call __setpriority instead of setpriority.
24973 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24974 Remove variable.
24975
24976 [BZ #18547]
24977 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24978 as weak alias of __getttynam. Use prototype function definition.
24979 Call __setttyent, __getttyent and __endttyent instead of
24980 setttyent, getttyent and endttyent.
24981 (getttyent): Rename to __getttyent and define as weak alias of
24982 __getttyent. Call __setttyent instead of setttyent. Call
24983 __fgets_unlocked instead of fgets_unlocked.
24984 (setttyent): Rename to __setttyent and define as weak alias of
24985 __setttyent.
24986 (endttyent): Rename to __endttyent and define as weak alias of
24987 __endttyent.
24988 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24989 (__setttyent): Likewise.
24990 (__endttyent): Likewise.
24991 (getttyent): Don't use libc_hidden_proto.
24992 (setttyent): Likewise.
24993 (endttyent): Likewise.
24994 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24995 __endttyent instead of setttyent, getttyent and endttyent.
24996 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24997 Remove variable.
24998
24999 [BZ #18546]
25000 * socket/recv.c (__recv): Use libc_hidden_def.
25001 * socket/socket.c (__socket): Likewise.
25002 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25003 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25004 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25005 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25006 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25007 libc_hidden_def.
25008 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25009 libc_hidden_weak.
25010 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25011 Use libc_hidden_proto.
25012 (__recv): Likewise.
25013 * socket/Versions (libc): Export __recv and __socket at version
25014 GLIBC_PRIVATE.
25015 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25016 instead of recv.
25017 (init_mq_netlink): Call __socket instead of socket.
25018 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25019 Remove variable.
25020
25021 [BZ #18545]
25022 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25023 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25024 hidden_weak.
25025 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25026 define as alias of __mq_timedsend. Use hidden_weak.
25027 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25028 __mq_timedsend as strong name.
25029 (mq_timedreceive): Use __mq_timedreceive as strong name.
25030 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25031 (__mq_timedreceive): Likewise.
25032 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25033 __mq_timedreceive instead of mq_timedreceive.
25034 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25035 instead of mq_timedsend.
25036 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25037 Remove variable.
25038
25039 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25040 hidden_def and hidden_weak instead of libc_hidden_def and
25041 libc_hidden_weak.
25042 (top level): Refer to hidden_def in comment.
25043 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25044 macro. Use it instead of libc_hidden_def.
25045 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25046 specify __GI_* name explicitly.
25047 (mq_timedreceive): Likewise.
25048 (mq_setattr): Likewise.
25049
25050 [BZ #18544]
25051 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25052 __pthread_barrier_init and define as weak alias of
25053 __pthread_barrier_init.
25054 * sysdeps/sparc/nptl/pthread_barrier_init.c
25055 (pthread_barrier_init): Likewise.
25056 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25057 __pthread_barrier_wait and define as weak alias of
25058 __pthread_barrier_wait.
25059 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25060 (pthread_barrier_wait): Likewise.
25061 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25062 (pthread_barrier_wait): Likewise.
25063 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25064 (pthread_barrier_wait): Likewise.
25065 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25066 (pthread_barrier_wait): Likewise.
25067 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25068 __pthread_barrier_wait at version GLIBC_PRIVATE.
25069 * include/pthread.h (__pthread_barrier_init): Declare.
25070 (__pthread_barrier_wait): Likewise.
25071 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25072 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25073 (helper_thread): Likewise.
25074 (init_mq_netlink): Call __pthread_barrier_init instead of
25075 pthread_barrier_init.
25076
25077 [BZ #18542]
25078 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25079 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25080 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25081 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25082 vswscanf.
25083 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25084 Remove variable.
25085
25086 [BZ #18540]
25087 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25088 strong alias of _IO_fflush. Use libc_hidden_def.
25089 * libio/iofflush_u.c (fflush_unlocked): Rename to
25090 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25091 Use libc_hidden_weak.
25092 * include/stdio.h (__fflush_unlocked): Declare. Use
25093 libc_hidden_proto.
25094 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25095 fflush_unlocked.
25096 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25097 Remove variable.
25098
25099 [BZ #18539]
25100 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25101 define as weak alias of __addseverity.
25102 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25103 Remove variable.
25104 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25105 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25106 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25107
25108 [BZ #18536]
25109 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25110 (__tfind): Likewise.
25111 (__tdelete): Likewise.
25112 (__twalk): Likewise.
25113 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25114 __twalk to GLIBC_PRIVATE.
25115 * include/search.h (__tsearch): Use libc_hidden_proto.
25116 (__tfind): Likewise.
25117 (__tdelete): Likewise.
25118 (__twalk): Likewise.
25119 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25120 Call __tdelete instead of tdelete.
25121 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25122 tfind. Call __tsearch instead of tsearch.
25123 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25124 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25125 Remove variable.
25126 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25127
25128 [BZ #18534]
25129 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25130 (dprintf): Define as a weak alias of __dprintf, not a strong
25131 alias.
25132 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25133 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25134 dprintf.
25135 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25136 Remove variable.
25137 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25138 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25139
25140 [BZ #18533]
25141 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25142 not a strong alias.
25143 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25144 Remove variable.
25145
25146 [BZ #18532]
25147 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25148 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25149 (in6addr_loopback): Rename to __in6addr_loopback and define as
25150 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25151 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25152 libc_hidden_proto.
25153 (__in6addr_any): Likewise.
25154 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25155 in6addr_any.
25156 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25157 variable.
25158 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25159
25160 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25161
25162 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25163 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25164 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25165 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25166 redirections for pow.
25167 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25168 * sysdeps/x86_64/fpu/Versions: New versions added.
25169 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25170 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25171 build of SSE, AVX2 and AVX512 IFUNC versions.
25172 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25174 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25175 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25176 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25177 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25178 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25179 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25180 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25181 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25182 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25183 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25184 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25185 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25186 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25187 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25188 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25189 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25190 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25191 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25192 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25193 * NEWS: Mention addition of x86_64 vector pow.
25194
25195 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25196 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25197 redirections for expf.
25198 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25199 * sysdeps/x86_64/fpu/Versions: New versions added.
25200 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25201 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25202 build of SSE, AVX2 and AVX512 IFUNC versions.
25203 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25204 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25205 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25206 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25207 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25208 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25209 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25210 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25211 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25212 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25213 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25214 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25215 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25216 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25217 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25218 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25219 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25220 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25221 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25222 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25223 * NEWS: Mention addition of x86_64 vector expf.
25224
25225 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25226 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25227 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25228 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25229 redirections for exp.
25230 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25231 * sysdeps/x86_64/fpu/Versions: New versions added.
25232 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25233 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25234 build of SSE, AVX2 and AVX512 IFUNC versions.
25235 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25236 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25237 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25238 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25239 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25240 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25241 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25242 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25243 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25244 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25245 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25246 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25247 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25248 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25249 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25250 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25251 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25252 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25253 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25254 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25255 * NEWS: Mention addition of x86_64 vector exp.
25256
25257 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25258 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25259 redirections for logf.
25260 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25261 * sysdeps/x86_64/fpu/Versions: New versions added.
25262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25263 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25264 build of SSE, AVX2 and AVX512 IFUNC versions.
25265 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25266 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25267 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25268 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25269 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25270 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25271 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25272 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25273 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25274 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25275 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25276 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25277 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25278 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25279 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25280 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25281 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25282 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25283 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25284 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25285 * NEWS: Mention addition of x86_64 vector logf.
25286
25287 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25288 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25289 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25290 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25291 redirections for log.
25292 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25293 * sysdeps/x86_64/fpu/Versions: New versions added.
25294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25295 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25296 build of SSE, AVX2 and AVX512 IFUNC versions.
25297 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25298 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25299 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25300 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25301 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25302 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25303 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25304 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25305 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25306 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25307 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25308 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25309 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25310 test.
25311 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25312 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25313 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25314 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25315 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25316 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25317 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25318 * NEWS: Mention addition of x86_64 vector log.
25319
25320 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25321
25322 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25323 cfi_adjust_cfa_offset argument.
25324 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25325 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25326
25327 [BZ #18034]
25328 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25329 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25330 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25331 ordering using ldar.
25332 (_dl_tlsdesc_dynamic): Likewise.
25333 (_dl_tlsdesc_return_lazy): Likewise.
25334 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25335 relaxed atomics instead of volatile and synchronize with release store.
25336 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25337 volatile.
25338 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25339
25340 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25341
25342 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25343 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25344 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25345 * sysdeps/x86_64/fpu/Versions: New versions added.
25346 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25347 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25348 build of SSE, AVX2 and AVX512 IFUNC versions.
25349 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25350 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25351 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25352 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25353 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25354 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25355 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25356 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25357 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25358 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25359 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25360 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25361 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25362 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25363 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25364 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25365 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25366 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25367 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25368 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25369 * NEWS: Mention addition of x86_64 vector sinf.
25370
25371 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25372
25373 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25374 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25375 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25376 Remove variable.
25377 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25378 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25379
25380 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25381
25382 [BZ #18530]
25383 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25384 strong alias of _IO_fputs. Use libc_hidden_def.
25385 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25386 and define as weak alias of __fputs_unlocked. Use
25387 libc_hidden_weak.
25388 * include/stdio.h (__fputs_unlocked): Declare. Use
25389 libc_hidden_proto.
25390 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25391 fputs_unlocked.
25392
25393 [BZ #18529]
25394 * resolv/netdb.h [__USE_POSIX]: Change condition to
25395 [__USE_XOPEN2K].
25396 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25397 not expect.
25398 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25399 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25400 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25401 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25402 [XPG4 || UNIX98] (AI_ALL): Likewise.
25403 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25404 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25405 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25406 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25407 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25408 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25409 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25410 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25411 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25412 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25413 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25414 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25415 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25416 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25417 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25418 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25419 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25420 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25421 [XPG4 || UNIX98] (gai_strerror): Likewise.
25422 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25423 [XPG4 || UNIX98] (getnameinfo): Likewise.
25424
25425 [BZ #18528]
25426 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25427 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25428 __USE_XOPEN2K8].
25429 (getgrent): Likewise.
25430 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25431 expect.
25432 [XPG3 || POSIX2008] (endgrent): Likewise.
25433 [XPG3] (setgrent): Likewise.
25434 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25435 variable.
25436 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25437
25438 [BZ #18527]
25439 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25440 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25441 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25442 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25443 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25444 * include/unistd.h (__getlogin_r): Declare. Use
25445 libc_hidden_proto.
25446 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25447 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25448 variable.
25449 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25450 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25451 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25452
25453 2015-06-12 Martin Sebor <msebor@redhat.com>
25454
25455 [BZ #18512]
25456 * Makerules (check-install-supported): New target.
25457 (install): Add check-install-supported as a dependency.
25458 * manual/install.texi (Installing the C Library): Document
25459 that overriding prefix and exec_prefix is not supported.
25460 Mention DESTDIR.
25461 * INSTALL: Regenerate from the above.
25462
25463 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25464
25465 [BZ #18519]
25466 * posix/Versions (libc): Export __libc_pread at version
25467 GLIBC_PRIVATE.
25468 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25469 instead of pread.
25470 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25471 variable.
25472
25473 [BZ #18522]
25474 * misc/efgcvt_r.c
25475 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25476 (cvt_symbol): Use weak_alias instead of strong_alias.
25477 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25478 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25479 Remove variable.
25480 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25481 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25482
25483 [BZ #18520]
25484 * inet/herrno.c (h_errno): Rename to __h_errno.
25485 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25486 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25487 to __h_errno instead of h_errno.
25488 * nptl/herrno.c (h_errno): Rename to __h_errno.
25489 (__h_errno_location): Refer to __h_errno not h_errno.
25490 * resolv/Versions (h_errno): Rename to __h_errno.
25491 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25492 Remove variable.
25493 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25494
25495 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25496
25497 * configure.ac: More strict check for AVX512 assembler support.
25498 * configure: Regenerated.
25499
25500 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25501 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25502 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25503 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25504 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25505 * sysdeps/x86_64/fpu/Versions: New versions added.
25506 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25507 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25508 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25511 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25513 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25514 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25515 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25516 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25517 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25518 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25519 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25520 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25521 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25522 test.
25523 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25524 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25525 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25526 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25527 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25528 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25529 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25530 * NEWS: Mention addition of x86_64 vector sin.
25531
25532 2015-06-11 Florian Weimer <fweimer@redhat.com>
25533
25534 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25535 comment.
25536
25537 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25538
25539 [BZ #18479]
25540 * nptl/pt-interp.c: New file.
25541 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25542 Add pt-interp.
25543 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25544 $(common-objpfx)runtime-linker.h.
25545
25546 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
25547
25548 * Makeconfig (+interp): Remove unused variable.
25549 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25550 only. Depend on $(common-objpfx)runtime-linker.h instead of
25551 $(elf-objpfx)runtime-linker.h.
25552 ($(elf-objpfx)runtime-linker.h): Rename to
25553 $(common-objpfx)runtime-linker.h and move ...
25554 * Makerules [$(build-shared) = yes]: ... here.
25555 * elf/interp.c: Include <runtime-linker.h> instead of
25556 <elf/runtime-linker.h>.
25557
25558 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25559
25560 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25561 (__gettimeofday_syscall): Remove vsyscall fallback.
25562 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25563 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25564 Add syscall fallback function.
25565 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25566 if vDSO is not present.
25567 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25568 fallback function.
25569 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25570 present.
25571 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25572 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25573
25574 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25575
25576 [BZ #18497]
25577 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25578 of wcscmp.
25579 (wcscmp): Define as weak alias of WCSCMP.
25580 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25581 wcscoll.
25582 (USE_HIDDEN_DEF): Define.
25583 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25584 __wcscoll. Don't use libc_hidden_weak.
25585 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25586 wcscmp.
25587 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25588 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25589 __GI_wcscmp.
25590 (weak_alias): Undefine and redefine.
25591 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25592 __wcscmp and define as weak alias of __wcscmp.
25593 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25594 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25595 (__wcscoll): Likewise.
25596 (wcscmp): Don't use libc_hidden_proto.
25597 (wcscoll): Likewise.
25598 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25599 wcscoll.
25600 * posix/regexec.c (check_node_accept_bytes): Likewise.
25601 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25602 variable.
25603 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25604 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25605
25606 [BZ #18507]
25607 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25608 __fstatvfs and define as weak alias of __fstatvfs. Use
25609 libc_hidden_weak.
25610 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25611 and define as weak alias of __statvfs. Use libc_hidden_weak.
25612 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25613 Define as alias of __fstatvfs, not fstatvfs.
25614 (fstatvfs64): Likewise.
25615 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25616 Define as alias of __statvfs, not statvfs.
25617 (statvfs64): Likewise.
25618 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25619 Remove variable.
25620
25621 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25622
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25624 (HAVE_GETCPU_VSYSCALL): Define.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25626 (HAVE_GETCPU_VSYSCALL): Likewise.
25627 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25628 * sysdeps/unix/sysv/linux/sched_getcpu.c
25629 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25630 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25631 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25632 prototype.
25633 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25634 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25637 Define.
25638 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25639 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25640 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25642
25643 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25644
25645 * sysdeps/x86_64/fpu/Makefile: New file.
25646 * sysdeps/x86_64/fpu/Versions: New file.
25647 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25648 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25649 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25650 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25651 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25652 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25653 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25654 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25656 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25657 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25658 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25659 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25660 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25661 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25662 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25663 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25664 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25665 * sysdeps/x86_64/configure: Regenerated.
25666 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25667 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25668 * manual/install.texi (Configuring and compiling): Document
25669 --disable-mathvec.
25670 * INSTALL: Regenerated.
25671 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25672
25673 * math/Makefile: Added rules for vector tests.
25674 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25675 declaration under condition.
25676 * math/test-double-vlen2.h: New file.
25677 * math/test-double-vlen4.h: New file.
25678 * math/test-double-vlen8.h: New file.
25679 * math/test-vec-loop.h: Added initialization macro.
25680 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25681 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25682 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25683 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25684 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25685 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25686 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25687 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25688 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25689 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25690 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25691
25692 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25693 * sysdeps/x86_64/fpu/Versions: New versions added.
25694 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25695 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25696 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25697 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25698 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25699 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25700 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25701 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25702 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25703 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25704 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25705 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25706 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25707 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25708 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25709 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25710 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25711 * NEWS: Mention addition of x86_64 vector cosf.
25712
25713 * math/Makefile: Added CFLAGS for new tests.
25714 * math/test-float-vlen16.h: New file.
25715 * math/test-float-vlen4.h: New file.
25716 * math/test-float-vlen8.h: New file.
25717 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25718 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25719 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25720 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25721 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25722 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25723 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25724 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25725 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25726 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25727 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25728
25729 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25730
25731 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25732 * locale/programs/ld-ctype.c: Likewise.
25733
25734 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25735
25736 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25737 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25738 bit_ZMM16_31_state): New macro.
25739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25740 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25741
25742 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25743
25744 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25745
25746 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25747
25748 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25749
25750 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25751
25752 [BZ #18498]
25753 * libio/memstream.c (open_memstream): Rename to __open_memstream
25754 and define as weak alias of __open_memstream.
25755 * include/stdio.h (__open_memstream): Declare. Use
25756 libc_hidden_proto.
25757 (open_memstream): Don't use libc_hidden_proto.
25758 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25759 open_memstream.
25760 * posix/getopt.c (_getopt_internal_r): Likewise.
25761 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25762 variable.
25763 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25764 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25765 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25766
25767 [BZ #18496]
25768 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25769 instead of wcrtomb.
25770
25771 [BZ #18483]
25772 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25773 [__USE_XOPEN2K8]. Remove redundant #endif.
25774 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25775 Remove redundant #if.
25776 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25777 Remove variable.
25778 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25779 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25780
25781 [BZ #18495]
25782 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25783 (__iswlower): Likewise.
25784 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25785 (__iswlower): Likewise.
25786 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25787 instead of towlower.
25788 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25789 instead of iswlower. Call __towupper instead of towupper.
25790 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25791 instead of iswalnum.
25792
25793 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25794
25795 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25796 errors to stderr.
25797
25798 2015-06-05 Florian Weimer <fweimer@redhat.com>
25799
25800 [BZ #15661]
25801 [BZ #17322]
25802 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25803 Check for overflow properly. Check for O_APPEND. Ignore large
25804 file system block sizes. Add comments about problems.
25805 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25806 * manual/filesys.texi (Storage Allocation): New node.
25807
25808 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25809
25810 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25811 cancellable syscalls.
25812 (SYS_ify): Add guard to no redefine it.
25813 (INLINE_SYSCALL): Likewise.
25814 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25815 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25816 SYSCALL_CANCEL instead.
25817 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25818 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25819 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25820 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25821 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25822 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25823 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25824 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25825 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25826 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25827 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25828 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25829 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25830 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25831 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25832 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25833 Likewise.
25834 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25835 (__libc_pread64): Likewise.
25836 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25837 (__libc_preadv): Likewise.
25838 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25839 (__libc_readv64): Likewise.
25840 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25841 (__libc_pwrite): Likewise.
25842 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25843 (__libc_pwrite64): Likewise.
25844 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25845 (__libc_pwritev): Likewise.
25846 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25847 (__libc_pwritev64): Likewise.
25848 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25849 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25850 (sync_file_range): Likewise.
25851 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25852 Likewise.
25853 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25854 Likewise.
25855 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25856 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25857 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25858 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25859 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25860 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25861 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25862 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25864 Likewise.
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25866 (__libc_read64): Likewise.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25868 Likewise.
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25870 Likewise.
25871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25872 Likewise.
25873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25874 Likewise.
25875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25876 (__libc_pread64): Likewise.
25877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25878 Likewise.
25879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25880 (__libc_pwrite64): Likewise.
25881 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25882 (sync_file_range): Likewise.
25883 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25884 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25885 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25886 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25887 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25888 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25889 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25890 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25891 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25892 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25893 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25894 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25895 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25896 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25897 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25898 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25899 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25900 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25901 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25902 Likewise.
25903 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25904 Likewise.
25905 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25906 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25907 Likewise.
25908 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25909 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25910 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25911 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25912 Likewise.
25913 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25914 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25915 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25916 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25917 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25918
25919 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25920
25921 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25922 Include dl-vdso.
25923 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25924 Use VDSO routines for gettimeofday, clock_gettime if
25925 available.
25926 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25927 Declare VDSO symbols.
25928 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25929 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25930 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25931 * sysdeps/unix/sysv/linux/arm/Versions: Add
25932 __vdso_clock_gettime.
25933
25934 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25935
25936 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25937 be an inline implementation regardless of library is built within.
25938 (open_not_cancel_2): Likewise.
25939 (__read_nocancel): Likewise.
25940 (__write_nocancel): Likewise.
25941 (openat_not_cancel): Likewise.
25942 (openat_not_cancel_3): Likewise.
25943 (openat64_not_cancel): Likewise.
25944 (openat64_not_cancel_3): Likewise.
25945 (__close_nocancel): Likewise.
25946 (pause_not_cancel): Likewise.
25947 (nanosleep_not_cancel): Likewise.
25948 (sigsuspend_not_cancel): Likewise.
25949
25950 2015-06-04 Torvald Riegel <triegel@redhat.com>
25951
25952 [BZ #14958]
25953 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25954 wake-up.
25955 (__pthread_rwlock_rdlock_slow): Likewise.
25956 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25957 Likewise.
25958 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25959 Likewise.
25960 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25961 * nptl/tst-rwlock16.c: New file.
25962 * nptl/Makefile (tests): Add new test.
25963
25964 2015-06-04 Torvald Riegel <triegel@redhat.com>
25965
25966 [BZ #18324]
25967 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25968 missing wake-up of readers.
25969 * nptl/tst-rwlock15.c: New file.
25970 * nptl/Makefile (tests): Add new test.
25971
25972 2015-06-03 Roland McGrath <roland@hack.frob.com>
25973
25974 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25975 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25976 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25977 and __nacl_supply_interface_rtld.
25978 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25979 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25980 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25981 Add __nacl_supply_interface_rtld.
25982 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25983
25984 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25985
25986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25987 isfinite.
25988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25989 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25990
25991 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25992
25993 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25994 __signbit* with standard C99 macros.
25995 * math/e_exp10l.c: Likewise.
25996 * math/e_exp2l.c: Likewise.
25997 * math/e_scalb.c: Likewise.
25998 * math/e_scalbf.c: Likewise.
25999 * math/e_scalbl.c: Likewise.
26000 * math/s_ldexp.c: Likewise.
26001 * math/s_ldexpf.c: Likewise.
26002 * math/s_ldexpl.c: Likewise.
26003 * math/w_atan2.c: Likewise.
26004 * math/w_atan2f.c: Likewise.
26005 * math/w_atan2l.c: Likewise.
26006 * math/w_cosh.c: Likewise.
26007 * math/w_coshf.c: Likewise.
26008 * math/w_coshl.c: Likewise.
26009 * math/w_exp10.c: Likewise.
26010 * math/w_exp10f.c: Likewise.
26011 * math/w_exp10l.c: Likewise.
26012 * math/w_exp2.c: Likewise.
26013 * math/w_exp2f.c: Likewise.
26014 * math/w_exp2l.c: Likewise.
26015 * math/w_fmod.c: Likewise.
26016 * math/w_fmodf.c: Likewise.
26017 * math/w_fmodl.c: Likewise.
26018 * math/w_hypot.c: Likewise.
26019 * math/w_hypotf.c: Likewise.
26020 * math/w_hypotl.c: Likewise.
26021 * math/w_jnl.c: Likewise.
26022 * math/w_lgamma.c: Likewise.
26023 * math/w_lgamma_r.c: Likewise.
26024 * math/w_lgammaf.c: Likewise.
26025 * math/w_lgammaf_r.c: Likewise.
26026 * math/w_lgammal.c: Likewise.
26027 * math/w_lgammal_r.c: Likewise.
26028 * math/w_pow.c: Likewise.
26029 * math/w_powf.c: Likewise.
26030 * math/w_powl.c: Likewise.
26031 * math/w_remainder.c: Likewise.
26032 * math/w_remainderf.c: Likewise.
26033 * math/w_remainderl.c: Likewise.
26034 * math/w_scalb.c: Likewise.
26035 * math/w_scalbf.c: Likewise.
26036 * math/w_scalbl.c: Likewise.
26037 * math/w_scalbln.c: Likewise.
26038 * math/w_scalblnf.c: Likewise.
26039 * math/w_scalblnl.c: Likewise.
26040 * math/w_sinh.c: Likewise.
26041 * math/w_sinhf.c: Likewise.
26042 * math/w_sinhl.c: Likewise.
26043 * math/w_tgamma.c: Likewise.
26044 * math/w_tgammaf.c: Likewise.
26045 * math/w_tgammal.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26052 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26053 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26056 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26057 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26058 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26074 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26077 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26078 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26079 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26080 * stdio-common/printf_fp.c: Likewise.
26081 * stdio-common/printf_fphex.c: Likewise.
26082 * stdio-common/printf_size.c: Likewise.
26083
26084 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26085
26086 [BZ #18470]
26087 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26088 strnlen.
26089 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26090 Remove variable.
26091 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26092 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26093 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26094 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26095 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26096 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26097 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26098 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26099 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26100 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26101
26102 [BZ #18468]
26103 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26104 weak alias of __wmemchr. Use libc_hidden_weak.
26105 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26106 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26107 instead of wmemchr.
26108
26109 2015-06-02 Roland McGrath <roland@hack.frob.com>
26110
26111 [BZ #18383]
26112 * elf/tst-tlsalign-extern.c: New file.
26113 * elf/tst-tlsalign-extern-static.c: New file.
26114 * elf/tst-tlsalign-vars.c: New file.
26115 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26116 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26117 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26118 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26119 (test-xfail-tst-tlsalign-extern-static): New variable.
26120
26121 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26122
26123 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26124 Use variable name _sc_err instead of err.
26125 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26126 instead of ret.
26127 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26128 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26129 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26130 (INLINE_SYSCALL): Likewise.
26131
26132 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26133 * include/string.h (__strnlen): Use libc_hidden_proto.
26134 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26135 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26136 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26137 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26138 (libc_hidden_def): Undefine and redefine.
26139 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26140 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26141 __GI_strnlen.
26142 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26143 libc_hidden_def.
26144 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26145
26146 [BZ #18469]
26147 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26148 weak alias of __towlower. Use libc_hidden_weak.
26149 (towupper): Rename to __towupper and define as weak alias of
26150 __towupper. Use libc_hidden_weak.
26151 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26152 (__towupper): Likewise.
26153 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26154 __towlower instead of towlower.
26155
26156 2015-06-02 Roland McGrath <roland@hack.frob.com>
26157
26158 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26159 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26160
26161 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26162
26163 * sysdeps/aarch64/libm-test-ulps: Update.
26164
26165 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26166
26167 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26168 Define.
26169 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26171 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26172 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26173 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26174 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26175 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26176
26177 2015-06-01 Martin Sebor <msebor@redhat.com>
26178
26179 [BZ #18116]
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26181 (__setcontext): Use extended four-operand version of mtsf whenever
26182 possible.
26183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26184 (__novec_swapcontext): Likewise.
26185
26186 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26187
26188 * benchtests/scripts/compare_bench.py: New file.
26189 * benchtests/scripts/import_bench.py (mean): New function.
26190 (split_list): Likewise.
26191 (do_for_all_timings): Likewise.
26192 (compress_timings): Likewise.
26193
26194 * benchtests/scripts/import_bench.py: New file.
26195 * benchtests/scripts/validate_benchout.py: Import import_bench
26196 instead of jsonschema.
26197 (validate_bench): Remove function.
26198 (main): Use import_bench.
26199
26200 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26201
26202 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26203 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26204
26205 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26206
26207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26208
26209 2015-05-28 Roland McGrath <roland@hack.frob.com>
26210
26211 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26212 set THREAD_SELF->tid to a magic value and futex-wake it.
26213 Pass its address to the thread_exit system call.
26214 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26215 bit is clear.
26216 * sysdeps/nacl/lowlevellock.h: New file.
26217 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26218
26219 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26220 Add TIMEOUT to current time, don't subtract it.
26221
26222 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 [BZ #2981]
26225 [BZ #18422]
26226 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26227 ($(objpfx)tst-audit2.out): Also depend on
26228 $(objpfx)tst-auditmod9b.so.
26229 * elf/tst-audit2.c: Include <dlfcn.h>.
26230 (calloc_called): New.
26231 (calloc): Allow to be called more than once.
26232 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26233
26234 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26235
26236 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26237 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26238
26239 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26240
26241 * stdlib/monetary.h: Fix comment.
26242
26243 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26244
26245 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26246 Avoid using variables in #defines that might cause shadowing.
26247 (INTERNAL_VSYSCALL_CALL): Likewise.
26248
26249 2015-05-26 Roland McGrath <roland@hack.frob.com>
26250
26251 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26252
26253 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26254 * nptl/lll_timedlock_wait.c: ... to this new file.
26255 * nptl/Makefile (libpthread-routines): Add it.
26256 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26257 * nptl/lll_timedwait_tid.c: ... to this new file.
26258 * nptl/Makefile (libpthread-routines): Add it.
26259 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26260 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26261 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26262 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26263 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26264 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26265 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26266 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26267 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26268 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26269
26270 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26271
26272 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26273 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26274 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26275 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26276 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26278 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26280 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26281 * sysdeps/unix/sysv/linux/tile/sysdep.h
26282 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26283 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26284 using vDSO syscall macro.
26285
26286 2015-05-26 Andriy Rysin <arysin@gmail.com>
26287
26288 [BZ #17293]
26289 * uk_UA: Fix sorting order for Ukrainian locale
26290
26291 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26292
26293 * stdlib/monetary.h: Fix comment.
26294
26295 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26296
26297 [BZ #18234]
26298 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26299 st_mtim and st_ctim members.
26300 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26301 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26302 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26303 (struct stat64): Likewise.
26304 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26305 (struct stat64): Likewise.
26306 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26307 (struct stat64): Likewise.
26308
26309 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26310
26311 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26312 Define and include sysdep-vdso.h.
26313 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26314 Likewise.
26315 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26316 Likewise.
26317 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26318 Define with VDSO_SYMBOL and use PTR_MANGLE.
26319 (__vdso_clock_gettime): Likewise.
26320 (__vdso_clock_getres): Likewise.
26321 (_libc_vdso_platform_setup): Likewise.
26322 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26323 Likewise.
26324 (_libc_vdso_platform_setup): Likewise.
26325 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26326 Likewise.
26327 (__vdso_clock_gettime): Likewise.
26328 (__vdso_clock_getres): Likewise.
26329 (__vdso_get_tbfreq): Likewise.
26330 (__vdso_getcpu): Likewise.
26331 (__vdso_time): Likewise.
26332 (__vdso_sigtramp_rt64): Likewise.
26333 (__vdso_signtramp32): Likewise.
26334 (__vdso_sigtramp_rt32): Likewise.
26335 (_libc_vdso_platform_setup): Likewise.
26336 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26337 Likewise.
26338 (__vdso_clock_gettime): Likewise.
26339 (__vdso_clock_getres): Likewise.
26340 (_libc_vdso_platform_setup): Likewise.
26341 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26342 Likewise.
26343 (__vdso_clock_gettime): Likewise.
26344 (_libc_vdso_platform_setup): Likewise.
26345 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26346 Likewise.
26347 (__vdso_getcpu): Likewise.
26348 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26349 Use VDSO_SYMBOL macro to define.
26350 (__vdso_clock_gettime): Likewise.
26351 (__vdso_clock_getres): Likewise.
26352 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26353 Likewise.
26354 (__vdso_clock_gettime): Likewise.
26355 (__vdso_clock_getres): Likewise.
26356 (__vdso_get_tbfreq): Likewise.
26357 (__vdso_getcpu): Likewise.
26358 (__vdso_time): Likewise.
26359 (__vdso_sigtramp_rt64): Likewise.
26360 (__vdso_signtramp32): Likewise.
26361 (__vdso_sigtramp_rt32): Likewise.
26362 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26363 Likewise.
26364 (__vdso_clock_gettime): Likewise.
26365 (__vdso_clock_getres): Likewise.
26366 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26367 Likewise.
26368 (__vdso_clock_gettime): Likewise.
26369 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26370 Likewise.
26371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26372 macro.
26373 (INTERNAL_VSYSCALL): Likewise.
26374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26375 Remove macro.
26376 (INTERNAL_VSYSCALL): Likewise.
26377 (INTERNAL_VSYSCALL_NCS): Likewise.
26378 (INTERNAL_VSYSCALL_CALL): New macro.
26379 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26381 Likewise.
26382 (INTERNAL_VSYSCALL): Likewise.
26383 (INTERNAL_VSYSCALL_NCS): Likewise.
26384 (INTERNAL_VSYSCALL_CALL): New macro.
26385 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26387 (INLINE_VSYSCALL): Remove macro.
26388 (INTERNAL_VSYSCALL): Remove macro.
26389 (INTERNAL_VSYSCALL_NCS): Remove macro.
26390 (INTERNAL_VSYSCALL_CALL): New macro.
26391 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26392 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26393 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26394 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26395 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26397 (INLINE_VSYSCALL): Remove macro.
26398 (INTERNAL_VSYSCALL): Likewise.
26399 (INTERNAL_VSYSCALL_NCS): Likewise.
26400 (INTERNAL_VSYSCALL_CALL): New macro.
26401 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26402 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26403 PTR_DEMANGLE on vDSO pointer.
26404 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26405 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26406 macro.
26407 (INTERNAL_SYSCALL): Likewise.
26408 (INTERNAL_VSYSCALL_NCS): Remove macro.
26409 (INTERNAL_VSYSCALL_CALL): New macro.
26410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26411 Remove macro.
26412 (INTERNAL_VSYSCALL): Likewise.
26413 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26414 sysdep-vdso.h instead of libc-vdso.h.
26415 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26416 definition.
26417 (INLINE_VSYSCALL): Likewise.
26418 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26419 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26420 definition.
26421 (INLINE_VSYSCALL): Likewise.
26422 (INTERNAL_VSYSCALL): Likewise.
26423 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26424 * sysdeps/unix/sysv/linux/timespec_get.c
26425 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26426 (timespec_get): Use ANSI prototype.
26427 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26428 and definition for Linux.
26429
26430 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26431
26432 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26433 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26434
26435 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 [BZ #2981]
26438 [BZ #18410]
26439 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26440 for missing DT_PLTRELSZ.
26441
26442 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26443
26444 Remove obsolete aliases that broke 'locale -a'
26445 [BZ #18412]
26446 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26447 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26448 breaking some applications that use 'locale -a' output.
26449 Change the encoding of this file from Latin-1 to ASCII to avoid
26450 other potential problems with people grepping this file.
26451
26452 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26453
26454 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26455 -fasynchronous-unwind-tables.
26456 (CFLAGS-sendto.c): Likewise.
26457 (CFLAGS-sendmsg.c): Likewise.
26458 (CFLAGS-connect.c): Likewise.
26459 (CFLAGS-recvmsg.c): Likewise.
26460 (CFLAGS-recvfrom.c): Likewise.
26461 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26462 (SOCKETCALL): New macro: non-cancellable socketcall.
26463 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26464 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26465 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26466 * sysdeps/unix/sysv/linux/accept.c: New file.
26467 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26468 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26469 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26470 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26471 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26472 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26473 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26474 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26475 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26476 * sysdeps/unix/sysv/linux/send.c: Likewise.
26477 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26478 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26479 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26480 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26481 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26482 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26483 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26484 prototype.
26485 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26486 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26487 instead of __internal_xxx function.
26488 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26489 prototype.
26490 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26491 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26492 instead of __internal_xxx function.
26493 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26494 prototype.
26495 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26496 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26497 instead of __internal_xxx function.
26498 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26499 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26500 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26501 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26502 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26503 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26504 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26505 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26506 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26507 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26508 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26509 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26510 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26511 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26512 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26513 * sysdeps/unix/sysv/linux/listen.S: Likewise.
26514 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26515 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26517 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26520 * sysdeps/unix/sysv/linux/recv.S: Likewise.
26521 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26522 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26523 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26524 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26525 * sysdeps/unix/sysv/linux/send.S: Likewise.
26526 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26527 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26528 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26529 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26530 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26531 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26532 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26533 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26534 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26535 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26536 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26537 socketcall is implemented in GLIBC.
26538
26539 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26540
26541 * soft-fp/fmadf4.c: Include <libc-internal.h>.
26542 (__fma): Ignore uninitialized warnings around packing.
26543 * soft-fp/fmasf4.c: Include <libc-internal.h>.
26544 (__fmaf): Ignore uninitialized warnings around packing.
26545 * soft-fp/fmatf4.c: Include <libc-internal.h>.
26546 (__fmal): Ignore uninitialized warnings around packing.
26547
26548 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26549 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26550 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26551 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26552
26553 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26554 switch statement into default case.
26555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26556
26557 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26558 a conditional in forcing "inexact".
26559 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26560 Likewise.
26561
26562 2015-05-22 Roland McGrath <roland@hack.frob.com>
26563
26564 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26565 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26566 for each INTERNAL_SYSCALL use.
26567
26568 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26569
26570 [BZ #438]
26571 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26572 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26573 variable.
26574
26575 [BZ #18444]
26576 * string/basename.c (basename): Rename to __basename and define as
26577 weak alias of __basename. Use libc_hidden_weak.
26578 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26579 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26580 __basename instead of basename.
26581 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26582 Remove variable.
26583 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26584
26585 2015-05-18 Florian Weimer <fweimer@redhat.com>
26586
26587 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26588 (_IO_JUMPS_FILE_plus): New.
26589 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26590 _IO_CAST_FIELD_ACCESS.
26591 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26592 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26593 * libio/freopen.c (freopen): Likewise.
26594 * libio/freopen64.c (freopen64): Likewise.
26595 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26596 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26597 * libio/iofwide.c (_IO_fwide): Likewise.
26598 * libio/memstream.c (open_memstream): Likewise.
26599 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26600 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26601 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26602
26603 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26604
26605 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26606 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26607 NADJ.
26608 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26609 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26610 NADJ.
26611 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26612 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26613 NADJ.
26614
26615 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26616 (p == 4) case.
26617
26618 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26619 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26620 Remove variable.
26621 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26622 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26623 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26624
26625 2015-05-21 Florian Weimer <fweimer@redhat.com>
26626
26627 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26628 Adjust jump table label generation macros.
26629
26630 2015-05-21 Florian Weimer <fweimer@redhat.com>
26631
26632 * stdio-common/vfprintf.c (vfprintf): Move local variables
26633 args_malloced, specs, specs_malloced, and the code after
26634 do_positional to the printf_positional function.
26635 (printf_positional): New function.
26636
26637 2015-05-21 Florian Weimer <fweimer@redhat.com>
26638
26639 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26640 function.
26641 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26642 STEP4_TABLE, process_arg): Move macro definitions
26643 out of the vfprintf function. (Cosmetic change only.)
26644
26645 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26646
26647 * benchtests/Makefile (stdio-common-bench): Define.
26648 (benchset): Add stdio-common-bench.
26649 * sprintf-inputs: New file.
26650 * sprintf-source.c: New file.
26651
26652 2015-05-21 Andreas Schwab <schwab@suse.de>
26653
26654 [BZ #13028]
26655 [BZ #17053]
26656 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26657 of struct __res_state.
26658 * resolv/res_send.c (__libc_res_nsend): Likewise.
26659 (get_nsaddr): New function.
26660 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26661 statp directly.
26662
26663 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26664
26665 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26666 -D_POSIX_C_SOURCE=199506L.
26667
26668 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26669
26670 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26671 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26672 Do not mention otherwise.
26673 [POSIX] (_XOPEN_VERSION): Do not expect.
26674 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26675 [POSIX] (_POSIX2_C_BIND): Likewise.
26676 [POSIX] (_POSIX2_VERSION): Likewise.
26677 [POSIX] (_XOPEN_XPG2): Likewise.
26678 [POSIX] (_XOPEN_XPG3): Likewise.
26679 [POSIX] (_XOPEN_XPG4): Likewise.
26680 [POSIX] (_XOPEN_UNIX): Likewise.
26681 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26682 [POSIX] (_POSIX_BARRIERS): Likewise.
26683 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26684 [POSIX] (_POSIX_CPUTIME): Likewise.
26685 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26686 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26687 [POSIX] (_POSIX_SHELL): Likewise.
26688 [POSIX] (_POSIX_SPAWN): Likewise.
26689 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26690 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26691 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26692 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26693 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26694 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26695 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26696 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26697 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26698 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26699 [POSIX] (_POSIX2_PBS): Likewise.
26700 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26701 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26702 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26703 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26704 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26705 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26706 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26707 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26708 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26709 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26710 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26711 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26712 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26713 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26714 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26715 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26716 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26717 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26718 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26719 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26720 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26721 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26722 [POSIX] (_SC_2_C_BIND): Likewise.
26723 [POSIX] (_SC_2_C_VERSION): Likewise.
26724 [POSIX] (_SC_2_PBS): Likewise.
26725 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26726 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26727 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26728 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26729 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26730 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26731 [POSIX] (_SC_BARRIERS): Likewise.
26732 [POSIX] (_SC_BASE): Likewise.
26733 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26734 [POSIX] (_SC_DEVICE_IO): Likewise.
26735 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26736 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26737 [POSIX] (_SC_FD_MGMT): Likewise.
26738 [POSIX] (_SC_FIFO): Likewise.
26739 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26740 [POSIX] (_SC_FILE_LOCKING): Likewise.
26741 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26742 [POSIX] (_SC_IOV_MAX): Likewise.
26743 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26744 [POSIX] (_SC_NETWORKING): Likewise.
26745 [POSIX] (_SC_PAGE_SIZE): Likewise.
26746 [POSIX] (_SC_PASS_MAX): Likewise.
26747 [POSIX] (_SC_PIPE): Likewise.
26748 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26749 [POSIX] (_SC_REGEXP): Likewise.
26750 [POSIX] (_SC_SHELL): Likewise.
26751 [POSIX] (_SC_SIGNALS): Likewise.
26752 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26753 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26754 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26755 [POSIX] (_SC_USER_GROUPS): Likewise.
26756 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26757 [POSIX] (_SC_STREAMS): Likewise.
26758 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26759 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26760 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26761 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26762 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26763 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26764 [POSIX] (_PC_FILESIZEBITS): Likewise.
26765 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26766 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26767 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26768 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26769 [POSIX] (uid_t): Likewise.
26770 [POSIX] (gid_t): Likewise.
26771 [POSIX] (off_t): Likewise.
26772 [POSIX] (pid_t): Likewise.
26773 [POSIX] (cuserid): Allow.
26774 (_SC_2_CHAR_TERM): Require constant.
26775 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26776 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26777 variable.
26778
26779 2015-05-20 Roland McGrath <roland@hack.frob.com>
26780
26781 * sysdeps/nacl/pthread-pids.h: New file.
26782 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26783 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26784
26785 * nptl/pthread-pids.h: New file.
26786 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26787 * nptl/nptl-init.c: Include <pthread-pids.h>.
26788 (__pthread_initialize_minimal_internal):
26789 Call __pthread_initialize_pids instead of set_tid_address syscall.
26790
26791 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26792 * sysdeps/posix/usleep.c: ... here.
26793
26794 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26795
26796 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26797 call_pselect6 object.
26798 [$(subdir) = io]: Remove call_sync_file_range object.
26799 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26800 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26801 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26802 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26803
26804 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26805
26806 * math/s_cproj.c: Add include "math_private.h".
26807 * math/s_cprojf.c: Likewise.
26808 * math/s_cprojl.c: Likewise.
26809
26810 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26811
26812 [BZ #18244]
26813 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26814 high mantissa bit when testing whether P is a NaN.
26815 * math/libm-test.inc (remainder_test_data): Add more tests.
26816 (remquo_test_data): Likewise.
26817
26818 [BZ #18049]
26819 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26820 below -32, return the argument, with underflow if subnormal.
26821 * math/auto-libm-test-in: Add more tests of atanh.
26822 * math/auto-libm-test-out: Regenerated.
26823
26824 2015-05-19 Roland McGrath <roland@hack.frob.com>
26825
26826 [BZ #18434]
26827 * nptl/tst-sem15.c: New file.
26828 * nptl/Makefile (tests): Add it.
26829 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26830 s/<</>>/ to fix typo in EOVERFLOW check.
26831 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26832
26833 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26834
26835 * manual/strings.texi (envz_remove): Fix typo in safety
26836 annotations.
26837
26838 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26839 Steve Ellcey <sellcey@imgtec.com>
26840
26841 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26842 in order to avoid strict alias warnings.
26843 (iruserok_af): Ditto for ra.
26844
26845 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26846
26847 [BZ #17581]
26848 * malloc/hooks.c
26849 (magicbyte): Convert to a function and avoid returning 0x01.
26850 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26851 (mem2chunk_check): Fix unsigned comparisons to zero.
26852 Hoist defs of sz and magic.
26853
26854 2015-05-19 Richard Henderson <rth@redhat.com>
26855
26856 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26857
26858 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26859
26860 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26861
26862 [BZ #16159]
26863 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26864 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26865 (reused_arena): Find a non-corrupt arena.
26866 (heap_trim): Pass arena to unlink.
26867 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26868 malloc_printerr.
26869 (top_check): Likewise.
26870 (free_check): Likewise.
26871 (realloc_check): Likewise.
26872 * malloc/malloc.c (malloc_printerr): Add arena argument.
26873 (unlink): Likewise.
26874 (munmap_chunk): Adjust.
26875 (ARENA_CORRUPTION_BIT): New macro.
26876 (arena_is_corrupt): Likewise.
26877 (set_arena_corrupt): Likewise.
26878 (sysmalloc): Use mmap if there are no usable arenas.
26879 (_int_malloc): Likewise.
26880 (__libc_malloc): Don't fail if arena_get returns NULL.
26881 (_mid_memalign): Likewise.
26882 (__libc_calloc): Likewise.
26883 (__libc_realloc): Adjust for additional argument to
26884 malloc_printerr.
26885 (_int_free): Likewise.
26886 (malloc_consolidate): Likewise.
26887 (_int_realloc): Likewise.
26888 (_int_memalign): Don't touch corrupt arenas.
26889 * malloc/tst-malloc-backtrace.c: New test case.
26890
26891 * Makefile (summarize-tests): Fix return value on success.
26892
26893 * manual/string.texi (Envz Functions): Add envz_remove.
26894
26895 2015-05-18 Roland McGrath <roland@hack.frob.com>
26896
26897 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26898 (invalid_name): New function, broken out of ...
26899 (__opendirat): ... here. Call it.
26900 (need_isdir_precheck): New function, broken out of ...
26901 (__opendirat): ... here. Call it.
26902 Use __fxstatat64, not __xstatat64.
26903 (opendir_oflags): New function, broken out of ...
26904 (__opendirat): ... here. Call it.
26905 (opendir_tail): New function, broken out of ...
26906 (__opendirat): ... here. Call it.
26907 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26908 opendir_tail, rather than punting to __opendirat.
26909 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26910
26911 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26912
26913 * .gitignore: Ignore generated *.pyc.
26914
26915 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26916
26917 * include/stdio.h: Define __need_wint_t.
26918 * test-skeleton.c: Avoid `for' loop initial declaration.
26919 * nptl/tst-initializers1.c: Use test-skeleton.c.
26920
26921 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26922
26923 [BZ #18418]
26924 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26925
26926 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26927
26928 [BZ #16352]
26929 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26930 (__ieee754_atanh): Force underflow exception for results with
26931 small absolute value.
26932 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26933 (__ieee754_atanhf): Force underflow exception for results with
26934 small absolute value.
26935 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26936 (__ieee754_atanh): Force underflow exception for results with
26937 small absolute value.
26938 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26939 (__ieee754_atanhf): Force underflow exception for results with
26940 small absolute value.
26941 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26942 (__ieee754_atanhl): Force underflow exception for results with
26943 small absolute value.
26944 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26945 (__ieee754_atanhl): Force underflow exception for results with
26946 small absolute value.
26947 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26948 (__ieee754_atanhl): Force underflow exception for results with
26949 small absolute value.
26950 * math/auto-libm-test-in: Do not allow missing underflow
26951 exceptions from atanh.
26952 * math/auto-libm-test-out: Regenerated.
26953
26954 [BZ #18221]
26955 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26956 2**-28 as threshold for returning x or +/- 1/x.
26957 * math/auto-libm-test-in: Add more tests of tan.
26958 * math/auto-libm-test-out: Regenerated.
26959
26960 [BZ #18220]
26961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26962 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26963 * math/auto-libm-test-in: Add another test of lgamma.
26964 * math/auto-libm-test-out: Regenerated.
26965
26966 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26967
26968 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26969 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26970 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26971 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26972 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26973 (ADD2A): Use fabs. (SUB2A): Use fabs.
26974 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26975 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26977 (log1): Use fabs. (my_log2): Use fabs.
26978 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26979 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26981 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26983 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26984 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26985 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26986 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26987 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26988 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26989
26990 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26991
26992 [BZ #18217]
26993 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26994 as threshold for returning 1 - x.
26995 * math/auto-libm-test-in: Add more tests of erfc.
26996 * math/auto-libm-test-out: Regenerated.
26997
26998 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26999
27000 [BZ #18196]
27001 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27002 threshold for large arguments.
27003 * math/auto-libm-test-in: Add another test of atan.
27004 * math/auto-libm-test-out: Regenerated.
27005
27006 [BZ #16339]
27007 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27008 (__log1p): Force underflow exception for results with small
27009 absolute value.
27010 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27011 (__log1pf): Force underflow exception for results with small
27012 absolute value.
27013 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27014 (__log1p): Force underflow exception for results with small
27015 absolute value.
27016 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27017 (__log1pf): Force underflow exception for results with small
27018 absolute value.
27019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27020 (__log1pl): Force underflow exception for results with small
27021 absolute value.
27022 * math/auto-libm-test-in: Do not allow missing underflow
27023 exceptions from log1p.
27024 * math/auto-libm-test-out: Regenerated.
27025
27026 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27027 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27028
27029 [BZ #16704]
27030 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27031
27032 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27033
27034 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27035 (libmvec): New variable.
27036 * configure.ac: Added option for mathvec build.
27037 * configure: Regenerated.
27038 * mathvec/Depend: New file.
27039 * mathvec/Makefile: New file.
27040 * shlib-versions: Added libmvec.
27041 * math/Makefile: Added rule for libm.so installation.
27042
27043 * bits/math-vector.h: New file.
27044 * bits/libm-simd-decl-stubs.h: New header.
27045 * math/Makefile (headers): Added new header
27046 libm-simd-decl-stubs.h.
27047 * math/math.h (__MATHCALL_VEC): New macro.
27048
27049 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27050 for conditions in testing functions.
27051 * math/Makefile: Added call of libm-have-vector-test.sh.
27052 * math/libm-test.inc (HAVE_VECTOR): New macros.
27053
27054 * math/libm-test.inc: START refactored.
27055 * math/test-double.c (TEST_MATHVEC): Add define.
27056 * math/test-float.c: Likewise.
27057 * math/test-idouble.c: Likewise.
27058 * math/test-ifloat.c: Likewise.
27059 * math/test-ildoubl.c: Likewise.
27060 * math/test-ldouble.c: Likewise.
27061 * sysdeps/generic/math-tests-arch.h
27062 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27063 architecture check.
27064
27065 * math/test-double.c (FUNC_TEST): New macro.
27066 * math/test-float.c: Likewise.
27067 * math/test-idouble.c: Likewise.
27068 * math/test-ifloat.c: Likewise.
27069 * math/test-ildoubl.c: Likewise.
27070 * math/test-ldouble.c: Likewise.
27071 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27072
27073 2015-05-13 Roland McGrath <roland@hack.frob.com>
27074
27075 * sysdeps/nacl/fdopendir.c: New file.
27076
27077 * dirent/scandir-tail.c: New file.
27078 * dirent/scandir64-tail.c: New file.
27079 * dirent/Makefile (routines): Add them.
27080 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27081 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27082 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27083 [!SCANDIR] (SCANDIR_TAIL): New macro.
27084 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27085 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27086 (SCANDIRAT): Macro removed.
27087 (SCANDIR_TAIL): New macro.
27088 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27089 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27090 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27091 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27092 (READDIR): Macro removed.
27093 (SCANDIR_TAIL): New macro.
27094 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27095 (SCANDIR_TAIL): New macro.
27096
27097 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27098 * dirent/scandir-cancel.c: ... to this new file.
27099 * dirent/Makefile (routines): Add it.
27100 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27101 * sysdeps/unix/sysv/linux/i386/scandir64.c
27102 (SKIP_SCANDIR_CANCEL): Macro removed.
27103 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27104
27105 * dirent/tst-scandir.c: New file.
27106 * dirent/tst-scandir64.c: New file.
27107 * dirent/Makefile (tests): Add them.
27108
27109 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 [BZ #18409]
27112 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27113
27114 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27115
27116 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27117 list.
27118
27119 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27120
27121 * benchtests/bench-strcoll.c: New benchmark.
27122 * benchtests/Makefile: Generate locales and run benchmark.
27123 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27124 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27125 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27126 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27127 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27128 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27129 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27130 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27131 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27132 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27133 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27134 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27135 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27136 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27137 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27138 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27139 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27140 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27141 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27142 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27143 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27144 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27145 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27146 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27147
27148 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27149
27150 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27151 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27152
27153 2015-05-12 Roland McGrath <roland@hack.frob.com>
27154
27155 * posix/uname-values.h: New file.
27156 * posix/uname.c: Include that instead of <config-name.h>.
27157 * sysdeps/nacl/uname-values.h: New file.
27158 * sysdeps/arm/nacl/uname-values.h: New file.
27159
27160 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27161
27162 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27163 splitting into fields.
27164
27165 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27166
27167 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27168 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27169 * locale/localeinfo.h: Add enum collation_encoding_type.
27170 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27171 * programs/ld-collate.c (collate_output): Add encoding type info.
27172 * string/strcoll_l.c (STRDIFF): New function.
27173 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27174 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27175
27176 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #18397]
27179 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27180 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27181 <fpu_control.h> instead of <math/fpu_control.c>.
27182 * sysdeps/mips/mips32/fpu/Makefile: New file.
27183
27184 2015-05-11 Andreas Schwab <schwab@suse.de>
27185
27186 [BZ #18007]
27187 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27188 nss_endgrent.
27189 (_nss_compat_endgrent): Call nss_endgrent.
27190 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27191 nss_endpwent.
27192 (_nss_compat_endpwent): Call nss_endpwent.
27193 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27194 needent, call nss_setspent only if non-zero.
27195 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27196 (internal_endspent): Don't call nss_endspent.
27197 (_nss_compat_endspent): Call nss_endspent.
27198 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27199 Remove. All uses removed.
27200 (internal_setent): Remove parameter stayopen, add parameter
27201 stream. Use it instead of global variable.
27202 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27203 (internal_endent, internal_getent): Add parameter stream. Use it
27204 instead of global variable.
27205 (CONCAT(_nss_files_end,ENTNAME))
27206 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27207 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27208 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27209 uses removed.
27210 (internal_setent, internal_endent): Add parameter stream. Use it
27211 instead of global variable.
27212 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27213 stream.
27214 (get_next_alias): Add parameter stream.
27215 (_nss_files_getaliasent_r): Pass global stream.
27216 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27217 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27218 (_nss_files_gethostbyname4_r): Pass local stream to
27219 internal_setent, internal_getent and internal_endent. Remove
27220 locking.
27221
27222 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27223
27224 * tst-strfmon1.c (tests): Update expected currency symbol.
27225
27226 2015-05-08 Roland McGrath <roland@hack.frob.com>
27227
27228 * sysdeps/nacl/gethostname.c: New file.
27229
27230 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27231
27232 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27233 and sinh.
27234 * math/auto-libm-test-out: Regenerated.
27235 * sysdeps/i386/fpu/libm-test-ulps: Update.
27236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27237
27238 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27239
27240 [BZ #18125]
27241 * stdlib/tst-setcontext3.c: New file.
27242 * stdlib/tst-setcontext3.sh: New file.
27243 * stdlib/Makefile (tests): Add tst-setcontext3.
27244 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27245 to verify test program created output file.
27246 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27247 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27248 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27249 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27250
27251 2015-05-06 Roland McGrath <roland@hack.frob.com>
27252
27253 [BZ #18383]
27254 * elf/tst-tlsalign.c: New file.
27255 * elf/tst-tlsalign-static.c: New file.
27256 * elf/tst-tlsalign-lib.c: New file.
27257 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27258 (tests-static): Add tst-tlsalign-static.
27259 (modules-names): Add tst-tlsalign-lib.
27260 (test-xfail-tst-tlsalign): New variable.
27261 (test-xfail-tst-tlsalign-static): New variable.
27262
27263 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27264 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27265
27266 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27267
27268 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27269 csqrt, erfc, sin and sincos.
27270 * math/auto-libm-test-out: Regenerated.
27271 * sysdeps/i386/fpu/libm-test-ulps: Update.
27272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273
27274 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27275
27276 * sysdeps/aarch64/libm-test-ulps: Update.
27277
27278 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27279
27280 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27281 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27282 * math/auto-libm-test-out: Regenerated.
27283 * sysdeps/i386/fpu/libm-test-ulps: Update.
27284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27285
27286 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27287
27288 [BZ #18265]
27289 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27290 (wcsncpy): Likewise.
27291
27292 2015-05-05 Florian Weimer <fweimer@redhat.com>
27293
27294 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27295 Assume __ASSUME_FALLOCATE is always true.
27296 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27297 (__posix_fallocate64_l64): Likewise.
27298 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27299 (posix_fallocate): Likewise.
27300 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27301 (__posix_fallocate64_l64): Likewise.
27302 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27303 [!__ASSUME_FALLOCATE]: Add comment.
27304
27305 2015-05-05 Florian Weimer <fweimer@redhat.com>
27306
27307 * sysdeps/unix/sysv/linux/i386/Makefile
27308 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27309 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27310 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27313 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27314 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27315
27316 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27317
27318 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27319 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27320 tgamma.
27321 * math/auto-libm-test-out: Regenerated.
27322 * sysdeps/i386/fpu/libm-test-ulps: Update.
27323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27324
27325 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27326
27327 * math/auto-libm-test-in: Add more tests of tgamma.
27328 * math/auto-libm-test-out: Regenerated.
27329 * sysdeps/i386/fpu/libm-test-ulps: Update.
27330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27331
27332 * math/auto-libm-test-in: Add more tests of tanh.
27333 * math/auto-libm-test-out: Regenerated.
27334 * sysdeps/i386/fpu/libm-test-ulps: Update.
27335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27336
27337 * math/auto-libm-test-in: Add more tests of tan.
27338 * math/auto-libm-test-out: Regenerated.
27339 * sysdeps/i386/fpu/libm-test-ulps: Update.
27340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27341
27342 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27343 * math/auto-libm-test-out: Regenerated.
27344 * sysdeps/i386/fpu/libm-test-ulps: Update.
27345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27346
27347 * math/auto-libm-test-in: Add another test of pow.
27348 * math/auto-libm-test-out: Regenerated.
27349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27350
27351 * math/auto-libm-test-in: Add more tests of lgamma.
27352 * math/auto-libm-test-out: Regenerated.
27353 * sysdeps/i386/fpu/libm-test-ulps: Update.
27354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27355
27356 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27357 log1p.
27358 * math/auto-libm-test-out: Regenerated.
27359 * sysdeps/i386/fpu/libm-test-ulps: Update.
27360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27361
27362 2015-05-01 Mark Wielaard <mjw@redhat.com>
27363
27364 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27365 Elf64_Chdr structs and ELFCOMPRESS constants.
27366
27367 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27368
27369 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27370 expm1.
27371 * math/auto-libm-test-out: Regenerated.
27372 * sysdeps/i386/fpu/libm-test-ulps: Update.
27373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27374
27375 * math/auto-libm-test-in: Add more tests of erf and erfc.
27376 * math/auto-libm-test-out: Regenerated.
27377 * sysdeps/i386/fpu/libm-test-ulps: Update.
27378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27379
27380 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27381
27382 * config.h.in (HAVE_AARCH64_BE): Add.
27383
27384 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27385
27386 * math/auto-libm-test-in: Add more tests of csqrt.
27387 * math/auto-libm-test-out: Regenerated.
27388 * sysdeps/i386/fpu/libm-test-ulps: Update.
27389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27390
27391 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27392 * math/auto-libm-test-out: Regenerated.
27393 * sysdeps/i386/fpu/libm-test-ulps: Update.
27394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395
27396 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27397
27398 2015-04-29 Roland McGrath <roland@hack.frob.com>
27399
27400 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27401 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27402
27403 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27404 (euidaccess, eaccess): Define as weak aliases.
27405
27406 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27407 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27408 but __suseconds_t is often 'long int' so some sources assume that
27409 type is being used (e.g. they use %ld to print tv_usec).
27410
27411 2015-04-29 Florian Weimer <fweimer@redhat.com>
27412
27413 [BZ #18007]
27414 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27415 (CVE-2014-8121)
27416 * nss/tst-nss-getpwent.c: New file.
27417 * nss/Makefile (tests): Add new test.
27418
27419 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27420
27421 [BZ #18346]
27422 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27423 exponents less than 48 as cases where high part of mantissa needs
27424 examining to determine whether argument is integral.
27425 * math/libm-test.inc (round_test_data): Add more tests.
27426
27427 2015-04-28 Mark Wielaard <mjw@redhat.com>
27428
27429 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27430
27431 2015-04-27 David S. Miller <davem@davemloft.net>
27432
27433 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27434 __tls_get_addr.
27435 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27436
27437 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27438
27439 [BZ#18333]
27440 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27441
27442 2015-04-27 Florian Weimer <fweimer@redhat.com>
27443
27444 [BZ#18333]
27445 * time/tzset.c (parse_tzname): Return error on memory allocation
27446 failure.
27447 * test-skeleton.c (struct temp_name_list): Change type of name
27448 member to non-const.
27449 (add_temp_file): Create a copy of the file name.
27450 (delete_temp_files): Deallocate memory.
27451 (create_temp_file): Add comment.
27452
27453 2015-04-24 Florian Weimer <fweimer@redhat.com>
27454
27455 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27456 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27457
27458 2015-04-24 Roland McGrath <roland@hack.frob.com>
27459
27460 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27461 * sysdeps/arm/configure: Regenerated.
27462
27463 2015-04-24 Florian Weimer <fweimer@redhat.com>
27464
27465 [BZ #17715]
27466 * time/tzfile.c (__tzfile_read): Check for large values of
27467 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27468 * time/tzset.c (__tzstring_len): New function, based on the old
27469 __tzstring function.
27470 (__tzstring): Call __tzstring_len.
27471 (parse_tzname): New helper function extracted from
27472 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27473 the input string.
27474 (parse_offset): New helper function extracted from
27475 __tzset_parse_tz. Replace switch with fallthrough with
27476 initialization before sscanf.
27477 (parse_rule): Likewise.
27478 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27479 new-style function definition.
27480 * timezone/Makefile (tests): Add tst-tzset.
27481 (tst-tzset.out): Dependencies on time zone files.
27482 (tst-tzset-ENV): Set TZDIR.
27483 (testdata/XT%): Copy crafted time zone files.
27484 * timezone/README: Mention crafted time zone files.
27485 * timezone/testdata/XT1, timezone/testdata/XT2,
27486 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27487 files.
27488 * timezone/tst-tzset.c: New test.
27489
27490 2015-04-24 Florian Weimer <fweimer@redhat.com>
27491
27492 * Makeconfig (+gccwarn): Remove -Winline.
27493
27494 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27495
27496 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27497
27498 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27499
27500 * NEWS: Mention sysconf() cache information support for s390.
27501 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27502
27503 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27504
27505 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27507 (__nearbyint): Likewise.
27508 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27509 (copysignl): Likewise.
27510
27511 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27512
27513 [BZ #18287]
27514 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27515 based on padding. (CVE-2015-1781)
27516
27517 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27518
27519 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27520 libc-vdso.h.
27521 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27522 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27523 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27524 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27525 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27526 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27527 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27529 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27530 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27531 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27532 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27533 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27534 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27535 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27536 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27537 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27538 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27539 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27540 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27541 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27542 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27543 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27544
27545 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27546
27547 * stdlib/setenv.c (__add_to_environ):
27548 Dump core quickly if setenv (..., NULL, ...) is called.
27549 This time, do it the right way, and pacify GCC with a pragma.
27550
27551 2015-04-17 Roland McGrath <roland@hack.frob.com>
27552
27553 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27554 IMAP->l_prev cannot be null, and #if out the code for the contrary
27555 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27556 believe that NS (&_dl_ns[NSID]) could point outside the array.
27557
27558 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27559 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27560 before using NSID as an index.
27561
27562 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27563
27564 [BZ #17825]
27565 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27566 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27567 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27568
27569 2015-04-17 Roland McGrath <roland@hack.frob.com>
27570
27571 Add preliminary port to Google Native Client on ARM.
27572 * abi-tags (.*-.*-nacl.*): New entry.
27573 * sysdeps/arm/nacl: New directory.
27574 * sysdeps/nacl: New directory.
27575
27576 2015-04-16 David S. Miller <davem@davemloft.net>
27577
27578 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27579 lowlevellock-futex.h
27580
27581 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27582
27583 * sysdeps/tile/configure.ac: New file.
27584 * sysdeps/tile/configure: Regenerated.
27585
27586 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27587
27588 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27589 conditionals for weak_alias and libc_hidden_weak.
27590 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27591 libc_hidden_weak and weak_alias.
27592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27593 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27594 and weak_alias for static one.
27595
27596 2015-04-15 David S. Miller <davem@davemloft.net>
27597
27598 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27599
27600 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27601
27602 [BZ #18206]
27603 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27604 Use signed comparision instead of substraction to avoid
27605 overflow bug.
27606 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27607 Take the sign of ret.
27608 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27609 Do not expect precise return values. Only the sign matters.
27610 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27611 * wcsmbs/test-wcsncmp.c: New File.
27612 * string/test-strncmp.c: Add wcsncmp support.
27613
27614 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27615
27616 [BZ #6792]
27617 * math/w_log1p.c: New file.
27618 * math/w_log1pf.c: Likewise.
27619 * math/w_log1pl.c: Likewise.
27620 * math/Makefile (libm-calls): Add w_log1p.
27621 * math/s_log1pl.c (log1pl): Remove weak_alias.
27622 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27623 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27624 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27625 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27626 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27627 [NO_LONG_DOUBLE] (log1pl): Likewise.
27628 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27629 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27630 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27631 (log1p): Remove long_double_symbol.
27632 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27633 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27634 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27635 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27636 remove weak_alias for corresponding log1p function.
27637 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27638 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27639 * sysdeps/ia64/fpu/w_log1p.c: New file.
27640 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27641 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27642 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27643
27644 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27645
27646 [BZ #18247]
27647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27648 decimal exponent by 1.
27649 * stdlib/tst-strtod-round-data: Add more tests.
27650 * stdlib/tst-strtod-round.c (tests): Regenerated.
27651
27652 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27653
27654 * math/auto-libm-test-in: Add more tests of clog and clog10.
27655 * math/auto-libm-test-out: Regenerated.
27656 * sysdeps/i386/fpu/libm-test-ulps: Update.
27657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27658
27659 2015-04-09 Roland McGrath <roland@hack.frob.com>
27660
27661 * Makeconfig (module-cppflags): Exclude all .v.i files.
27662 (skip-module-cppflags): Variable removed.
27663
27664 * configure.ac (libc_config_ok): Initialize before reading
27665 preconfigure scripts, not after.
27666 * configure: Regenerated.
27667
27668 * test-skeleton.c (TIMEOUT): Move #define to top level.
27669 (main): Grok environment variable TEST_DIRECT. If set, print
27670 test expectation details into that file and then behave as if
27671 given --direct.
27672
27673 2015-04-09 Florian Weimer <fweimer@redhat.com>
27674
27675 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27676 warning on 32-bit.
27677
27678 2015-04-08 David S. Miller <davem@davemloft.net>
27679
27680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27681
27682 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27683
27684 * math/auto-libm-test-in: Add more tests of atanh.
27685 * math/auto-libm-test-out: Regenerated.
27686 * sysdeps/i386/fpu/libm-test-ulps: Update.
27687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27688
27689 * math/auto-libm-test-in: Add more tests of atan.
27690 * math/auto-libm-test-out: Regenerated.
27691 * sysdeps/i386/fpu/libm-test-ulps: Update.
27692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27693
27694 2015-04-08 Florian Weimer <fweimer@redhat.com>
27695
27696 * elf/pldd.c (main): Rewrite to use struct
27697 scratch_buffer instead of extend_alloca.
27698 * elf/pldd-xx.c (find_maps): Likewise.
27699 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27700 <alloca.h>.
27701 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27702 scratch_buffer instead of extend_alloca.
27703 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27704 grp/compat-initgroups.c.
27705 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27706 Rewrite to use struct scratch_buffer instead of extend_alloca.
27707 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27708 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27709
27710 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27711
27712 * math/auto-libm-test-in: Add more tests of cbrt.
27713 * math/auto-libm-test-out: Regenerated.
27714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27715
27716 * math/auto-libm-test-in: Add more tests of cabs.
27717 * math/auto-libm-test-out: Regenerated.
27718 * sysdeps/i386/fpu/libm-test-ulps: Update.
27719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27720
27721 [BZ #18210]
27722 [BZ #18211]
27723 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27724 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27725 computations.
27726 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27727 clog10.
27728 * math/auto-libm-test-out: Regenerated.
27729 * sysdeps/i386/fpu/libm-test-ulps: Update.
27730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27731
27732 [BZ #18197]
27733 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27734 (atan): Set FE_TONEAREST mode for internal computations.
27735 * math/auto-libm-test-in: Add more tests of atan.
27736 * math/auto-libm-test-out: Regenerated.
27737
27738 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27739
27740 [BZ #17930]
27741 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27742
27743 2015-04-07 Florian Weimer <fweimer@redhat.com>
27744
27745 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27746
27747 2015-04-07 Florian Weimer <fweimer@redhat.com>
27748
27749 * include/scratch_buffer.h: New file.
27750 * malloc/scratch_buffer_grow.c: Likewise.
27751 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27752 * malloc/scratch_buffer_set_array_size.c: Likewise.
27753 * malloc/tst-scratch_buffer.c: Likewise.
27754 * malloc/Makefile (routines): Add scratch_buffer_grow.
27755 (tests): Add test case.
27756 * malloc/Versions (GLIBC_PRIVATE): Export
27757 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27758 __libc_scratch_buffer_set_array_size.
27759
27760 2015-04-06 Richard Henderson <rth@redhat.com>
27761
27762 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27763 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27764
27765 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27766 unsigned int before printing.
27767
27768 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27769
27770 [BZ #17596]
27771 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27772 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27773
27774 2015-04-02 Florian Weimer <fweimer@redhat.com>
27775
27776 * include/libc-internal.h (libc_max_align_t): Define.
27777
27778 2015-04-02 Andreas Schwab <schwab@suse.de>
27779
27780 [BZ #16850]
27781 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27782
27783 2015-04-02 Mel Gorman <mgorman@suse.de>
27784
27785 [BZ #17195]
27786 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27787 as well as the main arena.
27788
27789 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27790
27791 [BZ #18185]
27792 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27793 sharing L2 cache to 2 for Silvermont/Knights Landing.
27794
27795 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27796
27797 [BZ #17711]
27798 * config.make.in (have-protected-data): New.
27799 * configure.ac: Check linker support for protected data symbol.
27800 * configure: Regenerated.
27801 * elf/Makefile (modules-names): Add tst-protected1moda and
27802 tst-protected1modb if $(have-protected-data) is yes.
27803 (tests): Add tst-protected1a and tst-protected1b if
27804 $(have-protected-data) is yes.
27805 ($(objpfx)tst-protected1a): New.
27806 ($(objpfx)tst-protected1b): Likewise.
27807 (tst-protected1modb.so-no-z-defs): Likewise.
27808 * elf/tst-protected1a.c: New file.
27809 * elf/tst-protected1b.c: Likewise.
27810 * elf/tst-protected1mod.h: Likewise.
27811 * elf/tst-protected1moda.c: Likewise.
27812 * elf/tst-protected1modb.c: Likewise.
27813
27814 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27815
27816 [BZ #17711]
27817 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27818 indicates it is called from do_lookup_x on relocation against
27819 protected data, skip the data definion in the executable from
27820 copy reloc.
27821 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27822 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27823 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27824 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27825 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27826 otherwise to 0.
27827 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27828 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27829 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27830 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27831 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27832 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27833
27834 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27835
27836 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27837 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27838
27839 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27840
27841 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27842 THREAD_SETMEM_NC.
27843 * sysdeps/x86_64/nptl/tls.h: Ditto.
27844
27845 2015-03-27 Roland McGrath <roland@hack.frob.com>
27846
27847 * dlfcn/tststatic.c (main): Converted to ...
27848 (do_test): ... this.
27849 (TEST_FUNCTION): New macro.
27850 Include test-skeleton.c.
27851
27852 2015-03-26 Alan Modra <amodra@gmail.com>
27853
27854 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27855 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27856 zero for undefined weak.
27857 (elf_machine_plt_conflict): Similarly.
27858
27859 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27860
27861 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27862 atanh.
27863 * math/auto-libm-test-out: Regenerated.
27864 * sysdeps/i386/fpu/libm-test-ulps: Update.
27865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27866
27867 * math/auto-libm-test-in: Add another test of asin.
27868 * math/auto-libm-test-out: Regenerated.
27869 * sysdeps/i386/fpu/libm-test-ulps: Update.
27870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27871
27872 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27873 Remove macro.
27874 (LLL_EBX_REG): Likewise.
27875 (LLL_ENTER_KERNEL): Likewise.
27876
27877 * math/auto-libm-test-in: Add more tests of asin.
27878 * math/auto-libm-test-out: Regenerated.
27879 * sysdeps/i386/fpu/libm-test-ulps: Update.
27880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881
27882 [BZ #18138]
27883 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27884 libc_do_syscall_args): New structure.
27885 (INTERNAL_SYSCALL_MAIN_0): New macro.
27886 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27887 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27888 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27889 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27890 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27891 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27892 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27893 Replace conditional definitions by conditional definitions of ....
27894 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27895 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27896 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27897 (libpthread-sysdep_routines): Add libc-do-syscall.
27898 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27899 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27900 to __NR_futex not 240.
27901
27902 2015-03-25 Alan Modra <amodra@gmail.com>
27903
27904 * NEWS: Advertise TLS optimization.
27905 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27906 (DT_PPC_NUM): Increment.
27907 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27908 (CHECK_STATIC_TLS): Use here.
27909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27910 TLS descriptors.
27911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27912 * sysdeps/powerpc/dl-tls.c: New file.
27913 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27914 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27915 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27916 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27920
27921 2015-03-25 Alan Modra <amodra@gmail.com>
27922
27923 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27924 for overlapping .opd entries" to "support...".
27925 * sysdeps/powerpc/powerpc64/configure: Regenerate
27926
27927 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27928
27929 * math/auto-libm-test-in: Add more tests of acos.
27930 * math/auto-libm-test-out: Regenerated.
27931 * sysdeps/i386/fpu/libm-test-ulps: Update.
27932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27933
27934 * math/auto-libm-test-in: Add more tests of expm1.
27935 * math/auto-libm-test-out: Regenerated.
27936 * sysdeps/i386/fpu/libm-test-ulps: Update.
27937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27938
27939 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27940
27941 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27942 * math/auto-libm-test-out: Regenerated.
27943 * sysdeps/i386/fpu/libm-test-ulps: Update.
27944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27945
27946 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27948
27949 * math/auto-libm-test-in: Add more tests of log2.
27950 * math/auto-libm-test-out: Regenerated.
27951 * sysdeps/i386/fpu/libm-test-ulps: Update.
27952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27953
27954 2015-03-23 Roland McGrath <roland@hack.frob.com>
27955
27956 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27957 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27958 _IO_IS_APPENDING bit in READ_WRITE instead.
27959
27960 2015-03-23 Florian Weimer <fweimer@redhat.com>
27961
27962 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27963 (__determine_cpumask_size): Replace extend_alloca with a
27964 variable-length array. Do not treat res == 0 as an error.
27965
27966 2015-03-23 Florian Weimer <fweimer@redhat.com>
27967
27968 [BZ #18100]
27969 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27970 and integer overflow.
27971 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27972 (main): Add integer overflow tests.
27973 * manual/pattern.texi (Calling Wordexp): Document additional use
27974 for WRDE_SYNTAX.
27975
27976 2015-03-23 Alan Modra <amodra@gmail.com>
27977
27978 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27979 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27980 and false branch of conditional.
27981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27982 Likewise.
27983
27984 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27985
27986 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27987 libc-modules.h
27988 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27989 unused declaration of _hurd_intr_rpc_msg_in_trap.
27990 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27991 defined instead of whether it is non-zero.
27992 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27993 input constraint instead of both input and output constraint. Use ecx
27994 clobber instead of %ecx.
27995 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27996 mutex_unlock): Use a statement expression instead of an expression list.
27997 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27998 type to vm_size_t instead of vm_address_t.
27999 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28000 defined instead of whether it is non-zero.
28001 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28002 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28003 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28004 comparisons with mapaddr.
28005 * nscd/nscd-client.h: Include <time.h>.
28006 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28007 9th parameter to __vm_region instead of int.
28008 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28009 * scripts/check-local-headers.sh (exclude): Add device/,
28010 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28011 cthreads.h.
28012
28013 2015-03-19 Roland McGrath <roland@hack.frob.com>
28014
28015 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28016 to account for alignment padding.
28017 * sysdeps/arm/memmove.S: Likewise.
28018
28019 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28020
28021 * sysdeps/unix/sysv/linux/generic/README: New file.
28022
28023 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28024
28025 [BZ #18138]
28026 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28027 (futex_abstimed_wait)
28028 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28029 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28030 of lll_futex_timed_wait.
28031
28032 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28033
28034 [BZ #17542]
28035 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28036
28037 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28038
28039 [BZ #17090]
28040 [BZ #17620]
28041 [BZ #17621]
28042 [BZ #17628]
28043 * NEWS: Update.
28044 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28045 entries with Static TLS too. Skip entries past the end of the
28046 allocated DTV, from Alan Modra.
28047 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28048 Static TLS DTV entry set up from...
28049 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28050 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28051 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28052 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28053 for Static TLS.
28054 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28055 that the slot we find is associated with the given map before
28056 using its generation count.
28057 * nptl_db/db_info.c: Include ldsodefs.h.
28058 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28059 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28060 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28061 (link_map::l_tls_offset): New struct field.
28062 (dtv_t::counter): Likewise.
28063 (rtld_global): New struct.
28064 (_rtld_global): New rtld variable.
28065 (dl_tls_dtv_slotinfo_list): New rtld global field.
28066 (dtv_slotinfo_list): New struct.
28067 (dtv_slotinfo): Likewise.
28068 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28069 (td_lookup): Rename to...
28070 (td_mod_lookup): ... this. Use new mod parameter instead of
28071 LIBPTHREAD_SO.
28072 * nptl_db/td_thr_tlsbase.c: Include link.h.
28073 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28074 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28075 addresses even if the DTV is out of date or missing them.
28076 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28077 index zero-length arrays.
28078 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28079 (td_lookup): Make it a macro implemented in terms of...
28080 (td_mod_lookup): ... this declaration.
28081 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28082 (DB_MAIN_VARIABLE): Likewise.
28083
28084 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 [BZ #18134]
28087 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28088
28089 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28090
28091 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28092
28093 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28094
28095 [BZ #18128]
28096 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28097 (atomic_add, atomic_increment_and_test)
28098 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28099
28100 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28101
28102 * stdlib/setenv.c (__add_to_environ):
28103 Dump core quickly if setenv (..., NULL, ...) is called.
28104
28105 2015-03-13 Roland McGrath <roland@hack.frob.com>
28106
28107 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28108 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28109 all the necessary asm magic in one place.
28110 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28111 using those.
28112
28113 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28114
28115 [BZ #14906]
28116 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28117 traced file mtime. Use consistent log message.
28118 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28119 (register_traced_file): Call install_watches. Always set mtime.
28120 (invalidate_cache): Iterate over all trace files. Call install_watches.
28121 (inotify_check_files): Don't inline. Handle watching parent
28122 directories and configuration file movement in and out.
28123 (handle_inotify_events): New function.
28124 (main_loop_poll): Call handle_inotify_events.
28125 (main_loop_epoll): Likewise.
28126 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28127 (struct traced_file): Use array of inotify fds. Add parent directory,
28128 and basename.
28129 (struct database_dyn): Remove unused file_mtime.
28130 (init_traced_file): New inline function.
28131 (define_traced_file): New macro.
28132 * nss/nss_db/db-init.c: Use define_traced_file.
28133 (_nss_db_init): Use init_traced_file.
28134 * nss/nss_files/files-init.c: Use define_traced_file.
28135 (_nss_files_init): Use init_traced_file.
28136
28137 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28138
28139 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28140 [_LIBC]: Do not include <stdlib.h>.
28141 [!_LIBC] (abort): Remove declaration.
28142 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28143 _FP_STATIC_ASSERT instead of conditionally calling abort.
28144 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28145 (_FP_EXTEND_CNAN): Likewise.
28146 (FP_TRUNC): Likewise.
28147 (__FP_CLZ): Likewise.
28148 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28149
28150 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28151
28152 * manual/string.texi (XPG basename): Fix prototype.
28153
28154 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28155
28156 [BZ #18080]
28157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28158 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28159 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28160 (__setcontext): Likewise.
28161 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28162 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28163 Call rt_sigprocmask syscall one time to set new signal mask
28164 and retrieve the current signal mask instead of two calls.
28165 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28166 (__swapcontext): Likewise.
28167 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28168 * stdlib/tst-setcontext2.c: New file.
28169
28170 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28171
28172 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28173
28174 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28175
28176 [BZ #18093]
28177 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28178 the wrong size.
28179
28180 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28181
28182 [BZ #18043]
28183 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28184
28185 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28186
28187 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28188 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28189 Remove define.
28190 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28191 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28192 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28193 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28194 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28195 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28196 define.
28197 * nptl_db/td_symbol_list.c (td_lookup): Remove
28198 HAVE_ASM_GLOBAL_DOT_NAME code.
28199 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28200 HAVE_ASM_GLOBAL_DOT_NAME check.
28201 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28202 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28203 (DOT_LABEL): Remove define.
28204 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28205 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28206 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28207 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28208 (__TLS_GET_ADDR): Likewise.
28209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28210 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28211
28212 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28213
28214 [BZ #18111]
28215 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28216 (_FPU_SETCW): Initialize cw from fpsr before storing.
28217 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28218 (fesetexceptflag): Rewrite using fpu_control.h.
28219 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28220
28221 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28222
28223 [BZ #18110]
28224 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28225 asms.
28226 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28227
28228 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28229
28230 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28231 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28232 abort.
28233 (_FP_FMA): Likewise.
28234 (_FP_DIV): Likewise.
28235
28236 2015-03-10 Roland McGrath <roland@hack.frob.com>
28237
28238 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28239 with 0 in that case.
28240 * Makefile (summarize-tests): New canned sequence, factored out of
28241 commands for targets tests and xtests. Display summary lines that
28242 don't start with PASS: or XFAIL: rather than ones that do start with
28243 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28244 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28245 do start with ERROR: or FAIL:.
28246 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28247 (except for [$(build-shared) = yes]).
28248 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28249 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28250 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28251 * nptl/Makefile: Revert 2015-03-04 changes.
28252 [$(CXX) empty] (tests-unsupported): New variable.
28253 * debug/Makefile: Likewise.
28254
28255 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28256 gnulib file. Replace __attribute with __attribute__ throughout.
28257
28258 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28259
28260 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28261
28262 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28263
28264 [BZ #18104]
28265 * math/auto-libm-test-in: Add another test of pow.
28266 * math/auto-libm-test-out: Regenerated.
28267
28268 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28269
28270 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28271 $(config-cflags-nofma).
28272
28273 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28274
28275 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28276 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28277 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28278 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28279 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28280 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28281 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28282 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28283 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28284 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28285 Add comment on closing #endif.
28286
28287 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28288
28289 * posix/wordexp.c (CHAR_IN_SET): New macro.
28290 (parse_param): Use it.
28291
28292 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28293
28294 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28295
28296 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28297
28298 [BZ #18043]
28299 * posix/wordexp.c (parse_param): Fix buffer overflow.
28300 * posix/wordexp-test.c (test_case): Add test case.
28301
28302 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28303
28304 [BZ #18042]
28305 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28306 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28307
28308 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28309
28310 [BZ #18043]
28311 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28312 (do_bz18043): Delete.
28313 (at_page_end): New.
28314 (testit): Refactor to have words at the edge of unreadable page.
28315
28316 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28317
28318 [BZ #16734]
28319 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28320 Cleanup read-only streams as well.
28321 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28322
28323 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28324
28325 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28326 <bits/libc-lockP.h>
28327
28328 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28329
28330 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28331 on [__KERNEL__].
28332 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28333 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28334 * soft-fp/op-common.h (_FP_DECL): Likewise.
28335
28336 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28337
28338 * elf/ifuncdep2.c (global): Replace
28339 __attribute__((visibility("protected"))) with
28340 asm (".protected global").
28341 * elf/ifuncmod1.c (global): Likewise.
28342 * elf/ifuncmod5.c (global): Likewise.
28343
28344 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28345
28346 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28347 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28348
28349 2015-03-06 Roland McGrath <roland@hack.frob.com>
28350
28351 * manual/install.texi (Configuring and compiling):
28352 Document test-wrapper-env-only.
28353 * INSTALL: Regenerated.
28354
28355 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28356
28357 [BZ #18043]
28358 * posix/wordexp.c (parse_param): Fix buffer overflow.
28359 * posix/wordexp-test.c (do_bz18043): Add test case.
28360
28361 2015-03-06 Vincent Bernat <vincent@bernat.im>
28362
28363 * time/tst-strptime2.c (do_test): Ensure failing tests are
28364 reported correctly.
28365 * time/tst-strptime3.c (do_test): Likewise.
28366
28367 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28368
28369 Fix aio_error thread-safety.
28370 * sysdeps/pthread/aio_error.c: New file
28371 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28372 synchronization.
28373
28374 2015-03-06 Florian Weimer <fweimer@redhat.com>
28375
28376 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28377 (group_number, vfprintf): Use it.
28378 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28379 (JUMP, REF): Use it.
28380 (WORK_BUFFER_SIZE): New enum constant.
28381 (process_arg, vfprintf): Use it.
28382
28383 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28384
28385 * manual/errno.texi (Error Messages): Complete example function
28386 by adding missing #define.
28387 (program_invocation_name): Add statement indicating GNU
28388 extension and reference which header file declares the variable.
28389 (program_invocation_short_name): Likewise.
28390
28391 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28392
28393 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28394 compatibility note.
28395
28396 2015-03-05 Roland McGrath <roland@hack.frob.com>
28397
28398 * Makeconfig (test-wrapper-env-only): New variable.
28399 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28400 then use that with $(test-wrapper-env-only) rather than using
28401 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28402
28403 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 [BZ #18082]
28406 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28407 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28408 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28409 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28410 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28411 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28412 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28413 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28414 Likewise.
28415 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28416 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28417 Likewise.
28418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28419 Likewise.
28420 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28421 Likewise.
28422 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28423 Likewise.
28424 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28425 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28426 Likewise.
28427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28428 Likewise.
28429 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28430 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28431
28432 2015-03-04 Roland McGrath <roland@hack.frob.com>
28433
28434 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28435 (ETH_ALEN): New macro.
28436 (struct ether_addr): Use it for length of ether_addr_octet.
28437
28438 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28439 (setdb): Don't call __nss_configure_lookup for "rpc".
28440 (do_test): Don't call test_rpc.
28441 (output_rpcent, test_rpc): Functions moved ...
28442 * sunrpc/test-rpcent.c: ... to this new file.
28443 * sunrpc/Makefile (tests): Add it.
28444
28445 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28446 __xpg_sigpause.
28447 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28448 * nptl/tst-signal6.c: Likewise.
28449 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28450 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28451
28452 * configure.ac (libc_cv_cxx_link_ok): New check.
28453 Reset CXX to empty if it fails to link.
28454 * configure: Regenerated.
28455 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28456 bug-atexit3-lib only if $(CXX) is nonempty.
28457 * nptl/Makefile (tests): Likewise for tst-cancel24.
28458 (tests, tests-static): Likewise for tst-cancel24-static.
28459 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28460 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28461 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28462 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28463
28464 2015-03-04 Andreas Schwab <schwab@suse.de>
28465
28466 [BZ #17631]
28467 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28468 for non-GCC compilers.
28469 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28470 Likewise.
28471
28472 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28473
28474 [BZ #17776]
28475 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28476 integer before bitwise and assembly operations.
28477 (feclearexcept): Likewise.
28478 * math/test-fenvinline.c: New file.
28479 * math/Makefile: Add test-fenvinline test.
28480
28481 2015-03-03 Alan Modra <amodra@gmail.com>
28482
28483 [BZ #16512]
28484 * scripts/localplt.awk: Strip off symbol version.
28485 * NEWS: Mention bug fix.
28486
28487 2015-03-02 Roland McGrath <roland@hack.frob.com>
28488
28489 * sysdeps/pthread/timer_routines.c
28490 (timer_free_list, thread_free_list, thread_active_list): Make static.
28491
28492 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28493
28494 [BZ #17779]
28495 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28496 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28497 Undefine.
28498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28499 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28500 Likewise.
28501 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28502 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28503 Likewise.
28504
28505 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28506
28507 [BZ #18036]
28508 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28509 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28510
28511 2015-03-02 Andreas Schwab <schwab@suse.de>
28512
28513 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28514 variable name.
28515
28516 2015-03-02 Florian Weimer <fweimer@redhat.com>
28517
28518 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28519 Return error status.
28520
28521 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
28522
28523 [BZ #15969]
28524 * locale/findlocale.c (_nl_find_locale): Introduce const
28525 version of loc_name and drop unsafe type casts.
28526
28527 2015-02-27 Roland McGrath <roland@hack.frob.com>
28528
28529 * dlfcn/tststatic2.c (main): Converted to ...
28530 (do_test): ... this.
28531 (TEST_FUNCTION): New macro.
28532 Include test-skeleton.c.
28533
28534 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
28535
28536 [BZ #17711]
28537 * elf/Makefile (tests): Add vismain only if PIE is enabled.
28538 (tests-pie): Add vismain.
28539 (CFLAGS-vismain.c): New.
28540 * elf/vismain.c: Add comments for PIE requirement.
28541
28542 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28543
28544 [BZ #18046]
28545 [BZ #18047]
28546 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28547 0x1p-56L as threshold for just returning the argument.
28548 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28549 0x1p-32L as threshold for just returning the argument.
28550 * math/auto-libm-test-in: Add more tests of atanh.
28551 * math/auto-libm-test-out: Regenerated.
28552 * sysdeps/i386/fpu/libm-test-ulps: Update.
28553 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28554
28555 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28556
28557 * string/bcopy.c (bcopy): Call memmove for performance.
28558
28559 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28560
28561 * string/bzero.c (__bzero): Call memset for performance.
28562
28563 2015-02-27 John David Anglin <dave.anglin@bell.net>
28564
28565 [BZ #18068]
28566 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28567 to 00100000.
28568
28569 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28570
28571 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28572
28573 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28574
28575 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28576 (__kernel_standard): Use CSTR macro when setting exc.name.
28577 * sysdeps/ieee754/Makefile [$(subdir) = math]
28578 (CFLAGS-k_standard.c): Remove variable.
28579
28580 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28581 setting p and q from "else if" to "else".
28582 (qzero): Likewise.
28583 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28584 (qone): Likewise.
28585 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28586 (qzerof): Likewise.
28587 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28588 (qonef): Likewise.
28589 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28590 (qzero): Likewise.
28591 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28592 (qone): Likewise.
28593
28594 [BZ #18038]
28595 [BZ #18039]
28596 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28597 return pi/2 for arguments below 0x1p-113L.
28598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28599 return pi/2 for arguments below 0x1p-106L.
28600 * math/auto-libm-test-in: Add more tests of acos.
28601 * math/auto-libm-test-out: Regenerated.
28602
28603 [BZ #16351]
28604 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28605 (MO): New macro.
28606 (__ieee754_asin): Force underflow exception for results with small
28607 absolute value.
28608 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28609 (MO): New macro.
28610 (__ieee754_asinf): Force underflow exception for results with
28611 small absolute value.
28612 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28613 (__ieee754_asin): Force underflow exception for results with small
28614 absolute value.
28615 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28616 (__ieee754_asinf): Force underflow exception for results with
28617 small absolute value.
28618 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28619 (__ieee754_asinl): Force underflow exception for results with
28620 small absolute value.
28621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28622 (__ieee754_asinl): Force underflow exception for results with
28623 small absolute value.
28624 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28625 (__ieee754_asinl): Force underflow exception for results with
28626 small absolute value.
28627 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28628 Include <math.h>.
28629 * math/auto-libm-test-in: Do not mark underflow exceptions as
28630 possibly missing for bug 16351.
28631 * math/auto-libm-test-out: Regenerated.
28632
28633 [BZ #18030]
28634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28635 of power of 2 down when low part has opposite sign.
28636 * math/libm-test.inc (logb_test_data): Add more tests.
28637
28638 2015-02-26 Andreas Schwab <schwab@suse.de>
28639
28640 [BZ #18032]
28641 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28642 over collating symbol inside a bracket expression. Minor cleanup.
28643 * posix/tst-fnmatch3.c (do_test): Add test case.
28644
28645 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28646
28647 [BZ #18029]
28648 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28649 Adjust exponent of power of 2 down when low part has opposite
28650 sign.
28651 * math/libm-test.inc (ilogb_test_data): Add more tests.
28652
28653 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28654
28655 [BZ #15969]
28656 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28657 the previous change.
28658
28659 [BZ #15969]
28660 * locale/findlocale.c (_nl_find_locale): Retry archive search
28661 after alias expansion.
28662
28663 2015-02-25 Roland McGrath <roland@hack.frob.com>
28664
28665 * iconv/tst-iconv3.c (main): Converted to ...
28666 (do_test): ... this.
28667 (TEST_FUNCTION): New macro.
28668 Include test-skeleton.c.
28669
28670 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28671 (convert): Make function static.
28672 (test_unalign): Likewise. Add const to argument pointee types.
28673 (main): Replace with static function do_test.
28674 Print "Succeeded." only if RET is zero.
28675 (TEST_FUNCTION): New macro.
28676 Include test-skeleton.c.
28677
28678 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28679 returns a null pointer.
28680
28681 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28682
28683 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28684 to __memcpy_ppc only for static builds.
28685
28686 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28687
28688 [BZ #18020]
28689 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28690 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28691 * math/auto-libm-test-in: Add more tests of asinh.
28692 * math/auto-libm-test-out: Regenerated.
28693 * sysdeps/i386/fpu/libm-test-ulps: Update.
28694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28695
28696 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28697
28698 [BZ #15850]
28699 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28700 and ip6_mtuinfo definitions here.
28701 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28702 in this define too. Update comment.
28703
28704 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28705
28706 * elf/sprof.c (load_shobj): Tweak error message to match others.
28707
28708 2015-02-24 Kevin Easton <kevin@guarana.org>
28709
28710 [BZ #16145] (partial fix)
28711 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28712 to reduce lock contention.
28713
28714 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28715
28716 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28717 (struct timex): Update time comment.
28718 (ADJ_SETOFFSET): Define.
28719
28720 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28721
28722 [BZ #18019]
28723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28724 2**56 not 2**28 as threshold for log (2x) formula.
28725 * math/auto-libm-test-in: Add more tests of acosh.
28726 * math/auto-libm-test-out: Regenerated.
28727 * sysdeps/i386/fpu/libm-test-ulps: Update.
28728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28729
28730 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28731
28732 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28733 parenthesis around the buf assignment.
28734 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28735
28736 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28737
28738 [BZ #16783]
28739 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28740 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28741 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28742 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28743 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28744 * math/libm-test.inc (scalb_test_data): Add more tests.
28745
28746 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28747
28748 [BZ #17916]
28749 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28750 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28751
28752 2015-02-24 Eric Rannaud <e@nanocritical.com>
28753
28754 [BZ #17523]
28755 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28756 * io/bits/fcntl2.h (open): Use it.
28757 (openat): Likewise.
28758 * io/open.c (__libc_open): Likewise.
28759 * io/open64.c (__libc_open64): Likewise.
28760 * io/open64_2.c (__open64_2): Likewise.
28761 * io/open_2.c (__open_2): Likewise.
28762 * io/openat.c (__openat): Likewise.
28763 * io/openat64.c (__openat64): Likewise.
28764 * io/openat64_2.c (__openat64_2): Likewise.
28765 * io/openat_2.c (__openat_2): Likewise.
28766 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28767 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28768 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28769 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28770 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28771 (__open_nocancel): Likewise.
28772 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28773 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28774 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28775
28776 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28777
28778 [BZ #14841]
28779 * resolv/gethnamaddr.c (getanswer): Skip logging if
28780 RES_USE_DNSSEC is set.
28781 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28782
28783 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28784
28785 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28786
28787 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28788
28789 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28790 201304L, for Unicode 7.
28791
28792 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28793
28794 [BZ #17836]
28795 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28796 shared library. Add gmon-start.os otherwise.
28797 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28798 $(objpfx)gmon-start.os if builing shared library.
28799 ($(objpfx)g$(static-start-installed-name)): Likewise.
28800
28801 2015-02-23 Andreas Schwab <schwab@suse.de>
28802
28803 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28804
28805 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28806
28807 [BZ #17269]
28808 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28809 (enlarge_userbuf): Likewise.
28810
28811 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28812
28813 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28814 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28815 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28816 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28817
28818 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28819
28820 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28821 expression inside statement expression.
28822
28823 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28824
28825 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28826 <sysdeps/nptl/lowlevellock.h> and remove macros and
28827 functions that are now defined there.
28828 (SYS_futex): Remove.
28829 (lll_compare_and_swap): Remove.
28830 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28831
28832 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28833
28834 [BZ #17999]
28835 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28836 instead of scandirat.
28837 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28838 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28839 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28840 __scandirat.
28841 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28842 (__scandirat): Declare. Use libc_hidden_proto.
28843 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28844 Remove variable.
28845 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28846
28847 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28848
28849 [BZ #15319]
28850 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28851 (MO): New macro.
28852 (__ieee754_atan2): For results with small absolute value, force
28853 underflow exception and remove excess range and precision from
28854 return value.
28855 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28856 (MO): New macro.
28857 (__ieee754_atan2f): For results with small absolute value, force
28858 underflow exception and remove excess range and precision from
28859 return value.
28860 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28861 (MO): New macro.
28862 (__atan): For results with small absolute value, force underflow
28863 exception and remove excess range and precision from return value.
28864 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28865 (MO): New macro.
28866 (__atanf): For results with small absolute value, force underflow
28867 exception and remove excess range and precision from return value.
28868 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28869 <math.h>.
28870 (__ieee754_atan2): Force underflow exception for results with
28871 small absolute value.
28872 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28873 <math_private.h>.
28874 (atan): Force underflow exception for results with small absolute
28875 value.
28876 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28877 (__atanf): Force underflow exception for results with small
28878 absolute value.
28879 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28880 <math.h>.
28881 (__atanl): Force underflow exception for results with small
28882 absolute value.
28883 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28884 (__atanl): Force underflow exception for results with small
28885 absolute value.
28886 * sysdeps/x86/fpu/bits/mathinline.h
28887 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28888 (__ieee754_atan2): Only define inline for long double.
28889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28890 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28891 * math/auto-libm-test-in: Do not mark underflow exceptions as
28892 possibly missing for bug 15319. Add more tests of atan2.
28893 * math/auto-libm-test-out: Regenerated.
28894 * math/libm-test.inc (casin_test_data): Do not mark underflow
28895 exceptions as possibly missing for bug 15319.
28896 (casinh_test_data): Likewise.
28897 * sysdeps/i386/fpu/libm-test-ulps: Update.
28898
28899 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28900
28901 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28902 * sysdeps/mips/bits/endian.h: Fix comments.
28903
28904 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28905
28906 [BZ #17996]
28907 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28908 (hdestroy_r): Likewise.
28909 (hsearch_r): Likewise.
28910 (__hcreate_r): Declare and use libc_hidden_proto.
28911 (__hdestroy_r): Likewise.
28912 (__hsearch_r): Likewise.
28913 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28914 (hcreate): Call __hcreate_r instead of hcreate_r.
28915 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28916 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28917 as weak alias of __hcreate_r.
28918 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28919 __hdestroy_r.
28920 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28921 __hsearch_r.
28922 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28923 Remove variable.
28924 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28925 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28926 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28927 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28928
28929 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28930
28931 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28932 arena_lock into a single arena_get.
28933
28934 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28935
28936 * dl-reloc.c: Inlucde libc-internal.h.
28937 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28938 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28939 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28940 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28941 (grow_heap): Likewise.
28942 * malloc/malloc.c: Include libc-internal.h.
28943 (do_check_malloc): Call powerof2.
28944 (sysmalloc): Use pagesize. Call ALIGN_UP.
28945 (systrim): Use pagesize.
28946 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28947 (__libc_valloc): Use pagesize.
28948 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28949
28950 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28951
28952 [BZ #17991]
28953 * include/sys/resource.h (__getrlimit64): Declare. Use
28954 libc_hidden_proto.
28955 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28956 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28957 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28958 getrlimit64.
28959 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28960 __getrlimit64.
28961 [!getrlimit64] (getrlimit64): Define as weak alias of
28962 __getrlimit64. Use libc_hidden_weak.
28963 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28964 using __getrlimit64 not __new_getrlimit64.
28965 (__GI_getrlimit64): Likewise.
28966 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28967 Likewise.
28968 (__GI_getrlimit64): Likewise.
28969 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28971 (getrlimit): Add __getrlimit64 alias.
28972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28973 Likewise.
28974 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28975 Remove variable.
28976 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28977 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28978
28979 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28980
28981 * libio/fileops.c: Add missing sys/mman.h
28982 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28983
28984 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28985
28986 * manual/math.texi (Errors in Math Functions): Clarify goals
28987 regarding inexact and underflow exceptions.
28988
28989 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28990
28991 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28992 * sysdeps/mips/memset.S: Ditto.
28993
28994 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28995
28996 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28997
28998 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28999
29000 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29001 (__v1longjmp): Remove versioned symbol.
29002 (__v1siglongjmp): Remove alias and versioned symbol.
29003 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29004 (__v2siglongjmp): Likewise.
29005
29006 2015-02-16 Torvald Riegel <triegel@redhat.com>
29007
29008 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29009
29010 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29011
29012 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29013
29014 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29015
29016 [BZ #17987]
29017 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29018 zero result does not depend on the sign resulting from
29019 subtraction.
29020 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29021 Likewise.
29022 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29023 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29025 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29026 * math/libm-test.inc (remquo_test_data): Add more tests.
29027
29028 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29029
29030 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29031 Problem reported by J William Piggott.
29032
29033 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29034
29035 [BZ #17978]
29036 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29037 products 4 * y and 2 * y where those would overflow.
29038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29039 Likewise.
29040 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29041 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29043 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29044 * math/libm-test.inc (remquo_test_data): Add more tests.
29045
29046 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29047
29048 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29049 [defined _COMPILING_NEWLIB].
29050 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29051 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29052
29053 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29054 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29055
29056 2015-02-16 Torvald Riegel <triegel@redhat.com>
29057
29058 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29059 acquired.
29060
29061 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29062
29063 [BZ #17792]
29064 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29065 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29066 HOST_STACK_END_ADDR): Likewise.
29067
29068 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29069
29070 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29071 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29072 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29073
29074 2015-02-13 Roland McGrath <roland@hack.frob.com>
29075
29076 * sysdeps/generic/c++-types.data: New file.
29077 * sysdeps/generic/ld.abilist: New file.
29078 * sysdeps/generic/libBrokenLocale.abilist: New file.
29079 * sysdeps/generic/libanl.abilist: New file.
29080 * sysdeps/generic/libc.abilist: New file.
29081 * sysdeps/generic/libcrypt.abilist: New file.
29082 * sysdeps/generic/libdl.abilist: New file.
29083 * sysdeps/generic/libm.abilist: New file.
29084 * sysdeps/generic/libpthread.abilist: New file.
29085 * sysdeps/generic/libresolv.abilist: New file.
29086 * sysdeps/generic/librt.abilist: New file.
29087
29088 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29089
29090 [BZ #17569]
29091 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29092 Compute absolute value of x as modified by fmod, not original
29093 value of x.
29094 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29095 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29096 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29097 RUN_TEST_ffI_f1_mod8.
29098 (remquo_test_data): Add more tests.
29099
29100 2015-02-13 Roland McGrath <roland@hack.frob.com>
29101
29102 * sysdeps/init_array/pt-crti.S: New file.
29103
29104 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29105
29106 [BZ #17967]
29107 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29108 __builtin_fmaf instead of relying on contraction of a * b + c.
29109
29110 2015-02-12 J William Piggott <elseifthen@gmx.com>
29111
29112 [BZ #17969]
29113 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29114 node.
29115
29116 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29117
29118 [BZ #17964]
29119 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29120 __builtin_fma instead of relying on contraction of a * b + c.
29121
29122 2015-02-12 Roland McGrath <roland@hack.frob.com>
29123
29124 * Makeconfig (ASFLAGS): Add -Werror=undef.
29125 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29126 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29127 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29128
29129 * Makeconfig (after-link): New variable.
29130 (+link-pie, +link-pie-tests): Use it.
29131 (+link-static, +link-static-tests): Likewise.
29132 (+link, +link-tests): Likewise.
29133 * Makerules (build-module, build-module-asneeded): Likewise.
29134 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29135 Likewise.
29136 * elf/Makefile ($(objpfx)ld.so): Likewise.
29137
29138 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29139
29140 [BZ #17965]
29141 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29142 both struct timeval and struct timespec.
29143
29144 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29145
29146 [BZ #16560]
29147 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29148 and redefine.
29149 (__ieee754_exp2l): Do not multiply small fractional parts by
29150 M_LN2l.
29151 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29152 small argument.
29153 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29154 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29155 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29156 * math/auto-libm-test-in: Add more tests of exp2.
29157 * math/auto-libm-test-out: Regenerated.
29158
29159 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29160
29161 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29162 unaligned path.
29163
29164 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29165
29166 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29167 little endian.
29168
29169 2015-02-12 Andreas Schwab <schwab@suse.de>
29170
29171 [BZ #15790]
29172 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29173 Filter out elision flags from value returned in kind.
29174 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29175 * nptl/tst-pthread-mutexattr.c: New file.
29176
29177 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29178
29179 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29180 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29181 into gnu-gnu, and update comment to refer to abi-tags.
29182
29183 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29184
29185 [BZ #15467]
29186 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29187 (__sincos): Set errno to EDOM for infinite argument.
29188 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29189 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29190 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29191 (__sincosl): Set errno to EDOM for infinite argument.
29192 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29193 (__sincosl): Set errno to EDOM for infinite argument.
29194 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29195 (__sincosl): Set errno to EDOM for infinite argument.
29196 * math/libm-test.inc (sincos_test_data): Test errno setting.
29197
29198 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29199
29200 * string/strxfrm_l.c: Remove #define STRCMP.
29201 * string/strcoll_l.c: Remove #define STRLEN.
29202 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29203 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29204
29205 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29206
29207 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29208 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29209 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29210 * sysdeps/mips/mips64/Makefile: ... here.
29211 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29212 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29213 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29214 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29215 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29216 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29217 * sysdeps/mips/mips64/n64/Implies: Likewise.
29218
29219 2015-02-10 Roland McGrath <roland@hack.frob.com>
29220
29221 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29222 <sys/time.h>, <string.h>, and <errno.h>.
29223 (dest_offset, dest_address, value, zero): Remove unused variables.
29224 (ldouble): Remove typedef.
29225 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29226 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29227 1). Fix code style.
29228 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29229 (check): Function removed.
29230 (CHECK): New macro.
29231 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29232 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29233 Don't call set_sigaction_FP and remove_sigaction_FP here.
29234 (ldouble_test): Just use 'long double' as macro argument, no need for
29235 the 'ldouble' typedef.
29236 (do_test): Set up SIGFPE handler at start, using plain signal rather
29237 than sigaction. Fix code style.
29238
29239 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29240
29241 [BZ #17949]
29242 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29243 jump label.
29244
29245 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29246
29247 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29248 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29249
29250 * sysdeps/powerpc/configure.ac: Remove file.
29251 * sysdeps/powerpc/configure: Likewise.
29252
29253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29254 [sysdep_routines]: Remove wordcopy-power6 object.
29255 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29256 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29258 (__memmove_ppc32): Likewise.
29259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29260 file.
29261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29262 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29263 Remove preprocessor.
29264
29265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29266 [sysdep_routines]: Remove wide chars objects.
29267 [wcsmbs]: New rule for wide char objects.
29268
29269 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29270 Remove wordcopy-power6 obejct.
29271 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29272 Use local call for wordcopy and memcpy symbols.
29273 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29275 implementation for loader.
29276 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29277
29278 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29279 Remove wordcopy-power7 object.
29280 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29281 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29282 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29283 (_wordcopy_fwd_dest_aligned): Likewise.
29284 (_wordcopy_bwd_aligned): Likewise.
29285 (_wordcopy_bwd_dest_aligned): Likewise.
29286
29287 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29288 Rewrite to call __memmove_ppc instead of include default
29289 implementation.
29290
29291 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29292 Remove wide chars objects.
29293 [wcsmbs]: New rule for wide char objects.
29294
29295 2015-02-09 Andreas Schwab <schwab@suse.de>
29296
29297 [BZ #17912]
29298 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29299 in terms of __O_DIRECTORY.
29300
29301 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29302
29303 * time/getdate.c: Include <stdbool.h>.
29304 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29305 call PTR_MANGLE.
29306 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29307 PTR_DEMANGLE.
29308
29309 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29310
29311 Add ersatz _Static_assert on older C hosts
29312 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29313 pre-C11 C platform that is not known to support _Static_assert.
29314
29315 2015-02-07 Richard Braun <rbraun@sceen.net>
29316
29317 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29318 sigstate.
29319 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29320
29321 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29322
29323 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29324 priority against unexistent AIO_PRIO_DELTA_MAX.
29325 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29326 instead of int.
29327 * misc/fchflags.c (fchflags): Likewise.
29328 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29329 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29330 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29331 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29332 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29333 Declare macros.
29334 [__USE_MISC] (chflags, fchflags): Declare functions.
29335 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29336 EINVAL when nfds is greater than FD_SETSIZE.
29337 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29338 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29339 45.
29340 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29341 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29342 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29343 MACH_RCV_TIMED_OUT.
29344 * hurd/hurd/signal.h (_hurd_self_sigstate,
29345 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29346 Explicit casts from void *.
29347 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29348 * abi-tags: Rename gnu-gnu os into gnu.
29349
29350 [BZ #4719]
29351 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29352 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29353 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29354 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29355 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29356 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29357
29358 [BZ #17944]
29359 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29360 duplicates ADDR->sun_path with sockaddr LEN limitation.
29361 * sysdeps/mach/hurd/connect.c: Include <string.h>
29362 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29363 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29364 * sysdeps/mach/hurd/sendto.c: Likewise.
29365 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29366 implementing it by hand.
29367
29368 2015-02-06 Roland McGrath <roland@hack.frob.com>
29369
29370 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29371 Use sfi_breg on ldr.
29372 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29373 Likewise.
29374
29375 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29376 it's defined.
29377 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29378 Test SIGSETXID only if it's defined.
29379
29380 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29381
29382 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29383 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29384
29385 * nptl/tst-align2.c: Moved ...
29386 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29387 * nptl/Makefile (tests): Remove tst-align2.
29388 * sysdeps/unix/sysv/linux/Makefile
29389 [$(subdir) = nptl] (tests): Add tst-align-clone.
29390 * nptl/tst-getpid1.c: Moved ...
29391 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29392 * nptl/tst-getpid2.c: Moved ...
29393 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29394 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29395 * sysdeps/unix/sysv/linux/Makefile
29396 [$(subdir) = nptl] (tests): ... here.
29397 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29398 * sysdeps/unix/sysv/linux/Makefile
29399 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29400
29401 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29402 Drop trailing \n from perror argument. Use return rather than exit.
29403
29404 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29405 on [SA_SIGINFO].
29406 * nptl/tst-cancel21.c (do_test): Likewise.
29407 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29408 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29409 [!SA_SIGINFO]: Make it a stub test.
29410
29411 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29412 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29413
29414 * posix/tst-getlogin.c: Move to ...
29415 * login/tst-getlogin.c: ... here.
29416 * posix/Makefile (tests): Move tst-getlogin to ...
29417 * login/Makefile (tests): ... here.
29418
29419 * libio/tst-atime.c (do_test): Move local variables SV and E
29420 inside [ST_NOATIME] conditional.
29421
29422 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29423
29424 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29425
29426 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29427 (wait_code): New function replaces macro.
29428 Call nanosleep rather than syscall.
29429
29430 * nptl/pt-system.c: Rewritten. Put everything under
29431 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29432 Use IFUNC to redirect when possible.
29433
29434 * nptl/pt-longjmp.c: Rewritten. Put everything under
29435 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29436 Use IFUNC to redirect when possible.
29437
29438 * nptl/pt-fork.c: Rewritten. Put everything under
29439 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29440 Use IFUNC to redirect when possible.
29441 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29442
29443 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29444 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29445 unconditionally nowadays. This included the only reference to
29446 __vdso_clock_gettime that appears outside libc proper.
29447 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29448 Remove version set (containing only __vdso_clock_gettime).
29449 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29450 Add attribute_hidden.
29451 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29452 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29453 libc_hidden_data_def.
29454 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29456
29457 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29458 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29459 setrpcent, and getrpcport to ...
29460 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29461 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29462 getrpcbynumber_r, and getrpcent_r to ...
29463 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29464 * inet/getrpcbyname.c: Moved ...
29465 * sunrpc/getrpcbyname.c: ... here.
29466 * inet/getrpcbyname_r.c: Moved ...
29467 * sunrpc/getrpcbyname_r.c: ... here.
29468 * inet/getrpcbynumber.c: Moved ...
29469 * sunrpc/getrpcbynumber.c: ... here.
29470 * inet/getrpcbynumber_r.c: Moved ...
29471 * sunrpc/getrpcbynumber_r.c: ... here.
29472 * inet/getrpcent.c: Moved ...
29473 * sunrpc/getrpcent.c: ... here.
29474 * inet/getrpcent_r.c: Moved ...
29475 * sunrpc/getrpcent_r.c: ... here.
29476 * inet/Makefile (routines): Move those to ...
29477 * sunrpc/Makefile (routines): ... here.
29478 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29479 the $(subdirs) list.
29480 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29481 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29482 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29483 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29484
29485 * elf/Makefile (routines): Include $(all-dl-routines), not just
29486 $(dl-routines).
29487 (rtld-routines): Likewise. Use = rather than :=.
29488 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29489 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29490 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29491 * sysdeps/arm/Makefile: Likewise.
29492 * sysdeps/i386/Makefile: Likewise.
29493 * sysdeps/x86_64/Makefile: Likewise.
29494 * sysdeps/hppa/Makefile [$(subdir) = elf]
29495 (sysdep_routines, sysdep-rtld-routines): Don't add
29496 $(sysdep-dl-routines) to these.
29497 * sysdeps/ia64/Makefile: Likewise.
29498 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29499 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29500 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29501 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29502 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29503 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29504 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29505 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29506 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29507 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29508 these; sysdep-dl-routines alone is enough.
29509
29510 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29511
29512 [BZ #17932]
29513 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29514 where multiplication results in zero and third argument is finite
29515 and nonzero.
29516 * math/auto-libm-test-in: Add more tests of fma.
29517 * math/auto-libm-test-out: Regenerated.
29518
29519 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29520 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29521 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29522 (_FP_CMP_EQ): Likewise.
29523 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29524
29525 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29526 extra argument CHECK_NAN. Redefine as wrapper around
29527 _FP_EXTEND_CNAN.
29528
29529 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
29530
29531 * version.h (RELEASE): Set to "stable".
29532 (VERSION): Set to "2.21"
29533 * include/features.h (__GLIBC_MINOR__): Set to 21.
29534
29535 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29536
29537 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29538 Paul Eggert <eggert@cs.ucla.edu>
29539
29540 [BZ #16618]
29541 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29542 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29543 size in bytes. Store needed elements in wpmax. Use needed size
29544 in bytes for extend_alloca.
29545
29546 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
29547
29548 * manual/install.texi: Latest tested versions are GCC 4.9.2,
29549 binutls 2.25, and texinfo 5.2.
29550 * INSTALL: Regenerate.
29551 * sysdeps/nios2/configure: Regenerate.
29552 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29553 * manual/contrib.texi: Update.
29554 * po/be.po: Update.
29555 * po/bg.po: Update.
29556 * po/ca.po: Update.
29557 * po/cs.po: Update.
29558 * po/da.po: Update.
29559 * po/de.po: Update.
29560 * po/el.po: Update.
29561 * po/eo.po: Update.
29562 * po/es.po: Update.
29563 * po/fi.po: Update.
29564 * po/fr.po: Update.
29565 * po/gl.po: Update.
29566 * po/hr.po: Update.
29567 * po/hu.po: Update.
29568 * po/ia.po: Update.
29569 * po/id.po: Update.
29570 * po/it.po: Update.
29571 * po/ja.po: Update.
29572 * po/ko.po: Update.
29573 * po/lt.po: Update.
29574 * po/nb.po: Update.
29575 * po/nl.po: Update.
29576 * po/pl.po: Update.
29577 * po/pt_BR.po: Update.
29578 * po/ru.po: Update.
29579 * po/rw.po: Update.
29580 * po/sk.po: Update.
29581 * po/sl.po: Update.
29582 * po/sv.po: Update.
29583 * po/tr.po: Update.
29584 * po/uk.po: Update.
29585 * po/vi.po: Update.
29586 * po/zh_CN.po: Update.
29587 * po/zh_TW.po: Update.
29588
29589 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29590 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29591 * sysdeps/hppa/dl-irel.h: Remove #warning.
29592 * sysdeps/hppa/entry.h: Provide prototype for
29593 __canonicalize_funcptr_for_compare and cast argument.
29594 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29595 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29596 * sysdeps/hppa/sotruss-lib.c: New file.
29597 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29598 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29599 (atomic_compare_and_exchange_bool_acq): Likewise.
29600 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29601 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29602
29603 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29604 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29605 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29606
29607 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29608
29609 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29610 called function in non-PIC case.
29611
29612 2015-01-31 David S. Miller <davem@davemloft.net>
29613
29614 * sysdeps/sparc/sparc32/bits/atomic.h
29615 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29616 unlock not after it.
29617 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29618 volatile register usage warnings from the compiler.
29619
29620 * sysdeps/sparc/nptl/sem_init.c: Delete.
29621 * sysdeps/sparc/nptl/sem_post.c: Delete.
29622 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29623 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29624 * sysdeps/sparc/sparc32/sem_init.c: New file.
29625 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29626 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29627 padding explicitly initialized.
29628 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29629 padding for in-semaphore spinlock.
29630 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29631 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29632 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29633 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29634 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29635 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29636 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29637 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29638 version.
29639 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29640 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29641
29642 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29643
29644 [BZ #17801]
29645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29646 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29647 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29648 New.
29649 (index_AVX_Fast_Unaligned_Load): Likewise.
29650 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29651 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29652 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29653 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29654 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29655 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29656 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29657 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29658 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29659
29660 2015-01-29 Andreas Schwab <schwab@suse.de>
29661
29662 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29663
29664 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29665
29666 [BZ #17892]
29667 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29668
29669 2015-01-28 Martin Sebor <msebor@redhat.com>
29670
29671 * math/README.libm-test: Clarify. Add "How to read the test output."
29672
29673 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29674
29675 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29676 Define to 0.
29677
29678 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29679
29680 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29681 (__HAVE_64B_ATOMICS): Define to 0.
29682
29683 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29684
29685 [BZ #17885]
29686 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29687 value to set as new flag.
29688
29689 [BZ #16576]
29690 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29691 and use _ARCH_PPCSQ instead.
29692 (__ieee754_sqrt): Likewise.
29693 (__ieee754_sqrtf): Likewise.
29694 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29695 _ARCH_PPCSQ is defined.
29696 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29697 fsqrt instruction.
29698 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29699 _ARCH_PPCSQ is defined.
29700 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29701 fsqrts instruction.
29702 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29703
29704 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29705
29706 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29707 bug (GCC BZ #64739).
29708
29709 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29710
29711 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29712 Mark _retval as used.
29713 (lll_futex_wake_unlock): Likewise.
29714 (lll_futex_timed_wait_requeue_pi): Likewise.
29715
29716 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29717 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29718 register variables.
29719
29720 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29721 libm_hidden_def.
29722
29723 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29724 (__bswap_64): Mark as __always_inline.
29725
29726 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29727
29728 [BZ #15378]
29729 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29730 when none of the search directories exist.
29731
29732 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29733
29734 [BZ #17869]
29735 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29736 power8 in .machine directive.
29737
29738 [BZ #17868]
29739 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29740 set dependency from opd value.
29741
29742 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29745 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29746 architecture.
29747
29748 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 [BZ #17870]
29751 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29752 with uint64_t.
29753 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29754 (uint64_t) 1.
29755 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29756 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29757 Replace 1UL with (uint64_t) 1.
29758 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29759 int with uint64_t.
29760
29761 2015-01-23 Roland McGrath <roland@hack.frob.com>
29762
29763 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29764 (if_freenameindex): Likewise.
29765
29766 * resource/getrlimit64.c: Add missing libc_hidden_def.
29767
29768 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29769
29770 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29771 __label__.
29772 (_FP_FMA): Likewise.
29773 (_FP_TO_INT_ROUND): Likewise.
29774 (_FP_FROM_INT): Likewise.
29775
29776 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29777
29778 [BZ #16418]
29779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29780 Make code racy and cancel safe.
29781
29782 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29783
29784 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29785 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29786 attribution.
29787
29788 * pwd/tst-getpw.c: Rewrite.
29789
29790 [BZ #17702]
29791 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29792 (modules-names): Add moddummy1 and moddummy2.
29793 ($(objpfx)tst-rec-dlopen): Define.
29794 * dlfcn/moddummy1.c: New file.
29795 * dlfcn/moddummy2.c: New file.
29796 * dlfcn/tst-rec-dlopen.c: New file.
29797 * elf/dl-cache.c (_dl_load_cache_lookup):
29798 Return char*. Copy result with alloca/strcpy/strdup.
29799 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29800 returns char*. Free cached. If not saving realname
29801 free cached.
29802 * elf/dl-open.c (dl_open_worker): Do not assert that
29803 _r_debug->r_state is RT_CONSISTENT.
29804 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29805 returns char*.
29806
29807 2015-01-21 Torvald Riegel <triegel@redhat.com>
29808 Carlos O'Donell <carlos@redhat.com>
29809
29810 [BZ #12674]
29811 * nptl/sem_waitcommon.c: New file.
29812 * nptl/sem_wait.c: Include sem_waitcommon.c.
29813 (__sem_wait_cleanup, do_futex_wait): Remove.
29814 (__new_sem_wait): Adapt.
29815 (__new_sem_trywait): New function.
29816 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29817 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29818 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29819 (sem_timedwait): Adapt.
29820 * nptl/sem_post.c (__new_sem_post): Adapt.
29821 (futex_wake): New function.
29822 (__old_sem_post): Add release MO fence.
29823 * nptl/sem_open.c (sem_open): Adapt.
29824 * nptl/sem_init.c (__new_sem_init): Adapt.
29825 (futex_private_if_supported): New function.
29826 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29827 (__old_sem_getvalue): Add using previous code.
29828 * sysdeps/nptl/internaltypes.h: Adapt.
29829 * nptl/tst-sem13.c (do_test): Adapt.
29830 * nptl/tst-sem11.c (main): Adapt.
29831 * nptl/sem_trywait.c: Remove.
29832 * nptl/DESIGN-sem.txt: Remove.
29833 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29834 (gen-as-const-headers): Remove structsem.sym.
29835 * nptl/structsem.sym: Remove.
29836 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29837 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29838 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29839 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29840 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29841 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29842 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29843 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29844 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29845 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29846 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29847 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29848 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29849 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29850 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29851 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29852 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29853 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29854 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29855 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29856 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29857 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29858
29859 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29860
29861 * INSTALL: Regenerated.
29862
29863 * po/libc.pot: Regenerated.
29864
29865 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29866 Sandra Loosemore <sandra@codesourcery.com>
29867 Andrew Jenner <andrew@codesourcery.com>
29868 Joseph Myers <joseph@codesourcery.com>
29869 Nathan Sidwell <nathan@codesourcery.com>
29870
29871 * NEWS: Mention new Nios II port.
29872 * sysdeps/nios2/Implies: New file.
29873 * sysdeps/nios2/Makefile: New file.
29874 * sysdeps/nios2/Subdirs: New file.
29875 * sysdeps/nios2/Versions: New file.
29876 * sysdeps/nios2/__longjmp.S: New file.
29877 * sysdeps/nios2/abort-instr.h: New file.
29878 * sysdeps/nios2/backtrace.c: New file.
29879 * sysdeps/nios2/bits/endian.h: New file.
29880 * sysdeps/nios2/bits/fenv.h: New file.
29881 * sysdeps/nios2/bits/link.h: New file.
29882 * sysdeps/nios2/bits/setjmp.h: New file.
29883 * sysdeps/nios2/bsd-_setjmp.S: New file.
29884 * sysdeps/nios2/bsd-setjmp.S: New file.
29885 * sysdeps/nios2/configure: New generated file.
29886 * sysdeps/nios2/configure.ac: New file.
29887 * sysdeps/nios2/crti.S: New file.
29888 * sysdeps/nios2/crtn.S: New file.
29889 * sysdeps/nios2/dl-init.c: New file.
29890 * sysdeps/nios2/dl-machine.h: New file.
29891 * sysdeps/nios2/dl-sysdep.h: New file.
29892 * sysdeps/nios2/dl-tls.h: New file.
29893 * sysdeps/nios2/dl-trampoline.S: New file.
29894 * sysdeps/nios2/gccframe.h: New file.
29895 * sysdeps/nios2/gmp-mparam.h: New file.
29896 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29897 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29898 * sysdeps/nios2/ldsodefs.h: New file.
29899 * sysdeps/nios2/libc-tls.c: New file.
29900 * sysdeps/nios2/libm-test-ulps: New file.
29901 * sysdeps/nios2/machine-gmon.h: New file.
29902 * sysdeps/nios2/math-tests.h: New file.
29903 * sysdeps/nios2/math_private.h: New file.
29904 * sysdeps/nios2/memusage.h: New file.
29905 * sysdeps/nios2/nptl/Makefile: New file.
29906 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29907 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29908 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29909 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29910 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29911 * sysdeps/nios2/nptl/tls.h: New file.
29912 * sysdeps/nios2/preconfigure: New file.
29913 * sysdeps/nios2/s_fma.c: New file.
29914 * sysdeps/nios2/s_fmaf.c: New file.
29915 * sysdeps/nios2/setjmp.S: New file.
29916 * sysdeps/nios2/sfp-machine.h: New file.
29917 * sysdeps/nios2/sotruss-lib.c: New file.
29918 * sysdeps/nios2/stackguard-macros.h: New file.
29919 * sysdeps/nios2/stackinfo.h: New file.
29920 * sysdeps/nios2/start.S: New file.
29921 * sysdeps/nios2/sysdep.h: New file.
29922 * sysdeps/nios2/tls-macros.h: New file.
29923 * sysdeps/nios2/tst-audit.h: New file.
29924 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29925 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29926 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29927 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29928 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29929 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29930 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29931 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29932 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29933 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29934 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29935 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29936 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29937 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29938 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29939 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29940 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29941 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29942 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29943 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29944 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29945 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29946 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29947 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29948 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29949 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29950 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29951 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29952 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29953 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29954 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29955 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29956 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29957 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29958 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29959 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29960 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29961 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29962 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29963 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29964 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29965 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29966 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29967 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29968
29969 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29970
29971 [BZ #17844]
29972 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29973 (getutent): Use weak_alias in non SHARED case
29974 and default_symbol_version in SHARED case.
29975 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29976 (getutent_r, pututline): Likewise.
29977 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29978 (getutid): Likewise.
29979 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29980 (getutid_r): Likewise.
29981 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29982 (getutline): Likewise.
29983 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29984 (getutline_r): Likewise.
29985 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29986 (updwtmp): Likewise.
29987
29988 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29989
29990 [BZ #17848]
29991 * sysdeps/s390/s390-32/memcmp.S
29992 (memcmp_g5): Rename to __memcmp_g5.
29993 * sysdeps/s390/s390-32/memcpy.S
29994 (memcpy_g5): Rename to __memcpy_g5.
29995 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29996 (memcpy_mvcle) Rename to __memcpy_mvcle.
29997 * sysdeps/s390/s390-32/memset.S
29998 (memset_g5): Rename to __memset_g5.
29999 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30000 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30001 and use prefixed functions.
30002 * sysdeps/s390/s390-32/multiarch/memcmp.S
30003 (memcmp_z196): Rename to __memcmp_z196.
30004 (memcmp_z10): Rename to __memcmp_z10.
30005 (memcmp): Set alias to __memcmp_g5.
30006 (bcmp): Set alias to __memcmp_g5.
30007 * sysdeps/s390/s390-32/multiarch/memcpy.S
30008 (memcpy_z196): Rename to __memcpy_z196.
30009 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30010 (memcpy_z10): Rename to __memcpy_z10.
30011 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30012 (memcpy): Set alias to __memcpy_g5.
30013 * sysdeps/s390/s390-32/multiarch/memset.S
30014 (memset_z196): Rename to __memset_z196.
30015 Jump to __memset_mvcle instead of memset_mvcle.
30016 (memset_z10): Rename to __memset_z10.
30017 Jump to __memset_mvcle instead of memset_mvcle.
30018 (memset_mvcle) Rename to __memset_mvcle.
30019 (memset): Set alias to __memset_g5.
30020 * sysdeps/s390/s390-64/memcmp.S
30021 (memcmp_z900): Rename to __memcmp_z900.
30022 * sysdeps/s390/s390-64/memcpy.S
30023 (memcpy_z900): Rename to __memcpy_z900.
30024 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30025 (memcpy_mvcle) Rename to __memcpy_mvcle.
30026 * sysdeps/s390/s390-64/memset.S
30027 (memset_z900): Rename to __memset_z900.
30028 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30029 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30030 and use prefixed functions.
30031 * sysdeps/s390/s390-64/multiarch/memcmp.S
30032 (memcmp_z196): Rename to __memcmp_z196.
30033 (memcmp_z10): Rename to __memcmp_z10.
30034 (memcmp): Set alias to __memcmp_z900.
30035 (bcmp): Set alias to __memcmp_z900.
30036 * sysdeps/s390/s390-64/multiarch/memcpy.S
30037 (memcpy_z196): Rename to __memcpy_z196.
30038 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30039 (memcpy_z10): Rename to __memcpy_z10.
30040 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30041 (memcpy): Set alias to __memcpy_z900.
30042 * sysdeps/s390/s390-64/multiarch/memset.S
30043 (memset_z196): Rename to __memset_z196.
30044 Jump to __memset_mvcle instead of memset_mvcle.
30045 (memset_z10): Rename to __memset_z10.
30046 Jump to __memset_mvcle instead of memset_mvcle.
30047 (memset_mvcle) Rename to __memset_mvcle.
30048 (memset): Set alias to __memset_z900.
30049
30050 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30051
30052 [BZ #17748]
30053 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30054 __fesetenv instead of fesetenv.
30055
30056 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30057
30058 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30059 macro.
30060
30061 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30062
30063 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30064 regression on LE.
30065
30066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30067 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30068 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30069 strncmp-power8 object.
30070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30071 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30072 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30073 * NEWS: Update.
30074
30075 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30076 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30077
30078 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30079 trailing byte check.
30080
30081 2015-01-13 David S. Miller <davem@davemloft.net>
30082
30083 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30084
30085 2015-01-13 Roland McGrath <roland@hack.frob.com>
30086
30087 * login/logout.c (logout): Use memset rather than bzero.
30088 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30089 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30090 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30091 (_gethtbyaddr): Likewise.
30092 * locale/programs/simple-hash.c (bcopy): Macro removed.
30093
30094 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30095
30096 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30097 Add strcmp-power8 object.
30098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30099 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30100 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30101 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30102 __strcmp_power8 implementation.
30103 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30104 * NEWS: Update.
30105
30106 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30107 Add strncpy-power8 and stpncpy-power8 objects.
30108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30109 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30110 implementations.
30111 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30112 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30113 __stpncpy_power8 implementation.
30114 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30115 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30116 __strncpy_power8 implementation.
30117 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30118 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30119 * NEWS: Update.
30120
30121 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30122 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30123 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30124
30125 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30126 strncat-power8 object.
30127 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30128 __strcat_power8 implementation.
30129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30130 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30131 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30132 optimized strcat for power8.
30133
30134 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30135 strcpy-power8 and stpcpy-power8 objects.
30136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30137 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30138 implementations.
30139 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30140 multiarch stpcpy implementation for POWER8.
30141 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30142 multiarch strcpy implementation for POWER8.
30143 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30144 __strcpy_power8 function.
30145 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30146 stpcpy for POWER8.
30147 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30148 strcpy for POWER8.
30149 * NEWS: Update.
30150
30151 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30152
30153 [BZ #16009]
30154 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30155 weights and rules. Use do_xfrm_cached if data fits in cache,
30156 do_xfrm otherwise. Moved former main loop to...
30157 * (do_xfrm_cached): New function.
30158 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30159 find_idx, find_position and stack_push.
30160 * (find_idx): New function.
30161 * (find_position): Likewise.
30162 * localedata/sort-test.sh: Added test run for do_xfrm.
30163 * localedata/xfrm-test.c (main): Added command line option
30164 -nocache to run the test with strings that are too large for
30165 the STRXFRM cache.
30166
30167 2015-01-13 Torvald Riegel <triegel@redhat.com>
30168
30169 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30170 variable to lll_futex_wake call, not the value itself.
30171
30172 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30173
30174 [BZ #17803]
30175 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30176 twom64. Adjust value to 0x1p-64L.
30177 (__scalblnl): Only return standard underflowing result for K <=
30178 -64 not K <= -63; adjust exponent for underflowing result by 64
30179 not 63.
30180 * math/libm-test.inc (scalbn_test_data): Add more tests.
30181 (scalbln_test_data): Likewise.
30182
30183 [BZ #17834]
30184 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30185 0x1p63L.
30186 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30187 not HX.
30188 * math/libm-test.inc (scalbn_test_data): Add more tests.
30189 (scalbln_test_data): Likewise.
30190
30191 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30192 Stefani Seibold <stefani@seibold.net>
30193
30194 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30195 (sysdep_routines): Add dl-vdso here, ...
30196 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30197 (sysdep_routines): ... not here.
30198 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30199 fallback when vDSO is not presented.
30200 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30201 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30202 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30203 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30204 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30205 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30206 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30207 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30208 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30210 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30211 fallback configurable symbol when vDSO is not available.
30212 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30213 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30214 be able to redefine fallback symbol when vDSO is not available.
30215 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30216 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30217
30218 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30219
30220 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30221 (TLS_INIT_TP): Add tm_capable initialization.
30222 (TLS_DEFINE_INIT_TP): Likewise.
30223 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30224 TCB.
30225 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30226 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30227 calculation.
30228 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30229 transactoion is lock elision is built and TCB tm_capable is set.
30230 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30232 (INTERNAL_SYSCALL_NCS): Likewise.
30233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30234 (INTERNAL_SYSCALL_NCS): Likewise.
30235 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30236
30237 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30238 for powerpc.
30239 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30240 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30241 and remove it for 32 bits case.
30242 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30244 initialization.
30245 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30246 Disable lock elision with rdlocks if elision is not available.
30247
30248 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30249 (sysdep_routines): Add lock elision objects.
30250 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30251 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30252 [pthread_mutex_t] (__elision): Add field.
30253 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30254 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30255 elision definitions for powerpc.
30256 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30257 implementation of lock elision for powerpc.
30258 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30259 implementation of timed lock elision for powerpc.
30260 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30261 implementation of trylock with lock elision for powerpc.
30262 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30263 implementaion of unlock for lock elision for powerpc.
30264 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30265 automatic enable lock elision for mutexes.
30266 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30267 transaction execution definitions for powerpc.
30268 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30269 definitions.
30270 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30271 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30272 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30273 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30274 * NEWS: Update.
30275
30276 2015-01-09 Roland McGrath <roland@hack.frob.com>
30277
30278 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30279 for #include of <shm-directory.h>.
30280
30281 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30282
30283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30284 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30285
30286 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30287
30288 [BZ #17791]
30289 * NEWS: Mention bug fix.
30290 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30291 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30292 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30293
30294 2015-01-09 Torvald Riegel <triegel@redhat.com>
30295
30296 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30297
30298 2015-01-09 Torvald Riegel <triegel@redhat.com>
30299
30300 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30301
30302 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30303
30304 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30305 pointer and cast to uintptr_t.
30306
30307 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30308
30309 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30310 removed.
30311 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30312
30313 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30314
30315 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30316 of 0.
30317
30318 2015-01-08 Roland McGrath <roland@hack.frob.com>
30319
30320 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30321 <nptl/pthreadP.h> instead.
30322 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30323
30324 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30325 already defined.
30326 [__SIGRTMIN] (init): Function removed.
30327 [__SIGRTMIN] (initialized): Variable removed.
30328 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30329 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30330 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30331 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30332 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30333 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30334 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30335 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30336 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30337 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30338 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30339 * sysdeps/nptl/allocrtsig.c: New file.
30340 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30341 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30342 * sysdeps/generic/testrtsig.h: File removed.
30343
30344 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30345 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30346
30347 * nptl/nptl-init.c (pthread_functions): Conditionalize
30348 .ptr__nptl_setxid initialization on [SIGSETXID].
30349
30350 * sysdeps/nptl/sys/procfs.h: New file.
30351 * nptl_db/Makefile (headers): Add it.
30352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30353
30354 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30355 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30356 * nptl/pthread_attr_setaffinity.c: Include it.
30357 * nptl/pthread_setattr_default_np.c: Likewise.
30358 * nptl/check-cpuset.h: New file.
30359
30360 2015-01-08 Richard Henderson <rth@redhat.com>
30361
30362 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30363 (CFLAGS-tst-execstack-prog.c): Likewise.
30364 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30365
30366 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30367 Sandra Loosemore <sandra@codesourcery.com>
30368 Andrew Jenner <andrew@codesourcery.com>
30369 Joseph Myers <joseph@codesourcery.com>
30370 Nathan Sidwell <nathan@codesourcery.com>
30371
30372 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30373 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30374 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30375 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30376 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30377 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30378 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30379 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30380 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30381 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30382 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30383 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30384 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30385 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30386 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30387 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30388 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30389
30390 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30391
30392 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30393 timespec struct member in syscall macro.
30394 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30395 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30396 first timeval struct member in syscall macro.
30397 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30398
30399 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30400
30401 [BZ #17748]
30402 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30403 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30404 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30405 __feupdateenv and define as weak alias of __feupdateenv. Use
30406 libm_hidden_weak.
30407 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30408 libm_hidden_def.
30409 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30410 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30411 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30412 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30413 libm_hidden_def.
30414 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30415 __feupdateenv and define as weak alias of __feupdateenv. Use
30416 libm_hidden_weak.
30417 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30418 libm_hidden_def.
30419 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30420 __feupdateenv and define as weak alias of __feupdateenv. Use
30421 libm_hidden_weak.
30422 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30423 libm_hidden_def.
30424 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30425 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30426 (__feupdateenv): Likewise.
30427 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30428 __feupdateenv and define as weak alias of __feupdateenv. Use
30429 libm_hidden_weak.
30430 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30431 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30432 libm_hidden_def.
30433 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30434 function.
30435 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30436 libm_hidden_def.
30437 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30438 __feupdateenv instead of feupdateenv.
30439 (default_libc_feupdateenv_test): Likewise.
30440 (libc_feresetround_ctx): Likewise.
30441
30442 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30443
30444 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30445 prototype.
30446
30447 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30448
30449 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30450 COLL_SYM in a couple of places to avoid uninitialized variable
30451 wanings on tilegx gcc 4.8.2.
30452
30453 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30454
30455 * sysdeps/aarch64/strcpy.S: New file.
30456 * sysdeps/aarch64/stpcpy.S: New file.
30457 * NEWS: Updated.
30458
30459 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30460
30461 * sysdeps/aarch64/strrchr.S: New file.
30462 * NEWS: Updated.
30463
30464 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30465
30466 [BZ #17658]
30467 * stdlib/setenv.c: Fix memory leak when setting large,
30468 duplicate string.
30469
30470 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30471
30472 [BZ #17273]
30473 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30474 and tabs from buffer before parsing fstab entry.
30475 * misc/tst-mntent.c (main): Add test for mount entry with
30476 trailing spaces and tabs.
30477
30478 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30479
30480 [BZ #17748]
30481 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30482 * math/fesetround.c (fesetround): Rename to __fesetround and
30483 define as weak alias of __fesetround. Use libm_hidden_weak.
30484 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30485 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30486 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30487 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30488 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30489 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30490 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30491 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30492 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30493 __fesetround_inline.
30494 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30495 __fesetround_inline instead of __fesetround.
30496 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30497 __fesetround and define as weak alias of __fesetround. Use
30498 libm_hidden_weak. Call __fesetround_inline instead of
30499 __fesetround.
30500 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30501 __fesetround and define as weak alias of __fesetround. Use
30502 libm_hidden_weak.
30503 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30504 Likewise.
30505 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30506 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30507 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30508 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30509 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30510 __fesetround and define as weak alias of __fesetround. Use
30511 libm_hidden_weak.
30512 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30513 __fesetround instead of fesetround.
30514 (default_libc_feholdexcept_setround): Likewise.
30515 (libc_feholdsetround_ctx): Likewise.
30516 (libc_feholdsetround_noex_ctx): Likewise.
30517
30518 [BZ #17748]
30519 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30520 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30521 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30522 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30523 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30524 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30525 define as weak alias of __fesetenv. Use libm_hidden_weak.
30526 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30527 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30528 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30529 define as weak alias of __fesetenv. Use libm_hidden_weak.
30530 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30531 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30532 define as weak alias of __fesetenv. Use libm_hidden_weak.
30533 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30534 libm_hidden_def.
30535 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30536 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30537 Likewise.
30538 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30539 define as weak alias of __fesetenv. Use libm_hidden_weak.
30540 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30541 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30542 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30543 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30544 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30545 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30546 __fesetenv instead of fesetenv.
30547 (libc_feresetround_noex_ctx): Likewise.
30548 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30549 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30550 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30551 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30552 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30553 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30554 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30555 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30556 (__feupdateenv): Likewise.
30557 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30558 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30559 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30560 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30561
30562 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30563
30564 [BZ #17806]
30565 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30566 addresses have been freed.
30567
30568 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30569
30570 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30571 and nservall.
30572
30573 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30574
30575 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30576 Clean up check_pf allocation pattern. addresses
30577
30578 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30579
30580 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30581 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30582 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30583 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30584 * nptl/pthread_join.c (pthread_join): Likewise.
30585 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30586 * sysdeps/posix/waitid.c (__waitid): Likewise.
30587 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30588 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30589 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30590 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30591 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30592 Likewise.
30593 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30594 (__libc_pread64): Likewise.
30595 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30596 (__libc_pwrite): Likewise.
30597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30598 (__libc_pwrite64): Likewsie.
30599 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30600 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30601 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30602 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30603 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30604 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30605 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30607 Likewise.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30609 (__libc_pread64): Likewise.
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30611 Likewise.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30613 (__libc_pwrite64): Likewise.
30614 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30615 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30616 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30617 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30618 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30619 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30620 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30621 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30622 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30623 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30624 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30625 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30626 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30627 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30628 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30629 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30630 Likewise.
30631
30632 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30633
30634 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30635 (CFLAGS-test-double.c): Likewise.
30636 (CFLAGS-test-ldouble.c): Likewise.
30637 (CPPFLAGS-test-ifloat.c): Likewise.
30638 (CPPFLAGS-test-idouble.c): Likewise.
30639 (CPPFLAGS-test-ildoubl.c): Likewise.
30640 (CFLAGS-test-test-fenv.c): Remove variable.
30641 (CFLAGS-test-misc.c): Likewise.
30642
30643 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30644
30645 [BZ #17797]
30646 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30647 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30648 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30649 CLOCKS_PER_SEC == 1000000.
30650 * time/clocktest.c (main): Replace %ld with %jd and cast to
30651 intmax_t.
30652
30653 2015-01-05 Roland McGrath <roland@hack.frob.com>
30654
30655 * sysdeps/generic/unwind-resume.h: New file.
30656 * sysdeps/gnu/unwind-resume.c: Include it.
30657 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30658 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30659 argument list.
30660 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30661 global rather than static.
30662 (_Unwind_Resume): Update user.
30663 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30664 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30665 rather than static. Add __attribute__ ((cold)).
30666 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30667 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30668 * sysdeps/arm/arm-unwind-resume.S: New file.
30669 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30670 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30671 * sysdeps/arm/Makefile [$(subdir) = csu]
30672 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30673 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30674 Add rt-arm-unwind-resume.
30675 [$(subdir) = nptl]
30676 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30677 Add pt-arm-unwind-resume.
30678 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30679 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30680
30681 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30682
30683 [BZ #17748]
30684 * include/fenv.h (__feholdexcept): Declare. Use
30685 libm_hidden_proto.
30686 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30687 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30688 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30689 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30690 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30691 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30692 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30693 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30694 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30695 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30696 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30697 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30698 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30699 (feholdexcept): Likewise.
30700 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30701 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30702 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30703 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30704 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30705 __feholdexcept instead of feholdexcept.
30706 (default_libc_feholdexcept_setround): Likewise.
30707
30708 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30709
30710 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30711 to avoid using stl/str to align destination.
30712
30713 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30714
30715 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30716
30717 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30718
30719 [BZ #17796]
30720 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30721 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30722 Define as weak alias not strong alias.
30723
30724 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30725
30726 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30727 bltzal with addiupc.
30728 (RTLD_START): Ditto.
30729
30730 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30731
30732 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30733 for __vdso_* functions in declarations.
30734 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30735 definitions.
30736 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30737 INTERNAL_VSYSCALL): Use struct return types to check for error.
30738
30739 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30740 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30741 function with cast from llround().
30742 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30743 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30744 Define.
30745
30746 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30747
30748 [BZ #17793]
30749 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30750 Define as weak alias not strong alias.
30751
30752 [BZ #17635]
30753 * ctype/ctype-c99.c: New file. isblank implementation moved from
30754 ...
30755 * ctype/ctype-extn.c: ... here.
30756 (__isblank_l): Move to ...
30757 * ctype/ctype-c99_l.c: ... here. New file.
30758 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30759 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30760 Remove variable.
30761 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30762 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30763 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30764 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30765 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30766
30767 [BZ #17777]
30768 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30769 (posix_fadvise64): Define as weak alias not strong alias.
30770 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30771 (posix_fallocate64): Likewise.
30772 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30773 Remove variable.
30774 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30775 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30776 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30777 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30778 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30779
30780 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30781
30782 [BZ #16191]
30783 * NEWS: Mention bug fix.
30784 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30785 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30786 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30787 (HOST_STACK_END_ADDR): Likewise.
30788
30789 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30790
30791 [BZ #17748]
30792 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30793 * math/fegetround.c (fegetround): Rename to __fegetround and
30794 define as weak alias of __fegetround. Use libm_hidden_weak.
30795 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30796 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30797 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30798 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30799 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30800 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30801 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30802 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30803 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30804 Undefine after rather than before function definition; use
30805 parentheses around function name in definition.
30806 (__fegetround): Also undefine macro after function definition.
30807 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30808 __fegetround and define as weak alias of __fegetround. Use
30809 libm_hidden_weak. Do not undefine as macro.
30810 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30811 Likewise.
30812 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30813 __fegetround and define as weak alias of __fegetround. Use
30814 libm_hidden_weak.
30815 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30816 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30817 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30818 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30819 __fegetround and define as weak alias of __fegetround. Use
30820 libm_hidden_weak.
30821 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30822 __fegetround instead of fegetround.
30823
30824 [BZ #17782]
30825 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30826 Condition macro definition on [__USE_MISC].
30827
30828 [BZ #17781]
30829 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30830 (struct sigaction): Change type of sa_flags field to int.
30831
30832 [BZ #17780]
30833 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30834 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30835 __glibc_reserved0.
30836
30837 * nptl/version.c (banner): Use single year in copyright notice.
30838
30839 * NEWS: Update copyright dates.
30840 * catgets/gencat.c (print_version): Likewise.
30841 * csu/version.c (banner): Likewise.
30842 * debug/catchsegv.sh: Likewise.
30843 * debug/pcprofiledump.c (print_version): Likewise.
30844 * debug/xtrace.sh (do_version): Likewise.
30845 * elf/ldconfig.c (print_version): Likewise.
30846 * elf/ldd.bash.in: Likewise.
30847 * elf/pldd.c (print_version): Likewise.
30848 * elf/sotruss.sh: Likewise.
30849 * elf/sprof.c (print_version): Likewise.
30850 * iconv/iconv_prog.c (print_version): Likewise.
30851 * iconv/iconvconfig.c (print_version): Likewise.
30852 * locale/programs/locale.c (print_version): Likewise.
30853 * locale/programs/localedef.c (print_version): Likewise.
30854 * login/programs/pt_chown.c (print_version): Likewise.
30855 * malloc/memusage.sh (do_version): Likewise.
30856 * malloc/memusagestat.c (print_version): Likewise.
30857 * malloc/mtrace.pl: Likewise.
30858 * manual/libc.texinfo: Likewise.
30859 * nptl/version.c (banner): Likewise.
30860 * nscd/nscd.c (print_version): Likewise.
30861 * nss/getent.c (print_version): Likewise.
30862 * nss/makedb.c (print_version): Likewise.
30863 * posix/getconf.c (main): Likewise.
30864 * scripts/test-installation.pl: Likewise.
30865 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30866
30867 2015-01-02 Will Newton <will.newton@linaro.org>
30868
30869 * sysdeps/arm/armv7/configure: Removed.
30870 * sysdeps/arm/armv7/configure.ac: Likewise.
30871
30872 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30873
30874 * All files with FSF copyright notices: Update copyright dates
30875 using scripts/update-copyrights.
30876 * intl/plural.c: Regenerated.
30877 * locale/programs/charmap-kw.h: Likewise.
30878 * locale/programs/locfile-kw.h: Likewise.
30879
30880 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30881
30882 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30883
30884 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30885
30886 [BZ #17748]
30887 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30888 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30889 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30890 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30891 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30892 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30893 define as weak alias of __fegetenv. Use libm_hidden_weak.
30894 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30895 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30896 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30897 define as weak alias of __fegetenv. Use libm_hidden_weak.
30898 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30899 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30900 define as weak alias of __fegetenv. Use libm_hidden_weak.
30901 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30902 libm_hidden_def.
30903 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30904 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30905 Likewise.
30906 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30907 define as weak alias of __fegetenv. Use libm_hidden_weak.
30908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30909 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30910 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30911 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30912 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30913 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30914 __fegetenv instead of fegetenv.
30915 (libc_feholdsetround_noex_ctx): Likewise.
30916
30917 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30918
30919 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30920 (Elf_MIPS_ABIFlags_v0): New structure.
30921 (EF_MIPS_FP64): Define.
30922 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30923 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30924 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30925 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30926 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30927 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30928 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30929 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30930 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30931 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30932 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30933 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30934 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30935 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30936 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30937 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30938 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30939 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30940 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30941 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30942 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30943 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30944 field.
30945 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30946 EF_MIPS_FP64.
30947 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30948 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30949 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30950 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30951 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30952 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30953 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30954 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30955 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30956 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30957 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30958 record the current FP ABI extension.
30959 (mips-mode-switch): Define to show if kernel headers support mode
30960 switching.
30961 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30962 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30963 supported SYSV ABI version to 3.
30964 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30965 feature.
30966
30967 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30968 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30969
30970 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30971 path.
30972 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30973
30974 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30975
30976 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30977 __fegetround and redefine to call __fegetround. Remove condition
30978 on [!__NO_MATH_INLINES].
30979 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30980 function.
30981 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30982 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30983 Remove macro.
30984 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30985 instead of <fenv_libc.h>.
30986 (__llrintl): Call fegetround instead of __fegetround.
30987 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30988 instead of <fenv_libc.h>.
30989 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30990 (__lrintl): Call fegetround instead of __fegetround.
30991 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30992 instead of <fenv_libc.h>.
30993 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30994 (__rintl): Call fegetround instead of __fegetround.
30995
30996 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30997
30998 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30999 arrays.
31000
31001 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31002
31003 [BZ #17775]
31004 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31005 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31006 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31007
31008 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31009
31010 * sysdeps/i386/tls-macros.h: Include <features.h>.
31011 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31012 (TLS_IE): Likewise.
31013 (TLS_LD): Likewise.
31014 (TLS_GD): Likewise.
31015 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31016 define for GCC >= 5.0.
31017
31018 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31019
31020 * math/test-fenv.c (test_single_exception, set_single_exc,
31021 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31022 feexcp_mask_test, feenable_test, fe_single_test): Add
31023 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31024 case where they are not used.
31025 * math/libm-test.inc: Likewise.
31026 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31027 unused in the absence of FP rounding/exception support.
31028 * stdio-common/tst-printf-round.c: Likewise.
31029 * stdlib/tst-strtod-round.c: Likewise.
31030 * stdlib/tst-strtod-underflow.c: Likewise.
31031
31032 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31033
31034 [BZ #17723]
31035 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31036 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31037 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31038 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31039 libm_hidden_weak.
31040 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31041 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31042 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31043 libm_hidden_def.
31044 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31045 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31046 libm_hidden_weak.
31047 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31048 Likewise.
31049 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31050 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31051 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31052 libm_hidden_weak.
31053 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31054 libm_hidden_def.
31055 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31056 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31057 (__feraiseexcept): Likewise.
31058 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31059 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31060 libm_hidden_weak.
31061 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31062 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31063 libm_hidden_def.
31064 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31065 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31066 Use libm_hidden_def.
31067 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31068 libm_hidden_def.
31069 (feraiseexcept): Define as weak not strong alias. Use
31070 libm_hidden_weak.
31071 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31072 New inline function. Factored out of ...
31073 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31074 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31075 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31076 feraiseexcept.
31077 * math/w_acos.c (__acos): Likewise.
31078 * math/w_asin.c (__asin): Likewise.
31079 * math/w_ilogb.c (__ilogb): Likewise.
31080 * math/w_j0.c (y0): Likewise.
31081 * math/w_j1.c (y1): Likewise.
31082 * math/w_jn.c (yn): Likewise.
31083 * math/w_log.c (__log): Likewise.
31084 * math/w_log10.c (__log10): Likewise.
31085 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31086 * sysdeps/aarch64/fpu/math_private.h
31087 (libc_feupdateenv_test_aarch64): Likewise.
31088 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31089 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31090 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31091 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31092 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31093 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31094 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31095 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31096 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31097 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31098
31099 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31100
31101 [BZ #17732]
31102 * io/test-utime.c (main): Replace %ld with %jd and cast to
31103 intmax_t.
31104 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31105 * nptl/tst-mutex5.c: Include <stdint.h>.
31106 (do_test): Replace %ld with %jd and cast to intmax_t.
31107 * posix/tst-regex.c (run_test): Likewise.
31108 (run_test_backwards): Likewise.
31109 * rt/tst-clock.c: Include <stdint.h>.
31110 (clock_test): Replace %ld with %jd and cast to intmax_t.
31111 * rt/tst-cpuclock1.c: Include <stdint.h>.
31112 (do_test): Replace %lu with %ju and cast to uintmax_t.
31113 * rt/tst-cpuclock2.c: Include <stdint.h>.
31114 (do_test): Replace %lu with %ju and cast to uintmax_t.
31115 * rt/tst-mqueue1.c: Include <stdint.h>.
31116 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31117 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31118 intmax_t.
31119 * rt/tst-mqueue4.c (do_test): Likewise.
31120 * rt/tst-timer4.c: Include <stdint.h>.
31121 (check_ts): Replace %ld with %jd and cast to intmax_t.
31122 (do_test): Likewise.
31123 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31124 and cast to intmax_t.
31125 * sysdeps/pthread/tst-timer.c (main): Likewise.
31126 * time/clocktest.c (main): Likewise.
31127 * time/tst-posixtz.c (do_test): Likewise.
31128 * timezone/tst-timezone.c (main): Likewise.
31129
31130 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31131 H.J. Lu <hongjiu.lu@intel.com>
31132
31133 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31134 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31135 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31136 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31137 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31138 version if bit_Fast_Unaligned_Load is set.
31139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31146 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31147 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31148 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31149 to 4.
31150 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31151 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31152 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31153 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31154
31155 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31156
31157 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31158 instead of #if to avoid a Wundef warning.
31159 * stdlib/tst-limits.c (do_test): Likewise.
31160
31161 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31162 parallel other exception macros.
31163 (fegetenv): Convert from macro to extern inline so that it applies
31164 retroactively to inline functions already seen by the compiler.
31165 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31166
31167 * posix/Makefile (before-compile): Use $(objpfx) for
31168 posix-conf-vars-def.h.
31169
31170 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31171
31172 * posix/getconf.c (main): Use size_t for type of I.
31173 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31174 NSPEC.
31175
31176 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31177 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31178 * posix/posix-envs.def: Likewise.
31179 * sysdeps/posix/sysconf.c: Likewise.
31180 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31181 (specs): Remove array.
31182 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31183 array.
31184
31185 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31186 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31187 (__sysconf): Use CONF_IS_* macros.
31188
31189 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31190 ($(objpfx)posix-conf-vars-def.h): New target.
31191 * posix/posix-conf-vars.list: New file.
31192 * posix/posix-conf-vars.h: New file.
31193 * posix/confstr.c: Include posix-conf-vars.h.
31194 (confstr): Use CONF_IS_* macros.
31195 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31196 CONF_IS_* macros.
31197 * scripts/gen-posix-conf-vars.awk: New file.
31198
31199 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31200
31201 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31202 fegetround): Add no-op macros to avoid linknamespace issues.
31203
31204 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31205 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31206
31207 * sysdeps/unix/sysv/linux/tile/sysdep.h
31208 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31209 assembly-specific section to avoid a redefinition warning.
31210
31211 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31212 long before casting to pointer to avoid a cast warning.
31213
31214 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31215
31216 * sysdeps/tile/tilegx/Implies: New file.
31217
31218 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31219
31220 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31221
31222 2014-12-23 Florian Weimer <fweimer@redhat.com>
31223
31224 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31225
31226 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31227
31228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31229 not define.
31230 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31231 <kernel-features.h>.
31232 (__utimes) [__NR_utimes]: Make code unconditional.
31233 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31234 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31235 (__ASSUME_UTIMES): Do not undefine.
31236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31237 (__ASSUME_UTIMES): Likewise.
31238 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31239 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31240 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31241 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31242
31243 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31244
31245 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31246
31247 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31248
31249 [BZ #17747]
31250 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31251 alias to weak alias for j0l, y0l.
31252 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31253 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31254
31255 [BZ #17746]
31256 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31257 conversion.
31258
31259 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31260
31261 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31262 to zero if not already defined.
31263
31264 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31265
31266 [BZ #17724]
31267 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31268 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31269 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31270 (char *) casts added.
31271 * sysdeps/ieee754/k_standardf.c: New file.
31272 * sysdeps/ieee754/k_standardl.c: Likewise.
31273 * math/Makefile (libm-support): Remove k_standard.
31274 (libm-calls): Add k_standard.
31275
31276 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31277
31278 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31279 Optimize to avoid an unnecessary FPCR read.
31280
31281 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31282
31283 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31284 Optimize to reduce FPCR/FPSR accesses.
31285
31286 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31287
31288 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31289 Call libc_fetestexcept_aarch64.
31290
31291 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31292
31293 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31294 Call libc_fesetround_aarch64.
31295
31296 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31297
31298 [BZ #17733]
31299 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31300 (__bind): Do not define as weak alias.
31301 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31302 define.
31303 (__getsockname): Do not define as weak alias.
31304
31305 2014-12-22 Will Newton <will.newton@linaro.org>
31306
31307 * manual/install.texi: Document that we require bison 2.7
31308 or above.
31309 * INSTALL: Regenerate.
31310 * configure.ac: Use AC_CHECK_PROG_VER instead of
31311 AC_PATH_PROG when checking for bison and check for
31312 version 2.7 or above.
31313 * configure: Regenerate.
31314
31315 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31316
31317 [BZ #17745]
31318 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31319 * sysdeps/tile/ffsll.c (ffsll): To here.
31320
31321 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31322
31323 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31324
31325 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31326 if not defined.
31327 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31328 definition.
31329 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31330 hidden ___tls_get_addr.
31331 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31332 hidden __tls_get_addr.
31333 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31334 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31335 Likewise.
31336
31337 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31338
31339 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31340 _dl_init call.
31341
31342 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31345 from "call _dl_init@PLT".
31346 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31347
31348 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31349
31350 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31351 guarantees.
31352
31353 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31354
31355 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31356
31357 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31358
31359 [BZ #17744]
31360 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31361 strnlen.
31362
31363 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31364
31365 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31366 of multu on MIPSr6.
31367 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31368 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31369 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31370 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31371 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31372
31373 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31374
31375 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31376 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31377 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31378 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31379 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31380 mips32r6/mips64r6.
31381 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31382
31383 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31384
31385 * string/strncat.c (STRNCAT): Simplify implementation.
31386
31387 2014-12-19 David S. Miller <davem@davemloft.net>
31388
31389 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31390 access the quad as both a long double and as a series of 4 words.
31391
31392 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31393 link_map->l_info array access.
31394
31395 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31396
31397 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31398
31399 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31400 * math/atest-exp2.c (TIMEOUT): Likewise.
31401 * math/atest-sincos.c (TIMEOUT): Likewise.
31402
31403 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31404
31405 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31406 -Wno-error with -fno-builtin-lround.
31407
31408 2014-12-19 Torvald Riegel <triegel@redhat.com>
31409
31410 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31411 Contains futex constants and functions moved over from ...
31412 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31413 <lowlevellock-futex.h>.
31414 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31415 (lll_timedwait_tid): Add comments and parentheses around macro
31416 arguments.
31417
31418 2014-12-19 Torvald Riegel <triegel@redhat.com>
31419
31420 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31421 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31422 (__lll_private_flag): Remove.
31423 (lll_futex_wait): Likewise.
31424 (lll_futex_timed_wait): Likewise.
31425 (lll_futex_wake): Likewise.
31426 (lll_futex_requeue): Likewise.
31427 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31428 (__lll_timedwait_tid): Spell out argument names.
31429 (lll_timedwait_tid): Add comments and parentheses around macro
31430 arguments.
31431 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31432 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31433
31434 2014-12-19 Torvald Riegel <triegel@redhat.com>
31435
31436 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31437 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31438 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31439 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31440 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31441 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31442 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31443 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31444 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31445 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31446 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31447 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31448 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31449 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31450 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31451 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31452 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31453 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31454 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31455
31456 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31457
31458 * sysdeps/x86_64/x32/Makefile: New file.
31459
31460 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31461
31462 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31463 1L with (mp_limb_t) 1.
31464
31465 2014-12-17 Roland McGrath <roland@hack.frob.com>
31466
31467 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31468 * nptl/libc_pthread_init.c: ... here.
31469 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31470 * nptl/register-atfork.c: ... here.
31471
31472 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31473 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31474 Use assert_perror to check its return value.
31475 (__gai_create_helper_thread): Likewise.
31476
31477 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31478
31479 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31480
31481 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31482
31483 [BZ #17725]
31484 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31485 __profil_counter.
31486 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31487 Likewise.
31488 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31489 Likewise.
31490 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31491 Likewise.
31492 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31493 (profil_counter): Likewise.
31494 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31495 (profil_counter): Likewise.
31496 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31497 Likewise.
31498 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31499 Likewise.
31500 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31501 (profil_counter): Likewise.
31502 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31503 Likewise.
31504 [!__profil_counter] (profil_counter): Define as weak alias of
31505 __profil_counter.
31506 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31507 (profil_counter): Rename to __profil_counter.
31508 [!__profil_counter] (profil_counter): Define as weak alias of
31509 __profil_counter.
31510 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31511 (profil_counter): Rename to __profil_counter.
31512 [!__profil_counter] (profil_counter): Define as weak alias of
31513 __profil_counter.
31514 * sysdeps/posix/profil.c: Update comment referring to
31515 profil_counter.
31516 (__profil): Use __profil_counter instead of profil_counter.
31517 * sysdeps/posix/sprofil.c (profil_counter): Rename to
31518 __profil_counter. Use __profil_counter_ushort and
31519 __profil_counter_uint in definitions.
31520 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31521 instead of profil_counter_uint and profil_counter_ushort.
31522
31523 [BZ #17722]
31524 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31525 define as weak alias of __inet_makeaddr.
31526 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31527 as weak alias of __inet_addr.
31528 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31529 as weak alias of __inet_pton. Use libc_hidden_weak.
31530 * include/arpa/inet.h (__inet_pton): Declare. Use
31531 libc_hidden_proto.
31532 (inet_makeaddr): Don't use libc_hidden_proto.
31533 (__inet_makeaddr): Declare. Use libc_hidden_proto.
31534 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31535 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
31536 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31537 Remove variable.
31538 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31539 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31540
31541 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
31542
31543 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31544
31545 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31546
31547 * stdio-common/bug-vfprintf-nargs.c (do_test):
31548 Cast value to intptr_t to avoid format warning
31549 for usage with PRIdPTR printing macro.
31550
31551 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31552
31553 * libio/tst-widetext.c (do_test):
31554 Use format type %td instead of %Zd for ptrdiff_t
31555 in order to avoid format warning.
31556
31557 2014-12-17 Andreas Schwab <schwab@suse.de>
31558
31559 * nscd/mem.c (gc): Add size_t cast to match printf format.
31560
31561 2014-12-16 Roland McGrath <roland@hack.frob.com>
31562
31563 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31564 (init): Apply PTR_MANGLE to pointers before storing them.
31565 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31566 before using them.
31567
31568 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31569
31570 [BZ #17719]
31571 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31572 define as weak alias of __memrchr.
31573 (__memrchr): Do not define as strong alias of memrchr.
31574 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31575 Remove variable.
31576 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31577 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31578 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31579
31580 [BZ #17717]
31581 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31582 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31583 (if_indextoname): Rename to __if_indextoname and define as weak
31584 alias of __if_indextoname. Use libc_hidden_weak.
31585 (if_freenameindex): Rename to __if_freenameindex and define as
31586 weak alias of __if_freenameindex.
31587 (if_nameindex): Rename to __if_nameindex and define as weak alias
31588 of __if_nameindex.
31589 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31590 __if_nametoindex and define as weak alias of __if_nametoindex.
31591 Use libc_hidden_weak.
31592 (if_freenameindex): Rename to __if_freenameindex and define as
31593 weak alias of __if_freenameindex.
31594 (if_nameindex): Rename to __if_nameindex and define as weak alias
31595 of __if_nameindex.
31596 (if_indextoname): Rename to __if_indextoname and define as weak
31597 alias of __if_indextoname. Use libc_hidden_weak.
31598 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31599 __if_nametoindex and define as weak alias of __if_nametoindex.
31600 Use libc_hidden_weak.
31601 (if_freenameindex): Rename to __if_freenameindex and define as
31602 weak alias of __if_freenameindex. Use libc_hidden_weak.
31603 (if_nameindex_netlink): Use __if_freenameindex instead of
31604 if_freenameindex.
31605 (if_nameindex): Rename to __if_nameindex and define as weak alias
31606 of __if_nameindex. Use libc_hidden_weak.
31607 (if_indextoname): Rename to __if_indextoname and define as weak
31608 alias of __if_indextoname. Use libc_hidden_weak.
31609 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31610 libc_hidden_proto.
31611 [!_ISOMAC] (__if_freenameindex): Likewise.
31612 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31613 if_nametoindex.
31614 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31615 variable.
31616 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31617 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31618 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31619 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31620 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31621 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31622 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31623
31624 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31625 Remove variable.
31626 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31627 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31628
31629 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31630
31631 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31632 subscript above bounds'
31633
31634 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31635 bounds.
31636
31637 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31638
31639 * libio/tst-fopenloc.c: Use test-skeleton.c.
31640
31641 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31642 (entry): Rename to ITEM.
31643 (do_test, comp): Adjust.
31644
31645 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31646
31647 2014-12-16 Torvald Riegel <triegel@redhat.com>
31648
31649 * string/tester.c: Include <libc-internal.h>.
31650 (test_memset): Ignore -Wmemset-transposed-args.
31651
31652 2014-12-16 Torvald Riegel <triegel@redhat.com>
31653
31654 * misc/tst-mntent2.c (do_test): Fix warning.
31655
31656 2014-12-16 Torvald Riegel <triegel@redhat.com>
31657
31658 * elf/tst-unique4lib.cc(a): Mark as used.
31659
31660 2014-12-16 Florian Weimer <fweimer@redhat.com>
31661
31662 [BZ #17630]
31663 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31664 names.
31665
31666 2014-12-16 Allan McRae <allan@archlinux.org>
31667
31668 * stdio-common/Makefile (tests): Re-add bug26.
31669
31670 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31671
31672 [BZ #17657]
31673 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31674 static array.
31675
31676 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31677
31678 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31679 (__lll_lock_wait): Likewise.
31680 (__lll_timedlock_wait): Likewise.
31681 (__lll_timedwait_tid): Likewise.
31682 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31683 (__lll_robust_timedlock_wait): Likewise.
31684 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31685 (lll_cond_trylock): Likewise.
31686 (__lll_lock): Likewise.
31687 (__lll_robust_lock): Likewise.
31688 (__lll_cond_lock): Likewise.
31689 (lll_robust_cond_lock): Likewise.
31690 (__lll_timedlock): Likewise.
31691 (__lll_robust_timedlock): Likewise.
31692 (__lll_unlock): Likewise.
31693 (__lll_robust_unlock): Likewise.
31694 (lll_wait_tid): Likewise.
31695 (lll_timedwait_tid): Likewise.
31696
31697 2014-12-15 Torvald Riegel <triegel@redhat.com>
31698
31699 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31700
31701 2014-12-15 Torvald Riegel <triegel@redhat.com>
31702
31703 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31704
31705 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31706
31707 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31708 * stdio-common/tst-sprintf.c: Likewise.
31709
31710 2014-12-15 Torvald Riegel <triegel@redhat.com>
31711
31712 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31713
31714 2014-12-15 Jeff Law <law@redhat.com>
31715
31716 [BZ #16617]
31717 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31718 on the heap. (CVE-2012-3406)
31719 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31720 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31721 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31722
31723 2014-12-15 Will Newton <will.newton@linaro.org>
31724
31725 * manual/install.texi: Bump required version of texinfo
31726 to 4.7 from 4.5.
31727 * INSTALL: Regenerated.
31728 * configure.ac: Check for makeinfo version 4.7 and above.
31729 * configure: Regenerated.
31730
31731 2014-12-12 Roland McGrath <roland@hack.frob.com>
31732
31733 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31734 PREFIX, string constant to insert between directory and name.
31735 * sysdeps/posix/shm_open.c: Update caller.
31736 * sysdeps/posix/shm_unlink.c: Likewise.
31737 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31738 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31739 (SEM_SHM_PREFIX): New macro.
31740 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31741 [$(have-thread-library) = no].
31742 * nptl/Makefile (libpthread-routines): Add shm-directory.
31743 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31744 * sysdeps/nptl/shm-directory.h: New file.
31745 * sysdeps/posix/shm-directory.c
31746 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31747 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31748 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31749 INTERNAL_SYSCALL.
31750 (__where_is_shmfs): Function removed.
31751 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31752 Variables removed.
31753 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31754 Use SHM_GET_NAME.
31755 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31756
31757 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31758 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31759 unconditional for use inside libpthread.
31760 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31761
31762 2014-12-12 Roland McGrath <roland@hack.frob.com>
31763
31764 * nptl/pthread_getaffinity.c: New file.
31765 * nptl/pthread_setaffinity.c: New file.
31766 * nptl/pthread_getname.c: New file.
31767 * nptl/pthread_setname.c: New file.
31768
31769 * nptl/pthread_create.c (START_THREAD_DEFN)
31770 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31771
31772 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31773 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31774
31775 * resolv/res_send.c (send_vc): Disable warning resplen may
31776 be used uninitialized.
31777
31778 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31779
31780 * nptl/tst-mutex6.c
31781 (ATTR_NULL): New define checks ATTR against NULL.
31782 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31783 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31784
31785 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31786
31787 [BZ #17581]
31788 * malloc/hooks.c
31789 (mem2mem_check): Revert my previous change.
31790 (malloc_check_get_size): Revert my previous change.
31791 (mem2chunk_check): Revert my previous change.
31792
31793 2014-12-11 Roland McGrath <roland@hack.frob.com>
31794
31795 * sysdeps/posix/shm-directory.c: New file.
31796 * sysdeps/posix/shm-directory.h: New file.
31797 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31798 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31799 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31800 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31801 Transmute EPERM to EACCES.
31802 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31803 from ...
31804 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31805 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31806
31807 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31808
31809 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31810 pointer and cast to uintptr_t.
31811 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31812 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31813 Add cast to avoid warning.
31814 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31815
31816 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31817
31818 * nptl/semaphore.h: Move to ...
31819 * sysdeps/pthread/semaphore.h: ... here.
31820 * Makefile (installed-headers): Change nptl/semaphore.h to
31821 sysdeps/pthread/semaphore.h.
31822
31823 2014-12-11 Roland McGrath <roland@hack.frob.com>
31824
31825 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31826 generated error format strings.
31827
31828 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31829 -Wformat-extra-args warnings for scanf formats.
31830 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31831 test of zero-length format (duh).
31832 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31833 corner-case scanf format test.
31834 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31835 generated fprintf format string.
31836 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31837 corner-case sprintf format tests.
31838 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31839 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31840 -Wformat-extra-args warnings throughout.
31841 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31842 (CFLAGS-scanf4.c): Likewise.
31843 (CFLAGS-scanf7.c): Likewise.
31844 (CFLAGS-tst-sprintf.c): Likewise.
31845 (CFLAGS-tst-printf.c): Likewise.
31846 (CFLAGS-tst-printfsz.c): Likewise.
31847
31848 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31849
31850 * include/cpio.h: New file.
31851 * include/fmtmsg.h: Likewise.
31852
31853 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31854 corresponding format argument to size_t.
31855 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31856 arguments.
31857 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31858 corresponding format argument to size_t.
31859 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31860 arguments.
31861 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31862 corresponding format argument to size_t.
31863 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31864 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31865 (CFLAGS-tst-mbswcs2.c): Likewise.
31866 (CFLAGS-tst-mbswcs3.c): Likewise.
31867 (CFLAGS-tst-mbswcs4.c): Likewise.
31868 (CFLAGS-tst-mbswcs5.c): Likewise.
31869 (CFLAGS-tst-trans.c): Likewise.
31870
31871 2014-12-11 Roland McGrath <roland@hack.frob.com>
31872
31873 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31874 rather than assuming they won't contain any '%'s.
31875
31876 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31877
31878 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31879 inhibit_loop_to_libcall to avoid recursive calls.
31880 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31881 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31882
31883 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31884
31885 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31886 prototype.
31887
31888 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31889
31890 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31891 integer value instead of boolean.
31892
31893 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31894
31895 * malloc/malloc.c: Fix powerof2 check.
31896
31897 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31898
31899 * locale/programs/locfile.h (maybe_swap_uint32):
31900 Remove inline and add unused attribute.
31901
31902 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31903
31904 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31905 Truncating assembler expression to a .long expression.
31906
31907 2014-12-11 Andreas Schwab <schwab@suse.de>
31908
31909 * elf/rtld.c (struct map_args): Constify str member.
31910 (do_preload): Constify fname argument.
31911
31912 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31913
31914 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31915 constants definition.
31916
31917 2014-12-11 Andreas Schwab <schwab@suse.de>
31918
31919 [BZ #16657]
31920 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31921 FORCE_ELISION instead of DO_ELISION.
31922 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31923 Remove.
31924 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31925 Likewise.
31926
31927 * iconvdata/gconv-modules: Remove duplicate entry.
31928
31929 2014-12-11 Will Newton <will.newton@linaro.org>
31930
31931 Merge gettext 0.19.3 into intl/.
31932
31933 This involves a number of cosmetic changes to comments
31934 and ANSI function definitions and prototypes throughout
31935 all the files. The gettext copyright header is used but
31936 with the date ranges taken from the glibc copy.
31937
31938 * NEWS: Add gettext merge to 2.21.
31939 * intl/bindtextdom.c: Switch to gettext copyright.
31940 Use ANSI definitions and prototypes.
31941 Use gl_* locking primitives rather than __libc_* ones.
31942 Use __builtin_expect rather than __glibc_likely/unlikely.
31943 * intl/dcgettext.c: Switch to gettext copyright.
31944 Use ANSI definitions and prototypes.
31945 * intl/dcigettext.c: Switch to gettext copyright.
31946 Use ANSI definitions and prototypes.
31947 (INTDIV0_RAISES_SIGFPE): New define.
31948 Use gl_* locking primitives rather than __libc_* ones.
31949 Include eval-plural.h instead of plural-eval.c.
31950 Use __builtin_expect rather than __glibc_likely/unlikely.
31951 * intl/dcngettext.c: Switch to gettext copyright.
31952 Use ANSI definitions and prototypes.
31953 * intl/dgettext.c: Likewise.
31954 * intl/dngettext.c: Likewise.
31955 * intl/plural-eval.c: Renamed to...
31956 * intl/eval-plural.h: ...this.
31957 * intl/explodename.c: Switch to gettext copyright.
31958 Use ANSI definitions and prototypes.
31959 (_nl_explode_name): Use strchr instead of __rawmemchr.
31960 * intl/finddomain.c: Switch to gettext copyright.
31961 Use ANSI definitions and prototypes.
31962 Use gl_* locking primitives rather than __libc_* ones.
31963 (_nl_find_domain): Use malloc rather than alloca for
31964 allocation of temporary locale name.
31965 * intl/gettext.c: Switch to gettext copyright.
31966 Use ANSI definitions and prototypes.
31967 * intl/gettextP.h: Switch to gettext copyright.
31968 Use ANSI definitions and prototypes.
31969 Use gl_* locking primitives rather than __libc_* ones.
31970 * intl/gmo.h: Switch to gettext copyright.
31971 (struct sysdep_string): Move struct segment_pair outside of
31972 struct definition.
31973 * intl/hash-string.c: Use ANSI definitions and prototypes.
31974 * intl/hash-string.h: Switch to gettext copyright.
31975 Use ANSI definitions and prototypes.
31976 * intl/l10nflist.c: Switch to gettext copyright.
31977 Use ANSI definitions and prototypes.
31978 (_nl_normalize_codeset): Avoid integer overflow.
31979 * intl/loadinfo.h: Switch to gettext copyright.
31980 Use ANSI definitions and prototypes.
31981 (LIBINTL_DLL_EXPORTED): New define.
31982 (PATH_SEPARATOR): New define.
31983 * intl/loadmsgcat.c: Switch to gettext copyright.
31984 * intl/localealias.c: Switch to gettext copyright.
31985 Use ANSI definitions and prototypes.
31986 (_nl_expand_alias): Use PATH_SEPARATOR.
31987 * intl/ngettext.c: Switch to gettext copyright.
31988 Use ANSI definitions and prototypes.
31989 * intl/plural-exp.c: Likewise.
31990 * intl/plural-exp.h: Switch to gettext copyright.
31991 Use ANSI definitions and prototypes.
31992 (struct expression): Move definition of enum operator outside
31993 of struct definition.
31994 * intl/plural.c: Regenerate.
31995 * intl/plural.y: Switch to gettext copyright.
31996 Use ANSI definitions and prototypes.
31997 Port to bison 3.0.
31998 * intl/textdomain.c: Switch to gettext copyright.
31999 Use ANSI definitions and prototypes.
32000 Use gl_* locking primitives rather than __libc_* ones.
32001
32002 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32003
32004 * debug/warning-nop.c: Add used atrribute.
32005
32006 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32007
32008 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32009
32010 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32011 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32012 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32013
32014 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32015 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32016
32017 [BZ #17634]
32018 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32019 Undefine after defining function. Define as weak alias of
32020 __wcschr. Use libc_hidden_weak.
32021 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32022 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32023 (libc_hidden_def): Also define __GI___wcschr alias.
32024 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32025 __wcschr and define as weak alias of __wcschr.
32026 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32027 __wcschr.
32028 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32029 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32030 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32031 libc_hidden_weak. Do not use libc_hidden_def.
32032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32033 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32034 __GI___wcschr alias.
32035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32036 [IS_IN (libc)] (wcschr): Define as macro expanding to
32037 __redirect_wcschr.
32038 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32039 [IS_IN (libc)] (__wcschr_power6): Likewise.
32040 [IS_IN (libc)] (__wcschr_power7): Likewise.
32041 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32042 instead of wcschr.
32043 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32044 __libc_wcschr.
32045 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32046 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32047 __wcschr and define as weak alias of __wcschr. Use
32048 libc_hidden_builtin_def.
32049 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32050 as weak alias of __wcschr. Use libc_hidden_weak.
32051 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32052 wcschr.
32053 * time/era.c (_nl_init_era_entries): Likewise.
32054 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32055 variable.
32056 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32057 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32058
32059 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32060
32061 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32062 format for long int variable.
32063
32064 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32065
32066 [BZ #10672]
32067 * manual/search.texi: (Array Sort Function): Remove claim how to make
32068 qsort stable.
32069
32070 2014-12-10 Andreas Schwab <schwab@suse.de>
32071
32072 [BZ #12847]
32073 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32074 user-controlled locks.
32075
32076 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32077
32078 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32079 register.
32080
32081 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32082
32083 * configure.ac (--disable-werror): New configure option.
32084 (enable_werror): New AC_SUBST.
32085 * configure: Regenerated.
32086 * config.make.in (enable-werror): New variable.
32087 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32088 -Wno-error=undef.
32089 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32090 * manual/install.texi (Configuring and compiling): Document
32091 --disable-werror.
32092 * INSTALL: Regenerated.
32093 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32094 (CFLAGS-tst-chk2.c): Likewise.
32095 (CFLAGS-tst-chk3.c): Likewise.
32096 (CFLAGS-tst-chk4.cc): Likewise.
32097 (CFLAGS-tst-chk5.cc): Likewise.
32098 (CFLAGS-tst-chk6.cc): Likewise.
32099 (CFLAGS-tst-lfschk1.c): Likewise.
32100 (CFLAGS-tst-lfschk2.c): Likewise.
32101 (CFLAGS-tst-lfschk3.c): Likewise.
32102 (CFLAGS-tst-lfschk4.cc): Likewise.
32103 (CFLAGS-tst-lfschk5.cc): Likewise.
32104 (CFLAGS-tst-lfschk6.cc): Likewise.
32105
32106 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32107 (main): Disable -Wdeprecated-declarations around calls to
32108 register_printf_function.
32109
32110 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32111 (do_test): Disable -Wdiv-by-zero around some calls to
32112 fwrite_unlocked and fread_unlocked.
32113
32114 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32115 (DIAG_POP_NEEDS_COMMENT): Likewise.
32116 (_DIAG_STR1): Likewise.
32117 (_DIAG_STR): Likewise.
32118 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32119 * stdio-common/bug21.c: Include <libc-internal.h>.
32120 (do_test): Disable -Wformat around call to sscanf.
32121 * stdio-common/scanf14.c: Include <libc-internal.h>.
32122 (main): Disable -Wformat around some calls to scanf functions.
32123
32124 2014-12-09 Torvald Riegel <triegel@redhat.com>
32125
32126 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32127
32128 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32129
32130 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32131 stack variable alignment.
32132
32133 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32134
32135 [BZ #17682]
32136 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32137 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32138 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32139 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32140 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32141 __getrlimit instead of getrlimit.
32142 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32143 __gettimeofday instead of gettimeofday.
32144 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32145 Likewise.
32146 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32147 Likewise.
32148 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32149 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32150 Remove variable.
32151 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32152 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32153
32154 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32155
32156 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32157 for wide-character tests.
32158
32159 2014-12-04 Roland McGrath <roland@hack.frob.com>
32160
32161 * io/openat64.c: #include <libc-internal.h>
32162 (__openat64): Prototypify. Use ignore_value on MODE.
32163 * io/openat.c: Likewise.
32164 * misc/reboot.c: #include <libc-internal.h>
32165 (reboot): Prototypify. Use ignore_value on HOWTO.
32166 * misc/ptrace.c: #include <libc-internal.h>
32167 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32168
32169 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32170
32171 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32172 XPG4, UNIX98 and XOPEN2K.
32173 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32174 Remove variable.
32175 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32176
32177 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32178
32179 * libio/fileops.c: Use ISO C style for function definitions.
32180 * libio/iofopen.c: Likewise.
32181 * libio/wfileops.c: Likewise.
32182
32183 [BZ #17653]
32184 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32185 offset on EOF.
32186 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32187 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32188 (fgets_func): Function pointer to fgets and fgetws.
32189 (do_ftell_test): Add test to verify ftell value after read
32190 EOF.
32191 (do_test): Set fgets_func.
32192
32193 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32194 O_TRUNC flag for w and w+ modes.
32195 (do_rewind_test): Likewise.
32196 (do_ftell_test): Likewise.
32197 (do_write_test): Likewise.
32198
32199 [BZ #17647]
32200 * libio/fileops.c (do_ftell): Seek only when there are
32201 unflushed writes.
32202 * libio/wfileops.c (do_ftell_wide): Likewise.
32203 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32204 test case.
32205 (do_one_test): Call it.
32206
32207 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32208
32209 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32210 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32211 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32212 Remove variable.
32213 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32214 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32215 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32216
32217 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32218
32219 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32220 Remove variable.
32221 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32222
32223 [BZ #17668]
32224 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32225 as weak alias of __getifaddrs. Use libc_hidden_weak.
32226 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32227 __freeifaddrs. Use libc_hidden_weak.
32228 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32229 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32230 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32231 __freeifaddrs. Use libc_hidden_weak.
32232 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32233 __getifaddrs and define as weak alias of __getifaddrs. Use
32234 libc_hidden_weak.
32235 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32236 __freeifaddrs. Use libc_hidden_weak.
32237 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32238 Remove variable.
32239 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32240 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32241
32242 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32243
32244 [BZ #17601]
32245 * sysdeps/mips/start.S (__start): Use indirect jump to call
32246 __libc_start_main.
32247
32248 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32249
32250 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32251
32252 * nptl/tst-mutex1.c: Include <stdbool.h>.
32253 [!ATTR] (ATTR_NULL): New macro.
32254 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32255 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32256 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32257
32258 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32259 to char *.
32260
32261 [BZ #17665]
32262 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32263 Change conditional to [__USE_MISC].
32264
32265 [BZ #17664]
32266 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32267 fgets_unlocked.
32268 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32269 __fgets_unlocked.
32270 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32271 fgets_unlocked.
32272 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32273 Remove variable.
32274 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32275 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32276 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32277 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32278 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32279 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32280 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32281 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32282 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32283
32284 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32285
32286 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32287
32288 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32289 Remove strpbrk objects.
32290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32291 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32292 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32293 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32294 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32295 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32296
32297 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32298 Remove strcspn objects.
32299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32300 (__libc_ifunc_impl_list): Remove strcspn implementation.
32301 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32302 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32303 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32304 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32305
32306 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32307 Remove strspn objetcs.
32308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32309 (__libc_ifunc_impl_list): Remove strspn implementation.
32310 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32311 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32312 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32313 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32314
32315 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32316
32317 [BZ #17581]
32318 * malloc/hooks.c
32319 (mem2mem_check): Add a terminator to the chain of checking blocks.
32320 (malloc_check_get_size): Use it here.
32321 (mem2chunk_check): Ditto.
32322
32323 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32324
32325 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32326 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32327
32328 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32329
32330 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32331
32332 * nptl/nptl-init.c: Include libc-internal.h.
32333 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32334
32335 * elf/ldconfig.c (search_dir): Expand comment.
32336
32337 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32338
32339 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32340 variable.
32341 (linknamespace-symlist-stdlibs-tests): Likewise.
32342 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32343 instead of $(objpfx)symlist-stdlibs.
32344 (linknamespace-libs-isoc): New variable.
32345 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32346 (linknamespace-libs-ISO): New variable.
32347 (linknamespace-libs-ISO99): Likewise.
32348 (linknamespace-libs-ISO11): Likewise.
32349 (linknamespace-libs-XPG3): Likewise.
32350 (linknamespace-libs-XPG4): Likewise.
32351 (linknamespace-libs-POSIX): Likewise.
32352 (linknamespace-libs-UNIX98): Likewise.
32353 (linknamespace-libs-XOPEN2K): Likewise.
32354 (linknamespace-libs-POSIX2008): Likewise.
32355 (linknamespace-libs-XOPEN2K8): Likewise.
32356 ($(objpfx)symlist-stdlibs): Replace by
32357 $(linknamespace-symlist-stdlibs-tests). Use
32358 $(linknamespace-libs-$*) as set of libraries.
32359 ($(linknamespace-header-tests)): Update dependencies. Use
32360 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32361 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32362 * conform/linknamespace.pl: Remove comment about considering
32363 definitions of symbols from irrelevant libraries.
32364
32365 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32366
32367 [BZ #13862]
32368 * elf/dl-tls.c: Include <atomic.h>.
32369 (oom): Remove #ifdef SHARED/#endif.
32370 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32371 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32372 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32373 big enough.
32374 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32375 * nptl/Makefile (tests): Add tst-stack4.
32376 (modules-names): Add tst-stack4mod.
32377 ($(objpfx)tst-stack4): New.
32378 (tst-stack4mod.sos): Likewise.
32379 ($(objpfx)tst-stack4.out): Likewise.
32380 ($(tst-stack4mod.sos)): Likewise.
32381 (clean): Likewise.
32382 * nptl/tst-stack4.c: New file.
32383 * nptl/tst-stack4mod.c: Likewise.
32384
32385 2014-11-27 J. Brown <jb999@gmx.de>
32386
32387 * sysdeps/x86/bits/string.h: Add recent CPUs.
32388
32389 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32390
32391 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32392 sigblock.
32393
32394 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32395 feof.
32396
32397 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32398 variable.
32399
32400 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32401
32402 * nscd/connections.c: Include libc-internal.h because of macro
32403 usage ignore_value.
32404
32405 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32406
32407 * string/bits/string3.h (__warn_memset_zero_len): Don't
32408 declare for gcc newer than 5.0.
32409 (memset): Don't test for zero-length __LEN for gcc newer than
32410 5.0.
32411
32412 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32413
32414 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32415 size_t for %zu format.
32416
32417 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32418 difference, not %ju.
32419
32420 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32421
32422 * include/libc-internal.h (ignore_value): New macro.
32423 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32424 with ignore_value.
32425
32426 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32427 definition.
32428
32429 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32430 pthread_cleanup_push to void *.
32431
32432 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32433 Undefine.
32434
32435 [BZ #16619]
32436 [BZ #16740]
32437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32438 instead of 1L << 52.
32439
32440 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32441 * libio/bug-rewind2.c (do_test): Likewise.
32442
32443 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32444 * debug/test-strcpy_chk-ifunc.c: Likewise.
32445 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32446 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32447 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32448 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32449 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32450 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32451 * Rules [$(multi-arch) = no] (tests): Do not filter out
32452 $(tests-ifunc).
32453 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32454 * debug/Makefile (tests-ifunc): Remove variable.
32455 (tests): Do not add $(tests-ifunc).
32456 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32457 (tests): Do not add $(tests-ifunc).
32458 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32459 [TEST_IFUNC]: Remove conditionals.
32460 * string/test-string.h (TEST_IFUNC): Remove macro.
32461 [TEST_IFUNC]: Remove conditionals.
32462
32463 * string/test-strchr.c [!WIDE] (L): New macro.
32464 [WIDE] (L): Likewise.
32465 (check1): Use CHAR instead of char. Use L on string and character
32466 constants.
32467
32468 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32469
32470 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32471 tests.
32472 * sysdeps/powerpc/bits/atomic.h
32473 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32474 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32475 (atomic_exchange_and_add_acq): Likewise.
32476 (atomic_exchange_and_add_rel): Likewise.
32477 * sysdeps/powerpc/powerpc32/bits/atomic.h
32478 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32479 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32480 * sysdeps/powerpc/powerpc64/bits/atomic.h
32481 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32482 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32483
32484 2014-11-26 Torvald Riegel <triegel@redhat.com>
32485
32486 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32487 Change synchronization of __sched_fifo_min_prio and
32488 __sched_fifo_max_prio.
32489 * nptl/pthread_mutexattr_getprioceiling.c
32490 (pthread_mutexattr_getprioceiling): Likewise.
32491 * nptl/pthread_mutexattr_setprioceiling.c
32492 (pthread_mutexattr_setprioceiling): Likewise.
32493 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32494 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32495 Likewise.
32496
32497 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32498
32499 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32500 void.
32501
32502 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32503
32504 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32505 third argument const.
32506
32507 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32508
32509 fnmatch: work around GCC compiler warning bug with uninit var
32510 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32511 This works around a bug with x86-64 GCC 4.9.2 and earlier
32512 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32513 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32514 used uninitialized in this function [-Wmaybe-uninitialized]".
32515
32516 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32517
32518 * posix/bug-regex31.c (main): Return RES not 0.
32519
32520 2014-11-25 Anton Blanchard <anton@samba.org>
32521
32522 * sysdeps/powerpc/bits/atomic.h
32523 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32524
32525 2014-11-24 Sterling Augustine <saugustine@google.com>
32526
32527 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32528
32529 2014-11-24 Ryan Cumming <etaoins@gmail.com>
32530
32531 [BZ #17608]
32532 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32533
32534 2014-11-24 Joseph Myers <joseph@codesourcery.com>
32535
32536 [BZ #17633]
32537 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32538 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32539 variable.
32540 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32541 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32542
32543 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32544
32545 * string/strncpy.c (strncpy): Improve performance by using memset.
32546
32547 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32548
32549 * string/strcpy.c (strcpy):
32550 Improve performance by using strlen and memcpy.
32551
32552 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32553
32554 * string/strcoll_l.c (get_next_seq): __always_inline.
32555 * string/strcoll_l.c (do_compare): __always_inline.
32556
32557 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32558
32559 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32560 defined.
32561 * include/mqueue.h: Likewise.
32562 * include/stdlib.h: Likewise.
32563
32564 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32565 (get_null_defines): Adjust.
32566 * sunrpc/Makefile: Adjust comment.
32567 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32568 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32569 (CFLAGS-interp.c): Likewise.
32570 (CFLAGS-ldconfig.c): Likewise.
32571 (CPPFLAGS-.os): Likewise.
32572 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32573 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32574 * extra-modules.mk (extra-modules.mk): Likewise.
32575 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32576 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32577 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32578 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32579 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32580 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32581 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32582 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32583 * iconvdata/Makefile (CPPFLAGS): Likewise.
32584 (cpp-srcs-left): Add libof for all iconvdata routines.
32585 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32586 * include/assert.h: Likewise.
32587 * include/ctype.h: Likewise.
32588 * include/errno.h: Likewise.
32589 * include/libc-symbols.h: Likewise.
32590 * include/math.h: Likewise.
32591 * include/netdb.h: Likewise.
32592 * include/resolv.h: Likewise.
32593 * include/stdio.h: Likewise.
32594 * include/stdlib.h: Likewise.
32595 * include/string.h: Likewise.
32596 * include/sys/stat.h: Likewise.
32597 * include/wctype.h: Likewise.
32598 * intl/l10nflist.c: Likewise.
32599 * libidn/idn-stub.c: Likewise.
32600 * libio/libioP.h: Likewise.
32601 * nptl/libc_multiple_threads.c: Likewise.
32602 * nptl/pthreadP.h: Likewise.
32603 * posix/regex_internal.h: Likewise.
32604 * resolv/res_hconf.c: Likewise.
32605 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32606 * sysdeps/arm/memmove.S: Likewise.
32607 * sysdeps/arm/sysdep.h: Likewise.
32608 * sysdeps/generic/_itoa.h: Likewise.
32609 * sysdeps/generic/symbol-hacks.h: Likewise.
32610 * sysdeps/gnu/errlist.awk: Likewise.
32611 * sysdeps/gnu/errlist.c: Likewise.
32612 * sysdeps/i386/i586/memcpy.S: Likewise.
32613 * sysdeps/i386/i586/memset.S: Likewise.
32614 * sysdeps/i386/i686/memcpy.S: Likewise.
32615 * sysdeps/i386/i686/memmove.S: Likewise.
32616 * sysdeps/i386/i686/mempcpy.S: Likewise.
32617 * sysdeps/i386/i686/memset.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32620 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32621 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32622 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32623 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32624 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32625 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32626 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32634 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32635 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32636 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32637 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32638 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32639 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32640 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32641 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32642 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32644 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32645 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32647 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32656 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32658 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32659 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32662 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32664 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32665 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32666 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32667 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32668 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32669 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32670 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32671 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32672 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32673 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32674 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32675 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32676 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32677 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32678 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32679 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32680 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32681 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32682 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32683 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32684 * sysdeps/posix/closedir.c: Likewise.
32685 * sysdeps/posix/opendir.c: Likewise.
32686 * sysdeps/posix/readdir.c: Likewise.
32687 * sysdeps/posix/rewinddir.c: Likewise.
32688 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32689 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32690 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32691 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32692 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32693 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32694 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32695 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32699 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32700 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32701 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32702 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32703 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32704 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32705 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32707 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32708 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32709 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32710 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32711 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32713 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32715 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32716 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32723 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32724 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32725 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32726 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32727 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32728 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32730 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32732 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32733 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32734 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32735 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32736 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32737 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32738 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32739 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32740 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32741 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32743 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32744 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32745 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32746 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32747 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32748 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32749 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32750 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32751 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32752 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32753 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32754 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32755 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32756 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32757 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32758 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32759 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32760 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32761 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32762 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32763 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32764 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32765 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32766 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32767 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32768 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32769 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32770 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32771 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32772 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32773 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32774 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32775 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32776 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32777 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32778 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32779 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32780 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32782 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32784 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32786 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32787 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32788 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32789 * sysdeps/unix/alpha/sysdep.S: Likewise.
32790 * sysdeps/unix/alpha/sysdep.h: Likewise.
32791 * sysdeps/unix/make-syscalls.sh: Likewise.
32792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32794 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32795 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32796 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32797 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32798 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32799 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32800 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32801 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32802 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32803 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32804 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32805 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32806 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32807 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32808 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32809 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32810 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32811 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32812 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32813 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32814 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32815 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32816 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32817 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32818 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32821 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32822 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32826 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32830 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32831 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32832 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32833 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32834 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32835 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32836 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32842 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32843 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32844 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32845 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32846 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32848 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32850 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32851 * sysdeps/x86_64/memcpy.S: Likewise.
32852 * sysdeps/x86_64/memmove.c: Likewise.
32853 * sysdeps/x86_64/memset.S: Likewise.
32854 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32855 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32856 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32857 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32858 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32859 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32860 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32861 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32862 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32863 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32864 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32866 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32867 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32868 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32869 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32870 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32871 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32872 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32873 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32874 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32875 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32878 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32879 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32880 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32881 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32882 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32883 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32884 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32885 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32886 * sysdeps/x86_64/strcmp.S: Likewise.
32887
32888 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32889
32890 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32891 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32892 * elf/rtld-Rules: Likewise.
32893 * elf/setup-vdso.h: Likewise.
32894 * include/assert.h: Likewise.
32895 * include/bits/stdlib-float.h: Likewise.
32896 * include/errno.h: Likewise.
32897 * include/sys/stat.h: Likewise.
32898 * include/unistd.h: Likewise.
32899 * sysdeps/aarch64/setjmp.S: Likewise.
32900 * sysdeps/alpha/setjmp.S: Likewise.
32901 * sysdeps/arm/__longjmp.S: Likewise.
32902 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32903 * sysdeps/arm/setjmp.S: Likewise.
32904 * sysdeps/arm/sysdep.h: Likewise.
32905 * sysdeps/generic/_itoa.h: Likewise.
32906 * sysdeps/generic/dl-sysdep.h: Likewise.
32907 * sysdeps/generic/ldsodefs.h: Likewise.
32908 * sysdeps/i386/dl-tls.h: Likewise.
32909 * sysdeps/i386/setjmp.S: Likewise.
32910 * sysdeps/m68k/setjmp.c: Likewise.
32911 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32912 * sysdeps/mach/hurd/opendir.c: Likewise.
32913 * sysdeps/posix/getcwd.c: Likewise.
32914 * sysdeps/posix/opendir.c: Likewise.
32915 * sysdeps/posix/profil.c: Likewise.
32916 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32917 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32918 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32919 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32920 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32921 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32923 * sysdeps/s390/dl-tls.h: Likewise.
32924 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32925 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32926 * sysdeps/sh/sh3/setjmp.S: Likewise.
32927 * sysdeps/sh/sh4/setjmp.S: Likewise.
32928 * sysdeps/unix/alpha/sysdep.h: Likewise.
32929 * sysdeps/unix/arm/sysdep.S: Likewise.
32930 * sysdeps/unix/i386/sysdep.S: Likewise.
32931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32932 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32933 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32934 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32935 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32936 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32937 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32938 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32939 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32940 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32941 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32942 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32943 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32946 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32947 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32949 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32950 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32951 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32954 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32955 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32956 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32958 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32959 * sysdeps/x86_64/setjmp.S: Likewise.
32960
32961 * include/math.h: Use IS_IN instead of IS_IN_libm.
32962 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32963 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32964 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32965 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32966 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32967 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32968 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32969 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32970 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32971 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32972 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32973 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32974 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32975 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32976 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32977 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32978 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32979 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32980 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32981 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32982 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32983 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32984 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32985 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32986 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32987 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32988 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32989 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32990 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32991 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32992 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32993 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32994 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32996 Likewise.
32997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32998 Likewise.
32999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33000 Likewise.
33001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33002 Likewise.
33003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33004 Likewise.
33005 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33006 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33008 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33009 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33010 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33017 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33018 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33019 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33020 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33021 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33022 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33023 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33024 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33025 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33026 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33027 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33029 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33031 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33032
33033 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33034 * nptl/pthreadP.h: Likewise.
33035 * nptl_db/structs.def: Likewise.
33036 * sysdeps/arm/sysdep.h: Likewise.
33037 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33038 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33039 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33040 * sysdeps/unix/alpha/sysdep.h: Likewise.
33041 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33042 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33043 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33044 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33045 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33046 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33048 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33049 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33050 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33051 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33052 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33053 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33054 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33059 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33062 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33063 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33064 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33065 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33066 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33067
33068 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33069 * nptl/pthreadP.h: Likewise.
33070 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33071 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33072 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33073 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33074 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33075 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33076 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33077 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33078 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33079 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33080 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33081 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33083 Likewise.
33084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33085 Likewise.
33086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33088 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33091 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33092 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33093 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33094
33095 * dlfcn/dladdr.c: Use IS_IN.
33096 * dlfcn/dladdr1.c: Likewise.
33097 * dlfcn/dlclose.c: Likewise.
33098 * dlfcn/dlerror.c: Likewise.
33099 * dlfcn/dlinfo.c: Likewise.
33100 * dlfcn/dlmopen.c: Likewise.
33101 * dlfcn/dlopen.c: Likewise.
33102 * dlfcn/dlsym.c: Likewise.
33103 * dlfcn/dlvsym.c: Likewise.
33104
33105 * include/ifaddrs.h: Use IS_IN.
33106 * inet/check_pf.c: Likewise.
33107 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33108 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33109
33110 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33111 IS_IN_ldconfig.
33112 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33113 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33114
33115 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33116 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33117 IS_IN (libc).
33118
33119 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33120
33121 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33122 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33123 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33124 * include/libc-symbols.h (IS_IN_LIB): New macro.
33125 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33126 * include/netdb.h: Likewise.
33127 * include/stap-probe.h: Remove all uses of IN_LIB.
33128
33129 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33130 instead of IN_MODULE.
33131 * include/libc-symbols.h (IN_MODULE): Define using
33132 MODULE_NAME.
33133 (PASTE_NAME, PASTE_NAME1): New macros.
33134 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33135 of IN_LIB.
33136 (STAP_PROBE_ASM): Likewise.
33137
33138 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33139
33140 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33141 __mach_init in dlopened libc.
33142
33143 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33144
33145 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33146 * sysdeps/arm/preconfigure: Regenerate.
33147
33148 2014-11-21 Roland McGrath <roland@hack.frob.com>
33149
33150 * nptl/pthread_create.c (__pthread_create_2_1): Set
33151 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33152 when copying values from IATTR into PD.
33153
33154 2014-11-21 Will Newton <will.newton@linaro.org>
33155 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33156
33157 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33158 Refactor inline-asm. Also add comment.
33159
33160 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33161 ElfW macro instead of hardcoded Elf64 types.
33162 (la_aarch64_gnu_pltenter): Likewise.
33163 * sysdeps/aarch64/dl-machine.h
33164 (elf_machine_runtime_setup): Use ElfW(Addr).
33165
33166 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33167 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33168 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33169 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33170 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33171 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33172 (R_AARCH64_TLS_DTPMOD): This.
33173 (R_AARCH64_TLS_DTPREL64): Rename to ...
33174 (R_AARCH64_TLS_DTPREL): This.
33175 (R_AARCH64_TLS_TPREL64): Rename to ...
33176 (R_AARCH64_TLS_TPREL): This.
33177 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33178 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33179 R_AARCH64_TLS_TPREL64.
33180 (elf_machine_rela): Likewise.
33181
33182 2014-11-21 Torvald Riegel <triegel@redhat.com>
33183
33184 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33185 by setting it to 0. 64b atomics are not supported currently.
33186
33187 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33188
33189 [BZ #16469]
33190 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33191 search domain names.
33192
33193 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33194
33195 [BZ #16469]
33196 * NEWS: Update.
33197 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33198 trailing dot.
33199 * posix/tst-getaddrinfo5.c: New.
33200 * posix/Makefile (tests): Add it.
33201
33202 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33203
33204 [BZ #14498]
33205 * NEWS: Fixed.
33206 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33207 after parsing line but before break_if_match.
33208 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33209 if there is a protocol mismatch.
33210
33211 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33212
33213 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33214 because the potential race is on the user-supplied stream.
33215
33216 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33217
33218 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33219 string literal if not passed a buffer.
33220 * manual/job.texi (ctermid): Update reasoning, note deviation
33221 from posix, suggest mtasurace when not passed a buffer, for
33222 future non-preliminary safety notes.
33223
33224 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33225
33226 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33227 of not passing it a buffer.
33228 Reported by Peng Haitao.
33229
33230 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33231
33232 * manual/Makefile ($(objpfx)stamp-summary): Require
33233 check-safety.sh to pass.
33234 * manual/check-safety.sh: Wish for verification that every
33235 @deftypefn and @deftypefun is followed by a @safety remark.
33236
33237 2014-11-20 Roland McGrath <roland@hack.frob.com>
33238
33239 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33240
33241 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33242 PTHREAD_CANCEL_ASYNCHRONOUS.
33243 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33244 send SIGCANCEL.
33245
33246 * nptl/default-sched.h: New file.
33247 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33248 * nptl/pthread_create.c: Include it.
33249 (__pthread_create_2_1): Use collect_default_sched instead of making
33250 Linux syscalls here directly.
33251
33252 2014-11-20 Torvald Riegel <triegel@redhat.com>
33253
33254 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33255 __pthread_once): Use C11 atomics.
33256
33257 2014-11-20 Torvald Riegel <triegel@redhat.com>
33258
33259 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33260
33261 2014-11-20 Torvald Riegel <triegel@redhat.com>
33262
33263 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33264 atomic_thread_fence_acquire, atomic_thread_fence_release,
33265 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33266 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33267 atomic_compare_exchange_weak_relaxed,
33268 atomic_compare_exchange_weak_acquire,
33269 atomic_compare_exchange_weak_release,
33270 atomic_exchange_acquire, atomic_exchange_release,
33271 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33272 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33273 atomic_fetch_and_acquire,
33274 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33275
33276 2014-11-20 Torvald Riegel <triegel@redhat.com>
33277
33278 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33279 USE_ATOMIC_COMPILER_BUILTINS): Define.
33280 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33281 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33282 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33283 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33284 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33285 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33286 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33287 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33288 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33289 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33290 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33291 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33292 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33293 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33294 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33295 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33296 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33297 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33298 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33299 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33300 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33301 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33302 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33303 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33304 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33305 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33306 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33307 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33308 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33309 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33310 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33311 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33312 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33314 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33315 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33316 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33317 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33318 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33319 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33320
33321 2014-11-19 Roland McGrath <roland@hack.frob.com>
33322
33323 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33324 the sched_priority value here. It was already checked when the user
33325 called pthread_attr_setschedparam.
33326
33327 * nptl/tst-bad-schedattr.c: New file.
33328 * nptl/Makefile (tests): Add it.
33329
33330 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33331 Florian Weimer <fweimer@redhat.com>
33332 Joseph Myers <joseph@codesourcery.com>
33333 Adam Conrad <adconrad@0c3.net>
33334 Andreas Schwab <schwab@suse.de>
33335 Brooks <bmoses@google.com>
33336
33337 [BZ #17625]
33338 * wordexp-test.c (__dso_handle): Add prototype.
33339 (__register_atfork): Likewise.
33340 (__app_register_atfork): New function.
33341 (registered_forks): New global.
33342 (register_fork): New function.
33343 (test_case): Add 3 new tests for WRDE_CMDSUB.
33344 (main): Call __app_register_atfork.
33345 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33346 fork count is non-zero fail the test.
33347 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33348 is set.
33349 (parse_dollars): Remove check for WRDE_NOCMD.
33350 (parse_dquote): Likewise.
33351
33352 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33353
33354 * Makeconfig (built-modules): List non-library modules to be
33355 built.
33356 (module-cppflags): Include libc-modules.h for
33357 everything except shlib-versions.v.i.
33358 (CPPFLAGS): Use it.
33359 (before-compile): Add libc-modules.h.
33360 ($(common-objpfx)libc-modules.h,
33361 $(common-objpfx)libc-modules.stmp): New targets.
33362 (common-generated): Add libc-modules.h and libc-modules.stmp.
33363 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33364 * include/libc-symbols.h: Don't include libc-modules.h.
33365 * include/libc-modules.h: Remove file.
33366 * scripts/gen-libc-modules.awk: New script to generate
33367 libc-modules.h.
33368 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33369 Depend on libc-modules.stmp.
33370
33371 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33372
33373 * Makeconfig (in-module): Get value of libof set for the
33374 translation unit.
33375 (CPPFLAGS): Use $(in-module).
33376 * Makerules: Don't suffix routine names for nonlib.
33377 * include/libc-modules.h: New file.
33378 * include/libc-symbols.h: Include libc-modules.h
33379 (IS_IN): New macro to replace IS_IN_* macros.
33380 * elf/Makefile: Set libof-* for each routine.
33381 * elf/rtld-Rules: Likewise.
33382 * extra-modules.mk: Likewise.
33383 * iconv/Makefile: Likewise.
33384 * iconvdata/Makefile: Likewise.
33385 * locale/Makefile: Likewise.
33386 * malloc/Makefile: Likewise.
33387 * nss/Makefile: Likewise.
33388 * sysdeps/gnu/Makefile: Likewise.
33389 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33390 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33391 * sysdeps/s390/s390-64/Makefile: Likewise.
33392 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33393 CPPFLAGS for nscd instead of nonlib.
33394
33395 2014-11-18 Roland McGrath <roland@hack.frob.com>
33396
33397 * nptl/createthread.c: New file.
33398
33399 * nptl/createthread.c: Moved ...
33400 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33401
33402 * nptl/createthread.c: Add proper top-line comment.
33403 (do_clone): Folded into ...
33404 (create_thread): ... here. Take new arguments STOPPED_START and
33405 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33406 increment __nptl_threads, do event-reporting logic, do
33407 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33408 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33409 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33410 just send SIGCANCEL.
33411 * nptl/pthread_create.c: Forward-declare create_thread before
33412 including createthread.c.
33413 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33414 declaration, and new macro START_THREAD_SELF to replace argument.
33415 Remove return statement.
33416 (report_thread_creation): New function.
33417 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33418 synchronization logic, and __nptl_nthreads increment here, around
33419 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33420 PD->parent_cancelhandling here, before create_thread. When
33421 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33422 __deallocate_stack, and ENOMEM translation here.
33423
33424 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33425
33426 [BZ #17616]
33427 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33428 (mptwo): Rename to __mptwo.
33429 (__inv): Use __mptwo instead of mptwo.
33430 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33431 (mptwo): Rename to __mptwo.
33432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33433 of mpone and __mptwo instead of mptwo.
33434 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33435 instead of mpone.
33436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33437 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33438 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33439 of mpone and __mptwo instead of mptwo.
33440 (__mpranred): Use __mpone instead of mpone.
33441 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33442 variable.
33443 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33444 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33445 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33446 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33447 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33448 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33449 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33450 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33451 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33452 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33453 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33454 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33455 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33456 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33457 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33458 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33459 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33460 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33461 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33462
33463 2014-11-18 Tom de Vries <tom@codesoucery.com>
33464
33465 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33466 replace BSD Handler xref with BSD Signal Handling.
33467
33468 2014-11-17 Richard Henderson <rth@redhat.com>
33469
33470 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33471 (_FP_PACK_RAW_2): Remove.
33472 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33473 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33474 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33475 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33476 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33477 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33478 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33479 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33480 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33481 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33482 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33483 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33484 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33485 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33486 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33487 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33488
33489 2014-11-14 Roland McGrath <roland@hack.frob.com>
33490
33491 * signal/signal.h [__USE_MISC]
33492 (struct sigvec): Remove type.
33493 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33494 (sigvec): Remove declaration.
33495 * sysdeps/posix/sigvec.c: Moved ...
33496 * signal/sigvec.c: ... here, replacing old file.
33497 (struct sigvec): New type, copied from old signal.h definition.
33498 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33499 (__sigvec): Convert definition to prototype.
33500 (sigvec): Replace weak_alias with compat_symbol.
33501 * signal/Versions (libc: GLIBC_2.21): New version set.
33502 * include/signal.h: Remove __sigvec declaration.
33503 * sysdeps/unix/bsd/sigvec.c: Remove file.
33504 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33505 * manual/signal.texi (BSD Handler): Remove subsection.
33506 Move siginterrupt up to ...
33507 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33508 (Blocking in BSD): Fold subsection into its parent.
33509 * NEWS: Mention sigvec removal.
33510
33511 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33512
33513 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33514 (DLA_FMS): Make definition conditional only on [__FMA4__].
33515 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33516 definition.
33517
33518 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33519 Make definition conditional only on [PROF].
33520 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33521 definition.
33522 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33523 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33524
33525 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33526 !__GNUC__].
33527 * include/signal.h (__sigpause): Move declaration above call to
33528 libc_hidden_proto.
33529 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33530 variable.
33531 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33532 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33533
33534 2014-11-14 David S. Miller <davem@davemloft.net>
33535
33536 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33537 Define before including <string/memcpy.c> and <string/mempcpy.c>.
33538
33539 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33540
33541 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33542 * configure: Regenerated.
33543 * manual/install.texi (Tools for Compilation): Document a
33544 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33545 compiler verified to work.
33546 * INSTALL: Regenerated.
33547
33548 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33549 redeclare with asm name.
33550 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33551 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33552 including <string.h>.
33553 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33554 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33555 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33556 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33557 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33558 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33559 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33560
33561 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33562
33563 * stdlib/strtol.c (__strtol): Use prototype definition.
33564
33565 [BZ #17594]
33566 * stdlib/strtol.c (SYM__): New macro.
33567 (SYM__1): Likewise.
33568 (__strtol): Likewise.
33569 (strtol): Rename to __strtol and define as weak alias of
33570 __strtol. Use libc_hidden_weak.
33571
33572 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33573
33574 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33575 Use numbered labels in inline assembly.
33576
33577 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33578
33579 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33580 Add setjmp LIBC_PROBE.
33581 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33582 Likewise.
33583 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33584 Add longjmp, longjmp_target LIBC_PROBE.
33585 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33586 Likewise.
33587
33588 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33589
33590 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33591 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33592 to get rid of unused variable warning.
33593
33594 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33595
33596 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33597 Check for unwind_backtrace == NULL only in SHARED case.
33598 (__backchain_backtrace): Compile only in SHARED case.
33599 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33600 Likewise.
33601 (__backchain_backtrace): Declare as static.
33602
33603 2014-11-12 Roland McGrath <roland@hack.frob.com>
33604
33605 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33606 (__libc_multiple_threads_ptr): Variable moved ...
33607 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33608
33609 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33610
33611 * conform/GlibcConform.pm: New file.
33612 * conform/conformtest.pl: Use GlibcConform module.
33613 * conform/linknamespace.pl: New file.
33614 * conform/list-header-symbols.pl: Likewise.
33615 * conform/Makefile (linknamespace-symlists-base): New variable.
33616 (linknamespace-symlists-tests): Likewise.
33617 (linknamespace-header-base): Likewise.
33618 (linknamespace-header-tests): Likewise.
33619 (tests-special): Add new tests.
33620 ($(linknamespace-symlists-tests)): New rule.
33621 (linknamespace-libs): New variable.
33622 ($(objpfx)symlist-stdlibs): New rule.
33623 ($(linknamespace-header-tests)): Likewise.
33624 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33625 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33626 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33627 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33628 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33629 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33630 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33631 (test-xfail-ISO/math.h/linknamespace): Likewise.
33632 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33633 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33634 (test-xfail-ISO/time.h/linknamespace): Likewise.
33635 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33636 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33637 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33638 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33639 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33640 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33641 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33642 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33643 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33644 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33645 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33646 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33647 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33648 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33649 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33650 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33651 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33652 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33653 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33654 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33655 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33656 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33657 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33658 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33659 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33660 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33661 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33662 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33663 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33664 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33665 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33666 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33667 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33668 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33669 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33670 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33671 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33672 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33673 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33674 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33675 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33676 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33677 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33678 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33679 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33680 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33681 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33682 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33683 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33684 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33685 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33686 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33687 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33688 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33689 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33690 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33691 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33692 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33693 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33694 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33695 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33696 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33697 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33698 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33699 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33700 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33701 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33702 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33703 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33704 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33705 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33706 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33707 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33708 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33709 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33710 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33711 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33712 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33713 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33714 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33715 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33716 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33717 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33718 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33719 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33720 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33721 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33722 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33723 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33724 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33725 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33726 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33727 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33728 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33729 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33730 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33731 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33732 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33733 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33734 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33735 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33736 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33737 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33738 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33739 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33740 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33741 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33742 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33743 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33744 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33745 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33746 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33747 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33748 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33749 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33750 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33751 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33752 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33753 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33754 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33755 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33756 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33757 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33758 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33759 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33760 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33761 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33762 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33763 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33764 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33765 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33766 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33767 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33768 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33769 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33770 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33771 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33772 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33773 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33774 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33775 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33776 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33777 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33778 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33779 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33780 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33781 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33782 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33783 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33784 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33785
33786 [BZ #17589]
33787 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33788 of fgets_unlocked.
33789
33790 [BZ #17585]
33791 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33792 (memmem): Rename to __memmem and define as weak alias of
33793 __memmem. Use libc_hidden_weak.
33794 (__memmem): Use libc_hidden_def.
33795 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33796 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33797 memmem.
33798
33799 [BZ #17582]
33800 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33801 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33802 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33803 and define as weak alias of __fgets_unlocked. Use
33804 libc_hidden_weak.
33805 (__fgets_unlocked): Use libc_hidden_def.
33806 * include/stdio.h (__fgets_unlocked): Declare. Use
33807 libc_hidden_proto.
33808 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33809 __fgets_unlocked instead of fgets_unlocked.
33810 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33811 (GET_NPROCS_CONF_PARSER): Likewise.
33812 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33813 (GET_NPROCS_CONF_PARSER): Likewise.
33814
33815 [BZ #17574]
33816 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33817 weak alias of __wmemset. Use libc_hidden_weak.
33818 (__wmemset): Use libc_hidden_def.
33819 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33820 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33821 of wmemset.
33822
33823 [BZ #17573]
33824 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33825 with asm name __mempcpy.
33826 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33827
33828 [BZ #17572]
33829 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33830 and define as weak alias of __rawmemchr.
33831 (__rawmemchr): Do not define as strong alias of rawmemchr.
33832
33833 [BZ #17571]
33834 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33835 alias of __qsort_r.
33836 (qsort): Call __qsort_r instead of qsort_r.
33837 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33838 (__qsort_r): Declare. Call libc_hidden_proto.
33839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33840 instead of qsort_r.
33841 * nscd/gai.c (__qsort_r): Define to qsort_r.
33842 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33843 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33844 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33845
33846 [BZ #17570]
33847 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33848 define as weak alias of __malloc_info.
33849
33850 [BZ #17584]
33851 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33852 as weak alias of __rewinddir. Don't use libc_hidden_def.
33853 (__rewinddir): Use libc_hidden_def.
33854 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33855 as weak alias of __rewinddir. Don't use libc_hidden_def.
33856 (__rewinddir): Use libc_hidden_def.
33857 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33858 weak alias of __rewinddir. Don't use libc_hidden_def.
33859 (__rewinddir): Use libc_hidden_def.
33860 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33861 (__rewinddir): Use libc_hidden_proto.
33862 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33863 rewinddir.
33864 (__getcwd): Use __rewinddir instead of rewinddir.
33865
33866 [BZ #17583]
33867 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33868 alias of __fileno. Use libc_hidden_weak.
33869 (__fileno): Use libc_hidden_def.
33870 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33871 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33872 alias of __ftello.
33873 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33874 __ftello.
33875 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33876 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33877 libc_hidden_def.
33878 (fread_unlocked): Don't use libc_hidden_ver.
33879 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33880 and define as weak alias of __fread_unlocked. Don't use
33881 libc_hidden_def.
33882 (__fread_unlocked): Use libc_hidden_def.
33883 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33884 (ftello): Don't use libc_hidden_proto.
33885 (__ftello): Declare. Use libc_hidden_proto.
33886 (fread_unlocked): Don't use libc_hidden_proto.
33887 (__fread_unlocked): Declare. Use libc_hidden_proto.
33888 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33889 and __ftello instead of fileno, fread_unlocked and ftello.
33890
33891 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33892
33893 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33894 GOT12.
33895 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33896 Likewise.
33897 (_dl_start_user): Likewise.
33898 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33899
33900 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33901 Siddhesh Poyarekar <siddhesh@redhat.com>
33902
33903 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33904 Move argv and envp down instead of moving argc up.
33905 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33906
33907 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33908
33909 [BZ #17506]
33910 * test-skeleton.c (main): Return successful if one of
33911 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33912 * string/tst-strcoll-overflow.c: Define expected status.
33913
33914 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33915
33916 [BZ #17475]
33917 * locale/iso-639.def: Define Bhili and Tulu language codes.
33918
33919 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33920
33921 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33922
33923 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33924
33925 [BZ #17555]
33926 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33927
33928 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33929
33930 * configure.ac: Updated check of minimal required version to
33931 2.22.
33932 * manual/install.texi (Tools for Compilation): Updated version
33933 number.
33934 * configure: Regenerated.
33935 * INSTALL: Likewise.
33936
33937 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33938
33939 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33940 __tls_get_addr.
33941
33942 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33943
33944 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33945 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33946 (__waitpid): Don't define as alias. Use libc_hidden_def not
33947 libc_hidden_weak.
33948 (waitpid): Define as alias of __waitpid.
33949 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33950 __waitpid.
33951 (__waitpid): Don't define as alias. Use libc_hidden_def not
33952 libc_hidden_weak.
33953 (waitpid): Define as alias of __waitpid.
33954 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33955 __libc_waitpid alias.
33956 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33957 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33958 Likewise.
33959 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33960 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33961 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33962 alias.
33963 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33964 __waitpid.
33965 (__waitpid): Don't define as alias. Use libc_hidden_def not
33966 libc_hidden_weak.
33967 (waitpid): Define as alias of __waitpid.
33968
33969 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33970
33971 * manual/llio.texi: Add comment that write safety has been
33972 fixed in Linux.
33973
33974 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33975 (localplt-build-dso): Add elf/ld.so.
33976 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33977 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33978 and free for ld.so.
33979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33980 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33982 Likewise.
33983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33984 Likewise.
33985 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33986 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33987 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33988 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33989 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33990 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33991 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33992 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33993 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33994 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33995 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33996
33997 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33998
33999 [BZ #14132]
34000 * include/libc-symbols.h (INTUSE): Remove macro.
34001 (INTDEF): Likewise.
34002 (INTVARDEF): Likewise.
34003 (_INTVARDEF): Likewise.
34004 (INTDEF2): Likewise.
34005 (INTVARDEF2): Likewise.
34006 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34007 rtld_hidden_def instead of INTVARDEF.
34008 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34009 (_dl_starting_up_internal): Remove declaration.
34010 (_dl_starting_up): Use rtld_hidden_proto.
34011 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34012 declaration.
34013 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34014 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34015 _dl_starting_up.
34016 * elf/dl-writev.h (_dl_writev): Likewise.
34017 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34018 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34019 _dl_starting_up_internal.
34020
34021 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34022
34023 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34024 test-skeleton.c.
34025
34026 2014-11-05 Will Newton <will.newton@linaro.org>
34027
34028 * benchtests/Makefile: (bench-malloc): Add malloc thread
34029 scalability benchmark.
34030 * benchtests/bench-malloc-threads.c: New file.
34031
34032 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34033
34034 * sysdeps/aarch64/strchrnul.S: New file.
34035
34036 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34037
34038 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34039 definition.
34040 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34041 Likewise.
34042 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34043 Likewise.
34044 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34045 Likewise.
34046 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34047 Likewise.
34048 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34049 Likewise.
34050
34051 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34052
34053 * catgets/test-gencat.c: Use test-skeleton.c.
34054 * catgets/tst-catgets.c: Likewise.
34055 * csu/tst-empty.c: Likewise.
34056 * elf/tst-audit2.c: Likewise.
34057 * elf/tst-global1.c: Likewise.
34058 * elf/tst-pathopt.c: Likewise.
34059 * elf/tst-piemod1.c: Likewise.
34060 * elf/tst-tls10.c: Likewise.
34061 * elf/tst-tls11.c: Likewise.
34062 * elf/tst-tls12.c: Likewise.
34063 * gnulib/tst-gcc.c: Likewise.
34064 * iconvdata/tst-e2big.c: Likewise.
34065 * iconvdata/tst-loading.c: Likewise.
34066 * iconv/tst-iconv1.c: Likewise.
34067 * iconv/tst-iconv2.c: Likewise.
34068 * inet/test-inet6_opt.c: Likewise.
34069 * inet/tst-gethnm.c: Likewise.
34070 * inet/tst-network.c: Likewise.
34071 * inet/tst-ntoa.c: Likewise.
34072 * intl/tst-codeset.c: Likewise.
34073 * intl/tst-gettext2.c: Likewise.
34074 * intl/tst-gettext3.c: Likewise.
34075 * intl/tst-ngettext.c: Likewise.
34076 * intl/tst-translit.c: Likewise.
34077 * io/test-stat.c: Likewise.
34078 * libio/test-fmemopen.c: Likewise.
34079 * libio/tst-freopen.c: Likewise.
34080 * libio/tst-sscanf.c: Likewise.
34081 * libio/tst-ungetwc1.c: Likewise.
34082 * libio/tst-ungetwc2.c: Likewise.
34083 * libio/tst-widetext.c: Likewise.
34084 * localedata/tst-ctype.c: Likewise.
34085 * localedata/tst-digits.c: Likewise.
34086 * localedata/tst-leaks.c: Likewise.
34087 * localedata/tst-mbswcs1.c: Likewise.
34088 * localedata/tst-mbswcs2.c: Likewise.
34089 * localedata/tst-mbswcs3.c: Likewise.
34090 * localedata/tst-mbswcs4.c: Likewise.
34091 * localedata/tst-mbswcs5.c: Likewise.
34092 * localedata/tst-setlocale.c: Likewise.
34093 * localedata/tst-trans.c: Likewise.
34094 * localedata/tst-wctype.c: Likewise.
34095 * localedata/tst-xlocale1.c: Likewise.
34096 * login/tst-grantpt.c: Likewise.
34097 * malloc/tst-calloc.c: Likewise.
34098 * malloc/tst-malloc.c: Likewise.
34099 * malloc/tst-mallocstate.c: Likewise.
34100 * malloc/tst-mcheck.c: Likewise.
34101 * malloc/tst-mtrace.c: Likewise.
34102 * malloc/tst-obstack.c: Likewise.
34103 * math/atest-exp2.c: Likewise.
34104 * math/atest-exp.c: Likewise.
34105 * math/atest-sincos.c: Likewise.
34106 * math/test-matherr.c: Likewise.
34107 * math/test-misc.c: Likewise.
34108 * math/test-powl.c: Likewise.
34109 * math/tst-definitions.c: Likewise.
34110 * misc/tst-dirname.c: Likewise.
34111 * misc/tst-efgcvt.c: Likewise.
34112 * misc/tst-fdset.c: Likewise.
34113 * misc/tst-hsearch.c: Likewise.
34114 * misc/tst-mntent2.c: Likewise.
34115 * nptl/tst-sem7.c: Likewise.
34116 * nptl/tst-sem8.c: Likewise.
34117 * nptl/tst-sem9.c: Likewise.
34118 * nss/test-netdb.c: Likewise.
34119 * posix/tst-fnmatch.c: Likewise.
34120 * posix/tst-getlogin.c: Likewise.
34121 * posix/tst-gnuglob.c: Likewise.
34122 * posix/tst-mmap.c: Likewise.
34123 * pwd/tst-getpw.c: Likewise.
34124 * resolv/tst-inet_ntop.c: Likewise.
34125 * rt/tst-timer.c: Likewise.
34126 * stdio-common/test-fseek.c: Likewise.
34127 * stdio-common/test-popen.c: Likewise.
34128 * stdio-common/test-vfprintf.c: Likewise.
34129 * stdio-common/tst-cookie.c: Likewise.
34130 * stdio-common/tst-fileno.c: Likewise.
34131 * stdio-common/tst-gets.c: Likewise.
34132 * stdio-common/tst-obprintf.c: Likewise.
34133 * stdio-common/tst-perror.c: Likewise.
34134 * stdio-common/tst-sprintf2.c: Likewise.
34135 * stdio-common/tst-sprintf3.c: Likewise.
34136 * stdio-common/tst-sprintf.c: Likewise.
34137 * stdio-common/tst-swprintf.c: Likewise.
34138 * stdio-common/tst-tmpnam.c: Likewise.
34139 * stdio-common/tst-unbputc.c: Likewise.
34140 * stdio-common/tst-wc-printf.c: Likewise.
34141 * stdlib/tst-environ.c: Likewise.
34142 * stdlib/tst-fmtmsg.c: Likewise.
34143 * stdlib/tst-limits.c: Likewise.
34144 * stdlib/tst-rand48-2.c: Likewise.
34145 * stdlib/tst-rand48.c: Likewise.
34146 * stdlib/tst-random2.c: Likewise.
34147 * stdlib/tst-random.c: Likewise.
34148 * stdlib/tst-strtol.c: Likewise.
34149 * stdlib/tst-strtoll.c: Likewise.
34150 * stdlib/tst-tls-atexit.c: Likewise.
34151 * stdlib/tst-xpg-basename.c: Likewise.
34152 * string/test-ffs.c: Likewise.
34153 * string/tst-bswap.c: Likewise.
34154 * string/tst-inlcall.c: Likewise.
34155 * string/tst-strtok.c: Likewise.
34156 * string/tst-strxfrm.c: Likewise.
34157 * sysdeps/x86_64/tst-audit10.c: Likewise.
34158 * sysdeps/x86_64/tst-audit3.c: Likewise.
34159 * sysdeps/x86_64/tst-audit4.c: Likewise.
34160 * sysdeps/x86_64/tst-audit5.c: Likewise.
34161 * time/tst-ftime_l.c: Likewise.
34162 * time/tst-getdate.c: Likewise.
34163 * time/tst-mktime3.c: Likewise.
34164 * time/tst-mktime.c: Likewise.
34165 * time/tst-posixtz.c: Likewise.
34166 * time/tst-strptime2.c: Likewise.
34167 * time/tst-strptime3.c: Likewise.
34168 * wcsmbs/tst-btowc.c: Likewise.
34169 * wcsmbs/tst-mbrtowc.c: Likewise.
34170 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34171 * wcsmbs/tst-wchar-h.c: Likewise.
34172 * wcsmbs/tst-wcpncpy.c: Likewise.
34173 * wcsmbs/tst-wcrtomb.c: Likewise.
34174 * wcsmbs/tst-wcsnlen.c: Likewise.
34175 * wcsmbs/tst-wcstof.c: Likewise.
34176
34177 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34178
34179 [BZ #14132]
34180 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34181 INTDEF.
34182 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34183 declaration.
34184 (_dl_mcount): Use rtld_hidden_proto.
34185 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34186 _dl_mcount.
34187 * elf/rtld.c (_rtld_global_ro): Likewise.
34188
34189 [BZ #14132]
34190 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34191 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34192 of _dl_init_internal.
34193 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34194 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34195 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34196 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34197 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34198 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34199 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34200 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34201 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34202 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34203 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34204 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34205 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34206 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34207 * sysdeps/tile/dl-start.S (_start): Likewise.
34208 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34209 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34210
34211 [BZ #14132]
34212 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34213 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34214 (rtld_progname): Make macro definition unconditional.
34215 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34216 INTDEF.
34217 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34218 (dl_main): Likewise.
34219 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34220 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34221 instead of _dl_argv_internal.
34222 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34223 __GI__dl_argv instead of INTUSE(_dl_argv).
34224 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34225 __GI__dl_argv instead of _dl_argv_internal.
34226
34227 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34228 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34229 macro.
34230 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34231 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34232 New macro.
34233 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34234 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34235 macro.
34236 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34237 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34238
34239 2014-11-04 Andreas Schwab <schwab@suse.de>
34240
34241 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34242
34243 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34244
34245 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34246 mtvsrd instruction in binary form.
34247
34248 2014-11-03 Andreas Schwab <schwab@suse.de>
34249
34250 [BZ #17522]
34251 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34252 for less than MB_LEN_MAX use a local buffer of that size.
34253 * libio/tst-fputws.c: New file.
34254 * libio/Makefile (tests): Add tst-fputws.
34255
34256 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34257
34258 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34259 the size of the fpu_fr.fpu_dregs[] array.
34260
34261 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34262
34263 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34264 (__nanosleep): Do not define as alias.
34265 (nanosleep): Define as alias of __nanosleep.
34266 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34267 __libc_nanosleep name.
34268
34269 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34270
34271 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34272 install.texi in comment.
34273
34274 2014-10-31 Torvald Riegel <triegel@redhat.com>
34275
34276 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34277 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34278 ... add here and use lwsync or sync ...
34279 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34280 ... and add here using lwsync.
34281
34282 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34283
34284 * elf/dl-machine-reject-phdr.h: New file.
34285 * elf/dl-load.c: #include that.
34286 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34287 if that returned true.
34288
34289 2014-10-31 Roland McGrath <roland@hack.frob.com>
34290
34291 [BZ #17496]
34292 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34293 gen-as-const-headers chunk. Add a big scare comment after the last
34294 safe place to touch before-compile.
34295
34296 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34297
34298 * manual/install.texi (Tools for Compilation): Update autoconf
34299 version requirements.
34300 * INSTALL: Regenerated.
34301
34302 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34303 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34304 (__libc_pselect): Likewise.
34305
34306 [BZ #14138]
34307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34311
34312 2014-10-31 Torvald Riegel <triegel@redhat.com>
34313
34314 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34315 correct barrier instruction.
34316 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34317 Likewise.
34318 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34319 Likewise.
34320
34321 2014-10-30 Roland McGrath <roland@hack.frob.com>
34322
34323 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34324 after defining inlines. Instead, just use parens to defeat macro
34325 expansion of __isctype in its declaration.
34326
34327 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34328
34329 * include/sys/uio.h (__libc_readv): Remove declaration.
34330 (__libc_writev): Likewise.
34331 * misc/readv.c (__libc_readv): Rename to __readv.
34332 (__readv): Do not define as alias.
34333 (readv): Define as alias of __readv.
34334 * misc/writev.c (__libc_writev): Rename to __writev.
34335 (__writev): Do not define as alias.
34336 (writev): Define as alias of __writev.
34337 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34338 (__readv): Do not define as alias.
34339 (readv): Define unconditionally as alias of __readv.
34340 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34341 (__writev): Do not define as alias.
34342 (writev): Define unconditionally as alias of __writev.
34343 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34344 name.
34345 (writev): Do not define __libc_writev name.
34346
34347 2014-10-30 Roland McGrath <roland@hack.frob.com>
34348
34349 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34350 (convert_charseq): New function, broken out of ...
34351 (use_from_charmap): ... here. Call it.
34352 (use_to_charmap): Use convert_charseq and free instead of duplicating
34353 its code with a variable-length stack struct.
34354
34355 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34356
34357 * include/fcntl.h (__libc_creat): Remove declaration.
34358 * io/creat.c (__libc_creat): Rename to creat.
34359 (creat): Do not define as alias.
34360 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34361 of creat instead of __libc_creat.
34362 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34363 to creat.
34364 (creat): Do not define as alias.
34365 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34366 __libc_creat.
34367 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34368 __libc_creat name.
34369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34370 Likewise.
34371
34372 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34373
34374 * manual/llio.texi: Add comments discussing why write() may be
34375 considered MT-unsafe on Linux.
34376
34377 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34378
34379 * dl-load.c (local_strdup): Remove.
34380 (expand_dynamic_string_token): Use __strdup.
34381 (decompose_rpath): Likewise.
34382 (_dl_map_object): Likewise.
34383
34384 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34385
34386 [BZ #14132]
34387 * sysdeps/generic/unwind-dw2-fde.c
34388 (__register_frame_info_bases_internal): Do not declare.
34389 (__register_frame_info_table_bases_internal): Likewise.
34390 (__deregister_frame_info_bases_internal): Likewise.
34391 (__register_frame_info_bases): Declare and use hidden_proto before
34392 definition. Use hidden_def instead of INTDEF.
34393 (__register_frame_info_table_bases): Likewise.
34394 (__deregister_frame_info_bases): Likewise.
34395 (__register_frame_info): Do not use INTUSE.
34396 (__register_frame): Likewise.
34397 (__register_frame_info_table): Likewise.
34398 (__register_frame_table): Likewise.
34399 (__deregister_frame_info): Likewise.
34400 (__deregister_frame): Likewise.
34401
34402 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34403
34404 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34405 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34406 not undefine.
34407 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34408 Likewise.
34409 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34410 Likewise.
34411
34412 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34413
34414 [BZ #14138]
34415 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34416 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34417 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34418 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34419 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34420 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34421 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34422 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34423 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34424 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34425 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34426 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34427 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34428 syscall.
34429 (setfsuid): Likewise.
34430 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34431 (setfsuid): Likewise.
34432 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34433 (setfsuid): Likewise.
34434 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34435 Likewise.
34436 (setfsuid): Likewise.
34437 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34438 (setfsuid): Likewise.
34439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34440 Likewise.
34441 (setfsuid): Likewise.
34442
34443 2014-10-27 Andreas Schwab <schwab@suse.de>
34444
34445 [BZ #17501]
34446 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34447 check for Slow_SSE4_2 feature bit.
34448 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34449 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34450 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34451 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34452
34453 2014-10-24 Roland McGrath <roland@hack.frob.com>
34454
34455 * configure.ac: Validate compiler version with a empirical test of
34456 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34457 $CC -v output.
34458 * configure: Regenerated.
34459
34460 * inet/htons.c (htons): Prototypify.
34461 * inet/htonl.c (htonl): Likewise.
34462
34463 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34464
34465 * string/strncat.c (strncat): Improve performance by using strlen.
34466
34467 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34468
34469 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34470
34471 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34472
34473 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34474 Call libc_fetestexcept_aarch64.
34475
34476 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34477
34478 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34479 Call libc_feholdexcept_aarch64.
34480
34481 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34482
34483 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34484 Call get_rounding_mode.
34485
34486 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34487
34488 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34489 Simplify logic.
34490
34491 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34492
34493 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34494 Simplify logic.
34495
34496 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34497
34498 [BZ #14138]
34499 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34500 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34501 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34502 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34503 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34504 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34505 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34506 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34507 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34508 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34509 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34510 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34511 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34512 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34513 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34514 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34515 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34516 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34517 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34518 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34519 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34520 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34521 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34522 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34523 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34524 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34525 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34526 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34527 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34528 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34529 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34530 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34531 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34532 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34533 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34534 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34535 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34536 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34537 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34538 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34539 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34540 syscall.
34541 (geteuid): Likewise.
34542 (getgid): Likewise.
34543 (getuid): Likewise.
34544 (getresgid): Likewise.
34545 (getresuid): Likewise.
34546 (getgroups): Likewise.
34547 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34548 (geteuid): Likewise.
34549 (getgid): Likewise.
34550 (getuid): Likewise.
34551 (getresgid): Likewise.
34552 (getresuid): Likewise.
34553 (getgroups): Likewise.
34554 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34555 (geteuid): Likewise.
34556 (getgid): Likewise.
34557 (getuid): Likewise.
34558 (getresgid): Likewise.
34559 (getresuid): Likewise.
34560 (getgroups): Likewise.
34561 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34562 Likewise.
34563 (geteuid): Likewise.
34564 (getgid): Likewise.
34565 (getuid): Likewise.
34566 (getresgid): Likewise.
34567 (getresuid): Likewise.
34568 (getgroups): Likewise.
34569 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34570 (geteuid): Likewise.
34571 (getgid): Likewise.
34572 (getuid): Likewise.
34573 (getresgid): Likewise.
34574 (getresuid): Likewise.
34575 (getgroups): Likewise.
34576 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34577 Likewise.
34578 (geteuid): Likewise.
34579 (getgid): Likewise.
34580 (getuid): Likewise.
34581 (getgroups): Likewise.
34582
34583 [BZ #14138]
34584 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34585 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34586 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34587 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34588 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34589 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34590 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34591 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34592 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34593 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34594 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34595 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34596 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34597 __chown.
34598 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34599 (lchown): Likewise.
34600 (fchown): Likewise.
34601 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34602 Likewise.
34603 (lchown): Likewise.
34604 (fchown): Likewise.
34605 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34606 (lchown): Likewise.
34607 (fchown): Likewise.
34608 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34609 Likewise.
34610 (lchown): Likewise.
34611 (fchown): Likewise.
34612
34613 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34614
34615 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34616 Simplify logic.
34617
34618 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34619
34620 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34621 Cleanup logic.
34622
34623 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34624
34625 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34626 Remove unused include.
34627
34628 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34629
34630 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34632 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34633 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34634
34635 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34636 Helge Deller <deller@gmx.de>
34637
34638 [BZ #17508]
34639 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34640 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34641 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34642
34643 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34644
34645 [BZ #14132]
34646 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34647 Remove macro definition.
34648 (__ashrdi3_v_glibc20): Likewise.
34649 (__lshrdi3_v_glibc20): Likewise.
34650 (__cmpdi2_v_glibc20): Likewise.
34651 (__ucmpdi2_v_glibc20): Likewise.
34652 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34653 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34654 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34655 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34656 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34657 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34658
34659 2014-10-22 Roland McGrath <roland@hack.frob.com>
34660
34661 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34662 old GNU extension [0] syntax.
34663 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34664 alloca rather than an array member with variable length.
34665 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34666 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34667 (parse_opt): ... here. Likewise use alloca there.
34668 Validate the -i argument before checking for rootness.
34669 (send_shutdown): New function, broken out of ...
34670 (parse_opt): ... here.
34671
34672 2014-10-22 Roland McGrath <roland@hack.frob.com>
34673
34674 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34675 macro to get at the _rt_local_ro field.
34676 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34677 ([PIC] case) or _dl_hwcap ([!PIC] case).
34678 * sysdeps/arm/setjmp.S: Likewise.
34679
34680 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34681 * sysdeps/arm/configure.ac: New check to define it.
34682 * sysdeps/arm/configure: Regenerated.
34683 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34684 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34685 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34686 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34687 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34688 Use move/movt pair instead of a load.
34689 (LDST_GLOBAL): Macro removed.
34690 (LDR_GLOBAL): New macro replaces it.
34691 (LDR_HIDDEN): New macro.
34692 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34693 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34694
34695 * setjmp/tst-setjmp-static.c: New file.
34696 * setjmp/Makefile (tests): Add it.
34697 (tests-static): New variable.
34698
34699 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34700
34701 [BZ #17485]
34702 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34703
34704 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34705
34706 [BZ #14132]
34707 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34708
34709 2014-10-21 Roland McGrath <roland@hack.frob.com>
34710
34711 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34712
34713 2014-10-20 Roland McGrath <roland@hack.frob.com>
34714
34715 * io/fts.c (dirent_not_directory): New function.
34716 (fts_build): Call it.
34717
34718 2014-10-20 Roland McGrath <roland@hack.frob.com>
34719
34720 * nptl/version.c (__nptl_main): Use normal __write rather than
34721 INTERNAL_SYSCALL.
34722 (banner): Update copyright years.
34723
34724 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34725 gettimeofday.
34726 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34727 * nptl/pthread_cond_timedwait.c: Likewise.
34728 * nptl/pthread_mutex_timedlock.c: Likewise.
34729 * nptl/sem_timedwait.c: Likewise.
34730
34731 * sysdeps/nptl/bits/libc-lock.h
34732 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34733 (__libc_lock_init_recursive): Return void, not 0.
34734 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34735 (__libc_rwlock_init): Likewise.
34736 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34737
34738 2014-10-20 Torvald Riegel <triegel@redhat.com>
34739
34740 [BZ #15215]
34741 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34742 (__pthread_once_slow): ... here.
34743 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34744 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34745
34746 2014-10-20 Torvald Riegel <triegel@redhat.com>
34747
34748 [BZ #15215]
34749 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34750 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34751 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34752 * nptl/pthread_once.c (__pthread_once): Likewise.
34753 Update comments.
34754
34755 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34756
34757 [BZ #14138]
34758 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34759 name.
34760 (writev): Use __libc_writev as strong name.
34761 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34762 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34763
34764 2014-10-17 Roland McGrath <roland@hack.frob.com>
34765
34766 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34767
34768 * sysdeps/i386/nptl/tls.h
34769 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34770 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34771 New macros.
34772 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34773 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34774 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34775 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34776 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34777 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34778
34779 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34780 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34781 on [__NR_futex].
34782 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34783 broken out of ...
34784 (__pthread_mutex_init): ... here. Call it.
34785 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34786 Conditionalize PI cases on [__NR_futex].
34787 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34788 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34789 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34790
34791 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34792 conditional on [SIGSETXID].
34793 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34794 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34795 is defined. Likewise for SIGSETXID.
34796 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34797 Conditionalize definitions on [SIGSETXID].
34798 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34799 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34800 unblocking on [SIGCANCEL].
34801
34802 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34803 [__NR_set_robust_list].
34804
34805 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34806
34807 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34808 (do_compare): Likewise.
34809
34810 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34811
34812 [BZ #15884]
34813 * string/strcoll_l.c: Don't include stdio.h.
34814 (coll_seq): Remove members idxarr and rulearr.
34815 (get_next_seq_cached): Remove function.
34816 (get_next_seq): Likewise.
34817 (get_next_seq_nocache): Rename to get_next_seq.
34818 (do_compare): Remove function.
34819 (do_compare_nocache): Rename to do_compare.
34820 (STRCOLL): Remove weight and rules cache.
34821
34822 2014-10-16 Roland McGrath <roland@hack.frob.com>
34823
34824 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34825 * sysdeps/arm/sfp-machine.h: ... to here.
34826 * sysdeps/arm/Implies: Remove arm/soft-fp.
34827
34828 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34829
34830 * conform/data/sys/utsname.h-data (*_t): Allow.
34831 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34832 [POSIX] (WEXITED): Do not expect constant.
34833 [POSIX] (WSTOPPED): Likewise.
34834 [POSIX] (WNOHANG): Likewise.
34835 [POSIX] (WNOWAIT): Likewise.
34836 [POSIX] (siginfo_t): Do not expect type or elements.
34837 [POSIX] (pid_t): Do not expect type.
34838 [POSIX] (signal.h): Do not allow header.
34839 [POSIX] (sys/resource.h): Likewise.
34840 [POSIX] (si_*): Do not allow pattern.
34841 [POSIX] (W*): Likewise.
34842 [POSIX] (P_*): Likewise.
34843 [POSIX] (BUS_*): Likewise.
34844 [POSIX] (CLD_*): Likewise.
34845 [POSIX] (FPE_*): Likewise.
34846 [POSIX] (ILL_*): Likewise.
34847 [POSIX] (POLL_*): Likewise.
34848 [POSIX] (SEGV_*): Likewise.
34849 [POSIX] (SI_*): Likewise.
34850 [POSIX] (TRAP_*): Likewise.
34851 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34852 variable.
34853
34854 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34855
34856 [BZ #12926]
34857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34858 infinite loop when __recvmsg returns 0.
34859
34860 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34861
34862 * CANCEL-FCT-WAIVE: Remove file.
34863 * CANCEL-FILE-WAIVE: Likewise.
34864
34865 [BZ #14132]
34866 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34867 instead of INTVARDEF.
34868 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34869 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34870 rtld_hidden_data_def instead of INTVARDEF.
34871 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34872 * elf/dl-deps.c (expand_dst): Likewise.
34873 * elf/dl-load.c (_dl_dst_count): Likewise.
34874 (_dl_dst_substitute): Likewise.
34875 (decompose_rpath): Likewise.
34876 (_dl_init_paths): Likewise.
34877 (open_path): Likewise.
34878 (_dl_map_object): Likewise.
34879 * elf/rtld.c (dl_main): Likewise.
34880 (process_dl_audit): Likewise.
34881 (process_envvars): Likewise.
34882 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34883 Remove declaration.
34884 (__libc_enable_secure): Use rtld_hidden_proto.
34885
34886 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34887
34888 * elf/dl-load.c
34889 (add_path): New function broken out of _dl_rtld_di_serinfo.
34890 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34891
34892 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34893
34894 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34895 parentheses around macro arguments.
34896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34899 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34900 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34901 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34902 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34904 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34906 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34907 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34908 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34909 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34910 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34911 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34912 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34920 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34923 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34924 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34925 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34926 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34927 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34928 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34929 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34930 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34931 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34932 Likewise.
34933 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34934 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34935 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34939 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34940 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34941 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34942 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34943 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34944 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34945 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34947 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34948 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34949 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34950 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34951 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34952 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34953 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34954 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34955 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34956 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34957 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34958 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34959 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34960 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34961 (_FP_FRAC_SRS_1): Likewise.
34962 (_FP_FRAC_CLZ_1): Likewise.
34963 (_FP_MUL_MEAT_1_imm): Likewise.
34964 (_FP_MUL_MEAT_1_wide): Likewise.
34965 (_FP_MUL_MEAT_1_hard): Likewise.
34966 (_FP_SQRT_MEAT_1): Likewise.
34967 (_FP_FRAC_ASSEMBLE_1): Likewise.
34968 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34969 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34970 (__FP_CLZ_2): Likewise.
34971 (_FP_MUL_MEAT_2_wide): Likewise.
34972 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34973 (_FP_MUL_MEAT_2_gmp): Likewise.
34974 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34975 (_FP_SQRT_MEAT_2): Likewise.
34976 (_FP_FRAC_ASSEMBLE_2): Likewise.
34977 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34978 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34979 (_FP_FRAC_CLZ_4): Likewise.
34980 (_FP_MUL_MEAT_4_wide): Likewise.
34981 (_FP_MUL_MEAT_4_gmp): Likewise.
34982 (_FP_SQRT_MEAT_4): Likewise.
34983 (_FP_FRAC_ASSEMBLE_4): Likewise.
34984 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34985 * soft-fp/op-common.h (_FP_CMP): Likewise.
34986 (_FP_CMP_EQ): Likewise.
34987 (_FP_CMP_UNORD): Likewise.
34988 (_FP_TO_INT): Likewise.
34989 (_FP_FROM_INT): Likewise.
34990 [!__FP_CLZ] (__FP_CLZ): Likewise.
34991 (_FP_DIV_HELP_imm): Likewise.
34992 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34993 Likewise.
34994 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34995 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34996 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34997 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34998 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34999 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35000 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35001 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35002 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35003 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35004 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35005 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35006 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35007 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35008 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35009 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35010 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35012 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35013 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35014 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35015 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35016 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35017 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35018 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35019 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35020 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35021 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35022 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35023 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35024 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35025 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35026 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35027 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35028 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35029 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35030 (FP_UNPACK_RAW_SP): Likewise.
35031 (FP_PACK_RAW_S): Likewise.
35032 (FP_PACK_RAW_SP): Likewise.
35033 (FP_UNPACK_S): Likewise.
35034 (FP_UNPACK_SP): Likewise.
35035 (FP_UNPACK_SEMIRAW_S): Likewise.
35036 (FP_UNPACK_SEMIRAW_SP): Likewise.
35037 (FP_PACK_S): Likewise.
35038 (FP_PACK_SP): Likewise.
35039 (FP_PACK_SEMIRAW_S): Likewise.
35040 (FP_PACK_SEMIRAW_SP): Likewise.
35041 (_FP_SQRT_MEAT_S): Likewise.
35042 (FP_CMP_S): Likewise.
35043 (FP_CMP_EQ_S): Likewise.
35044 (FP_CMP_UNORD_S): Likewise.
35045 (FP_TO_INT_S): Likewise.
35046 (FP_FROM_INT_S): Likewise.
35047
35048 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35049
35050 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35051 (FP_EX_INVALID_IMZ): Likewise.
35052 (FP_EX_INVALID_IMZ_FMA): Likewise.
35053 (FP_EX_INVALID_ISI): Likewise.
35054 (FP_EX_INVALID_ZDZ): Likewise.
35055 (FP_EX_INVALID_IDI): Likewise.
35056 (FP_EX_INVALID_SQRT): Likewise.
35057 (FP_EX_INVALID_CVI): Likewise.
35058 (FP_EX_INVALID_VC): Likewise.
35059 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35060 "invalid" exceptions.
35061 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35062 (_FP_ADD_INTERNAL): Likewise.
35063 (_FP_MUL): Likewise.
35064 (_FP_FMA): Likewise.
35065 (_FP_DIV): Likewise.
35066 (_FP_CMP_CHECK_NAN): Likewise.
35067 (_FP_SQRT): Likewise.
35068 (_FP_TO_INT): Likewise.
35069 (FP_EXTEND): Likewise.
35070
35071 2014-10-09 Allan McRae <allan@archlinux.org>
35072
35073 * po/fr.po: Update French translation from translation project.
35074
35075 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35076
35077 [BZ #14132]
35078 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35079 of INTDEF.
35080 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35081 (__cxa_atexit): Use libc_hidden_proto.
35082 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35083
35084 [BZ #14132]
35085 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35086 declaration.
35087 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35088 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35089 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35090 [!_ISOMAC] (__iswctype_internal): Likewise.
35091 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35092 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35093 alias.
35094 (fcntl): Remove __fcntl_internal alias.
35095 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35096 __connect_internal alias.
35097 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35098 Likewise.
35099
35100 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35101 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35102 FP_DENORM_ZERO.
35103 (_FP_CHECK_FLUSH_ZERO): New macro.
35104 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35105 (_FP_CMP): Likewise.
35106 (_FP_CMP_EQ): Likewise.
35107 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35108 FP_DENORM_ZERO.
35109 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35110 (FP_TRUNC): Likewise.
35111
35112 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35113 treated as invalid conversion, not as normal exponent.
35114
35115 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35116 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35117 (_FP_CMP_EQ): Likewise.
35118 (_FP_CMP_UNORD): Likewise.
35119 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35120 (FP_CMP_EQ_D): Likewise.
35121 (FP_CMP_UNORD_D): Likewise.
35122 * soft-fp/extended.h (FP_CMP_E): Likewise.
35123 (FP_CMP_EQ_E): Likewise.
35124 (FP_CMP_UNORD_E): Likewise.
35125 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35126 (FP_CMP_EQ_Q): Likewise.
35127 (FP_CMP_UNORD_Q): Likewise.
35128 * soft-fp/single.h (FP_CMP_S): Likewise.
35129 (FP_CMP_EQ_S): Likewise.
35130 (FP_CMP_UNORD_S): Likewise.
35131 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35132 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35133 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35134 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35135 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35136 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35137 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35138 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35139 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35140 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35141 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35142 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35143 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35144 to FP_CMP_Q.
35145 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35146 FP_CMP_Q.
35147 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35148 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35149 FP_CMP_EQ_Q.
35150 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35151 FP_CMP_Q.
35152 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35153 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35154 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35155 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35156 FP_CMP_EQ_Q.
35157 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35158 FP_CMP_Q.
35159 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35160 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35161 FP_CMP_EQ_Q.
35162 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35163 FP_CMP_Q.
35164 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35165 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35166 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35167 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35168 FP_CMP_EQ_Q.
35169
35170 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35171 a subnormal result, set the underflow exception if trapping on
35172 underflow is enabled.
35173 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35174 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35175 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35176 redefine to 0.
35177 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35178 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35179 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35180 * soft-fp/extendxftf2.c (__extendxftf2): Use
35181 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35182
35183 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35184 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35185 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35186 FP_HANDLE_EXCEPTIONS.
35187 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35188 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35189 FP_HANDLE_EXCEPTIONS.
35190 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35191 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35192 FP_HANDLE_EXCEPTIONS.
35193 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35194 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35195 FP_HANDLE_EXCEPTIONS.
35196
35197 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35198
35199 [BZ #14132]
35200 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35201 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35202 use INTUSE.
35203 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35204 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35205 Remove alias.
35206 (__adjtimex): Define using libc_hidden_ver.
35207 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35208 Remove declaration.
35209 (ntp_gettime): Call __adjtimex directly.
35210 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35211 Remove declaration.
35212 (ntp_gettimex): Call __adjtimex directly.
35213 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35214 __adjtimex_internal alias.
35215
35216 2014-10-08 Roland McGrath <roland@hack.frob.com>
35217
35218 [BZ #17460]
35219 * nscd/nscd.c (more_help): Rewrite list of tables collection
35220 using xstrdup and asprintf.
35221
35222 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35223
35224 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35225 Roland McGrath <roland@hack.frob.com>
35226
35227 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35228 (do_lookup_unique): ... local function 'enter' here; update callers.
35229
35230 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35231
35232 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35233 compat_symbol calls on [SHARED].
35234 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35235 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35236 Remove.
35237 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35238 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35239 (oldsetrlimit): Remove.
35240 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35242 (lchown): New syscall entry.
35243 (oldsetrlimit): Remove.
35244 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35245 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35246 (oldsetrlimit): Remove.
35247 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35248
35249 [BZ #14138]
35250 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35251 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35252 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35253 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35254 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35255 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35256 (fchown): Likewise.
35257 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35258 (fchown): Likewise.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35260 Likewise.
35261
35262 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35263
35264 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35265 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35266 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35267 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35268 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35269 Likewise.
35270 (__old_sem_post): Likewise.
35271
35272 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35273
35274 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35275 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35276 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35277 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35278 Use INLINE_VSYSCALL macro.
35279 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35280 __vdso_clock_gettime.
35281 * sysdeps/unix/sysv/linux/tile/init-first.c
35282 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35283 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35284 __vdso_clock_gettime.
35285
35286 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35287 to set up frame more cleanly.
35288
35289 * sysdeps/tile/memcmp.c: New file.
35290
35291 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35292
35293 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35294 * sysdeps/tile/tilegx/strcasestr.c: New file.
35295 * sysdeps/tile/tilegx/strnlen.c: New file.
35296 * sysdeps/tile/tilegx/strstr.c: New file.
35297
35298 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35299
35300 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35301
35302 * nptl/tst-setuid3.c: Write errors to stdout.
35303
35304 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35305
35306 * elf/dl-deps.c
35307 (preload): New functions broken out of _dl_map_object_deps.
35308 (_dl_map_object_deps): Remove a nested function. Update call sites.
35309
35310 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35311
35312 [BZ #14138]
35313 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35314 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35315
35316 2014-10-01 Steve Ellcey <sellcey@mips.com>
35317
35318 * sysdeps/mips/strcmp.S: New.
35319
35320 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35321
35322 [BZ #14138]
35323 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35324 (linkat): Likewise.
35325 (mkdirat): Likewise.
35326 (readlinkat): Likewise.
35327 (renameat): Likewise.
35328 (symlinkat): Likewise.
35329 (unlinkat): Likewise.
35330 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35331 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35332 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35333 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35334 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35335 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35336 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35337
35338 2014-09-30 Will Newton <will.newton@linaro.org>
35339
35340 * math/math.h: Define long double math functions if
35341 _LIBC_TEST is defined.
35342 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35343
35344 * localedata/Makefile: Move assignment to tests-special
35345 into an ifdef testing run-built-tests.
35346 * timezone/Makefile: Likewise.
35347
35348 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35349
35350 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35351 with $(BASH) not $(SHELL).
35352
35353 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35354 Matthew LeGendre <legendre1@llnl.gov>
35355
35356 [BZ #17411]
35357 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35358 l_reloc_result.
35359
35360 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35361
35362 * stdio-common/printf_fp.c
35363 (hack_digit): New function, broken out of ...
35364 (__printf_fp): ... local function here. Update call sites.
35365 hack_digit now takes an additional parameter that is a pointer
35366 to a struct of the referenced locals. Those locals moved inside
35367 the struct and references updated.
35368
35369 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35370
35371 * aclocal.m4: Require autoconf 2.69.
35372 * configure: Regenerated.
35373 * sysdeps/aarch64/configure: Likewise.
35374 * sysdeps/alpha/configure: Likewise.
35375 * sysdeps/arm/armv7/configure: Likewise.
35376 * sysdeps/arm/configure: Likewise.
35377 * sysdeps/ia64/configure: Likewise.
35378 * sysdeps/mach/configure: Likewise.
35379 * sysdeps/mips/configure: Likewise.
35380 * sysdeps/s390/configure: Likewise.
35381 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35383
35384 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35385 file.
35386 * sysdeps/ia64/configure.ac: Likewise.
35387
35388 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35389
35390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35391 specify symbol version for ld.so. Do not include entry for
35392 libpthread.
35393 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35395 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35396
35397 [BZ #14171]
35398 * Makeconfig [$(build-shared) = yes]
35399 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35400 makefiles.
35401 [$(build-shared) = yes && $(soversions.mk-done) = t]
35402 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35403 [$(build-shared) = yes && $(soversions.mk-done) = t]
35404 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35405 to Makerules.
35406 [$(build-shared) = yes && $(soversions.mk-done) = t]
35407 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35408 here.
35409 [$(build-shared) = yes && $(soversions.mk-done) = t]
35410 (common-generated): Don't append gnu/lib-names.h and
35411 gnu/lib-names.stmp here.
35412 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35413 (lib-names-h-abi): New variable.
35414 [$(build-shared) = yes && $(soversions.mk-done) = t]
35415 (lib-names-stmp-abi): Likewise.
35416 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35417 abi-variants] (before-compile): Append
35418 $(common-objpfx)$(lib-names-h-abi).
35419 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35420 abi-variants] (common-generated): Append gnu/lib-names.h.
35421 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35422 abi-variants] (install-others-nosubdir): Depend on
35423 $(inst_includedir)/$(lib-names-h-abi).
35424 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35425 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35426 [$(build-shared) = yes && $(soversions.mk-done) = t]
35427 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35428 [$(build-shared) = yes && $(soversions.mk-done) = t]
35429 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35430 [$(build-shared) = yes && $(soversions.mk-done) = t]
35431 (common-generated): Append $(lib-names-h-abi) and
35432 $(lib-names-stmp-abi).
35433 * scripts/lib-names.awk: Do not handle multi being set.
35434 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35435 Remove variable.
35436 (abi-lp64_be-ld-soname): Likewise.
35437 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35438 Likewise.
35439 (abi-hard-ld-soname): Likewise.
35440 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35441 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35442 Remove variable.
35443 (abi-o32_hard-ld-soname): Likewise.
35444 (abi-o32_soft_2008-ld-soname): Likewise.
35445 (abi-o32_hard_2008-ld-soname): Likewise.
35446 (abi-n32_soft-ld-soname): Likewise.
35447 (abi-n32_hard-ld-soname): Likewise.
35448 (abi-n32_soft_2008-ld-soname): Likewise.
35449 (abi-n32_hard_2008-ld-soname): Likewise.
35450 (abi-n64_soft-ld-soname): Likewise.
35451 (abi-n64_hard-ld-soname): Likewise.
35452 (abi-n64_soft_2008-ld-soname): Likewise.
35453 (abi-n64_hard_2008-ld-soname): Likewise.
35454 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35455 Likewise.
35456 (abi-64-v2-ld-soname): Likewise.
35457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35458 ld.so entries.
35459 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35460 variable.
35461 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35462 entry.
35463 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35464 variable.
35465 (abi-64-ld-soname): Likewise.
35466 (abi-x32-ld-soname): Likewise.
35467 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35468 entry.
35469 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35470
35471 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35472
35473 [BZ #14138]
35474 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35475 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35476 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35477 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35478 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35479 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35480 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35481 syscall entry for GLIBC_2.2 symbol version.
35482 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35483 Likewise.
35484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35485 (setrlimit): Likewise.
35486 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35487 Likewise.
35488
35489 2014-09-23 Will Newton <will.newton@linaro.org>
35490
35491 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35492 _LINUX_ARM_SYSDEP_H include guard too.
35493 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35494 define.
35495
35496 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35497
35498 * sysdeps/unix/sysv/linux/eventfd.c:
35499 Make first argument unsigned.
35500 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35501 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35502
35503 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35504
35505 [BZ #16852]
35506 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35507 * socket/sys/socket.h: Likewise.
35508 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35509
35510 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35511
35512 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35513
35514 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
35515
35516 * time/tst-ftime.c: New test.
35517 * time/Makefile (tests): Add tst-ftime.
35518
35519 2014-09-17 Joseph Myers <joseph@codesourcery.com>
35520
35521 * soft-fp/extended.h: Fix comment formatting.
35522 * soft-fp/op-1.h: Likewise.
35523 * soft-fp/op-2.h: Likewise.
35524 * soft-fp/op-4.h: Likewise.
35525 * soft-fp/op-8.h: Likewise.
35526 * soft-fp/op-common.h: Likewise.
35527 * soft-fp/soft-fp.h: Likewise.
35528
35529 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35530
35531 2014-09-16 Joseph Myers <joseph@codesourcery.com>
35532
35533 [BZ #6652]
35534 * Makeconfig (soversions-default-setname): Remove variable.
35535 ($(common-objpfx)soversions.i): Don't pass default_setname to
35536 soversions.awk.
35537 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35538 oldest_abi to abi-versions.awk.
35539 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35540 * config.make.in (oldest-abi): Remove variable.
35541 * configure.ac (--enable-oldest-abi): Remove configure option.
35542 * configure: Regenerated.
35543 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35544 text.
35545 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35546 * scripts/soversions.awk: Do not handle default_setname variable.
35547 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35548 variable.
35549 * sysdeps/mach/hurd/configure: Regenerated.
35550 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35551 variable.
35552 * sysdeps/unix/sysv/linux/configure: Regenerated.
35553
35554 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35555
35556 * elf/Makefile (CFLAGS-interp.c): Remove.
35557 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35558 path string.
35559 * elf/interp.c: Include generated runtime-linker.h
35560
35561 * Makerules (lib%.so): Don't include $(+interp) in
35562 prerequisites.
35563 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35564 * dlfcn/eval.c: Remove file.
35565
35566 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35567 macros.
35568
35569 [BZ #17266]
35570 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35571 4.2 and newer.
35572
35573 [BZ #17370]
35574 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35575
35576 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35577 Jakub Jelinek <jakub@redhat.com>
35578
35579 [BZ #17266]
35580 * libio/stdio.h: Check definition of __fortify_function
35581 instead of __extern_always_inline to include bits/stdio2.h.
35582 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35583 check if __extern_always_inline is defined.
35584 [__USE_MISC || __USE_XOPEN]: Likewise.
35585 [__USE_ISOC99] Likewise.
35586 * misc/sys/cdefs.h (__fortify_function): Define only if
35587 __extern_always_inline is defined.
35588 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35589 __extern_always_inline and __extern_inline only for g++-4.3
35590 and newer or a compatible gcc.
35591
35592 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35593
35594 [BZ #17371]
35595 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35596 last change to handle zero prefix length.
35597
35598 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35599
35600 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35601 _SC_REGEX_VERSION.
35602
35603 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35604 _POSIX_RAW_SOCKETS.
35605
35606 2014-09-13 Allan McRae <allan@archlinux.org>
35607
35608 * po/ru.po: Update Russian translation from translation project.
35609
35610 2014-09-12 Roland McGrath <roland@hack.frob.com>
35611
35612 * locale/programs/locale.c (show_locale_vars): Inline local function
35613 into its sole call site. Clean up some style nits.
35614 (print_item): New function, broken out of ...
35615 (show_info): ... local function here. Clean up style nits.
35616
35617 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35618 out of ...
35619 (set_class_defaults): ... local function set_default here.
35620 Define set_default as a macro locally to pass constant parameters.
35621 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35622 rather than a shared local.
35623
35624 * stdlib/rpmatch.c (try): New function, broken out of ...
35625 (rpmatch): ... local function here. Also, prototypify definition.
35626
35627 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35628
35629 * scripts/soversions.awk: Do not handle configuration names.
35630 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35631 vendor and os variables to soversions.awk.
35632 * configure.ac: Do not modify gnu-* host_os.
35633 * configure: Regenerated
35634 * shlib-versions: Remove first column with configuration names.
35635 * nptl/shlib-versions: Likewise.
35636 * nptl_db/shlib-versions: Likewise.
35637 * sysdeps/hppa/shlib-versions: Likewise.
35638 * sysdeps/m68k/shlib-versions: Likewise.
35639 * sysdeps/mach/hurd/shlib-versions: Likewise.
35640 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35641 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35642 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35643 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35644 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35645 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35646 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35647 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35649 Likewise.
35650 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35651 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35652 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35653 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35654 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35655 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35656 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35657 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35658
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35660 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35662 Regenerated.
35663 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35665 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35666
35667 * shlib-versions: Remove OS-specific entries. Moved to files in
35668 sysdeps.
35669 * sysdeps/mach/hurd/shlib-versions: New file.
35670 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35671
35672 * nptl/shlib-versions: Remove architecture-specific entries.
35673 Moved to files in sysdeps.
35674 * shlib-versions: Likewise.
35675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35676 file.
35677 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35678 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35679 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35680 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35681
35682 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35683 (UDP_NO_CHECK6_RX): Likewise.
35684
35685 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35686
35687 * sysdeps/posix/sysconf.c (__sysconf): Spell
35688 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35689
35690 2014-08-12 Florian Weimer <fweimer@redhat.com>
35691
35692 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35693 loading.
35694 * iconv/Versions (__gconv_transliterate): Export for use from
35695 gconv modules.
35696 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35697 (struct __gconv_trans_data, __gconv_trans_fct,
35698 __gconv_trans_context_fct, __gconv_trans_query_fct,
35699 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35700 definitions.
35701 (struct __gconv_step_data): Remove __trans member.
35702 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35703 longer hidden. Remove unused trans_data argument.
35704 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35705 (__gconv_translit_find): Remove declaration.
35706 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35707 prototype.
35708 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35709 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35710 trans_data argument. Add hidden definition.
35711 (__gconv_translit_find): Remove.
35712 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35713 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35714 * iconv/skeleton.c: Remove transliteration initialization.
35715 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35716 __gconv_step_data initialization.
35717 * libio/iofwide.c (__libio_translit_): Remove.
35718 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35719 * wcsmbs/btowc.c (__btowc): Likewise.
35720 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35721 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35722 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35723 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35724 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35725 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35726 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35727 * wcsmbs/wctob.c (wctob): Likewise.
35728
35729 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35730
35731 [BZ #16194]
35732 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35733 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35734 register usage.
35735 * sysdeps/x86/Makefile: Adjust.
35736
35737 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35738 Roland McGrath <roland@hack.frob.com>
35739
35740 * locale/weight.h: Add include guard.
35741 (findidx): Make static rather than auto; take new parameters
35742 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35743 * locale/weightwc.h: Likewise.
35744 * posix/fnmatch_loop.c
35745 (FCT): Change type of EXTRA from int32_t to wint_t.
35746 Don't include either header inside the function.
35747 Call FINDIDX rather than findidx, and pass new arguments.
35748 #undef FINDIDX at the end of the file.
35749 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35750 FINDIDX before including fnmatch_loop.c for the non-wide version.
35751 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35752 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35753 for the wide version.
35754 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35755 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35756 Pass new arguments to findidx.
35757 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35758 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35759 Don't #include it inside the function. Pass new arguments to findidx.
35760 * posix/regex_internal.h
35761 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35762 (re_string_elem_size_at): Don't #include it inside the function.
35763 Pass new arguments to findidx.
35764 * string/strcoll_l.c: #include WEIGHT_H at top level.
35765 (get_next_seq): Don't #include it inside the function.
35766 Pass new arguments to findidx.
35767 (get_next_seq_nocache): Likewise.
35768 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35769 (STRXFRM): Don't #include it inside the function.
35770 Pass new arguments to findidx.
35771
35772 2014-09-11 Florian Weimer <fweimer@redhat.com>
35773
35774 [BZ #17344]
35775 * malloc/malloc.c (unlink): Turn asserts into a call to
35776 malloc_printerr.
35777
35778 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35779
35780 [BZ #17370]
35781 * libio/wfileops (do_ftell_wide): Free OUT.
35782
35783 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35784
35785 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35786
35787 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35788
35789 [BZ #17363]
35790 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35791 group if the current group is empty.
35792
35793 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35794
35795 * benchtests/bench-memset.c (test_main): Add more test from size
35796 from 32 to 512 bytes.
35797 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35798 Add POWER8 memset object.
35799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35800 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35801 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35802 implementation.
35803 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35804 Likewise.
35805 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35806 multiarch POWER8 memset optimization.
35807 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35808 POWER8 memset optimization.
35809
35810 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35811 Remove bzero multiarch objects.
35812 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35813 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35814 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35815 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35816 Remove define.
35817 [__bzero]: Redefine to specific name.
35818 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35819 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35820 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35821 define.
35822 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35823 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35824
35825 2014-09-10 Florian Weimer <fweimer@redhat.com>
35826
35827 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35828 warnings into errors.
35829
35830 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35831 __cxa_thread_atexit_impl prototype.
35832
35833 2014-09-09 Steve Ellcey <sellcey@mips.com>
35834
35835 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35836 Fix capitalization of error message.
35837
35838 2014-09-09 Steve Ellcey <sellcey@mips.com>
35839
35840 * sysdeps/mips/preconfigure: Modify ABI tests.
35841
35842 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35843
35844 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35845
35846 2014-09-07 Roland McGrath <roland@hack.frob.com>
35847 Carlos O'Donell <carlos@systemhalted.org>
35848
35849 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35850 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35851 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35852 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35853 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35854 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35855 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35856 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35857 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35858 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35859 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35860 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35861 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35862 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35863 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35864 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35865 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35866 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35867 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35868 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35869 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35870 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35871 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35872 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35873 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35874 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35875 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35876 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35877 Deconditionalize the code that was previously under [RESET_PID].
35878 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35879 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35880 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35881 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35882 include sysdep.h.
35883
35884 2014-09-08 Allan McRae <allan@archlinux.org>
35885
35886 * version.h (RELEASE): Set to "development".
35887 (VERSION): Set to "2.20.90"
35888
35889 2014-09-07 Allan McRae <allan@archlinux.org
35890
35891 * version.h (RELEASE): Set to "stable".
35892 (VERSION): Set to "2.20"
35893 * include/features.h (__GLIBC_MINOR__): Set to 20.
35894
35895 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35896 Liebler.
35897
35898 * po/ko.po: Update Korean translation from translation project.
35899
35900 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35901
35902 [BZ #17354]
35903 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35904 macro for handling signed relocations.
35905
35906 2014-09-03 Florian Weimer <fweimer@redhat.com>
35907
35908 [BZ #17325]
35909 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35910 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35911 assert.
35912 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35913 * iconvdata/ibm935.c (BODY): Likewise.
35914 * iconvdata/ibm937.c (BODY): Likewise.
35915 * iconvdata/ibm939.c (BODY): Likewise.
35916 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35917 assert.
35918 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35919 script.
35920 * iconvdata/run-iconv-test.sh: New test loop for checking for
35921 decoder crashers.
35922
35923 2014-09-02 Khem Raj <raj.khem@gmail.com>
35924
35925 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35926 libm_hidden_ver.
35927
35928 2014-09-01 Allan McRae <allan@archlinux.org>
35929
35930 * po/eo.po: Update Esperanto translation from translation project.
35931
35932 * po/ca.po: Update Catalan translation from translation project.
35933
35934 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35935
35936 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35937 __proc_dostop call.
35938
35939 2014-08-27 Mark Wielaard <mjw@redhat.com>
35940
35941 [BZ #17319]
35942 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35943 to call set_thread_area instead of hand written asm.
35944 (__NR_set_thread_area): Removed define.
35945 (TLS_FLAG_WRITABLE): Likewise.
35946 (__ASSUME_SET_THREAD_AREA): Remove check.
35947 (TLS_EBX_ARG): Remove define.
35948 (TLS_LOAD_EBX): Likewise.
35949
35950 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35951
35952 Simplify atomicity of socket creation in bind.
35953
35954 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35955 looking up the name after linking the file.
35956
35957 2014-08-27 Allan McRae <allan@archlinux.org>
35958
35959 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35960
35961 2014-08-26 Florian Weimer <fweimer@redhat.com>
35962
35963 [BZ #17187]
35964 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35965 trans_compare, open_translit, __gconv_translit_find):
35966 Remove module loading code.
35967
35968 2014-08-26 Allan McRae <allan@archlinux.org>
35969
35970 * po/vi.po: Update Vietnamese translation from translation project.
35971
35972 * po/uk.po: Update Ukrainian translation from translation project.
35973
35974 * po/fr.po: Update French translation from translation project.
35975
35976 * po/ru.po: Update Russian translation from translation project.
35977
35978 * po/pl.po: Update Polish translation from translation project.
35979
35980 * po/cs.po: Update Czech translation from translation project.
35981
35982 * po/de.po: Update German translation from translation project.
35983
35984 * po/bg.po: Update Bulgarian translation from translation project.
35985
35986 * po/sv.po: Update Sweedish translation from translation project.
35987
35988 * po/nl.po: Update Dutch translation from translation project.
35989
35990 * po/es.po: Update Spanish translation from translation project.
35991
35992 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35993
35994 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35995
35996 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35997 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35998 (CPPFLAGS-iconvconfig): Likewise.
35999 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36000
36001 * include/libc-symbols.h: Remove unnecessary check for
36002 NOT_IN_libc.
36003 * nptl/pthreadP.h: Likewise.
36004 * sysdeps/aarch64/setjmp.S: Likewise.
36005 * sysdeps/alpha/setjmp.S: Likewise.
36006 * sysdeps/arm/sysdep.h: Likewise.
36007 * sysdeps/i386/setjmp.S: Likewise.
36008 * sysdeps/m68k/setjmp.c: Likewise.
36009 * sysdeps/posix/getcwd.c: Likewise.
36010 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36011 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36012 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36013 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36014 * sysdeps/sh/sh3/setjmp.S: Likewise.
36015 * sysdeps/sh/sh4/setjmp.S: Likewise.
36016 * sysdeps/unix/alpha/sysdep.h: Likewise.
36017 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36018 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36019 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36020 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36025 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36028 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36030 * sysdeps/x86_64/setjmp.S: Likewise.
36031
36032 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36033
36034 [BZ #17263]
36035 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36036 <stdint.h>.
36037 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36038 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36039
36040 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36041
36042 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36043
36044 [BZ #17262]
36045 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36046 and __x86_64__ when disabling x87 inline functions.
36047
36048 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36049
36050 [BZ #17259]
36051 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36052 asm statement with __cpuid_count.
36053
36054 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36055
36056 * configure.ac: Change __ehdr_start code to dereference the struct.
36057 Run readelf on the output to look for relocations.
36058 * configure: Regenerated.
36059
36060 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36061
36062 [BZ #17261]
36063 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36064 value to 0.
36065 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36066
36067 2014-08-12 Roland McGrath <roland@hack.frob.com>
36068
36069 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36070
36071 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36072
36073 [BZ #16892]
36074 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36075 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36076
36077 2014-08-12 Sean Anderson <seanga2@gmail.com>
36078
36079 * malloc/malloc.c: Fix typo in comment.
36080
36081 2014-08-09 Allan McRae <allan@archlinux.org>
36082
36083 * Regenerate libc.po.
36084
36085 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36086
36087 * intl/tst-gettext2.sh: Check every lang file for creation.
36088
36089 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36090
36091 * sysdeps/aarch64/fpu/math_private.h
36092 (libc_feholdsetround_noex_aarch64_ctx): New function.
36093
36094 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36095
36096 * sysdeps/arm/armv6/strcpy.S (strcpy):
36097 Fix performance issue in misaligned cases.
36098
36099 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36100
36101 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36102 Move definition from termios.h.
36103 (struct termio): Likewise.
36104 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36105 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36106 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36107 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36108 Likewise.
36109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36110 Move definition to ioctl-types.h
36111 (struct termio): Likewise.
36112 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36113 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36114 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36115 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36116 Likewise.
36117
36118 2014-08-05 Richard Henderson <rth@redhat.com>
36119
36120 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36121 exceptions.
36122 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36123 Add fraiseexcpt.
36124 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36125 Use __feraiseexcept.
36126 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36127 Protect libm symbols with IS_IN_libm.
36128
36129 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36130
36131 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36132
36133 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36134
36135 2014-08-04 Will Newton <will.newton@linaro.org>
36136
36137 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36138 file.
36139
36140 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36141
36142 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36143 variants for each function.
36144
36145 2014-08-04 Roland McGrath <roland@hack.frob.com>
36146
36147 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36148 appended ...
36149 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36150 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36151 appended ...
36152 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36153 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36154 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36155 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36156 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36157 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36158 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36159 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36160 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36161 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36162 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36163 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36164 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36165 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36166 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36167 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36168 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36169 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36170 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36171 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36172 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36173 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36174 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36175 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36176 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36177 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36178 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36179 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36180 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36181 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36182 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36183 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36184 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36185 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36186 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36187 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36188 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36189 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36190 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36191 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36192 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36194 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36195 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36196 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36197 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36198 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36199 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36200 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36201 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36202 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36203 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36204 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36205 Update #include.
36206 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36207 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36208
36209 2014-08-04 Roland McGrath <roland@hack.frob.com>
36210
36211 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36212 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36213 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36214 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36215 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36216 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36217
36218 2014-08-04 Roland McGrath <roland@hack.frob.com>
36219
36220 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36221 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36222 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36223 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36224
36225 2014-08-04 Roland McGrath <roland@hack.frob.com>
36226
36227 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36228 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36229 (__libc_vfork): Define function under this name.
36230 (__vfork): Define as an alias.
36231 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36232 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36233
36234 2014-08-04 Roland McGrath <roland@hack.frob.com>
36235
36236 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36237 that was previously under [RESET_PID].
36238 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36239
36240 2014-08-04 Andreas Schwab <schwab@suse.de>
36241
36242 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36243
36244 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36245
36246 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36247 (main): Likewise.
36248
36249 2014-08-01 Roland McGrath <roland@hack.frob.com>
36250
36251 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36252
36253 2014-08-01 Richard Henderon <rth@redhat.com>
36254
36255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36256 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36257 typo in exact zero test.
36258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36259 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36260 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36261
36262 2014-08-01 Roland McGrath <roland@hack.frob.com>
36263
36264 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36265 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36266 * sysdeps/arm/sysdep.h: ... here.
36267 [!__ASSEMBLER__]: Include <stdint.h>.
36268
36269 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36270
36271 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36272 (HAVE_WCTYPE_H): Likewise.
36273 (HAVE_ISWCTYPE): Likewise.
36274 (ENABLE_NLS): Likewise.
36275 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36276 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36277
36278 * posix/regex_internal.c: Check if DEBUG is defined and is
36279 set.
36280
36281 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36282 (HAVE_MBSRTOWCS): Likewise.
36283 * posix/fnmatch.c: Include string.h unconditionally.
36284
36285 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36286
36287 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36288 reversal.
36289
36290 2014-07-31 Roland McGrath <roland@hack.frob.com>
36291
36292 * sysdeps/generic/safe-fatal.h: New file.
36293 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36294 * nptl/forward.c: Include it.
36295 (__pthread_unwind): Use __safe_fatal as default action, rather
36296 than a bogus use of INTERNAL_SYSCALL that could never work.
36297
36298 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36299 * configure.ac (libc_cv_builtin_trap): New test.
36300 * configure: Regenerated.
36301 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36302 (ABORT_INSTRUCTION): Define using __builtin_trap.
36303
36304 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36305 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36306 * sysdeps/nptl/nptl-signals.h: New file.
36307 * nptl/pthreadP.h: Include <nptl-signals.h>.
36308
36309 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36310
36311 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36312 (ONE_DIRECTION): Define.
36313 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36314 (ONE_DIRECTION): Define.
36315 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36316 (ONE_DIRECTION): Define.
36317
36318 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36319
36320 * sysdeps/s390/Makefile: Delete file.
36321 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36322 * sysdeps/s390/__longjmp.c: Delete file.
36323 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36324 Remove fields __flags and __reserved.
36325 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36326 and add versioning.
36327 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36328 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36329 * sysdeps/s390/rtld-setjmp.S: Likewise.
36330 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36331 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36332 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36333 * sysdeps/s390/s390-32/setjmp.S: ... here.
36334 Add versioning.
36335 (__sigsetjmp): Remove setting __flags field.
36336 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36337 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36338 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36339 * sysdeps/s390/s390-64/setjmp.S: ... here.
36340 Add versioning.
36341 (__sigsetjmp): Remove setting __flags field.
36342 * sysdeps/s390/setjmp.S: Delete file.
36343 * sysdeps/s390/sigjmp.c: Likewise.
36344 * sysdeps/s390/v1-longjmp.c: Likewise.
36345 * sysdeps/s390/v1-setjmp.h: Likewise.
36346 * sysdeps/s390/v1-sigjmp.c: Likewise.
36347 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36348 Remove v1-longjmp_chk.
36349 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36350 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36351 Include debug/longjmp_chk.c and add versioning.
36352 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36353 Include nptl/pt-longjmp.c and add versioning.
36354 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36355 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36356 Include __longjmp.c.
36357 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36358 Move to ...
36359 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36360 (__getcontext): Remove setting __flags field.
36361 Add versioning.
36362 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36363 Don't restore upper high grps.
36364 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36365 Likewise.
36366 (__swapcontext): Remove setting uc_flags field.
36367 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36368 Delete file.
36369 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36370 Include __longjmp.c.
36371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36372 Move to ...
36373 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36374 (__getcontext): Remove setting __flags field.
36375 Add versioning.
36376 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36377 (__swapcontext): Remove setting uc_flags field.
36378 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36379 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36380 Remove fields uc_high_gprs and __reserved.
36381 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36382 New file with reverted content.
36383 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36384 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36385 Regenerated.
36386 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36387 Regenerated.
36388
36389 2014-07-31 Andreas Schwab <schwab@suse.de>
36390
36391 * config.h.in (HAVE_IFUNC): Define to 0.
36392 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36393 definedness.
36394
36395 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36396
36397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36398 memmove-avx-unaligned, memcpy-avx-unaligned and
36399 mempcpy-avx-unaligned.
36400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36401 Add tests for AVX memcpy functions.
36402 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36403 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36404 memcpy_chk.
36405 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36406 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36407 memmove_chk.
36408 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36409 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36410 mempcpy_chk.
36411 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36412 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36413 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36414
36415 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36416
36417 [BZ #17213]
36418 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36419 powerpc64le.
36420
36421 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36422
36423 [BZ #16839]
36424 * manual/llio.texi: Add section about open file description locks.
36425 * manual/examples/ofdlocks.c: Example of open file description
36426 lock usage.
36427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36428 F_OFD_SETLK, and F_OFD_SETLKW.
36429
36430 2014-07-23 Allan McRae <allan@archlinux.org>
36431
36432 * po/es.po: Update Spanish translation from translation project.
36433
36434 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36435
36436 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36437
36438 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36439
36440 [BZ #17078]
36441 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36442 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36443 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36444
36445 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36446
36447 [BZ #17088]
36448 * math/fesetenv.c (__fesetenv)
36449 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36450 * math/feupdateenv.c (__feupdateenv)
36451 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36452
36453 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36454 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36455 (__ASSUME_SOCKETCALL): Do not define.
36456
36457 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36458 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36459 (__ASSUME_SOCKETCALL): Do not define.
36460 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36461 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36462 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36463 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36464 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36465 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36466 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36467 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36468
36469 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36470 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36471 (__ASSUME_SOCKETCALL): Do not define.
36472 (__ASSUME_IPC64): Define unconditionally.
36473 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36474 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36475 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36476 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36477 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36478 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36479 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36480 Likewise.
36481
36482 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36483 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36484 (__ASSUME_SOCKETCALL): Do not define.
36485 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36486 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36487 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36488 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36489 (__ASSUME_REQUEUE_PI): Define unconditionally.
36490 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36491 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36492 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36493 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36494 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36495 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36496
36497 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36498 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36499 (__ASSUME_SOCKETCALL): Do not define.
36500 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36501 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36502 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36503 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36504 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36505 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36506
36507 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36508 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36509 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36510 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36511 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36512 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36513 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36514 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36515 (__ASSUME_GETCPU_SYSCALL): Likewise.
36516
36517 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36518 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
36519 cases for individual architectures.
36520 * sysdeps/gnu/configure: Regenerated.
36521 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36522 LIBC_SLIBDIR_RTLDDIR.
36523 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36524 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36525 LIBC_SLIBDIR_RTLDDIR.
36526 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36528 LIBC_SLIBDIR_RTLDDIR.
36529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36530 Regenerated.
36531 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36532 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36533 file.
36534 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36535 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36536 file.
36537 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36538 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36539 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36540 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36541
36542 * sysdeps/aarch64/shlib-versions: Move to ...
36543 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36544 * sysdeps/alpha/shlib-versions: Move to ...
36545 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36546 * sysdeps/arm/shlib-versions: Move to ...
36547 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36548 * sysdeps/hppa/shlib-versions: Move all contents except for
36549 libgcc_s entry to ...
36550 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
36551 entry from ...
36552 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36553 * sysdeps/ia64/shlib-versions: Move to ...
36554 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36555 entry from ...
36556 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36557 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36558 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36559 * sysdeps/microblaze/shlib-versions: Move to ...
36560 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36561 * sysdeps/mips/shlib-versions: Move to ...
36562 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36563 entry from ...
36564 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36565 * sysdeps/tile/shlib-versions: Move to ...
36566 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36567 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36568 from ...
36569 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36570 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36571 entry from ...
36572 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36573
36574 2014-07-17 Will Newton <will.newton@linaro.org>
36575
36576 * sysdeps/arm/bits/atomic.h
36577 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36578 (__arch_compare_and_exchange_bool_16_int): Likewise.
36579 (__arch_compare_and_exchange_bool_64_int): Likewise.
36580
36581 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36582 into an #else block.
36583
36584 2014-07-16 Roland McGrath <roland@hack.frob.com>
36585
36586 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36587 just Linux configurations. Test empirically that the compiler sets
36588 __ARM_EABI__, rather than using the tuple to decide.
36589 * sysdeps/arm/preconfigure: Regenerated.
36590 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36591 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36592 contents appended ...
36593 * sysdeps/arm/configure.ac: ... here.
36594 * sysdeps/arm/configure: Regenerated.
36595
36596 2014-07-15 Roland McGrath <roland@hack.frob.com>
36597
36598 * nptl/pthread_kill.c: New file.
36599 * nptl/pthread_sigmask.c: New file.
36600 * nptl/pthread_sigqueue.c: New file.
36601
36602 * sysdeps/nptl/lowlevellock.h: New file.
36603 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36604 * sysdeps/nptl/lowlevellock-futex.h: New file.
36605
36606 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36607 Remove dead declarations.
36608
36609 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36610
36611 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36612 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36613 config-cflags-avx2.
36614 * sysdeps/x86_64/configure.ac: Likewise.
36615 * sysdeps/i386/configure: Regenerated.
36616 * sysdeps/x86_64/configure: Likewise.
36617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36618 memset-avx2 only if config-cflags-avx2 is yes.
36619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36620 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36621 defined.
36622 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36623 only if HAVE_AVX2_SUPPORT is defined.
36624 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36625
36626 2014-07-14 Alan Modra <amodra@gmail.com>
36627
36628 [BZ #17153]
36629 * elf/elf.h (DT_PPC64_NUM): Correct value.
36630 * NEWS: Add to fixed bug list.
36631
36632 2014-07-13 Jim Meyering <meyering@fb.com>
36633
36634 [BZ 17150]
36635 regex: don't deref NULL upon heap allocation failure
36636 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36637 failure in one more place.
36638 To trigger the segfault, configure grep -with-included-regex,
36639 build it, and run these commands:
36640 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36641
36642 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36643
36644 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36645
36646 2014-07-11 Richard Henderson <rth@redhat.com>
36647
36648 * sysdeps/aarch64/libm-test-ulps: Update.
36649
36650 2014-07-10 Florian Weimer <fweimer@redhat.com>
36651
36652 [BZ #17135]
36653 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36654 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36655 (__nptl_setxid): Initialize error member. Call
36656 __nptl_setxid_error.
36657 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36658 * nptl/descr.h (struct xid_command): Add error member.
36659 * nptl/tst-setuid3.c: New file.
36660 * nptl/Makefile (tests): Add it.
36661
36662 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36663
36664 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36665 New define.
36666 (__lll_trylock): Use __lll_base_trylock.
36667 (__lll_cond_trylock): Likewise.
36668
36669 2014-07-10 Roland McGrath <roland@hack.frob.com>
36670
36671 * nptl/pthread_create.c (start_thread): Use atomic_or and
36672 lll_futex_wake directly rather than lll_robust_dead.
36673 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36674 (lll_robust_dead): Macro removed.
36675 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36676 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36677 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36678 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36679 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36680 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36681 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36682 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36683 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36684 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36685 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36686 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36687 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36688 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36689 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36690
36691 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36692 Use atomic_compare_and_exchange_val_acq directly rather than
36693 lll_robust_trylock.
36694 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36695 (__lll_robust_trylock, lll_robust_trylock): Removed.
36696 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36697 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36698 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36700 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36701 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36702 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36703 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36704 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36705 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36706 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36707 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36708 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36709 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36710
36711 2014-07-02 Florian Weimer <fweimer@redhat.com>
36712
36713 * manual/locale.texi (Locale Names): New section documenting
36714 locale name syntax. Adjust menu and node chaining accordingly.
36715 (Choosing Locale): Reference Locale Names, Locale Categories.
36716 Mention setting LC_ALL=C. Reflect that name syntax is now
36717 documented.
36718 (Locale Categories): New section title. Reference Locale Names.
36719 LC_ALL is an environment variable, but not a category.
36720 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36721 description, now in Locale Name. Reference that section. Locale
36722 name syntax is now documented.
36723
36724 2014-07-02 Florian Weimer <fweimer@redhat.com>
36725
36726 [BZ #17137]
36727 * locale/findlocale.c (name_present, valid_locale_name): New
36728 functions.
36729 (_nl_find_locale): Use the loc_name variable to store name
36730 candidates. Call name_present and valid_locale_name to check and
36731 validate locale names. Return an error if the locale is invalid.
36732
36733 2014-07-02 Florian Weimer <fweimer@redhat.com>
36734
36735 * locale/setlocale.c (setlocale): Use strdup for allocating
36736 composite name copy.
36737
36738 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36739
36740 Sync up with gnulib.
36741 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36742 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36743 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36744 and _GL_ARG_NONNULL.
36745 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36746 [!_LIBC]: Include code for Windows and Cygwin.
36747 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36748 Include prototype for int strerror_r.
36749 [!_LIBC] (is_open): New function.
36750 (flush_stdout): New function.
36751 (print_errno_message): Use it.
36752 (error): Likewise.
36753 (error_at_line): Likewise.
36754 (error_tail) Add function attribute macros. Use
36755 __builtin_expect.
36756
36757 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36758
36759 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36760
36761 * io/ftw.c: Include sys/param.h unconditionally.
36762
36763 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36764
36765 [BZ #17125]
36766 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36767 libc_freeres_ptr.
36768 (freecache): New function to free CACHE on exit.
36769
36770 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36771 initialization.
36772
36773 2014-07-09 David S. Miller <davem@davemloft.net>
36774
36775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36776
36777 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36778 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36779 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36780 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36781 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36782 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36783 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36784 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36785 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36786 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36787 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36788 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36789 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36790
36791 2014-07-09 Andreas Schwab <schwab@suse.de>
36792
36793 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36794 output.
36795 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36796 (do_test): Likewise.
36797
36798 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36799
36800 2014-07-09 Will Newton <will.newton@linaro.org>
36801
36802 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36803 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36804 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36805 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36806 * sysdeps/hppa/start.S (_start): Likewise.
36807
36808 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36809
36810 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36811
36812 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36813 defined.
36814
36815 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36816
36817 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36818 after checking that it is non-NULL.
36819
36820 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36821
36822 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36823
36824 * sysdeps/powerpc/memmove.c: Remove file.
36825 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36826 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36827 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36828 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36829 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36830 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36831 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36832 string memmove instead of removed powerpc one.
36833
36834 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36835 [weak_alias]: Fix compiler warning due trailing data.
36836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36837 [weak_alias]: Likewise.
36838 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36839 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36840
36841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36842 (__libc_ifunc_impl_list): Add memmove functions.
36843
36844 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36845
36846 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36847 Remove code.
36848 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36849 Likewise.
36850 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36851 Likewise.
36852 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36853 Likewise.
36854 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36855 Likewise.
36856 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36857 Likewise.
36858 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36859 Likewise.
36860 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36861 Likewise.
36862 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36863 Likewise.
36864 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36865 Likewise.
36866 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36867 Likewise.
36868 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36869 Likewise.
36870 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36871 Likewise.
36872 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36873 Likewise.
36874 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36875 Likewise.
36876 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36877 Likewise.
36878 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36879 Likewise.
36880
36881 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36882
36883 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36884 to avoid alignment traps in non-cacheable memory.
36885 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36886
36887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36888 multiarch objects.
36889 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36890 file: multiarch power7 memmove.
36891 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36892 multiarch default memmove.
36893 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36894 multiarch memove for powerpc32/power4.
36895
36896 * string/bcopy.c: Use full path to include memmove.c.
36897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36898 multiarch objects.
36899 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36900 bcopy for powerpc64.
36901 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36902 bcopy for powerpc64.
36903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36904 and memmove implementations.
36905 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36906 optimized multiarch memmove for POWER7/powerpc64.
36907 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36908 default multiarch memmove for powerpc64.
36909 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36910 multiarch for powerpc64.
36911 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36912 for POWER7/powerpc64.
36913 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36914 memmove for POWER7/powerpc64.
36915
36916 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36917 glibc default one.
36918
36919 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36920 __ELF_NATIVE_CLASS equal to 64.
36921
36922 2014-07-07 Roland McGrath <roland@hack.frob.com>
36923
36924 * sysdeps/nptl/lowlevellock.h: File removed.
36925
36926 * NEWS: NPTL is no longer an add-on!
36927 * nptl/internaltypes.h: Moved ...
36928 * sysdeps/nptl/internaltypes.h: ... here.
36929 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36930 * sysdeps/nptl/fork.c: Likewise.
36931 * sysdeps/nptl/gai_misc.h: Likewise.
36932 * sysdeps/nptl/librt-cancellation.c: Likewise.
36933 * sysdeps/nptl/jmp-unwind.c: Likewise.
36934 * sysdeps/nptl/setxid.h: Likewise.
36935 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36936 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36937 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36938 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36939 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36940 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36941 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36942 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36943 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36944 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36945 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36946 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36947 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36948 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36949 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36950 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36951 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36952 * nptl/Makeconfig: Moved ...
36953 * sysdeps/nptl/Makeconfig: ... here.
36954 * nptl/configure: File removed.
36955 * nptl/ANNOUNCE: File removed.
36956 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36957 * sysdeps/unix/sysv/linux/configure: Regenerated.
36958
36959 * nptl/Makefile (routines): Add libc_pthread_init,
36960 libc_multiple_threads, register-atfork and unregister-atfork.
36961 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36962 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36963 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36964 pthread-pi-defines.sym, structsem.sym.
36965 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36966 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36967 [$(subdir) = nptl] (tests): Add tst-setgetname.
36968 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36969 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36970 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36971 [!LIBC_SIGACTION]: Remove aliases.
36972 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36973 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36974 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36975 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36976 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36977 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36981 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36982 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36983 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36984 __libc_allocate_rtsig_private.
36985 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36986 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36987 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36988 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36989 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36990 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36991 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36992 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36993 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36994 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36995 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36996 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36997 * nptl/internaltypes.h: ... here.
36998 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36999 * sysdeps/nptl/jmp-unwind.c: ... here.
37000 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37001 * nptl/libc-lowlevellock.c: ... here.
37002 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37003 * nptl/libc_multiple_threads.c: ... here.
37004 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37005 * nptl/libc_pthread_init.c: ... here.
37006 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37007 * nptl/lowlevelbarrier.sym: ... here.
37008 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37009 * nptl/lowlevelcond.sym: ... here.
37010 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37011 * nptl/lowlevellock.c: ... here.
37012 * nptl/lowlevellock.h: Moved ...
37013 * sysdeps/nptl/lowlevellock.h: ... here.
37014 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37015 * nptl/lowlevelrobustlock.c: ... here.
37016 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37017 * nptl/lowlevelrobustlock.sym: ... here.
37018 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37019 * nptl/lowlevelrwlock.sym: ... here.
37020 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37021 * nptl/pt-fork.c: ... here.
37022 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37023 * nptl/pthread-pi-defines.sym: ... here.
37024 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37025 * nptl/pthread_attr_getaffinity.c: ... here.
37026 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37027 * nptl/pthread_attr_setaffinity.c: ... here.
37028 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37029 * nptl/pthread_mutex_cond_lock.c: ... here.
37030 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37031 Update #include.
37032 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37033 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37034 * nptl/pthread_once.c: ... here, replacing old file.
37035 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37036 * nptl/pthread_yield.c: ... here.
37037 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37038 * nptl/register-atfork.c: ... here.
37039 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37040 * nptl/sem_post.c: ... here.
37041 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37042 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37043 * nptl/sem_timedwait.c: ... here.
37044 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37045 * nptl/sem_trywait.c: ... here.
37046 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37047 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37048 * nptl/sem_wait.c: ... here.
37049 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37050 * nptl/structsem.sym: ... here.
37051 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37052 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37053 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37054 * nptl/unregister-atfork.c: ... here.
37055 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37056 * nptl/unwindbuf.sym: ... here.
37057 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37058 * sysdeps/nptl/fork.c: ... here.
37059 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37060 * sysdeps/nptl/fork.h: ... here.
37061 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37062 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37063 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37064 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37065 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37066 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37067 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37068 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37069 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37070 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37071 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37072 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37073 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37074 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37075 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37076 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37077 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37078 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37079 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37080 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37081 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37082 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37083 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37084 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37085 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37086 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37087 * sysdeps/unix/sysv/linux/raise.c: ... here.
37088 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37089 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37090 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37091 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37092 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37093 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37094 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37095 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37096 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37097 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37098 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37099 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37100 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37101 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37102 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37103
37104 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37105
37106 * sysdeps/generic/memcopy.h: Add comment for
37107 MEMCPY_OK_FOR_FWD_MEMMOVE.
37108
37109 2014-07-04 Will Newton <will.newton@linaro.org>
37110
37111 * string/memchr.c: Merge from gnulib.
37112 [_LIBC]: Remove conditionals.
37113 (__ptr_t): Remove define.
37114 (LONG_MAX_32_BITS): Likewise.
37115 (LONG_MAX): Likewise.
37116 (MEMCHR): Use ANSI prototype and optimize algorithm.
37117
37118 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37119
37120 2014-07-03 Roland McGrath <roland@hack.frob.com>
37121
37122 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37123 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37124
37125 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37126 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37127 in a bare environment with no <stdlib.h> installed.
37128 * sysdeps/nptl/configure: Regenerated.
37129
37130 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37131
37132 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37133 AC_EGREP_CPP for kernel header checks, so they only succeed if
37134 including <linux/version.h> actually works right.
37135 * sysdeps/unix/sysv/linux/configure: Regenerated.
37136
37137 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37138 value so it's not diagnosed as unused.
37139
37140 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37141 thing) with "ifeq ($(subdir),rt)".
37142
37143 2014-07-03 Richard Henderson <rth@redhat.com>
37144
37145 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37146 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37147 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37148
37149 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37150 (math_force_eval): New.
37151
37152 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37153 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37154
37155 * sysdeps/alpha/fpu/s_round.c: Remove file.
37156 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37157
37158 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37159 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37160 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37161 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37162 (_dl_start, print_statistics): Likewise.
37163 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37164 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37165
37166 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37167 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37168 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37169 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37170 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37171 (HP_SMALL_TIMING_AVAIL): Define.
37172 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37173 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37174 (HP_SMALL_TIMING_AVAIL): Define.
37175 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37176 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37177
37178 * sysdeps/aarch64/hp-timing.h: New file.
37179
37180 * sysdeps/generic/hp-timing.h: Remove dead comment.
37181 * sysdeps/generic/hp-timing-common.h: New file.
37182 * sysdeps/alpha/hp-timing.h: Include it.
37183 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37184 * sysdeps/i386/i686/hp-timing.h: Likewise.
37185 * sysdeps/ia64/hp-timing.h: Likewise.
37186 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37187 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37188 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37189 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37190 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37191 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37192 (hp_timing_t): New.
37193
37194 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37195 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37196 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37197 * elf/rtld.c (_dl_start_final): Likewise.
37198 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37199 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37200 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37201 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37202 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37203 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37204 (HP_TIMING_DIFF_INIT): Remove.
37205 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37206 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37207 (HP_TIMING_DIFF_INIT): Remove.
37208 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37209 * sysdeps/i386/i686/hp-timing.c: Remove file.
37210 * sysdeps/x86_64/hp-timing.c: Remove file.
37211 * sysdeps/ia64/hp-timing.c: Remove file.
37212 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37213 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37214 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37215 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37216
37217 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37218 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37219 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37220 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37221 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37222 (HP_TIMING_ACCUM): Remove.
37223 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37224 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37225 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37226
37227 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37228 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37229 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37230 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37231 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37232 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37233 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37234 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37235
37236 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37237
37238 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37239
37240 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37241
37242 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37243
37244 Sync up with gettext.
37245 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37246 [_MSC_VER]: Include malloc.h
37247 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37248 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37249 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37250 TEMP_FAILURE_RETRY. Cast return of alloca.
37251 [!_LIBC] Call gl_rwlock_init.
37252 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37253
37254 2014-07-02 Roland McGrath <roland@hack.frob.com>
37255
37256 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37257 before checking its value.
37258
37259 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37260
37261 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37262
37263 * debug/memcpy_chk.c: Don't include pagecopy.h.
37264 * debug/mempcpy_chk.c: Likewise.
37265 * string/memcpy.c: Likewise.
37266 * string/memmove.c: Likewise.
37267 * sysdeps/powerpc/memmove.c: Likewise.
37268 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37269 definition of PAGE_COPY_FWD_MAYBE here...
37270 * sysdeps/generic/pagecopy.h: ... from here.
37271 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37272
37273 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37274 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37275
37276 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37278 optimizations.
37279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37280 (__libc_ifunc_impl_list): Likewise.
37281 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37282 multiarch strcat for PPC64.
37283 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37284 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37285
37286 2014-07-02 Roland McGrath <roland@hack.frob.com>
37287
37288 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37289
37290 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37291
37292 * intl/loadmsgcat.c: Remove declaration of
37293 get_sysdep_segment_value.
37294 (get_sysdep_segment_value): Use ISO C style.
37295 (_nl_load_domain): Use ISO C style. Get rid of redundant
37296 semicolon. Fix typo and formatting in comment.
37297 (_nl_unload_domain): Use ISO C style.
37298
37299 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37300
37301 2014-07-02 Will Newton <will.newton@linaro.org>
37302
37303 * malloc/obstack.c: Merge from gnulib master.
37304 [HAVE_CONFIG_H]: Remove conditional code.
37305 [!_LIBC]: Include config.h.
37306 [!ELIDE_CODE]: Don't include inttypes.h, include
37307 stdint.h unconditionally.
37308 (print_and_abort): Mark as _Noreturn.
37309 (_obstack_allocated_p): Mark as __attribute_pure__.
37310 (obstack_free): Rename to __obstack_free.
37311 [!__attribute__]: Remove conditional code.
37312 * malloc/obstack.h: Merge from gnulib master.
37313 [__cplusplus]: Move conditional down.
37314 [!__attribute_pure__]: Define __attribute_pure__ here
37315 if it is not already defined.
37316 (_obstack_memory_used): Mark as __attribute_pure__.
37317 [!__obstack_free]: Define as obstack_free.
37318 [__GNUC__]: Remove check for ancient NeXT gcc.
37319
37320 2014-07-02 Will Newton <will.newton@linaro.org>
37321 Paul Eggert <eggert@cs.ucla.edu>
37322
37323 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37324
37325 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37326
37327 * resolv/gethnamaddr.c: Add comment warning that the file is
37328 not maintained.
37329
37330 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37331
37332 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37333 entries.
37334
37335 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37336 entry for aio_cancel and aio_cancel64.
37337 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37338 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37339 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37340 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37341 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37342 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37343 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37344 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37345 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37346 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37347 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37348 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37349 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37350
37351 2014-07-01 Roland McGrath <roland@hack.frob.com>
37352
37353 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37354 * nptl/pthread_mutex_lock.c: Likewise.
37355 * nptl/pthread_mutex_timedlock.c: Likewise.
37356 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37357
37358 2014-07-01 Richard henderson <rth@redhat.com>
37359
37360 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37361 (__isnan, __isnanl): Remove.
37362 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37363
37364 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37365
37366 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37367
37368 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37369
37370 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37371
37372 * resolv/nss_dns/dns-host.c (getanswer_r)
37373 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37374
37375 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37376
37377 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37378 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37379 undefine.
37380 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37381 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37382
37383 2014-07-01 Roland McGrath <roland@hack.frob.com>
37384
37385 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37386 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37387
37388 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37389 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37390
37391 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37392 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37393 ... here.
37394 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37395 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37396
37397 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37398 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37399 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37400 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37401
37402 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37403 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37404 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37405 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37406 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37407 Moved ...
37408 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37409 ... here.
37410 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37411 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37412 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37413 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37414 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37415 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37416 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37417 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37418 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37419 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37420 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37421 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37422 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37423 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37424 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37425 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37426 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37427 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37428 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37429 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37430 ... here.
37431 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37432 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37433 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37434 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37435 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37436 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37437 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37438 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37439
37440 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37441
37442 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37443 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37444 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37445 Add sysdep.
37446
37447 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37448
37449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37450
37451 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37452
37453 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37454 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37455
37456 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37457
37458 * sysdeps/arm/libm-test-ulps: Regenerated.
37459
37460 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37461 Roland McGrath <roland@hack.frob.com>
37462
37463 * test-skeleton.c (signal_handler): Kill the whole process group
37464 before killing the child individually.
37465 (main): Report any failure on `setpgid'.
37466
37467 2014-06-30 Roland McGrath <roland@hack.frob.com>
37468
37469 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37470 from _TLS_H to _ARM_NPTL_TLS_H.
37471 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37472 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37473
37474 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37475
37476 [BZ #16539]
37477 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37478 (__expm1l): Return argument unchanged when small but not
37479 subnormal.
37480
37481 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37482 include macro name.
37483 (_FP_UNPACK_RAW_1_P): Likewise.
37484 (_FP_PACK_RAW_1): Likewise.
37485 (_FP_PACK_RAW_1_P): Likewise.
37486 (_FP_MUL_MEAT_1_wide): Likewise.
37487 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37488 (_FP_MUL_MEAT_1_hard): Likewise.
37489 (_FP_DIV_MEAT_1_imm): Likewise.
37490 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37491 (_FP_DIV_MEAT_1_udiv): Likewise.
37492 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37493 (_FP_UNPACK_RAW_2): Likewise.
37494 (_FP_UNPACK_RAW_2_P): Likewise.
37495 (_FP_PACK_RAW_2): Likewise.
37496 (_FP_PACK_RAW_2_P): Likewise.
37497 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37498 (_FP_MUL_MEAT_2_wide): Likewise.
37499 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37500 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37501 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37502 (_FP_MUL_MEAT_2_gmp): Likewise.
37503 (_FP_DIV_MEAT_2_udiv): Likewise.
37504 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37505 (_FP_FRAC_SRL_4): Likewise.
37506 (_FP_FRAC_SRST_4): Likewise.
37507 (_FP_FRAC_SRS_4): Likewise.
37508 (_FP_UNPACK_RAW_4): Likewise.
37509 (_FP_UNPACK_RAW_4_P): Likewise.
37510 (_FP_PACK_RAW_4): Likewise.
37511 (_FP_PACK_RAW_4_P): Likewise.
37512 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37513 (_FP_MUL_MEAT_4_wide): Likewise.
37514 (_FP_MUL_MEAT_4_gmp): Likewise.
37515 (umul_ppppmnnn): Likewise.
37516 (_FP_DIV_MEAT_4_udiv): Likewise.
37517 (__FP_FRAC_ADD_4): Likewise.
37518 (__FP_FRAC_SUB_3): Likewise.
37519 (__FP_FRAC_SUB_4): Likewise.
37520 (__FP_FRAC_DEC_3): Likewise.
37521 (__FP_FRAC_DEC_4): Likewise.
37522 (__FP_FRAC_ADDI_4): Likewise.
37523 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37524 (_FP_FRAC_SRL_8): Likewise.
37525 (_FP_FRAC_SRS_8): Likewise.
37526
37527 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37528 include macro name.
37529 (FP_UNPACK_RAW_EP): Likewise.
37530 (FP_PACK_RAW_E): Likewise.
37531 (FP_PACK_RAW_EP): Likewise.
37532 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37533 (_FP_ISSIGNAN): Likewise.
37534 (_FP_ADD_INTERNAL): Likewise.
37535 (_FP_FMA): Likewise.
37536 (_FP_CMP): Likewise.
37537 (_FP_SQRT): Likewise.
37538 (_FP_TO_INT): Likewise.
37539 (_FP_FROM_INT): Likewise.
37540 (FP_EXTEND): Likewise.
37541 (_FP_DIV_MEAT_N_loop): Likewise.
37542
37543 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37544
37545 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37546 throughout.
37547
37548 2014-06-29 Joseph Myers <joseph@codesourcery.com>
37549
37550 [BZ #17097]
37551 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37552 result with correct sign in case of exponents that produce
37553 overflow except for X very close to 1.
37554
37555 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37556
37557 mktime: merge #if/#ifdef usage from glibc
37558 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37559 as that works with both Glibc's and Gnulib's style.
37560 See thread starting at Siddhesh Poyarekar's bug report at:
37561 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37562
37563 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37564
37565 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37566 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37567 * sysdeps/tile/tilegx/memmove.c: Remove file.
37568
37569 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37570
37571 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37572 abi-name definition.
37573 * scripts/soversions.awk: Do not handle or generate ABI lines.
37574 * shlib-versions: Remove ABI entries.
37575 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37576 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37577
37578 2014-06-27 Roland McGrath <roland@hack.frob.com>
37579
37580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37581 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37582 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37583 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37585 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37586 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37587 Moved ...
37588 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37589 ... here.
37590 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37591 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37593 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37595 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37596 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37597 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37599 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37600 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37601 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37603 Moved ...
37604 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37606 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37608 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37610 Moved ...
37611 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37613 Moved ...
37614 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37616 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37618 Moved ...
37619 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37621 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37623 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37625 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37627 Moved ...
37628 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37630 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37631 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37632 Moved ...
37633 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37634 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37635 Moved ...
37636 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37637 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37638 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37639 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37640 Moved ...
37641 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37642 ... here.
37643 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37644 Identical file removed.
37645 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37646 Moved ...
37647 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37648 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37649 Identical file removed.
37650 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37651 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37652 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37653 Moved ...
37654 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37656 Identical file removed.
37657 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37658 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37659 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37660 Identical file removed.
37661 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37662 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37663 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37664 Identical file removed.
37665 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37666 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37668 Identical file removed.
37669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37670 Moved ...
37671 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37673 Identical file removed.
37674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37675 Moved ...
37676 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37677 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37678 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37680 Identical file removed.
37681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37682 Moved ...
37683 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37684 ... here.
37685 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37686 Identical file removed.
37687 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37688 Moved ...
37689 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37690 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37691 Identical file removed.
37692 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37693 Moved ...
37694 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37695 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37696 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37700 Moved ...
37701 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37702 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37703 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37704
37705 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37706 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37707 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37708 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37709 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37710
37711 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37712
37713 [BZ #17092]
37714 * nscd/nscd.c (monitor_child): Return exit status of child
37715 instead of return value from wait syscall.
37716
37717 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37718
37719 * configure.ac (libc_commonpagesize): Remove variable.
37720 (libc_relro_required): Likewise.
37721 (libc_cv_z_relro): Remove configure test.
37722 * configure: Regenerated.
37723 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37724 variable.
37725 (libc_relro_required): Likewise.
37726 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37727 (libc_relro_required): Likewise.
37728 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37729 (libc_relro_required): Likewise.
37730 * sysdeps/arm/preconfigure: Regenerated.
37731 * sysdeps/ia64/preconfigure: Remove file.
37732 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37733 variable.
37734 (libc_relro_required): Likewise.
37735
37736 [BZ #16561]
37737 [BZ #16562]
37738 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37739 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37740 recompute overflowing results in original rounding mode.
37741 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37742 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37743 recompute overflowing results in original rounding mode.
37744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37745 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37746 recompute overflowing results in original rounding mode.
37747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37748 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37749 recompute overflowing results in original rounding mode.
37750 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37751 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37752 recompute overflowing results in original rounding mode.
37753 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37754 (libc_feholdsetround_ctx): New macro.
37755 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37756 * sysdeps/i386/fpu/libm-test-ulps: Update.
37757 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37758
37759 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37760
37761 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37762 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37763 corresponding .cpsetup call.
37764
37765 2014-06-26 Roland McGrath <roland@hack.frob.com>
37766
37767 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37768 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37769 * sysdeps/arm/Makefile [$(subdir) = csu]
37770 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37771 (static-only-routines): Add aeabi_read_tp here.
37772 (shared-only-routines): Add libc-aeabi_read_tp here.
37773 (CFLAGS-libc-start.c): Add -fexceptions here.
37774 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37775 (sysdep_routines, static-only-routines, shared-only-routines):
37776 Don't add to these here.
37777 (CFLAGS-libc-start.c): Likewise.
37778
37779 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37780 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37781 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37782 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37783 * sysdeps/arm/Makefile [$(subdir) = rt]
37784 (librt-sysdep_routines, librt-shared-only-routines):
37785 Append rt-aeabi_unwind_cpp_pr1 here.
37786 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37787 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37788 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37789 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37790 Append nptl-aeabi_unwind_cpp_pr1 here.
37791 (tests): Filter out tst-cleanupx4 here.
37792 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37793 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37794 Don't do those here.
37795
37796 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37797
37798 * scripts/list-sources.sh: Do not handle ports specially.
37799
37800 2014-06-26 Roland McGrath <roland@hack.frob.com>
37801
37802 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37803 * sysdeps/arm/feupdateenv.c: Likewise.
37804
37805 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37806
37807 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37808
37809 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37810 trailing whitespace removed.
37811 * scripts/config.guess: Update to version 2014-03-23.
37812 * scripts/config.sub: Update to version 2014-05-01
37813 * scripts/install-sh: Update to version 2013-12-25.23.
37814 * scripts/move-if-change: Update from gnulib.
37815
37816 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37817
37818 * debug/memmove_chk.c: Remove pagecopy.h include.
37819
37820 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37821
37822 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37823 identical to gnulib mktime.
37824
37825 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37826
37827 * configure.ac: Do not test for machine being rs6000. Do not test
37828 for powerpc*-*soft.
37829 * configure: Regenerated.
37830
37831 [BZ #11505]
37832 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37833 test.
37834 * configure: Regenerated.
37835 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37836 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37837 Remove configure test.
37838 * sysdeps/arm/configure: Regenerated.
37839 * sysdeps/nptl/configure.ac: Do not check
37840 libc_cv_asm_cfi_directives.
37841 * sysdeps/nptl/configure: Regenerated.
37842 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37843 * sysdeps/x86_64/nptl/configure: Remove generated file.
37844 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37845 unconditional.
37846 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37847
37848 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37849
37850 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37851 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37852 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37853 it is defined.
37854
37855 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37856 instead of whether it is defined.
37857 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37858 * sysdeps/hppa/dl-machine.h: Likewise.
37859 * sysdeps/ia64/dl-machine.h: Likewise.
37860 * sysdeps/m68k/dl-machine.h: Likewise.
37861 * sysdeps/microblaze/dl-machine.h: Likewise.
37862 * sysdeps/mips/dl-machine.: Likewise.
37863 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37864 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37865 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37866 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37867 * sysdeps/sh/dl-machine.h: Likewise.
37868 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37869 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37870 * sysdeps/tile/dl-machine.h: Likewise.
37871 * sysdeps/x86_64/dl-machine.h: Likewise.
37872
37873 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37874 code.
37875 (verify_persistent_db): Likewise.
37876
37877 2014-06-26 Roland McGrath <roland@hack.frob.com>
37878
37879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37880 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37882 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37884 Moved ...
37885 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37886 ... here.
37887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37888 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37890 Identical file removed.
37891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37892 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37894 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37896 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37898 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37900 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37902 Moved ...
37903 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37905 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37907 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37909 Moved ...
37910 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37912 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37914 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37916 Identical file removed.
37917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37918 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37920 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37922 Moved ...
37923 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37924 ... here.
37925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37926 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37928 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37930 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37934 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37936 Moved ...
37937 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37939 Moved ...
37940 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37942 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37944 Moved ...
37945 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37947 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37948
37949 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37950 folded into ...
37951 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37952 * sysdeps/unix/sysv/linux/s390/Versions
37953 (libpthread: GLIBC_2.19): New version set.
37954 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37955 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37956 (librt: GLIBC_2.3.3): New version set.
37957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37958 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37959 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37960 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37961 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37962 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37963 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37964 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37965 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37966 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37967 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37968 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37969 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37970 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37971 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37972 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37973 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37974 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37975 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37976 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37977 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37978 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37979 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37980 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37981 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37982 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37983 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37984 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37985 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37986 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37987 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37988 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37989 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37990 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37992 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37993 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37994 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37995 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37997 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37999 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38001 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38002
38003 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38004 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38005 (__libc_vfork): Define the function under this name.
38006 [!NOT_IN_libc] (__vfork): Make this an alias.
38007 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38009 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38010 (__libc_vfork): Define the function under this name.
38011 [!NOT_IN_libc] (__vfork): Make this an alias.
38012 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38013 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38014 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38017 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38018
38019 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38020 code that was previously under [RESET_PID].
38021 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38022 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38024
38025 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38026 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38027 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38028 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38029 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38030 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38031 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38032 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38033 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38034 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38035 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38036 Moved ...
38037 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38038 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38039 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38040 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38041 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38042 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38043 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38044 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38045 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38046 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38047 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38048 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38049 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38050 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38051 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38052 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38053 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38054 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38055 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38056 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38057 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38058 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38059 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38060 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38061 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38062 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38063 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38065 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38066
38067 2014-06-25 Roland McGrath <roland@hack.frob.com>
38068
38069 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38070 that was previously under [RESET_PID].
38071 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38072
38073 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38074
38075 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38076 not undefine and redefine.
38077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38078 [O_CLOEXEC]: Make code unconditional.
38079 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38080 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38081 <kernel-features.h>.
38082 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38083 conditional variable definition.
38084 (shm_open) [O_CLOEXEC]: Make code unconditional.
38085 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38086 code.
38087
38088 * configure.ac (USE_REGPARMS): Don't define here.
38089 * configure: Regenerated.
38090 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38091 * sysdeps/i386/configure: Regenerated.
38092
38093 * nptl/createthread.c: Don't include kernel-features.h.
38094 * nptl/pthread_cancel.c: Likewise.
38095 * nptl/pthread_condattr_setclock.c: Likewise.
38096 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38097 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38098 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38099 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38100 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38101 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38102 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38105 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38106 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38107 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38108 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38109 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38110 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38111 * nscd/gai.c: Likewise.
38112 * nss/nss_db/db-open.c: Likewise.
38113 * sysdeps/generic/ldsodefs.h: Likewise.
38114 * sysdeps/sh/nptl/tls.h: Likewise.
38115 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38116 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38117 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38118 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38119 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38120 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38121 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38122 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38123 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38124 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38125 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38126 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38127 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38128 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38129 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38130 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38131 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38132 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38133 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38134 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38135 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38137 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38138 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38143 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38144 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38145 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38146 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38147 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38150 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38151 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38152 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38153 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38154 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38155 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38156 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38157 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38158 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38159 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38160 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38161 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38162 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38163 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38164 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38165 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38166 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38167 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38168 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38169 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38170 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38171 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38172 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38195 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38196 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38197 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38198 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38199 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38200 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38201 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38202 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38203 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38204 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38205 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38206 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38207 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38208 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38209 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38210 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38211 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38212 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38213 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38214 * sysdeps/unix/sysv/linux/system.c: Likewise.
38215 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38216 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38217 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38218 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38219 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38221 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38222
38223 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38224 * configure: Regenerated.
38225 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38226
38227 * configure.ac (base_machine): Do not set specially for particular
38228 machines here.
38229 * configure: Regenerated.
38230 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38231 settings from configure.ac.
38232 * sysdeps/i386/preconfigure: New file.
38233 * sysdeps/s390/preconfigure: Likewise.
38234 * sysdeps/sh/preconfigure: Likewise.
38235 * sysdeps/sparc/preconfigure: Likewise.
38236
38237 2014-06-25 Roland McGrath <roland@hack.frob.com>
38238
38239 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38240 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38241 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38242 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38243 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38244 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38245 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38246 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38247 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38248 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38249 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38250 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38251 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38252 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38253 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38254 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38255 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38256 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38257 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38258
38259 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38260 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38261 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38262 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38263 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38264 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38265 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38266 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38267 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38268 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38269 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38270 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38271 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38272 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38273 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38274 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38275 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38276 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38277 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38278 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38279 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38280 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38281 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38286 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38287 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38288 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38289 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38290 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38292 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38293 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38294 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38295 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38296 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38297
38298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38299 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38301 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38303 Moved ...
38304 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38305 ... here.
38306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38307 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38309 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38311 Moved ...
38312 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38314 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38318 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38320 Moved ...
38321 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38323 Moved ...
38324 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38326 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38328 Moved ...
38329 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38331 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38333 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38335 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38337 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38339 Moved ...
38340 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38341 ... here.
38342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38343 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38347 Moved ...
38348 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38350 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38354 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38356 Moved ...
38357 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38359 Moved ...
38360 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38362 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38364 Moved ...
38365 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38367 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38369 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38370
38371 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38372
38373 * timezone/checktab.awk: Update from tzcode 2014e.
38374 * timezone/private.h: Likewise.
38375 * timezone/tzfile.h: Likewise.
38376 * timezone/zdump.c: Likewise.
38377 * timezone/zic.c: Likewise.
38378
38379 * sysdeps/unix/sysv/linux/kernel-features.h
38380 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38381 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38382 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38383 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38384 Remove conditional code.
38385
38386 2014-06-25 Will Newton <will.newton@linaro.org>
38387
38388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38389 (_dl_arm_cap_flags): Add HWCAP2 values.
38390 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38391 (_DL_HWCAP_COUNT): Increase to 37.
38392 (_DL_HWCAP_LAST): New define.
38393 (_DL_HWCAP2_LAST): New define.
38394 (_dl_procinfo): Add support for printing
38395 AT_HWCAP2 entries.
38396 (_dl_string_hwcap): Use _dl_hwcap_string.
38397
38398 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38399
38400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38401
38402 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38403
38404 * README: Do not mention ports directory.
38405
38406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38407 Remove macro.
38408 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38409 <kernel-features.h>.
38410 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38411 conditional variable definition.
38412 (__futimes): Update comment.
38413 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38414 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38415
38416 [BZ #16560]
38417 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38418 arguments close to 0.
38419 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38420 Likewise.
38421 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38422 Likewise.
38423 * math/auto-libm-test-in: Add more tests of exp10.
38424 * math/auto-libm-test-out: Regenerated.
38425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38426
38427 * sysdeps/unix/sysv/linux/kernel-features.h
38428 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38429 * sysdeps/unix/sysv/linux/readv.c: Do not include
38430 <kernel-features.h>.
38431 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38432 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38433 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38434 unconditional.
38435 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38436 conditional code.
38437 * sysdeps/unix/sysv/linux/writev.c: Do not include
38438 <kernel-features.h>.
38439 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38440 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38441 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38442 unconditional.
38443 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38444 conditional code.
38445
38446 2014-06-25 Will Newton <will.newton@linaro.org>
38447
38448 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38449 comment changes throughout the file. Remove checks
38450 for HAVE_*_H definitions that are not required.
38451 (__gen_tempname): Call abort if an unknown kind value is
38452 passed.
38453
38454 2014-06-25 Andreas Schwab <schwab@suse.de>
38455
38456 [BZ #17086]
38457 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38458 scalbln, scalblnf, scalblnl in libc.
38459
38460 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38461
38462 [BZ #17086]
38463 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38464 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38465 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38466
38467 2014-06-24 Roland McGrath <roland@hack.frob.com>
38468
38469 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38470 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38471 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38472 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38473 Update #include.
38474 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38475 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38476 Update #include.
38477 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38478 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38479 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38480 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38481 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38482 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38483 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38484 * sysdeps/x86/bits/semaphore.h: ... here.
38485 * sysdeps/x86/nptl/elide.h: Moved ...
38486 * sysdeps/x86/elide.h: ... here.
38487 * sysdeps/x86_64/nptl/Implies: File removed.
38488 * sysdeps/i386/nptl/Implies: File removed.
38489
38490 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38491
38492 [BZ #16539]
38493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38494 return the argument for normal arguments with exponent below -64.
38495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38496 Likewise.
38497 * math/auto-libm-test-in: Add another test of expm1.
38498 * math/auto-libm-test-out: Regenerated.
38499
38500 [BZ #16287]
38501 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38502 calling __erfcl for arguments at least 16.
38503 * math/auto-libm-test-in: Add more tests of erf.
38504 * math/auto-libm-test-out: Regenerated.
38505
38506 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38507 individual architectures.
38508 * sysdeps/unix/sysv/linux/configure: Regenerated.
38509 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38510 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38511 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38512 (ldd_rewrite_script): Define variable.
38513 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38515 file.
38516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38517 generated file.
38518 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38519 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38520 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38521 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38522 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38523 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38524 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38525 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38526
38527 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38528
38529 [BZ #17084]
38530 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38531 Rename member __data.d to __data.__elision_data.
38532
38533 2014-06-24 Wilco <wdijkstr@arm.com>
38534
38535 * NEWS: Add 16918 to fixed bug list.
38536
38537 2014-06-24 Wilco <wdijkstr@arm.com>
38538
38539 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38540
38541 2014-06-24 Wilco <wdijkstr@arm.com>
38542
38543 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38544 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38545 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38546 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38547 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38548 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38549 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38550 Use _FPU_MASK_RM.
38551
38552 2014-06-24 Wilco <wdijkstr@arm.com>
38553
38554 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38555
38556 2014-06-24 Wilco <wdijkstr@arm.com>
38557
38558 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38559 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38560 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38561 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38562
38563 2014-06-24 Wilco <wdijkstr@arm.com>
38564
38565 [BZ #16918]
38566 * sysdeps/arm/feupdateenv.c (feupdateenv):
38567 Rewrite to reduce FPSCR accesses and fix return value.
38568
38569 2014-06-24 Wilco <wdijkstr@arm.com>
38570
38571 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38572 Optimize to avoid unnecessary FPSCR writes.
38573 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38574 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38575 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38576 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38577
38578 2014-06-24 Wilco <wdijkstr@arm.com>
38579
38580 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38581 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38582 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38583 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38584 Call libc_fetestexcept_vfp.
38585 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38586 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38587 __SOFTFP__ ifdef so that they can be built for softfp.
38588
38589 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38590
38591 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38592 argument type signed char.
38593
38594 * Makerules (check-abi): Dump diff of symlist if the test
38595 fails.
38596
38597 2014-06-23 Roland McGrath <roland@hack.frob.com>
38598
38599 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38600 using abort.
38601
38602 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38603 Remove unused variable ST.
38604
38605 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #16354]
38608 [BZ #17061]
38609 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38610 small arguments before calling __expm1.
38611 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38612 small arguments before calling __expm1f.
38613 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38614 small arguments before calling __expm1l.
38615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38616 Likewise.
38617 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38618 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38619 spurious underflow for some cosh tests.
38620 * math/auto-libm-test-out: Regenerated.
38621 * sysdeps/i386/fpu/libm-test-ulps: Update.
38622
38623 [BZ #17050]
38624 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38625 (__ieee754_y1): Set errno if return value overflows.
38626 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38627 (__ieee754_y1f): Set errno if return value overflows.
38628 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38629 (__ieee754_y1l): Set errno if return value overflows.
38630 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38631 (__ieee754_y1l): Set errno if return value overflows.
38632 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38633 * math/auto-libm-test-out: Regenerated.
38634
38635 * math/gen-auto-libm-tests.c: Document use of
38636 ignore-zero-inf-sign.
38637 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38638 (input_flags): Add ignore-zero-inf-sign.
38639 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38640 * math/gen-libm-test.pl (generate_testfile): Handle
38641 ignore-zero-inf-sign.
38642 * math/auto-libm-test-in: Mark some cpow tests with
38643 ignore-zero-inf-sign and some with xfail-rounding.
38644 * math/auto-libm-test-out: Regenerated.
38645 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38646 * sysdeps/i386/fpu/libm-test-ulps: Update.
38647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38648
38649 [BZ #16315]
38650 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38651 overflowing or underflowing operations take place with sign of
38652 result.
38653 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38654 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38655 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38656 (__ieee754_pow): Recompute overflowing and underflowing results in
38657 original rounding mode.
38658 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38659 (__powl_helper): Allow negative argument X and scale negated value
38660 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38661 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38662 overflowing or underflowing operations take place with sign of
38663 result.
38664 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38665 Include <math.h>.
38666 * math/auto-libm-test-in: Add more tests of pow.
38667 * math/auto-libm-test-out: Regenerated.
38668 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38669 (pow_tonearest_test_data): Remove.
38670 (pow_test_tonearest): Likewise.
38671 (pow_towardzero_test_data): Likewise.
38672 (pow_test_towardzero): Likewise.
38673 (pow_downward_test_data): Likewise.
38674 (pow_test_downward): Likewise.
38675 (pow_upward_test_data): Likewise.
38676 (pow_test_upward): Likewise.
38677 (main): Don't call removed functions.
38678 * sysdeps/i386/fpu/libm-test-ulps: Update.
38679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38680
38681 2014-06-23 Roland McGrath <roland@hack.frob.com>
38682
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38684 Moved ...
38685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38687 Moved ...
38688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38690 Moved ...
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38693 Moved ...
38694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38696 File removed.
38697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38698 File removed.
38699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38700 File removed.
38701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38702 File removed.
38703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38704 File removed.
38705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38706 File removed.
38707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38708 File removed.
38709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38710 File removed.
38711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38712 File removed.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38714 File removed.
38715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38716 File removed.
38717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38718 File removed.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38720 Moved ...
38721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38723 Moved ...
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38725 ... here.
38726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38727 Moved ...
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38730 Moved ...
38731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38733 Moved ...
38734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38736 Moved ...
38737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38739 Moved ...
38740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38742 Moved ...
38743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38745 Moved ...
38746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38749 ... here.
38750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38751 Moved ...
38752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38754 Moved ...
38755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38756 ... here.
38757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38758 Moved ...
38759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38760 ... here.
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38762 Moved ...
38763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38764 ... here.
38765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38766 Moved ...
38767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38769 Moved ...
38770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38774 Moved ...
38775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38776 ... here.
38777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38778 Moved ...
38779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38780 ... here.
38781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38782 Moved ...
38783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38785 Moved ...
38786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38788 Moved ...
38789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38791 Moved ...
38792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38794 Moved ...
38795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38796 ... here.
38797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38798 Moved ...
38799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38801 Moved ...
38802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38804 Moved ...
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38807 Moved ...
38808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38812 Moved ...
38813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38815 Moved ...
38816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38818 Moved ...
38819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38820 ... here.
38821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38822 Moved ...
38823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38824 ... here.
38825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38826 Moved ...
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38828 ... here.
38829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38830 Moved ...
38831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38833 Moved ...
38834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38836 Moved ...
38837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38839 Moved ...
38840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38841 ... here.
38842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38843 Moved ...
38844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38845 ... here.
38846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38847 Moved ...
38848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38849 ... here.
38850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38851 Moved ...
38852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38854 Moved ...
38855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38856
38857 2014-06-23 Will Newton <will.newton@linaro.org>
38858 Wilco <wdijkstr@arm.com>
38859
38860 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38861 implementation. Include get-rounding-mode.h.
38862 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38863 [!libc_feholdsetround_noex_ctx]: Define
38864 libc_feholdsetround_noex_ctx.
38865 [!libc_feholdsetround_noexf_ctx]: Define
38866 libc_feholdsetround_noexf_ctx.
38867 [!libc_feholdsetround_noexl_ctx]: Define
38868 libc_feholdsetround_noexl_ctx.
38869 (libc_feholdsetround_ctx): New function.
38870 (libc_feresetround_ctx): New function.
38871 (libc_feholdsetround_noex_ctx): New function.
38872 (libc_feresetround_noex_ctx): New function.
38873
38874 2014-06-23 Roland McGrath <roland@hack.frob.com>
38875
38876 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38877 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38878 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38879 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38880 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38881 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38882
38883 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38884 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38885 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38886 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38887 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38888 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38889 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38890 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38891 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38892 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38893 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38894 Moved ...
38895 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38896 ... here.
38897 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38898 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38902 Moved ...
38903 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38905 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38906 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38907 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38909 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38911 Moved ...
38912 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38914 Moved ...
38915 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38917 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38919 Moved ...
38920 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38922 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38923 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38924 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38925 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38926 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38927 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38928 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38929 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38930 Moved ...
38931 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38932 ... here.
38933 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38934 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38935 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38936 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38937 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38938 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38939 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38940 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38941 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38942 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38943 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38944 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38946 Moved ...
38947 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38949 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38951 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38953 Moved ...
38954 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38956 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38957 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38958 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38959
38960 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38961 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38962 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38963 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38964 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38965 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38966 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38967 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38969 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38970 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38971 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38972 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38973 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38974 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38975 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38976 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38977 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38978 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38979 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38980 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38981 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38983 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38984 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38985 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38986 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38987 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38988
38989 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38990
38991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38992 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38993 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38994 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38995 (IPV6_PMTUDISC_INTERFACE): Likewise.
38996 (IPV6_PMTUDISC_OMIT): Likewise.
38997
38998 2014-06-23 Andreas Schwab <schwab@suse.de>
38999
39000 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39001 Remove unused errout label.
39002
39003 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39004
39005 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39006 macro: hardware supports Vector Crypto instructions.
39007
39008 2014-06-23 Will Newton <will.newton@linaro.org>
39009
39010 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39011 rather than __builtin_expect.
39012
39013 * elf/dl-lookup.c (undefined_msg): Remove variable.
39014 (_dl_lookup_symbol_x): Replace undefined_msg with string
39015 literal.
39016
39017 * elf/dl-lookup.c (do_lookup_unique): New function.
39018 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39019 to a separate function.
39020
39021 2014-06-23 Andreas Schwab <schwab@suse.de>
39022
39023 [BZ #17079]
39024 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39025 before reading the next line.
39026
39027 2014-06-23 Will Newton <will.newton@linaro.org>
39028
39029 * test-skeleton.c (signal_handler): Use printf and %m
39030 rather than perror. Use printf rather than fprintf to
39031 stderr. Use puts rather than fputs to stderr.
39032 (main): Likewise.
39033
39034 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39035
39036 * nscd/nscd.c (thread_info_t): Remove typedef.
39037 (thread_info): Remove variable.
39038
39039 2014-06-21 Allan McRae <allan@archlinux.org>
39040
39041 * NEWS: Mention CVE-2014-4043.
39042
39043 2014-06-20 Roland McGrath <roland@hack.frob.com>
39044
39045 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39046 * nptl/smp.h: ... here.
39047
39048 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39049
39050 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39051 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39052 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39053 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39054
39055 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39056 * nptl/stack-aliasing.h: New file.
39057 * sysdeps/i386/i686/stack-aliasing.h: New file.
39058 * sysdeps/i386/i686/nptl/Makefile: File removed.
39059 * sysdeps/x86_64/stack-aliasing.h: New file.
39060 * sysdeps/x86_64/nptl/Makefile
39061 (CFLAGS-pthread_create.c): Variable removed.
39062
39063 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39064 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39065 old file.
39066 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39067 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39068 old file.
39069
39070 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39071
39072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39073 (__ASSUME_SIGFRAME_V2): Remove macro.
39074 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39075 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39076 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39077 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39078 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39079 Declare as function. Remove conditional macro definitions.
39080 (__default_rt_sa_restorer): Likewise.
39081 (__default_sa_restorer_v1): Remove declaration.
39082 (__default_sa_restorer_v2): Likewise.
39083 (__default_rt_sa_restorer_v1): Likewise.
39084 (__default_rt_sa_restorer_v2): Likewise.
39085 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39086 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39087 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39088
39089 2014-06-20 Roland McGrath <roland@hack.frob.com>
39090
39091 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39092 (libpthread-routines): Add sysdep.
39093 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39094 * sysdeps/unix/sysv/linux/sparc/Versions
39095 (libpthread: GLIBC_2.3.3): New version set.
39096 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39097 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39098 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39099 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39100 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39101 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39102 Moved ...
39103 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39105 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39106 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39107 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39108 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39109 * sysdeps/sparc/nptl/sem_init.c: ... here.
39110 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39111 * sysdeps/sparc/nptl/sem_post.c: ... here.
39112 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39113 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39114 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39115 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39116 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39117 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39118 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39119 (libpthread-routines): Add cpu_relax.
39120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39121 File removed.
39122 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39123 (librt: GLIBC_2.3.3): New version set.
39124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39125 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39126 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39127 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39130 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39132 Moved ...
39133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39135 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39137 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39139 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39141 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39143 Moved ...
39144 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39145 Update #include.
39146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39147 Moved ...
39148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39149 Update #include.
39150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39151 Moved ...
39152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39153 Update #include.
39154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39155 Moved ...
39156 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39157 Update #include.
39158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39159 Moved ...
39160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39161 Update #include.
39162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39163 Moved ...
39164 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39165 Update #include.
39166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39167 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39175 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39177 Moved ...
39178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39180 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39182 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39183
39184 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39185
39186 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39187 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39188 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39189 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39190 * nscd/nscd.c: Likewise.
39191 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39192 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39193 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39194 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39195
39196 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39197 <kernel-features.h>.
39198 (init_mq_netlink): Remove conditional have_sock_cloexec
39199 definitions. Remove code conditional on have_sock_cloexec < 0.
39200 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39201 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39202 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39203 <kernel-features.h>.
39204 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39205 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39206
39207 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39208
39209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39210 Add tests for memset_chk and memset.
39211
39212 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39213 with AVX2_Usable.
39214
39215 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39216
39217 [BZ #16046]
39218 * elf/tst-dl-iter-static.c: New file.
39219 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39220
39221 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39222 error.
39223
39224 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39225
39226 * sysdeps/unix/sysv/linux/kernel-features.h
39227 (__ASSUME_F_GETOWN_EX): Remove macro.
39228 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39229 <kernel-features.h>.
39230 (miss_F_GETOWN_EX): Remove variable or macro.
39231 (do_fcntl): Do not check miss_F_GETOWN_EX.
39232 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39233
39234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39235 Remove macro.
39236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39237 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39238 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39239
39240 * sysdeps/unix/sysv/linux/kernel-features.h
39241 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39242 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39243 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39244 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39245
39246 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39247
39248 [BZ #17075]
39249 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39250 Fix calculation of the symbol's value.
39251 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39252 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39253 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39254 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39255 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39256 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39257 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39258 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39259 (modules-names): Add `tst-armtlsdescmod',
39260 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39261 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39262 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39263 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39264 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39265 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39266 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39267 ($(objpfx)tst-armtlsdescloc): New dependency.
39268 ($(objpfx)tst-armtlsdescextnow): Likewise.
39269 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39270 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39271 TLS scheme support.
39272 * sysdeps/arm/configure: Regenerate.
39273
39274 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39275
39276 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39277 (__atfct_seterrno_2): Likewise.
39278 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39279 <kernel-features.h>.
39280 (__ASSUME_ATFCTS): Do not undefine and redefine.
39281 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39282 (__have_atfcts): Remove conditional definition.
39283 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39284 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39285 unreachable if [__ASSUME_ATFCTS].
39286 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39287 not undefine and redefine.
39288 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39289 <kernel-features.h>.
39290 (faccessat) [__NR_faccessat]: Make code unconditional.
39291 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39292 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39293 <kernel-features.h>.
39294 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39295 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39296 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39297 <kernel-features.h>.
39298 (fchownat) [__NR_fchownat]: Make code unconditional.
39299 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39300 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39301 <kernel-features.h>.
39302 (futimesat) [__NR_futimesat]: Make code unconditional.
39303 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39304 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39305 <kernel-features.h>.
39306 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39307 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39308 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39309 <kernel-features.h>.
39310 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39311 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39312 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39313 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39314 <kernel-features.h>.
39315 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39316 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39317 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39318 <kernel-features.h>.
39319 (linkat) [__NR_linkat]: Make code unconditional.
39320 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39321 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39322 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39323 <kernel-features.h>.
39324 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39325 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39326 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39327 <kernel-features.h>.
39328 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39329 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39330 * sysdeps/unix/sysv/linux/openat.c: Do not include
39331 <kernel-features.h>.
39332 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39333 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39334 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39335 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39336 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39337 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39338 <kernel-features.h>.
39339 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39340 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39341 result of INLINE_SYSCALL directly, not via int variable.
39342 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39343 <kernel-features.h>.
39344 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39345 (renameat) [__NR_renameat]: Make code unconditional.
39346 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39347 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39348 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39349 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39350 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39351 (__ASSUME_ATFCTS): Do not undefine and redefine.
39352 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39353 <kernel-features.h>.
39354 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39355 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39356 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39357 <kernel-features.h>.
39358 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39359 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39360 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39361 (__ASSUME_ATFCTS): Do not undefine and redefine.
39362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39363 <kernel-features.h>.
39364 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39365 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39366 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39367 <kernel-features.h>.
39368 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39369 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39370
39371 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39372
39373 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39374
39375 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39376
39377 [BZ #17069]
39378 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39379 constructed tree before returning error.
39380 * posix/bug-regexp36.c: Expand test case.
39381
39382 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39383
39384 [BZ #6803]
39385 * math/libm-test.inc (scalbln_test_date):
39386 Add errno expectations.
39387 * math/w_scalblnf.c: New File.
39388 Add wrapper which checks for setting errno to ERANGE.
39389 Add weak_alias for corresponding scalbln function.
39390 * math/w_scalbln.c: Likewise.
39391 * math/w_scalblnl.c: Likewise.
39392 * math/Makefile (libm-calls): Add w_scalbln.
39393 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39394 Remove weak_alias for corresponding scalbln function.
39395 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39398 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39399 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39400 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39401 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39402 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39403 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39404 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39405 Remove long_double_symbol for scalblnl function in libm, libc.
39406 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39407 Add wrapper which checks for setting errno to ERANGE.
39408 Add long_double_symbol for scalblnl function in libm, libc.
39409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39410 Remove long_double_symbol for scalblnl in libm.
39411 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39412 Add wrapper which checks for setting errno to ERANGE.
39413 Add long_double_symbol for scalblnl function in libm.
39414 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39415 Do not use wrapper because of own implementation.
39416
39417 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39418
39419 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39420 3 bytes for __pad1 for x32.
39421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39422
39423 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39424 H.J. Lu <hongjiu.lu@intel.com>
39425
39426 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39427 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39430 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39431
39432 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39433
39434 [BZ #17069]
39435 * posix/regcomp.c (parse_expression): Deallocate partially
39436 constructed tree before returning error.
39437 * posix/Makefile.c (tests): Add bug-regex36.
39438 (generated): Add bug-regex36.mtrace.
39439 (tests-special): Add $(objpfx)bug-regex36-mem.out
39440 (bug-regex36-ENV): New variable.
39441 ($(objpfx)bug-regex36-mem.out): New rule.
39442 * posix/bug-regex36.c: New file.
39443
39444 2014-06-19 Will Newton <will.newton@linaro.org>
39445
39446 * malloc/malloc.c (systrim): If extra is zero then return
39447 early.
39448
39449 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39450
39451 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39452
39453 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39454
39455 * sysdeps/aarch64/strchr.S: New file.
39456
39457 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39458
39459 [BZ #17022]
39460 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39461 from arguments -2 or below.
39462 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39463 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39464
39465 2014-06-18 Andreas Schwab <schwab@suse.de>
39466
39467 [BZ #17062]
39468 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39469 of a bracket expr not to run off the end of the string.
39470 * posix/Makefile (tests): Add tst-fnmatch3.
39471 * posix/tst-fnmatch3.c: New file.
39472
39473 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39474
39475 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39476 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39477 [$(cross-compiling) = no]: Likewise.
39478 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39479 [$(cross-compiling) = no]: Likewise.
39480
39481 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39482
39483 [BZ #17031]
39484 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39485 double, adjusted for any remainder from the high double.
39486 * math/libm-test.inc (nearbyint): Add tests.
39487 (rint): Likewise.
39488
39489 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39490
39491 * nptl/sysdeps/powerpc/Makefile: Moved ...
39492 * sysdeps/powerpc/nptl/Makefile: ... here.
39493 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39494 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39495 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39496 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39497 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39498 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39499 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39500 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39501 * nptl/sysdeps/powerpc/tls.h: Moved ...
39502 * sysdeps/powerpc/nptl/tls.h: ... here.
39503
39504 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39505
39506 [BZ #16681]
39507 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39508 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39509 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39510 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39511 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39512 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39513 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39514 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39515 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39516
39517 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
39518
39519 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39520
39521 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
39522
39523 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39524 defined operator.
39525
39526 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39527 $TIMEOUTFACTOR.
39528
39529 2014-06-16 Florian Weimer <fweimer@redhat.com>
39530
39531 [BZ #17058]
39532 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39533 non-executed part of the test.
39534
39535 2014-06-16 Andreas Schwab <schwab@suse.de>
39536
39537 * string/bits/string2.h (strdup, strndup): Update feature guard.
39538
39539 2014-06-14 David S. Miller <davem@davemloft.net>
39540
39541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39542
39543 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
39544
39545 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39546 that was previously under [RESET_PID].
39547 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39548
39549 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39550 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39551 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39552 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39553 (__libc_vfork): New strong alias.
39554 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39555
39556 2014-06-14 Andi Kleen <ak@linux.intel.com>
39557
39558 * sysdeps/generic/elide.h: New file.
39559
39560 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39561
39562 * Makefile (installed-headers): Adjust path of pthread.h header.
39563
39564 2014-06-13 Roland McGrath <roland@hack.frob.com>
39565
39566 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39567 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39568 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39569 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39570
39571 * nptl/sysdeps/s390/Makefile: Moved ...
39572 * sysdeps/s390/nptl/Makefile: ... here.
39573 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39574 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39575 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39576 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39577 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39578 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39579 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39580 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39581 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39582 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39583 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39584 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39585 * nptl/sysdeps/s390/tls.h: Moved ...
39586 * sysdeps/s390/nptl/tls.h: ... here.
39587
39588 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39589 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39590
39591 2014-06-13 David S. Miller <davem@davemloft.net>
39592
39593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39596 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39600 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39601 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39602 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39603 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39604 Remove RESET_PID cpp guards.
39605 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39606 Remove RESET_PID cpp guards.
39607 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39608
39609 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39610
39611 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39612 __sp to uintptr_t.
39613
39614 2014-06-13 Andi Kleen <ak@linux.intel.com>
39615
39616 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39623 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39636
39637 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39638 (pthread_rwlock_rdlock): Add elision.
39639 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39640 (pthread_rwlock_wrlock): Add elision.
39641 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39642 (pthread_rwlock_trywrlock): Add elision.
39643 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39644 (pthread_rwlock_tryrdlock): Add elision.
39645 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39646 (pthread_rwlock_tryrdlock): Add elision unlock.
39647 * nptl/sysdeps/pthread/pthread.h:
39648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39649 (PTHREAD_RWLOCK_INITIALIZER,
39650 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39651 Handle new elision field.
39652 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39653 * sysdeps/arm/nptl/bits/pthreadtypes.h
39654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39655 * sysdeps/sh/nptl/bits/pthreadtypes.h
39656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39657 * sysdeps/tile/nptl/bits/pthreadtypes.h
39658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39659 * sysdeps/a/nptl/bits/pthreadtypes.h
39660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39661 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39663 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39665 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39667 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39669 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39671 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39673 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39675 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39677 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39678 (elision_init): Set try_xbegin to zero when no RTM.
39679 * sysdeps/x86/nptl/bits/pthreadtypes.h
39680 (pthread_rwlock_t): Change __pad1 to __rwelision.
39681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39682
39683 2014-06-13 Andi Kleen <ak@linux.intel.com>
39684
39685 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39686 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39687 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39688 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39689
39690 2014-06-13 Meador Inge <meadori@codesourcery.com>
39691
39692 [BZ #16996]
39693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39694 that the cached result has been set before returning it.
39695
39696 2014-06-12 Roland McGrath <roland@hack.frob.com>
39697
39698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39699 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39701 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39702 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39703 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39704
39705 * nptl/sysdeps/sparc/Makefile: Moved ...
39706 * sysdeps/sparc/nptl/Makefile: ... here.
39707 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39708 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39709 * nptl/sysdeps/sparc/tls.h: Moved ...
39710 * sysdeps/sparc/nptl/tls.h: ... here.
39711 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39712 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39713 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39714 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39715 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39716 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39717 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39718 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39719 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39720 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39721 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39722 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39723 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39724 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39725 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39726 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39727 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39728 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39729 Update #include.
39730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39732 Update #include.
39733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39735 Update #include.
39736 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39738 Update #include.
39739
39740 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39741
39742 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39743 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39744
39745 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39746 (struct list_links): Type removed.
39747 (struct thread_node, struct timer_node): Replace struct list_links
39748 with struct list_head.
39749 (list_unlink_ip): Likewise.
39750 * sysdeps/pthread/timer_routines.c
39751 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39752 (list_append, list_insbefore): Likewise.
39753 (list_init): Function removed.
39754 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39755 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39756 * sysdeps/pthread/Makefile: ... here, new file.
39757
39758 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39759 * sysdeps/nptl/Implies: ... here.
39760 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39761 * nptl/sysdeps/pthread/list.h: Moved ...
39762 * include/list.h: ... here.
39763 * nptl/sysdeps/pthread/createthread.c: Moved ...
39764 * nptl/createthread.c: ... here.
39765 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39766 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39767 * nptl/pt-longjmp.c: ... here.
39768 * nptl/sysdeps/pthread/Makefile: Moved ...
39769 * sysdeps/nptl/Makefile: ... here.
39770 * nptl/sysdeps/pthread/Subdirs: Moved ...
39771 * sysdeps/nptl/Subdirs: ... here.
39772 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39773 * sysdeps/nptl/aio_misc.h: ... here.
39774 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39775 * sysdeps/nptl/bits/libc-lock.h: ... here.
39776 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39777 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39778 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39779 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39780 * nptl/sysdeps/pthread/configure: Moved ...
39781 * sysdeps/nptl/configure: ... here.
39782 * nptl/sysdeps/pthread/configure.ac: Moved ...
39783 * sysdeps/nptl/configure.ac: ... here.
39784 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39785 * sysdeps/nptl/gai_misc.h: ... here.
39786 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39787 * sysdeps/nptl/librt-cancellation.c: ... here.
39788 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39789 * sysdeps/nptl/malloc-machine.h: ... here.
39790 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39791 * sysdeps/nptl/pthread-functions.h: ... here.
39792 * nptl/sysdeps/pthread/pthread.h: Moved ...
39793 * sysdeps/nptl/pthread.h: ... here.
39794 * nptl/sysdeps/pthread/setxid.h: Moved ...
39795 * sysdeps/nptl/setxid.h: ... here.
39796 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39797 * sysdeps/nptl/sigfillset.c: ... here.
39798 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39799 * sysdeps/nptl/tcb-offsets.h: ... here.
39800 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39801 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39802 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39803 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39804 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39805 * sysdeps/pthread/allocalim.h: ... here.
39806 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39807 * sysdeps/pthread/bits/sigthread.h: ... here.
39808 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39809 * sysdeps/pthread/flockfile.c: ... here.
39810 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39811 * sysdeps/pthread/ftrylockfile.c: ... here.
39812 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39813 * sysdeps/pthread/funlockfile.c: ... here.
39814 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39815 * sysdeps/pthread/posix-timer.h: ... here.
39816 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39817 * sysdeps/pthread/timer_create.c: ... here.
39818 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39819 * sysdeps/pthread/timer_delete.c: ... here.
39820 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39821 * sysdeps/pthread/timer_getoverr.c: ... here.
39822 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39823 * sysdeps/pthread/timer_gettime.c: ... here.
39824 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39825 * sysdeps/pthread/timer_routines.c: ... here.
39826 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39827 * sysdeps/pthread/timer_settime.c: ... here.
39828 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39829 * sysdeps/pthread/tst-timer.c: ... here.
39830 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39831 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39832
39833 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39834 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39835
39836 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39837 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39838 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39839 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39840 Update #include target.
39841 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39842 * sysdeps/i386/i686/nptl/Makefile: ... here.
39843 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39844 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39845 Update #include target.
39846 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39847 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39848 * nptl/sysdeps/i386/Makefile: Moved ...
39849 * sysdeps/i386/nptl/Makefile: ... here.
39850 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39851 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39852 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39853 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39854 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39855 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39856 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39857 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39858 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39859 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39860 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39861 * nptl/sysdeps/i386/tls.h: Moved ...
39862 * sysdeps/i386/nptl/tls.h: ... here.
39863
39864 * sysdeps/sh/Makefile [$(subdir) = csu]
39865 (gen-as-const-headers): Add tcb-offsets.sym.
39866 * nptl/sysdeps/sh/Makefile: File removed.
39867 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39868 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39869 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39870 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39871 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39872 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39873 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39874 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39875 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39876 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39877 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39878 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39879 * nptl/sysdeps/sh/tls.h: Moved ...
39880 * sysdeps/sh/nptl/tls.h: ... here.
39881 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39882 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39883 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39884 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39885 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39886 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39887 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39888 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39889 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39890 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39892 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39894 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39895 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39896 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39897 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39898 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39900 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39902 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39905 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39906 Moved ...
39907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39909 Moved ...
39910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39914 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39915 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39916 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39917 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39918 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39919 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39920 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39921 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39922 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39923 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39924 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39925 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39926 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39927 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39928 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39929
39930 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39931
39932 * posix/spawn_faction_addopen.c: Include string.h.
39933
39934 2014-06-11 Roland McGrath <roland@hack.frob.com>
39935
39936 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39937 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39938 * nptl/sysdeps/x86_64/Makefile: Moved ...
39939 * sysdeps/x86_64/nptl/Makefile: ... here.
39940 * nptl/sysdeps/x86_64/configure: Moved ...
39941 * sysdeps/x86_64/nptl/configure: ... here.
39942 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39943 * sysdeps/x86_64/nptl/configure.ac: ... here.
39944 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39945 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39946 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39947 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39948 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39949 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39950 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39951 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39952 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39953 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39954 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39955 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39956 * nptl/sysdeps/x86_64/tls.h: Moved ...
39957 * sysdeps/x86_64/nptl/tls.h: ... here.
39958 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39959 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39960 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39961 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39962
39963 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39964
39965 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39966
39967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39968
39969 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39970
39971 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39972 type.
39973 [POSIX] (off_t): Likewise.
39974 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39975 [POSIX] (S_ISBLK): Require macro.
39976 [POSIX] (S_ISCHR): Likewise.
39977 [POSIX] (S_ISDIR): Likewise.
39978 [POSIX] (S_ISFIFO): Likewise.
39979 [POSIX] (S_ISREG): Likewise.
39980 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39981 optional-macro.
39982 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39983 type.
39984 [POSIX] (time_t): Likewise.
39985 [POSIX] (timer_t): Likewise.
39986
39987 2014-06-11 Florian Weimer <fweimer@redhat.com>
39988
39989 [BZ #17048]
39990 * posix/spawn_int.h (struct __spawn_action): Make the path string
39991 non-const to support deallocation.
39992 * posix/spawn_faction_addopen.c
39993 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39994 * posix/spawn_faction_destroy.c
39995 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39996 path in all spawn_do_open actions.
39997 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39998 posix_spawn_file_actions_addopen.
39999
40000 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40001
40002 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40003 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40004 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40005 conditional code always true.
40006 (__libc_vfork): New alias.
40007
40008 2014-06-11 Roland McGrath <roland@hack.frob.com>
40009
40010 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40011 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40012
40013 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40014
40015 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40016 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40017
40018 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40019 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40020
40021 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40022 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40023
40024 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40025
40026 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40027 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40028 multiarch strcmp for PPC64.
40029 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40030 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40032 multiarch optimizations.
40033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40034 (__libc_ifunc_impl_list): Likewise.
40035
40036 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40037
40038 * benchtests/scripts/validate_benchout.py: New script.
40039 * benchtests/Makefile (bench-func): Call it.
40040 * benchtests/scripts/benchout.schema.json: New file.
40041
40042 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40043
40044 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40045 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40046 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40047 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40048 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40049 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40050 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40051 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40052 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40053 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40054 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40055 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40056 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40057 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40058 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40059 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40061 Moved ...
40062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40063 ... here.
40064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40065 Moved ...
40066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40068 Moved ...
40069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40070 ... here.
40071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40072 Moved ...
40073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40074 ... here.
40075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40076 Moved ...
40077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40079 Moved ...
40080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40081 ... here.
40082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40083 Moved ...
40084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40085 ... here.
40086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40087 Moved ...
40088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40090 Moved ...
40091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40092 ... here.
40093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40094 Moved ...
40095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40096 ... here.
40097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40098 Moved ...
40099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40100 ... here.
40101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40102 Moved ...
40103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40105 Moved ...
40106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40107 ... here.
40108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40109 Moved ...
40110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40111 ... here.
40112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40113 Moved ...
40114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40115 ... here.
40116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40117 Moved ...
40118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40120 Moved ...
40121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40122 ... here.
40123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40124 Moved ...
40125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40126 ... here.
40127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40128 Moved ...
40129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40131 Moved ...
40132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40133 ... here.
40134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40135 Moved ...
40136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40138 Moved ...
40139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40141 Moved ...
40142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40143 ... here.
40144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40145 Moved ...
40146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40147 ... here.
40148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40149 Moved ...
40150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40151 ... here.
40152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40153 Moved ...
40154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40156 Moved ...
40157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40158 ... here.
40159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40160 Moved ...
40161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40162 ... here.
40163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40164 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40166 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40168 Moved ...
40169 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40170 ... here.
40171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40172 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40174 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40176 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40178 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40180 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40182 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40184 Moved ...
40185 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40187 Moved ...
40188 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40190 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40192 Moved ...
40193 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40195 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40196 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40197 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40198 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40199 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40200
40201 2014-06-10 Wilco <wdijkstr@arm.com>
40202
40203 * math/test-fenv-return.c: New file.
40204 * math/Makefile: Add new test test-fenv-return.
40205
40206 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40207
40208 [BZ #17042]
40209 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40210 when x - 1 is zero.
40211 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40212 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40213 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40214 0.0L for an argument of 1.0L.
40215 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40216 Likewise.
40217 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40218 value when x - 1 is zero.
40219 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40220 * sysdeps/i386/fpu/libm-test-ulps: Update.
40221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40222
40223 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40224
40225 [BZ #15119]
40226 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40227
40228 2014-06-09 Roland McGrath <roland@hack.frob.com>
40229
40230 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40231 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40232
40233 2014-06-09 Roland McGrath <roland@hack.frob.com>
40234
40235 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40236 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40237
40238 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40239 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40240
40241 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40242 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40243
40244 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40245 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40246
40247 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40248 if not already defined.
40249 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40250 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40251 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40252 (TLS_INIT_TP): Use it.
40253 (TLS_DEFINE_INIT_TP): New macro.
40254 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40255
40256 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40257
40258 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40259 constant.
40260 [POSIX] (IXANY): Likewise.
40261 [POSIX] (OLCUC): Likewise.
40262 [POSIX || POSIX2008] (CBAUD): Do not allow.
40263 [POSIX || POSIX2008] (DEFECHO): Likewise.
40264 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40265 [POSIX || POSIX2008] (ECHOKE): Likewise.
40266 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40267 [POSIX || POSIX2008] (EXTA): Likewise.
40268 [POSIX || POSIX2008] (EXTB): Likewise.
40269 [POSIX || POSIX2008] (FLUSHO): Likewise.
40270 [POSIX || POSIX2008] (LOBLK): Likewise.
40271 [POSIX || POSIX2008] (PENDIN): Likewise.
40272 [POSIX || POSIX2008] (SWTCH): Likewise.
40273 [POSIX || POSIX2008] (VDISCARD): Likewise.
40274 [POSIX || POSIX2008] (VDSUSP): Likewise.
40275 [POSIX || POSIX2008] (VLNEXT): Likewise.
40276 [POSIX || POSIX2008] (VREPRINT): Likewise.
40277 [POSIX || POSIX2008] (VSTATUS): Likewise.
40278 [POSIX || POSIX2008] (VWERASE): Likewise.
40279 (B*): Change to B[0123456789]*.
40280 * conform/data/time.h-data [POSIX || UNIX98]
40281 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40282 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40283 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40284 [POSIX] (tm_*): Do not allow.
40285
40286 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40287
40288 * Makefile (install): Don't set LANGUAGE.
40289 * Makefile.in (install): Likewise.
40290 * assert/Makefile (test-assert-ENV): Remove variable.
40291 (test-assert-perr-ENV): Likewise.
40292 * elf/Makefile (neededtest4-ENV): Likewise.
40293 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40294 [$(cross-compiling) = no]: Don't set LANGUAGE.
40295 * io/ftwtest-sh (LANG): Remove variable.
40296 * libio/Makefile (tst-widetext-ENV): Likewise.
40297 * manual/install.texi (Running make install): Don't refer to
40298 environment settings for make install.
40299 * INSTALL: Regenerated.
40300 * nptl/tst-tls6.sh: Don't set LANG.
40301 * posix/globtest.sh (LANG): Remove variable.
40302 * string/Makefile (tester-ENV): Likewise.
40303 (inl-tester-ENV): Likewise.
40304 (noinl-tester-ENV): Likewise.
40305 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40306 [$(cross-compiling) = no]: Don't set LANGUAGE.
40307 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40308 without explicit environment settings.
40309
40310 2014-06-06 Roland McGrath <roland@hack.frob.com>
40311
40312 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40313 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40314 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40315 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40316
40317 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40318
40319 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40320 other files in the crypt directory.
40321 * crypt/crypt.c: Remove duplicate includes.
40322 * crypt/crypt-entry.c: Likewise.
40323 * crypt/crypt_util.c: Likewise.
40324
40325 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40326
40327 * Makeconfig (run-program-env): New variable.
40328 (run-program-prefix-before-env): Likewise.
40329 (run-program-prefix-after-env): Likewise.
40330 (run-program-prefix): Define in terms of new variables.
40331 (built-program-cmd-before-env): New variable.
40332 (built-program-cmd-after-env): Likewise.
40333 (built-program-cmd): Define in terms of new variables.
40334 (test-program-prefix-before-env): New variable.
40335 (test-program-prefix-after-env): Likewise.
40336 (test-program-prefix): Define in terms of new variables.
40337 (test-program-cmd-before-env): New variable.
40338 (test-program-cmd-after-env): Likewise.
40339 (test-program-cmd): Define in terms of new variables.
40340 * Rules (make-test-out): Use $(run-program-env).
40341 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40342 (help): Do not mention environment variables. Mention
40343 --timeoutfactor option.
40344 (timeoutfactor): New variable.
40345 (blacklist_exports): Remove function.
40346 (exports): Remove variable.
40347 (command): Do not include ${exports}.
40348 * manual/install.texi (Configuring and compiling): Do not mention
40349 test wrappers preserving environment variables. Mention that last
40350 assignment to a variable must take precedence.
40351 * INSTALL: Regenerated.
40352 * benchtests/Makefile (run-bench): Use $(run-program-env).
40353 * catgets/Makefile ($(objpfx)test1.cat): Use
40354 $(built-program-cmd-before-env), $(run-program-env) and
40355 $(built-program-cmd-after-env).
40356 ($(objpfx)test2.cat): Do not specify environment variables
40357 explicitly.
40358 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40359 $(run-program-env) and $(built-program-cmd-after-env).
40360 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40361 $(run-program-env) and $(test-program-cmd-after-env).
40362 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40363 explicitly.
40364 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40365 run_program_env and test_program_cmd_after_env arguments.
40366 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40367 * elf/tst-pathopt.sh: Use run_program_env argument.
40368 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40369 $(test-wrapper-env) and $(run-program-env).
40370 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40371 run_program_env arguments.
40372 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40373 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40374 $(test-program-prefix-before-env), $(run-program-env) and
40375 $(test-program-prefix-after-env).
40376 ($(objpfx)tst-gettext2.out): Likewise.
40377 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40378 run_program_env and test_program_prefix_after_env arguments.
40379 * intl/tst-gettext2.sh: Likewise.
40380 * intl/tst-gettext4.sh: Do not set environment variables
40381 explicitly.
40382 * intl/tst-gettext6.sh: Likewise.
40383 * intl/tst-translit.sh: Likewise.
40384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40385 $(test-program-prefix-before-env), $(run-program-env) and
40386 $(test-program-prefix-after-env).
40387 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40388 run_program_env and test_program_prefix_after_env arguments.
40389 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40390 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40391 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40392 explicitly with each use of ${test_wrapper_env}.
40393 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40394 $(test-program-prefix-before-env), $(run-program-env) and
40395 $(test-program-prefix-after-env).
40396 * posix/tst-getconf.sh: Do not set environment variables
40397 explicitly.
40398 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40399 run_program_env and test_program_prefix_after_env arguments.
40400 * stdio-common/tst-printf.sh: Do not set environment variables
40401 explicitly.
40402 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40403 $(test-program-prefix-before-env), $(run-program-env) and
40404 $(test-program-prefix-after-env).
40405 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40406 run_program_env and test_program_prefix_after_env arguments.
40407 Split $test calls into $test_pre and $test.
40408 * timezone/Makefile (build-testdata): Use
40409 $(built-program-cmd-before-env), $(run-program-env) and
40410 $(built-program-cmd-after-env).
40411
40412 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40413
40414 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40415 strlen for non SHARED builds.
40416
40417 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40418
40419 * nptl/allocatestack.c (check_list): Inlined function...
40420 (__reclaim_stacks): ... here.
40421
40422 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40423
40424 [BZ #15698]
40425 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40426 memory overrun.
40427
40428 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40429
40430 * Rules (make-test-out): Include
40431 LOCPATH=$(common-objpfx)localedata in default environment.
40432 * debug/Makefile (tst-chk1-ENV): Remove variable.
40433 (tst-chk2-ENV): Likewise.
40434 (tst-chk3-ENV): Likewise.
40435 (tst-chk4-ENV): Likewise.
40436 (tst-chk5-ENV): Likewise.
40437 (tst-chk6-ENV): Likewise.
40438 (tst-lfschk1-ENV): Likewise.
40439 (tst-lfschk2-ENV): Likewise.
40440 (tst-lfschk3-ENV): Likewise.
40441 (tst-lfschk4-ENV): Likewise.
40442 (tst-lfschk5-ENV): Likewise.
40443 (tst-lfschk6-ENV): Likewise.
40444 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40445 (tst-iconv7-ENV): Likewise.
40446 * intl/Makefile (LOCPATH-ENV): Likewise.
40447 (tst-codeset-ENV): Likewise.
40448 (tst-gettext3-ENV): Likewise.
40449 (tst-gettext5-ENV): Likewise.
40450 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40451 (tst-fopenloc-ENV): Likewise.
40452 (tst-fgetws-ENV): Remove variable.
40453 (tst-ungetwc1-ENV): Likewise.
40454 (tst-ungetwc2-ENV): Likewise.
40455 (bug-ungetwc2-ENV): Likewise.
40456 (tst-swscanf-ENV): Likewise.
40457 (bug-ftell-ENV): Likewise.
40458 (tst-fgetwc-ENV): Likewise.
40459 (tst-fseek-ENV): Likewise.
40460 (tst-ftell-partial-wide-ENV): Likewise.
40461 (tst-ftell-active-handler-ENV): Likewise.
40462 (tst-ftell-append-ENV): Likewise.
40463 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40464 (tst-regexloc-ENV): Likewise.
40465 (bug-regex1-ENV): Likewise.
40466 (tst-regex-ENV): Likewise.
40467 (tst-regex2-ENV): Likewise.
40468 (bug-regex5-ENV): Likewise.
40469 (bug-regex6-ENV): Likewise.
40470 (bug-regex17-ENV): Likewise.
40471 (bug-regex18-ENV): Likewise.
40472 (bug-regex19-ENV): Likewise.
40473 (bug-regex20-ENV): Likewise.
40474 (bug-regex22-ENV): Likewise.
40475 (bug-regex23-ENV): Likewise.
40476 (bug-regex25-ENV): Likewise.
40477 (bug-regex26-ENV): Likewise.
40478 (bug-regex30-ENV): Likewise.
40479 (bug-regex32-ENV): Likewise.
40480 (bug-regex33-ENV): Likewise.
40481 (bug-regex34-ENV): Likewise.
40482 (bug-regex35-ENV): Likewise.
40483 (tst-rxspencer-ENV): Likewise.
40484 (tst-rxspencer-no-utf8-ENV): Likewise.
40485 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40486 (tst-sscanf-ENV): Likewise.
40487 (tst-swprintf-ENV): Likewise.
40488 (tst-swscanf-ENV): Likewise.
40489 (test-vfprintf-ENV): Likewise.
40490 (scanf13-ENV): Likewise.
40491 (bug14-ENV): Likewise.
40492 (tst-grouping-ENV): Likewise.
40493 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40494 (tst-strtod3-ENV): Likewise.
40495 (tst-strtod4-ENV): Likewise.
40496 (tst-strtod5-ENV): Likewise.
40497 (testmb2-ENV): Likewise./
40498 * string/Makefile (tst-strxfrm-ENV): Likewise.
40499 (tst-strxfrm2-ENV): Likewise.
40500 (bug-strcoll1-ENV): Likewise.
40501 (test-strcasecmp-ENV): Likewise.
40502 (test-strncasecmp-ENV): Likewise.
40503 * time/Makefile (tst-strptime-ENV): Likewise.
40504 (tst-ftime_l-ENV): Likewise.
40505 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40506 (tst-mbrtowc-ENV): Likewise.
40507 (tst-wcrtomb-ENV): Likewise.
40508 (tst-mbrtowc2-ENV): Likewise.
40509 (tst-c16c32-1-ENV): Likewise.
40510 (tst-mbsnrtowcs-ENV): Likewise.
40511
40512 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40513
40514 * manual/resource.texi (How to get information about the memory
40515 subsystem?): Fix typo.
40516 Reported by Peon de la Parra Ivan <peon@keba.com>
40517
40518 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
40519
40520 [BZ #16882]
40521 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40522 (pthread_spin_lock): Branch out of spin loop to proper location.
40523 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40524 (pthread_spin_lock): Likewise.
40525
40526 * nptl/tst-spin4.c: New test.
40527 * nptl/Makefile (tests): Add tst-spin4.
40528
40529 2014-06-03 Andreas Schwab <schwab@suse.de>
40530
40531 [BZ #15946]
40532 * resolv/res_send.c (send_dg): Reload file descriptor after
40533 calling reopen.
40534
40535 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
40536
40537 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40538
40539 2014-06-03 Richard Henderson <rth@redhat.com>
40540
40541 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40542 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40543 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40544 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
40545 in the SAVE_PID block.
40546 (__libc_vfork): New alias.
40547 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40548
40549 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40550 child in registers, not on the stack. Remove RESET_PID conditionals.
40551 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40552
40553 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40554
40555 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40556
40557 2014-06-03 Wilco <wdijkstr@arm.com>
40558
40559 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40560 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40561 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40562 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40563 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40564 Likewise.
40565
40566 2014-06-03 Wilco <wdijkstr@arm.com>
40567
40568 * sysdeps/aarch64/fpu/math_private.h
40569 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40570 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40571 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40572 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40573 Fix declarations.
40574
40575 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40576
40577 * crypt/crypt-private.h: Include ufc-crypt.h.
40578 (__b64_from_24bit): Declare extern.
40579 * crypt/crypt_util.c(__b64_from_24bit): New function.
40580 (b64t): New static const variable.
40581 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40582 (b64t): Remove variable.
40583 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40584 * crypt/sha256-crypt.c: Include crypt-private.h.
40585 (b64t): Remove variable.
40586 (__sha256_crypt_r): Remove b64_from_24bit and replace
40587 with __b64_from_24bit.
40588 * crypt/sha512-crypt.c: Likewise.
40589
40590 2014-06-02 Roland McGrath <roland@hack.frob.com>
40591
40592 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40593 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40594 Label the code __libc_vfork rather than __vfork.
40595 [!NOT_IN_libc] (vfork): Define as weak alias.
40596 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40597 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40598 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40599
40600 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40601
40602 * malloc/malloc.c (malloc_info): Fix format specifier for
40603 n_mmaps.
40604
40605 2014-06-02 Wilco <wdijkstr@arm.com>
40606
40607 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40608 FPCR write.
40609
40610 2014-06-02 Wilco <wdijkstr@arm.com>
40611
40612 [BZ #17009]
40613 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40614 Rewrite to reduce FPCR/FPSR accesses.
40615
40616 2014-06-01 David S. Miller <davem@davemloft.net>
40617
40618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40619
40620 2014-05-31 David S. Miller <davem@davemloft.net>
40621
40622 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40623 to occur in round to nearest mode when |x| >= 2.0
40624
40625 2014-05-30 Richard Henderson <rth@twiddle.net>
40626
40627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40628 (PSEUDO_RET_NOERRNO): Remove.
40629 (ret): Don't redefine.
40630 (ret_NOERRNO): Define in terms of ret.
40631 (ret_ERRVAL): Likewise.
40632
40633 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40634 use of PSEUDO_RET; perform the error check directly.
40635
40636 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40637
40638 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40639 with __int128_t.
40640
40641 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40642
40643 * malloc/malloc (malloc_info): Fix formatting.
40644
40645 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40646 Roland McGrath <roland@hack.frob.com>
40647
40648 * malloc/malloc (malloc_info): Also print mmapped statistics.
40649
40650 2014-05-30 Roland McGrath <roland@hack.frob.com>
40651
40652 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40653 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40654
40655 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40656
40657 * malloc/malloc.c (malloc_info): Inline mi_arena.
40658
40659 2014-05-29 Richard Henderson <rth@twiddle.net>
40660
40661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40662 Remove comma before expanding ASM_ARGS_##nr.
40663 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40664 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40665 of ASM_ARGS_##nr.
40666 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40667 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40668 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40669 (ASM_ARGS_1): Add leading comma.
40670
40671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40672 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40673 to __errno_location.
40674 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40675 Remove the expected plt for __errno_location.
40676
40677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40678 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40679 call to __read_tp.
40680
40681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40682 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40683 it and break it down.
40684 (DOCARGS_0, DOCARGS_1): Do nothing.
40685 (DOCARGS_2): Update to store into the new stack frame.
40686 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40687 (UNDOCARGS_1): Update to restore from the new stack frame.
40688 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40689 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40690
40691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40692 (SINGLE_THREAD_P): New parameter for result regno.
40693 (PSEUDO): Update to match; use cbz instead of beq.
40694
40695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40696 Use ENTRY to define the _nocancel entry point. Share the syscall
40697 and syscall error check paths with the cancel path.
40698 (PSEUDO_END): New.
40699
40700 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40701 whitespace; tabs before and after asm mnemonics.
40702
40703 2014-05-29 Eric Wong <normalperson@yhbt.net>
40704
40705 [BZ #15132]
40706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40707 Call fstat64 or stat64 internally, depending on arguments passed.
40708 Replace stat buffer argument with file descriptor argument.
40709 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40710 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40711 Pass fd to __internal_statvfs instead of calling fstat64.
40712 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40713 Pass fd to __internal_statvfs64 instead of calling fstat64.
40714 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40715 Pass -1 to __internal_statvfs instead of calling stat64.
40716 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40717 Pass -1 to __internal_statvfs64 instead of calling stat64.
40718
40719 2014-05-28 Roland McGrath <roland@hack.frob.com>
40720
40721 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40722 that was previously under [RESET_PID].
40723 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40724
40725 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40726 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40727
40728 2014-05-27 Roland McGrath <roland@hack.frob.com>
40729
40730 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40731
40732 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40733 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40734
40735 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40736
40737 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40738
40739 2014-05-27 Andreas Schwab <schwab@suse.de>
40740
40741 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40742 TLS_INIT_TP macro.
40743 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40744 * elf/rtld.c (init_tls, dl_main): Likewise.
40745 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40746 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40747 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40748 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40749 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40750 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40751 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40752 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40753 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40754 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40755 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40756 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40757 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40758 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40759 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40760 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40761 * sysdeps/generic/tls.h: Update description.
40762
40763 2014-05-27 Will Newton <will.newton@linaro.org>
40764
40765 [BZ #16990]
40766 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40767 and restore r2 rather than just restoring.
40768
40769 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40770
40771 [BZ #16724]
40772 * libio/tst-ftell-append.c: New test case.
40773 * libio/Makefile (tests): Add test case.
40774 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40775 append mode.
40776 * libio/wfileops.c (do_ftell_wide): Likewise.
40777
40778 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40779
40780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40781
40782 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40783 ...
40784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40786 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40787 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40788 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40789 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40790 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40791 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40792 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40793 Moved ...
40794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40796 Moved ...
40797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40798 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40799 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40800 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40801 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40802 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40803 ...
40804 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40806 Moved ...
40807 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40808 here.
40809 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40810 ...
40811 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40812 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40813 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40814
40815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40816 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40817 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40818 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40819
40820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40821 merge into ...
40822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40824 ...
40825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40827 ...
40828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40830 Moved ...
40831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40832 here.
40833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40834 Moved ...
40835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40837 Moved ...
40838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40839
40840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40841 conditional [RESET_PID].
40842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40844 removed.
40845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40846 removed.
40847
40848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40849 <tcb-offsets.h>.
40850 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40851 (__libc_vfork): New strong alias.
40852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40853 removed.
40854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40855 Removed.
40856
40857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40858 <tcb-offsets.h>.
40859 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40860 (__libc_vfork): New strong alias.
40861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40862 removed.
40863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40864 removed.
40865
40866 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40867
40868 * malloc/malloc.c (mi_arena): New function.
40869 (malloc_info): Remove nested function mi_arena. Call non-nosted
40870 function mi_arena.
40871
40872 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40873
40874 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40875 by insrwi.
40876 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40877 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40878 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40879 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40880 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40881 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40882 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40883
40884 2014-05-26 Andreas Schwab <schwab@suse.de>
40885
40886 [BZ #16984]
40887 * locale/programs/repertoire.c (repertoire_read): Add slash
40888 between I18NPATH element and file name.
40889 * locale/programs/locfile.c (locfile_read): Likewise.
40890
40891 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40892
40893 * nptl/pthread_mutexattr_settype.c
40894 (__pthread_mutexattr_settype):
40895 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40896
40897 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40898
40899 * nptl/tst-mutex5 (do_test):
40900 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40901
40902 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40903
40904 * benchtests/README: Document 'init' directive.
40905 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40906 BENCH_INIT.
40907 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40908 (parse_file): Recognize 'init' directive.
40909
40910 2014-05-26 Kyle McMartin <kyle@redhat.com>
40911
40912 [BZ #16796]
40913 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40914 alignment of struct pthread.
40915
40916 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40917
40918 [BZ #16878]
40919 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40920 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40921 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40922 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40923
40924 2014-05-25 Richard Henderson <rth@twiddle.net>
40925
40926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40927 (SINGLE_THREAD_P_PIC): Remove.
40928 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40929 (SINGLE_THREAD_P_PIC): Remove.
40930
40931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40932 branch to syscall error ...
40933 (PSEUDO): ... here.
40934 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40935 from __local_syscall_error to .Lsyscall_error.
40936 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40937 (SYSCALL_ERROR): Update label name.
40938
40939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40940 Do not use DOARGS/UNDOARGS.
40941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40942 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40943 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40944 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40945 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40946
40947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40948 block comment.
40949
40950 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40951 define if !NOT_IN_libc.
40952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40953 define with non-default symbol versions.
40954
40955 2014-05-23 Richard Henderson <rth@twiddle.net>
40956
40957 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40958 (vfork, __vfork): Define via compat_symbol.
40959
40960 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40961 [!HAVE_IFUNC] (vfork_compat): Remove.
40962 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40963
40964 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40965
40966 [BZ #16978]
40967 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40968 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40969 variable.
40970
40971 2014-05-23 Richard Henderson <rth@twiddle.net>
40972
40973 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40974 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40975 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40976 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40977
40978 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40979 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40981 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40982 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40983 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40984 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40985 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40986 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40987 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40988 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40989 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40990 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40991 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40992 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40993 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40994 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40995 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40996 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40997 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40998 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40999 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41000 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41001 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41002 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41003 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41004 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41005 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41006 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41007 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41008 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41009 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41010 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41011 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41012 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41013 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41014 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41015 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41016 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41017 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41018 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41019 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41020 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41021 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41022 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41023 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41025 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41026 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41027 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41029 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41031 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41033 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41034
41035 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41036 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41037 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41038 before exiting on error.
41039 (__libc_vfork): New strong alias.
41040 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41041 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41042
41043 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41044 that was previously under [RESET_PID].
41045 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41046
41047 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41048
41049 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41050
41051 [BZ #16977]
41052 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41053 value when x - 1 is zero.
41054 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41055 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41056 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41057 0.0L for an argument of 1.0L.
41058 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41059 Likewise.
41060 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41061 value when x - 1 is zero.
41062 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41063 * sysdeps/i386/fpu/libm-test-ulps: Update.
41064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41065
41066 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41067
41068 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41069 alphasort and versionsort.
41070
41071 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41072
41073 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41074 macro.
41075 [copysignf]: Likewise.
41076
41077 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41078
41079 * crypt/md5-crypt.c: Fix formatting.
41080
41081 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41082
41083 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41084 (b64_from_24bit): New function.
41085
41086 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41087
41088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41089 libc_hidden_builtin_def to ifunc.
41090 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41091 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41092
41093 2014-05-21 Roland McGrath <roland@hack.frob.com>
41094
41095 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41096 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41097
41098 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41099
41100 * nscd/Depend (linuxthreads): Remove.
41101 (nptl): Add.
41102 * resolv/Depend (linuxthreads): Remove.
41103 * rt/Depend (linuxthreads): Remove.
41104
41105 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41106 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41107 $(common-objpfx)elf/.
41108 (link-libc-before-gnulib): Likewise.
41109 (elfobjdir): Remove variable.
41110 * Makefile (install): Use $(elf-objpfx) instead of
41111 $(common-objpfx)elf/.
41112 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41113 $(elfobjdir)/.
41114 (link-libc-deps): Likewise.
41115 ($(common-objpfx)libc.so): Likewise.
41116 ($(common-objpfx)linkobj/libc.so): Likewise.
41117 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41118 instead of $(common-objpfx)elf/.
41119 (symbolic-link-list): Likewise.
41120 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41121 [$(cross-compiling) = no]: Likewise.
41122 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41123 $(elfobjdir)/.
41124 (static-gnulib-arch): Likewise.
41125 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41126 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41127 $(common-objpfx)elf/.
41128
41129 2014-05-21 Richard Henderson <rth@redhat.com>
41130
41131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41132 (SINGLE_THREAD_P): Use the correct width load. Fold
41133 into the ldr offset.
41134
41135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41136 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41137
41138 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41139
41140 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41141 (libgcc_s_resume): Use __attribute_used__.
41142 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41143 Likewise.
41144
41145 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41146
41147 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41148 optimization when used with float constants.
41149
41150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41151
41152 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41153
41154 [BZ #16915]
41155 * locale/nl_langinfo_l.c: Make direct reference to every
41156 _nl_current_CATEGORY symbol.
41157 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41158 (tests-static): Add tst-langinfo-static.
41159 (tests-special): Add tst-langinfo-static.out.
41160 ($(objpfx)tst-langinfo.out): Redirect output.
41161 ($(objpfx)tst-langinfo-static.out): New.
41162 * localedata/tst-langinfo.sh: Send output to stdout.
41163 * localedata/tst-langinfo-static.c: New file.
41164
41165 [BZ #16965]
41166 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41167 when the shift amount is modulo the limb size.
41168
41169 2014-05-20 Richard Henderson <rth@redhat.com>
41170
41171 [BZ #16967]
41172 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41173 Change type of sa_flags from unsigned int to int.
41174
41175 [BZ #16966]
41176 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41177
41178 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41179
41180 2014-05-20 Will Newton <will.newton@linaro.org>
41181
41182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41183 Test the return value of the system call in the nocancel case.
41184
41185 2014-05-20 Will Newton <will.newton@linaro.org>
41186 Yvan Roux <yvan.roux@linaro.org>
41187
41188 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41189 #include of asm/ptrace.h.
41190 (PTRACE_GET_THREAD_AREA): Remove #undef.
41191 (PTRACE_GETHBPREGS): Likewise.
41192 (PTRACE_SETHBPREGS): Likewise.
41193 (struct user_regs_struct): New structure.
41194 (struct user_fpsimd_struct): New structure.
41195 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41196 #include of asm/ptrace.h and second #include of sys/user.h.
41197 (PTRACE_GET_THREAD_AREA): Remove #undef.
41198 (PTRACE_GETHBPREGS): Likewise.
41199 (PTRACE_SETHBPREGS): Likewise.
41200 (ELF_NGREG): Use new struct user_regs_struct.
41201 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41202
41203 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41204
41205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41207
41208 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41209
41210 [BZ #16958]
41211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41212 membar to avoid block loads/stores to overlap previous stores.
41213
41214 2014-05-17 Richard Henderson <rth@redhat.com>
41215
41216 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41217 Create the __##syscall_name##_nocancel entry point.
41218 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41219 Remove; let the sysdep-cancel.h code create it.
41220
41221 2014-05-17 David S. Miller <davem@davemloft.net>
41222
41223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41224 Protect with __USE_GNU.
41225 (TIOCSET_TEMPT): Likewise.
41226 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41227 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41228 these are already provided in bits/ioctl-types.h
41229
41230 2014-05-16 Roland McGrath <roland@hack.frob.com>
41231
41232 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41233 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41234
41235 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41236 Use wait4 regardless of [__NR_waitpid].
41237
41238 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41239
41240 PR libgcc/60166
41241 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41242 (_FP_NANSIGN_Q): Set the quiet bit.
41243
41244 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41245
41246 * benchtests/Makefile
41247 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41248 not $(common-objpfx)math/libm.so.
41249 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41250 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41251 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41252 $(common-objpfx)dlfcn/libdl.so.
41253 ($(objpfx)tst-audit8): Depend on $(libm), not
41254 $(common-objpfx)math/libm.so.
41255 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41256 not $(common-objpfx)dlfcn/libdl.so.
41257 * math/Makefile
41258 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41259 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41260 [$(build-shared) = yes].
41261 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41262 $(common-objpfx)nptl/libpthread.so.
41263 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41264 $(common-objpfx)math/libm.so$(libm.so-version) or
41265 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41266 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41267 $(common-objpfx)dlfcn/libdl.so.
41268 * setjmp/Makefile (link-libm): Remove variable.
41269 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41270 * stdio-common/Makefile (link-libm): Remove variable.
41271 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41272 * stdlib/Makefile (link-libm): Remove variable.
41273 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41274 ($(objpfx)tst-strtod-round): Likewise.
41275 ($(objpfx)tst-tininess): Likewise.
41276 ($(objpfx)tst-strtod-underflow): Likewise.
41277 ($(objpfx)tst-strtod6): Likewise.
41278 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41279 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41280 $(common-objpfx)dlfcn/libdl.so.
41281
41282 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41283
41284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41285 BSD terminal modes definitions.
41286
41287 2014-05-16 Roland McGrath <roland@hack.frob.com>
41288
41289 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41290 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41291
41292 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41293 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41294 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41295 Don't do #include_next.
41296 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41297 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41298 Don't do #include_next.
41299 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41300 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41301 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41302 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41303
41304 2014-05-16 Allan McRae <allan@archlinux.org>
41305
41306 * po/sv.po: Update Swedish translation from translation project.
41307
41308 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41309 in sed expression.
41310
41311 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41312
41313 [BZ #16917]
41314 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41315 errno if the TIOCGPTN ioctl fails with an error different than
41316 EINVAL.
41317 * login/tst-ptsname.c: New file.
41318 * login/Makefile (tests): Add tst-ptsname.
41319
41320 [BZ #16943]
41321 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41322 and prlimit64.
41323
41324 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41325
41326 [BZ #16849]
41327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41328 herrno to return EAI_AGAIN.
41329
41330 2014-05-14 Roland McGrath <roland@hack.frob.com>
41331
41332 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41333 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41334 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41335 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41336 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41337 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41338 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41339 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41341 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41342 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41343 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41344 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41345 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41346 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41347 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41348 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41349 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41350 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41351 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41352 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41353 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41354 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41355 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41356 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41357 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41358 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41359 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41360 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41361 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41363 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41365 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41367 Moved ...
41368 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41370 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41374 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41376 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41380 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41382 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41384 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41386 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41388 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41390 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41392 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41394 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41396 Moved ...
41397 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41399 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41401 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41403 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41405 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41407 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41409 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41411 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41413 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41415 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41417 Moved ...
41418 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41420 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41421
41422 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41423 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41424 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41425 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41426 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41427 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41428 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41429 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41430 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41431 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41432 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41433 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41434 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41435 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41436 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41437 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41438 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41439 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41440 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41441 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41442 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41443 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41444 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41445 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41446 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41447 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41448 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41449 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41450 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41451 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41452 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41453
41454 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41455 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41456
41457 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41458 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41459 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41460 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41461 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41463 Moved ...
41464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41466 Moved ...
41467 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41469 Moved ...
41470 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41472 Moved ...
41473 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41474 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41475 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41477 Moved ...
41478 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41479 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41480 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41482 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41483 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41484 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41486 Moved ...
41487 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41489 Moved ...
41490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41491 ... here.
41492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41493 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41494 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41495 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41497 Moved ...
41498 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41499 ... here.
41500 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41501 Moved ...
41502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41503 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41504 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41505 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41506 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41508 Moved ...
41509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41511 Moved ...
41512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41514 Moved ...
41515 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41517 Moved ...
41518 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41519 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41520 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41522 Moved ...
41523 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41524 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41525 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41527 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41528 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41529 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41531 Moved ...
41532 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41534 Moved ...
41535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41536 ... here.
41537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41538 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41539 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41540 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41542 Moved ...
41543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41544 ... here.
41545 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41546 Moved ...
41547 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41548 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41549 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41550 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41551 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41552 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41553 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41554 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41555 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41556 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41557 Moved ...
41558 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41560 Moved ...
41561 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41563 Moved ...
41564 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41566 Moved ...
41567 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41568 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41569 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41570 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41571 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41573 Moved ...
41574 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41575 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41576 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41578 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41579 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41580 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41582 Moved ...
41583 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41585 Moved ...
41586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41587 ... here.
41588 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41589 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41590 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41591 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41593 Moved ...
41594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41595 ... here.
41596 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41597 Moved ...
41598 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41599 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41600 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41601 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41602 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41603 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41604 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41605 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41606 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41607 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41608 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41609
41610 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41611 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41612
41613 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41614 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41615
41616 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41617 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41618 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41619 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41620 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41621 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41622 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41623 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41624 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41625 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41627 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41628 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41629 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41630 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41632 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41634 Moved ...
41635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41637 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41639 Moved ...
41640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41642 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41644 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41648 Moved ...
41649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41651 Moved ...
41652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41658 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41659 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41660 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41661 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41662 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41663 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41664 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41665 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41666 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41667 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41669
41670 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41671 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41672 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41673 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41674 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41675
41676 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41677 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41678 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41679 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41680 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41681 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41682 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41683 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41684 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41685 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41686
41687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41688 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41689
41690 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41691 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41692 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41693 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41694 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41695 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41696 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41697 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41698 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41699 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41700 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41701 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41702 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41703 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41705 Update #include.
41706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41707 Likewise.
41708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41709 Likewise.
41710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41711 Likewise.
41712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41713 Likewise.
41714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41715 Likewise.
41716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41717 Likewise.
41718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41719 Likewise.
41720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41721 Likewise.
41722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41723 Likewise.
41724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41739
41740 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41741 that was previously under [RESET_PID].
41742 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41743 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41744 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41745
41746 * sysdeps/i386/nptl/Implies: New file.
41747 * sysdeps/x86_64/nptl/Implies: New file.
41748 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41749 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41750 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41751 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41752
41753 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41754 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41755 (__libc_vfork): New strong alias.
41756 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41757 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41758
41759 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41760 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41761 (__libc_vfork): New strong alias.
41762 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41763 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41764
41765 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41766 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41767 (__libc_vfork): New strong alias.
41768 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41769 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41770 * nptl/pt-vfork.c: New file.
41771 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41772 (libpthread: GLIBC_2.20): New version set (empty).
41773
41774 2014-05-14 Will Newton <will.newton@linaro.org>
41775
41776 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41777 rather than #if.
41778
41779 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41780
41781 [BZ #16564]
41782 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41783 arguments with exponent 65 or above.
41784 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41785 arguments 0x1p113L or above.
41786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41787 to arguments 0x1p107L or above.
41788 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41789 positive arguments with exponent 65 or above.
41790 * math/auto-libm-test-in: Add more tests of log1p.
41791 * math/auto-libm-test-out: Regenerated.
41792
41793 [BZ #16928]
41794 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41795 non-finite arguments is +0.
41796 * math/s_cacosf.c (__cacosf): Likewise.
41797 * math/s_cacosl.c (__cacosl): Likewise.
41798 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41799 * sysdeps/i386/fpu/libm-test-ulps: Update.
41800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41801
41802 [BZ #16927]
41803 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41804 value.
41805 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41806 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41807 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41808 for explicit high bit of mantissa when testing for argument equal
41809 to 1.
41810 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41811 * sysdeps/i386/fpu/libm-test-ulps: Update.
41812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41813
41814 [BZ #16516]
41815 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41816 (__erf): Scale by 16 instead of 8 in potentially underflowing
41817 case. Ensure exception if result actually underflows.
41818 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41819 (__erff): Scale by 16 instead of 8 in potentially underflowing
41820 case. Ensure exception if result actually underflows.
41821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41822 (efx8): Remove variable.
41823 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41824 case. Ensure exception if result actually underflows.
41825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41826 (efx8): Remove variable.
41827 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41828 case. Ensure exception if result actually underflows.
41829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41830 (efx8): Remove variable.
41831 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41832 case. Ensure exception if result actually underflows.
41833 * math/auto-libm-test-in: Add more tests of erf.
41834 * math/auto-libm-test-out: Regenerated.
41835
41836 2014-05-14 Andreas Schwab <schwab@suse.de>
41837
41838 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41839 Remove code conditionalized on USE___THREAD.
41840
41841 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41842 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41843 not definedness.
41844
41845 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41846
41847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41848 Define unconditionally.
41849 (__ASSUME_O_CLOEXEC): Likewise.
41850 (__ASSUME_SOCK_CLOEXEC): Likewise.
41851 (__ASSUME_IN_NONBLOCK): Likewise.
41852 (__ASSUME_PIPE2): Likewise.
41853 (__ASSUME_EVENTFD2): Likewise.
41854 (__ASSUME_SIGNALFD4): Likewise.
41855 (__ASSUME_DUP3): Likewise.
41856 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41857 (__ASSUME_DUP3): Do not define.
41858 (__ASSUME_EVENTFD2): Likewise.
41859 (__ASSUME_IN_NONBLOCK): Likewise.
41860 (__ASSUME_O_CLOEXEC): Likewise.
41861 (__ASSUME_PIPE2): Likewise.
41862 (__ASSUME_SIGNALFD4): Likewise.
41863 (__ASSUME_SOCK_CLOEXEC): Likewise.
41864 (__ASSUME_UTIMES): Undefine.
41865 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41866 (__ASSUME_UTIMES): Do not define.
41867 (__ASSUME_O_CLOEXEC): Likewise.
41868 (__ASSUME_SOCK_CLOEXEC): Likewise.
41869 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41870 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41871 0x020621].
41872 (__ASSUME_PIPE2): Likewise.
41873 (__ASSUME_EVENTFD2): Likewise.
41874 (__ASSUME_SIGNALFD4): Likewise.
41875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41876 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41877 Do not define.
41878 (__ASSUME_EVENTFD2): Likewise.
41879 (__ASSUME_SIGNALFD4): Likewise.
41880 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41881 (__ASSUME_32BITUIDS): Likewise.
41882 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41883 (__ASSUME_IPC64): Likewise.
41884 (__ASSUME_ST_INO_64_BIT): Likewise.
41885 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41886 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41887 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41888 (__ASSUME_UTIMES): Do not define.
41889 (__ASSUME_PSELECT): Likewise.
41890 (__ASSUME_PPOLL): Likewise.
41891 (__ASSUME_O_CLOEXEC): Likewise.
41892 (__ASSUME_SOCK_CLOEXEC): Likewise.
41893 (__ASSUME_IN_NONBLOCK): Likewise.
41894 (__ASSUME_PIPE2): Likewise.
41895 (__ASSUME_EVENTFD2): Likewise.
41896 (__ASSUME_SIGNALFD4): Likewise.
41897 (__ASSUME_DUP3): Likewise.
41898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41899 (__ASSUME_UTIMES): Likewise.
41900 (__ASSUME_O_CLOEXEC): Likewise.
41901 (__ASSUME_SOCK_CLOEXEC): Likewise.
41902 (__ASSUME_IN_NONBLOCK): Likewise.
41903 (__ASSUME_PIPE2): Likewise.
41904 (__ASSUME_EVENTFD2): Likewise.
41905 (__ASSUME_SIGNALFD4): Likewise.
41906 (__ASSUME_DUP3): Likewise.
41907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41908 (__ASSUME_UTIMES): Likewise.
41909 (__ASSUME_O_CLOEXEC): Likewise.
41910 (__ASSUME_SOCK_CLOEXEC): Likewise.
41911 (__ASSUME_IN_NONBLOCK): Likewise.
41912 (__ASSUME_PIPE2): Likewise.
41913 (__ASSUME_EVENTFD2): Likewise.
41914 (__ASSUME_SIGNALFD4): Likewise.
41915 (__ASSUME_DUP3): Likewise.
41916 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41917 Likewise.
41918 (__ASSUME_UTIMES): Likewise.
41919 (__ASSUME_EVENTFD2): Likewise.
41920 (__ASSUME_SIGNALFD4): Likewise.
41921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41922 (__ASSUME_O_CLOEXEC): Likewise.
41923 (__ASSUME_SOCK_CLOEXEC): Likewise.
41924 (__ASSUME_IN_NONBLOCK): Likewise.
41925 (__ASSUME_PIPE2): Likewise.
41926 (__ASSUME_EVENTFD2): Likewise.
41927 (__ASSUME_SIGNALFD4): Likewise.
41928 (__ASSUME_DUP3): Likewise.
41929 (__ASSUME_UTIMES): Undefine.
41930
41931 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41932 feclearexcept. Remove symbol versioning code.
41933 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41934 symbol versioning code.
41935 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41936 symbol versioning code.
41937 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41938 feupdateenv. Remove symbol versioning code.
41939 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41940 fegetexceptflag. Remove symbol versioning code.
41941 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41942 fesetexceptflag. Remove symbol versioning code.
41943 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41944 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41945 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41946 (__posix_fadvise64_l32): Remove prototype.
41947 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41948 code.
41949
41950 2014-05-13 Roland McGrath <roland@hack.frob.com>
41951
41952 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41953 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41954 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41955 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41956
41957 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41958
41959 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41960 current working directory
41961
41962 2014-05-13 Roland McGrath <roland@hack.frob.com>
41963
41964 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41965 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41966 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41967 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41968 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41969 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41970 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41971 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41972 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41973 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41974 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41975 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41976 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41977 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41978 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41979 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41980 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41981 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41982 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41983 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41984 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41985 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41986 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41987 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41988 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41989 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41990 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41991 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41992 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41993 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41994 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41995 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41996 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41997 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41998 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41999 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42000 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42001 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42002 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42003 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42004 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42005 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42006
42007 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42008 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42009
42010 * sysdeps/unix/sysv/linux/arm/Makefile
42011 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42012 Add rt-aeabi_unwind_cpp_pr1.
42013 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42014 Add nptl-aeabi_unwind_cpp_pr1.
42015 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42016 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42017 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42018 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42019 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42020 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42021
42022 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42023 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42024 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42025 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42026
42027 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42028 Deconditionalize the code that was previously under [RESET_PID].
42029 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42030
42031 * sysdeps/generic/exit-thread.h: New file.
42032 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42033 * include/unistd.h (__exit_thread): Remove declaration.
42034 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42035 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42036 * csu/libc-start.c: Include <exit-thread.h>.
42037 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42038 * nptl/pthread_create.c: Include <exit-thread.h>.
42039 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42040 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42041 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42042 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42043 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42044 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42045 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42046 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42047 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42048 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42049 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42050 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42051 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42052 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42053 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42054 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42055 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42056
42057 2014-05-13 Andreas Schwab <schwab@suse.de>
42058
42059 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42060
42061 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42062
42063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42064 (__ASSUME_UTIMES): Do not condition on kernel version.
42065 (__ASSUME_PSELECT): Define unconditionally.
42066 (__ASSUME_PPOLL): Likewise.
42067 (__ASSUME_ATFCTS): Likewise.
42068 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42069 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42070 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42071 (__ASSUME_UTIMENSAT): Define unconditionally.
42072 (__ASSUME_PRIVATE_FUTEX): Likewise.
42073 (__ASSUME_FALLOCATE): Likewise.
42074 (__ASSUME_O_CLOEXEC): Likewise.
42075 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42076 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42077 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42078 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42079 (__ASSUME_IN_NONBLOCK): Likewise.
42080 (__ASSUME_PIPE2): Likewise.
42081 (__ASSUME_EVENTFD2): Likewise.
42082 (__ASSUME_SIGNALFD4): Likewise.
42083 (__ASSUME_DUP3): Likewise.
42084 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42085 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42086 (__ASSUME_AT_RANDOM): Likewise.
42087 (__ASSUME_PREADV): Likewise.
42088 (__ASSUME_PWRITEV): Likewise.
42089 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42090 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42091 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42092 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42093 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42094 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42095 (__ASSUME_O_CLOEXEC): Define unconditionally.
42096 (__ASSUME_PSELECT): Do not undefine conditionally.
42097 (__ASSUME_PPOLL): Likewise.
42098 (__ASSUME_ATFCTS): Likewise.
42099 (__ASSUME_SET_ROBUST_LIST): Likewise.
42100 (__ASSUME_UTIMENSAT): Likewise.
42101 (__ASSUME_FDATASYNC): Define unconditionally.
42102 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42103 (__ASSUME_SIGFRAME_V2): Likewise.
42104 )__ASSUME_EVENTFD2): Likewise.
42105 (__ASSUME_SIGNALFD4): Likewise.
42106 (__ASSUME_PSELECT): Do not undefine conditionally.
42107 (__ASSUME_PPOLL): Likewise.
42108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42109 (__ASSUME_PSELECT): Define unconditionally.
42110 (__ASSUME_PPOLL): Likewise.
42111 (__ASSUME_O_CLOEXEC): Likewise.
42112 (__ASSUME_SOCK_CLOEXEC): Likewise.
42113 (__ASSUME_IN_NONBLOCK): Likewise.
42114 (__ASSUME_PIPE2): Likewise.
42115 (__ASSUME_EVENTFD2): Likewise.
42116 (__ASSUME_SIGNALFD4): Likewise.
42117 (__ASSUME_DUP3): Likewise.
42118 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42119 (__ASSUME_O_CLOEXEC): Likewise.
42120 (__ASSUME_SOCK_CLOEXEC): Likewise.
42121 (__ASSUME_IN_NONBLOCK): Likewise.
42122 (__ASSUME_PIPE2): Likewise.
42123 (__ASSUME_EVENTFD2): Likewise.
42124 (__ASSUME_SIGNALFD4): Likewise.
42125 (__ASSUME_DUP3): Likewise.
42126 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42127 (__ASSUME_EVENTFD2): Likewise.
42128 (__ASSUME_SIGNALFD4): Likewise.
42129 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42130
42131 2014-05-12 Andreas Schwab <schwab@suse.de>
42132
42133 [BZ #16932]
42134 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42135 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42136 than maximum RPC packet size.
42137 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42138 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42139 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42140 (_nss_nis_getservbyport_r): Likewise.
42141
42142 2014-05-12 Will Newton <will.newton@linaro.org>
42143
42144 * malloc/Makefile (tests): Add tst-mallopt.
42145 * malloc/tst-mallopt.c: New file.
42146
42147 2014-05-09 Roland McGrath <roland@hack.frob.com>
42148
42149 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42150 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42151
42152 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42153
42154 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42155 (tst-tlsmod6.so): Likewise.
42156
42157 2014-05-09 Roland McGrath <roland@hack.frob.com>
42158
42159 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42160
42161 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42162
42163 [BZ #16064]
42164 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42165 and <dl-procinfo.h>.
42166 (__fegetenv): Save SSE state in envp->__eip if supported.
42167 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42168 envp->__eip if supported.
42169 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42170 and <dl-procinfo.h>.
42171 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42172 __data_offset and __data_selector in environment to 0. Set SSE
42173 state if supported.
42174 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42175 test-fenv-sse.
42176 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42177 -mfpmath=sse.
42178 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42179
42180 2014-05-09 Will Newton <will.newton@linaro.org>
42181
42182 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42183 and libc_relro_required for ARM.
42184 * sysdeps/arm/preconfigure: Regenerate.
42185
42186 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42187 Stefan Liebler <stli@linux.vnet.ibm.com>
42188
42189 * config.make.in (enable-lock-elision): New Makefile variable.
42190 * configure.ac: Likewise.
42191 * configure: Regenerate.
42192 * sysdeps/s390/configure.ac:
42193 Add check for gcc transactions support.
42194 * sysdeps/s390/configure: Regenerate.
42195 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42196 Build elision files if enabled.
42197 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42198 Add lock elision support for s390.
42199 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42200 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42201 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42202 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42203 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42204 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42206 Likewise.
42207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42208 Likewise.
42209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42210 Likewise.
42211 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42212 Likewise.
42213 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42214 (__lll_timedlock_elision, __lll_lock_elision)
42215 (__lll_unlock_elision, __lll_trylock_elision)
42216 (lll_timedlock_elision, lll_lock_elision)
42217 (lll_unlock_elision, lll_trylock_elision): Add.
42218 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42219 (pthread_mutex_t): Add lock elision support for s390.
42220
42221 2014-05-14 Wilco <wdijkstr@arm.com>
42222
42223 * sysdeps/arm/fclrexcpt.c: Cleanup.
42224 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42225 * sysdeps/arm/feenablxcpt.c: Cleanup.
42226 * sysdeps/arm/fegetenv.c: Cleanup.
42227 * sysdeps/arm/fegetexcept.c: Cleanup.
42228 * sysdeps/arm/fegetround.c: Cleanup.
42229 * sysdeps/arm/feholdexcpt.c: Cleanup.
42230 * sysdeps/arm/fesetenv.c: Cleanup.
42231 * sysdeps/arm/fesetround.c: Cleanup.
42232 * sysdeps/arm/feupdateenv.c: Cleanup.
42233 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42234 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42235 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42236 * sysdeps/arm/ftestexcept.c: Cleanup.
42237 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42238 * sysdeps/arm/setfpucw.c: Cleanup.
42239
42240 2014-05-09 Will Newton <will.newton@linaro.org>
42241
42242 * sysdeps/arm/armv7/strcmp.S: New file.
42243 * NEWS: Mention addition of ARMv7 optimized strcmp.
42244
42245 2014-05-08 Roland McGrath <roland@hack.frob.com>
42246
42247 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42248 look for %.ac rather than %.in.
42249
42250 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42251 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42252 * sysdeps/mach/hurd/configure: Regenerated.
42253 * sysdeps/unix/sysv/linux/configure: Regenerated.
42254
42255 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42256
42257 2014-05-07 Steve Ellcey <sellcey@mips.com>
42258
42259 [BZ# 16922]
42260 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42261 (LONG_SUB): Ditto.
42262 (PTR_SUB): Ditto.
42263
42264 2014-05-07 Andreas Schwab <schwab@suse.de>
42265
42266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42267 when skipping over non-matching result from nscd.
42268
42269 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42270
42271 [BZ #16876]
42272 * nptl/sockperf.c (client): Check socket return value.
42273
42274 [BZ #16877]
42275 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42276 nscd security class.
42277
42278 2014-05-06 Roland McGrath <roland@hack.frob.com>
42279
42280 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42281 * sysdeps/arm/unwind.h: ... here.
42282
42283 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42284
42285 [BZ# 16916]
42286 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42287 Define.
42288
42289 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42290
42291 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42292 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42293 multiarch strncpy for PPC64.
42294 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42295 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42297 multiarch optimizations.
42298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42299 (__libc_ifunc_impl_list): Likewise.
42300 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42302 multiarch stpncpy for PPC64.
42303 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42305
42306 2014-05-06 Andreas Schwab <schwab@suse.de>
42307
42308 [BZ #16912]
42309 * gmon/mcount.c (_MCOUNT_DECL): Use
42310 atomic_compare_and_exchange_bool_acq instead of
42311 catomic_compare_and_exchange_bool_acq.
42312
42313 2014-05-05 Roland McGrath <roland@hack.frob.com>
42314
42315 * elf/Makefile (others, install-bin): Remove pldd.
42316 (pldd-modules): Variable removed.
42317 ($(objpfx)pldd): Target removed.
42318 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42319 (others, install-bin): Append pldd here.
42320 ($(objpfx)pldd): New target.
42321
42322 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42323 to 0, so the first #if test emitted later doesn't see it undefined.
42324 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42325 * sysdeps/gnu/errlist.c: Regenerated.
42326
42327 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42328
42329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42330 [libc_hidden_builtin_def]: Define to empty value.
42331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42332 [libc_hidden_builtin_def]: Likewise.
42333 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42334 [libc_hidden_builtin_def]: Likewise.
42335 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42336 [libc_hidden_builtin_def]: Likewise.
42337 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42338 __redirect_memcpy and define ifunc as default hidden symbol.
42339 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42340 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42341
42342 2014-05-04 Adam Conrad <adconrad@0c3.net>
42343
42344 * locale/iso-4217.def: Reintroduce XDR currency.
42345
42346 2014-05-04 Allan McRae <allan@archlinux.org>
42347
42348 * po/eo.po: Update Esperanto translation from translation project.
42349
42350 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42351
42352 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42353 and FEATURE_INDEX_MAX to 1.
42354 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42355
42356 2014-05-01 Steve Ellcey <sellcey@mips.com>
42357
42358 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42359 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42360 * iconvdata/big5.c (ONE_DIRECTION): Define.
42361 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42362 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42363 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42364 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42365 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42366 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42367 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42368 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42369 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42370 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42371 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42372 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42373 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42374 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42375 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42376 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42377 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42378 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42379 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42380 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42381 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42382 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42383 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42384 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42385 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42386 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42387 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42388 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42389 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42390 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42391 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42392 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42393 * iconvdata/johab.c (ONE_DIRECTION): Define.
42394 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42395 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42396 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42397 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42398 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42399 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42400 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42401 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42402 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42403 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42404
42405 2014-05-01 Roland McGrath <roland@hack.frob.com>
42406
42407 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42408 (_IO_JUMPS_OFFSET): Define to 0.
42409
42410 * nptl/sysdeps/pthread/bits/libc-lock.h
42411 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42412 (__libc_lock_define_initialized_recursive): Always define using
42413 initializer. Modern compilers treat uninitialized (implicit zero) and
42414 explicit zero initializers the same (i.e. put the datum in bss).
42415
42416 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42417
42418 * nscd/nscd-client.h: Include <string.h>.
42419
42420 2014-05-01 David S. Miller <davem@davemloft.net>
42421
42422 [BZ #16885]
42423 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42424 multiple zero bytes exist at the end of a string.
42425 Reported by Aurelien Jarno <aurelien@aurel32.net>
42426
42427 * string/test-strcmp.c (check): Add explicit test for situations where
42428 there are multiple zero bytes after the first.
42429
42430 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42431
42432 [BZ #16890]
42433 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42434 when compiling wprintf.
42435 * stdio-common/tstdiomisc.c (t3): New function.
42436 (main): Call it.
42437
42438 2014-05-01 Steve Ellcey <sellcey@mips.com>
42439
42440 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42441 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42442 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42443 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42444
42445 2014-05-01 Steve Ellcey <sellcey@mips.com>
42446
42447 * stdlib/longlong.h: Updated from GCC.
42448
42449 2014-05-01 Will Newton <will.newton@linaro.org>
42450 Bernard Ogden <bernie.ogden@linaro.org>
42451
42452 * NEWS: Update fixed bug list.
42453
42454 [BZ #15119]
42455 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42456
42457 2014-04-30 David S. Miller <davem@davemloft.net>
42458
42459 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42460 (libc_feholdexcept_setround_sparc_ctx): New function.
42461 (libc_fesetenv_sparc_ctx): Likewise.
42462 (libc_feupdateenv_sparc_ctx): Likewise.
42463 (libc_feholdsetround_sparc_ctx): Likewise.
42464 (libc_feholdexcept_setround_ctx): Define.
42465 (libc_feholdexcept_setroundf_ctx): Likewise.
42466 (libc_feholdexcept_setroundl_ctx): Likewise.
42467 (libc_fesetenv_ctx): Likewise.
42468 (libc_fesetenvf_ctx): Likewise.
42469 (libc_fesetenvl_ctx): Likewise.
42470 (libc_feupdateenv_ctx): Likewise.
42471 (libc_feupdateenvf_ctx): Likewise.
42472 (libc_feupdateenvl_ctx): Likewise.
42473 (libc_feresetround_ctx): Likewise.
42474 (libc_feresetroundf_ctx): Likewise.
42475 (libc_feresetroundl_ctx): Likewise.
42476 (libc_feholdsetround_ctx): Likewise.
42477 (libc_feholdsetroundf_ctx): Likewise.
42478 (libc_feholdsetroundl_ctx): Likewise.
42479
42480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42481 with __USE_GNU instead of XOPEN cpp guards.
42482
42483 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42484 0.
42485
42486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42487 with XOPEN cpp guards.
42488
42489 2014-04-30 Julian Brown <julian@codesourcery.com>
42490
42491 [BZ #16888]
42492 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42493 handling.
42494
42495 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42496
42497 [BZ #9894]
42498 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42499 Change to 2.6.32.
42500 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42501 * sysdeps/unix/sysv/linux/configure: Regenerated.
42502 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42503 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42504 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42505 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42506 * README: Update reference to required Linux kernel version.
42507 * manual/install.texi (Linux): Update reference to required Linux
42508 kernel headers version.
42509 * INSTALL: Regenerated.
42510
42511 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42512 header inclusion.
42513 [POSIX] (limits.h): Likewise.
42514 [POSIX] (math.h): Likewise.
42515 [POSIX] (sys/wait.h): Likewise.
42516 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42517 function.
42518 [POSIX] (stddef.h): Do not allow header inclusion.
42519
42520 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42521
42522 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42523
42524 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42525
42526 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42527 Return immediately after lll_futex_wake.
42528
42529 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42530
42531 [BZ #16791]
42532 * nscd/nscd-client.h (datahead_init_common): Initialize entire
42533 structure.
42534 (datahead_init_pos): Call datahead_init_common early.
42535 (datahead_init_neg): Likewise.
42536
42537 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42538 datahead_init_neg): New functions.
42539 * nscd/aicache.c (addhstaiX): Use them.
42540 * nscd/grpcache.c (cache_addgr): Likewise.
42541 * nscd/hstcache.c (cache_addhst): Likewise.
42542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42543 * nscd/netgroupcache.c (do_notfound): Likewise.
42544 (addgetnetgrentX): Likewise.
42545 (addinnetgrX): Likewise.
42546 * nscd/pwdcache.c (cache_addpw): Likewise.
42547 * nscd/servicescache.c (cache_addserv): Likewise.
42548
42549 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42550 Atsushi Onoe <atsushi@onoe.org>
42551
42552 [BZ #14308]
42553 [BZ #12994]
42554 [BZ #13651]
42555 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42556 one response is valid.
42557 * resolv/res_send.c (send_dg): Check for validity of other
42558 response if the current response is a referral.
42559
42560 2014-04-29 Steve Ellcey <sellcey@mips.com>
42561
42562 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42563
42564 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42565
42566 [BZ #16823]
42567 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42568 Always divide by positive zero when computing -Inf result.
42569 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42570 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42571
42572 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42573
42574 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42575 FPSCR if value do not change.
42576 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42577 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42578 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42579 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42580 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42581 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42582 function.
42583
42584 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42585
42586 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42587 * sysdeps/unix/sysv/linux/hppa: Move directory from
42588 ports/systeps/unix/sysv/linux/hppa.
42589 * README: Update listing for hppa-*-linux-gnu.
42590
42591 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42592
42593 [BZ #16754]
42594 * manual/stdio.texi (Hook functions): Fix types of stream hook
42595 functions.
42596 [BZ #16854]
42597 * socket/sys/socket.h: Fix typo in comment.
42598
42599 2014-04-28 Wilco <wdijkstr@arm.com>
42600
42601 * sysdeps/arm/fenv_private.h: New file.
42602 * sysdeps/arm/math_private.h: New file.
42603 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42604
42605 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42606
42607 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42608 with __int128_t.
42609 (La_x86_64_retval): Likewise.
42610
42611 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42612
42613 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42614 fpsr if value didn't change.
42615 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42616 to fpcr if value didn't change.
42617 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42618 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42619 fpsr or fpcr if value didn't change.
42620 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42621 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42622 fpcr if value didn't change.
42623 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42624 to fpsr if value didn't change.
42625
42626 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42627
42628 * nptl/tst-sem3.c: Use test-skeleton.c
42629 (main): Rename to do_test. Use return instead of
42630 exit.
42631 * nptl/tst-sem4.c: Use test-skeleton.c
42632 (main): Rename to do_test.
42633
42634 2014-04-22 David S. Miller <davem@davemloft.net>
42635
42636 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42637 (struct sigaction): New struct member __glibc_reserved0, change
42638 type of sa_flags to int.
42639
42640 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42641
42642 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42643 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42644
42645 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42646
42647 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42648 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42649
42650 2014-04-22 Will Newton <will.newton@linaro.org>
42651 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42652
42653 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42654 (__longjmp): Add longjmp and longjmp_target SystemTap
42655 probes.
42656 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42657 (__sigsetjmp): Add setjmp SystemTap probe.
42658
42659 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42660
42661 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42662 match manual order.
42663
42664 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42665
42666 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42667
42668 * sysdeps/powerpc/fpu/fenv_private.h
42669 (libc_feholdexcept_setroundl_ctx): Define to
42670 libc_feholdexcept_setround_ppc_ctx.
42671 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42672 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42673 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42674 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42675
42676 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42677
42678 * sysdeps/aarch64/math-tests.h: New file.
42679
42680 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42681
42682 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42683 New.
42684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42685 Check and set bit_AVX2_Usable.
42686 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42687 macro.
42688 (bit_AVX2): Likewise.
42689 (index_AVX2_Usable): Likewise.
42690 (CPUID_AVX2): Likewise.
42691 (HAS_AVX2): Likewise.
42692
42693 2014-04-17 Will Newton <will.newton@linaro.org>
42694
42695 * manual/setjmp.texi (System V contexts): Add note that
42696 calling setcontext on a context created by a call to a
42697 signal handler is undefined. Update text to note that
42698 setcontext from a signal handler is possible but not
42699 recommended.
42700
42701 [BZ #16629]
42702 * stdlib/tst-setcontext.c: Include signal.h.
42703 (main): Check that the signal stack before and
42704 after swapcontext is the same.
42705
42706 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42707 Re-implement to restore registers in user code and avoid
42708 rt_sigreturn system call.
42709
42710 2014-04-17 Wilco <wdijkstr@arm.com>
42711
42712 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42713 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42714 * math/test-fenv.c: Skip exception trap tests on targets which only
42715 support non-stop mode.
42716
42717 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42718 Wilco Dijkstra <wilco.dijkstra@arm.com>
42719
42720 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42721 (libc_feholdsetround_aarch64_ctx)
42722 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42723 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42724 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42725 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42726 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42727 (libc_feresetround_noexl_ctx): Define.
42728
42729 2014-04-16 Richard Henderson <rth@redhat.com>
42730
42731 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42732
42733 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42734 unwind tables.
42735
42736 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42737 const from the non-libc, non-ldso copy.
42738
42739 * sysdeps/alpha/libm-test-ulps: Regenerate.
42740
42741 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42742 Wilco Dijkstra <wilco.dijkstra@arm.com>
42743
42744 * sysdeps/aarch64/fpu/math_private.h: New file.
42745
42746 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42747
42748 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42749
42750 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42751
42752 [BZ #16275]
42753 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42754 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42756 Intel MPX bound registers before _dl_profile_fixup.
42757 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42758 registers after _dl_profile_fixup. Save and restore bound
42759 registers bnd0/bnd1 when calling _dl_call_pltexit.
42760 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42761 (LR_BND_OFFSET): Likewise.
42762 (LRV_BND0_OFFSET): Likewise.
42763 (LRV_BND1_OFFSET): Likewise.
42764
42765 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42766
42767 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42768 to...
42769 * sysdeps/mach/hurd/i386/tls.h: ... here.
42770 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42771 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42772 fields.
42773
42774 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42775
42776 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42777
42778 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42779
42780 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42781
42782 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42783
42784 [BZ #14770]
42785 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42786 * sysdeps/s390/configure: Regenerate.
42787
42788 [BZ #16824]
42789 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42790 Set round-to-nearest internally to reduce error accumulation.
42791
42792 2014-04-16 Alan Modra <amodra@gmail.com>
42793
42794 [BZ #16740]
42795 [BZ #16619]
42796 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42797 * math/libm-test.inc (frexp_test_data): Add tests.
42798 * NEWS: Update fixed bug list.
42799
42800 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42801
42802 * benchtests/Makefile: Depend on libraries in build directory.
42803 (bench-math): Separate out math tests.
42804 (bench-pthread): Separate out pthread tests.
42805 (bench): Include math and pthread tests.
42806
42807 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42808
42809 [BZ #16831]
42810 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42811 _dl_debug_initialize.
42812
42813 * configure.ac: Remove SELinux header check.
42814 * configure: Regenerate.
42815 * nscd/selinux.c (perms): Array of const char* to permission names.
42816 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42817 default policy. Call string_to_security_class and string_to_av_perm to
42818 translate strings. Enforce default policy and call avs_has_perm with
42819 results of translated strings.
42820
42821 2014-04-13 David S. Miller <davem@davemloft.net>
42822
42823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42824
42825 2014-04-12 Allan McRae <allan@archlinux.org>
42826
42827 [BZ #16838]
42828 * manual/string.texi (Collation Functions): Fix qsort argument
42829 order in example.
42830 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42831
42832 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42833
42834 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42835 Make the test a no-op if there are no exceptions defined.
42836
42837 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42838
42839 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42840 enable-hardcoded-path-in-tests
42841
42842 2014-04-11 Will Newton <will.newton@linaro.org>
42843
42844 * benchtests/Makefile (extra-objs): Add json-lib.o.
42845 (bench-func): Tidy up JSON output.
42846 * benchtests/bench-skeleton.c: Include json-lib.h.
42847 (main): Use JSON library functions to do output of
42848 benchmark results.
42849 * benchtests/bench-timing-type.c (main): Output the
42850 timing type simply, leaving formatting to the user.
42851 * benchtests/json-lib.c: New file.
42852 * benchtests/json-lib.h: Likewise.
42853
42854 2014-04-11 Torvald Riegel <triegel@redhat.com>
42855
42856 [BZ #15215]
42857 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42858 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42859 memory barriers. Add comments.
42860 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42861 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42862 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42863 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42864 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42865 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42866
42867 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42868
42869 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42870 * sysdeps/s390/s390-64/configure.ac: ... this ...
42871 * sysdeps/s390/configure.ac: ... to here.
42872 * sysdeps/s390/s390-32/configure: Delete file.
42873 * sysdeps/s390/s390-64/configure: Delete file.
42874 * sysdeps/s390/configure: Regenerate.
42875
42876 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42877
42878 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42879
42880 2014-04-11 Will Newton <will.newton@linaro.org>
42881
42882 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42883 to zero if it is not defined elsewhere. (mtrim): Test
42884 the value of MALLOC_DEBUG with #if rather than #ifdef.
42885
42886 2014-04-10 Torvald Riegel <triegel@redhat.com>
42887
42888 * benchtests/pthread_once-inputs: New file.
42889 * benchtests/pthread_once-source.c: New file.
42890 * benchtests/README: Update documentation.
42891
42892 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42893 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 [BZ #16275]
42896 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42897 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42898 * sysdeps/x86_64/configure: Regenerated.
42899 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42900 macro.
42901 (REGISTER_SAVE_RAX): Likewise.
42902 (REGISTER_SAVE_RCX): Likewise.
42903 (REGISTER_SAVE_RDX): Likewise.
42904 (REGISTER_SAVE_RSI): Likewise.
42905 (REGISTER_SAVE_RDI): Likewise.
42906 (REGISTER_SAVE_R8): Likewise.
42907 (REGISTER_SAVE_R9): Likewise.
42908 (REGISTER_SAVE_BND0): Likewise.
42909 (REGISTER_SAVE_BND1): Likewise.
42910 (REGISTER_SAVE_BND2): Likewise.
42911 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42912 bound registers when calling _dl_fixup.
42913
42914 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42915
42916 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42917 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42918 of its definition.
42919 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42920 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42921 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42922 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42923 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42924 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42925 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42926
42927 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42928
42929 [BZ #15514]
42930 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42931 pathconf(_PC_NAME_MAX).
42932
42933 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42934
42935 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42936 Remove macro usage.
42937 (__PTHREAD_SPINS): Move definition to ...
42938 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42939 (__PTHREAD_SPINS): ... here.
42940 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42941 (__PTHREAD_SPIN): Likewise.
42942 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42943 (__PTHREAD_SPIN): Likewise.
42944 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42945 (__PTHREAD_SPIN): Likewise.
42946 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42947 (__PTHREAD_SPIN): Likewise.
42948 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42949 (__PTHREAD_SPIN): Likewise.
42950 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42951 (__PTHREAD_SPIN): Likewise.
42952 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42953 (__PTHREAD_SPIN): Likewise.
42954 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42955 (__PTHREAD_SPIN): Likewise.
42956 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42957 (__PTHREAD_SPIN): Likewise.
42958 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42959 (__PTHREAD_SPIN): Likewise.
42960 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42961 (__PTHREAD_SPIN): Likewise.
42962 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42963 (__PTHREAD_SPIN): Likewise.
42964
42965 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42966 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42967 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42968 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42969 imply folder.
42970 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42971 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42972 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42973 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42974 correct imply path.
42975 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42976 strlen symbol for non multi-arch builds.
42977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42978 missing hidden_def and weak_alias.
42979
42980 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42981
42982 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42983
42984 2014-04-07 Will Newton <will.newton@linaro.org>
42985
42986 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42987 and contents. [!_LIBC] Remove #ifndef and contents.
42988 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42989 * string/memccpy.c (__memccpy): Use ANSI prototype.
42990 * string/memfrob.c (memfrob): Likewise.
42991 * string/strcoll.c (STRCOLL): Likewise.
42992 * string/strlen.c (strlen): Likewise.
42993 * string/strtok.c (STRTOK): Likewise.
42994 * string/strcat.c: Remove unused #include of memcopy.h.
42995 (strcat): Use ANSI prototype.
42996 * string/strchr.c: Remove unused #include of memcopy.h.
42997 (strchr): Use ANSI prototype.
42998 * string/strcmp.c: Remove unused #include of memcopy.h.
42999 (strcmp): Use ANSI prototype.
43000 * string/strcpy.c: Remove unused #include of memcopy.h.
43001 (strcpy): Use ANSI prototype.
43002
43003 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43004
43005 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43006 * config.make.in (config-extra-cppflags): Set it from
43007 libc_extra_cppflags.
43008 * configure.ac (libc_extra_cflags): Make it accumulate over
43009 configure fragments.
43010 (libc_extra_cppflags): New flag.
43011 * configure. Regenerate.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43013 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43014 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43016
43017 [BZ #16815]
43018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43019 result for FE_DOWNWARD rounding mode.
43020 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43021 Likewise.
43022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43023
43024 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43025
43026 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43027 in function argument name.
43028
43029 2014-04-03 David Svoboda <svoboda@cert.org>
43030
43031 [BZ #5666]
43032 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43033 explicitly.
43034
43035 2014-04-03 Roland McGrath <roland@hack.frob.com>
43036
43037 * elf/dl-unmap-segments.h: New file.
43038 * sysdeps/generic/ldsodefs.h
43039 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43040 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43041 * elf/dl-fptr.c: Likewise.
43042 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43043 * sysdeps/aarch64/tlsdesc.c: Likewise.
43044 * sysdeps/arm/tlsdesc.c: Likewise.
43045 * sysdeps/i386/tlsdesc.c: Likewise.
43046 * sysdeps/tile/dl-runtime.c: Likewise.
43047 * sysdeps/x86_64/tlsdesc.c: Likewise.
43048 * elf/dl-load.h: New file.
43049 * elf/dl-load.c: Include it.
43050 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43051 Macros moved to dl-load.h.
43052 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43053 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43054 Use _dl_unmap_segments in place of __munmap.
43055 Break out segment-mapping loop into ...
43056 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43057
43058 2014-04-03 Will Newton <will.newton@linaro.org>
43059
43060 * elf/dl-lookup.c (do_lookup_x): Remove comment
43061 referring to nested function and move variable
43062 declarations down to before first use.
43063
43064 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43065
43066 [BZ #16799]
43067 [BZ #16800]
43068 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43069 with 0 numerator.
43070 * math/s_catanf.c (__catanf): Likewise.
43071 * math/s_catanh.c (__catanh): Likewise.
43072 * math/s_catanhf.c (__catanhf): Likewise.
43073 * math/s_catanhl.c (__catanhl): Likewise.
43074 * math/s_catanl.c (__catanl): Likewise.
43075 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43076 by positive zero when computing -Inf result.
43077 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43078 (catanh_test): Likewise.
43079 * sysdeps/i386/fpu/libm-test-ulps: Update.
43080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43081
43082 [BZ #16789]
43083 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43084 instead of using underflowing value in computing result.
43085 * math/s_clog10.c (__clog10): Likewise.
43086 * math/s_clog10f.c (__clog10f): Likewise.
43087 * math/s_clog10l.c (__clog10l): Likewise.
43088 * math/s_clogf.c (__clogf): Likewise.
43089 * math/s_clogl.c (__clogl): Likewise.
43090 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43091 (clog10_test): Likewise.
43092 * sysdeps/i386/fpu/libm-test-ulps: Update.
43093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43094
43095 2014-04-02 Alan Modra <amodra@gmail.com>
43096
43097 [BZ #16739]
43098 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43099 output when value is near a power of two. Use int64_t for lx and
43100 remove casts. Use decimal rather than hex exponent constants.
43101 Don't use long double multiplication when double will suffice.
43102 * math/libm-test.inc (nextafter_test_data): Add tests.
43103 * NEWS: Add 16739 and 16786 to bug list.
43104
43105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43106
43107 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43108
43109 2014-04-01 Will Newton <will.newton@linaro.org>
43110
43111 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43112 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43113
43114 2014-04-01 Florian Weimer <fweimer@redhat.com>
43115
43116 [BZ #13347]
43117 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43118 * nptl/tst-setuid2.c: New file.
43119 * nptl/Makefile (xtests): Add tst-setuid2.
43120
43121 2014-04-01 Alan Modra <amodra@gmail.com>
43122
43123 [BZ #16786]
43124 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43125
43126 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43127
43128 [BZ #6803]
43129 [BZ #6804]
43130 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43131 set errno as appropriate.
43132 * math/w_scalbf.c (__scalbf): Likewise.
43133 * math/w_scalbl.c (__scalbl): Likewise.
43134 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43135 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43136 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43137 Add more NaN tests.
43138
43139 [BZ #16349]
43140 * math/w_atan2.c: Include <errno.h>.
43141 (__atan2): Set errno for result underflowing to zero.
43142 * math/w_atan2f.c: Include <errno.h>.
43143 (__atan2f): Set errno for result underflowing to zero.
43144 * math/w_atan2l.c: Include <errno.h>.
43145 (__atan2l): Set errno for result underflowing to zero.
43146 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43147 tests.
43148 * math/auto-libm-test-out: Regenerated.
43149
43150 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43151
43152 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43153 Encode instruction correctly in little endian.
43154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43155 Likewise.
43156 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43157 Likewise.
43158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43159 Likewise.
43160 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43161 Likewise.
43162
43163 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43164
43165 [BZ #9894]
43166 * sysdeps/unix/sysv/linux/kernel-features.h
43167 [__sparc__ && !__arch64__ && !__sparc_v9__]
43168 (__ASSUME_SET_ROBUST_LIST): Do not define.
43169 [__sparc__ && !__arch64__ && !__sparc_v9__]
43170 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43171 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43172 Likewise.
43173 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43174 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43175 (__ASSUME_REQUEUE_PI): Likewise.
43176 (__ASSUME_SET_ROBUST_LIST): Likewise.
43177 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43178 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43179 Undefine.
43180 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43182 Likewise.
43183 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43184 Likewise.
43185 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43186 Likewise.
43187 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43188 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43189 Undefine.
43190 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43191 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43192 Likewise.
43193
43194 [BZ #16648]
43195 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43196 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43197 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43198
43199 2014-03-31 Will Newton <will.newton@linaro.org>
43200
43201 * benchtests/Makefile (bench): Add ffs and ffsll to list
43202 of tests.
43203 * benchtests/ffs-inputs: New file.
43204 * benchtests/ffsll-inputs: Likewise.
43205
43206 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43207
43208 [BZ #16770]
43209 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43210 too large before casting to int.
43211 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43212 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43213 * math/libm-test.inc (scalb_test_data): Add more tests.
43214
43215 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43216
43217 * benchtests/Makefile (DETAILED_OPT): New make option.
43218 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43219 set.
43220 * benchtests/bench-skeleton.c: Include stdbool.h.
43221 (main): Store and print timings per input.
43222 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43223 member to each argument value.
43224 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43225 (_print_arg_data): Initialize per-input timing to 0.
43226
43227 * benchtests/Makefile (timing-type): New binary.
43228 (bench-clean): Also remove bench-timing-type.
43229 (bench): New target for timing-type.
43230 (bench-func): Print output in JSON format.
43231 * benchtests/bench-skeleton.c (main): Print output in JSON
43232 format.
43233 * benchtests/bench-timing-type.c: New file.
43234 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43235 (TIMING_PRINT_STATS): Remove.
43236 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43237 name separately.
43238
43239 * benchtests/bench-modf.c: Remove.
43240 * benchtests/modf-inputs: New inputs file.
43241
43242 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43243
43244 [BZ #16362]
43245 * math/s_clog10.c (M_PI_LOG10E): New macro.
43246 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43247 imaginary parts are 0.
43248 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43249 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43250 imaginary parts are 0.
43251 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43252 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43253 imaginary parts are 0.
43254 * math/libm-test.inc (clog10_test_data): Update expected results
43255 for when real and imaginary parts are 0.
43256
43257 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43258
43259 * elf/dl-load.c: Finish conversion of __builtin_expect into
43260 __glibc_{un}likely.
43261
43262 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43263
43264 [BZ #16348]
43265 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43266 1+x for argument with exponent below -67.
43267 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43268 Likewise.
43269 * math/auto-libm-test-in: Add more tests of exp.
43270 * math/auto-libm-test-out: Regenerated.
43271
43272 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43273
43274 [BZ #16759]
43275 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43276 (nscd_getnetgrent): Use it.
43277
43278 [BZ #16760]
43279 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43280 of stpcpy.
43281
43282 2014-03-27 Andi Kleen <ak@linux.intel.com>
43283
43284 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43285 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43286 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43287 (lll_robust_unlock): Remove out of line section. Use cfi
43288 intrinsics.
43289 (LLL_STUB_UNWIND_INFO*): Remove.
43290 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43291 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43292 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43293 (lll_robust_unlock): Remove out of line section. Use cfi
43294 intrinsics.
43295 (LLL_STUB_UNWIND_INFO*): Remove.
43296
43297 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43298
43299 [BZ #16758]
43300 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43301 blank values.
43302
43303 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43304
43305 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43306
43307 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43308
43309 [BZ #16198]
43310 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43311 fnstenv.
43312 * math/test-fenv-preserve.c: New file.
43313 * math/Makefile (tests): Add test-fenv-preserve.
43314
43315 2014-03-26 Will Newton <will.newton@linaro.org>
43316
43317 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43318
43319 2014-03-25 Roland McGrath <roland@hack.frob.com>
43320
43321 * scripts/versionlist.awk: Partition the version sets and emit all
43322 GLIBC_* (sorted) before all others (sorted).
43323
43324 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43325
43326 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43327 GLIBC_2.2.5 version.
43328
43329 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43330
43331 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43332 calls.
43333
43334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43335 previous change.
43336
43337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43338
43339 2014-03-25 Andreas Schwab <schwab@suse.de>
43340
43341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43342 label to be used after in6ailist is initialized.
43343
43344 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43345
43346 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43347 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43348
43349 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43350
43351 [BZ #16357]
43352 [BZ #16599]
43353 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43354 min_plus_half.
43355 (fp_formats): Update initializers.
43356 (init_fp_formats): Initialize new field.
43357 (output_for_one_input_case): Allow underflow for results up to
43358 min_plus_half.
43359 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43360 * math/auto-libm-test-in: Don't mark some underflows from asin and
43361 atanh as spurious.
43362 * math/auto-libm-test-out: Regenerated.
43363 * sysdeps/i386/fpu/libm-test-ulps: Update.
43364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43365
43366 2014-03-25 Andreas Schwab <schwab@suse.de>
43367
43368 * libio/Makefile (tst-ftell-partial-wide-ENV)
43369 (tst-ftell-active-handler-ENV): Define.
43370
43371 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43372
43373 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43374
43375 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43376
43377 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43378
43379 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43380
43381 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43382 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43383 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43384
43385 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43386
43387 [BZ #16634]
43388 * elf/dl-load.c (open_verify): Add mode parameter.
43389 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43390 (open_path): Change from boolean 'secure' to complete flag 'mode'
43391 (_dl_map_object): Adjust.
43392 * elf/Makefile (tests): Add tst-dlopen-aout.
43393 * elf/tst-dlopen-aout.c: New test.
43394
43395 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43396
43397 [BZ #16714]
43398 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43399 (struct stat): Rename member pad0 to __glibc_reserved0.
43400
43401 [BZ #16712]
43402 * sysdeps/s390/s390-32/bits/wordsize.h
43403 (__WORDSIZE32_SIZE_ULONG): New define.
43404 * sysdeps/s390/s390-64/bits/wordsize.h
43405 (__WORDSIZE32_SIZE_ULONG): Likewise.
43406 * sysdeps/generic/stdint.h (SIZE_MAX):
43407 Define as UL if __WORDSIZE32_SIZE_ULONG.
43408
43409 [BZ #16713]
43410 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43411 (__glibc_reserved0): New variable.
43412 (sa_flags): Change type to int.
43413
43414 * posix/Makefile (before-compile): Use += before-compile instead
43415 of a :=.
43416
43417 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43418 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43419
43420 2014-03-20 Andreas Schwab <schwab@suse.de>
43421
43422 [BZ #16743]
43423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43424 non-matching result from nscd.
43425
43426 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43427
43428 * scripts/bench.py: Moved to ...
43429 * benchtests/scripts/bench.py: ... here.
43430 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43431
43432 2014-03-24 Andreas Schwab <schwab@suse.de>
43433
43434 [BZ #16002]
43435 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43436 alloca_account and account alloca use for struct in6ailist.
43437
43438 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43439
43440 [BZ #16284]
43441 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43442 rounding mode to recompute results that overflow to infinity or
43443 underflow to zero.
43444 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43445 bug 16284.
43446 * math/auto-libm-test-out: Regenerated.
43447 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43448 (ccosh_test): Likewise.
43449 (csin_test_data): Use plus_oflow.
43450 (csin_test): Use ALL_RM_TEST.
43451 (csinh_test_data): Use plus_oflow.
43452 (csinh_test): Use ALL_RM_TEST.
43453 * sysdeps/i386/fpu/libm-test-ulps: Update.
43454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43455
43456 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43457
43458 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43459 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43460 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43461
43462 [BZ #16731]
43463 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43464 when x - 1 is zero.
43465 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43466 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43467 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43468 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43469 argument is 1.
43470 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43471 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43472 zero.
43473 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43474 * sysdeps/i386/fpu/libm-test-ulps: Update.
43475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43476
43477 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43478
43479 * scripts/bench.pl: Remove file.
43480 * scripts/bench.py: New benchmark script.
43481 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43482 * benchtests/README: Mention python dependency.
43483 * scripts/pylintrc: New file.
43484 * scripts/pylint: New file.
43485
43486 * bits/mathdef.h: Use #ifdef instead of #if.
43487 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43488 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43489 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43490 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43491 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43492 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43493
43494 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43495 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43496
43497 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43499 and strpbrk-ppc64 objects.
43500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43501 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43502 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43503 multiarch strpbrk for POWER7.
43504 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43505 multiarch strpbrk for PPC64.
43506 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43507 ifunc selector.
43508 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43509 strpbrk for POWER7.
43510
43511 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43512
43513 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43514 (atan_test): Likewise.
43515 (atanh_test_data): Use NO_TEST_INLINE for two tests.
43516 (atanh_test): Use ALL_RM_TEST.
43517 (atan2_test_data): Likewise.
43518 (cabs_test): Likewise.
43519 (cacosh_test): Likewise.
43520 (carg_test): Likewise.
43521 (casin_test): Likewise.
43522 (casinh_test): Likewise.
43523 (cbrt_test): Likewise.
43524 (csqrt_test): Likewise.
43525 (erf_test): Likewise.
43526 (erfc_test): Likewise.
43527 (pow10_test): Likewise.
43528 (exp2_test): Likewise.
43529 (hypot_test): Likewise.
43530 (j0_test): Likewise.
43531 (j1_test): Likewise.
43532 (lgamma_test): Likewise.
43533 (gamma_test): Likewise.
43534 (sincos_test): Likewise.
43535 (tanh_test): Likewise.
43536 (y0_test): Likewise.
43537 (y1_test): Likewise.
43538 * sysdeps/i386/fpu/libm-test-ulps: Update.
43539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43540
43541 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43542
43543 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43545 and strcspn-ppc64 objects.
43546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43547 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43548 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43549 multiarch strcspn for POWER7.
43550 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43551 multiarch strcspn for PPC64.
43552 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43553 ifunc selector.
43554 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43555 strcspn for POWER7.
43556
43557 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43558
43559 * math/gen-libm-test.pl (generate_testfile): Expect only function
43560 name as argument to AUTO_TESTS_* and pass results for all rounding
43561 modes to parse_args.
43562 (parse_auto_input): Separate inputs of automatic tests from
43563 outputs before storing in %auto_tests.
43564 * math/libm-test.inc (acos_test_data): Update call to
43565 AUTO_TESTS_f_f.
43566 (acos_test): Use ALL_RM_TEST.
43567 (acos_tonearest_test_data): Remove.
43568 (acos_test_tonearest): Likewise.
43569 (acos_towardzero_test_data): Likewise.
43570 (acos_test_towardzero): Likewise.
43571 (acos_downward_test_data): Likewise.
43572 (acos_test_downward): Likewise.
43573 (acos_upward_test_data): Likewise.
43574 (acos_test_upward): Likewise.
43575 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43576 (asin_test_data): Likewise.
43577 (asin_test): Use ALL_RM_TEST.
43578 (asin_tonearest_test_data): Remove.
43579 (asin_test_tonearest): Likewise.
43580 (asin_towardzero_test_data): Likewise.
43581 (asin_test_towardzero): Likewise.
43582 (asin_downward_test_data): Likewise.
43583 (asin_test_downward): Likewise.
43584 (asin_upward_test_data): Likewise.
43585 (asin_test_upward): Likewise.
43586 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43587 (atan_test_data): Likewise.
43588 (atanh_test_data): Likewise.
43589 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43590 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43591 (carg_test_data): Likewise.
43592 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43593 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43594 (ccosh_test_data): Likewise.
43595 (cexp_test_data): Likewise.
43596 (clog_test_data): Likewise.
43597 (clog10_test_data): Likewise.
43598 (cos_test_data): Update call to AUTO_TESTS_f_f.
43599 (cos_test): Use ALL_RM_TEST.
43600 (cos_tonearest_test_data): Remove.
43601 (cos_test_tonearest): Likewise.
43602 (cos_towardzero_test_data): Likewise.
43603 (cos_test_towardzero): Likewise.
43604 (cos_downward_test_data): Likewise.
43605 (cos_test_downward): Likewise.
43606 (cos_upward_test_data): Likewise.
43607 (cos_test_upward): Likewise.
43608 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43609 (cosh_test): Use ALL_RM_TEST.
43610 (cosh_tonearest_test_data): Remove.
43611 (cosh_test_tonearest): Likewise.
43612 (cosh_towardzero_test_data): Likewise.
43613 (cosh_test_towardzero): Likewise.
43614 (cosh_downward_test_data): Likewise.
43615 (cosh_test_downward): Likewise.
43616 (cosh_upward_test_data): Likewise.
43617 (cosh_test_upward): Likewise.
43618 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43619 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43620 (ctan_test_data): Likewise.
43621 (ctan_test): Use ALL_RM_TEST.
43622 (ctan_tonearest_test_data): Remove.
43623 (ctan_test_tonearest): Likewise.
43624 (ctan_towardzero_test_data): Likewise.
43625 (ctan_test_towardzero): Likewise.
43626 (ctan_downward_test_data): Likewise.
43627 (ctan_test_downward): Likewise.
43628 (ctan_upward_test_data): Likewise.
43629 (ctan_test_upward): Likewise.
43630 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43631 (ctanh_test): Use ALL_RM_TEST.
43632 (ctanh_tonearest_test_data): Remove.
43633 (ctanh_test_tonearest): Likewise.
43634 (ctanh_towardzero_test_data): Likewise.
43635 (ctanh_test_towardzero): Likewise.
43636 (ctanh_downward_test_data): Likewise.
43637 (ctanh_test_downward): Likewise.
43638 (ctanh_upward_test_data): Likewise.
43639 (ctanh_test_upward): Likewise.
43640 (erf_test_data): Update call to AUTO_TESTS_f_f.
43641 (erfc_test_data): Likewise.
43642 (exp_test_data): Likewise.
43643 (exp_test): Use ALL_RM_TEST.
43644 (exp_tonearest_test_data): Remove.
43645 (exp_test_tonearest): Likewise.
43646 (exp_towardzero_test_data): Likewise.
43647 (exp_test_towardzero): Likewise.
43648 (exp_downward_test_data): Likewise.
43649 (exp_test_downward): Likewise.
43650 (exp_upward_test_data): Likewise.
43651 (exp_test_upward): Likewise.
43652 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43653 (exp10_test): Use ALL_RM_TEST.
43654 (exp10_tonearest_test_data): Remove.
43655 (exp10_test_tonearest): Likewise.
43656 (exp10_towardzero_test_data): Likewise.
43657 (exp10_test_towardzero): Likewise.
43658 (exp10_downward_test_data): Likewise.
43659 (exp10_test_downward): Likewise.
43660 (exp10_upward_test_data): Likewise.
43661 (exp10_test_upward): Likewise.
43662 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43663 (expm1_test_data): Likewise.
43664 (expm1_test): Use ALL_RM_TEST.
43665 (expm1_tonearest_test_data): Remove.
43666 (expm1_test_tonearest): Likewise.
43667 (expm1_towardzero_test_data): Likewise.
43668 (expm1_test_towardzero): Likewise.
43669 (expm1_downward_test_data): Likewise.
43670 (expm1_test_downward): Likewise.
43671 (expm1_upward_test_data): Likewise.
43672 (expm1_test_upward): Likewise.
43673 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43674 (fma_test): Use ALL_RM_TEST.
43675 (fma_towardzero_test_data): Remove.
43676 (fma_test_towardzero): Likewise.
43677 (fma_downward_test_data): Likewise.
43678 (fma_test_downward): Likewise.
43679 (fma_upward_test_data): Likewise.
43680 (fma_test_upward): Likewise.
43681 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43682 (j0_test_data): Update call to AUTO_TESTS_f_f.
43683 (j1_test_data): Likewise.
43684 (jn_test_data): Update call to AUTO_TESTS_if_f.
43685 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43686 (log_test_data): Update call to AUTO_TESTS_f_f.
43687 (log10_test_data): Likewise.
43688 (log1p_test_data): Likewise.
43689 (log2_test_data): Likewise.
43690 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43691 (pow_tonearest_test_data): Likewise.
43692 (sin_test_data): Update call to AUTO_TESTS_f_f.
43693 (sin_test): Use ALL_RM_TEST.
43694 (sin_tonearest_test_data): Remove.
43695 (sin_test_tonearest): Likewise.
43696 (sin_towardzero_test_data): Likewise.
43697 (sin_test_towardzero): Likewise.
43698 (sin_downward_test_data): Likewise.
43699 (sin_test_downward): Likewise.
43700 (sin_upward_test_data): Likewise.
43701 (sin_test_upward): Likewise.
43702 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43703 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43704 (sinh_test): Use ALL_RM_TEST.
43705 (sinh_tonearest_test_data): Remove.
43706 (sinh_test_tonearest): Likewise.
43707 (sinh_towardzero_test_data): Likewise.
43708 (sinh_test_towardzero): Likewise.
43709 (sinh_downward_test_data): Likewise.
43710 (sinh_test_downward): Likewise.
43711 (sinh_upward_test_data): Likewise.
43712 (sinh_test_upward): Likewise.
43713 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43714 (sqrt_test): Use ALL_RM_TEST.
43715 (sqrt_tonearest_test_data): Remove.
43716 (sqrt_test_tonearest): Likewise.
43717 (sqrt_towardzero_test_data): Likewise.
43718 (sqrt_test_towardzero): Likewise.
43719 (sqrt_downward_test_data): Likewise.
43720 (sqrt_test_downward): Likewise.
43721 (sqrt_upward_test_data): Likewise.
43722 (sqrt_test_upward): Likewise.
43723 (tan_test_data): Update call to AUTO_TESTS_f_f.
43724 (tan_test): Use ALL_RM_TEST.
43725 (tan_tonearest_test_data): Remove.
43726 (tan_test_tonearest): Likewise.
43727 (tan_towardzero_test_data): Likewise.
43728 (tan_test_towardzero): Likewise.
43729 (tan_downward_test_data): Likewise.
43730 (tan_test_downward): Likewise.
43731 (tan_upward_test_data): Likewise.
43732 (tan_test_upward): Likewise.
43733 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43734 (tgamma_test_data): Likewise.
43735 (y0_test_data): Likewise.
43736 (y1_test_data): Likewise.
43737 (yn_test_data): Update call to AUTO_TESTS_if_f.
43738 (main): Do not call removed functions.
43739
43740 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43741
43742 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43743 (ldexp_test_data): Remove.
43744 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43745 scalbn_test_data.
43746 (scalb_test): Use ALL_RM_TEST.
43747
43748 2014-03-19 Andreas Schwab <schwab@suse.de>
43749
43750 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43751
43752 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43753
43754 [BZ #16649]
43755 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43756 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43759 (__ASSUME_PREADV): Undefine.
43760 (__ASSUME_PWRITEV): Likewise.
43761
43762 2014-03-18 Roland McGrath <roland@hack.frob.com>
43763
43764 * bits/mman-linux.h: Add comment about non-Linux use.
43765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43766 bits/mman-linux.h resting place.
43767
43768 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43769 * bits/mman-linux.h: ... here.
43770
43771 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43772
43773 * conform/conformtest.pl: Add standard definition when calling C
43774 preprocessor on data files.
43775 (checknamespace): Remove unused variable.
43776
43777 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43778
43779 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43780 minus_oflow, plus_uflow and minus_uflow in expected results.
43781 * math/libm-test.inc (scalbn_test_data): Add more tests of
43782 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43783 minus_uflow.
43784 (scalbn_test): Use ALL_RM_TEST.
43785 (scalbln_test_data): Add more tests of negative arguments. Use
43786 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43787 (scalbln_test): Use ALL_RM_TEST.
43788
43789 2014-03-18 Roland McGrath <roland@hack.frob.com>
43790
43791 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43792
43793 2014-03-18 Will Newton <will.newton@linaro.org>
43794
43795 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43796 inaccurate comment.
43797
43798 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43799
43800 * Makerules [!subdir] (check-abi): Exit with error status if a
43801 test failed.
43802
43803 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43804
43805 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43806 for rint. Include results for all rounding modes.
43807 (nearbyint_test): Use ALL_RM_TEST.
43808 (rint_test_data): Include all tests used for nearbyint.
43809
43810 2014-03-17 Will Newton <will.newton@linaro.org>
43811
43812 * nptl/sysdeps/pthread/pthread.h: Revert previous
43813 change.
43814
43815 * sysdeps/generic/ldsodefs.h: Revert previous
43816 change.
43817
43818 * libio/genops.c: Revert previous change.
43819 * libio/libioP.h: Likewise.
43820 * stdio-common/vfprintf.c: Likewise.
43821
43822 * sysdeps/generic/math_private.h: Revert previous
43823 change.
43824
43825 * sysdeps/generic/math_private.h: Check whether
43826 HAVE_RM_CTX is defined with #ifdef rather
43827 than #if.
43828
43829 * argp/argp-fmtstream.h: Check whether
43830 __STRICT_ANSI__ is defined with #ifdef rather
43831 than #if.
43832 * argp/argp.h: Likewise.
43833
43834 * libio/genops.c: Check whether
43835 _IO_JUMPS_OFFSET is defined with #ifdef rather
43836 than #if.
43837 * libio/libioP.h: Likewise.
43838 * stdio-common/vfprintf.c: Likewise.
43839
43840 * sysdeps/generic/ldsodefs.h: Check whether
43841 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43842 than #if.
43843
43844 * nptl/sysdeps/pthread/pthread.h: Check
43845 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43846 its value.
43847
43848 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43849
43850 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43851 setting O_APPEND.
43852 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43853 test case.
43854
43855 [BZ #16680]
43856 * libio/fileops.c (_IO_file_open): Seek to end of file but
43857 don't cache the offset.
43858 (get_file_offset): Remove function.
43859 (do_ftell): Use cached offset when available.
43860 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43861 don't cache the offset.
43862 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43863 case.
43864 (do_one_test): Call it.
43865 (do_ftell_test): Fix up expected old offset for a+ mode.
43866 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43867 available.
43868
43869 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43870 up test status with function return status.
43871 (do_write_test): Likewise.
43872 (do_append_test): Likewise.
43873
43874 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43875 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43876 Remove.
43877
43878 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43879
43880 * math/gen-libm-test.pl (parse_args): Handle results specified for
43881 each rounding mode separately.
43882 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43883 tests and results from lrint_tonearest_test_data,
43884 lrint_towardzero_test_data, lrint_downward_test_data and
43885 lrint_upward_test_data.
43886 (lrint_test): Use ALL_RM_TEST.
43887 (lrint_tonearest_test_data): Remove.
43888 (lrint_test_tonearest): Likewise.
43889 (lrint_towardzero_test_data): Likewise.
43890 (lrint_test_towardzero): Likewise.
43891 (lrint_downward_test_data): Likewise.
43892 (lrint_test_downward): Likewise.
43893 (lrint_upward_test_data): Likewise.
43894 (lrint_test_upward): Likewise.
43895 (llrint_test_data): Merge in per-rounding-mode tests and results
43896 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43897 llrint_downward_test_data and llrint_upward_test_data.
43898 (llrint_test): Use ALL_RM_TEST.
43899 (llrint_tonearest_test_data): Remove.
43900 (llrint_test_tonearest): Likewise.
43901 (llrint_towardzero_test_data): Likewise.
43902 (llrint_test_towardzero): Likewise.
43903 (llrint_downward_test_data): Likewise.
43904 (llrint_test_downward): Likewise.
43905 (llrint_upward_test_data): Likewise.
43906 (llrint_test_upward): Likewise.
43907 (rint_test_data): Merge in per-rounding-mode tests and results
43908 from rint_tonearest_test_data, rint_towardzero_test_data,
43909 rint_downward_test_data and rint_upward_test_data. Add
43910 per-rounding-mode results for tests not in those arrays.
43911 (rint_test): Use ALL_RM_TEST.
43912 (rint_tonearest_test_data): Remove.
43913 (rint_test_tonearest): Likewise.
43914 (rint_towardzero_test_data): Likewise.
43915 (rint_test_towardzero): Likewise.
43916 (rint_downward_test_data): Likewise.
43917 (rint_test_downward): Likewise.
43918 (rint_upward_test_data): Likewise.
43919 (rint_test_upward): Likewise.
43920 (main): Don't call removed functions.
43921
43922 2014-03-14 Roland McGrath <roland@hack.frob.com>
43923
43924 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43925 "Compiled on ..." crapola. It is anti-useful.
43926
43927 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43928
43929 * scripts/evaluate-test.sh: Handle fourth argument to determine
43930 whether test run should stop on failure.
43931 * Makeconfig (stop-on-test-failure): New variable.
43932 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43933 $(stop-on-test-failure).
43934 * Makefile (tests): Give a summary of results from testing and
43935 exit with failure status if they include an ERROR or FAIL.
43936 (xtests): Likewise.
43937 * manual/install.texi (Configuring and compiling): Mention
43938 stop-on-test-failure=y.
43939 * INSTALL: Regenerated.
43940
43941 2014-03-14 Roland McGrath <roland@hack.frob.com>
43942
43943 * scripts/versionlist.awk: New file.
43944 * Makerules [$(build-shared) = yes]
43945 (postclean-generated): Add Versions.def, not Versions.def.v and
43946 Versions.def.v.i.
43947 ($(common-objpfx)Versions.def.v.i): Target removed.
43948 ($(common-objpfx)Versions.def): New target.
43949 ($(common-objpfx)Versions.all): Depend on that rather that
43950 $(common-objpfx)Versions.def.v.
43951 * Versions.def: File removed.
43952
43953 * Makeconfig (+gccwarn): Add -Wundef.
43954 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43955 a dl-sysdep.h breaking its contract.
43956 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43957 * include/stackinfo.h: New file.
43958 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43959 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43960 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43961 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43962 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43963 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43964 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43965 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43966 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43967 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43968 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43969 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43970 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43971 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43972 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43973
43974 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43975
43976 [BZ #16707]
43977 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43978 implementation.
43979 * math/libm-test.inc (round_test_data): Add more tests.
43980
43981 [BZ #16706]
43982 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43983 implementation.
43984 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43985
43986 [BZ #16701]
43987 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43988 implementation.
43989 * math/libm-test.inc (ceil_test_data): Add more tests.
43990
43991 * math/libm-test.inc (trunc_test_data): Add more tests related to
43992 BZ#16414.
43993
43994 2014-03-14 Roland McGrath <roland@hack.frob.com>
43995
43996 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43997 with #if rather than #ifdef.
43998 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43999
44000 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44001
44002 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44003 first. Disable AVX-512 GCC support if assembler doesn't support
44004 it.
44005 * sysdeps/x86_64/configure: Regenerated.
44006
44007 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44008
44009 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44010 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44011 (__old_pthread_attr_setstack): Likewise.
44012 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44013 [!_STACK_GROWS_DOWN]: Likewise.
44014
44015 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44016
44017 * config.make.in (have-bash2): Delete.
44018 * configure.ac (libc_cv_have_bash2): Delete.
44019 * configure: Regenerate.
44020 * elf/Makefile (common-ldd-rewrite): Rename to ...
44021 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44022 (sh-ldd-rewrite): Delete.
44023 (bash-ldd-rewrite): Delete.
44024 (have-bash2): Delete checks.
44025 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44026 ldd-rewrite.
44027
44028 * config.make.in (have-ksh): Delete.
44029 (KSH): Delete.
44030 * configure.ac (libc_cv_have_ksh): Delete.
44031 * configure: Regenerate.
44032
44033 * elf/Makefile: Delete $(have-ksh) check.
44034 ($(objpfx)sotruss): Change KSH to BASH.
44035 * elf/sotruss.ksh: Rename to ...
44036 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44037 function style to match POSIX. Drop ksh vim mode setting.
44038
44039 * manual/time.texi (Specifying the Time Zone with TZ): Change
44040 Tuesday to Thursday.
44041
44042 * debug/tst-longjmp_chk2.c: Update header comment.
44043 (stackoverflow_handler): Add comment. Call assert on pass value.
44044
44045 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44046
44047 [BZ #16194]
44048 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44049 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44050 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44051 (La_x86_64_vector): Add zmm.
44052 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44053 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44054 ($(objpfx)tst-audit10): New target.
44055 ($(objpfx)tst-audit10.out): Likewise.
44056 (tst-audit10-ENV): New.
44057 (AVX512-CFLAGS): Likewise.
44058 (CFLAGS-tst-audit10.c): Likewise.
44059 (CFLAGS-tst-auditmod10a.c): Likewise.
44060 (CFLAGS-tst-auditmod10b.c): Likewise.
44061 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44062 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44063 * sysdeps/x86_64/configure: Regenerated.
44064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44065 AVX-512 zmm register support.
44066 (_dl_x86_64_save_sse): Likewise.
44067 (_dl_x86_64_restore_sse): Likewise.
44068 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44069 size vector registers.
44070 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44071 (ZMM_SIZE): Likewise.
44072 * sysdeps/x86_64/tst-audit10.c: New file.
44073 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44074 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44075
44076 2014-03-13 Roland McGrath <roland@hack.frob.com>
44077
44078 * configure.ac (HAVE_EHDR_START): New check.
44079 * configure: Regenerated.
44080 * config.h.in (HAVE_EHDR_START): New #undef.
44081 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44082 assuming the lowest-addressed segment maps the start of the file.
44083
44084 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44085
44086 * INSTALL: Regenerated.
44087
44088 2014-03-13 Will Newton <will.newton@linaro.org>
44089
44090 * manual/setjmp.texi (System V contexts): Improve
44091 clarity and grammar of documentation.
44092
44093 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44094
44095 [BZ #16381]
44096 * elf/Makefile (tests): Add tst-pie2.
44097 (tests-pie): Add tst-pie2.
44098 * elf/tst-pie2.c: New file.
44099 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44100 for ET_EXEC.
44101 * elf/rtld.c (map_doit): Load executable as lt_executable.
44102 (dl_main): Likewise.
44103
44104 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44105
44106 [BZ #16642]
44107 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44108 (__ASSUME_PSELECT): Undefine.
44109
44110 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44111
44112 [BZ #16689]
44113 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44114 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44115 static build.
44116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44117 selector for static builds.
44118
44119 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44120
44121 [BZ #16695]
44122 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44123 key in the buffer.
44124
44125 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44126
44127 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44128 IFUNC selector for static builds.
44129
44130 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44131
44132 * sysdeps/mips/math_private.h [__mips_hard_float]
44133 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44134 libc_feresetround_mips_ctx.
44135 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44136 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44137 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44138
44139 [BZ #16677]
44140 * math/s_nextafter.c (__nextafter): Do not return value from
44141 overflowing computation.
44142 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44143 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44145 Likewise.
44146 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44147 Likewise.
44148 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44149 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44150
44151 2014-03-11 Roland McGrath <roland@hack.frob.com>
44152
44153 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44154 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44155 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44156 the new mov targetting sp.
44157
44158 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44159
44160 [BZ #16683]
44161 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44162 Define it for static builds as well.
44163 (NO_BZERO_IMPL): Likewise.
44164
44165 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44166
44167 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44168 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44169 multiarch strspn for PPC64.
44170 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44171 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44173 (__libc_ifunc_impl_list): Likewise.
44174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44175 multiarch optimizations
44176 * string/strspn.c (strspn): Using macro to redefine symbol name.
44177
44178 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44179 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44180
44181 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44182 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44183 multiarch strncat for PPC64.
44184 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44185 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44187 (__libc_ifunc_impl_list): Likewise.
44188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44189 multiarch optimizations
44190
44191 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44192
44193 [BZ #16639]
44194 * nscd/nscd.service: Make service type forking.
44195
44196 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44197
44198 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44199 sign in non default rounding modes.
44200 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44201
44202 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44203
44204 * math/libm-test.inc (ALL_RM_TEST): New macro.
44205 (ceil_test): Use ALL_RM_TEST.
44206 (cimag_test): Likewise.
44207 (conj_test): Likewise.
44208 (copysign_test): Likewise.
44209 (cproj_test): Likewise.
44210 (creal_test): Likewise.
44211 (fabs_test): Likewise.
44212 (floor_test): Likewise.
44213 (fmax_test): Likewise.
44214 (fmin_test): Likewise.
44215 (fmod_test): Likewise.
44216 (fpclassify_test): Likewise.
44217 (frexp_test): Likewise.
44218 (ilogb_test): Likewise.
44219 (isfinite_test): Likewise.
44220 (finite_test): Likewise.
44221 (isgreater_test): Likewise.
44222 (isgreaterequal_test): Likewise.
44223 (isinf_test): Likewise.
44224 (isless_test): Likewise.
44225 (islessequal_test): Likewise.
44226 (islessgreater_test): Likewise.
44227 (isnan_test): Likewise.
44228 (isnormal_test): Likewise.
44229 (issignaling_test): Likewise.
44230 (isunordered_test): Likewise.
44231 (logb_test): Likewise.
44232 (logb_downward_test_data): Remove.
44233 (logb_test_downward): Likewise.
44234 (lround_test): Use ALL_RM_TEST.
44235 (llround_test): Likewise.
44236 (modf_test): Likewise.
44237 (nexttoward_test): Likewise.
44238 (remainder_test): Likewise.
44239 (drem_test): Likewise.
44240 (remainder_tonearest_test_data): Likewise.
44241 (remainder_test_tonearest): Likewise.
44242 (drem_test_tonearest): Likewise.
44243 (remainder_towardzero_test_data): Likewise.
44244 (remainder_test_towardzero): Likewise.
44245 (drem_test_towardzero): Likewise.
44246 (remainder_downward_test_data): Likewise.
44247 (remainder_test_downward): Likewise.
44248 (drem_test_downward): Likewise.
44249 (remainder_upward_test_data): Likewise.
44250 (remainder_test_upward): Likewise.
44251 (drem_test_upward): Likewise.
44252 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44253 (round_test): Use ALL_RM_TEST.
44254 (signbit_test): Likewise.
44255 (trunc_test): Likewise.
44256 (significand_test): Likewise.
44257 (main): Don't call removed functions.
44258
44259 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44260
44261 [BZ #16674]
44262 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44263 || __USE_XOPEN2K8].
44264 (ILL_ILLOPN): Likewise.
44265 (ILL_ILLADR): Likewise.
44266 (ILL_ILLTRP): Likewise.
44267 (ILL_PRVOPC): Likewise.
44268 (ILL_PRVREG): Likewise.
44269 (ILL_COPROC): Likewise.
44270 (ILL_BADSTK): Likewise.
44271 (FPE_INTDIV): Likewise.
44272 (FPE_INTOVF): Likewise.
44273 (FPE_FLTDIV): Likewise.
44274 (FPE_FLTOVF): Likewise.
44275 (FPE_FLTUND): Likewise.
44276 (FPE_FLTRES): Likewise.
44277 (FPE_FLTINV): Likewise.
44278 (FPE_FLTSUB): Likewise.
44279 (SEGV_MAPERR): Likewise.
44280 (SEGV_ACCERR): Likewise.
44281 (BUS_ADRALN): Likewise.
44282 (BUS_ADRERR): Likewise.
44283 (BUS_OBJERR): Likewise.
44284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44285 (TRAP_TRACE): Likewise.
44286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44287 __USE_XOPEN2K8].
44288 (CLD_KILLED): Likewise.
44289 (CLD_DUMPED): Likewise.
44290 (CLD_TRAPPED): Likewise.
44291 (CLD_STOPPED): Likewise.
44292 (CLD_CONTINUED): Likewise.
44293 (POLL_IN): Likewise.
44294 (POLL_OUT): Likewise.
44295 (POLL_MSG): Likewise.
44296 (POLL_ERR): Likewise.
44297 (POLL_PRI): Likewise.
44298 (POLL_HUP): Likewise.
44299 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44300 Likewise.
44301 (ILL_ILLOPN): Likewise.
44302 (ILL_ILLADR): Likewise.
44303 (ILL_ILLTRP): Likewise.
44304 (ILL_PRVOPC): Likewise.
44305 (ILL_PRVREG): Likewise.
44306 (ILL_COPROC): Likewise.
44307 (ILL_BADSTK): Likewise.
44308 (FPE_INTDIV): Likewise.
44309 (FPE_INTOVF): Likewise.
44310 (FPE_FLTDIV): Likewise.
44311 (FPE_FLTOVF): Likewise.
44312 (FPE_FLTUND): Likewise.
44313 (FPE_FLTRES): Likewise.
44314 (FPE_FLTINV): Likewise.
44315 (FPE_FLTSUB): Likewise.
44316 (SEGV_MAPERR): Likewise.
44317 (SEGV_ACCERR): Likewise.
44318 (BUS_ADRALN): Likewise.
44319 (BUS_ADRERR): Likewise.
44320 (BUS_OBJERR): Likewise.
44321 (BUS_MCEERR_AR): Likewise.
44322 (BUS_MCEERR_AO): Likewise.
44323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44324 (TRAP_TRACE): Likewise.
44325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44326 __USE_XOPEN2K8].
44327 (CLD_KILLED): Likewise.
44328 (CLD_DUMPED): Likewise.
44329 (CLD_TRAPPED): Likewise.
44330 (CLD_STOPPED): Likewise.
44331 (CLD_CONTINUED): Likewise.
44332 (POLL_IN): Likewise.
44333 (POLL_OUT): Likewise.
44334 (POLL_MSG): Likewise.
44335 (POLL_ERR): Likewise.
44336 (POLL_PRI): Likewise.
44337 (POLL_HUP): Likewise.
44338 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44339 (ILL_ILLOPN): Likewise.
44340 (ILL_ILLADR): Likewise.
44341 (ILL_ILLTRP): Likewise.
44342 (ILL_PRVOPC): Likewise.
44343 (ILL_PRVREG): Likewise.
44344 (ILL_COPROC): Likewise.
44345 (ILL_BADSTK): Likewise.
44346 (FPE_INTDIV): Likewise.
44347 (FPE_INTOVF): Likewise.
44348 (FPE_FLTDIV): Likewise.
44349 (FPE_FLTOVF): Likewise.
44350 (FPE_FLTUND): Likewise.
44351 (FPE_FLTRES): Likewise.
44352 (FPE_FLTINV): Likewise.
44353 (FPE_FLTSUB): Likewise.
44354 (SEGV_MAPERR): Likewise.
44355 (SEGV_ACCERR): Likewise.
44356 (BUS_ADRALN): Likewise.
44357 (BUS_ADRERR): Likewise.
44358 (BUS_OBJERR): Likewise.
44359 (BUS_MCEERR_AR): Likewise.
44360 (BUS_MCEERR_AO): Likewise.
44361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44362 (TRAP_TRACE): Likewise.
44363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44364 __USE_XOPEN2K8].
44365 (CLD_KILLED): Likewise.
44366 (CLD_DUMPED): Likewise.
44367 (CLD_TRAPPED): Likewise.
44368 (CLD_STOPPED): Likewise.
44369 (CLD_CONTINUED): Likewise.
44370 (POLL_IN): Likewise.
44371 (POLL_OUT): Likewise.
44372 (POLL_MSG): Likewise.
44373 (POLL_ERR): Likewise.
44374 (POLL_PRI): Likewise.
44375 (POLL_HUP): Likewise.
44376 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44377 Likewise.
44378 (ILL_ILLOPN): Likewise.
44379 (ILL_ILLADR): Likewise.
44380 (ILL_ILLTRP): Likewise.
44381 (ILL_PRVOPC): Likewise.
44382 (ILL_PRVREG): Likewise.
44383 (ILL_COPROC): Likewise.
44384 (ILL_BADSTK): Likewise.
44385 (ILL_BADIADDR): Likewise.
44386 (ILL_BREAK): Likewise.
44387 (FPE_INTDIV): Likewise.
44388 (FPE_INTOVF): Likewise.
44389 (FPE_FLTDIV): Likewise.
44390 (FPE_FLTOVF): Likewise.
44391 (FPE_FLTUND): Likewise.
44392 (FPE_FLTRES): Likewise.
44393 (FPE_FLTINV): Likewise.
44394 (FPE_FLTSUB): Likewise.
44395 (FPE_DECOVF): Likewise.
44396 (FPE_DECDIV): Likewise.
44397 (FPE_DECERR): Likewise.
44398 (FPE_INVASC): Likewise.
44399 (FPE_INVDEC): Likewise.
44400 (SEGV_MAPERR): Likewise.
44401 (SEGV_ACCERR): Likewise.
44402 (SEGV_PSTKOVF): Likewise.
44403 (BUS_ADRALN): Likewise.
44404 (BUS_ADRERR): Likewise.
44405 (BUS_OBJERR): Likewise.
44406 (BUS_MCEERR_AR): Likewise.
44407 (BUS_MCEERR_AO): Likewise.
44408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44409 (TRAP_TRACE): Likewise.
44410 (TRAP_BRANCH): Likewise.
44411 (TRAP_HWBKPT): Likewise.
44412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44413 __USE_XOPEN2K8].
44414 (CLD_KILLED): Likewise.
44415 (CLD_DUMPED): Likewise.
44416 (CLD_TRAPPED): Likewise.
44417 (CLD_STOPPED): Likewise.
44418 (CLD_CONTINUED): Likewise.
44419 (POLL_IN): Likewise.
44420 (POLL_OUT): Likewise.
44421 (POLL_MSG): Likewise.
44422 (POLL_ERR): Likewise.
44423 (POLL_PRI): Likewise.
44424 (POLL_HUP): Likewise.
44425 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44426 (ILL_ILLOPN): Likewise.
44427 (ILL_ILLADR): Likewise.
44428 (ILL_ILLTRP): Likewise.
44429 (ILL_PRVOPC): Likewise.
44430 (ILL_PRVREG): Likewise.
44431 (ILL_COPROC): Likewise.
44432 (ILL_BADSTK): Likewise.
44433 (FPE_INTDIV): Likewise.
44434 (FPE_INTOVF): Likewise.
44435 (FPE_FLTDIV): Likewise.
44436 (FPE_FLTOVF): Likewise.
44437 (FPE_FLTUND): Likewise.
44438 (FPE_FLTRES): Likewise.
44439 (FPE_FLTINV): Likewise.
44440 (FPE_FLTSUB): Likewise.
44441 (SEGV_MAPERR): Likewise.
44442 (SEGV_ACCERR): Likewise.
44443 (BUS_ADRALN): Likewise.
44444 (BUS_ADRERR): Likewise.
44445 (BUS_OBJERR): Likewise.
44446 (BUS_MCEERR_AR): Likewise.
44447 (BUS_MCEERR_AO): Likewise.
44448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44449 (TRAP_TRACE): Likewise.
44450 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44451 __USE_XOPEN2K8].
44452 (CLD_KILLED): Likewise.
44453 (CLD_DUMPED): Likewise.
44454 (CLD_TRAPPED): Likewise.
44455 (CLD_STOPPED): Likewise.
44456 (CLD_CONTINUED): Likewise.
44457 (POLL_IN): Likewise.
44458 (POLL_OUT): Likewise.
44459 (POLL_MSG): Likewise.
44460 (POLL_ERR): Likewise.
44461 (POLL_PRI): Likewise.
44462 (POLL_HUP): Likewise.
44463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44464 (ILL_ILLOPN): Likewise.
44465 (ILL_ILLADR): Likewise.
44466 (ILL_ILLTRP): Likewise.
44467 (ILL_PRVOPC): Likewise.
44468 (ILL_PRVREG): Likewise.
44469 (ILL_COPROC): Likewise.
44470 (ILL_BADSTK): Likewise.
44471 (FPE_INTDIV): Likewise.
44472 (FPE_INTOVF): Likewise.
44473 (FPE_FLTDIV): Likewise.
44474 (FPE_FLTOVF): Likewise.
44475 (FPE_FLTUND): Likewise.
44476 (FPE_FLTRES): Likewise.
44477 (FPE_FLTINV): Likewise.
44478 (FPE_FLTSUB): Likewise.
44479 (SEGV_MAPERR): Likewise.
44480 (SEGV_ACCERR): Likewise.
44481 (BUS_ADRALN): Likewise.
44482 (BUS_ADRERR): Likewise.
44483 (BUS_OBJERR): Likewise.
44484 (BUS_MCEERR_AR): Likewise.
44485 (BUS_MCEERR_AO): Likewise.
44486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44487 (TRAP_TRACE): Likewise.
44488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44489 __USE_XOPEN2K8].
44490 (CLD_KILLED): Likewise.
44491 (CLD_DUMPED): Likewise.
44492 (CLD_TRAPPED): Likewise.
44493 (CLD_STOPPED): Likewise.
44494 (CLD_CONTINUED): Likewise.
44495 (POLL_IN): Likewise.
44496 (POLL_OUT): Likewise.
44497 (POLL_MSG): Likewise.
44498 (POLL_ERR): Likewise.
44499 (POLL_PRI): Likewise.
44500 (POLL_HUP): Likewise.
44501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44502 (ILL_ILLOPN): Likewise.
44503 (ILL_ILLADR): Likewise.
44504 (ILL_ILLTRP): Likewise.
44505 (ILL_PRVOPC): Likewise.
44506 (ILL_PRVREG): Likewise.
44507 (ILL_COPROC): Likewise.
44508 (ILL_BADSTK): Likewise.
44509 (FPE_INTDIV): Likewise.
44510 (FPE_INTOVF): Likewise.
44511 (FPE_FLTDIV): Likewise.
44512 (FPE_FLTOVF): Likewise.
44513 (FPE_FLTUND): Likewise.
44514 (FPE_FLTRES): Likewise.
44515 (FPE_FLTINV): Likewise.
44516 (FPE_FLTSUB): Likewise.
44517 (SEGV_MAPERR): Likewise.
44518 (SEGV_ACCERR): Likewise.
44519 (BUS_ADRALN): Likewise.
44520 (BUS_ADRERR): Likewise.
44521 (BUS_OBJERR): Likewise.
44522 (BUS_MCEERR_AR): Likewise.
44523 (BUS_MCEERR_AO): Likewise.
44524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44525 (TRAP_TRACE): Likewise.
44526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44527 __USE_XOPEN2K8].
44528 (CLD_KILLED): Likewise.
44529 (CLD_DUMPED): Likewise.
44530 (CLD_TRAPPED): Likewise.
44531 (CLD_STOPPED): Likewise.
44532 (CLD_CONTINUED): Likewise.
44533 (POLL_IN): Likewise.
44534 (POLL_OUT): Likewise.
44535 (POLL_MSG): Likewise.
44536 (POLL_ERR): Likewise.
44537 (POLL_PRI): Likewise.
44538 (POLL_HUP): Likewise.
44539 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44540 (ILL_ILLOPN): Likewise.
44541 (ILL_ILLADR): Likewise.
44542 (ILL_ILLTRP): Likewise.
44543 (ILL_PRVOPC): Likewise.
44544 (ILL_PRVREG): Likewise.
44545 (ILL_COPROC): Likewise.
44546 (ILL_BADSTK): Likewise.
44547 (ILL_DBLFLT): Likewise.
44548 (ILL_HARDWALL): Likewise.
44549 (FPE_INTDIV): Likewise.
44550 (FPE_INTOVF): Likewise.
44551 (FPE_FLTDIV): Likewise.
44552 (FPE_FLTOVF): Likewise.
44553 (FPE_FLTUND): Likewise.
44554 (FPE_FLTRES): Likewise.
44555 (FPE_FLTINV): Likewise.
44556 (FPE_FLTSUB): Likewise.
44557 (SEGV_MAPERR): Likewise.
44558 (SEGV_ACCERR): Likewise.
44559 (BUS_ADRALN): Likewise.
44560 (BUS_ADRERR): Likewise.
44561 (BUS_OBJERR): Likewise.
44562 (BUS_MCEERR_AR): Likewise.
44563 (BUS_MCEERR_AO): Likewise.
44564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44565 (TRAP_TRACE): Likewise.
44566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44567 __USE_XOPEN2K8].
44568 (CLD_KILLED): Likewise.
44569 (CLD_DUMPED): Likewise.
44570 (CLD_TRAPPED): Likewise.
44571 (CLD_STOPPED): Likewise.
44572 (CLD_CONTINUED): Likewise.
44573 (POLL_IN): Likewise.
44574 (POLL_OUT): Likewise.
44575 (POLL_MSG): Likewise.
44576 (POLL_ERR): Likewise.
44577 (POLL_PRI): Likewise.
44578 (POLL_HUP): Likewise.
44579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44580 (ILL_ILLOPN): Likewise.
44581 (ILL_ILLADR): Likewise.
44582 (ILL_ILLTRP): Likewise.
44583 (ILL_PRVOPC): Likewise.
44584 (ILL_PRVREG): Likewise.
44585 (ILL_COPROC): Likewise.
44586 (ILL_BADSTK): Likewise.
44587 (FPE_INTDIV): Likewise.
44588 (FPE_INTOVF): Likewise.
44589 (FPE_FLTDIV): Likewise.
44590 (FPE_FLTOVF): Likewise.
44591 (FPE_FLTUND): Likewise.
44592 (FPE_FLTRES): Likewise.
44593 (FPE_FLTINV): Likewise.
44594 (FPE_FLTSUB): Likewise.
44595 (SEGV_MAPERR): Likewise.
44596 (SEGV_ACCERR): Likewise.
44597 (BUS_ADRALN): Likewise.
44598 (BUS_ADRERR): Likewise.
44599 (BUS_OBJERR): Likewise.
44600 (BUS_MCEERR_AR): Likewise.
44601 (BUS_MCEERR_AO): Likewise.
44602 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44603 (TRAP_TRACE): Likewise.
44604 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44605 __USE_XOPEN2K8].
44606 (CLD_KILLED): Likewise.
44607 (CLD_DUMPED): Likewise.
44608 (CLD_TRAPPED): Likewise.
44609 (CLD_STOPPED): Likewise.
44610 (CLD_CONTINUED): Likewise.
44611 (POLL_IN): Likewise.
44612 (POLL_OUT): Likewise.
44613 (POLL_MSG): Likewise.
44614 (POLL_ERR): Likewise.
44615 (POLL_PRI): Likewise.
44616 (POLL_HUP): Likewise.
44617 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44618 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44619
44620 [BZ #16670]
44621 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44622 before #include of <time.h>.
44623 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44624 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44625 (test-xfail-UNIX98/sched.h/conform): Likewise.
44626
44627 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44628
44629 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44630 error absence of trapping exception support.
44631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44632
44633 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44634
44635 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44636 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44637 * timezone/Makefile (testdata): Move definition above include of
44638 Rules.
44639 (test-zones): New variable.
44640 (tests-special): Add zone files.
44641 (build-testdata): Use $(evaluate-test).
44642
44643 * elf/Makefile (tests-special): Rename tests to end with .out.
44644 ($(objpfx)noload-mem): Likewise.
44645 ($(objpfx)tst-leaks1-mem): Likewise.
44646 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44647 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44648 $(objpfx)test-iconvconfig.out.
44649 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44650 set -e inside subshell and redirect output to file.
44651 * iconvdata/Makefile (generated): Rename tests to end with .out.
44652 Correct type.
44653 (tests-special): Rename tests to end with .out.
44654 ($(objpfx)mtrace-tst-loading): Likewise.
44655 * intl/Makefile (generated): Likewise.
44656 (tests-special): Likewise.
44657 ($(objpfx)mtrace-tst-gettext): Likewise.
44658 * misc/Makefile (generated): Likewise.
44659 (tests-special): Likewise.
44660 ($(objpfx)tst-error1-mem): Likewise.
44661 * nptl/Makefile (tests-special): Likewise.
44662 ($(objpfx)tst-stack3-mem): Likewise.
44663 (generated): Likewise.
44664 * posix/Makefile (generated): Likewise.
44665 (tests-special): Likewise.
44666 (xtests-special): Likewise.
44667 ($(objpfx)tst-fnmatch-mem): Likewise.
44668 ($(objpfx)bug-regex2-mem): Likewise.
44669 ($(objpfx)bug-regex14-mem): Likewise.
44670 ($(objpfx)bug-regex21-mem): Likewise.
44671 ($(objpfx)bug-regex31-mem): Likewise.
44672 ($(objpfx)tst-vfork3-mem): Likewise.
44673 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44674 ($(objpfx)tst-pcre-mem): Likewise.
44675 ($(objpfx)tst-boost-mem): Likewise.
44676 ($(objpfx)bug-ga2-mem): Likewise.
44677 ($(objpfx)bug-glob2-mem): Likewise.
44678 * resolv/Makefile (generate): Likewise.
44679 (tests-special): Likewise.
44680 (xtests-special): Likewise.
44681 (generated): Likewise.
44682 ($(objpfx)mtrace-tst-leaks): Likewise.
44683 ($(objpfx)mtrace-tst-leaks2): Likewise.
44684
44685 * scripts/merge-test-results.sh: New file.
44686 * Makefile (tests-special-notdir): New variable.
44687 (tests): Run merge-test-results.sh.
44688 (xtests): Likewise.
44689 * Rules (tests-special-notdir): New variable.
44690 (xtests-special-notdir): Likewise.
44691 (tests): Run merge-test-results.sh
44692 (xtests): Likewise.
44693
44694 * Makeconfig (test-xfail-name): New variable.
44695 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44696 compute variable name for expected failures.
44697 * conform/Makefile (conformtest-headers-data): New variable.
44698 (conformtest-standards): Likewise.
44699 (conformtest-headers-ISO): Likewise.
44700 (conformtest-headers-ISO99): Likewise.
44701 (conformtest-headers-ISO11): Likewise.
44702 (conformtest-headers-POSIX): Likewise.
44703 (conformtest-headers-XPG3): Likewise.
44704 (conformtest-headers-XPG4): Likewise.
44705 (conformtest-headers-UNIX98): Likewise.
44706 (conformtest-headers-XOPEN2K): Likewise.
44707 (conformtest-headers-POSIX2008): Likewise.
44708 (conformtest-headers-XOPEN2K8): Likewise.
44709 (conformtest-header-list-base): Likewise.
44710 (conformtest-header-list-tests): Likewise.
44711 (conformtest-header-base): Likewise.
44712 (conformtest-header-tests): Likewise.
44713 (tests-special): Add $(conformtest-header-list-tests). If
44714 [$(fast-check) && !$(cross-compiling)], add
44715 $(conformtest-header-tests) instead of
44716 $(objpfx)run-conformtest.out.
44717 (generated): Add $(conformtest-header-list-base). If
44718 [$(fast-check) && !$(cross-compiling)], add
44719 $(conformtest-header-base). Remove previous setting.
44720 ($(conformtest-header-list-tests)): New target.
44721 (test-xfail-run-conformtest): Remove variable.
44722 ($(objpfx)run-conformtest.out): Remove target.
44723 (test-xfail-ISO11/complex.h/conform): New variable.
44724 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44725 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44726 (test-xfail-XPG3/varargs.h/conform): Likewise.
44727 (test-xfail-XPG4/varargs.h/conform): Likewise.
44728 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44729 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44730 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44731 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44732 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44733 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44734 (test-xfail-XPG3/ftw.h/conform): Likewise.
44735 (test-xfail-XPG3/grp.h/conform): Likewise.
44736 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44737 (test-xfail-XPG3/limits.h/conform): Likewise.
44738 (test-xfail-XPG3/pwd.h/conform): Likewise.
44739 (test-xfail-XPG3/search.h/conform): Likewise.
44740 (test-xfail-XPG3/signal.h/conform): Likewise.
44741 (test-xfail-XPG3/stdio.h/conform): Likewise.
44742 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44743 (test-xfail-XPG3/string.h/conform): Likewise.
44744 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44745 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44746 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44747 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44748 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44749 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44750 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44751 (test-xfail-XPG3/termios.h/conform): Likewise.
44752 (test-xfail-XPG3/time.h/conform): Likewise.
44753 (test-xfail-XPG3/unistd.h/conform): Likewise.
44754 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44755 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44756 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44757 (test-xfail-XPG4/netdb.h/conform): Likewise.
44758 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44759 (test-xfail-XPG4/signal.h/conform): Likewise.
44760 (test-xfail-XPG4/stdio.h/conform): Likewise.
44761 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44762 (test-xfail-XPG4/stropts.h/conform): Likewise.
44763 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44764 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44765 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44766 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44767 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44768 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44769 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44770 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44771 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44772 (test-xfail-XPG4/termios.h/conform): Likewise.
44773 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44774 (test-xfail-XPG4/unistd.h/conform): Likewise.
44775 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44776 (test-xfail-POSIX/sched.h/conform): Likewise.
44777 (test-xfail-POSIX/signal.h/conform): Likewise.
44778 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44779 (test-xfail-POSIX/tar.h/conform): Likewise.
44780 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44781 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44782 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44783 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44784 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44785 (test-xfail-UNIX98/sched.h/conform): Likewise.
44786 (test-xfail-UNIX98/signal.h/conform): Likewise.
44787 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44788 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44789 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44790 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44791 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44792 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44793 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44794 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44795 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44796 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44797 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44798 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44799 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44800 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44801 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44802 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44803 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44804 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44805 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44806 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44807 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44808 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44809 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44810 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44811 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44812 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44813 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44814 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44815 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44816 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44817 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44818 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44819 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44820 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44821 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44822 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44823 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44824 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44825 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44826 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44827 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44828 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44829 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44830 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44831 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44832 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44833 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44834 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44835 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44836 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44837 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44838 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44839 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44840 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44841 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44842 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44843 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44844 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44845 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44846 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44847 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44848 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44849 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44850 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44851 (conformtest-cc-flags): Likewise.
44852 ($(conformtest-header-tests): New target.
44853 * conform/check-header-lists.sh: New file.
44854 * conform/run-conformtest.sh: Remove.
44855
44856 * conform/conformtest.pl: Allow ' and \ in values given for
44857 constants.
44858 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44859 inclusion.
44860 [POSIX] (sys/types.h): Likewise.
44861 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44862 inclusion.
44863 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44864 inclusion.
44865 * conform/data/signal.h-data (SIGIO): Remove expectation.
44866 [XPG3] (SIGBUS): Do not expect.
44867 [POSIX || XPG3] (SIGPOLL): Likewise.
44868 [POSIX || XPG3] (SIGPROF): Likewise.
44869 [POSIX || XPG3] (SIGSYS): Likewise.
44870 [XPG3] (SIGTRAP): Likewise.
44871 [POSIX || XPG3] (SIGURG): Likewise.
44872 [POSIX || XPG3] (SIGVTALRM): Likewise.
44873 [POSIX || XPG3] (SIGXCPU): Likewise.
44874 [POSIX || XPG3] (SIGXFSZ): Likewise.
44875 [POSIX] (SA_SIGINFO): Expect.
44876 [XPG3] (siginfo_t): Do not expect type or contents.
44877 [POSIX] (si_pid): Do not expect element.
44878 [POSIX] (si_uid): Likewise.
44879 [POSIX] (si_addr): Likewise.
44880 [POSIX] (si_status): Likewise.
44881 [POSIX] (si_band): Likewise.
44882 [XPG4] (si_value): Likewise.
44883 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44884 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44885 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44886 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44887 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44888 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44889 [POSIX || XPG3] (ILL_COPROC): Likewise.
44890 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44891 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44892 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44893 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44894 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44895 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44896 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44897 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44898 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44899 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44900 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44901 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44902 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44903 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44904 [POSIX || XPG3] (CLD_EXITED): Likewise.
44905 [POSIX || XPG3] (CLD_KILLED): Likewise.
44906 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44907 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44908 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44909 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44910 [POSIX || XPG3] (POLL_IN): Likewise.
44911 [POSIX || XPG3] (POLL_OUT): Likewise.
44912 [POSIX || XPG3] (POLL_MSG): Likewise.
44913 [POSIX || XPG3] (POLL_ERR): Likewise.
44914 [POSIX || XPG3] (POLL_PRI): Likewise.
44915 [POSIX || XPG3] (POLL_HUP): Likewise.
44916 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44917 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44918 (SIG*): Do not allow.
44919 [XPG3] (si_*): Likewise.
44920 [XPG3] (SI_*): Likewise.
44921 [XPG3 || XPG4] (sigev_*): Likewise.
44922 [XPG3 || XPG4] (SIGEV_*): Likewise.
44923 [XPG3 || XPG4] (sival_*): Likewise.
44924 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44925 [POSIX || XPG3] (BUS_*): Likewise.
44926 [POSIX || XPG3] (CLD_*): Likewise.
44927 [POSIX || XPG3] (FPE_*): Likewise.
44928 [POSIX || XPG3] (ILL_*): Likewise.
44929 [POSIX || XPG3] (POLL_*): Likewise.
44930 [POSIX || XPG3] (SEGV_*): Likewise.
44931 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44932 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44933 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44934 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44935 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44936 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44937 Specify type and value.
44938 (TVERSLEN): Likewise.
44939 (REGTYPE): Likewise.
44940 (AREGTYPE): Likewise.
44941 (LNKTYPE): Likewise.
44942 (SYMTYPE): Likewise.
44943 (CHRTYPE): Likewise.
44944 (BLKTYPE): Likewise.
44945 (DIRTYPE): Likewise.
44946 (FIFOTYPE): Likewise.
44947 (CONTTYPE): Likewise.
44948 (TSUID): Likewise.
44949 (TSGID): Likewise.
44950 (TSVTX): Likewise.
44951 (TUREAD): Likewise.
44952 (TUWRITE): Likewise.
44953 (TUEXEC): Likewise.
44954 (TGREAD): Likewise.
44955 (TGWRITE): Likewise.
44956 (TGEXEC): Likewise.
44957 (TOREAD): Likewise.
44958 (TOWRITE): Likewise.
44959 (TOEXEC): Likewise.
44960 [POSIX] (TSVTX): Expect constant.
44961
44962 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44963
44964 * Makefile (tests): Change dependencies to ....
44965 (tests-special): ... additions to this variable.
44966 (tests): Depend on $(tests-special).
44967 * Makerules (check-abi-list): New variable.
44968 (check-abi): Depend on $(check-abi-list).
44969 [$(subdir) = elf] (tests-special): Add
44970 $(objpfx)check-abi-libc.out.
44971 [$(build-shared) = yes && subdir] (tests-special): Add
44972 $(check-abi-list).
44973 [$(build-shared) = yes && subdir] (tests): Do not depend on
44974 check-abi.
44975 * Rules (tests): Depend on $(tests-special).
44976 (xtests): Depend on $(xtests-special).
44977 * catgets/Makefile (tests): Change dependencies to ....
44978 (tests-special): ... additions to this variable.
44979 * conform/Makefile (tests): Change dependencies to ....
44980 (tests-special): ... additions to this variable.
44981 * elf/Makefile (tests): Change dependencies to ....
44982 (tests-special): ... additions to this variable.
44983 * grp/Makefile (tests): Change dependencies to ....
44984 (tests-special): ... additions to this variable.
44985 * iconv/Makefile (xtests): Change dependencies to ....
44986 (xtests-special): ... additions to this variable.
44987 * iconvdata/Makefile (tests): Change dependencies to ....
44988 (tests-special): ... additions to this variable.
44989 * intl/Makefile (tests): Change dependencies to ....
44990 (tests-special): ... additions to this variable. Also add
44991 $(objpfx)tst-gettext.out.
44992 * io/Makefile (tests): Change dependencies to ....
44993 (tests-special): ... additions to this variable.
44994 * libio/Makefile (tests): Change dependencies to ....
44995 (tests-special): ... additions to this variable.
44996 * malloc/Makefile (tests): Change dependencies to ....
44997 (tests-special): ... additions to this variable.
44998 * misc/Makefile (tests): Change dependencies to ....
44999 (tests-special): ... additions to this variable.
45000 * nptl/Makefile (tests): Change dependencies to ....
45001 (tests-special): ... additions to this variable.
45002 * nptl_db/Makefile (tests): Change dependencies to ....
45003 (tests-special): ... additions to this variable.
45004 * posix/Makefile (tests): Change dependencies to ....
45005 (tests-special): ... additions to this variable.
45006 (xtests): Change dependencies to ....
45007 (xtests-special): ... additions to this variable.
45008 * resolv/Makefile (tests): Change dependencies to ....
45009 (tests-special): ... additions to this variable.
45010 (xtests): Change dependencies to ....
45011 (xtests-special): ... additions to this variable.
45012 * stdio-common/Makefile (tests): Change dependencies to ....
45013 (tests-special): ... additions to this variable.
45014 (do-tst-unbputc): Remove target.
45015 (do-tst-printf): Likewise.
45016 * stdlib/Makefile (tests): Change dependencies to ....
45017 (tests-special): ... additions to this variable.
45018 * string/Makefile (tests): Change dependencies to ....
45019 (tests-special): ... additions to this variable.
45020 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45021 (tests-special): ... additions to this variable.
45022
45023 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45024 whole file.
45025 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45026 whole file.
45027 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45028 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45029
45030 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45031 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45032 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45033 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45034 * conform/data/libgen.h-data [XPG3]: Likewise.
45035 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45036 * conform/data/ndbm.h-data [XPG3]: Likewise.
45037 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45038 * conform/data/netdb.h-data [XPG3]: Likewise.
45039 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45040 * conform/data/poll.h-data [XPG3]: Likewise.
45041 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45042 * conform/data/strings.h-data [XPG3]: Likewise.
45043 * conform/data/stropts.h-data [XPG3]: Likewise.
45044 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45045 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45046 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45047 Likewise.
45048 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45049 * conform/data/sys/time.h-data [XPG3]: Likewise.
45050 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45051 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45052 * conform/data/sys/un.h-data [XPG3]: Likewise.
45053 * conform/data/syslog.h-data [XPG3]: Likewise.
45054 * conform/data/ucontext.h-data [XPG3]: Likewise.
45055 * conform/data/utmpx.h-data [XPG3]: Likewise.
45056 * conform/data/varargs.h-data [UNIX98]: Enable file.
45057
45058 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45059
45060 * math/libm-test.inc (struct test_f_f_data): Move expected results
45061 into structure for each rounding mode.
45062 (struct test_ff_f_data): Likewise.
45063 (struct test_ff_f_data_nexttoward): Likewise.
45064 (struct test_fi_f_data): Likewise.
45065 (struct test_fl_f_data): Likewise.
45066 (struct test_if_f_data): Likewise.
45067 (struct test_fff_f_data): Likewise.
45068 (struct test_c_f_data): Likewise.
45069 (struct test_f_f1_data): Likewise.
45070 (struct test_fF_f1_data): Likewise.
45071 (struct test_ffI_f1_data): Likewise.
45072 (struct test_c_c_data): Likewise.
45073 (struct test_cc_c_data): Likewise.
45074 (struct test_f_i_data): Likewise.
45075 (struct test_ff_i_data): Likewise.
45076 (struct test_f_l_data): Likewise.
45077 (struct test_f_L_data): Likewise.
45078 (struct test_fFF_11_data): Likewise.
45079 (RM_): New macro.
45080 (RM_FE_DOWNWARD): Likewise.
45081 (RM_FE_TONEAREST): Likewise.
45082 (RM_FE_TOWARDZERO): Likewise.
45083 (RM_FE_UPWARD): Likewise.
45084 (RUN_TEST_LOOP_f_f): Update references to expected results.
45085 (RUN_TEST_LOOP_2_f): Likewise.
45086 (RUN_TEST_LOOP_fff_f): Likewise.
45087 (RUN_TEST_LOOP_c_f): Likewise.
45088 (RUN_TEST_LOOP_f_f1): Likewise.
45089 (RUN_TEST_LOOP_fF_f1): Likewise.
45090 (RUN_TEST_LOOP_fI_f1): Likewise.
45091 (RUN_TEST_LOOP_ffI_f1): Likewise.
45092 (RUN_TEST_LOOP_c_c): Likewise.
45093 (RUN_TEST_LOOP_cc_c): Likewise.
45094 (RUN_TEST_LOOP_f_i): Likewise.
45095 (RUN_TEST_LOOP_f_i_tg): Likewise.
45096 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45097 (RUN_TEST_LOOP_f_b): Likewise.
45098 (RUN_TEST_LOOP_f_b_tg): Likewise.
45099 (RUN_TEST_LOOP_f_l): Likewise.
45100 (RUN_TEST_LOOP_f_L): Likewise.
45101 (RUN_TEST_LOOP_fFF_11): Likewise.
45102 * math/gen-libm-test.pl (parse_args): Output four copies of
45103 expected results for each test.
45104
45105 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45106 (__ASSUME_UTIMES): Remove.
45107 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45108 (__ASSUME_UTIMES): Likewise.
45109
45110 * math/gen-auto-libm-tests.c: Update comment on output format.
45111 (output_for_one_input_case): Generate before-rounding and
45112 after-rounding information as conditions on output flags not
45113 floating-point format.
45114 * math/auto-libm-test-out: Regenerated.
45115 * math/gen-libm-test.pl (cond_value): New function.
45116 (or_cond_value): Use cond_value.
45117 (generate_testfile): Handle conditional exceptions.
45118
45119 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45120
45121 * math/libm-test.inc (max_valid_error): New variable.
45122 (init_max_error): Take new argument specifying whether function
45123 results are exactly determined. Set max_valid_error and bound
45124 other variables for errors based on this argument.
45125 (set_max_error): Do not record results above max_valid_error.
45126 (check_float_internal): Only accept errors of up to 0.5ulps if
45127 also at most max_valid_error.
45128 (START): Take new argument EXACT and pass it to init_max_error.
45129 (acos_test): Update call to START.
45130 (acos_test_tonearest): Likewise.
45131 (acos_test_towardzero): Likewise.
45132 (acos_test_downward): Likewise.
45133 (acos_test_upward): Likewise.
45134 (acosh_test): Likewise.
45135 (asin_test): Likewise.
45136 (asin_test_tonearest): Likewise.
45137 (asin_test_towardzero): Likewise.
45138 (asin_test_downward): Likewise.
45139 (asin_test_upward): Likewise.
45140 (asinh_test): Likewise.
45141 (atan_test): Likewise.
45142 (atanh_test): Likewise.
45143 (atan2_test): Likewise.
45144 (cabs_test): Likewise.
45145 (cacos_test): Likewise.
45146 (cacosh_test): Likewise.
45147 (carg_test): Likewise.
45148 (casin_test): Likewise.
45149 (casinh_test): Likewise.
45150 (catan_test): Likewise.
45151 (catanh_test): Likewise.
45152 (cbrt_test): Likewise.
45153 (ccos_test): Likewise.
45154 (ccosh_test): Likewise.
45155 (ceil_test): Likewise.
45156 (cexp_test): Likewise.
45157 (cimag_test): Likewise.
45158 (clog_test): Likewise.
45159 (clog10_test): Likewise.
45160 (conj_test): Likewise.
45161 (copysign_test): Likewise.
45162 (cos_test): Likewise.
45163 (cos_test_tonearest): Likewise.
45164 (cos_test_towardzero): Likewise.
45165 (cos_test_downward): Likewise.
45166 (cos_test_upward): Likewise.
45167 (cosh_test): Likewise.
45168 (cosh_test_tonearest): Likewise.
45169 (cosh_test_towardzero): Likewise.
45170 (cosh_test_downward): Likewise.
45171 (cosh_test_upward): Likewise.
45172 (cpow_test): Likewise.
45173 (cproj_test): Likewise.
45174 (creal_test): Likewise.
45175 (csin_test): Likewise.
45176 (csinh_test): Likewise.
45177 (csqrt_test): Likewise.
45178 (ctan_test): Likewise.
45179 (ctan_test_tonearest): Likewise.
45180 (ctan_test_towardzero): Likewise.
45181 (ctan_test_downward): Likewise.
45182 (ctan_test_upward): Likewise.
45183 (ctanh_test): Likewise.
45184 (ctanh_test_tonearest): Likewise.
45185 (ctanh_test_towardzero): Likewise.
45186 (ctanh_test_downward): Likewise.
45187 (ctanh_test_upward): Likewise.
45188 (erf_test): Likewise.
45189 (erfc_test): Likewise.
45190 (exp_test): Likewise.
45191 (exp_test_tonearest): Likewise.
45192 (exp_test_towardzero): Likewise.
45193 (exp_test_downward): Likewise.
45194 (exp_test_upward): Likewise.
45195 (exp10_test): Likewise.
45196 (exp10_test_tonearest): Likewise.
45197 (exp10_test_towardzero): Likewise.
45198 (exp10_test_downward): Likewise.
45199 (exp10_test_upward): Likewise.
45200 (pow10_test): Likewise.
45201 (exp2_test): Likewise.
45202 (expm1_test): Likewise.
45203 (expm1_test_tonearest): Likewise.
45204 (expm1_test_towardzero): Likewise.
45205 (expm1_test_downward): Likewise.
45206 (expm1_test_upward): Likewise.
45207 (fabs_test): Likewise.
45208 (fdim_test): Likewise.
45209 (floor_test): Likewise.
45210 (fma_test): Likewise.
45211 (fma_test_towardzero): Likewise.
45212 (fma_test_downward): Likewise.
45213 (fma_test_upward): Likewise.
45214 (fmax_test): Likewise.
45215 (fmin_test): Likewise.
45216 (fmod_test): Likewise.
45217 (fpclassify_test): Likewise.
45218 (frexp_test): Likewise.
45219 (hypot_test): Likewise.
45220 (ilogb_test): Likewise.
45221 (isfinite_test): Likewise.
45222 (finite_test): Likewise.
45223 (isgreater_test): Likewise.
45224 (isgreaterequal_test): Likewise.
45225 (isinf_test): Likewise.
45226 (isless_test): Likewise.
45227 (islessequal_test): Likewise.
45228 (islessgreater_test): Likewise.
45229 (isnan_test): Likewise.
45230 (isnormal_test): Likewise.
45231 (issignaling_test): Likewise.
45232 (isunordered_test): Likewise.
45233 (j0_test): Likewise.
45234 (j1_test): Likewise.
45235 (jn_test): Likewise.
45236 (ldexp_test): Likewise.
45237 (lgamma_test): Likewise.
45238 (gamma_test): Likewise.
45239 (lrint_test): Likewise.
45240 (lrint_test_tonearest): Likewise.
45241 (lrint_test_towardzero): Likewise.
45242 (lrint_test_downward): Likewise.
45243 (lrint_test_upward): Likewise.
45244 (llrint_test): Likewise.
45245 (llrint_test_tonearest): Likewise.
45246 (llrint_test_towardzero): Likewise.
45247 (llrint_test_downward): Likewise.
45248 (llrint_test_upward): Likewise.
45249 (log_test): Likewise.
45250 (log10_test): Likewise.
45251 (log1p_test): Likewise.
45252 (log2_test): Likewise.
45253 (logb_test): Likewise.
45254 (logb_test_downward): Likewise.
45255 (lround_test): Likewise.
45256 (llround_test): Likewise.
45257 (modf_test): Likewise.
45258 (nearbyint_test): Likewise.
45259 (nextafter_test): Likewise.
45260 (nexttoward_test): Likewise.
45261 (pow_test): Likewise.
45262 (pow_test_tonearest): Likewise.
45263 (pow_test_towardzero): Likewise.
45264 (pow_test_downward): Likewise.
45265 (pow_test_upward): Likewise.
45266 (remainder_test): Likewise.
45267 (drem_test): Likewise.
45268 (remainder_test_tonearest): Likewise.
45269 (drem_test_tonearest): Likewise.
45270 (remainder_test_towardzero): Likewise.
45271 (drem_test_towardzero): Likewise.
45272 (remainder_test_downward): Likewise.
45273 (drem_test_downward): Likewise.
45274 (remainder_test_upward): Likewise.
45275 (drem_test_upward): Likewise.
45276 (remquo_test): Likewise.
45277 (rint_test): Likewise.
45278 (rint_test_tonearest): Likewise.
45279 (rint_test_towardzero): Likewise.
45280 (rint_test_downward): Likewise.
45281 (rint_test_upward): Likewise.
45282 (round_test): Likewise.
45283 (scalb_test): Likewise.
45284 (scalbn_test): Likewise.
45285 (scalbln_test): Likewise.
45286 (signbit_test): Likewise.
45287 (sin_test): Likewise.
45288 (sin_test_tonearest): Likewise.
45289 (sin_test_towardzero): Likewise.
45290 (sin_test_downward): Likewise.
45291 (sin_test_upward): Likewise.
45292 (sincos_test): Likewise.
45293 (sinh_test): Likewise.
45294 (sinh_test_tonearest): Likewise.
45295 (sinh_test_towardzero): Likewise.
45296 (sinh_test_downward): Likewise.
45297 (sinh_test_upward): Likewise.
45298 (sqrt_test): Likewise.
45299 (sqrt_test_tonearest): Likewise.
45300 (sqrt_test_towardzero): Likewise.
45301 (sqrt_test_downward): Likewise.
45302 (sqrt_test_upward): Likewise.
45303 (tan_test): Likewise.
45304 (tan_test_tonearest): Likewise.
45305 (tan_test_towardzero): Likewise.
45306 (tan_test_downward): Likewise.
45307 (tan_test_upward): Likewise.
45308 (tanh_test): Likewise.
45309 (tgamma_test): Likewise.
45310 (trunc_test): Likewise.
45311 (y0_test): Likewise.
45312 (y1_test): Likewise.
45313 (yn_test): Likewise.
45314 (significand_test): Likewise.
45315
45316 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45317 individual tests in comment.
45318 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45319 (prev_max_error): New variable.
45320 (prev_real_max_error): Likewise.
45321 (prev_imag_max_error): Likewise.
45322 (compare_ulp_data): Don't refer to test names in comment.
45323 (find_test_ulps): Remove function.
45324 (find_function_ulps): Likewise.
45325 (find_complex_function_ulps): Likewise.
45326 (init_max_error): Take function name as argument. Look up ulps
45327 for that function.
45328 (print_ulps): Remove function.
45329 (print_max_error): Use prev_max_error instead of calling
45330 find_function_ulps.
45331 (print_complex_max_error): Use prev_real_max_error and
45332 prev_imag_max_error instead of calling find_complex_function_ulps.
45333 (check_float_internal): Take max_ulp parameter instead of calling
45334 find_test_ulps. Don't call print_ulps.
45335 (check_float): Update call to check_float_internal.
45336 (check_complex): Update calls to check_float_internal.
45337 (START): Pass argument to init_max_error.
45338 * math/gen-libm-test.pl (%results): Don't include "kind"
45339 information.
45340 (parse_ulps): Don't handle ulps of individual tests.
45341 (print_ulps_file): Likewise.
45342 (output_ulps): Likewise.
45343 * math/README.libm-test: Update.
45344 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45345 individual tests.
45346 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45347 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45348 * sysdeps/arm/libm-test-ulps: Likewise.
45349 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45350 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45351 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45352 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45353 * sysdeps/microblaze/libm-test-ulps: Likewise.
45354 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45355 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45357 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45359 * sysdeps/sh/libm-test-ulps: Likewise.
45360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45361 * sysdeps/tile/libm-test-ulps: Likewise.
45362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45363
45364 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45365
45366 * math/libm-test.inc (print_complex_max_error): Check separately
45367 whether real and imaginary errors are within allowed range and
45368 pass 0 to print_complex_function_ulps instead of value within
45369 allowed range.
45370
45371 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45372
45373 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45374 formatting.
45375 (get_handles_fopen): Likewise.
45376 (do_write_test): Likewise.
45377
45378 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45379
45380 * libio/fileops.c (do_ftell): Use cached offset when
45381 available.
45382 * libio/iofwide.c (do_ftell_wide): Likewise.
45383 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45384 _IO_file_attach.
45385 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45386
45387 [BZ #16532]
45388 * libio/libioP.h (get_file_offset): New function.
45389 * libio/fileops.c (get_file_offset): Likewise.
45390 (do_ftell): Likewise.
45391 (_IO_new_file_seekoff): Split out ftell logic.
45392 * libio/wfileops.c (do_ftell_wide): Likewise.
45393 (_IO_wfile_seekoff): Split out ftell logic.
45394 * libio/tst-ftell-active-handler.c: New test case.
45395 * libio/Makefile (tests): Add it.
45396
45397 2014-03-03 Roland McGrath <roland@hack.frob.com>
45398
45399 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45400 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45401
45402 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45403
45404 [BZ #16639]
45405 * nscd/connections.c (nscd_init): Call do_exit.
45406 (start_threads): Call do_exit and notify_parent.
45407 (begin_drop_privileges): Call do_exit.
45408 (finish_drop_privileges): Likewise.
45409 * nscd/selinux.c (preserve_capabilities): Likewise.
45410 (install_real_capabilities): Likewise.
45411 (nscd_selinux_enabled): Likewise.
45412 (avc_create_thread): Likewise.
45413 (avc_alloc_lock): Likewise.
45414 (nscd_avc_init): Likewise.
45415 * nscd/nscd.c (parent_fd): New static variable.
45416 (main): Create a pipe between parent and child processes.
45417 Skip closing parent_fd.
45418 (monitor_child): New function.
45419 (do_exit): Likewise.
45420 (notify_parent): Likewise.
45421 * nscd/nscd.h (notify_parent): Likewise.
45422 (do_exit): Likewise.
45423
45424 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45425
45426 * malloc/malloc.c (__libc_calloc): Revert last change.
45427
45428 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45429
45430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45431
45432 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45433
45434 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45436 implementation.
45437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45438 (__libc_ifunc_impl_list): Likewise.
45439 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45440 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45441 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45442 * string/strrchr.c: Define STRRCHR.
45443
45444 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45445
45446 * benchtest/bench-strtok.c (simple_strtok): Delete.
45447 (strtok_string): Use as benchmark.
45448 * string/strtok (STRTOK): New macro.
45449
45450 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45451
45452 * manual/threads.texi: Add header and standard comments to all
45453 functions.
45454
45455 * elf/dl-lookup.c (check_match): New function.
45456 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45457 (do_lookup_x): Remove nested function check_match. Use non-nested
45458 function check_match.
45459
45460 2014-02-28 Roland McGrath <roland@hack.frob.com>
45461
45462 * csu/Makefile (generated, before-compile): Use += rather than =.
45463 * catgets/Makefile (generated, generated-dirs): Likewise.
45464 * debug/Makefile (generated): Likewise.
45465 * dlfcn/Makefile (generated): Likewise.
45466 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45467 * iconvdata/Makefile (before-compile, generated): Likewise.
45468 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45469 * libio/Makefile (generated): Likewise.
45470 * malloc/Makefile (generated): Likewise.
45471 * manual/Makefile (generated, generated-dirs): Likewise.
45472 * misc/Makefile (generated): Likewise.
45473 * posix/Makefile (generated): Likewise.
45474 * resolv/Makefile (generated): Likewise.
45475 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45476 * timezone/Makefile (generated, generated-dirs): Likewise.
45477
45478 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45479
45480 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45481
45482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45483 power8 implementation.
45484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45485 file: POWER8 llround ifunc implementation.
45486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45487 (__lllround): Add POWER8 implementation.
45488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45489 POWER8 llround implementation.
45490
45491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45492 power8 implementation.
45493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45494 file: POWER8 llrint ifunc implementation.
45495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45496 Add POWER8 implementation.
45497 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45498 POWER8 llrint implementation.
45499
45500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45501 power8 implementation.
45502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45503 file: POWER8 finite ifunc implementation.
45504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45505 Add POWER8 implementation.
45506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45507 Likewise.
45508 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45509 POWER8 finite implementation.
45510 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45511
45512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45513 power8 implementation.
45514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45515 file: POWER8 isinf ifunc implementation.
45516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45517 POWER8 implementation.
45518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45519 Likewise.
45520 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45521 isinf implementation.
45522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45523
45524 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45525 (INIT_ARCH): Add hwcap2 initialization.
45526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45527 power8 implementation.
45528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45529 file: POWER8 isnan ifunc implementation.
45530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45531 POWER8 implementation.
45532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45533 Likewise.
45534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45535 isnan implementation.
45536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45537
45538 2014-02-27 Joey Ye <joey.ye@arm.com>
45539
45540 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45541 (_FP_NANFRAC_Q): Set to zero.
45542
45543 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45544
45545 [BZ #16623]
45546 * math/auto-libm-test-in: New test inputs.
45547 * math/auto-libm-test-out: Regenerate.
45548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45549 and DA.
45550 (__cos): Likewise.
45551 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45552
45553 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45554
45555 * scripts/evaluate-test.sh: Take new argument indicating whether
45556 failure is expected.
45557 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45558 indicating whether failure is expected.
45559 * conform/Makefile (test-xfail-run-conformtest): New variable.
45560 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45561 level.
45562 * posix/Makefile (test-xfail-annexc): New variable.
45563 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45564
45565 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45566
45567 * argp/Makefile: Include Makeconfig immediately after defining
45568 subdir.
45569 * assert/Makefile: Likewise.
45570 * benchtests/Makefile: Likewise.
45571 * catgets/Makefile: Likewise.
45572 * conform/Makefile: Likewise.
45573 * crypt/Makefile: Likewise.
45574 * csu/Makefile: Likewise.
45575 (all): Remove target.
45576 * ctype/Makefile: Include Makeconfig immediately after defining
45577 subdir.
45578 * debug/Makefile: Likewise.
45579 * dirent/Makefile: Likewise.
45580 * dlfcn/Makefile: Likewise.
45581 * gmon/Makefile: Likewise.
45582 * gnulib/Makefile: Likewise.
45583 * grp/Makefile: Likewise.
45584 * gshadow/Makefile: Likewise.
45585 * hesiod/Makefile: Likewise.
45586 * hurd/Makefile: Likewise.
45587 (all): Remove target.
45588 * iconvdata/Makefile: Include Makeconfig immediately after
45589 defining subdir.
45590 * inet/Makefile: Likewise.
45591 * intl/Makefile: Likewise.
45592 * io/Makefile: Likewise.
45593 * libio/Makefile: Likewise.
45594 (all): Remove target.
45595 * locale/Makefile: Include Makeconfig immediately after defining
45596 subdir.
45597 * login/Makefile: Likewise.
45598 * mach/Makefile: Likewise.
45599 (all): Remove target.
45600 * malloc/Makefile: Include Makeconfig immediately after defining
45601 subdir.
45602 (all): Remove target.
45603 * manual/Makefile: Include Makeconfig immediately after defining
45604 subdir.
45605 * math/Makefile: Likewise.
45606 * misc/Makefile: Likewise.
45607 * nis/Makefile: Likewise.
45608 * nss/Makefile: Likewise.
45609 * po/Makefile: Likewise.
45610 (all): Remove target.
45611 * posix/Makefile: Include Makeconfig immediately after defining
45612 subdir.
45613 * pwd/Makefile: Likewise.
45614 * resolv/Makefile: Likewise.
45615 * resource/Makefile: Likewise.
45616 * rt/Makefile: Likewise.
45617 * setjmp/Makefile: Likewise.
45618 * shadow/Makefile: Likewise.
45619 * signal/Makefile: Likewise.
45620 * socket/Makefile: Likewise.
45621 * soft-fp/Makefile: Likewise.
45622 * stdio-common/Makefile: Likewise.
45623 * stdlib/Makefile: Likewise.
45624 * streams/Makefile: Likewise.
45625 * string/Makefile: Likewise.
45626 * sunrpc/Makefile: Likewise.
45627 (all): Remove target.
45628 * sysvipc/Makefile: Include Makeconfig immediately after defining
45629 subdir.
45630 * termios/Makefile: Likewise.
45631 * time/Makefile: Likewise.
45632 * timezone/Makefile: Likewise.
45633 (all): Remove target.
45634 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45635 subdir.
45636 * wctype/Makefile: Likewise.
45637
45638 2014-02-26 Steve Ellcey <sellcey@mips.com>
45639
45640 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45641 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45642 (libc_feholdexcept_setround_mips): Ditto.
45643 (libc_feholdsetround): New.
45644 (libc_feholdsetroundf): New.
45645 (libc_feholdsetroundl): New.
45646 (libc_feupdateenv_test_mips): New.
45647 (libc_feupdateenv_test): New.
45648 (libc_feupdateenv_testf): New.
45649 (libc_feupdateenv_testl): New.
45650 (libc_feresetround): New.
45651 (libc_feresetroundf): New.
45652 (libc_feresetroundl): New.
45653 (libc_fetestexcept_mips): New.
45654 (libc_fetestexcept): New.
45655 (libc_fetestexceptf): New.
45656 (libc_fetestexceptl): New.
45657 (HAVE_RM_CTX): New.
45658 (libc_feholdexcept_setround_mips_ctx): New.
45659 (libc_feholdexcept_setround_ctx): New.
45660 (libc_feholdexcept_setroundf_ctx): New.
45661 (libc_feholdexcept_setroundl_ctx): New.
45662 (libc_fesetenv_mips_ctx): New.
45663 (libc_fesetenv_ctx): New.
45664 (libc_fesetenv_ctxf): New.
45665 (libc_fesetenv_ctxl): New.
45666 (libc_feupdateenv_mips_ctx): New.
45667 (libc_feupdateenv_ctx): New.
45668 (libc_feupdateenvf_ctx): New.
45669 (libc_feupdateenvl_ctx): New.
45670 (libc_feholdsetround_mips_ctx): New.
45671 (libc_feholdsetround_ctx): New.
45672 (libc_feholdsetroundf_ctx): New.
45673 (libc_feholdsetroundl_ctx): New.
45674 (libc_feresetround_mips_ctx): New.
45675 (libc_feresetround_ctx): New.
45676 (libc_feresetroundf_ctx): New.
45677 (libc_feresetroundl_ctx): New.
45678
45679 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45680
45681 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45682
45683 * manual/ipc.texi: New file.
45684 * manual/Makefile (chapters): Add ipc.
45685 * manual/job.texi: Add "Inter-Process Communication" to next.
45686 * manual/process.texi: Add "Inter-Process Communication" to prev.
45687
45688 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45689
45690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45691
45692 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45693
45694 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45695
45696 * manual/arith.texi: Fix spaces after sentences.
45697 * manual/charset.texi: Likewise.
45698 * manual/errno.texi: Likewise.
45699 * manual/install.texi: Likewise.
45700 * manual/llio.texi: Likewise.
45701 * manual/locale.texi: Likewise.
45702 * manual/maint.texi: Likewise.
45703 * manual/math.texi: Likewise.
45704 * manual/memory.texi: Likewise.
45705 * manual/message.texi: Likewise.
45706 * manual/probes.texi: Likewise.
45707 * manual/resource.texi: Likewise.
45708 * manual/signal.texi: Likewise.
45709 * manual/socket.texi: Likewise.
45710 * manual/stdio.texi: Likewise.
45711 * manual/string.texi: Likewise.
45712 * manual/time.texi: Likewise.
45713 * manual/users.texi: Likewise.
45714
45715 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45716
45717 [BZ #16632]
45718 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45719 _DEFAULT_SOURCE is defined.
45720
45721 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45722 Carlos O'Donell <carlos@redhat.com>
45723
45724 [BZ #16613]
45725 * elf/dl-tls.c (_dl_count_modids): New function.
45726 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45727 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45728 audit library and increment generation counter.
45729 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45730 * elf/tst-audit9.c: New file.
45731 * elf/tst-auditmod9a.c: New file.
45732 * elf/tst-auditmod9b.c: New file.
45733 * elf/Makefile: Add rules to build and run tst-audit9.
45734
45735 2014-02-25 Florian Weimer <fweimer@redhat.com>
45736
45737 [BZ #15347]
45738 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45739
45740 2014-02-25 Will Newton <will.newton@linaro.org>
45741
45742 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45743 (__longjmp): Restore sp and lr before restoring callee
45744 saved registers. Add longjmp and longjmp_target
45745 SystemTap probe point.
45746 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45747 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45748 Define to zero to match jmpbuf layout.
45749 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45750 (__sigsetjmp): Save sp and lr before saving callee
45751 saved registers. Add setjmp SystemTap probe point.
45752
45753 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45754
45755 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45756
45757 2014-02-24 Andreas Schwab <schwab@suse.de>
45758
45759 [BZ #15804]
45760 * elf/pldd.c (wait_for_ptrace_stop): New function.
45761 (main): Call it after attaching.
45762
45763 2014-02-22 Roland McGrath <roland@hack.frob.com>
45764
45765 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45766 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45767 Versions files is now verboten.
45768 * hurd/Versions (libc: GLIBC_2.0):
45769 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45770 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45771 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45772 * mach/Versions: Likewise.
45773
45774 * csu/Versions: Remove unused %include.
45775 * resolv/Versions: Likewise.
45776
45777 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45778
45779 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45780 ($(objpfx)check-local-headers.out): Likewise.
45781 ($(objpfx)begin-end-check.out): Likewise.
45782 * Makerules (check-abi-%.out): Likewise.
45783 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45784 ($(objpfx)test2.cat): Likewise.
45785 ($(objpfx)de/libc.cat): Likewise.
45786 ($(objpfx)test-gencat.out): Likewise.
45787 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45788 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45789 ($(objpfx)noload-mem): Likewise.
45790 ($(objpfx)tst-pathopt.out): Likewise.
45791 ($(objpfx)tst-rtld-load-self.out): Likewise.
45792 ($(objpfx)tst-array1-cmp.out): Likewise.
45793 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45794 ($(objpfx)tst-array2-cmp.out): Likewise.
45795 ($(objpfx)tst-array3-cmp.out): Likewise.
45796 ($(objpfx)tst-array4-cmp.out): Likewise.
45797 ($(objpfx)tst-array5-cmp.out): Likewise.
45798 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45799 ($(objpfx)check-textrel.out): Likewise.
45800 ($(objpfx)check-execstack.out): Likewise.
45801 ($(objpfx)check-localplt.out): Likewise.
45802 ($(objpfx)order2-cmp.out): Likewise.
45803 ($(objpfx)tst-leaks1-mem): Likewise.
45804 ($(objpfx)tst-leaks1-static-mem): Likewise.
45805 ($(objpfx)tst-initorder-cmp.out): Likewise.
45806 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45807 ($(objpfx)tst-unused-dep.out): Likewise.
45808 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45809 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45810 * iconv/Makefile (test-iconvconfig): Likewise.
45811 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45812 ($(objpfx)iconv-test.out): Likewise.
45813 ($(objpfx)tst-tables.out): Likewise.
45814 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45815 ($(objpfx)tst-gettext.out): Likewise.
45816 ($(objpfx)tst-translit.out): Likewise.
45817 ($(objpfx)tst-gettext2.out): Likewise.
45818 ($(objpfx)tst-gettext4.out): Likewise.
45819 ($(objpfx)tst-gettext6.out): Likewise.
45820 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45821 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45822 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45823 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45824 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45825 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45826 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45827 ($(objpfx)wordexp-tst.out): Likewise.
45828 ($(objpfx)annexc.out): Likewise.
45829 ($(objpfx)tst-fnmatch-mem): Likewise.
45830 ($(objpfx)bug-regex2-mem): Likewise.
45831 ($(objpfx)bug-regex14-mem): Likewise.
45832 ($(objpfx)bug-regex21-mem): Likewise.
45833 ($(objpfx)bug-regex31-mem): Likewise.
45834 ($(objpfx)tst-vfork3-mem): Likewise.
45835 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45836 ($(objpfx)tst-pcre-mem): Likewise.
45837 ($(objpfx)tst-boost-mem): Likewise.
45838 ($(objpfx)tst-getconf.out): Likewise.
45839 ($(objpfx)bug-ga2-mem): Likewise.
45840 ($(objpfx)bug-glob2-mem): Likewise.
45841 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45842 ($(objpfx)mtrace-tst-leaks2): Likewise.
45843 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45844 ($(objpfx)tst-printf.out): Likewise.
45845 ($(objpfx)tst-setvbuf1.out): Likewise.
45846 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45847 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45848 ($(objpfx)tst-fmtmsg.out): Likewise.
45849 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45850 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45851
45852 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45853 * bits/sigaction.h [__USE_MISC]: Likewise.
45854 * bits/waitstatus.h: Update #endif comments.
45855 * ctype/ctype.h: Likewise.
45856 * dirent/dirent.h: Likewise.
45857 [__USE_MISC]: Remove redundant conditionals.
45858 * grp/grp.h: Update #endif comments.
45859 [__USE_GNU]: Remove redundant conditionals.
45860 [__USE_MISC]: Likewise.
45861 * inet/netinet/in.h [__USE_GNU]: Likewise.
45862 * io/sys/stat.h [__USE_MISC]: Likewise.
45863 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45864 * libio/bits/stdio.h: Update #endif comments.
45865 [__USE_MISC]: Remove redundant conditionals.
45866 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45867 * libio/stdio.h: Update #endif comments.
45868 [__USE_MISC]: Remove redundant conditionals.
45869 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45870 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45871 * math/math.h: Update #else and #endif comments.
45872 [__USE_MISC]: Remove redundant conditionals.
45873 * misc/sys/uio.h: Update #endif comments.
45874 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45875 * posix/glob.h [__USE_MISC]: Likewise.
45876 * posix/sys/types.h: Update #endif comments.
45877 [__USE_MISC]: Remove redundant conditionals.
45878 * posix/sys/wait.h: Update #endif comments.
45879 [__USE_MISC]: Remove redundant conditionals.
45880 * posix/unistd.h: Update #endif comments.
45881 [__USE_MISC]: Remove redundant conditionals.
45882 * pwd/pwd.h [__USE_GNU]: Likewise.
45883 [__USE_MISC]: Likewise.
45884 * resolv/netdb.h [__USE_GNU]: Likewise.
45885 * signal/signal.h: Update #endif comments.
45886 [__USE_MISC]: Remove redundant conditionals.
45887 * stdlib/stdlib.h: Update #else and #endif comments.
45888 [__USE_MISC]: Remove redundant conditionals.
45889 [__USE_GNU]: Likewise.
45890 * string/bits/string2.h [__USE_MISC]: Likewise.
45891 * string/string.h: Update #endif comments.
45892 [__USE_MISC]: Remove redundant conditionals.
45893 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45894 Likewise.
45895 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45896 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45897 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45898 Likewise.
45899 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45900 Likewise.
45901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45902 comments.
45903 [__USE_MISC]: Remove redundant conditionals.
45904 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45905 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45906 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45907 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45908 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45909 Likewise.
45910 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45911 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45912 Likewise.
45913 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45914 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45915 Likewise.
45916 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45917 Likewise.
45918 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45919 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45920 Likewise.
45921 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45922 Likewise.
45923 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45924 * sysdeps/x86/bits/string.h: Update #endif comments.
45925 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45926 conditionals.
45927 * time/sys/time.h: Update #endif comments.
45928 * time/time.h: Likewise.
45929 [__USE_MISC]: Remove redundant conditionals.
45930
45931 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45932
45933 [BZ #16600]
45934 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45935
45936 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45937
45938 * Versions.def (librt): Add GLIBC_2.17.
45939
45940 2014-02-21 Adam Conrad <adconrad@0c3.net>
45941
45942 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45943 synonym for _SYS_AUXV_H to allow direct inclusion.
45944 * sysdeps/sparc/bits/hwcap.h: Likewise.
45945 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45946 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45947 * sysdeps/sparc/sysdep.h: Likewise.
45948
45949 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45950
45951 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45952
45953 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45954
45955 * benchtests/bench-strrchr.c: Print length instead of position.
45956
45957 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45958
45959 [BZ #16611]
45960 * sysdeps/unix/sysv/linux/kernel-features.h
45961 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45962 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45963 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45964 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45965 Likewise.
45966 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45967 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45968 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45969 (__ASSUME_SENDMMSG): Define instead of using previous
45970 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45972 (__ASSUME_SENDMMSG_SYSCALL): Define.
45973 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45974 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45975 Likewise.
45976 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45977 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45978 Likewise.
45979 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45980 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45981 Likewise.
45982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45983 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45984 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45985 [__ASSUME_SENDMMSG]: Change conditionals to
45986 [__ASSUME_SENDMMSG_SOCKETCALL].
45987 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45988 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45989 Define.
45990 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45991 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45992 Likewise.
45993 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45994 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45996 [!__ASSUME_SENDMMSG]: Change conditional to
45997 [!__ASSUME_SENDMMSG_SOCKETCALL].
45998 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45999 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46000 Define.
46001
46002 [BZ #16610]
46003 * sysdeps/unix/sysv/linux/kernel-features.h
46004 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46005 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46006 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46007 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46008 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46009 [__i386__ || __sparc__]
46010 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46011 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46012 (__ASSUME_RECVMMSG): Define instead of using previous
46013 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46015 (__ASSUME_RECVMMSG_SYSCALL): Define.
46016 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46018 Likewise.
46019 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46021 Likewise.
46022 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46023 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46024 Likewise.
46025 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46026 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46027 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46028 [__ASSUME_RECVMMSG]: Change condition to
46029 [__ASSUME_RECVMMSG_SOCKETCALL].
46030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46032 Define.
46033 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46034 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46035 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46036 Likewise.
46037 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46038 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46039 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46040 [!__ASSUME_RECVMMSG]: Change condition to
46041 [!__ASSUME_RECVMMSG_SOCKETCALL].
46042 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46043 (__ASSUME_RECVMMSG_SYSCALL): Define.
46044
46045 [BZ #16609]
46046 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46047 __powerpc__ || __s390__ || __sh__ || __sparc__]
46048 (__ASSUME_SOCKETCALL): Define.
46049 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46050 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46051 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46052 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46053 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46054 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46055 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46056 (__ASSUME_ACCEPT4): Define instead of using previous
46057 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46058 __powerpc__ || __sparc__ || __s390__)] condition.
46059 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46060 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46061 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46062 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46063 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46064 [!__ASSUME_ACCEPT4]: Change condition to
46065 [!__ASSUME_ACCEPT4_SOCKETCALL].
46066 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46067 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46068 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46070 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46071 __ASSUME_ACCEPT4_SYSCALL.
46072 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46073 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46074 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46075 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46076 __ASSUME_ACCEPT4_SYSCALL.
46077 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46078 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46079 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46080 [__ASSUME_ACCEPT4]: Change condition to
46081 [__ASSUME_ACCEPT4_SOCKETCALL].
46082 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46083 (__ASSUME_SOCKETCALL): Define.
46084 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46085 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46086 (__ASSUME_SOCKETCALL): Define.
46087 (__ASSUME_ACCEPT4): Remove.
46088 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46089 Define.
46090 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46091 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46092 Likewise.
46093 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46094 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46095
46096 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46097 macro.
46098 (HWCAP_ARM_LPAE): Likewise.
46099 (HWCAP_ARM_EVTSTRM): Likewise.
46100 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46101 Add vpfd32, lpae and evtstrm.
46102 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46103 Increase to 22.
46104
46105 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46106
46107 * math/auto-libm-test-in: Add tests of clog10.
46108 * math/auto-libm-test-out: Regenerated.
46109 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46110 * sysdeps/i386/fpu/libm-test-ulps: Update.
46111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46112
46113 2014-02-18 Andreas Schwab <schwab@suse.de>
46114
46115 [BZ #16574]
46116 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46117 Store non-zero if the second buffer was newly allocated.
46118 (send_dg): Likewise.
46119 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46120 to send_vc and send_dg.
46121 (res_nsend): Pass NULL for ansp2_malloced.
46122 * resolv/res_query.c (__libc_res_nquery): Add parameter
46123 answerp2_malloced and pass it down to __libc_res_nsend.
46124 (res_nquery): Pass additional NULL to __libc_res_nquery.
46125 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46126 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46127 second answer buffer if answerp2_malloced was set.
46128 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46129 (__libc_res_nquerydomain): Add parameter
46130 answerp2_malloced and pass it down to __libc_res_nquery.
46131 (res_nquerydomain): Pass additional NULL to
46132 __libc_res_nquerydomain.
46133 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46134 additional NULL to __libc_res_nsend and __libc_res_nquery.
46135 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46136 additional NULL to __libc_res_nsearch.
46137 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46138 parameter of __libc_res_nsearch to check for separately allocated
46139 second buffer.
46140 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46141 __libc_res_nquery.
46142 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46143 additional NULL to __libc_res_nquery.
46144 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46145 __libc_res_nsearch.
46146 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46147 * include/resolv.h: Update prototypes of __libc_res_nquery,
46148 __libc_res_nsearch, __libc_res_nsend.
46149
46150 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46151
46152 * math/auto-libm-test-in: Add tests of fma.
46153 * math/auto-libm-test-out: Regenerated.
46154 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46155 (fma_towardzero_test_data): Likewise.
46156 (fma_downward_test_data): Likewise.
46157 (fma_upward_test_data): Likewise.
46158 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46159 mpc_mode.
46160 (rounding_modes): Add values for new field.
46161 (func_calc_method): Add value mpfr_fff_f.
46162 (func_calc_desc): Add mpfr_fff_f union field.
46163 (test_function): Add field exact_args.
46164 (FUNC): Add macro argument EXACT_ARGS.
46165 (FUNC_mpfr_f_f): Update call to FUNC.
46166 (FUNC_mpfr_f_f): Likewise.
46167 (FUNC_mpfr_ff_f): Likewise.
46168 (FUNC_mpfr_if_f): Likewise.
46169 (FUNC_mpc_c_f): Likewise.
46170 (FUNC_mpc_c_c): Likewise.
46171 (test_functions): Add fma. Update calls to FUNC.
46172 (handle_input_arg): Add argument exact_args.
46173 (add_test): Update call to handle_input_arg.
46174 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46175 (output_for_one_input_case): Update call to calc_generic_results.
46176 Recalculate exact zero results in each rounding mode.
46177
46178 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46179 non-negative before setting low bit.
46180 * math/auto-libm-test-in: Mark one asin test possibly having
46181 spurious underflow.
46182 * math/auto-libm-test-out: Regenerated.
46183 * sysdeps/i386/fpu/libm-test-ulps: Update.
46184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46185
46186 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46187
46188 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46189 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46190 ports/sysdeps/unix/sysv/linux/microblaze.
46191 * README: Add missing listing for microblaze*-*-linux-gnu.
46192
46193 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46194
46195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46196 duplicate code
46197
46198 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46199
46200 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46201 * sysdeps/unix/sysv/linux/ia64: Move directory from
46202 ports/sysdeps/unix/sysv/linux/ia64.
46203 * README: Update listing for ia64-*-linux-gnu.
46204
46205 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46206 Joseph Myers <joseph@codesourcery.com>
46207
46208 * Makeconfig (test-name): New variable.
46209 (evaluate-test): Likewise.
46210 * Makerules (do-test-clean): Remove .test-result files.
46211 (common-mostlyclean): Likewise.
46212 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46213 * scripts/evaluate-test.sh: New file.
46214
46215 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46216
46217 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46218 separate $(objpfx)tst-fopenloc-cmp.out and
46219 $(objpfx)tst-fopenloc-mem.out targets.
46220 (tests): Update dependencies.
46221 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46222 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46223 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46224 (tst-rxspencer-no-utf8-ARGS): New variable.
46225 (tst-rxspencer-no-utf8-ENV): Likewise.
46226 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46227 instead of $(objpfx)tst-rxspencer-mem.
46228 ($(objpfx)tst-rxspencer-mem): Change target to
46229 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46230 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46231 * posix/tst-rxspencer-no-utf8.c: New file.
46232
46233 * elf/Makefile ($(objpfx)order.out): Remove rule.
46234 [$(run-built-tests) = yes] (tests): Depend on
46235 $(objpfx)order-cmp.out.
46236 ($(objpfx)order-cmp.out): New rule.
46237 [$(run-built-tests) = yes] (tests): Depend on
46238 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46239 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46240 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46241 $(objpfx)tst-array5-static-cmp.out.
46242 ($(objpfx)tst-array1.out): Remove rule.
46243 ($(objpfx)tst-array1-cmp.out): New rule.
46244 ($(objpfx)tst-array1-static.out): Remove rule.
46245 ($(objpfx)tst-array1-static-cmp.out): New rule.
46246 ($(objpfx)tst-array2.out): Remove rule.
46247 ($(objpfx)tst-array2-cmp.out): New rule.
46248 ($(objpfx)tst-array3.out): Remove rule.
46249 ($(objpfx)tst-array3-cmp.out): New rule.
46250 ($(objpfx)tst-array4.out): Remove rule.
46251 ($(objpfx)tst-array4-cmp.out): New rule.
46252 ($(objpfx)tst-array5.out): Remove rule.
46253 ($(objpfx)tst-array5-cmp.out): New rule.
46254 ($(objpfx)tst-array5-static.out): Remove rule.
46255 ($(objpfx)tst-array5-static-cmp.out): New rule.
46256 [$(run-built-tests) = yes] (tests): Depend on
46257 $(objpfx)order2-cmp.out.
46258 ($(objpfx)order2.out): Remove rule.
46259 ($(objpfx)order2-cmp.out): New rule.
46260 ($(objpfx)tst-initorder.out): Remove rule.
46261 [$(run-built-tests) = yes] (tests): Depend on
46262 $(objpfx)tst-initorder-cmp.out.
46263 ($(objpfx)tst-initorder-cmp.out): New rule.
46264 ($(objpfx)tst-initorder2.out): Remove rule.
46265 [$(run-built-tests) = yes] (tests): Depend on
46266 $(objpfx)tst-initorder2-cmp.out.
46267 ($(objpfx)tst-initorder2-cmp.out): New rule.
46268 [$(run-built-tests) = yes] (tests): Depend on
46269 $(objpfx)tst-unused-dep-cmp.out.
46270 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46271 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46272 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46273 on $(objpfx)tst-setvbuf1-cmp.out.
46274 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46275 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46276 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46277 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46278 ($(objpfx)tst-svc.out): Remove rule.
46279 ($(objpfx)tst-svc-cmp.out): New rule.
46280
46281 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46282
46283 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46284 * ctype/ctype.h [__USE_MISC]: Likewise.
46285 * dirent/dirent.h [__USE_MISC]: Likewise.
46286 * grp/grp.h [__USE_MISC]: Likewise.
46287 * io/fcntl.h [__USE_MISC]: Likewise.
46288 * io/sys/stat.h [__USE_MISC]: Likewise.
46289 * libio/stdio.h [__USE_MISC]: Likewise.
46290 * posix/unistd.h [__USE_MISC]: Likewise.
46291 * pwd/pwd.h [__USE_MISC]: Likewise.
46292 * stdlib.h [__USE_MISC]: Likewise.
46293 * string/bits/string2.h [__USE_MISC]: Likewise.
46294 * string/string.h [__USE_MISC]: Likewise.
46295 * time/time.h [__USE_MISC]: Likewise.
46296
46297 2014-02-13 Andreas Schwab <schwab@suse.de>
46298
46299 [BZ #16574]
46300 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46301 second answer buffer if it was separately allocated.
46302
46303 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46304
46305 * sysdeps/mips/math-tests.h: Include <features.h>.
46306 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46307 (ROUNDING_TESTS_long_double): Do not define.
46308 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46309 (EXCEPTION_TESTS_long_double): Likewise.
46310 * sysdeps/mips/mips64/libm-test-ulps: Update.
46311
46312 * include/features.h (__USE_BSD): Remove macro definitions.
46313 (__USE_SVID): Likewise.
46314 (_BSD_SOURCE): Likewise.
46315 (_SVID_SOURCE): Likewise.
46316 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46317 from definition of _DEFAULT_SOURCE.
46318 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46319 [_DEFAULT_SOURCE].
46320 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46321 * bits/mman.h [__USE_BSD]: Likewise.
46322 * bits/termios.h [__USE_BSD]: Likewise.
46323 * bits/waitstatus.h [__USE_BSD]: Likewise.
46324 * ctype/ctype.h [__USE_SVID]: Likewise.
46325 * dirent/dirent.h [__USE_BSD]: Likewise.
46326 * grp/grp.h [__USE_SVID]: Likewise.
46327 [__USE_BSD]: Likewise.
46328 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46329 * io/fcntl.h [__USE_BSD]: Likewise.
46330 * io/ftw.h [__USE_BSD]: Likewise.
46331 * io/sys/stat.h [__USE_BSD]: Likewise.
46332 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46333 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46334 * libio/stdio.h [__USE_SVID]: Likewise.
46335 [__USE_BSD]: Likewise.
46336 * math/math.h [__USE_SVID]: Likewise.
46337 [__USE_BSD]: Likewise.
46338 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46339 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46340 * misc/search.h [__USE_SVID]: Likewise.
46341 * misc/sys/mman.h [__USE_BSD]: Likewise.
46342 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46343 * misc/sys/uio.h [__USE_BSD]: Likewise.
46344 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46345 * posix/glob.h [__USE_BSD]: Likewise.
46346 * posix/regex.h [__USE_BSD]: Likewise.
46347 * posix/sys/types.h [__USE_BSD]: Likewise.
46348 [__USE_SVID]: Likewise.
46349 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46350 * posix/sys/wait.h [__USE_BSD]: Likewise.
46351 [__USE_SVID]: Likewise.
46352 * posix/unistd.h [__USE_BSD]: Likewise.
46353 [__USE_SVID]: Likewise.
46354 * pwd/pwd.h [__USE_SVID]: Likewise.
46355 * resolv/netdb.h [__USE_BSD]: Likewise.
46356 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46357 * signal/signal.h [__USE_BSD]: Likewise.
46358 [__USE_SVID]: Likewise.
46359 * socket/sys/socket.h [__USE_BSD]: Likewise.
46360 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46361 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46362 [__USE_SVID]: Likewise.
46363 * string/bits/string2.h [__USE_BSD]: Likewise.
46364 [__USE_SVID]: Likewise.
46365 * string/bits/string3.h [__USE_BSD]: Likewise.
46366 * string/endian.h [__USE_BSD]: Likewise.
46367 * string/string.h [__USE_SVID]: Likewise.
46368 [__USE_BSD]: Likewise.
46369 * string/strings.h [__USE_BSD]: Likewise.
46370 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46371 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46372 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46373 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46374 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46375 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46376 Likewise.
46377 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46378 Likewise.
46379 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46380 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46381 Likewise.
46382 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46383 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46384 Likewise.
46385 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46386 Likewise.
46387 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46388 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46389 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46390 Likewise.
46391 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46392 Likewise.
46393 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46394 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46395 * termios/termios.h [__USE_BSD]: Likewise.
46396 * time/sys/time.h [__USE_BSD]: Likewise.
46397 * time/time.h [__USE_BSD]: Likewise.
46398 [__USE_SVID]: Likewise.
46399
46400 * Makefile (subdir_targets): Remove subdir_lint.out.
46401
46402 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46403 (do-tst-printf): Likewise.
46404 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46405 $(objpfx)tst-printf.out.
46406
46407 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46408
46409 * Makerules (check-abi-%): Change target to
46410 $(objpfx)check-abi-%.out.
46411 (check-abi target): Update dependencies.
46412 (check-abi-pattern variable): Redirect output of diff to $@.
46413 (check-abi variable): Likewise.
46414 * elf/Makefile (check-abi): Update dependencies.
46415
46416 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46417 unused.
46418 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46419 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46420 subnormal range.
46421 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46422 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46423 value has largest subnormal exponent.
46424 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46425 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46426 * sysdeps/aarch64/soft-fp/sfp-machine.h
46427 (_FP_TININESS_AFTER_ROUNDING): New macro.
46428 * sysdeps/alpha/soft-fp/sfp-machine.h
46429 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46430 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46431 Likewise.
46432 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46433 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46434 * sysdeps/mips/soft-fp/sfp-machine.h
46435 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46436 * sysdeps/powerpc/soft-fp/sfp-machine.h
46437 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46438 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46439 Likewise.
46440 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46441 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46443 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46444 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46445 Likewise.
46446
46447 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46448
46449 [BZ #16545]
46450 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46451 model 1.
46452
46453 2014-02-12 Richard Henderson <rth@redhat.com>
46454
46455 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46456 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46457 * sysdeps/unix/sysv/linux/alpha: Move directory from
46458 ports/sysdeps/unix/sysv/linux/alpha.
46459 * README: Update listing for alpha-*-linux-gnu.
46460
46461 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46462
46463 * include/features.h: Update comment documenting feature test
46464 macros.
46465 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46466 _DEFAULT_SOURCE.
46467 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46468 (_SVID_SOURCE): Likewise.
46469 (_DEFAULT_SOURCE): Update description of default features.
46470 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46471 with _GNU_SOURCE.
46472 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46473 (S_ISVTX): Likewise.
46474 * manual/math.texi (Mathematical Constants): Likewise.
46475 * manual/signal.texi (Interrupted Primitives): Likewise.
46476 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46477 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46478 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46479 Don't refer to _SVID_SOURCE in warning text.
46480
46481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46482
46483 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46484 already defined.
46485 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46486 * sysdeps/mips/dl-lookup.c: Remove.
46487 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46488
46489 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46490
46491 [BZ #16447]
46492 * math/auto-libm-test-in: Add testcase for expl.
46493 * math/auto-libm-test-out: Regenerate.
46494 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46495 calculation of unsafe.
46496 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46497
46498 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46499
46500 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46501 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46502 ports/sysdeps/unix/sysv/linux/aarch64.
46503 * README: Update listing for aarch64*-*-linux-gnu.
46504
46505 2014-02-11 Will Newton <will.newton@linaro.org>
46506
46507 * manual/probes.texi (Mathematical Function Probes): Use
46508 "triggered" instead of "hit".
46509
46510 * manual/probes.texi (Internal Probes): Add documentation
46511 of setjmp, longjmp and longjmp_target probes.
46512
46513 * include/stap-probe.h: Add comment about probe argument
46514 format.
46515
46516 * malloc/mtrace.c (attribute_hidden): Remove unused macro
46517 definition. (tr_where, tr_freehook, tr_mallochook,
46518 tr_reallochook, tr_memalignhook): Use ANSI protoype.
46519
46520 2014-02-11 David S. Miller <davem@davemloft.net>
46521
46522 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46523 processing int_tests.
46524
46525 2014-02-10 Joseph Myers <joseph@codesourcery.com>
46526
46527 * sysdeps/mips: Move directory from ports/sysdeps/mips.
46528 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46529 * sysdeps/unix/sysv/linux/mips: Move directory from
46530 ports/sysdeps/unix/sysv/linux/mips.
46531 * README: Update listing for mips-*-linux-gnu and
46532 mips64-*-linux-gnu.
46533
46534 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
46535
46536 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46537 * sysdeps/unix/sysv/linux/m68k: Move directory from
46538 ports/sysdeps/unix/sysv/linux/m68k.
46539 * README: Update listing for m68k-*-linux-gnu.
46540
46541 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
46542
46543 * sysdeps/tile: Move directory from ports/sysdeps/tile.
46544 * sysdeps/unix/sysv/linux/generic: Move directory from
46545 ports/sysdeps/unix/sysv/linux/generic.
46546 * sysdeps/unix/sysv/linux/tile: Move directory from
46547 ports/sysdeps/unix/sysv/linux/tile.
46548 * README: Update listing for tile*-*-linux-gnu.
46549
46550 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
46551
46552 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46553 __builtin_expect.
46554 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46555 * catgets/open_catalog.c (__open_catalog): Likewise.
46556 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46557 * debug/confstr_chk.c: Likewise.
46558 * debug/fread_chk.c (__fread_chk): Likewise.
46559 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46560 * debug/getgroups_chk.c: Likewise.
46561 * debug/mbsnrtowcs_chk.c: Likewise.
46562 * debug/mbsrtowcs_chk.c: Likewise.
46563 * debug/mbstowcs_chk.c: Likewise.
46564 * debug/memcpy_chk.c: Likewise.
46565 * debug/memmove_chk.c: Likewise.
46566 * debug/mempcpy_chk.c: Likewise.
46567 * debug/memset_chk.c: Likewise.
46568 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46569 * debug/strcat_chk.c (__strcat_chk): Likewise.
46570 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46571 * debug/strncat_chk.c (__strncat_chk): Likewise.
46572 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46573 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46574 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46575 * debug/wcpncpy_chk.c: Likewise.
46576 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46577 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46578 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46579 * debug/wcsncpy_chk.c: Likewise.
46580 * debug/wcsnrtombs_chk.c: Likewise.
46581 * debug/wcsrtombs_chk.c: Likewise.
46582 * debug/wcstombs_chk.c: Likewise.
46583 * debug/wmemcpy_chk.c: Likewise.
46584 * debug/wmemmove_chk.c: Likewise.
46585 * debug/wmempcpy_chk.c: Likewise.
46586 * debug/wmemset_chk.c: Likewise.
46587 * dirent/scandirat.c (SCANDIRAT): Likewise.
46588 * dlfcn/dladdr1.c (dladdr1): Likewise.
46589 * dlfcn/dladdr.c (dladdr): Likewise.
46590 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46591 * dlfcn/dlerror.c (__dlerror): Likewise.
46592 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46593 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46594 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46595 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46596 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46597 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46598 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46599 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46600 Likewise.
46601 * elf/dl-conflict.c: Likewise.
46602 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46603 * elf/dl-dst.h: Likewise.
46604 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46605 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46606 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46607 * elf/dl-init.c (call_init, _dl_init): Likewise.
46608 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46609 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46610 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46611 Likewise.
46612 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46613 Likewise.
46614 * elf/dl-minimal.c (__libc_memalign): Likewise.
46615 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46616 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46617 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46618 * elf/dl-sym.c (do_sym): Likewise.
46619 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46620 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46621 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46622 * elf/dl-writev.h (_dl_writev): Likewise.
46623 * elf/ldconfig.c (search_dir): Likewise.
46624 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46625 (dl_main): Likewise.
46626 * elf/setup-vdso.h (setup_vdso): Likewise.
46627 * grp/compat-initgroups.c (compat_call): Likewise.
46628 * grp/fgetgrent.c (fgetgrent): Likewise.
46629 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46630 * grp/putgrent.c (putgrent): Likewise.
46631 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46632 Likewise.
46633 * hurd/hurdinit.c: Likewise.
46634 * iconvdata/8bit-gap.c (struct): Likewise.
46635 * iconvdata/ansi_x3.110.c : Likewise.
46636 * iconvdata/big5.c : Likewise.
46637 * iconvdata/big5hkscs.c : Likewise.
46638 * iconvdata/cp1255.c: Likewise.
46639 * iconvdata/cp1258.c : Likewise.
46640 * iconvdata/cp932.c : Likewise.
46641 * iconvdata/euc-cn.c: Likewise.
46642 * iconvdata/euc-jisx0213.c : Likewise.
46643 * iconvdata/euc-jp.c: Likewise.
46644 * iconvdata/euc-jp-ms.c : Likewise.
46645 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46646 * iconvdata/gb18030.c : Likewise.
46647 * iconvdata/gbbig5.c (const): Likewise.
46648 * iconvdata/gbgbk.c: Likewise.
46649 * iconvdata/gbk.c : Likewise.
46650 * iconvdata/ibm1364.c : Likewise.
46651 * iconvdata/ibm930.c : Likewise.
46652 * iconvdata/ibm932.c: Likewise.
46653 * iconvdata/ibm933.c : Likewise.
46654 * iconvdata/ibm935.c : Likewise.
46655 * iconvdata/ibm937.c : Likewise.
46656 * iconvdata/ibm939.c : Likewise.
46657 * iconvdata/ibm943.c: Likewise.
46658 * iconvdata/iso_11548-1.c: Likewise.
46659 * iconvdata/iso-2022-cn.c : Likewise.
46660 * iconvdata/iso-2022-cn-ext.c : Likewise.
46661 * iconvdata/iso-2022-jp-3.c: Likewise.
46662 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46663 * iconvdata/iso-2022-kr.c : Likewise.
46664 * iconvdata/iso646.c (gconv_end): Likewise.
46665 * iconvdata/iso_6937-2.c : Likewise.
46666 * iconvdata/iso_6937.c : Likewise.
46667 * iconvdata/iso8859-1.c: Likewise.
46668 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46669 * iconvdata/shift_jisx0213.c : Likewise.
46670 * iconvdata/sjis.c : Likewise.
46671 * iconvdata/t.61.c : Likewise.
46672 * iconvdata/tcvn5712-1.c : Likewise.
46673 * iconvdata/tscii.c: Likewise.
46674 * iconvdata/uhc.c : Likewise.
46675 * iconvdata/unicode.c (gconv_end): Likewise.
46676 * iconvdata/utf-16.c (gconv_end): Likewise.
46677 * iconvdata/utf-32.c (gconv_end): Likewise.
46678 * iconvdata/utf-7.c (base64): Likewise.
46679 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46680 * iconv/gconv_close.c (__gconv_close): Likewise.
46681 * iconv/gconv_open.c (__gconv_open): Likewise.
46682 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46683 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46684 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46685 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46686 (ucs4le_internal_loop_single): Likewise.
46687 * iconv/iconv.c (iconv): Likewise.
46688 * iconv/iconv_close.c: Likewise.
46689 * iconv/loop.c (SINGLE): Likewise.
46690 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46691 * include/atomic.h: Likewise.
46692 * inet/inet6_option.c (option_alloc): Likewise.
46693 * intl/bindtextdom.c (set_binding_values): Likewise.
46694 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46695 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46696 * intl/localealias.c (read_alias_file): Likewise.
46697 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46698 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46699 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46700 * libio/fmemopen.c (fmemopen): Likewise.
46701 * libio/iofgets.c (_IO_fgets): Likewise.
46702 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46703 * libio/iofgetws.c (fgetws): Likewise.
46704 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46705 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46706 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46707 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46708 * locale/findlocale.c (_nl_find_locale): Likewise.
46709 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46710 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46711 Likewise.
46712 * locale/setlocale.c (setlocale): Likewise.
46713 * login/programs/pt_chown.c (main): Likewise.
46714 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46715 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46716 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46717 (mmap, mmap64, mremap, munmap): Likewise.
46718 * math/e_exp2l.c: Likewise.
46719 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46720 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46721 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46722 * math/s_catan.c (__catan): Likewise.
46723 * math/s_catanf.c (__catanf): Likewise.
46724 * math/s_catanh.c (__catanh): Likewise.
46725 * math/s_catanhf.c (__catanhf): Likewise.
46726 * math/s_catanhl.c (__catanhl): Likewise.
46727 * math/s_catanl.c (__catanl): Likewise.
46728 * math/s_ccosh.c (__ccosh): Likewise.
46729 * math/s_ccoshf.c (__ccoshf): Likewise.
46730 * math/s_ccoshl.c (__ccoshl): Likewise.
46731 * math/s_cexp.c (__cexp): Likewise.
46732 * math/s_cexpf.c (__cexpf): Likewise.
46733 * math/s_cexpl.c (__cexpl): Likewise.
46734 * math/s_clog10.c (__clog10): Likewise.
46735 * math/s_clog10f.c (__clog10f): Likewise.
46736 * math/s_clog10l.c (__clog10l): Likewise.
46737 * math/s_clog.c (__clog): Likewise.
46738 * math/s_clogf.c (__clogf): Likewise.
46739 * math/s_clogl.c (__clogl): Likewise.
46740 * math/s_csin.c (__csin): Likewise.
46741 * math/s_csinf.c (__csinf): Likewise.
46742 * math/s_csinh.c (__csinh): Likewise.
46743 * math/s_csinhf.c (__csinhf): Likewise.
46744 * math/s_csinhl.c (__csinhl): Likewise.
46745 * math/s_csinl.c (__csinl): Likewise.
46746 * math/s_csqrt.c (__csqrt): Likewise.
46747 * math/s_csqrtf.c (__csqrtf): Likewise.
46748 * math/s_csqrtl.c (__csqrtl): Likewise.
46749 * math/s_ctan.c (__ctan): Likewise.
46750 * math/s_ctanf.c (__ctanf): Likewise.
46751 * math/s_ctanh.c (__ctanh): Likewise.
46752 * math/s_ctanhf.c (__ctanhf): Likewise.
46753 * math/s_ctanhl.c (__ctanhl): Likewise.
46754 * math/s_ctanl.c (__ctanl): Likewise.
46755 * math/w_pow.c: Likewise.
46756 * math/w_powf.c: Likewise.
46757 * math/w_powl.c: Likewise.
46758 * math/w_scalb.c (sysv_scalb): Likewise.
46759 * math/w_scalbf.c (sysv_scalbf): Likewise.
46760 * math/w_scalbl.c (sysv_scalbl): Likewise.
46761 * misc/error.c (error_tail): Likewise.
46762 * misc/pselect.c (__pselect): Likewise.
46763 * nis/nis_callback.c (__nis_create_callback): Likewise.
46764 * nis/nis_call.c (__nisfind_server): Likewise.
46765 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46766 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46767 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46768 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46769 * nis/nis_lookup.c (nis_lookup): Likewise.
46770 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46771 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46772 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46773 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46774 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46775 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46776 * nis/nss_compat/compat-initgroups.c (add_group)
46777 (internal_getgrent_r): Likewise.
46778 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46779 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46780 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46781 (internal_getspnam_r): Likewise.
46782 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46783 (_nss_nis_getaliasbyname_r): Likewise.
46784 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46785 (_nss_nis_getntohost_r): Likewise.
46786 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46787 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46788 (_nss_nis_getgrgid_r): Likewise.
46789 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46790 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46791 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46792 (_nss_nis_gethostbyname4_r): Likewise.
46793 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46794 (initgroups_netid): Likewise.
46795 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46796 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46797 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46798 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46799 (_nss_nis_getprotobynumber_r): Likewise.
46800 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46801 (_nss_nis_getsecretkey): Likewise.
46802 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46803 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46804 (_nss_nis_getpwuid_r): Likewise.
46805 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46806 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46807 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46808 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46809 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46810 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46811 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46812 Likewise.
46813 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46814 (_nss_nisplus_getntohost_r): Likewise.
46815 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46816 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46817 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46818 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46819 Likewise.
46820 * nis/nss_nisplus/nisplus-initgroups.c
46821 (_nss_nisplus_initgroups_dyn): Likewise.
46822 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46823 (_nss_nisplus_getnetbyaddr_r): Likewise.
46824 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46825 (_nss_nisplus_getprotobynumber_r): Likewise.
46826 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46827 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46828 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46829 Likewise.
46830 * nis/nss_nisplus/nisplus-service.c
46831 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46832 (_nss_nisplus_getservbyport_r): Likewise.
46833 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46834 (_nss_nisplus_getspnam_r): Likewise.
46835 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46836 Likewise.
46837 * nscd/aicache.c (addhstaiX): Likewise.
46838 * nscd/cache.c (cache_search, prune_cache): Likewise.
46839 * nscd/connections.c (register_traced_file, send_ro_fd)
46840 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46841 (main_loop_epoll): Likewise.
46842 * nscd/grpcache.c (addgrbyX): Likewise.
46843 * nscd/hstcache.c (addhstbyX): Likewise.
46844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46845 * nscd/mem.c (gc, mempool_alloc): Likewise.
46846 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46847 (addinnetgrX): Likewise.
46848 * nscd/nscd-client.h (__nscd_acquire_maplock)
46849 (__nscd_drop_map_ref): Likewise.
46850 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46851 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46852 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46853 Likewise.
46854 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46855 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46856 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46857 (__nscd_get_map_ref): Likewise.
46858 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46859 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46860 Likewise.
46861 * nscd/pwdcache.c (addpwbyX): Likewise.
46862 * nscd/selinux.c (preserve_capabilities): Likewise.
46863 * nscd/servicescache.c (addservbyX): Likewise.
46864 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46865 * posix/fnmatch.c (fnmatch): Likewise.
46866 * posix/getopt.c (_getopt_internal_r): Likewise.
46867 * posix/glob.c (glob, glob_in_dir): Likewise.
46868 * posix/wordexp.c (exec_comm_child): Likewise.
46869 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46870 (getanswer_r, gaih_getanswer_slice): Likewise.
46871 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46872 * resolv/res_init.c: Likewise.
46873 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46874 * resolv/res_query.c (__libc_res_nquery): Likewise.
46875 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46876 Likewise.
46877 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46878 * stdio-common/perror.c (perror): Likewise.
46879 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46880 * stdio-common/tmpnam.c (tmpnam): Likewise.
46881 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46882 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46883 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46884 Likewise.
46885 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46886 * stdlib/putenv.c (putenv): Likewise.
46887 * stdlib/setenv.c (__add_to_environ): Likewise.
46888 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46889 * stdlib/strtol_l.c (INTERNAL): Likewise.
46890 * string/memmem.c (memmem): Likewise.
46891 * string/strerror.c (strerror): Likewise.
46892 * string/strnlen.c (__strnlen): Likewise.
46893 * string/test-memmem.c (simple_memmem): Likewise.
46894 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46895 * sunrpc/pm_getport.c (__get_socket): Likewise.
46896 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46897 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46898 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46899 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46900 Likewise.
46901 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46902 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46903 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46904 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46905 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46906 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46907 Likewise.
46908 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46909 Likewise.
46910 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46911 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46912 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46913 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46914 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46916 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46917 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46918 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46919 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46920 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46921 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46922 Likewise.
46923 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46924 Likewise.
46925 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46926 Likewise.
46927 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46928 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46930 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46931 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46932 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46933 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46936 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46937 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46939 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46940 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46942 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46943 Likewise.
46944 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46945 Likewise.
46946 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46947 Likewise.
46948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46949 Likewise.
46950 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46952 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46953 Likewise.
46954 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46955 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46956 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46957 * sysdeps/posix/sleep.c: Likewise.
46958 * sysdeps/posix/tempname.c: Likewise.
46959 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46960 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46961 Likewise.
46962 * sysdeps/powerpc/powerpc32/dl-machine.h
46963 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46964 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46966 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46967 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46968 Likewise.
46969 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46971 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46973 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46974 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46975 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46976 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46977 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46978 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46980 (elf_machine_lazy_rel): Likewise.
46981 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46983 (elf_machine_lazy_rel): Likewise.
46984 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46985 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46986 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46987 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46988 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46989 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46990 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46992 Likewise.
46993 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46994 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46995 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46996 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46997 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46998 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46999 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47000 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47001 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47002 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47003 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47004 Likewise.
47005 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47006 (__posix_fallocate64_l64): Likewise.
47007 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47008 (posix_fallocate): Likewise.
47009 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47010 Likewise.
47011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47012 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47013 (getifaddrs_internal): Likewise.
47014 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47015 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47016 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47017 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47018 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47019 (__posix_fallocate64_l64): Likewise.
47020 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47021 Likewise.
47022 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47024 (__get_clockfreq): Likewise.
47025 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47026 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47027 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47030 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47031 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47032 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47033 Likewise.
47034 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47035 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47036 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47037 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47038 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47039 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47040 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47041 Likewise.
47042 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47043 (posix_fallocate): Likewise.
47044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47045 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47046 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47047 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47048 (elf_machine_rela, elf_machine_rela_relative)
47049 (elf_machine_lazy_rel): Likewise.
47050 * time/asctime.c (asctime_internal): Likewise.
47051 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47052 * time/tzset.c (__tzset_parse_tz): Likewise.
47053 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47054 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47055 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47056 * wcsmbs/wcsmbsload.h: Likewise.
47057
47058 [BZ #15894]
47059 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47060
47061 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47062 (arena_get2): Remove THREAD_STATS conditionals.
47063 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47064 (__malloc_stats, int): Likewise.
47065
47066 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47067
47068 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47069 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47070
47071 * manual/setjmp.texi: Fix typos/grammar errors.
47072
47073 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47074 Only return early when n is <= 0. Delete unused return statement.
47075
47076 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47077 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47078 * debug/tst-longjmp_chk3.c: New file.
47079
47080 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47081 (test_main): Replace code with set_fortify_handler call.
47082 * debug/test-strcpy_chk.c: Likewise.
47083 * debug/tst-chk1.c: Likewise.
47084 * debug/tst-longjmp_chk.c: Likewise.
47085 * test-skeleton.c: Include fcntl.h & paths.h
47086 (set_fortify_handler): Define.
47087
47088 * debug/tst-longjmp_chk.c: Add header comment and include
47089 ../test-skeleton.c.
47090 (do_test): Mark static.
47091 (TEST_FUNCTION): Define.
47092
47093 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47094 (IP_PMTUDISC_INTERFACE): Likewise.
47095 (IP_MULTICAST_IF): Likewise.
47096 (IP_MULTICAST_TTL): Likewise.
47097 (IP_MULTICAST_LOOP): Likewise.
47098 (IP_ADD_MEMBERSHIP): Likewise.
47099 (IP_DROP_MEMBERSHIP): Likewise.
47100 (IP_UNBLOCK_SOURCE): Likewise.
47101 (IP_BLOCK_SOURCE): Likewise.
47102 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47103 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47104 (IP_MSFILTER): Likewise.
47105 (MCAST_JOIN_GROUP): Likewise.
47106 (MCAST_BLOCK_SOURCE): Likewise.
47107 (MCAST_UNBLOCK_SOURCE): Likewise.
47108 (MCAST_LEAVE_GROUP): Likewise.
47109 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47110 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47111 (MCAST_MSFILTER): Likewise.
47112 (IP_MULTICAST_ALL): Likewise.
47113 (IP_UNICAST_IF): Likewise.
47114
47115 * timezone/Makefile: Delete $(have-ksh) check.
47116 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47117 * timezone/tzselect.ksh: Add +x mode bits.
47118
47119 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47120 (ANON_INODE_FS_MAGIC): Likewise.
47121 (BDEVFS_MAGIC): Likewise.
47122 (BINFMTFS_MAGIC): Likewise.
47123 (BTRFS_TEST_MAGIC): Likewise.
47124 (CRAMFS_MAGIC_WEND): Likewise.
47125 (DEBUGFS_MAGIC): Likewise.
47126 (ECRYPTFS_SUPER_MAGIC): Likewise.
47127 (EXT3_SUPER_MAGIC): Likewise.
47128 (EXT4_SUPER_MAGIC): Likewise.
47129 (FUTEXFS_SUPER_MAGIC): Likewise.
47130 (HOSTFS_SUPER_MAGIC): Likewise.
47131 (HUGETLBFS_MAGIC): Likewise.
47132 (MINIX3_SUPER_MAGIC): Likewise.
47133 (MTD_INODE_FS_MAGIC): Likewise.
47134 (NILFS_SUPER_MAGIC): Likewise.
47135 (OPENPROM_SUPER_MAGIC): Likewise.
47136 (PIPEFS_MAGIC): Likewise.
47137 (PSTOREFS_MAGIC): Likewise.
47138 (QNX6_SUPER_MAGIC): Likewise.
47139 (RAMFS_MAGIC): Likewise.
47140 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47141 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47142 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47143 (SECURITYFS_MAGIC): Likewise.
47144 (SELINUX_MAGIC): Likewise.
47145 (SMACK_MAGIC): Likewise.
47146 (SOCKFS_MAGIC): Likewise.
47147 (SQUASHFS_MAGIC): Likewise.
47148 (STACK_END_MAGIC): Likewise.
47149 (TMPFS_MAGIC): Likewise.
47150 (USBDEVICE_SUPER_MAGIC): Likewise.
47151 (V9FS_MAGIC): Likewise.
47152 (XENFS_SUPER_MAGIC): Likewise.
47153 (CRAMFS_MAGIC): Fix typo in comment.
47154 (EXT2_SUPER_MAGIC): Update comment.
47155 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47156
47157 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47158
47159 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47160 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47161 * sysdeps/unix/sysv/linux/arm: Move directory from
47162 ports/sysdeps/unix/sysv/linux/arm.
47163 * README: Update listing for arm-*-linux-gnueabi.
47164
47165 * README: Remove mention of am33.
47166
47167 2014-02-07 Roland McGrath <roland@hack.frob.com>
47168
47169 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47170 than the comma operator, to avoid "rhs of comma has no effect"
47171 compiler warnings.
47172 (__sigfillset, __sigandset, __sigorset): Likewise.
47173 * include/signal.h (__sigemptyset): Likewise.
47174 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47175
47176 2014-02-07 Allan McRae <allan@archlinux.org>
47177
47178 * version.h (RELEASE): Set to "development".
47179 (VERSION): Set to "2.19.90"
47180 * NEWS: Add 2.20 section.
47181
47182 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47183
47184 [BZ #16529]
47185 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47186
47187 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47188
47189 * manual/contrib.texi: Update entry for Carlos O'Donell,
47190 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47191
47192 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47193
47194 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47195
47196 * sysdeps/unix/sysv/linux/kernel-features.h
47197 [__LINUX_KERNEL_VERSION >= 0x020621]
47198 (__ASSUME_PROC_PID_TASK_COMM): Define.
47199
47200 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47201
47202 [BZ #16398]
47203 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47204 conversion when destination buffer does not have enough space.
47205 * libio/tst-ftell-partial-wide.c: New test case.
47206 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47207
47208 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47209 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47210 Leonard and Allan McRae.
47211
47212 2014-02-04 David S. Miller <davem@davemloft.net>
47213
47214 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47215 32-bit.
47216
47217 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47218
47219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47220 New file
47221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47222 New file
47223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47224 New file.
47225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47226 New file.
47227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47228 New file.
47229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47230 New file.
47231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47232 New file.
47233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47234 New file.
47235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47236 New file.
47237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47238 New file.
47239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47240 New file.
47241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47242 New file.
47243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47244 New file.
47245
47246 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47247
47248 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47249 * shlib-versions: Likewise.
47250
47251 2014-02-04 Roland McGrath <roland@hack.frob.com>
47252 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47253
47254 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47255 (abilist-pattern): New variable, set to %-le.abilist.
47256
47257 * Makerules (abilist-pattern): New variable.
47258 (vpath): Use $(abilist-pattern) in place of %.abilist.
47259 (check-abi-% pattern rule): Likewise.
47260 (check-abi, update-abi): Likewise.
47261
47262 2014-02-04 Eric Wong <normalperson@yhbt.net>
47263
47264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47265
47266 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47267
47268 * manual/startup.texi: Add next, previous, and top entries for
47269 the `Program Arguments' and `Environment Variables' nodes.
47270
47271 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47272
47273 * manual/macros.texi: Add comments before MTASC-safety macros.
47274
47275 * manual/users.texi: Document MTASC-safety properties.
47276
47277 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47278 (pthread_getspecific, pthread_setspecific): Format with
47279 @deftypefun, and add @safety note.
47280 * manual/signal.texi: Move comments that analyze the above
47281 functions to their home place.
47282
47283 2014-02-03 Allan McRae <allan@archlinux.org>
47284
47285 * po/sl.po: Update Slovenian translation from translation project.
47286
47287 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47288
47289 * manual/time.texi (timegm): Add missing blank after @c.
47290 Reported by Joseph Myers <joseph@codesourcery.com>.
47291
47292 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47293
47294 * manual/check-safety.sh: New.
47295 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47296
47297 * manual/terminal.texi: Document MTASC-safety properties.
47298
47299 * manual/filesys.texi: Document MTASC-safety properties.
47300
47301 * manual/errno.texi: Document MTASC-safety properties.
47302
47303 * manual/intro.texi: Document safety identifiers and
47304 conditionals.
47305
47306 * manual/string.texi (wcstok): Fix prototype.
47307 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47308
47309 * manual/time.texi: Document MTASC-safety properties.
47310
47311 * manual/string.texi: Document MTASC-safety properties.
47312
47313 * manual/threads.texi: Document MTASC-safety properties.
47314
47315 * manual/stdio.texi: Document MTASC-safety properties.
47316
47317 * manual/syslog.texi: Document MTASC-safety properties.
47318
47319 * manual/sysinfo.texi: Document MTASC-safety properties.
47320
47321 * manual/startup.texi: Document MTASC-safety properties.
47322
47323 * manual/socket.texi: Document MTASC-safety properties.
47324
47325 * manual/signal.texi: Document MTASC-safety properties.
47326
47327 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47328
47329 * manual/setjmp.texi: Document MTASC-safety properties.
47330
47331 * manual/search.texi: Document MTASC-safety properties.
47332
47333 * manual/resource.texi: Document MTASC-safety properties.
47334
47335 * manual/process.texi: Document MTASC-safety properties.
47336
47337 * manual/platform.texi: Document MTASC-safety properties.
47338
47339 * manual/pipe.texi: Document MTASC-safety properties.
47340
47341 * manual/pattern.texi: Document MTASC-safety properties.
47342
47343 * manual/message.texi: Document MTASC-safety properties.
47344
47345 [BZ #12751]
47346 * manual/memory.texi: Document MTASC-safety properties.
47347
47348 * manual/math.texi: Document MTASC-safety properties.
47349
47350 * manual/locale.texi: Document MTASC-safety properties.
47351
47352 * manual/llio.texi: Document MTASC-safety properties.
47353
47354 * manual/libdl.texi: New.
47355
47356 * manual/lang.texi: Document MTASC-safety properties.
47357
47358 * manual/job.texi: Document MTASC-safety properties.
47359
47360 * manual/getopt.texi: Document MTASC-safety properties.
47361
47362 * manual/ctype.texi: Document MTASC-safety properties.
47363
47364 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47365
47366 [BZ #16046]
47367 * csu/libc-tls.c (static_map): Remove variable.
47368 (__libc_setup_tls): Use main executable's link map for TLS data.
47369 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47370 casing for LM_ID_BASE and GL(dl_nns).
47371 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47372 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47373 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47374 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47375 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47376 member.
47377 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47378 l_phnum members.
47379
47380 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47381
47382 * manual/debug.texi: Document MTASC-safety properties.
47383
47384 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47385
47386 [BZ #16510]
47387 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47388 of __x86_64__ when disabling x87 inline functions.
47389
47390 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47391
47392 * manual/charset.texi: Document MTASC-safety properties.
47393
47394 * manual/crypt.texi: Document MTASC-safety properties.
47395
47396 * manual/conf.texi: Document MTASC-safety properties.
47397
47398 * manual/arith.texi: Document MTASC-safety properties.
47399
47400 * manual/argp.texi: Document MTASC-safety properties.
47401
47402 * manual/macros.texi: Introduce macros to document multi
47403 thread, asynchronous signal and asynchronous cancellation
47404 safety properties.
47405 * manual/intro.texi: Introduce the properties themselves.
47406
47407 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47408
47409 * sysdeps/sh/sh4/Makefile: New file.
47410
47411 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47412
47413 * math/gen-libm-test.pl ($srcdir): New variable.
47414 ($auto_input): Use it.
47415
47416 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47417
47418 [BZ #16506]
47419 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47420 access beyond array bounds when parsing netgroups file.
47421
47422 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47423 the old buffer before realloc.
47424
47425 2014-01-27 Allan McRae <allan@archlinux.org>
47426
47427 * po/fr.po: Update French translation from translation project.
47428
47429 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47430
47431 * sysdeps/sh/libm-test-ulps: Regenerate.
47432
47433 2014-01-24 David S. Miller <davem@davemloft.net>
47434
47435 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47436
47437 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47438
47439 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47440 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47441
47442 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47443
47444 [BZ #16474]
47445 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47446 string pointers after reallocation.
47447
47448 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47449
47450 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47451 __SH4A__ instead of __SH_FPU_ANY__.
47452
47453 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47454
47455 * sysdeps/sh/fpu_control.h: New file.
47456 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47457 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47458 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47459 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47460 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47461 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47462 * sysdeps/sh/sys/ucontext.h: Remove.
47463 * sysdeps/sh/sys: Remove directory.
47464
47465 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47466
47467 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47468 s390/sys/ucontext.h.
47469 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47470 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47471
47472 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47473
47474 [BZ #15605]
47475 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47476
47477 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47478
47479 [BZ#16431]
47480 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47481 Adjust the vDSO correctly for internal calls.
47482 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47483
47484 2014-01-20 Allan McRae <allan@archlinux.org>
47485
47486 * po/ca.po: Update Catalan translation from translation project.
47487
47488 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47489
47490 * sysdeps/s390/sotruss-lib.c: New file.
47491
47492 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47493
47494 [BZ#16430]
47495 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47496 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47497 local calls issues by not having a PLT stub required for IFUNC calls.
47498 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47499
47500 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47501
47502 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47503 * math/test-fpucw-static.c: Likewise.
47504
47505 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47506
47507 [BZ #16453]
47508 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47509
47510 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47511
47512 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47513 implementation for powerpc.
47514
47515 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
47516
47517 [BZ #14782]
47518 * sysdeps/posix/system.c (__libc_system): Do not enable
47519 asynchronous cancellation.
47520
47521 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47522
47523 [BZ #16427]
47524 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47525 handling only for numbers special also in the IEEE case.
47526
47527 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47528
47529 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47530
47531 2014-01-11 Allan McRae <allan@archlinux.org>
47532
47533 * po/bg.po: Update Bulgarian translation from translation project.
47534
47535 * po/de.po: Update German translation from translation project.
47536
47537 2014-01-10 Roland McGrath <roland@hack.frob.com>
47538
47539 * sysdeps/generic/gcc-compat.h: New file.
47540
47541 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47542
47543 * benchtests/asin-inputs: Correct slow inputs.
47544 * benchtests/acos-inputs: Likewise.
47545
47546 2014-01-10 Allan McRae <allan@archlinux.org>
47547
47548 * po:sv.po: Update Swedish translation from translation project.
47549
47550 * po/vi.po: Update Vietnamese translation from translation project.
47551
47552 * po/eo.po: Update Esperanto translation from translation project.
47553
47554 * po/cs.po: Update Czech translation from translation project.
47555
47556 * po/nl.po: Update Dutch translation from translation project.
47557
47558 * po/pl.po: Update Polish translation from translation project.
47559
47560 * po/ru.po: Update Russian translation from translation project.
47561
47562 * po/uk.po: Update Ukrainian translation from translation project.
47563
47564 2014-01-08 Brooks Moses <bmoses@google.com>
47565
47566 * elf/dl-load.c: Fix comment typo.
47567
47568 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47569
47570 * po/header.pot: Rename to...
47571 * po/pot.header: ... this.
47572 * po/Makefile: Use pot.header.
47573
47574 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47575 Maxim Kuvyrkov <maxim@kugelworks.com>
47576
47577 [BZ #16394]
47578 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47579 SRC and DEST against LEN.
47580
47581 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47582
47583 [BZ #16414]
47584 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47585 implementation.
47586 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47587
47588 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47589
47590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47591
47592 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47593
47594 [BZ #16408]
47595 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47596 for large positive arguments.
47597
47598 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47599
47600 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47601
47602 * math/auto-libm-test-in: Mark various tests with
47603 xfail-rounding:ldbl-128ibm.
47604 * math/auto-libm-test-out: Regenerated.
47605
47606 [BZ #16407]
47607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47608 Increase overflow threshold.
47609
47610 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47611
47612 [BZ #14286]
47613 * stdio-common/vfprintf.c: Check for integer overflow.
47614
47615 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47616
47617 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47618 the first argument and return value of __tls_get_addr_internal.
47619
47620 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47621
47622 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47623 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47624
47625 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47626
47627 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47628 * sysdeps/s390/rtld-global-offsets.sym: New file.
47629 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47630 GLIBC_2.19 symbol.
47631 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47632 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47633 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47634 ... this.
47635 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47636 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47637 ... this.
47638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47639 Regenerate.
47640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47641 Regenerate.
47642 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47643 halfs of GPRs for high_gprs contexts.
47644 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47645 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47646 field.
47647 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47648 uc_flags field.
47649 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47650 64 bit versions:
47651 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47652 for high GPRs (uc_high_gprs) and for future extensions
47653 (__reserved).
47654 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47655 for future extensions (__reserved).
47656 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47657 64 bit versions:
47658 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47659 SC_HIGHGPRS offset definition.
47660 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47661 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47662
47663 * Versions.def: Add GLIBC_2.19 for libpthread.
47664 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47665 siglongjmp for libpthread with GLIBC_2.19 symver.
47666 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47667 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47668 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47669 * sysdeps/s390/__longjmp.c: New file.
47670 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47671 * sysdeps/s390/longjmp.c: New file.
47672 * sysdeps/s390/setjmp.S: New file.
47673 * sysdeps/s390/sigjmp.S: New file.
47674 * sysdeps/s390/v1-longjmp.c: New file.
47675 * sysdeps/s390/v1-setjmp.h: New file.
47676 * sysdeps/s390/v1-sigjmp.c: New file.
47677 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47678 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47679 GLIBC_2.19 version.
47680 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47681 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47682 versioned symbols for ____longjmp_chk.
47683 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47684 Likewise.
47685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47686 Regenerate.
47687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47688 Regenerate.
47689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47690 Regenerate.
47691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47692 Regenerate.
47693 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47694 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47695 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47696 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47697 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47698 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47699 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47700 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47701 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47702 * sysdeps/s390/rtld-__longjmp.c: New file.
47703 * sysdeps/s390/rtld-setjmp.S: New file.
47704
47705 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47706
47707 [BZ #16400]
47708 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47709 Return -__logl (x) for small positive arguments without evaluating
47710 a polynomial.
47711
47712 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47713
47714 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47715 Rename to ...
47716 (__ptrace_peeksiginfo_args): ... this.
47717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47718 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47720
47721 2014-01-06 Allan McRae <allan@archlinux.org>
47722
47723 * inet/netinet/in.h: Fix typo in comment.
47724
47725 2014-01-05 Andreas Jaeger <aj@suse.de>
47726
47727 * sysdeps/i386/fpu/libm-test-ulps: Update.
47728
47729 2014-01-05 Allan McRae <allan@archlinux.org>
47730
47731 * po/libc.pot: Regenerated.
47732
47733 * malloc/memusagestat.c: Fix gettext call formatting.
47734
47735 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47736
47737 * nscd/nscd.c: Improve usage() output.
47738
47739 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47740
47741 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47742 * sysdeps/unix/sysv/linux/configure: Regenerated.
47743 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47744 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47745
47746 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47747
47748 [BZ #16390]
47749 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47750 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47751
47752 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47753
47754 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47755 extra tokens at end of #undef directive.
47756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47757 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47758 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47759
47760 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47761
47762 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47763
47764 * math/auto-libm-test-in: Mark various tests with
47765 xfail-rounding:ldbl-128ibm.
47766 * math/auto-libm-test-out: Regenerated.
47767
47768 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47769
47770 [BZ #16386]
47771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47772 numbers with subnormal high part when calculating exponent.
47773
47774 [BZ #16385]
47775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47776 fabs.
47777
47778 [BZ #16384]
47779 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47780 M_LN2l.
47781 (__ieee754_acoshl): Use __log1pl not __log1p.
47782
47783 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47784
47785 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47786 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47787 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47788 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47789 (reused_arena, arena_get2): Convert to GNU style.
47790 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47791 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47792 (memalign_check, __malloc_set_state): Likewise.
47793 * malloc/mallocbug.c (main): Likewise.
47794 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47795 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47796 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47797 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47798 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47799 (__posix_memalign, malloc_info): Likewise.
47800 * malloc/malloc.h: Likewise.
47801 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47802 (mallochook, memalignhook, reallochook, mabort): Likewise.
47803 * malloc/mcheck.h: Likewise.
47804 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47805 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47806 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47807 * malloc/morecore.c (__default_morecore): Likewise.
47808 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47809 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47810 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47811 (print_and_abort): Likewise.
47812 * malloc/obstack.h: Likewise.
47813 * malloc/set-freeres.c (__libc_freeres): Likewise.
47814 * malloc/tst-mallocstate.c (main): Likewise.
47815 * malloc/tst-mtrace.c (main): Likewise.
47816 * malloc/tst-realloc.c (do_test): Likewise.
47817
47818 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47819
47820 [BZ #16366]
47821 * nscd/netgroupcache.c (do_notfound): New function.
47822 (addgetnetgrentX): Use it.
47823
47824 [BZ # 16365]
47825 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47826 NSS_STATUS_NOTFOUND.
47827
47828 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47829
47830 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47832
47833 2014-01-01 Allan McRae <allan@archlinux.org>
47834
47835 * scripts/update-copyrights: Update configure input file suffix.
47836
47837 * NEWS: Update copyright year.
47838 * catgets/gencat.c: Likewise.
47839 * csu/version.c: Likewise.
47840 * debug/catchsegv.sh: Likewise.
47841 * debug/pcprofiledump.c: Likewise.
47842 * debug/xtrace.sh: Likewise.
47843 * elf/ldconfig.c: Likewise.
47844 * elf/ldd.bash.in: Likewise.
47845 * elf/pldd.c: Likewise.
47846 * elf/sotruss.ksh: Likewise.
47847 * elf/sprof.c: Likewise.
47848 * iconv/iconv_prog.c: Likewise.
47849 * iconv/iconvconfig.c: Likewise.
47850 * locale/programs/locale.c: Likewise.
47851 * locale/programs/localedef.c: Likewise.
47852 * login/programs/pt_chown.c: Likewise.
47853 * malloc/memusage.sh: Likewise.
47854 * malloc/memusagestat.c: Likewise.
47855 * malloc/mtrace.pl: Likewise.
47856 * manual/libc.texinfo: Likewise.
47857 * nscd/nscd.c: Likewise.
47858 * nss/getent.c: Likewise.
47859 * nss/makedb.c: Likewise.
47860 * posix/getconf.c: Likewise.
47861 * scripts/test-installation.pl: Likewise.
47862
47863 * All files with FSF copyright notices: Update copyright dates
47864 using scripts/update-copyrights.
47865 * intl/plural.c: Regenerated.
47866 * locale/programs/charmap-kw.h: Likewise.
47867 * locale/programs/locfile-kw.h: Likewise.
47868
47869 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47870
47871 * sysdeps/unix/sysv/linux/configure: Regenerated.
47872 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47873 the linux/fanotify.h header.
47874 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47875 HAVE_LINUX_FANOTIFY_H is defined.
47876
47877 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47878
47879 * benchtests/cos-inputs: New inputs.
47880 * benchtests/sin-inputs: Likewise.
47881
47882 * benchtests/atan-inputs: New inputs. Fix name of multiple
47883 precision fallback inputs.
47884
47885 * benchtests/atanh-inputs: New inputs.
47886 * benchtests/tanh-inputs: Likewise.
47887
47888 * benchtests/acosh-inputs: New inputs.
47889 * benchtests/asinh-inputs: Likewise.
47890
47891 * benchtests/cosh-inputs: New inputs.
47892 * benchtests/sinh-inputs: Likewise.
47893
47894 * benchtests/acos-inputs: Add more inputs.
47895 * benchtests/asin-inputs: Likewise.
47896
47897 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47898
47899 [BZ #16375]
47900 * manual/arith.texi: Fix spelling.
47901 * manual/charset.texi: Likewise.
47902 * manual/errno.texi: Likewise.
47903 * manual/filesys.texi: Likewise.
47904 * manual/lang.texi: Likewise.
47905 * manual/llio.texi: Likewise.
47906 * manual/locale.texi: Likewise.
47907 * manual/message.texi: Likewise.
47908 * manual/resource.texi: Likewise.
47909 * manual/search.texi: Likewise.
47910 * manual/setjmp.texi: Likewise.
47911 * manual/stdio.texi: Likewise.
47912 * manual/string.texi: Likewise.
47913 * manual/sysinfo.texi: Likewise.
47914 * manual/time.texi: Likewise.
47915
47916 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47917
47918 * po/sl.po: New file.
47919
47920 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47921
47922 * .gitignore: Add core/.gdbinit/.gdb_history.
47923
47924 2013-12-27 Allan McRae <allan@archlinux.org>
47925
47926 [BZ #16369]
47927 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47928 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47929
47930 2013-12-24 Brooks Moses <bmoses@google.com>
47931
47932 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47933 all compilers that claim C++98 compliance, not just GCC.
47934 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47935 Likewise.
47936
47937 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47938
47939 * NEWS: Restore accidentally deleted bug-fix entries.
47940
47941 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47942 Ondřej Bílka <neleai@seznam.cz>
47943
47944 [BZ #15073]
47945 * malloc/malloc.c (_int_free): Perform sanity check only if we
47946 have_lock.
47947
47948 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47949
47950 [BZ #12986]
47951 * manual/stdio.texi (String Input Conversions): Clarify that character
47952 classes are not supported.
47953
47954 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47955
47956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47957
47958 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47959
47960 [BZ #16337]
47961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47962 Calculate results for small negative arguments directly rather
47963 than using reflection formula with special underflow handling.
47964
47965 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47966 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47967 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47968 (fchflags): Likewise.
47969 (revoke): Likewise.
47970 (setlogin): Likewise.
47971 (sigaltstack): Likewise.
47972 (wait4): Likewise.
47973 (sigblock): Remove.
47974 (sigsetmask): Likewise.
47975 (wait3): Likewise.
47976 (waitpid): Likewise.
47977 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47978 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47979 file.
47980 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47981 * sysdeps/unix/bsd/Makefile: ... here.
47982 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47983 * sysdeps/unix/bsd/Versions: ... here.
47984 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47985 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47986 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47987 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47988 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47989 * sysdeps/unix/bsd/sigblock.c: ... here.
47990 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47991 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47992 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47993 * sysdeps/unix/bsd/sigvec.c: ... here.
47994 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47995 * sysdeps/unix/bsd/tcdrain.c: ... here.
47996 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47997 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47998 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47999 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48000 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48001 * sysdeps/unix/bsd/wait.c: ... here.
48002 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48003 * sysdeps/unix/bsd/wait3.c: ... here.
48004 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48005 * sysdeps/unix/bsd/waitpid.c: ... here.
48006
48007 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48008
48009 [BZ #16356]
48010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48011 round-to-nearest for [!USE_AS_EXPM1L].
48012 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48013 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48014 more tests of exp and exp10. Expect some exp10 tests to miss
48015 exceptions or fail in directed rounding modes.
48016 * math/auto-libm-test-out: Regenerated.
48017 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48018 (exp10_test_tonearest): New function.
48019 (exp10_towardzero_test_data): New array.
48020 (exp10_test_towardzero): New function.
48021 (exp10_downward_test_data): New array.
48022 (exp10_test_downward): New function.
48023 (exp10_upward_test_data): New array.
48024 (exp10_test_upward): New function.
48025 (main): Call the new functions.
48026 * sysdeps/i386/fpu/libm-test-ulps: Update.
48027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48028
48029 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48030
48031 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48032 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48033 * math/auto-libm-test-out: Regenerated.
48034 * math/libm-test.inc (acosh_test_data): Add more tests.
48035 (atanh_test_data): Likewise.
48036 (ceil_test_data): Likewise.
48037 (copysign_test_data): Likewise.
48038 * sysdeps/i386/fpu/libm-test-ulps: Update.
48039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48040
48041 * timezone/checktab.awk: Update from tzcode 2013i.
48042 * timezone/private.h: Likewise.
48043 * timezone/scheck.c: Likewise.
48044 * timezone/tzfile.h: Likewise.
48045 * timezone/tzselect.ksh: Likewise.
48046 * timezone/zdump.c: Likewise.
48047 * timezone/zic.c: Likewise.
48048
48049 * math/auto-libm-test-in: Add tests of cpow.
48050 * math/auto-libm-test-out: Regenerated.
48051 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48052 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48053 mpc_cc_c.
48054 (func_calc_desc): Add mpc_cc_c union field.
48055 (test_functions): Add cpow.
48056 (special_fill_2pi): New function.
48057 (special_real_inputs): Add 2pi.
48058 (calc_generic_results): Handle mpc_cc_c.
48059 * sysdeps/i386/fpu/libm-test-ulps: Update.
48060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48061
48062 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48063 csqrt, ctan and ctanh.
48064 * math/auto-libm-test-out: Regenerated.
48065 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48066 (TEST_COND_x86): Likewise.
48067 (ccos_test_data): Use AUTO_TESTS_c_c.
48068 (ccosh_test_data): Likewise.
48069 (cexp_test_data): Likewise.
48070 (clog_test_data): Likewise.
48071 (csqrt_test_data): Likewise.
48072 (ctan_test_data): Likewise.
48073 (ctan_tonearest_test_data): Likewise.
48074 (ctan_towardzero_test_data): Likewise.
48075 (ctan_downward_test_data): Likewise.
48076 (ctan_upward_test_data): Likewise.
48077 (ctanh_test_data): Likewise.
48078 (ctanh_tonearest_test_data): Likewise.
48079 (ctanh_towardzero_test_data): Likewise.
48080 (ctanh_downward_test_data): Likewise.
48081 (ctanh_upward_test_data): Likewise.
48082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48083 mpc_c_c.
48084 (func_calc_desc): Add mpc_c_c union field.
48085 (FUNC_mpc_c_c): New macro.
48086 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48087 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48088 ctanh.
48089 (special_fill_min_subnorm_p120): New function.
48090 (special_real_inputs): Add min_subnorm_p120.
48091 (calc_generic_results): Handle mpc_c_c.
48092 * sysdeps/i386/fpu/libm-test-ulps: Update.
48093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48094
48095 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48096
48097 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48098 (do_sin_slow): New functions.
48099 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48100 (cslow2, csloww1, csloww2): Use the new functions.
48101
48102 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48103 Use M to change sign of result instead of X. Assume X is
48104 positive.
48105 (csloww1): Likewise.
48106 (__sin): Adjust.
48107 (__cos): Adjust.
48108
48109 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48110 arguments A and DA.
48111 (__sin): Adjust.
48112 (__cos): Likewise.
48113
48114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48115 (__cos): Likewise.
48116 (sloww1): Don't adjust sign of DX.
48117 (csloww1): Likewise.
48118 (sloww2): Use X directly and don't adjust sign of DX.
48119 (csloww2): Likewise.
48120
48121 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48122
48123 * math/auto-libm-test-in: Add tests of cabs and carg.
48124 * math/auto-libm-test-out: Regenerated.
48125 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48126 (carg_test_data): Likewise.
48127 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48128 mpc_c_f.
48129 (func_calc_desc): Add mpc_c_f union field.
48130 (test_functions): Add cabs and carg.
48131 (calc_generic_results): Handle mpc_c_f.
48132
48133 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48134 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48135 as a macro and a compat symbol.
48136 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48137 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48138 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48139 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48140 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48141 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48142 not use .hidden.
48143 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48144 Likewise.
48145 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48146 Likewise.
48147 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48148 Likewise.
48149 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48150 Likewise.
48151 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48152 Likewise.
48153 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48154 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48155 from GLIBC_2.3.2.
48156
48157 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48158
48159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48160
48161 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48162
48163 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48164 trailing whitespace removed.
48165 * scripts/config.guess: Update to version 2013-11-29.
48166 * scripts/config.sub: Update to version 2013-10-01.
48167
48168 * math/auto-libm-test-in: Add tests of sincos.
48169 * math/auto-libm-test-out: Regenerated.
48170 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48171 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48172 mpfr_f_11.
48173 (func_calc_desc): Add mpfr_f_11 union field.
48174 (test_functions): Add sincos.
48175 (calc_generic_results): Handle mpfr_f_11.
48176 * sysdeps/i386/fpu/libm-test-ulps: Update.
48177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48178
48179 2013-12-19 Andreas Schwab <schwab@suse.de>
48180
48181 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48182 CALL_MCOUNT.
48183 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48184 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48185 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48186
48187 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48188
48189 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48190 * sysdeps/i386/fpu/libm-test-ulps: Update.
48191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48192
48193 [BZ #16293]
48194 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48195 round-to-nearest mode when using frndint.
48196 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48197 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48198 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48199 Likewise.
48200 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48201 sinh test to fail.
48202 * math/auto-libm-test-out: Regenerated.
48203 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48204 (TEST_COND_x86): Likewise.
48205 (expm1_tonearest_test_data): New array.
48206 (expm1_test_tonearest): New function.
48207 (expm1_towardzero_test_data): New array.
48208 (expm1_test_towardzero): New function.
48209 (expm1_downward_test_data): New array.
48210 (expm1_test_downward): New function.
48211 (expm1_upward_test_data): New array.
48212 (expm1_test_upward): New function.
48213 (main): Run the new test functions.
48214 * sysdeps/i386/fpu/libm-test-ulps: Update.
48215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48216
48217 * include/features.h: Update comment documenting feature test
48218 macros. Mention _DEFAULT_SOURCE in comment.
48219 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48220 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48221 _BSD_SOURCE and _SVID_SOURCE.
48222 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48223 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48224 !_SVID_SOURCE]: Likewise.
48225 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48226 (__USE_POSIX_IMPLICITLY): Define.
48227 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48228 (_POSIX_SOURCE): Undefine and redefine.
48229 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48230 (_POSIX_C_SOURCE): Likewise.
48231 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48232 (Feature Test Macros): Update documentation of default features.
48233
48234 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48235
48236 * benchtests/Makefile: Add bench-strtok.
48237 * benchtests/bench-strtok.c: New file: strtok benchtest.
48238
48239 2013-12-19 Allan McRae <allan@archlinux.org>
48240
48241 * manual/install.texi: Suppress menu for plain text output.
48242 * INSTALL: Regenerated.
48243
48244 2013-12-18 Brooks Moses <bmoses@google.com>
48245
48246 [BZ #15846]
48247 * misc/getauxval.c: Include errno.h.
48248 (__getauxval): Set errno to ENOENT if the requested type is not
48249 found.
48250 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48251 don't declare with __attribute_const__.
48252 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48253 * manual/startup.texi: Document that getauxval sets errno.
48254
48255 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48256
48257 * math/auto-libm-test-in: Add tests of jn and yn.
48258 * math/auto-libm-test-out: Regenerated.
48259 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48260 (yn_test_data): Likewise.
48261 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48262 mpfr_if_f.
48263 (func_calc_desc): Add mpfr_if_f union field.
48264 (FUNC_mpfr_if_f): New macro.
48265 (test_functions): Add jn and yn.
48266 (calc_generic_results): Assert type of second input for
48267 mpfr_ff_f. Handle mpfr_if_f.
48268 (output_for_one_input_case): Disable all checking for arguments
48269 fitting floating-point types in case of an integer argument.
48270 * sysdeps/i386/fpu/libm-test-ulps: Update.
48271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48272
48273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48274 Don't expect fegetround reference in libm.so.
48275
48276 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48277
48278 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48279 $(config-cflags-nofma).
48280
48281 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48282
48283 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48284 * math/auto-libm-test-out: Regenerated.
48285
48286 [BZ #16338]
48287 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48288 to determine exponent and adjust argument to have exponent of -1.
48289 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48290 log2.
48291 * math/auto-libm-test-out: Regenerated.
48292 * sysdeps/i386/fpu/libm-test-ulps: Update.
48293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48294
48295 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48296
48297 * manual/probes.texi: Remove cases when per-thread arenas are
48298 disabled.
48299
48300 2013-12-18 Andreas Schwab <schwab@suse.de>
48301
48302 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48303 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48304 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48305 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48306 * sysdeps/i386/i686/multiarch/Makefile: Update.
48307 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48308
48309 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48310
48311 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48312 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48313
48314 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48315
48316 [BZ #15968]
48317 Support TZ transition times < 00:00:00.
48318 This is needed for version-3 tz-format files; it supports time
48319 stamps past 2037 for America/Godthab (the only entry in the tz
48320 database for which this change is relevant).
48321 * manual/time.texi (TZ Variable): Document transition times
48322 from -167:59:59 through -00:00:01.
48323 * time/tzset.c (tz_rule): Time of day is now signed.
48324 (__tzset_parse_tz): Parse negative time of day.
48325
48326 Document TZ transition times >= 25:00:00.
48327 * manual/time.texi (TZ Variable): Document transition times from
48328 25:00:00 through 167:59:59. These are already supported, and this
48329 support will help with version-3 tz-format files.
48330
48331 * manual/time.texi (TZ Variable): Modernize North America example
48332 to reflect current (i.e., 2007-and-later) daylight saving rules.
48333
48334 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48335
48336 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48337
48338 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48339 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48342 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48343 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48344 * sysdeps/unix/bsd/clock.c: Likewise.
48345 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48346 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48347 * sysdeps/unix/bsd/init-posix.c: Likewise.
48348 * sysdeps/unix/bsd/poll.c: Likewise.
48349 * sysdeps/unix/bsd/ptsname.c: Likewise.
48350 * sysdeps/unix/bsd/seekdir.c: Likewise.
48351 * sysdeps/unix/bsd/setegid.c: Likewise.
48352 * sysdeps/unix/bsd/seteuid.c: Likewise.
48353 * sysdeps/unix/bsd/setgid.c: Likewise.
48354 * sysdeps/unix/bsd/setrgid.c: Likewise.
48355 * sysdeps/unix/bsd/setruid.c: Likewise.
48356 * sysdeps/unix/bsd/setsid.c: Likewise.
48357 * sysdeps/unix/bsd/setuid.c: Likewise.
48358 * sysdeps/unix/bsd/sigaction.c: Likewise.
48359 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48360 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48361 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48362 * sysdeps/unix/bsd/telldir.c: Likewise.
48363 * sysdeps/unix/bsd/times.c: Likewise.
48364 * sysdeps/unix/bsd/usleep.c: Likewise.
48365
48366 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48367 ($(objpfx)libbsd-compat.a): Remove rule.
48368
48369 * include/features.h (__FAVOR_BSD): Do not define.
48370 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48371 features conflicting with POSIX.
48372 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48373 (_BSD_SOURCE): Remove description of not being a subset of other
48374 feature test macros.
48375 * manual/job.texi (getpgrp): Do not document BSD version.
48376 (getpgid): Do not document by reference to BSD getpgrp.
48377 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48378 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48379 * signal/signal.h [__FAVOR_BSD]: Likewise.
48380 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48381 instead of making contents conditional on [__FAVOR_BSD].
48382 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48383
48384 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48385
48386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48387
48388 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48389
48390 [BZ #16314]
48391 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48392 values below 2**-450, not 2**-500.
48393 * math/auto-libm-test-in: Don't allow spurious underflow from
48394 hypot.
48395 * math/auto-libm-test-out: Regenerated.
48396
48397 [BZ #16316]
48398 [BZ #16330]
48399 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48400 values of ha and hb and sort them after adjusting subnormal
48401 arguments.
48402 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48403 Likewise.
48404 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48405 values of ea and eb and sort them after adjusting subnormal
48406 arguments.
48407 * math/auto-libm-test-in: Do not expect some hypot tests of
48408 subnormals to fail. Add more hypot tests.
48409 * math/auto-libm-test-out: Regenerated.
48410
48411 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48412
48413 [BZ #13304]
48414 * sysdeps/sh/s_fma.c: New file.
48415 * sysdeps/sh/s_fmaf.c: New file.
48416 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48417 version.
48418 * sysdeps/sh/Implies: Add sh/soft-fp.
48419
48420 2013-12-16 Roland McGrath <roland@hack.frob.com>
48421
48422 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48423 level of indirection to members `objname', `errstring', `malloced'.
48424 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48425 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48426 it as the __longjmp argument (just pass 1 instead).
48427 (_dl_catch_error): Initialize C with argument pointers and address of
48428 volatile local ERRCODE rather than copying values out of C at return.
48429
48430 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48431
48432 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48433 * math/auto-libm-test-out: Regenerated.
48434 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48435 (hypot_test_data): Likewise.
48436 (pow_test_data): Likewise.
48437 (pow_tonearest_test_data): Likewise.
48438 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48439 mpfr_ff_f.
48440 (func_calc_desc): Add mpfr_ff_f union field.
48441 (FUNC_mpfr_ff_f): New macro.
48442 (test_functions): Add atan2, hypot and pow.
48443 (special_fill_min): New function.
48444 (special_fill_minus_min): Likewise.
48445 (special_fill_min_subnorm): Likewise.
48446 (special_fill_minus_min_subnorm): Likewise.
48447 (special_real_inputs): Add min, -min, min_subnorm and
48448 -min_subnorm.
48449 (calc_generic_results): Handle mpfr_ff_f.
48450 * sysdeps/i386/fpu/libm-test-ulps: Update.
48451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48452
48453 2013-12-16 Will Newton <will.newton@linaro.org>
48454
48455 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48456 (Aligned Memory Blocks): Add documentation for aligned_alloc
48457 and suggest it as an alternative to posix_memalign.
48458 (Hooks for Malloc): Document __memalign_hook is also called
48459 for aligned_alloc. (Summary of Malloc): Add summary for
48460 aligned alloc. Document __memalign_hook is also called
48461 for aligned_alloc.
48462
48463 2013-12-16 Will Newton <will.newton@linaro.org>
48464
48465 * manual/memory.texi (Malloc Examples): Clarify default
48466 alignment documentation. Suggest posix_memalign rather
48467 than memalign or valloc.
48468 (Aligned Memory Blocks): Remove suggestion to use memalign
48469 or valloc. Remove obsolete comment about BSD.
48470 Document memalign errno values and mark the function obsolete.
48471 Document posix_memalign returned error codes. Mark valloc
48472 as obsolete. (Hooks for Malloc): __memalign_hook is also
48473 called for posix_memalign and valloc.
48474 (Summary of Malloc): Add posix_memalign to function summary.
48475 __memalign_hook is also called for posix_memalign and valloc.
48476
48477 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48478
48479 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48480 TAYLOR_SIN.
48481 (__sin): Adjust.
48482 (__cos): Likewise.
48483 (sloww): Use mynumber union. Expand ternary operator into
48484 if-else statements.
48485 (cslow): use mynumber union.
48486
48487 2013-12-16 Allan McRae <allan@archlinux.org>
48488
48489 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48490 * configure: Regenerated.
48491
48492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48493
48494 [BZ #14120]
48495 * configure.ac: Added --enable-maintainer-mode. Check for
48496 autoconf when enabled.
48497 * configure: Regenerated.
48498
48499 * nscd/nscd.service: New file.
48500 * nscd/nscd.tmpfiles: New file.
48501
48502 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48503
48504 [BZ #12100]
48505 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48506 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48507 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48508 (strstr): Add __strstr_sse2_unaligned ifunc.
48509 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48510 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48511 (strcasestr): Remove __strcasestr_sse42 ifunc.
48512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48515
48516 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48517
48518 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48519 * sysdeps/sh/bits/fenv.h: ... here.
48520 * sysdeps/sh/sh4/fpu/bits: Remove directory.
48521
48522 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48523
48524 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48525
48526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48527 hypotf multiarch implementations.
48528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48530 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48531 multiarch hypot for PPC64.
48532 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48534 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48535 multiarch hypotf for PPC64.
48536
48537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48538 modff multiarch implementations.
48539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48542 multiarch modf for PPC64.
48543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48546 multiarch modff for PPC64.
48547
48548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48549 and logl multiarch implementations.
48550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48553 multiarch logb for PPC64.
48554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48557 multiarch logb for PPC64.
48558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48561 multiarch logb for PPC64.
48562
48563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48564 isinff multiarch implementation.
48565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48566 file.
48567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48569 multiarch isinf for PPC64.
48570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48571 file.
48572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48573 multiarch isinff for PPC64.
48574
48575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48576 finitef multiarch implementation.
48577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48578 file.
48579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48581 multiarch finite for PPC64.
48582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48583 file.
48584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48585 multiarch finitef for PPC64.
48586
48587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48588 lrint multiarch implementation.
48589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48590 file.
48591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48593 multiarch llrint for PPC64.
48594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48595 multiarch lrint for PPC64.
48596
48597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48598 copysignf multiarch implementation.
48599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48600 file.
48601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48602 file.
48603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48604 multiarch copysign for PPC64.
48605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48606 multiarch copysignf for PPC64.
48607
48608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48609 multiarch implementation.
48610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48611 file.
48612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48613 file.
48614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48615 file.
48616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48617 file.
48618 multiarch llround for PPC64.
48619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48620 multiarch trunc for PPC64.
48621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48622 multiarch truncf for PPC64.
48623
48624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48625 multiarch implementation.
48626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48627 file.
48628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48629 file.
48630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48631 file.
48632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48633 file.
48634 multiarch llround for PPC64.
48635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48636 multiarch round for PPC64.
48637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48638 multiarch roundf for PPC64.
48639
48640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48641 multiarch implementation.
48642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48643 file.
48644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48645 file.
48646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48647 file.
48648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48649 file.
48650 multiarch llround for PPC64.
48651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48652 multiarch floor for PPC64.
48653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48654 multiarch floorf for PPC64.
48655
48656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48657 multiarch implementation.
48658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48659 file.
48660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48661 file.
48662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48663 file.
48664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48665 file.
48666 multiarch llround for PPC64.
48667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48668 multiarch ceil for PPC64.
48669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48670 multiarch ceilf for PPC64.
48671
48672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48673 multiarch implementation.
48674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48675 file.
48676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48677 file.
48678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48679 file.
48680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48681 multiarch llround for PPC64.
48682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48683 multiarch lround for PPC64.
48684
48685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48686 multiarch implementation.
48687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48690 file.
48691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48694 multiarch isnan for PPC64.
48695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48696 multiarch isnanf for PPC64.
48697
48698 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48699 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48700 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48701 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48702 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48704
48705 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48706 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48709
48710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48711 multiarch implementations.
48712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48713 (__libc_ifunc_impl_list): Likewise.
48714 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48715 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48716 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48717 multiarch stpcpy for PPC64.
48718
48719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48720 multiarch implementations.
48721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48722 (__libc_ifunc_impl_list): Likewise.
48723 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48724 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48725 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48726 multiarch strcpy for PPC64.
48727
48728 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48729 redefine function name.
48730 (_wordcopy_fwd_dest_aligned): Likewise.
48731 (_wordcopy_bwd_aligned): Likewise.
48732 (_wordcopy_bwd_dest_aligned): Likewise.
48733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48734 multiarch implementations.
48735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48736 (__libc_ifunc_impl_list): Likewise.
48737 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48738 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48739 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48740 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48741 multiarch wcscpy for PPC64.
48742
48743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48744 multiarch implementations.
48745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48746 (__libc_ifunc_impl_list): Likewise.
48747 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48748 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48749 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48751 multiarch wcscpy for PPC64.
48752
48753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48754 multiarch implementations.
48755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48756 (__libc_ifunc_impl_list): Likewise.
48757 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48758 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48759 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48760 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48761 multiarch wcsrchr for PPC64.
48762
48763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48764 multiarch implementations.
48765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48766 (__libc_ifunc_impl_list): Likewise.
48767 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48768 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48769 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48770 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48771 multiarch wcschr for PPC64.
48772
48773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48774 multiarch implementations.
48775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48776 (__libc_ifunc_impl_list): Likewise.
48777 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48778 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48779 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48780 multiarch strchrnul for PPC64.
48781
48782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48783 implementations.
48784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48785 (__libc_ifunc_impl_list): Likewise.
48786 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48787 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48788 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48789 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48790 strchr for PPC64.
48791
48792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48793 implementations.
48794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48795 (__libc_ifunc_impl_list): Likewise.
48796 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48797 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48798 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48799 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48800 strncmp for PPC64.
48801
48802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48803 multiarch implementations.
48804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48805 (__libc_ifunc_impl_list): Likewise.
48806 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48807 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48808 strncasecmp for PPC64.
48809 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48810 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48811 multiarch strncasecmp_l for PPC64.
48812
48813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48814 multiarch implementations.
48815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48816 (__libc_ifunc_impl_list): Likewise.
48817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48818 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48819 multiarch strcasecmp for PPC64.
48820 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48821 file.
48822 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48823 multiarch strcasecmp_l for PPC64.
48824
48825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48826 implementations.
48827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48828 (__libc_ifunc_impl_list): Likewise.
48829 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48830 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48831 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48832 strnlen for PPC64.
48833
48834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48835 implementations.
48836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48837 (__libc_ifunc_impl_list): Likewise.
48838 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48839 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48840 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48841 strlen for PPC64.
48842
48843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48844 implementations.
48845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48846 (__libc_ifunc_impl_list): Likewise.
48847 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48848 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48849 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48850 rawmemrchr for PPC64.
48851
48852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48853 implementation.
48854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48855 (__libc_ifunc_impl_list): Likewise.
48856 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48857 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48858 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48859 memrchr for PPC64.
48860
48861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48862 implementation.
48863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48864 (__libc_ifunc_impl_list): Likewise.
48865 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48866 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48867 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48868 memchr for PPC64.
48869
48870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48871 implementation.
48872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48873 (__libc_ifunc_impl_list): Likewise.
48874 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48875 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48876 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48877 mempcpy for PPC64.
48878
48879 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48880 avoid cretion of __bzero symbol.
48881 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48882 Likewise.
48883 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48884 Likewise.
48885 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48886 Likewise.
48887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48888 multiarch implementations.
48889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48890 (__libc_ifunc_impl_list): Likewise.
48891 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48892 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48893 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48894 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48895 bzero for PPC32.
48896 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48897 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48898 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48899 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48900 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48901 memset for PPC64.
48902 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48903
48904 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48906 implementations.
48907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48908 (__libc_ifunc_impl_list): Likewise.
48909 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48910 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48911 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48912 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48913 memcmp for PPC64.
48914
48915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48916 multiarch for POWER/PPC64.
48917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48918 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48920 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48921 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48923 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48924 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48925 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48926 memcpy for PPC64.
48927
48928 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48929 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48930 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48931 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48932 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48933 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48934 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48935 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48936 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48937 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48938 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48939 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48940 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48941 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48942 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48950
48951 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48952
48953 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48954
48955 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48956
48957 * benchtests/Makefile (bench): Add exp2 and log2.
48958 (LDLIBS-bench-exp2): Add -lm.
48959 (LDLIBS-bench-log2): Likewise.
48960 * benchtests/exp2-inputs: New inputs file.
48961 * benchtests/log2-inputs: New inputs file.
48962 * benchtests/log-inputs: Add new inputs.
48963 * benchtests/tan-inputs: Likewise.
48964
48965 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48966
48967 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48968 definition...
48969 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48970 (csloww2): ... from here.
48971
48972 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48973 instead of structures.
48974 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48975 (POLYNOMIAL): Likewise.
48976 (TAYLOR_SLOW): Likewise.
48977 (__sin): Likewise.
48978 (__cos): Likewise.
48979 (slow1): Likewise.
48980 (slow2): Likewise.
48981 (sloww): Likewise.
48982 (sloww1); Likewise.
48983 (sloww2): Likewise.
48984 (bsloww1): Likewise.
48985 (bsloww2): Likewise.
48986 (cslow2): Likewise.
48987 (csloww): Likewise.
48988 (csloww1): Likewise.
48989 (csloww2): Likewise.
48990
48991 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48992
48993 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48994 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48995 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48996 * malloc/hooks.c (realloc_check): Likewise.
48997
48998 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48999 * malloc/arena.c: Remove PER_THREAD conditional.
49000 [!PER_THREAD]: Remove code.
49001 (ptmalloc_unlock_all2): Likewise.
49002 (ptmalloc_init): Likewise.
49003 (_int_new_arena): Likewise.
49004 (arena_get2): Likewise.
49005 * malloc/hooks.c (__malloc_get_state): Likewise.
49006 (__malloc_set_state): Likewise.
49007 * malloc/malloc.c: Likewise.
49008 (struct malloc_state): Likewise.
49009 (struct malloc_par): Likewise.
49010 (__libc_realloc): Likewise.
49011 (__libc_mallopt): Likewise.
49012
49013 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49014
49015 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49016
49017 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49018
49019 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49020 macro to a function. Check for zero perturb_byte.
49021 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49022
49023 * malloc/malloc.c: (force_reg): Remove.
49024 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49025 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49026 force_reg by atomic_forced_read.
49027 * malloc/arena.c (ptmalloc_init): Likewise.
49028 * malloc/hooks.c (top_check): Likewise.
49029
49030 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49031
49032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49033
49034 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49035
49036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49037
49038 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49039
49040 * math/auto-libm-test-in: Add tests of lgamma.
49041 * math/auto-libm-test-out: Regenerated.
49042 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49043 (M_LOG_2_SQRT_PIl): Likewise.
49044 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49045 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49046 mpfr_f_f1.
49047 (func_calc_desc): Add mpfr_f_f1 union field.
49048 (ARGS1): New macro.
49049 (ARGS2): Likewise.
49050 (ARGS3): Likewise.
49051 (ARGS4): Likewise.
49052 (RET1): Likewise.
49053 (RET2): Likewise.
49054 (CALC): Likewise.
49055 (FUNC): Likewise.
49056 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49057 (test_functions): Add lgamma.
49058 (calc_generic_results): Handle mpfr_f_f1.
49059 * sysdeps/i386/fpu/libm-test-ulps: Update.
49060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49061
49062 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49063
49064 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49065 __mpn_add_n for PowerPC64/POWER7.
49066 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49067 __mpn_sub_n for PowerPC64/POWER7.
49068
49069 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49070 __mpn_addmul_1 for PowerPC64.
49071 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49072 __mpn_submul_1 for PowerPC64.
49073 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49074 for PowerPC64.
49075 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49076 for PowerPC64.
49077
49078 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49079
49080 [BZ #15089]
49081 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49082
49083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49084
49085 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49086
49087 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49088 add multiarch folders.
49089 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49090 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49091 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49092 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49093 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49094 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49095 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49096 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49097 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49098 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49099 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49106
49107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49108 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49110 New file.
49111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49112 New file.
49113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49114 multiarch __ieee754_hypot for PowerPC32.
49115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49116 New file.
49117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49118 New file.
49119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49120 multiarch __ieee754_hypotf for PowerPC32.
49121
49122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49123 long_double_symbol only if __logbl is defined.
49124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49125 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49127 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49129 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49131 path for implementation.
49132 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49135 logb, and logbl multiarch implementations for PowerPC32.
49136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49137 file.
49138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49139 file.
49140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49141 multiarch logb for PowerPC32.
49142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49143 file.
49144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49145 file.
49146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49147 multiarch logbf for PowerPC32.
49148 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49150 file.
49151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49152 multiarch logbl implementation for PowerPC32.
49153
49154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49155 and modff multiarch implementations.
49156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49157 New file.
49158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49159 New file.
49160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49161 multiarch modf for PowerPC32.
49162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49163 New file.
49164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49165 New file.
49166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49167 multiarch modff for PowerPC32.
49168
49169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49170 and lrintf multiarch implementations.
49171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49172 New file.
49173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49174 New file.
49175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49176 multiarch lrint for PowerPC32.
49177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49178 file: multiarch lrintf for PowerPC32.
49179
49180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49181 and lroundf multiarch implementations.
49182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49183 New file.
49184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49185 New file.
49186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49187 New file.
49188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49189 multiarch lround for PowerPC32.
49190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49191 file: multiarch lroundf for PowerPC32.
49192
49193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49194 copysign and copysignf multiarch implementations.
49195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49196 New file.
49197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49198 New file.
49199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49200 file: multiarch copysign for PowerPC32.
49201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49202 file: multiarch copysignf for PowerPC32.
49203
49204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49205 and truncf multiarch implementations.
49206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49207 New file.
49208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49209 file.
49210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49211 multiarch trunc for PowerPC32.
49212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49213 New file.
49214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49215 New file.
49216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49217 multiarch truncf for PowerPC32.
49218
49219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49220 and roundf multiarch implementations.
49221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49222 New file.
49223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49224 file.
49225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49226 multiarch round for PowerPC32.
49227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49228 New file.
49229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49230 New file.
49231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49232 multiarch roundf for PowerPC32.
49233
49234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49235 and floorf multiarch implementations.
49236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49237 New file.
49238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49239 file.
49240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49241 multiarch floor for PowerPC32.
49242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49243 New file.
49244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49245 New file.
49246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49247 multiarch floorf for PowerPC32.
49248
49249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49250 and ceilf multiarch implementations.
49251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49252 New file.
49253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49254 file.
49255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49256 multiarch ceil for PowerPC32.
49257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49258 New file.
49259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49260 file.
49261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49262 multiarch ceilf for PowerPC32.
49263
49264 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49265 is defined.
49266 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49267 FINITEF is defined.
49268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49269 and finitef multiarch implementations.
49270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49271 New file.
49272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49273 file.
49274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49275 multiarch finite for PowerPC32.
49276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49277 New file.
49278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49279 file: multiarch finitef for PowerPC32.
49280
49281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49282 and isinff multiarch implementations.
49283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49284 file.
49285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49286 file.
49287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49288 multiarch isinf for PowerPC32.
49289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49290 New file.
49291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49292 multiarch isinff for PowerPC32.
49293
49294 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49295 alias when __isnan is defined.
49296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49297 and isnanf multiarch implementations.
49298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49299 file.
49300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49301 file.
49302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49303 file.
49304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49305 file.
49306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49307 multiarch isnan for PowerPC32.
49308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49309 New file.
49310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49311 New file.
49312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49313 multiarch isnanf for PowerPC32.
49314
49315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49316 and sqrtf multiarch implementations.
49317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49318 file.
49319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49320 file.
49321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49322 multiarch sqrt for PowerPC32.
49323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49324 file.
49325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49326 file.
49327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49328 multiarch sqrtf for PowerPC32.
49329
49330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49331 and llroundf multiarch implementations.
49332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49333 New file.
49334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49335 New file.
49336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49337 New file.
49338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49339 file: multiarch llround for PowerPC32.
49340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49341 file: multiarch llroundf for PowerPC32.
49342
49343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49344 multiarch PowerPC32 fpu implementations.
49345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49346 New file.
49347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49348 New file.
49349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49350 multiarch llrint for PowerPC32.
49351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49352 New file.
49353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49354 New file.
49355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49356 file.
49357
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49359
49360 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49361 file.
49362 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49363 file.
49364 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49365 file.
49366 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49367 multiarch wordcopy for PPC32.
49368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49369 wordcopy objects.
49370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49371 (__libc_ifunc_impl_list): Likewise.
49372 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49373 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49374 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49375 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49376 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49377 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49378
49379 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49381 file.
49382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49383 file.
49384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49385 file.
49386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49387 multiarch wcscpy for PPC32.
49388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49389 multiarch objects.
49390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49391 (__libc_ifunc_impl_list): Likewise.
49392 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49393 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49394 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49395 sysdeps/powerpc/power6/wcscpy.c.
49396
49397 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49399 file.
49400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49401 file.
49402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49403 file.
49404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49405 multiarch wcsrchr for PPC32.
49406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49407 multiarch objects.
49408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49409 (__libc_ifunc_impl_list): Likewise.
49410 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49411 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49412 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49413 sysdeps/powerpc/power6/wcsrchr.c.
49414
49415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49416 file.
49417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49418 file.
49419 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49421 multiarch wcschr for PPc32.
49422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49423 multiarch objects.
49424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49425 (__libc_ifunc_impl_list): Likewise.
49426 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49427 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49428 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49429 sysdeps/powerpc/power6/wcschr.c.
49430
49431 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49432 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49433 file.
49434 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49435 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49436 file: multiarch strchr for PPC32.
49437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49438 multiarch objects.
49439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49440 (__libc_ifunc_impl_list): Likewise.
49441
49442 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49443 name.
49444 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49445 file.
49446 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49447 file.
49448 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49449 multiarch strchrnul for PPC32.
49450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49451 multiarch objects.
49452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49453 (__libc_ifunc_impl_list): Likewise.
49454
49455 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49456 file.
49457 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49458 multiarch strncasecmp for PPC32.
49459 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49460 file.
49461 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49462 multiarch strncasecmp_l for PPC32.
49463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49464 strncasecmp multiarch objects.
49465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49466 (__libc_ifunc_impl_list): Likewise.
49467
49468 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49469 file.
49470 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49471 multiarch strncasecmp for PPC32.
49472 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49473 New file.
49474 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49475 multiarch strcasecmp_l for PPC32.
49476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49477 multiarch objects.
49478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49479 (__libc_ifunc_impl_list): Likewise.
49480
49481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49482 file.
49483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49484 file.
49485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49486 multiarch strncmp for PPC32.
49487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49488 multiarch objects.
49489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49490 (__libc_ifunc_impl_list): Likewise.
49491
49492 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49493 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49494 file.
49495 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49496 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49498 multiarch objects.
49499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49500 (__libc_ifunc_impl_list): Likewise.
49501
49502 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49503 file.
49504 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49505 file.
49506 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49508 multiarch objects.
49509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49510 (__libc_ifunc_impl_list): Likewise.
49511
49512 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49513 file.
49514 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49515 file.
49516 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49517 multiarch rawmemchr for PPC32.
49518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49519 multiarch objects.
49520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49521 (__libc_ifunc_impl_list): Likewise.
49522
49523 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49524 file.
49525 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49526 file.
49527 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49528 file: memrchr multiarch for PPC32.
49529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49530 multiarch objects.
49531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49532 (__libc_ifunc_impl_list): Likewise.
49533
49534 * string/memchr.c (__memchr): Using macro to redefine symbol name.
49535 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49536 file.
49537 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49538 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49539 multiarch memchr for PPC32.
49540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49541 multiarch objects.
49542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49543 (__libc_ifunc_impl_list): Likewise.
49544
49545 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49546 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49547 file.
49548 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49549 file.
49550 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49551 file: multiarch mempcpy for PPC32.
49552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49553 multiarch objects.
49554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49555 (__libc_ifunc_impl_list): Likewise.
49556
49557 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49558 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49559 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49560 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49561 multiarch bzero for PPC32.
49562 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49563 file.
49564 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49565 file.
49566 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49567 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49568 file: multiarch memset for PPC32.
49569 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49571 memset multiarch objects.
49572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49573 (__libc_ifunc_impl_list): Likewise.
49574
49575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49576 file.
49577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49579 memcmp for PPC32.
49580 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49582 multiarch objects.
49583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49584 (__libc_ifunc_impl_list): Likewise.
49585
49586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49589 file.
49590 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49591 file.
49592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49593 file.
49594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49595 multiarch memcpy for PPC32.
49596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49597 multiarch objects.
49598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49599 (__libc_ifunc_impl_list): Likewise.
49600
49601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49602 support multiarch for POWER/PPC32.
49603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49604 Likewise.
49605 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49607 Implies file to make multiarch folder appers before the fpu and
49608 default folder for power4 configuration.
49609
49610 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49611
49612 * scripts/bench.pl: Append volatile keyword to type.
49613
49614 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49615
49616 * sysdeps/sh/sotruss-lib.c: New file.
49617 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49618
49619 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49620
49621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49622
49623 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49624
49625 [BZ #6810]
49626 * math/w_tgamma.c: Include <errno.h>.
49627 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49628 * math/w_tgammaf.c: Include <errno.h>.
49629 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49630 * math/w_tgammal.c: Include <errno.h>.
49631 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49632 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49633 underflow. Add more tgamma tests.
49634 * math/auto-libm-test-out: Regenerated.
49635 * sysdeps/i386/fpu/libm-test-ulps: Update.
49636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49637
49638 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49639 sin, sinh, tan, tanh, tgamma, y0 and y1.
49640 * math/auto-libm-test-out: Regenerated.
49641 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49642 (TEST_COND_x86): Likewise.
49643 (M_E2l): Remove macro.
49644 (M_E3l): Likewise.
49645 (M_2_SQRT_PIl): Likewise.
49646 (M_SQRT_PIl): Likewise.
49647 (M_1_DIV_El): Likewise.
49648 (log_test_data): Use AUTO_TESTS_f_f.
49649 (log10_test_data): Likewise.
49650 (log1p_test_data): Likewise.
49651 (log2_test_data): Likewise.
49652 (sin_test_data): Likewise.
49653 (sin_tonearest_test_data): Likewise.
49654 (sin_towardzero_test_data): Likewise.
49655 (sin_downward_test_data): Likewise.
49656 (sin_upward_test_data): Likewise.
49657 (sinh_test_data): Likewise.
49658 (sinh_tonearest_test_data): Likewise.
49659 (sinh_towardzero_test_data): Likewise.
49660 (sinh_downward_test_data): Likewise.
49661 (sinh_upward_test_data): Likewise.
49662 (tan_test_data): Likewise.
49663 (tan_tonearest_test_data): Likewise.
49664 (tan_towardzero_test_data): Likewise.
49665 (tan_downward_test_data): Likewise.
49666 (tan_upward_test_data): Likewise.
49667 (tanh_test_data): Likewise.
49668 (tgamma_test_data): Likewise.
49669 (y0_test_data): Likewise.
49670 (y1_test_data): Likewise.
49671 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49672 (special_real_inputs): Add pi/4.
49673 * sysdeps/i386/fpu/libm-test-ulps: Update.
49674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49675
49676 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49677
49678 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49679 "longjmp_target" static probes.
49680 (__longjmp): Rename to __longjmp_symbol.
49681 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49682 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49683 on which longjmp to generate.
49684 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49686 probe.
49687 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49688 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49689 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49690 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49691 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49692 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49694 __longjmp_symbol based on which __longjmp to generate.
49695 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49696 probe.
49697 (setjmp): Rename to setjmp_symbol.
49698 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49699 (_setjmp): Rename to _setjmp_symbol.
49700 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49701 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49702 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49703 which setjmp to generate.
49704 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49705 "longjmp_target" static probes.
49706
49707 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49708
49709 * benchtests/README: Add note about output arguments.
49710 * benchtests/bench-sincos.c: Remove file.
49711 * benchtests/sincos-inputs: New file.
49712 * scripts/bench.pl: Identify output arguments and define
49713 static variables for them.
49714
49715 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49716
49717 [BZ #15941]
49718 * Makefile (INSTALL): Add install-plain.texi as the primary
49719 dependency.
49720 * manual/install-plain.texi: New file.
49721 * manual/install.texi: Include node directive only for
49722 non-plaintext output.
49723
49724 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49725
49726 * stdlib/longlong.h: Update from GCC.
49727
49728 [BZ #6807]
49729 [BZ #15901]
49730 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49731 * math/w_j0f.c (y0f): Likewise.
49732 * math/w_j0l.c (__y0l): Likewise.
49733 * math/w_j1.c (y1): Likewise.
49734 * math/w_j1f.c (y1f): Likewise.
49735 * math/w_j1l.c (__y1l): Likewise.
49736 * math/w_jn.c (yn): Likewise.
49737 * math/w_jnf.c (ynf): Likewise.
49738 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49739 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49740 value for Bessel function domain errors outside _SVID_ mode.
49741 Adjust sign of return value for yn (negative integer, 0).
49742 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49743 by zero in return for negative x and set sign appropriately for
49744 negative n.
49745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49746 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49747 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49748 expectations in error cases.
49749 (y1_test_data): Likewise.
49750 (yn_test_data): Likewise.
49751 * sysdeps/i386/fpu/libm-test-ulps: Update.
49752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49753
49754 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49755
49756 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49757 "64" to "64-v1". Add "64-v2".
49758 (abi-64-options): Rename to ...
49759 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49760 (abi-64-condition): Rename to ...
49761 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49762 (abi-64-ld-soname): Rename to ...
49763 (abi-64-v1-ld-soname): ... this.
49764 (abi-64-v2-options): Define.
49765 (abi-64-v2-condition): Likewise.
49766 (abi-64-v2-ld-soname): Likewise.
49767 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49768 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49772
49773 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49774 Alan Modra <amodra@gmail.com>
49775
49776 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49777 New versions for use with the ELFv2 ABI.
49778 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49779 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49780 declaration.
49781 (struct La_ppc64v2_retval): Likewise.
49782 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49783 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49784 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49785 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49786 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49787 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49788 Do not save or restore CR.
49789 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49790 (_dl_profile_resolve): Do no save or restore CR. Support extended
49791 return values for ELFv2 ABI. Fix location of FPR return registers.
49792 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49793 updated values for _CALL_ELF == 2.
49794 (La_regs, La_retval, int_retval): Likewise.
49795
49796 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49797
49798 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49799 (FRAME_MIN_SIZE_PARM): Likewise.
49800 (FRAME_BACKCHAIN): Likewise.
49801 (FRAME_CR_SAVE): Likewise.
49802 (FRAME_LR_SAVE): Likewise.
49803 (FRAME_TOC_SAVE): Likewise.
49804 (FRAME_PARM_SAVE): Likewise.
49805 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49806 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49807 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49808 (call_mcount_parm_offset): New macro.
49809 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49810 (PROF): Use symbolic stack frame offsets.
49811 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49812 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49813 Redefine in terms of FRAME_MIN_SIZE.
49814 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49815 (_dl_profile_resolve): Likewise. Update comment.
49816 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49817 symbols stack frame offsets.
49818 (__sigsetjmp): Likewise.
49819 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49820 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49821 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49822 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49823
49824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49825 (FRAME_BACKCHAIN): Remove.
49826 (FRAME_CR_SAVE): Likewise.
49827 (FRAME_LR_SAVE): Likewise.
49828 (FRAME_COMPILER_DW): Likewise.
49829 (FRAME_LINKER_DW): Likewise.
49830 (FRAME_TOC_SAVE): Likewise.
49831 (FRAME_PARM_SAVE): Likewise.
49832 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49833 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49834 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49836 (CHECK_SP): Use symbolic stack frame offsets.
49837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49838 zone" instead of caller's parameter save area for temp storage.
49839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49840 Likewise. Also, use symbolic stack frame offsets.
49841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49842 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49843 our own stack frame instead of the caller's.
49844 (__socket): Use symbolic stack frame offsets.
49845
49846 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49847 Alan Modra <amodra@gmail.com>
49848
49849 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49850 Define.
49851 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49852 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49853 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49854 New function.
49855 (elf_machine_fixup_plt): Call it.
49856 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49857 reloc arguments.
49858 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49859 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49860 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49861 r2 before calling target.
49862
49863 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49864 Alan Modra <amodra@gmail.com>
49865
49866 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49867 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49868 versions of macros to support ELFv2 ABI.
49869 (LOCALENTRY): New macro.
49870 (ENTRY, EALIGN): Use it.
49871 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49872 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49873 fall through into ENTRY entry point.
49874 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49875 Only define if _CALL_ELF != 2.
49876
49877 (elf_machine_matches_host): Verify ABI version matches.
49878 (RTLD_START): Use LOCALENTRY.
49879 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49880 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49881 (PLT_ENTRY_WORDS): New macro.
49882 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49883 (elf_machine_runtime_setup): Support ELFv2 ABI.
49884 (elf_machine_fixup_plt): Likewise.
49885 (elf_machine_plt_conflict): Likewise.
49886 (resolve_ifunc): Likewise.
49887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49889 Likewise.
49890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49891 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49893 (makecontext): Support ELFv2 ABI.
49894 * elf/elf.h (EF_PPC64_ABI): Define.
49895
49896 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49897
49898 * sysdeps/powerpc/powerpc64/sysdep.h
49899 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49900 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49901 (ENTRY) [ASSEMBLER]: ... but instead here ...
49902 (EALIGN) [ASSEMBLER]: ... and here.
49903 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49904 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49905 (ENTRY_2) [!ASSEMBLER]: Use it.
49906 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49907 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49908 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49909 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49910 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49912 Use PPC64_LOAD_FUNCPTR.
49913
49914 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49915
49916 2013-12-04 Alan Modra <amodra@gmail.com>
49917
49918 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49919 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49920 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49921 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49922
49923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49924 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49925 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49926 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49927 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49928 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49929
49930 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49931
49932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49933 (__makecontext): Fix incorrect CFI when backtracing out of
49934 context created via makecontext.
49935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49936 (__setcontext): Fix incorrect CFI during switch to new context.
49937 (__novec_setcontext): Likewise.
49938
49939 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49940
49941 [BZ #4772]
49942 * time/strptime_l.c (__strptime_internal): Allow modifiers
49943 in strptime.
49944 * time/tst-strptime.c (day_tests): Add testcase.
49945
49946 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49947
49948 * scripts/bench.pl: Skip over blank lines.
49949
49950 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49951
49952 [BZ #926]
49953 * manual/time.texi (Calendar Time): Clarify what timezone functions
49954 use.
49955
49956 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49957
49958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49959
49960 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49961
49962 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49963 implementation.
49964 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49965 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49966 * debug/memset_chk.c (__memset_chk): Likewise.
49967 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49968 * debug/strncpy_chk.c: Likewise.
49969
49970 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49971
49972 [BZ #15268]
49973 [BZ #15425]
49974 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49975 (__ieee754_exp): For possibly underflowing results, check size of
49976 result and force underflow exception if required.
49977 * math/auto-libm-test-in: Add more tests of exp.
49978 * math/auto-libm-test-out: Regenerated.
49979 * sysdeps/i386/fpu/libm-test-ulps: Update.
49980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49981
49982 [BZ #16283]
49983 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49984 * math/w_exp2f.c (__exp2f): Likewise.
49985 * math/w_exp2l.c (__exp2l): Likewise.
49986 * math/auto-libm-test-in: Do not allow missing errno on exp2
49987 underflow.
49988 * math/auto-libm-test-out: Regenerated.
49989
49990 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49991
49992 [BZ #16274]
49993 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49994 handle filename validation.
49995 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49996 (do_open): Delete.
49997
49998 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49999
50000 [BZ #6786]
50001 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50002 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50003 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50004 <float.h>.
50005 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50007 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50009 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50011 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50012 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50013 Add more erfc tests.
50014 * math/auto-libm-test-out: Regenerated.
50015 * sysdeps/i386/fpu/libm-test-ulps: Update.
50016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50017
50018 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50019 exp2, expm1, j0 and j1.
50020 * math/auto-libm-test-out: Regenerated.
50021 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50022 (erfc_test_data): Likewise.
50023 (exp_test_data): Likewise.
50024 (exp_tonearest_test_data): Likewise.
50025 (exp_towardzero_test_data): Likewise.
50026 (exp_downward_test_data): Likewise.
50027 (exp_upward_test_data): Likewise.
50028 (exp10_test_data): Likewise.
50029 (exp2_test_data): Likewise.
50030 (expm1_test_data): Likewise.
50031 (j0_test_data): Likewise.
50032 (j1_test_data): Likewise.
50033 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50034 (input_flag_type): Add flag_xfail_rounding.
50035 (input_flags): Add xfail-rounding.
50036 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50037 (output_for_one_input_case): Handle flag_xfail_rounding.
50038 * sysdeps/i386/fpu/libm-test-ulps: Update.
50039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50040
50041 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50042
50043 [BZ #16289]
50044 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50045 division by 0.
50046
50047 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50048
50049 [BZ #16195]
50050 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50051 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50052 (STAP_PROBE0): New macro.
50053 (STAP_PROBE1): Likewise.
50054 (STAP_PROBE2): Likewise.
50055 (STAP_PROBE3): Likewise.
50056 (STAP_PROBE4): Likewise.
50057
50058 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50059
50060 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50061
50062 2013-12-02 Steve Ellcey <sellcey@mips.com>
50063
50064 * benchtests/Makefile (bench): Add sqrt.
50065 (LDLIBS-bench-sqrt): New.
50066 * benchtests/sqrt-input: New.
50067
50068 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50069
50070 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50071 (GAIH_EAI): Likewise.
50072 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50073 (gaih_inet): Likewise.
50074 (getaddrinfo): Don't use GAIH_EAI.
50075
50076 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50077 (struct gaih): Remove definition.
50078
50079 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50080
50081 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50082 Use HERRNOP directly.
50083
50084 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50085
50086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50087
50088 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50089
50090 * math/gen-auto-libm-tests.c (test_functions): Add more
50091 single-argument functions.
50092 (special_fill_pi_2): New function.
50093 (special_fill_minus_pi_2): Likewise.
50094 (special_fill_pi_6): Likewise.
50095 (special_fill_minus_pi_6): Likewise.
50096 (special_fill_pi_3): Likewise.
50097 (special_fill_2pi_3): Likewise.
50098 (special_fill_e): Likewise.
50099 (special_fill_1_e): Likewise.
50100 (special_fill_e_minus_1): Likewise.
50101 (special_real_inputs): Add more special inputs.
50102 (output_for_one_input_case): Do not require ERANGE on underflow to
50103 zero if round-to-nearest result does not underflow to zero, unless
50104 exact results required.
50105 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50106 atan, atanh, cbrt, cos and cosh.
50107 * math/auto-libm-test-out: Regenerated.
50108 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50109 (acos_tonearest_test_data): Likewise.
50110 (acos_towardzero_test_data): Likewise.
50111 (acos_downward_test_data): Likewise.
50112 (acos_upward_test_data): Likewise.
50113 (acosh_test_data): Likewise.
50114 (asin_test_data): Likewise.
50115 (asin_tonearest_test_data): Likewise.
50116 (asin_towardzero_test_data): Likewise.
50117 (asin_upward_test_data): Likewise.
50118 (asinh_test_data): Likewise.
50119 (atan_test_data): Likewise.
50120 (atanh_test_data): Likewise.
50121 (cbrt_test_data): Likewise.
50122 (cos_test_data): Likewise.
50123 (cos_tonearest_test_data): Likewise.
50124 (cos_towardzero_test_data): Likewise.
50125 (cos_downward_test_data): Likewise.
50126 (cos_upward_test_data): Likewise.
50127 (cosh_test_data): Likewise.
50128 (cosh_tonearest_test_data): Likewise.
50129 (cosh_towardzero_test_data): Likewise.
50130 (cosh_downward_test_data): Likewise.
50131 (cosh_upward_test_data): Likewise.
50132 * sysdeps/i386/fpu/libm-test-ulps: Update.
50133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50134
50135 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50136
50137 [BZ #6787]
50138 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50139 * math/w_exp10f.c (__exp10f): Likewise.
50140 * math/w_exp10l.c (__exp10l): Likewise.
50141 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50142 errno settings in existing tests.
50143
50144 [BZ #14032]
50145 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50146 precision control set to double precision.
50147 * sysdeps/i386/fpu/w_sqrt.c: New file.
50148 * math/auto-libm-test-in: Add more tests.
50149 * math/auto-libm-test-out: Update.
50150
50151 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50152 (sqrt_test_tonearest): New function.
50153 (sqrt_towardzero_test_data): New variable.
50154 (sqrt_test_towardzero): New function.
50155 (sqrt_downward_test_data): New variable.
50156 (sqrt_test_downward): New function.
50157 (sqrt_upward_test_data): New variable.
50158 (sqrt_test_upward): New function.
50159 (main): Call the new functions.
50160
50161 * math/gen-auto-libm-tests.c: New file.
50162 * math/auto-libm-test-in: Likewise.
50163 * math/auto-libm-test-out: New generated file.
50164 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50165 variables.
50166 (%beautify): Add generated representations of zero.
50167 (top level): Set $auto_input and call parse_auto_input.
50168 (beautify): Remove trailing "f" from hex float constants.
50169 (parse_args): Handle XFAIL_TEST.
50170 (convert_condition): New function.
50171 (or_value): Likewise.
50172 (or_cond_value): Likewise.
50173 (generate_testfile): Handle AUTO_TESTS_* lines.
50174 (parse_auto_input): New function.
50175 * math/libm-test.inc (XFAIL_TEST): New macro.
50176 (ERRNO_UNCHANGED): Update value.
50177 (ERRNO_EDOM): Likewise.
50178 (ERRNO_ERANGE): Likewise.
50179 (IGNORE_RESULT): Likewise.
50180 (TEST_COND_flt_32): New macro.
50181 (TEST_COND_dbl_64): Likewise.
50182 (TEST_COND_ldbl_96_intel): Likewise.
50183 (TEST_COND_ldbl_96_m68k): Likewise.
50184 (TEST_COND_ldbl_128): Likewise.
50185 (TEST_COND_ldbl_128ibm): Likewise.
50186 (TEST_COND_long32): Likewise.
50187 (TEST_COND_long64): Likewise.
50188 (TEST_COND_before_rounding): Likewise.
50189 (TEST_COND_after_rounding): Likewise.
50190 (enable_test): Handle XFAIL_TEST flag.
50191 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50192 with finite results.
50193 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50194 auto-libm-test-out.
50195
50196 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50197 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50198
50199 [BZ #16214]
50200 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50201 __tls_get_addr_internal instead of __tls_get_offset in order to
50202 avoid GOT pointer dependency. Make rtld export
50203 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50204 __tls_get_addr since we are a __tls_get_offset platform.
50205 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50206 GOT pointer being set up before.
50207 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50208
50209 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50210
50211 * manual/math.texi (Errors in Math Functions): Document accuracy
50212 goals.
50213
50214 [BZ #15004]
50215 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50216 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50218 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50219 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50220 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50221 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50222 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50223 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50224 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50225 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50226 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50227 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50228 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50231
50232 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50233 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50234 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50235 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50236 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50237 Likewise.
50238 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50239 Likewise.
50240 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50241 Likewise.
50242 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50243 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50244 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50245 atomic-feupdateenv and flt-rounds.
50246 * sysdeps/powerpc/nofpu/Versions (libc): Add
50247 __atomic_feholdexcept, __atomic_feclearexcept,
50248 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50249 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50250 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50251 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50252 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50253 here.
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50255 Update.
50256
50257 * manual/arith.texi (FP Exceptions): Document that exceptions may
50258 not be raised when matherr is used.
50259 (Math Error Reporting): Document overflow in directed rounding
50260 modes. Document that errno may not be set when finite values are
50261 returned on overflow. Document intent to set errno on underflow
50262 only for underflow to zero.
50263
50264 [BZ #16271]
50265 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50266 round-to-nearest then adjust result for other rounding modes.
50267 * include/fenv.h (fegetround): Use libm_hidden_proto.
50268 * math/fegetround.c (fegetround): Use libm_hidden_def.
50269 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50270 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50271 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50272 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50273 Likewise.
50274 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50276 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50277 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50278
50279 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50280
50281 [BZ #16077]
50282 * nss/Versions (libnss_files): Add
50283 _nss_files_gethostbyname3_r.
50284 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50285 New function.
50286 (HOST_DB_LOOKUP): Remove macro.
50287 (_nss_files_gethostbyname_r): Implement function without the
50288 HOST_DB_LOOKUP macro.
50289 (_nss_files_gethostbyname2_r): Likewise.
50290
50291 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50292
50293 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50294
50295 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50296
50297 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50298 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50299 warning.
50300
50301 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50302
50303 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50304 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50305 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50306 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50307 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50308 __fe_nomask_env_priv and attribute_hidden.
50309 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50310 (libc_feupdateenv_test_ppc): Likewise.
50311 (libc_feresetround_ppc): Likewise.
50312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50313 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50314 compat_symbol macro.
50315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50316 (__fe_nomask_env): Likewise.
50317 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50318
50319 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50320
50321 * string/Makefile: Remove ifunc tests.
50322 * string/test-string.h: Define TEST_IFUNC.
50323 * string/test-bcopy-ifunc.c: Remove.
50324 * string/test-bzero-ifunc.c: Likewise.
50325 * string/test-memccpy-ifunc.c: Likewise.
50326 * string/test-memchr-ifunc.c: Likewise.
50327 * string/test-memcmp-ifunc.c: Likewise.
50328 * string/test-memcpy-ifunc.c: Likewise.
50329 * string/test-memmem-ifunc.c: Likewise.
50330 * string/test-memmove-ifunc.c: Likewise.
50331 * string/test-mempcpy-ifunc.c: Likewise.
50332 * string/test-memrchr-ifunc.c: Likewise.
50333 * string/test-memset-ifunc.c: Likewise.
50334 * string/test-rawmemchr-ifunc.c: Likewise.
50335 * string/test-stpcpy-ifunc.c: Likewise.
50336 * string/test-stpncpy-ifunc.c: Likewise.
50337 * string/test-strcasecmp-ifunc.c: Likewise.
50338 * string/test-strcasestr-ifunc.c: Likewise.
50339 * string/test-strcat-ifunc.c: Likewise.
50340 * string/test-strchr-ifunc.c: Likewise.
50341 * string/test-strchrnul-ifunc.c: Likewise.
50342 * string/test-strcmp-ifunc.c: Likewise.
50343 * string/test-strcpy-ifunc.c: Likewise.
50344 * string/test-strcspn-ifunc.c: Likewise.
50345 * string/test-strlen-ifunc.c: Likewise.
50346 * string/test-strncasecmp-ifunc.c: Likewise.
50347 * string/test-strncat-ifunc.c: Likewise.
50348 * string/test-strncmp-ifunc.c: Likewise.
50349 * string/test-strncpy-ifunc.c: Likewise.
50350 * string/test-strnlen-ifunc.c: Likewise.
50351 * string/test-strpbrk-ifunc.c: Likewise.
50352 * string/test-strrchr-ifunc.c: Likewise.
50353 * string/test-strspn-ifunc.c: Likewise.
50354 * string/test-strstr-ifunc.c: Likewise.
50355
50356 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50357
50358 * benchtests/Makefile: Remove ifunc tests.
50359 * benchtests/bench-string.h: Define TEST_IFUNC.
50360 * benchtests/bench-bcopy-ifunc.c: Remove.
50361 * benchtests/bench-bzero-ifunc.c: Likewise.
50362 * benchtests/bench-memccpy-ifunc.c: Likewise.
50363 * benchtests/bench-memchr-ifunc.c: Likewise.
50364 * benchtests/bench-memcmp-ifunc.c: Likewise.
50365 * benchtests/bench-memcpy-ifunc.c: Likewise.
50366 * benchtests/bench-memmem-ifunc.c: Likewise.
50367 * benchtests/bench-memmove-ifunc.c: Likewise.
50368 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50369 * benchtests/bench-memrchr-ifunc.c: Likewise.
50370 * benchtests/bench-memset-ifunc.c: Likewise.
50371 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50372 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50373 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50374 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50375 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50376 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50377 * benchtests/bench-strcat-ifunc.c: Likewise.
50378 * benchtests/bench-strchr-ifunc.c: Likewise.
50379 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50380 * benchtests/bench-strcmp-ifunc.c: Likewise.
50381 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50382 * benchtests/bench-strcpy-ifunc.c: Likewise.
50383 * benchtests/bench-strcspn-ifunc.c: Likewise.
50384 * benchtests/bench-strlen-ifunc.c: Likewise.
50385 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50386 * benchtests/bench-strncat-ifunc.c: Likewise.
50387 * benchtests/bench-strncmp-ifunc.c: Likewise.
50388 * benchtests/bench-strncpy-ifunc.c: Likewise.
50389 * benchtests/bench-strnlen-ifunc.c: Likewise.
50390 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50391 * benchtests/bench-strrchr-ifunc.c: Likewise.
50392 * benchtests/bench-strsep-ifunc.c: Likewise.
50393 * benchtests/bench-strspn-ifunc.c: Likewise.
50394 * benchtests/bench-strstr-ifunc.c: Likewise.
50395
50396 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50397
50398 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50399
50400 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50401
50402 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50403 * rt/aio.h: Likewise.
50404 * sysdeps/gnu/bits/utmp.h: Likewise.
50405 * sysdeps/gnu/bits/utmpx.h: Likewise.
50406 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50407 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50408 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50409 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50410 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50411 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50412 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50413 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50414 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50415 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50416 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50417 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50418 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50420 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50421 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50422 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50423 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50424 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50425 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50426 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50427 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50428 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50429 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50430 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50432 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50433 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50434 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50435 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50436 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50437 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50438 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50439 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50440 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50441 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50443 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50444 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50445 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50446 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50447 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50448
50449 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50450
50451 [BZ #16245]
50452 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50453 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50454
50455 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50456
50457 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50458 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50459 Likewise.
50460
50461 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50462
50463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50464 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50465 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50466 (__fesetround): Remove define.
50467 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50468 rounding and exceptions handling.
50469 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50470 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50471 (__fe_nomask_env): Likewise.
50472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50473 __fegetround instead of fegetround.
50474 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50475 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50476
50477 2013-11-21 Roland McGrath <roland@hack.frob.com>
50478
50479 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50480 it's there.
50481
50482 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50483
50484 2013-11-21 Meador Inge <meadori@codesourcery.com>
50485
50486 [BZ #11157]
50487 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50488 (encrypt_r): Likewise.
50489 * malloc/obstack.h (obstack_free): Likewise.
50490 * posix/unistd.h (encrypt): Likewise.
50491
50492 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50493
50494 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50495 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50496 DL_CALL_DT_FINI() that call the functions directly.
50497 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50498 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50499 * elf/dl-fini.c: Likewise.
50500
50501 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50502
50503 * malloc/hooks.c (memalign_check): Add alignment rounding.
50504 * malloc/malloc.c (_mid_memalign): New function.
50505 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50506 Implement by calling _mid_memalign.
50507 * manual/probes.texi (Memory Allocation Probes): Remove
50508 memory_valloc_retry and memory_pvalloc_retry.
50509
50510 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50511
50512 * locale/programs/locarchive.c (open_archive): Add const
50513 qualifier to ARCHIVEFNAME and copy default fname to
50514 DEFAULT_FNAME.
50515
50516 [BZ #15601]
50517 * libio/tst-widetext.input: Rename Oriya to Odia.
50518 * locale/iso-639.def: Likewise.
50519
50520 * manual/probes.texi (Mathematical Function Probes): Add
50521 documentation for sin, cos, asin and acos probes.
50522 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50523 (__sin32): Add slowasin probe.
50524 (__cos32): Add slowacos probe.
50525 (__mpsin): Add slowsin probe.
50526 (__mpcos): Add slowcos probe.
50527
50528 2013-11-19 Joseph Myers <joseph@codesourcery.com>
50529
50530 [BZ #15483]
50531 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50532 thread-local __sim_exceptions_thread and global
50533 __sim_exceptions_global.
50534 (__sim_disabled_exceptions): Change to thread-local
50535 __sim_disabled_exceptions_thread and global
50536 __sim_disabled_exceptions_global.
50537 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50538 and global __sim_round_mode_global.
50539 (__simulate_exceptions): Use thread-local floating-point state and
50540 set global state from it as needed.
50541 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50542 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50543 __sim_round_mode_thread.
50544 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50545 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50546 and global __sim_exceptions_global.
50547 (__sim_disabled_exceptions): Change to thread-local
50548 __sim_disabled_exceptions_thread and global
50549 __sim_disabled_exceptions_global.
50550 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50551 and global __sim_round_mode_global.
50552 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50553 (SIM_SET_GLOBAL): Likewise.
50554 * sysdeps/powerpc/soft-fp/sfp-machine.h
50555 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50556 __sim_round_mode_thread.
50557 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50558 __sim_disabled_exceptions_thread.
50559 (__sim_exceptions): Change to __sim_exceptions_thread.
50560 (__sim_disabled_exceptions): Change to
50561 __sim_disabled_exceptions_thread.
50562 (__sim_round_mode): Change to __sim_round_mode_thread.
50563 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50564 thread-local floating-point state and set global state from it as
50565 needed.
50566 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50567 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50568 (__sim_disabled_exceptions): Remove extern declaration.
50569 (feenableexcept): Use thread-local floating-point state and set
50570 global state from it as needed.
50571 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50572 extern declaration.
50573 (__sim_disabled_exceptions): Likewise.
50574 (__sim_round_mode): Likewise.
50575 (__fegetenv): Use thread-local floating-point state.
50576 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50577 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50578 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50579 floating-point state and set global state from it as needed.
50580 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50581 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50582 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50583 Likewise.
50584 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50585 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50586 Likewise.
50587 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50588 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50589 Use __sim_round_mode_thread.
50590 * math/test-fenv-tls.c: New file.
50591 * math/Makefile (tests): Add test-fenv-tls.
50592 ($(objpfx)test-fenv-tls): Depend on
50593 $(common-objpfx)nptl/libpthread.so.
50594
50595 2013-11-19 Andreas Schwab <schwab@suse.de>
50596
50597 * locale/programs/locale.c (show_info): Decode wordarray elements.
50598 * locale/categories.def (LC_MONETARY): Add element for
50599 _NL_MONETARY_CRNCYSTR.
50600 * locale/C-monetary.c (conversion_rate): New variable.
50601 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50602 element.
50603
50604 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50605
50606 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50607 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50608
50609 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50610
50611 * elf/Makefile (tst-auxv): New test.
50612 * elf/tst-auxv.c: New
50613 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50614
50615 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50616
50617 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50618 (hidden_proto): Caller changed.
50619 (hidden_tls_proto): New macro.
50620 (libc_hidden_tls_proto): Likewise.
50621 (rtld_hidden_tls_proto): Likewise.
50622 (libm_hidden_tls_proto): Likewise.
50623 (libresolv_hidden_tls_proto): Likewise.
50624 (librt_hidden_tls_proto): Likewise.
50625 (libdl_hidden_tls_proto): Likewise.
50626 (libnss_files_hidden_tls_proto): Likewise.
50627 (libnsl_hidden_tls_proto): Likewise.
50628 (libnss_nisplus_hidden_tls_proto): Likewise.
50629 (libutil_hidden_tls_proto): Likewise.
50630
50631 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50632
50633 [BZ #10253]
50634 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50635 (decompose_rpath): Defer expansion to fillin_rpath.
50636 (_dl_init_paths): Pass linkmap to fillin_rpath.
50637
50638 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50639
50640 * benchtests/Makefile: Add strsep.
50641 * benchtests/bench-strsep.c: New file: strsep benchtest.
50642 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50643
50644 2013-11-18 Andreas Schwab <schwab@suse.de>
50645
50646 * locale/programs/locale.c (show_info) [case byte]: Check for
50647 '\377' instead of '\177'.
50648 * locale/C-monetary.c (not_available): Always use "\377".
50649 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50650 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50651 detect unavailable sign_posn locale elements.
50652 * locale/localeconv.c (__localeconv): For grouping and
50653 mon_grouping handle "\177" and "\377" like no grouping.
50654 (INT_ELEM): New macro. Use it to set all numeric members.
50655 * locale/programs/ld-monetary.c (monetary_read)
50656 <tok_mon_grouping>: Normalize single -1 to the empty string.
50657 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50658 Likewise.
50659
50660 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50661
50662 [BZ #16055]
50663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50664 when we match (nil).
50665 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50666
50667 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50668
50669 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50670 (NO_TEST_INLINE): Update value.
50671 (ERRNO_UNCHANGED): Likewise.
50672 (ERRNO_EDOM): Likewise.
50673 (ERRNO_ERANGE): Likewise.
50674 (IGNORE_RESULT): Likewise.
50675 (check_float_internal): Check signs of NaN results if
50676 TEST_NAN_SIGN used.
50677 (check_complex): Pass TEST_NAN_SIGN flag through to second
50678 check_float_internal call.
50679 (copysign_test_data): Add tests with quiet NaNs as second
50680 argument. Use TEST_NAN_SIGN.
50681 (fabs_test_data): Add test of negative quiet NaN argument. Use
50682 TEST_NAN_SIGN.
50683 (signbit_test_data): Add tests of quiet NaN argument.
50684 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50685
50686 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50687 $ignore_result.
50688 (parse_args): Handle function results specified as IGNORE.
50689 * math/libm-test.inc (IGNORE_RESULT): New macro.
50690 (check_float_internal): Do not check numerical result if flag
50691 IGNORE_RESULT set.
50692 (check_complex): Pass through IGNORE_RESULT to second
50693 check_float_internal call.
50694 (check_int): Do not check numerical result if flag IGNORE_RESULT
50695 set.
50696 (check_long): Likewise.
50697 (check_bool): Likewise.
50698 (check_longlong): Likewise.
50699 (lrint_test_data): Add tests of infinite and NaN arguments.
50700 (lrint_tonearest_test_data): Likewise.
50701 (lrint_towardzero_test_data): Likewise.
50702 (lrint_downward_test_data): Likewise.
50703 (lrint_upward_test_data): Likewise.
50704 (llrint_test_data): Likewise.
50705 (llrint_tonearest_test_data): Likewise.
50706 (llrint_towardzero_test_data): Likewise.
50707 (llrint_downward_test_data): Likewise.
50708 (llrint_upward_test_data): Likewise.
50709 (lround_test_data): Likewise.
50710 (llround_test_data): Likewise.
50711
50712 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50713 (ERRNO_UNCHANGED): Update value.
50714 (ERRNO_EDOM): Likewise.
50715 (ERRNO_ERANGE): Likewise.
50716 (NO_TEST_INLINE_FLOAT): New macro.
50717 (NO_TEST_INLINE_DOUBLE): Likewise.
50718 (enable_test): New function.
50719 (RUN_TEST_f_f): Check enable_test before running test.
50720 (RUN_TEST_2_f): Likewise.
50721 (RUN_TEST_fff_f): Likewise.
50722 (RUN_TEST_c_f): Likewise.
50723 (RUN_TEST_f_f1): Likewise.
50724 (RUN_TEST_fF_f1): Likewise.
50725 (RUN_TEST_fI_f1): Likewise.
50726 (RUN_TEST_ffI_f1): Likewise.
50727 (RUN_TEST_c_c): Likewise.
50728 (RUN_TEST_cc_c): Likewise.
50729 (RUN_TEST_f_i): Likewise.
50730 (RUN_TEST_f_i_tg): Likewise.
50731 (RUN_TEST_ff_i_tg): Likewise.
50732 (RUN_TEST_f_b): Likewise.
50733 (RUN_TEST_f_b_tg): Likewise.
50734 (RUN_TEST_f_l): Likewise.
50735 (RUN_TEST_f_L): Likewise.
50736 (RUN_TEST_fFF_11): Likewise.
50737 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50738 conditionals.
50739 (cosh_test_data): Likewise.
50740 (exp_test_data): Likewise.
50741 (expm1_test_data): Likewise.
50742 (hypot_test_data): Likewise.
50743 (pow_test_data): Likewise.
50744 (sinh_test_data): Likewise.
50745 (tanh_test_data): Likewise.
50746 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50747 flags argument.
50748
50749 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50750 tests with quiet NaN input and output.
50751 (acosh_test_data): Likewise.
50752 (asin_test_data): Likewise.
50753 (asinh_test_data): Likewise.
50754 (atan_test_data): Likewise.
50755 (atanh_test_data): Likewise.
50756 (atan2_test_data): Likewise.
50757 (cbrt_test_data): Likewise.
50758 (cos_test_data): Likewise.
50759 (cosh_test_data): Likewise.
50760 (erf_test_data): Likewise.
50761 (erfc_test_data): Likewise.
50762 (exp_test_data): Likewise.
50763 (exp10_test_data): Likewise.
50764 (exp2_test_data): Likewise.
50765 (expm1_test_data): Likewise.
50766 (hypot_test_data): Likewise.
50767 (j0_test_data): Likewise.
50768 (j1_test_data): Likewise.
50769 (jn_test_data): Likewise.
50770 (lgamma_test_data): Likewise.
50771 (log_test_data): Likewise.
50772 (log10_test_data): Likewise.
50773 (log1p_test_data): Likewise.
50774 (log2_test_data): Likewise.
50775 (pow_test_data): Likewise.
50776 (scalb_test_data): Likewise.
50777 (sin_test_data): Likewise.
50778 (sincos_test_data): Likewise.
50779 (sinh_test_data): Likewise.
50780 (tan_test_data): Likewise.
50781 (tanh_test_data): Likewise.
50782 (tgamma_test_data): Likewise.
50783 (y0_test_data): Likewise.
50784 (y1_test_data): Likewise.
50785 (yn_test_data): Likewise.
50786
50787 [BZ #16167]
50788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50789 argument being NaN and avoid computations with second argument in
50790 that case.
50791 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50792 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50793 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50794
50795 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50796
50797 * locale/iso-639.def: Add Chitwani Tharu (the).
50798
50799 2013-11-14 Andreas Schwab <schwab@suse.de>
50800
50801 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50802 word instead of empty string.
50803
50804 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50805
50806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50807 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50809 (__fe_nomask_env): Likewise.
50810
50811 2013-11-13 Steve Ellcey <sellcey@mips.com>
50812
50813 * benchtests/bench-timing.h: Include time.h.
50814
50815 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50816
50817 [BZ #15997]
50818 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50819 to 3.4.0 for x32.
50820 * sysdeps/unix/sysv/linux/configure: Regenerated.
50821
50822 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50823
50824 [BZ #16151]
50825 * stdlib/strtod_l.c (round_and_return): Do not consider
50826 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50827 exponent one less than half the least subnormal exponent.
50828 * stdlib/test-strtod-round-data: Add more tests.
50829 * stdlib/tst-strtod-round.c (tests): Regenerated.
50830
50831 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50832
50833 [BZ #14143]
50834 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50835 (__fe_mask_env): Likewise.
50836 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50837 libm_hidden_proto and add function prototype.
50838 (__fe_mask_env): Add function prototype.
50839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50840 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50842 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50844 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50845
50846 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50847
50848 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50849 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50850
50851 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50852
50853 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50854 of htab_find_slot().
50855
50856 2013-11-11 David S. Miller <davem@davemloft.net>
50857
50858 [BZ #16150]
50859 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50860 symbol in the non-vis3 case in static builds.
50861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50862 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50863 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50864 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50865
50866 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50867
50868 [BZ #387]
50869 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50870 it is empty.
50871
50872 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50873
50874 * benchtests/Makefile: Add bench-strtod.
50875 * benchtests/bench-strtod.c: New file: strtod benchtest
50876
50877 2013-11-11 Andreas Schwab <schwab@suse.de>
50878
50879 [BZ #16153]
50880 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50881 terminating NUL in key length.
50882
50883 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50884
50885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50886 Add artificial ODP entry for vDSO symbol for PPC64.
50887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50888 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50889
50890 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50891
50892 [BZ #15374]
50893 * nss/getent.c (services_keys): Recognize services starting with digit.
50894
50895 2013-11-06 David S. Miller <davem@davemloft.net>
50896
50897 [BZ #15985]
50898 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50899 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50900
50901 2013-11-06 Will Newton <will.newton@linaro.org>
50902
50903 * manual/memory.texi (Malloc Examples): Remove register
50904 keyword from examples.
50905
50906 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50907
50908 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50909
50910 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50911
50912 [BZ #6981]
50913 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50914 depending on [__GCC_IEC_559 > 0].
50915 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50916 depending on [__GCC_IEC_559_COMPLEX > 0].
50917
50918 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50919
50920 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50921 to iso-639.def.
50922
50923 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50924
50925 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50926
50927 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50928
50929 [BZ #16112]
50930 * malloc/malloc (malloc_info): Do not handle first bin as
50931 special case.
50932
50933 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50934
50935 * locale/iso-639.def: Add Central Nahuatl (nhn).
50936
50937 2013-11-01 Bruno Haible <bruno@clisp.org>
50938
50939 [BZ #7003]
50940 * manual/math.texi (BSD Random): Specify range upper bound as
50941 in POSIX.
50942
50943 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50944
50945 * locale/iso-639.def: Add Meadow Mari (mhr).
50946
50947 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50948
50949 [BZ #14752], [BZ #15763]
50950 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50951 Validate name.
50952 * rt/tst_shm.c: Add test for escaping directory.
50953
50954 2013-10-31 Andreas Schwab <schwab@suse.de>
50955
50956 [BZ #15917]
50957 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50958 followed by 'x' as part of digit sequence.
50959 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50960
50961 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50962
50963 [BZ #16037]
50964 * configure.ac: allow GNU Make 4.0 and greater.
50965 * configure: Regenerated.
50966
50967 2013-10-30 Will Newton <will.newton@linaro.org>
50968
50969 [BZ #16038]
50970 * malloc/hooks.c (memalign_check): Limit alignment to the
50971 maximum representable power of two.
50972 * malloc/malloc.c (__libc_memalign): Likewise.
50973 * malloc/tst-memalign.c (do_test): Add test for very
50974 large alignment values.
50975 * malloc/tst-posix_memalign.c (do_test): Likewise.
50976
50977 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50978
50979 [BZ #11087]
50980 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50981 (munmap_chunk): Likewise.
50982 (mremap_chunk): Likewise.
50983
50984 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50985
50986 [BZ #15799]
50987 * stdlib/div.c (div): Remove obsolete code.
50988 * stdlib/ldiv.c (ldiv): Likewise.
50989 * stdlib/lldiv.c (lldiv): Likewise.
50990
50991 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50992
50993 [BZ #16071]
50994 * nss/nss_files/files-XXX.c (get_contents_ret): New
50995 enumerator.
50996 (get_contents): New function.
50997 (internal_getent): Use it. Expand size of LINEBUFLEN.
50998
50999 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51000
51001 * configure.in: Moved to ...
51002 * configure.ac: ... here. Change reference to configure.in
51003 to configure.ac.
51004 * sysdeps/arm/preconfigure.ac: ... here.
51005 configure.in to configure.ac.
51006 * sysdeps/gnu/configure.in: Moved to ...
51007 * sysdeps/gnu/configure.ac: ... here.
51008 * sysdeps/i386/configure.in: Moved to ...
51009 * sysdeps/i386/configure.ac: ... here.
51010 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51011 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51012 * sysdeps/mach/configure.in: Moved to ...
51013 * sysdeps/mach/configure.ac: ... here.
51014 * sysdeps/mach/hurd/configure.in: Moved to ...
51015 * sysdeps/mach/hurd/configure.ac: ... here.
51016 * sysdeps/powerpc/configure.in: Moved to ...
51017 * sysdeps/powerpc/configure.ac: ... here.
51018 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51019 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51020 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51021 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51022 * sysdeps/s390/s390-32/configure.in: Moved to ...
51023 * sysdeps/s390/s390-32/configure.ac: ... here.
51024 * sysdeps/s390/s390-64/configure.in: Moved to ...
51025 * sysdeps/s390/s390-64/configure.ac: ... here.
51026 * sysdeps/sh/configure.in: Moved to ...
51027 * sysdeps/sh/configure.ac: ... here.
51028 * sysdeps/sparc/configure.in: Moved to ...
51029 * sysdeps/sparc/configure.ac: ... here.
51030 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51031 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51032 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51033 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51034 * sysdeps/x86_64/configure.in: Moved to ...
51035 * sysdeps/x86_64/configure.ac: ... here.
51036 * sysdeps/x86_64/preconfigure.in: Moved to ...
51037 * sysdeps/x86_64/preconfigure.ac: ... here.
51038 * aclocal.m4: Change reference to configure.in to configure.ac.
51039 * config.h.in: Likewise.
51040 * manual/install.texi: Likewise.
51041 * manual/maint.texi: Likewise.
51042 * Makefile: Likewise.
51043 * malloc/Makefile: Likewise.
51044 * nscd/Makefile: Likewise.
51045 * Makeconfig: Change reference to configure.in and
51046 preconfigure.in to configure.ac and preconfigure.ac
51047 respectively.
51048 * INSTALL: Regenerated.
51049 * configure: Likewise.
51050 * sysdeps/gnu/configure: Likewise.
51051 * sysdeps/i386/configure: Likewise.
51052 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51053 * sysdeps/mach/configure: Likewise.
51054 * sysdeps/mach/hurd/configure: Likewise.
51055 * sysdeps/powerpc/configure: Likewise.
51056 * sysdeps/powerpc/powerpc32/configure: Likewise.
51057 * sysdeps/powerpc/powerpc64/configure: Likewise.
51058 * sysdeps/s390/s390-32/configure: Likewise.
51059 * sysdeps/s390/s390-64/configure: Likewise.
51060 * sysdeps/sh/configure: Likewise.
51061 * sysdeps/sparc/configure: Likewise.
51062 * sysdeps/unix/sysv/linux/configure: Likewise.
51063 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51064 * sysdeps/x86_64/configure: Likewise.
51065 * sysdeps/x86_64/preconfigure: Likewise.
51066
51067 2013-10-29 Andreas Schwab <schwab@suse.de>
51068
51069 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51070
51071 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51072
51073 * benchtests/pow-inputs: Add new inputs.
51074
51075 * benchtests/exp-inputs: Add new inputs.
51076
51077 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51078 conditional check for return value.
51079 (__cos32): Likewise.
51080
51081 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51082
51083 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51084 to provide a boost for large inputs with word alignment.
51085 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51086 implementation based on optimized PPC64 strcpy.
51087 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51088 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51089 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51090 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51091
51092 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51093
51094 [BZ #2801]
51095 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51096
51097 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51098
51099 [BZ #14876]
51100 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51101 * time/tst-strptime.c (day_tests): Add testcase.
51102
51103 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51104
51105 [BZ #14029]
51106 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51107
51108 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51109
51110 [BZ #16074]
51111 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51112 MAP_FAILED on error.
51113
51114 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51115
51116 [BZ #16072]
51117 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51118 heap for large requests.
51119
51120 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51121
51122 [BZ #9954]
51123 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51124 result if the result has no associated interface.
51125 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51126 interface for all 127.X.Y.Z addresses.
51127
51128 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51129
51130 * locale/iso-639.def: Add Ligurian (lij)
51131
51132 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51133
51134 [BZ #15825]
51135 * sunrpc/rpc_main.c: Document rpcgen -5.
51136
51137 2013-10-19 Michael Stahl <mstahl@redhat.com>
51138
51139 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51140
51141 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51142
51143 [BZ #10278]
51144 * posix/glob.c: Match only directories when trailing slash is present.
51145 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51146 (main): Add testcase.
51147
51148 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51149
51150 [BZ #15670]
51151 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51152
51153 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51154
51155 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51156 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51157 AUTH_DES and cindex for FIPS 140-2.
51158 (DES Encryption): Add cindex FIPS 46-3.
51159
51160 * locale/locarchive.h (struct locarhandle): Add fname.
51161 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51162 if an optional argument was specified to --list-archive,
51163 otherwise NULL.
51164 * locale/programs/locarchive.c (show_archive_content): Take new
51165 argument fname and pass it via ah.fname to open_archive.
51166 * locale/programs/localedef.h: Update decl.
51167 (open_archive): If AH->fname is non-null, open that file
51168 rather than the default file name, and don't ignore ENOENT.
51169 (create_archive): Set AH.fname to NULL.
51170 (delete_locales_from_archive): Likewise.
51171 (add_locales_to_archive): Likewise.
51172 * locale/programs/locfile.c (write_all_categories): Likewise.
51173
51174 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51175 Aldy Hernandez <aldyh@redhat.com>
51176
51177 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51178 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51179 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51180 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51181 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51182 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51184 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51185 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51186 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51187 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51188 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51189 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51190 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51191 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51192 Likewise.
51193 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51194 Likewise.
51195 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51196 Likewise.
51197 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51198 Likewise.
51199 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51200 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51201 Likewise.
51202 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51203 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51204 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51205 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51206 Likewise.
51207 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51208 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51209 * sysdeps/powerpc/preconfigure: Likewise.
51210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51211 Likewise.
51212 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51213 Replace contents of file by #include of <fenv_libc.h>.
51214 * sysdeps/powerpc/soft-fp/sfp-machine.h
51215 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51216 and <sys/prctl.h>.
51217 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51230 Allow copysignl PLT reference to be missing.
51231
51232 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51233 Joseph Myers <joseph@codesourcery.com
51234
51235 [BZ #15948]
51236 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51237 single character.
51238 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51239
51240 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51241
51242 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51243 * elf/tst-tls1.c: Likewise.
51244 * elf/tst-tls10.h: Likewise.
51245 * elf/tst-tls14.c: Likewise.
51246 * elf/tst-tls2.c: Likewise.
51247 * elf/tst-tls3.c: Likewise.
51248 * elf/tst-tls4.c: Likewise.
51249 * elf/tst-tls5.c: Likewise.
51250 * elf/tst-tls6.c: Likewise.
51251 * elf/tst-tls7.c: Likewise.
51252 * elf/tst-tls8.c: Likewise.
51253 * elf/tst-tls9.c: Likewise.
51254 * elf/tst-tlsmod1.c: Likewise.
51255 * elf/tst-tlsmod13.c: Likewise.
51256 * elf/tst-tlsmod13a.c: Likewise.
51257 * elf/tst-tlsmod14a.c: Likewise.
51258 * elf/tst-tlsmod16a.c: Likewise.
51259 * elf/tst-tlsmod16b.c: Likewise.
51260 * elf/tst-tlsmod2.c: Likewise.
51261 * elf/tst-tlsmod3.c: Likewise.
51262 * elf/tst-tlsmod4.c: Likewise.
51263 * elf/tst-tlsmod5.c: Likewise.
51264 * elf/tst-tlsmod6.c: Likewise.
51265
51266 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51267
51268 [BZ #12486]
51269 * malloc/malloc.c: remove checks for statistics.
51270
51271 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51272
51273 [BZ #15277]
51274 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51275 * inet/tst-network.c: Add testcase.
51276
51277 2013-10-17 Andreas Schwab <schwab@suse.de>
51278
51279 [BZ #15218]
51280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51281 to determine canonical name.
51282
51283 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51284
51285 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51286 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51288 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51290 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51291 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51292 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51293 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51294 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51295 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51297 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51298 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51303 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51304 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51308 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51309 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51310 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51311 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51312 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51313 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51314 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51315 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51316 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51317 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51319 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51320 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51321 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51322 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51323 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51324 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51325 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51326 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51327 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51328 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51329 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51330 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51331 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51332 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51333 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51334 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51335 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51336 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51337 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51338 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51339 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51340 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51342 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51343
51344 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51345
51346 [BZ #16041]
51347 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51348 make result into a quiet NaN.
51349
51350 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51351
51352 * soft-fp/adddf3.c: Fix horizontal whitespace.
51353 * soft-fp/addsf3.c: Likewise.
51354 * soft-fp/addtf3.c: Likewise.
51355 * soft-fp/divdf3.c: Likewise.
51356 * soft-fp/divsf3.c: Likewise.
51357 * soft-fp/divtf3.c: Likewise.
51358 * soft-fp/double.h: Likewise.
51359 * soft-fp/eqdf2.c: Likewise.
51360 * soft-fp/eqsf2.c: Likewise.
51361 * soft-fp/eqtf2.c: Likewise.
51362 * soft-fp/extenddftf2.c: Likewise.
51363 * soft-fp/extended.h: Likewise.
51364 * soft-fp/extendsfdf2.c: Likewise.
51365 * soft-fp/extendsftf2.c: Likewise.
51366 * soft-fp/extendxftf2.c: Likewise.
51367 * soft-fp/fixdfdi.c: Likewise.
51368 * soft-fp/fixdfsi.c: Likewise.
51369 * soft-fp/fixdfti.c: Likewise.
51370 * soft-fp/fixsfdi.c: Likewise.
51371 * soft-fp/fixsfsi.c: Likewise.
51372 * soft-fp/fixsfti.c: Likewise.
51373 * soft-fp/fixtfdi.c: Likewise.
51374 * soft-fp/fixtfsi.c: Likewise.
51375 * soft-fp/fixtfti.c: Likewise.
51376 * soft-fp/fixunsdfdi.c: Likewise.
51377 * soft-fp/fixunsdfsi.c: Likewise.
51378 * soft-fp/fixunsdfti.c: Likewise.
51379 * soft-fp/fixunssfdi.c: Likewise.
51380 * soft-fp/fixunssfsi.c: Likewise.
51381 * soft-fp/fixunssfti.c: Likewise.
51382 * soft-fp/fixunstfdi.c: Likewise.
51383 * soft-fp/fixunstfsi.c: Likewise.
51384 * soft-fp/fixunstfti.c: Likewise.
51385 * soft-fp/floatdidf.c: Likewise.
51386 * soft-fp/floatdisf.c: Likewise.
51387 * soft-fp/floatditf.c: Likewise.
51388 * soft-fp/floatsidf.c: Likewise.
51389 * soft-fp/floatsisf.c: Likewise.
51390 * soft-fp/floatsitf.c: Likewise.
51391 * soft-fp/floattidf.c: Likewise.
51392 * soft-fp/floattisf.c: Likewise.
51393 * soft-fp/floattitf.c: Likewise.
51394 * soft-fp/floatundidf.c: Likewise.
51395 * soft-fp/floatundisf.c: Likewise.
51396 * soft-fp/floatunditf.c: Likewise.
51397 * soft-fp/floatunsidf.c: Likewise.
51398 * soft-fp/floatunsisf.c: Likewise.
51399 * soft-fp/floatunsitf.c: Likewise.
51400 * soft-fp/floatuntidf.c: Likewise.
51401 * soft-fp/floatuntisf.c: Likewise.
51402 * soft-fp/floatuntitf.c: Likewise.
51403 * soft-fp/fmadf4.c: Likewise.
51404 * soft-fp/fmasf4.c: Likewise.
51405 * soft-fp/fmatf4.c: Likewise.
51406 * soft-fp/gedf2.c: Likewise.
51407 * soft-fp/gesf2.c: Likewise.
51408 * soft-fp/getf2.c: Likewise.
51409 * soft-fp/ledf2.c: Likewise.
51410 * soft-fp/lesf2.c: Likewise.
51411 * soft-fp/letf2.c: Likewise.
51412 * soft-fp/muldf3.c: Likewise.
51413 * soft-fp/mulsf3.c: Likewise.
51414 * soft-fp/multf3.c: Likewise.
51415 * soft-fp/negdf2.c: Likewise.
51416 * soft-fp/negsf2.c: Likewise.
51417 * soft-fp/negtf2.c: Likewise.
51418 * soft-fp/op-1.h: Likewise.
51419 * soft-fp/op-2.h: Likewise.
51420 * soft-fp/op-4.h: Likewise.
51421 * soft-fp/op-8.h: Likewise.
51422 * soft-fp/op-common.h: Likewise.
51423 * soft-fp/quad.h: Likewise.
51424 * soft-fp/single.h: Likewise.
51425 * soft-fp/soft-fp.h: Likewise.
51426 * soft-fp/sqrtdf2.c: Likewise.
51427 * soft-fp/sqrtsf2.c: Likewise.
51428 * soft-fp/sqrttf2.c: Likewise.
51429 * soft-fp/subdf3.c: Likewise.
51430 * soft-fp/subsf3.c: Likewise.
51431 * soft-fp/subtf3.c: Likewise.
51432 * soft-fp/truncdfsf2.c: Likewise.
51433 * soft-fp/trunctfdf2.c: Likewise.
51434 * soft-fp/trunctfsf2.c: Likewise.
51435 * soft-fp/trunctfxf2.c: Likewise.
51436 * soft-fp/unorddf2.c: Likewise.
51437 * soft-fp/unordsf2.c: Likewise.
51438 * soft-fp/unordtf2.c: Likewise.
51439
51440 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51441
51442 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51443 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51444
51445 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51446
51447 * elf/dl-libc.c: Clear initfini list after freeing.
51448
51449 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51450
51451 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51452 * soft-fp/addsf3.c: Likewise.
51453 * soft-fp/addtf3.c: Likewise.
51454 * soft-fp/divdf3.c: Likewise.
51455 * soft-fp/divsf3.c: Likewise.
51456 * soft-fp/divtf3.c: Likewise.
51457 * soft-fp/double.h: Likewise.
51458 * soft-fp/eqdf2.c: Likewise.
51459 * soft-fp/eqsf2.c: Likewise.
51460 * soft-fp/eqtf2.c: Likewise.
51461 * soft-fp/extenddftf2.c: Likewise.
51462 * soft-fp/extended.h: Likewise.
51463 * soft-fp/extendsfdf2.c: Likewise.
51464 * soft-fp/extendsftf2.c: Likewise.
51465 * soft-fp/extendxftf2.c: Likewise.
51466 * soft-fp/fixdfdi.c: Likewise.
51467 * soft-fp/fixdfsi.c: Likewise.
51468 * soft-fp/fixdfti.c: Likewise.
51469 * soft-fp/fixsfdi.c: Likewise.
51470 * soft-fp/fixsfsi.c: Likewise.
51471 * soft-fp/fixsfti.c: Likewise.
51472 * soft-fp/fixtfdi.c: Likewise.
51473 * soft-fp/fixtfsi.c: Likewise.
51474 * soft-fp/fixtfti.c: Likewise.
51475 * soft-fp/fixunsdfdi.c: Likewise.
51476 * soft-fp/fixunsdfsi.c: Likewise.
51477 * soft-fp/fixunsdfti.c: Likewise.
51478 * soft-fp/fixunssfdi.c: Likewise.
51479 * soft-fp/fixunssfsi.c: Likewise.
51480 * soft-fp/fixunssfti.c: Likewise.
51481 * soft-fp/fixunstfdi.c: Likewise.
51482 * soft-fp/fixunstfsi.c: Likewise.
51483 * soft-fp/fixunstfti.c: Likewise.
51484 * soft-fp/floatdidf.c: Likewise.
51485 * soft-fp/floatdisf.c: Likewise.
51486 * soft-fp/floatditf.c: Likewise.
51487 * soft-fp/floatsidf.c: Likewise.
51488 * soft-fp/floatsisf.c: Likewise.
51489 * soft-fp/floatsitf.c: Likewise.
51490 * soft-fp/floattidf.c: Likewise.
51491 * soft-fp/floattisf.c: Likewise.
51492 * soft-fp/floattitf.c: Likewise.
51493 * soft-fp/floatundidf.c: Likewise.
51494 * soft-fp/floatundisf.c: Likewise.
51495 * soft-fp/floatunsidf.c: Likewise.
51496 * soft-fp/floatunsisf.c: Likewise.
51497 * soft-fp/floatuntidf.c: Likewise.
51498 * soft-fp/floatuntisf.c: Likewise.
51499 * soft-fp/floatuntitf.c: Likewise.
51500 * soft-fp/fmadf4.c: Likewise.
51501 * soft-fp/fmasf4.c: Likewise.
51502 * soft-fp/fmatf4.c: Likewise.
51503 * soft-fp/gedf2.c: Likewise.
51504 * soft-fp/gesf2.c: Likewise.
51505 * soft-fp/getf2.c: Likewise.
51506 * soft-fp/ledf2.c: Likewise.
51507 * soft-fp/lesf2.c: Likewise.
51508 * soft-fp/letf2.c: Likewise.
51509 * soft-fp/muldf3.c: Likewise.
51510 * soft-fp/mulsf3.c: Likewise.
51511 * soft-fp/multf3.c: Likewise.
51512 * soft-fp/negdf2.c: Likewise.
51513 * soft-fp/negsf2.c: Likewise.
51514 * soft-fp/negtf2.c: Likewise.
51515 * soft-fp/op-1.h: Likewise.
51516 * soft-fp/op-2.h: Likewise.
51517 * soft-fp/op-4.h: Likewise.
51518 * soft-fp/op-8.h: Likewise.
51519 * soft-fp/op-common.h: Likewise.
51520 * soft-fp/quad.h: Likewise.
51521 * soft-fp/single.h: Likewise.
51522 * soft-fp/soft-fp.h: Likewise.
51523 * soft-fp/sqrtdf2.c: Likewise.
51524 * soft-fp/sqrtsf2.c: Likewise.
51525 * soft-fp/sqrttf2.c: Likewise.
51526 * soft-fp/subdf3.c: Likewise.
51527 * soft-fp/subsf3.c: Likewise.
51528 * soft-fp/subtf3.c: Likewise.
51529 * soft-fp/truncdfsf2.c: Likewise.
51530 * soft-fp/trunctfdf2.c: Likewise.
51531 * soft-fp/trunctfsf2.c: Likewise.
51532 * soft-fp/trunctfxf2.c: Likewise.
51533 * soft-fp/unorddf2.c: Likewise.
51534 * soft-fp/unordsf2.c: Likewise.
51535 * soft-fp/unordtf2.c: Likewise.
51536
51537 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
51538
51539 [BZ #15672]
51540 * misc/error.c (error_tail): Fix possible buffer overflow.
51541
51542 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
51543
51544 [BZ #13028]
51545 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51546 address.
51547
51548 2013-10-14 P. J. McDermott <pj@pehjota.net>
51549
51550 [BZ #832]
51551 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51552 testing pipefail option.
51553
51554 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51555
51556 * soft-fp/double.h: Indent preprocessor directives inside #if.
51557 * soft-fp/extended.h: Likewise.
51558 * soft-fp/op-2.h: Likewise.
51559 * soft-fp/op-4.h: Likewise.
51560 * soft-fp/op-common.h: Likewise.
51561 * soft-fp/quad.h: Likewise.
51562 * soft-fp/single.h: Likewise.
51563 * soft-fp/soft-fp.h: Likewise.
51564
51565 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51566
51567 * iconv/iconv_prog.c: Fix typos.
51568 * stdio-common/psiginfo-data.h: Likewise.
51569
51570 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51571
51572 [BZ #15764]
51573 * locale/setlocale.c: Fix typo.
51574
51575 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51576
51577 [BZ #16036]
51578 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51579 signaling NaN arguments.
51580 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51581 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51582
51583 [BZ #14910]
51584 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51585 unordered operands.
51586 * soft-fp/gesf2.c (__gesf2): Likewise.
51587 * soft-fp/getf2.c (__getf2): Likewise.
51588 * soft-fp/ledf2.c (__ledf2): Likewise.
51589 * soft-fp/lesf2.c (__lesf2): Likewise.
51590 * soft-fp/letf2.c (__letf2): Likewise.
51591
51592 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51593 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51594 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51595 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51596 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51597 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51598 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51599 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51600 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51601 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51602 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51603 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51604 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51605 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51606 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51607 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51608 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51609 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51610 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51611 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51612 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51613 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51614 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51615 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51616 * soft-fp/floattidf.c (__floattidf): Likewise.
51617 * soft-fp/floattisf.c (__floattisf): Likewise.
51618 * soft-fp/floattitf.c (__floattitf): Likewise.
51619 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51620 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51621 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51622 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51623 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51624 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51625 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51626 * soft-fp/gesf2.c (__gesf2): Likewise.
51627 * soft-fp/getf2.c (__getf2): Likewise.
51628 * soft-fp/ledf2.c (__ledf2): Likewise.
51629 * soft-fp/lesf2.c (__lesf2): Likewise.
51630 * soft-fp/letf2.c (__letf2): Likewise.
51631
51632 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51633 Undefine and redefine.
51634 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51635 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51636 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51637 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51638 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51639 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51640 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51641 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51642 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51643 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51644 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51645 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51646 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51647 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51648 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51649
51650 [BZ #16032]
51651 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51652 without decrementing exponent if mantissa >= that for the
51653 denominator, not >.
51654 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51655 denominator, not >. Decrement exponent in < case instead of
51656 incrementing in >= case.
51657 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51658 without decrementing exponent if mantissa >= that for the
51659 denominator, not >.
51660
51661 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51662 computing saturated result for unsigned overflow.
51663
51664 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51665 Jeff Law <law@redhat.com>
51666
51667 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51668 (atan2Mp): Add systemtap probe marker.
51669 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51670 (__ieee754_log): Add systemtap probe marker.
51671 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51672 (atanMp): Add systemtap probe marker.
51673 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51674 (tanMp): Add systemtap probe marker.
51675 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51676 (__slowexp): Add systemtap probe marker.
51677 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51678 (__slowpow): Add systemtap probe marker.
51679 * manual/probes.texi: Document probes.
51680
51681 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51682
51683 [BZ #15362]
51684 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51685 written.
51686 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51687 written.
51688 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51689 written to buffer but not flushed.
51690 * libio/iofwrite_u.c: Likewise.
51691 * libio/iopadn.c: Return bytes returned even if EOF was
51692 encountered.
51693 * libio/iowpadn.c: Likewise.
51694 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51695 if _IO_padn does not write the whole buffer.
51696 [!COMPILE_WPRINTF] (PAD): Likewise.
51697
51698 2013-10-10 David S. Miller <davem@davemloft.net>
51699
51700 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51701 directory block.
51702
51703 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51704
51705 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51706 instead of FSF address.
51707 * soft-fp/fixdfti.c: Likewise.
51708 * soft-fp/fixsfti.c: Likewise.
51709 * soft-fp/fixtfti.c: Likewise.
51710 * soft-fp/fixunsdfti.c: Likewise.
51711 * soft-fp/fixunssfti.c: Likewise.
51712 * soft-fp/fixunstfti.c: Likewise.
51713 * soft-fp/floattidf.c: Likewise.
51714 * soft-fp/floattisf.c: Likewise.
51715 * soft-fp/floattitf.c: Likewise.
51716 * soft-fp/floatuntidf.c: Likewise.
51717 * soft-fp/floatuntisf.c: Likewise.
51718 * soft-fp/floatuntitf.c: Likewise.
51719 * soft-fp/trunctfxf2.c: Likewise.
51720
51721 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51722 * soft-fp/fixdfti.c: Likewise.
51723 * soft-fp/fixsfti.c: Likewise.
51724 * soft-fp/fixtfti.c: Likewise.
51725 * soft-fp/fixunsdfti.c: Likewise.
51726 * soft-fp/fixunssfti.c: Likewise.
51727 * soft-fp/fixunstfti.c: Likewise.
51728 * soft-fp/floattidf.c: Likewise.
51729 * soft-fp/floattisf.c: Likewise.
51730 * soft-fp/floattitf.c: Likewise.
51731 * soft-fp/floatuntidf.c: Likewise.
51732 * soft-fp/floatuntisf.c: Likewise.
51733 * soft-fp/floatuntitf.c: Likewise.
51734 * soft-fp/trunctfxf2.c: Likewise.
51735
51736 2013-10-10 David S. Miller <davem@davemloft.net>
51737
51738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51739
51740 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51741
51742 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51743 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51744 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51745 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51746 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51747 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51748 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51749
51750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51751 for NaNs before doing comparisons on argument.
51752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51753 Likewise.
51754
51755 2013-10-10 Will Newton <will.newton@linaro.org>
51756
51757 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51758 passed to _int_memalign does not overflow.
51759
51760 2013-10-10 Torvald Riegel <triegel@redhat.com>
51761
51762 * scripts/bench.pl: Add include-sources directive.
51763 * benchtests/README: Update documentation.
51764
51765 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51766
51767 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51768 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51769 instead of FP_INIT_ROUNDMODE.
51770 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51771 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51772
51773 [BZ #16034]
51774 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51775 copy class of input value.
51776 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51777 not handle exceptions.
51778 * soft-fp/negsf2.c (__negsf2): Likewise.
51779 * soft-fp/negtf2.c (__negtf2): Likewise.
51780 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51781
51782 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51783
51784 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51785 semicolon. From Linux kernel.
51786
51787 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51788
51789 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51790
51791 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51792
51793 [BZ #156]
51794 * manual/socket.texi: Added statement about buffer
51795 for gethostbyname2_r.
51796
51797 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51798
51799 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51800 Use .p2align directive instead, throughout.
51801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51802 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51803 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51806 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51807 * sysdeps/x86_64/strchr.S: Likewise.
51808 * sysdeps/x86_64/strrchr.S: Likewise.
51809
51810 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51811
51812 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51813
51814 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51815
51816 * sysdeps/generic/math_private.h (__mpsin1): Remove
51817 declaration.
51818 (__mpcos1): Likewise.
51819 (__mpsin): New argument __range_reduce.
51820 (__mpcos): Likewise.
51821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51822 (slow): Use __mpsin and __mpcos.
51823 (slow1): Likewise.
51824 (slow2): Likewise.
51825 (sloww): Likewise.
51826 (sloww1): Likewise.
51827 (sloww2): Likewise.
51828 (bsloww): Likewise.
51829 (bsloww1): Likewise.
51830 (bsloww2): Likewise.
51831 (cslow2): Likewise.
51832 (csloww): Likewise.
51833 (csloww1): Likewise.
51834 (csloww2): Likewise.
51835 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51836 range_reduce. Merge in __mpsin1.
51837 (__mpcos): Likewise.
51838 (__mpsin1): Remove.
51839 (__mpcos1): Likewise.
51840
51841 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51842
51843 * locale/loadlocale.c (_nl_intern_locale_data): Use
51844 LOCFILE_ALIGNED_P.
51845 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51846 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51847 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51848 obstack data is appropriately aligned.
51849 (obstack_int32_grow_fast): Likewise.
51850 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51851 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51852 (add_locale_uint32_array): Likewise.
51853
51854 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51855
51856 * benchtests/Makefile: Remove ARGLIST and RET variables.
51857 ($(objpfx)bench-%.c): Pass only function name to the script.
51858 * benchtests/README: Update documentation.
51859 * benchtests/acos-inputs: Add new directives.
51860 * benchtests/acosh-inputs: Likewise.
51861 * benchtests/asin-inputs: Likewise.
51862 * benchtests/asinh-inputs: Likewise.
51863 * benchtests/atan-inputs: Likewise.
51864 * benchtests/atanh-inputs: Likewise.
51865 * benchtests/cos-inputs: Likewise.
51866 * benchtests/cosh-inputs: Likewise.
51867 * benchtests/exp-inputs: Likewise.
51868 * benchtests/log-inputs: Likewise.
51869 * benchtests/pow-inputs: Likewise.
51870 * benchtests/rint-inputs: Likewise.
51871 * benchtests/sin-inputs: Likewise.
51872 * benchtests/sinh-inputs: Likewise.
51873 * benchtests/tan-inputs: Likewise.
51874 * benchtests/tanh-inputs: Likewise.
51875 * scripts/bench.pl: Add support for new directives.
51876
51877 2013-10-07 Alan Modra <amodra@gmail.com>
51878
51879 * README: Fix careless merge.
51880
51881 2013-10-05 Alan Modra <amodra@gmail.com>
51882
51883 * NEWS: Mention powerpc64le support and bugs fixed.
51884 * README: Both big-endian and little-endian powerpc64 supported.
51885
51886 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51887
51888 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51889 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51890 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51891 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51892
51893 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51894
51895 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51896 match prototype.
51897
51898 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51899
51900 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51901 Move -mhard-float appending from
51902 ports/sysdeps/powerpc/powerpc32/Makefile.
51903 [$(with-fp) = yes] (ASFLAGS): Likewise.
51904 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51905 * sysdeps/powerpc/nofpu: Move directory from
51906 ports/sysdeps/powerpc/nofpu.
51907 * sysdeps/powerpc/soft-fp: Move directory from
51908 ports/sysdeps/powerpc/soft-fp.
51909 * sysdeps/powerpc/powerpc32/405: Move directory from
51910 ports/sysdeps/powerpc/powerpc32/405.
51911 * sysdeps/powerpc/powerpc32/440: Move directory from
51912 ports/sysdeps/powerpc/powerpc32/440.
51913 * sysdeps/powerpc/powerpc32/464: Move directory from
51914 ports/sysdeps/powerpc/powerpc32/464.
51915 * sysdeps/powerpc/powerpc32/476: Move directory from
51916 ports/sysdeps/powerpc/powerpc32/476.
51917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51918 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51920 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51922 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51924 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51926 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51927 * README: Update for powerpc-*-linux-gnu software floating point
51928 support in libc.
51929
51930 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51931 case to powerpc/powerpc32*.
51932 * sysdeps/unix/sysv/linux/configure: Regenerated.
51933
51934 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51935 (_FPU_MASK_OM): Define as 0x04.
51936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51938 0x00c10080.
51939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51940 0x0000003c.
51941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51942
51943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51944 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51945 getcontext_e500.
51946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51947 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51948 setcontext_e500.
51949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51950 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51951 and setcontext_e500.
51952
51953 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51954
51955 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51956
51957 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51958
51959 * manual/threads.texi (Default Thread Attributes): Fix typo.
51960
51961 2013-10-04 Will Newton <will.newton@linaro.org>
51962
51963 * malloc/Makefile: Add tst-memalign.
51964 * malloc/tst-memalign.c: New file.
51965
51966 * malloc/tst-posix_memalign.c: Add comments.
51967 (do_test): Add comments and call free on all potentially
51968 allocated pointers. Add space after cast.
51969
51970 * malloc/tst-pvalloc.c: Add comments.
51971 (do_test): Add comments and call free on all potentially
51972 allocated pointers. Remove duplicate check for NULL pointer.
51973 Add space after cast.
51974
51975 * malloc/tst-valloc.c: Add comments.
51976 (do_test): Add comments and call free on all potentially
51977 allocated pointers. Remove duplicate check for NULL pointer.
51978 Add space after cast.
51979
51980 2013-10-04 Alan Modra <amodra@gmail.com>
51981
51982 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51983 Use stdint types in rather than __attribute__((mode())).
51984 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51985
51986 2013-10-04 Alan Modra <amodra@gmail.com>
51987
51988 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51989 Correct handling of unaligned relocs for little-endian.
51990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51991
51992 2013-10-04 Alan Modra <amodra@gmail.com>
51993
51994 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51995 * configure: Regenerate.
51996 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51997 * shlib-versions: Likewise.
51998
51999 2013-10-04 Alan Modra <amodra@gmail.com>
52000
52001 * string/tester.c (test_memrchr): Increment reported test cycle.
52002
52003 2013-10-04 Alan Modra <amodra@gmail.com>
52004
52005 * string/test-memcpy.c (do_one_test): When reporting errors, print
52006 string address and don't overrun end of string.
52007
52008 2013-10-04 Alan Modra <amodra@gmail.com>
52009
52010 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52011 insrdi. Make better use of reg selection to speed exit slightly.
52012 Schedule entry path a little better. Remove useless "are we done"
52013 checks on entry to main loop. Handle wrapping around zero address.
52014 Correct main loop count. Handle single left-over word from main
52015 loop inline rather than by using loop_small. Remove extra word
52016 case in loop_small caused by wrong loop count. Add little-endian
52017 support.
52018 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52020 cache hint.
52021 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52022 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52023 support. Avoid rlwimi.
52024 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52025
52026 2013-10-04 Alan Modra <amodra@gmail.com>
52027
52028 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52029 insrdi. Formatting.
52030 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52031 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52032 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52033 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52034 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52035 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52036
52037 2013-10-04 Alan Modra <amodra@gmail.com>
52038
52039 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52041 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52042 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52043 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52044 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52045 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52046 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52047 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52048 use of regs. Use power7 mtocrf. Tidy function tails.
52049
52050 2013-10-04 Alan Modra <amodra@gmail.com>
52051
52052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52053 Formatting. Consistently use rXXX register defines or rN defines.
52054 Use early exit labels that avoid restoring unused non-volatile regs.
52055 Make cr field use more consistent with rWORDn compares. Rename
52056 regs used as shift registers for unaligned loop, using rN defines
52057 for short lifetime/multiple use regs.
52058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52059 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52060 addi 1,1,64 to pop stack frame. Simplify return value code.
52061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52062
52063 2013-10-04 Alan Modra <amodra@gmail.com>
52064
52065 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52066 support. Correct typos, formatting. Optimize tail. Use insrdi
52067 rather than rlwimi.
52068 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52069 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52070 little-endian support. Correct typos.
52071 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52072 rather than rlwimi.
52073 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52074 in loop and entry code to keep "and." results.
52075 (strchr): Add little-endian support. Comment. Move cntlzd
52076 earlier in tail.
52077 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52078
52079 2013-10-04 Alan Modra <amodra@gmail.com>
52080
52081 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52082 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52083 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52084 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52085
52086 2013-10-04 Alan Modra <amodra@gmail.com>
52087
52088 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52089 (rTMP): Define as r11.
52090 (strcmp): Add little-endian support. Optimise tail.
52091 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52092 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52093 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52094 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52095 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52097 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52098
52099 2013-10-04 Alan Modra <amodra@gmail.com>
52100
52101 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52102 little-endian support. Remove unnecessary "are we done" tests.
52103 Handle "s" wrapping around zero and extremely large "size".
52104 Correct main loop count. Handle single left-over word from main
52105 loop inline rather than by using small_loop. Correct comments.
52106 Delete "zero" tail, use "end_max" instead.
52107 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52108
52109 2013-10-04 Alan Modra <amodra@gmail.com>
52110
52111 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52112 support. Don't branch over align.
52113 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52114 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52115 support. Rearrange tmp reg use to suit. Comment.
52116 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52117
52118 2013-10-04 Alan Modra <amodra@gmail.com>
52119
52120 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52121
52122 2013-10-04 Alan Modra <amodra@gmail.com>
52123
52124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52125 conditional form of branch and link when obtaining pc.
52126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52127
52128 2013-10-04 Alan Modra <amodra@gmail.com>
52129
52130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52131 HIWORD/LOWORD.
52132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52134
52135 2013-10-04 Alan Modra <amodra@gmail.com>
52136
52137 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52138 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52139 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52140 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52141 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52142 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52143 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52144 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52145 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52146 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52147
52148 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52149 Alistair Popple <alistair@ozlabs.au.ibm.com>
52150 Alan Modra <amodra@gmail.com>
52151
52152 [BZ #15723]
52153 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52154 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52155 _dl_hwcap access for little-endian.
52156 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52157 destroy vmx regs when saving unaligned.
52158 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52159 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52160 destroy vmx regs when saving unaligned.
52161
52162 2013-10-04 Alan Modra <amodra@gmail.com>
52163
52164 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52165 Don't use a union to pack hi/low value.
52166
52167 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52168
52169 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52170 for little-endian.
52171 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52173 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52174 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52175 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52176
52177 2013-10-04 Alan Modra <amodra@gmail.com>
52178
52179 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52180 constants to usual value for .cst8 section, and remove redundant
52181 high address load.
52182 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52183 constant for 0x1p52. Load little-endian words of double from
52184 correct stack offsets.
52185
52186 2013-10-04 Alan Modra <amodra@gmail.com>
52187
52188 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52189 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52190 words of double from correct stack offsets.
52191 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52192 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52193 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52194 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52197 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52198 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52199 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52203 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52204 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52205 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52206 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52207 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52208
52209 2013-10-04 Alan Modra <amodra@gmail.com>
52210
52211 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52212 64-bit int/double union.
52213 (_FPU_SETCW): Likewise.
52214 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52215 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52216
52217 2013-10-04 Alan Modra <amodra@gmail.com>
52218
52219 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52220 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52221
52222 2013-10-04 Alan Modra <amodra@gmail.com>
52223
52224 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52225 use vector int constants.
52226 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52227
52228 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52229
52230 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52231 array with long long.
52232 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52233 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52234 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52235 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52236 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52237 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52238 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52239 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52240 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52241 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52242 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52243 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52244 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52245
52246 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52247
52248 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52249 (__signbit): Likewise. Correct for little-endian.
52250 (__signbitl): Call __signbit.
52251 (lrint): Correct for little-endian.
52252 (lrintf): Call lrint.
52253
52254 2013-10-04 Alan Modra <amodra@gmail.com>
52255
52256 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52257 union 32-bit int array member with 64-bit int array.
52258 (t515, tm256): Double rather than long double.
52259 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52260
52261 2013-10-04 Alan Modra <amodra@gmail.com>
52262
52263 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52264 Delete.
52265 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52267 version of math_ldbl.h.
52268
52269 2013-10-04 Alan Modra <amodra@gmail.com>
52270
52271 [BZ #15734], [BZ #15735]
52272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52273 all uses of ieee875 long double macros and unions. Simplify test
52274 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52275 ldbl_extract_mantissa value for ix,iy exponents. Properly
52276 normalize after ldbl_extract_mantissa, and don't add hidden bit
52277 already handled. Don't treat low word of ieee854 mantissa like
52278 low word of IBM long double and mask off bit when testing for
52279 zero.
52280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52281 all uses of ieee875 long double macros and unions. Simplify tests
52282 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52283 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52284 two1022, instead use their values. Recognise that tests for large
52285 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52286 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52287 Rewrite all uses of ieee875 long double macros and unions. Simplify
52288 test for 0.0L and nan. Correct negation.
52289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52290 ieee875 long double macros and unions. Correct output for large
52291 magnitude x. Correct absolute value calculation.
52292 (__erfcl): Likewise.
52293 * math/libm-test.inc: Add tests for errors discovered in IBM long
52294 double versions of fmodl, remainderl, erfl and erfcl.
52295
52296 2013-10-04 Alan Modra <amodra@gmail.com>
52297
52298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52299 all uses of ieee854 long double macros and unions. Simplify tests
52300 for long doubles that are fully specified by the high double.
52301 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52302 Likewise.
52303 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52304 Remove dead code too.
52305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52306 (__ieee754_ynl): Likewise.
52307 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52310 Remove dead code too.
52311 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52312 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52314 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52315 Simplify.
52316 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52317 Simplify.
52318 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52319 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52320 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52321 Comment on variable precision.
52322 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52323 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52324 Likewise.
52325 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52328 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52329 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52330
52331 2013-10-04 Alan Modra <amodra@gmail.com>
52332
52333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52335 all uses of ieee854 long double macros and unions.
52336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52340 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52342 Likewise.
52343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52346 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52348 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52349 Simplify sign and nan test too.
52350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52351 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52352 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52353 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52354 Likewise.
52355 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52356 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52357 Likewise.
52358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52359 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52360 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52361 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52364
52365 2013-10-04 Alan Modra <amodra@gmail.com>
52366
52367 * stdio-common/printf_size.c (__printf_size): Don't use
52368 union ieee854_long_double in fpnum union.
52369 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52370 signbit macro to retrieve sign from long double.
52371 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52372 retrieve sign from long double.
52373 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52374 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52377 * math/test-misc.c (main): Don't use union ieee854_long_double.
52378
52379 2013-10-04 Alan Modra <amodra@gmail.com>
52380
52381 [BZ #15680]
52382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52383 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52384 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52385 calculation. Remove unnecessary test for denormal exponent.
52386 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52387 Correct handling of denormals. Avoid undefined shift behaviour.
52388 Correct normalisation of low mantissa when low double is denormal.
52389 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52390 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52391 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52392 Correct normalisation of low mantissa. Test for overflow of high
52393 mantissa and normalise.
52394 (ldbl_nearbyint): Use more readable constant for two52.
52395 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52396 (__mpn_construct_long_double): Fix test for overflow of high
52397 mantissa and correct normalisation. Avoid undefined shift.
52398
52399 2013-10-04 Alan Modra <amodra@gmail.com>
52400
52401 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52402 (union ibm_extended_long_double): Define as an array of ieee754_double.
52403 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52404 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52405 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52406 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52408 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52410 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52411 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52412 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52413 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52414
52415 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52416
52417 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52418 page size instead of calling getpagesize.
52419
52420 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52421 (LOCFILE_ALIGN_MASK): Likewise.
52422 (LOCFILE_ALIGN_UP): Likewise.
52423 (LOCFILE_ALIGNED_P): Likewise.
52424 * locale/programs/ld-collate.c (collate_output): Use the new
52425 macros instead of __alignof__ (int32_t).
52426 * locale/weight.h (findidx): Likewise.
52427
52428 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52429
52430 [BZ #431]
52431 * manual/string.texi: Fix strncat and wcsncat.
52432
52433 2013-10-03 Brooks Moses <bmoses@google.com>
52434
52435 [BZ #15915]
52436 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52437 * Makerules: ...here, and adjust associated comments.
52438
52439 2013-10-02 Will Newton <will.newton@linaro.org>
52440
52441 * malloc/Makefile: Add tst-pvalloc.
52442 * malloc/tst-pvalloc.c: New file.
52443
52444 2013-10-02 Will Newton <will.newton@linaro.org>
52445
52446 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52447 improve test coverage.
52448
52449 2013-10-02 Will Newton <will.newton@linaro.org>
52450
52451 * malloc/Makefile: Add tst-posix_memalign.
52452 * malloc/tst-posix_memalign.c: New file.
52453
52454 2013-10-01 Eric Blake <eblake@redhat.com>
52455
52456 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52457 Use __THROWNL rather than __THROW on static functions.
52458
52459 2013-09-30 Petr Machata <pmachata@redhat.com>
52460
52461 * elf/elf.h (R_AARCH64_ABS16): New macro.
52462 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52463 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52464 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52465 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52466 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52467 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52468 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52469 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52470 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52471 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52472 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52473 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52474 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52475 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52476 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52477 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52478 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52479 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52480 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52481 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52482 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52483 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52484 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52485 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52486 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52487 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52488 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52489 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52490 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52491 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52492 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52493 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52494 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52495 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52496 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52497 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52498 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52499 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52500 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52501 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52502 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52503 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52504 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52505 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52506 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52507 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52508 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52509 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52510 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52511 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52512 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52513 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52514 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52515 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52516 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52517 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52518 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52519 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52520 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52521 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52522 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52523 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52524 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52525 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52526 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52527 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52528 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52529 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52530 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52531 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52532 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52533 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52534 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52535 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52536 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52537 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52538 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52539 (R_AARCH64_TLSDESC_LDR): Likewise.
52540 (R_AARCH64_TLSDESC_ADD): Likewise.
52541 (R_AARCH64_TLSDESC_CALL): Likewise.
52542
52543 2013-09-30 Andreas Schwab <schwab@suse.de>
52544
52545 [BZ #15048]
52546 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52547 the nss database lookup.
52548 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52550
52551 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52552
52553 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52554
52555 2013-09-28 P. J. McDermott <pj@pehjota.net>
52556
52557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52558 ${Bash-specific parameter/pattern/string} parameter expansion.
52559 * sysdeps/unix/make-syscalls.sh: Likewise.
52560
52561 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52562
52563 * sysdeps/sh/stackguard-macros.h: New file.
52564
52565 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52566
52567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52569 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52570 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52571 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52572 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52573
52574 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52575
52576 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52577 Fix thread ID register.
52578
52579 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52580
52581 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52582 [POSIX || UNIX98]: Require rather than permitting all symbols from
52583 <time.h>.
52584 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52585 element of struct sched_param.
52586 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52587 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52588 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52589 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52590 constant.
52591
52592 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52593
52594 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52595 argument calculation.
52596
52597 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52598
52599 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52600 Expect macro.
52601 [POSIX] (pthread_attr_t): Do not require type.
52602 [POSIX] (pthread_cond_t): Likewise.
52603 [POSIX] (pthread_condattr_t): Likewise.
52604 [POSIX] (pthread_key_t): Likewise.
52605 [POSIX] (pthread_mutex_t): Likewise.
52606 [POSIX] (pthread_mutexattr_t): Likewise.
52607 [POSIX] (pthread_once_t): Likewise.
52608 [POSIX] (pthread_t): Likewise.
52609 [POSIX-based standards] (pthread_atfork): Expect function.
52610
52611 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52612 Richard Sandiford <richard@codesourcery.com>
52613
52614 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52615 (swap_endianness_p): New extern variable.
52616 (set_big_endian): New inline function.
52617 (maybe_swap_uint32): Likewise.
52618 (maybe_swap_uint32_array): Likewise.
52619 (maybe_swap_uint32_obstack): Likewise.
52620 * locale/programs/locfile.c: Include <stdbool.h>.
52621 (swap_endianness_p): New variable.
52622 (add_locale_uint32): Call maybe_swap_uint32.
52623 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52624 (write_locale_data): Call maybe_swap_uint32_array.
52625 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52626 maybe_swap_uint32.
52627 (obstack_int32_grow_fast): Likewise.
52628 (output_weightwc): Call maybe_swap_uint32_obstack.
52629 (collate_output): Likewise.
52630 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52631 (OPT_LITTLE_ENDIAN): Likewise.
52632 (options): Add --little-endian and --big-endian options.
52633 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52634 * locale/programs/locarchive.c: Include "locfile.h".
52635 (GET): New macro.
52636 (SET): Likewise.
52637 (INC): Likewise.
52638 (create_archive): Use the new macros to access fields of
52639 structures directly mapped from or written to locale archives.
52640 (oldlocrecentcmp): Likewise.
52641 (enlarge_archive): Likewise.
52642 (insert_name): Likewise.
52643 (add_alias): Likewise.
52644 (add_locale): Likewise.
52645 (delete_locales_from_archive): Likewise.
52646 (show_archive_content): Likewise.
52647 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52648 locale data.
52649
52650 2013-09-24 Roland McGrath <roland@hack.frob.com>
52651
52652 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52653 http://www.gnu.org/doc/freemanuals.texi.
52654 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52655
52656 2013-09-24 Will Newton <will.newton@linaro.org>
52657
52658 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52659 macro.
52660
52661 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52662
52663 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52664 unsigned char.
52665
52666 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52667
52668 * manual/threads.texi (POSIX Threads): Fix a typo.
52669
52670 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52671
52672 [BZ #14547]
52673 * string/tst-strcoll-overflow.c: New test case.
52674 * string/Makefile (xtests): Add tst-strcoll-overflow.
52675 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52676 cache if string sizes may cause integer overflow.
52677
52678 [BZ #14547]
52679 * string/strcoll_l.c (coll_seq): New members rule, idx,
52680 save_idx and back_us.
52681 (get_next_seq_nocache): New function.
52682 (do_compare_nocache): New function.
52683 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52684 when malloc fails.
52685
52686 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52687
52688 [BZ #15754]
52689 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52690 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52691 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52692
52693 [BZ #15754]
52694 * elf/Makefile (tests): Add tst-ptrguard1.
52695 (tests-static): Add tst-ptrguard1-static.
52696 (tst-ptrguard1-ARGS): Define.
52697 (tst-ptrguard1-static-ARGS): Define.
52698 * elf/tst-ptrguard1.c: New file.
52699 * elf/tst-ptrguard1-static.c: New file.
52700 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52701 * sysdeps/i386/stackguard-macros.h: Likewise.
52702 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52703 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52704 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52705 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52706 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52707 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52708
52709 2013-09-23 Hector Marco <hecmargi@upv.es>
52710 Ismael Ripoll <iripoll@disca.upv.es>
52711 Carlos O'Donell <carlos@redhat.com>
52712
52713 [BZ #15754]
52714 * sysdeps/generic/stackguard-macros.h: Define
52715 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52716 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52717 Define __pointer_chk_guard_local.
52718 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52719 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52720
52721 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52722
52723 [BZ #15859]
52724 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52725
52726 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52727
52728 * include/string.h (__ffs): Declare as hidden.
52729 * string/ffs.c (__ffs): Define as hidden.
52730 * sysdeps/i386/ffs.c (__ffs): Likewise.
52731 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52732 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52733 * sysdeps/s390/ffs.c (__ffs): Likewise.
52734 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52735
52736 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52737
52738 * NEWS: Mention malloc probes.
52739
52740 * malloc/arena.c (new_heap): New memory_heap_new probe.
52741 (grow_heap): New memory_heap_more probe.
52742 (shrink_heap): New memory_heap_less probe.
52743 (heap_trim): New memory_heap_free probe.
52744 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52745 (systrim): New memory_sbrk_less probe.
52746 * manual/probes.texi: Document them.
52747
52748 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52749 * manual/probes.texi: Document it.
52750
52751 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52752 (__libc_realloc): Add memory_realloc_retry probe.
52753 (__libc_memalign): Add memory_memalign_retry probe.
52754 (__libc_valloc): Add memory_valloc_retry probe.
52755 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52756 (__libc_calloc): Add memory_calloc_retry probe.
52757 * manual/probes.texi: Document them.
52758
52759 * malloc/arena.c (get_free_list): Add probe
52760 memory_arena_reuse_free_list.
52761 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52762 and memory_arena_reuse.
52763 (arena_get2) [!PER_THREAD]: Likewise.
52764 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52765 memory_arena_reuse_realloc.
52766 * manual/probes.texi: Document them.
52767
52768 * malloc/malloc.c (__libc_free): Add
52769 memory_mallopt_free_dyn_thresholds probe.
52770 (__libc_mallopt): Add multiple memory_mallopt probes.
52771 * manual/probes.texi: Document them.
52772
52773 * malloc/malloc.c: Include stap-probe.h.
52774 (__libc_mallopt): Add memory_mallopt probe.
52775 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52776 * manual/probes.texi: New.
52777 * manual/Makefile (chapters): Add probes.
52778 * manual/threads.texi: Set next node.
52779
52780 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52781
52782 [BZ #15963, #13985]
52783 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52784 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52785 Add `Chinese' to `nan' entry name.
52786
52787 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52788
52789 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52790 (POLYNOMIAL): Likewise.
52791 (TAYLOR_SINCOS): Likewise.
52792 (TAYLOR_SLOW): Likewise.
52793 (__sin): Use TAYLOR_SINCOS.
52794 (__cos): Likewise.
52795 (slow): Use TAYLOR_SLOW.
52796 (sloww): Likewise.
52797 (bsloww): Likewise.
52798 (csloww): Likewise.
52799
52800 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52801
52802 * stdlib/strtod_l.c: Fix buffer overrun.
52803
52804 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52805
52806 * benchtests/Makefile (bench): Add sincos.
52807 * benchtests/bench-sincos.c: New file.
52808
52809 * math/libm-test.inc (cos_test_data): New test inputs.
52810 (sin_test_data): Likewise.
52811
52812 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52813 macro.
52814 (__sin): Use it.
52815 (__cos): Likewise.
52816 (slow1): Likewise.
52817 (slow2): Likewise.
52818 (sloww1): Likewise.
52819 (sloww2): Likewise.
52820 (bsloww1): Likewise.
52821 (bsloww2): Likewise.
52822 (cslow2): Likewise.
52823 (csloww1): Likewise.
52824 (csloww2): Likewise.
52825
52826 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52827 function.
52828 (__sin): Use it.
52829 (__cos): Likewise.
52830
52831 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52832 gotos.
52833 (__cos): Likewise.
52834
52835 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52836
52837 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52838 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52839 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52840 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52841 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52842 * elf/cache.c (print_entry): Handle the new cache flags.
52843
52844 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52845 Aldy Hernandez <aldyh@redhat.com>
52846
52847 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52848 Change condition to [_SOFT_FLOAT].
52849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52861 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52864 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52865 declaration.
52866
52867 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52868
52869 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52870 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52871 (__longjmp): Use LOAD_GP to load saved GPRs.
52872 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52873 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52874 (__sigsetjmp): Use SAVE_GP to save GPRs.
52875
52876 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52877 Do not append -msoft-float.
52878 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52879
52880 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52881
52882 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52883
52884 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52885
52886 [BZ #15966]
52887 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52888 (_FPU_GETCW): Use initial "__" on variable and field names but not
52889 on macro parameter name.
52890 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52891 parentheses around reference to macro parameter.
52892
52893 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52894
52895 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52896 prototype.
52897 (ctype_startup): Use uint32_t in cast and sizeof for
52898 ctype->charnames.
52899
52900 2013-09-11 Jia Liu <proljc@gmail.com>
52901
52902 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52903 __daddr_t_defined.
52904 [__FreeBSD__]: Likewise.
52905
52906 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52907
52908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52909 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52910 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52911 (strchr): Remove __strchr_sse42 ifunc selection.
52912 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52913 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52914
52915 2013-09-11 Will Newton <will.newton@linaro.org>
52916
52917 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52918 parameter to RES. Remove hardcoded 1000 value.
52919 * benchtests/bench-skeleton.c (main): Pass RES parameter
52920 to TIMING_INIT and multiply result by 1000.
52921
52922 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52923
52924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52925
52926 2013-09-11 Andreas Schwab <schwab@suse.de>
52927
52928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52929 if not defined.
52930 (O_TMPFILE) [__USE_GNU]: Define.
52931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52932 Define.
52933
52934 2013-09-11 Will Newton <will.newton@linaro.org>
52935
52936 [BZ #15857]
52937 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52938 does not overflow.
52939
52940 2013-09-11 Will Newton <will.newton@linaro.org>
52941
52942 [BZ #15856]
52943 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52944 does not overflow.
52945
52946 2013-09-11 Will Newton <will.newton@linaro.org>
52947
52948 [BZ #15855]
52949 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52950 does not overflow.
52951
52952 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52953
52954 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52955 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52956 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52957 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52958 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52959
52960 2013-09-10 Allan McRae <allan@archlinux.org>
52961
52962 [BZ #15748]
52963 * manual/arith.texi (Parsing of Floats): Clarify
52964 cross-reference.
52965
52966 [BZ #15849]
52967 * manual/install.texi (Running make install): Mention
52968 --enable-pt-chown.
52969 * INSTALL: Regenerated.
52970
52971 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52972
52973 * csu/init-first.c (_init): Remove the !SHARED condition around
52974 FPU control word initialization.
52975 * elf/dl-support.c (_dl_fpu_control): New variable.
52976 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52977 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52978 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52979 * math/test-fpucw-static.c: New file.
52980 * math/test-fpucw-ieee.c: New file.
52981 * math/test-fpucw-ieee-static.c: New file.
52982 * math/Makefile (tests): Add `test-fpucw-ieee' and
52983 `$(tests-static)'.
52984 (tests-static): New variable.
52985 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52986 dependency to...
52987 [($(build-shared),yes)]
52988 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52989 ... this.
52990 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52991 New dependency.
52992
52993 2013-09-09 Allan McRae <allan@archlinux.org>
52994
52995 [BZ #15939]
52996 * manual/string.texi (Collation Functions): Fix typo in
52997 strcoll example.
52998 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52999
53000 [BZ #15893]
53001 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53002
53003 [BZ #15892]
53004 * libio/memstream.c (open_memstream): Fix memory leak.
53005 * libio/wmemstream.c (open_wmemstream): Likewise.
53006
53007 [BZ #15895]
53008 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53009
53010 2013-09-09 Will Newton <will.newton@linaro.org>
53011
53012 * malloc/Makefile: Add tst-realloc to tests.
53013 * malloc/tst-realloc.c: New file.
53014
53015 2013-09-09 Allan McRae <allan@archlinux.org>
53016
53017 [BZ #15844]
53018 * COPYING: Update from GNU website to fix FSF address.
53019 * COPYING.LIB: Likewise.
53020
53021 2013-09-06 David S. Miller <davem@davemloft.net>
53022
53023 * po/zh_TW.po: Update Chinese (traditional) translation from
53024 translation project.
53025
53026 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53027 Joseph Myers <joseph@codesourcery.com>
53028
53029 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53030 "localeinfo.h".
53031 (obstack_chunk_alloc): New macro.
53032 (obstack_chunk_free): Likewise.
53033 (record_offset): New function.
53034 (init_locale_data): Likewise.
53035 (align_locale_data): Likewise.
53036 (add_locale_empty): Likewise.
53037 (add_locale_raw_data): Likewise.
53038 (add_locale_raw_obstack): Likewise.
53039 (add_locale_string): Likewise.
53040 (add_locale_wstring): Likewise.
53041 (add_locale_uint32): Likewise.
53042 (add_locale_uint32_array): Likewise.
53043 (add_locale_char): Likewise.
53044 (start_locale_structure): Likewise.
53045 (end_locale_structure): Likewise.
53046 (start_locale_prelude): Likewise.
53047 (end_locale_prelude): Likewise.
53048 (write_locale_data): Take locale_file structure rather than an
53049 iovec.
53050 * locale/programs/locfile.h: Include "obstack.h".
53051 (struct locale_file): Change to store locale file contents instead
53052 of header.
53053 (init_locale_data): New prototype.
53054 (align_locale_data): Likewise.
53055 (add_locale_empty): Likewise.
53056 (add_locale_raw_data): Likewise.
53057 (add_locale_raw_obstack): Likewise.
53058 (add_locale_string): Likewise.
53059 (add_locale_wstring): Likewise.
53060 (add_locale_uint32): Likewise.
53061 (add_locale_uint32_array): Likewise.
53062 (add_locale_char): Likewise.
53063 (start_locale_structure): Likewise.
53064 (end_locale_structure): Likewise.
53065 (start_locale_prelude): Likewise.
53066 (end_locale_prelude): Likewise.
53067 (write_locale_data): Update prototype.
53068 * locale/programs/3level.h (struct TABLE): Remove result field.
53069 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53070 Use new locale_file interface.
53071 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53072 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53073 * locale/programs/ld-address.c (address_output): Use new
53074 locale_file interface.
53075 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53076 NO_ADD_LOCALE.
53077 (collate_finish): Don't call collseq_table_finalize.
53078 (collate_output): Use new locale_file interface.
53079 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53080 in file.
53081 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53082 (TABLE): Move defines earlier in file.
53083 (ELEMENT): Likewise.
53084 (DEFAULT): Likewise.
53085 (wctrans_table_add): Move macro and inline function earlier in
53086 file.
53087 (struct wctype_table): Move type earlier in file.
53088 (add_locale_wctype_table): New static prototype.
53089 (struct locale_ctype_t): Use logical types instead of struct iovec
53090 pointers for members.
53091 (ctype_output): Use new locale_file interface.
53092 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53093 new locale_file interface.
53094 (allocate_arrays): Update for use of new locale_file interface.
53095 * locale/programs/ld-identification.c (identification_output): Use
53096 new locale_file interface.
53097 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53098 * locale/programs/ld-messages.c (messages_output): Likewise.
53099 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53100 * locale/programs/ld-name.c (name_output): Likewise.
53101 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53102 * locale/programs/ld-paper.c (paper_output): Likewise.
53103 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53104 * locale/programs/ld-time.c (time_output): Likewise.
53105
53106 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53107
53108 * benchtests/Makefile: Add memrchr benchmark.
53109 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53110 benchmark as memrchr.
53111 * benchtests/bench-memrchr-ifunc.c: New file.
53112 * benchtests/bench-memrchr.c: New file.
53113
53114 2013-09-06 Will Newton <will.newton@linaro.org>
53115
53116 * benchtests/Makefile (string-bench): Add memcpy.
53117
53118 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53119 Cong Wang <amwang@redhat.com>
53120
53121 [BZ #15850]
53122 * sysdeps/unix/sysv/linux/bits/in.h
53123 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53124 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53125 before __USE_KERNEL_IPV6_DEFS uses.
53126 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53127 IPPROTO_BEETPH.
53128 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53129 sockaddr_in6, or ipv6_mreq.
53130
53131 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53132
53133 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53134 memory access for final bytes in some large inputs.
53135 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53136
53137 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53138
53139 * string/test-memrchr.c: New file.
53140 * string/test-memrchr-ifunc.c: New file.
53141 * string/Makefile: Add new memrchr testcase.
53142
53143 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53144
53145 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53146 fanotify_init returns EPERM.
53147
53148 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53149
53150 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53151 errors.
53152 (top level): Treat second token from macro or constant entries for
53153 allowed headers as allowed.
53154 * include/complex.h: Condition internal declarations on
53155 [!_ISOMAC].
53156 * include/fenv.h: Condition include of <stdbool.h> and internal
53157 declarations on [!_ISOMAC].
53158
53159 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53160
53161 [BZ #15923]
53162 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53163
53164 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53165
53166 * configure.in (--enable-versioning): Remove configure option.
53167 (libc_cv_asm_symver_directive): Remove configure test.
53168 (libc_cv_ld_version_script_option): Likewise.
53169 (VERSIONING): Remove variable and AC_SUBST.
53170 (DO_VERSIONING): Remove AC_DEFINE.
53171 * configure: Regenerated.
53172 * config.h.in (DO_VERSIONING): Remove macro.
53173 * Makerules [$(versioning) = yes]: Change conditionals to
53174 [$(build-shared) = yes].
53175 * config.make.in (versioning): Remove variable.
53176 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53177 [$(build-shared) = yes].
53178 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53179 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53180 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53181 [$(build-shared) = yes].
53182 * extra-lib.mk [$(versioning) = yes]: Likewise.
53183 * hurd/Makefile [$(versioning) = yes]: Likewise.
53184 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53185 [SHARED].
53186 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53187 [SHARED].
53188 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53189 [SHARED && !NO_HIDDEN].
53190 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53191 [SHARED].
53192 [SHARED && DO_VERSIONING]: Likewise..
53193 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53194 [$(build-shared) = yes].
53195 * manual/install.texi (--disable-versioning): Remove
53196 documentation.
53197 * INSTALL: Regenerated.
53198 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53199 to [SHARED].
53200 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53201 [$(build-shared) = yes].
53202 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53203 * sysdeps/i386/i686/multiarch/strstr-c.c
53204 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53205 [SHARED && !NO_HIDDEN].
53206 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53207 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53208 * sysdeps/powerpc/powerpc32/dl-machine.c
53209 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53210 * sysdeps/powerpc/powerpc32/sysdep.h
53211 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53212 to [SHARED && PIC && !NO_HIDDEN].
53213 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53214 conditional to [SHARED].
53215
53216 2013-09-04 Will Newton <will.newton@linaro.org>
53217
53218 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53219 * benchtests/bench-string.h: Include bench-timing.h instead
53220 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53221 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53222 call to HP_TIMING_DIFF_INIT.
53223 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53224 instead of hp-timing.h macros.
53225 * benchtests/bench-memchr.c: Likewise.
53226 * benchtests/bench-memcmp.c: Likewise.
53227 * benchtests/bench-memcpy.c: Likewise.
53228 * benchtests/bench-memmem.c: Likewise.
53229 * benchtests/bench-memmove.c: Likewise.
53230 * benchtests/bench-memset.c: Likewise.
53231 * benchtests/bench-rawmemchr.c: Likewise.
53232 * benchtests/bench-strcasecmp.c: Likewise.
53233 * benchtests/bench-strcasestr.c: Likewise.
53234 * benchtests/bench-strcat.c: Likewise.
53235 * benchtests/bench-strchr.c: Likewise.
53236 * benchtests/bench-strcmp.c: Likewise.
53237 * benchtests/bench-strcpy.c: Likewise.
53238 * benchtests/bench-strcpy_chk.c: Likewise.
53239 * benchtests/bench-strlen.c: Likewise.
53240 * benchtests/bench-strncasecmp.c: Likewise.
53241 * benchtests/bench-strncat.c: Likewise.
53242 * benchtests/bench-strncmp.c: Likewise.
53243 * benchtests/bench-strncpy.c: Likewise.
53244 * benchtests/bench-strnlen.c: Likewise.
53245 * benchtests/bench-strpbrk.c: Likewise.
53246 * benchtests/bench-strrchr.c: Likewise.
53247 * benchtests/bench-strspn.c: Likewise.
53248 * benchtests/bench-strstr.c: Likewise.
53249
53250 2013-09-04 Will Newton <will.newton@linaro.org>
53251
53252 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53253
53254 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53255
53256 [BZ #15427]
53257 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53258 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53259 * math/libm-test.inc (lgamma_test_data): Add more tests.
53260 * sysdeps/i386/fpu/libm-test-ulps: Update.
53261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53262
53263 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53264
53265 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53267 Add ifunc.
53268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53269 Add strcmp-sse2-unaligned
53270 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53271
53272 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53273
53274 * Versions.def (libc): Add GLIBC_2.19.
53275
53276 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53277
53278 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53279 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53280
53281 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53282
53283 [BZ #14155]
53284 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53285 intermediate calculations in recurrence.
53286 (__ieee754_ynf): Likewise.
53287 * math/libm-test.inc (jn_test_data): Do not allow spurious
53288 underflow exception. Add more tests.
53289 (yn_test_data): Add more tests.
53290 * sysdeps/i386/fpu/libm-test-ulps: Update.
53291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53292
53293 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53294
53295 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53296
53297 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53298
53299 * csu/init-first.c: Fix then/than typos.
53300 * locale/programs/ld-collate.c: Likewise.
53301 * locale/programs/linereader.h: Likewise.
53302 * manual/charset.texi: Likewise.
53303 * manual/filesys.texi: Likewise.
53304 * manual/stdio.texi: Likewise.
53305 * manual/string.texi: Likewise.
53306 * stdlib/fmtmsg.c: Likewise.
53307 * sysdeps/i386/stpncpy.S: Likewise.
53308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53309 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53310 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53311 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53312
53313 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53314
53315 * elf/dl-open.c: Fix typos.
53316 * iconvdata/gbbig5.c: Likewise.
53317 * iconvdata/iso-2022-jp.c: Likewise.
53318 * iconv/gconv_int.h: Likewise.
53319 * iconv/loop.c: Likewise.
53320 * nis/rpcsvc/nis.h: Likewise.
53321 * resolv/ns_name.c: Likewise.
53322 * stdio-common/vfscanf.c: Likewise.
53323 * streams/stropts.h: Likewise.
53324 * sunrpc/rpc_thread.c: Likewise.
53325 * sysdeps/i386/strpbrk.S: Likewise.
53326 * sysdeps/ieee754/k_standard.c: Likewise.
53327 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53329 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53330 * sysdeps/mach/hurd/profil.c: Likewise.
53331 * sysdeps/s390/dl-procinfo.h: Likewise.
53332 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53333 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53334 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53335 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53337
53338 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53339
53340 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53342
53343 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53344
53345 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53346 aix specific files.
53347 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53350 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53351 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53352 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53353 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53354 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53355
53356 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53357 Roland McGrath <roland@hack.frob.com>
53358
53359 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53360 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53361
53362 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53363
53364 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53365 __executable_start symbol instead of _start.
53366
53367 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53368
53369 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53370 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53371 Move macros to...
53372 * sysdeps/gnu/ldsodefs.h: ... this new file.
53373
53374 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53375 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53376 instead of ELFOSABI_LINUX.
53377
53378 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53379 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53380 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53381 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53382 Likewise.
53383 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53384 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53385 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53386 Likewise.
53387 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53388 (ibm_extended_long_double): Add ieee_nan member.
53389 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53390 (do_test): New function.
53391
53392 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53393 TEST_TRUNC.
53394 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53395 functions, renamed from truncdfsf_test, trunctfsf_test,
53396 trunctfdf_test.
53397 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53398 functions.
53399 (do_test): Run all these.
53400
53401 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53402
53403 * argp/argp-help.c: Fix typos.
53404 * argp/argp-parse.c: Likewise.
53405 * debug/backtracesyms.c: Likewise.
53406 * elf/elf.h: Likewise.
53407 * malloc/malloc.c: Likewise.
53408 * nis/nis_print.c: Likewise.
53409 * resolv/res_comp.c: Likewise.
53410 * stdlib/stdlib.h: Likewise.
53411 * sunrpc/clnt_tcp.c: Likewise.
53412 * sunrpc/clnt_udp.c: Likewise.
53413 * sunrpc/clnt_unix.c: Likewise.
53414 * sysdeps/unix/bsd/ptsname.c: Likewise.
53415 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53416 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53418 Likewise.
53419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53420 Likewise.
53421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53422 Likewise.
53423 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53424
53425 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53426
53427 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53429
53430 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53431
53432 [BZ #15897]
53433 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53434 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53435 ($(objpfx)bug-dl-leaf): New rule.
53436 ($(objpfx)bug-dl-leaf.so): Likewise.
53437 ($(objpfx)bug-dl-leaf.out): Likewise.
53438 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53439 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53440 * dlfcn/bug-dl-leaf.c: New test.
53441 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53442 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53443 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53444 (dlclose): Likewise.
53445 (dlmopen): Likewise.
53446
53447 2013-08-27 Roland McGrath <roland@hack.frob.com>
53448
53449 * include/netdb.h [!_ISOMAC]:
53450 Don't include <tls.h>.
53451 (h_errno, __libc_h_errno): Move declaration and macros out of
53452 [_LIBC_REENTRANT].
53453
53454 * include/resolv.h [_RESOLV_H_]:
53455 Don't include <tls.h>.
53456 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53457 * resolv/res_libc.c: Don't include <tls.h>.
53458 (_res): Use __attribute__ ((nocommon)) in place of
53459 __attribute__ ((section (".bss"))).
53460
53461 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53462 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53463
53464 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53465
53466 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53467 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53468
53469 * resolv/res_mkquery.c: Include <sys/time.h>.
53470
53471 * inet/ifreq.c: Moved to ...
53472 * sysdeps/unix/ifreq.c: ... here.
53473 * inet/ifreq.c: New file, true stub version.
53474
53475 * socket/sa_len.c: New file.
53476 * socket/Makefile (aux): Add it.
53477 * sysdeps/unix/sysv/linux/Makefile
53478 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53479 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53480 and #include <socket/sa_len.c>.
53481 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53482 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53483
53484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53485 * bits/socket.h: ... here.
53486
53487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53488 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53489 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53490
53491 2013-08-27 Andreas Schwab <schwab@suse.de>
53492
53493 [BZ #15736]
53494 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53495 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53496 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53497 * string/test-strcasecmp.c (test_main): Run tests in several
53498 locales.
53499 * string/test-strncasecmp.c (test_main): Likewise.
53500
53501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53502 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53503 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53505 (__strncasecmp_ssse3) [PIC]: Likewise.
53506
53507 2013-08-26 Roland McGrath <roland@hack.frob.com>
53508
53509 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53510
53511 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53512 instead of explicitly declaring xdecrypt.
53513 * nis/nss_nis/nis-publickey.c: Likewise.
53514
53515 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53516
53517 [BZ #15890]
53518 * nscd/aicache.c: Include res_hconf.h.
53519 (addhstaiX): Initialize res_hconf.
53520
53521 2013-08-26 Andreas Schwab <schwab@suse.de>
53522
53523 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53524 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53525
53526 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53527
53528 * nscd/aicache.c (addhstaiX): Fix indentation.
53529
53530 2013-08-25 Mike Frysinger <vapier@gentoo.org>
53531
53532 * configure.ac: Quote $build_pt_chown test.
53533 * configure: Regenerated.
53534
53535 2013-08-23 Joseph Myers <joseph@codesourcery.com>
53536
53537 [BZ #15532]
53538 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53539 * math/s_cexpf.c (__cexpf): Likewise.
53540 * math/s_cexpl.c (__cexpl): Likewise.
53541 * math/libm-test.inc (cexp_test_data): Correct expected return
53542 value for NaN + i0. Add another test.
53543
53544 2013-08-22 David S. Miller <davem@davemloft.net>
53545
53546 * po/ca.po: Update Catalan translation from translation project.
53547 * po/uk.po: Add Ukrainian translations from translation project.
53548
53549 2013-08-21 Joseph Myers <joseph@codesourcery.com>
53550
53551 [BZ #15797]
53552 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53553 is infinite, not alongside NaN test.
53554 * math/s_fdimf.c (__fdimf): Likewise.
53555 * math/s_fdiml.c (__fdiml): Likewise.
53556 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53557 errno is unchanged.
53558
53559 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53560
53561 * argp/argp-help.c: Fix typos.
53562 * crypt/speeds.c: Likewise.
53563 * csu/check_fds.c: Likewise.
53564 * elf/dl-load.c: Likewise.
53565 * elf/dl-open.c: Likewise.
53566 * elf/reldep3.c: Likewise.
53567 * elf/reldep.c: Likewise.
53568 * elf/sprof.c: Likewise.
53569 * iconv/iconv_charmap.c: Likewise.
53570 * iconv/skeleton.c: Likewise.
53571 * iconv/strtab.c: Likewise.
53572 * io/lockf64.c: Likewise.
53573 * libio/libioP.h: Likewise.
53574 * resolv/gai_notify.c: Likewise.
53575 * resolv/ns_name.c: Likewise.
53576 * resolv/ns_samedomain.c: Likewise.
53577 * resolv/res_send.c: Likewise.
53578 * stdlib/random.c: Likewise.
53579 * sunrpc/rpc/xdr.h: Likewise.
53580 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53581 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53582 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53583 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53587 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53588 * sysdeps/mach/hurd/check_fds.c: Likewise.
53589 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53590 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53591 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53593 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53594 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53595 * sysdeps/pthread/aio_notify.c: Likewise.
53596 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53597 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53598 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53599 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53600 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53601
53602 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53603
53604 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53605 version if bit_Slow_SSE4_2 is set.
53606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53608
53609 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53610
53611 [BZ #15867]
53612 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53613 trampoline stack frame information.
53614 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53615 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53616 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53617 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53618 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53619 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53620 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53621 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53622 sa_flags value.
53623 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53624 interrupting a syscall and set with option SA_SIGINFO.
53625
53626 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53627
53628 [BZ #15531]
53629 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53630 argument is infinite.
53631 * math/s_cprojf.c (__cprojf): Likewise.
53632 * math/s_cprojl.c (__cprojl): Likewise.
53633 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53634 * math/libm-test.inc (cproj_test_data): Add more tests.
53635
53636 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53637
53638 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53639 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53640 size. Use __ffs to determine corresponding shift.
53641
53642 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53643 Roland McGrath <roland@hack.frob.com>
53644
53645 * Makefile (INSTALL): Remove trailing blank lines from output of
53646 makeinfo.
53647
53648 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53649
53650 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53651 Align 32 bit compat elf_greg to 8 bytes.
53652
53653 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53654
53655 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53656
53657 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53658
53659 * string/strcoll_l.c (coll_seq): New structure.
53660 (get_next_seq_cached): New function.
53661 (get_next_seq): New function.
53662 (do_compare): New function.
53663 (STRCOLL): Use GNU style definition. Simplify implementation
53664 by using get_next_seq, get_next_seq_cached and do_compare.
53665
53666 2013-08-16 Florian Weimer <fweimer@redhat.com>
53667
53668 [BZ #14699]
53669 CVE-2013-4237
53670 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53671 member.
53672 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53673 member.
53674 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53675 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53676 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53677 conditional.
53678 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53679 GETDENTS_64BIT_ALIGNED.
53680 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53681 * manual/filesys.texi (Reading/Closing Directory): Document
53682 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53683 strongly.
53684 * manual/conf.texi (Limits for Files): Add portability note to
53685 NAME_MAX, PATH_MAX.
53686 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53687
53688 2013-08-13 Andreas Schwab <schwab@suse.de>
53689
53690 [BZ #15749]
53691 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53692 of fabs.
53693 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53694 LDBL_MAX_EXP >= 16384]: Add tests for it.
53695
53696 2013-08-12 David S. Miller <davem@davemloft.net>
53697
53698 * version.h (RELEASE): Set to "development".
53699 (VERSION): Set to "2.18.90".
53700 * NEWS: Add 2.19 section.
53701
53702 2013-08-03 David S. Miller <davem@davemloft.net>
53703
53704 * po/ko.po: Update Korean translation from translation project.
53705
53706 2013-08-01 David S. Miller <davem@davemloft.net>
53707
53708 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53709 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53710 Bilka.
53711
53712 2013-07-30 David S. Miller <davem@davemloft.net>
53713
53714 * po/fr.po: Update French translation from translation project.
53715
53716 2013-07-28 David S. Miller <davem@davemloft.net>
53717
53718 * po/cs.po: Update Czech translation from translation project.
53719
53720 * po/sv.po: Update Swedish translation from translation project.
53721
53722 2013-07-27 David S. Miller <davem@davemloft.net>
53723
53724 * po/eo.po: Update Esperanto translation from translation project.
53725
53726 * po/vi.po: Update Vietnamese translation from translation project.
53727
53728 * po/de.po: Update German translation from translation project.
53729
53730 2013-07-26 David S. Miller <davem@davemloft.net>
53731
53732 * po/bg.po: Update Bulgarian translation from translation project.
53733
53734 * po/nl.po: Update Dutch translation from translation project.
53735 * po/pl.po: Update Polish translation from translation project.
53736 * po/ru.po: Update Russian translation from translation project.
53737
53738 2013-07-24 David S. Miller <davem@davemloft.net>
53739
53740 * po/libc.pot: Update.
53741
53742 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53743
53744 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53745 variable page size.
53746 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53747 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53748 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53749
53750 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53751
53752 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53753
53754 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53755 Andreas Schwab <schwab@suse.de>
53756 Roland McGrath <roland@hack.frob.com>
53757 Joseph Myers <joseph@codesourcery.com>
53758 Carlos O'Donell <carlos@redhat.com>
53759
53760 [BZ #15755]
53761 * config.h.in: Define HAVE_PT_CHOWN.
53762 * config.make.in (build-pt-chown): New variable.
53763 * configure.in (--enable-pt_chown): New configure option.
53764 * configure: Regenerate.
53765 * login/Makefile: Include Makeconfig. Build pt_chown only if
53766 build-pt-chown is enabled.
53767 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53768 pt_chown to fix pty ownership.
53769 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53770 CLOSE_ALL_FDS.
53771 * manual/install.texi (Configuring and compiling): Mention
53772 --enable-pt_chown. Add @findex for grantpt.
53773 * INSTALL: Regenerate.
53774
53775 2013-07-20 David S. Miller <davem@davemloft.net>
53776
53777 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53778 difference between 32-bit and 64-bit.
53779
53780 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53781
53782 [BZ #15711]
53783 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53784 Avoid system header dependency with -ffreestanding.
53785 ($(objpfx)bits/syscall%d): Likewise.
53786
53787 2013-07-13 David S. Miller <davem@davemloft.net>
53788
53789 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53790 underflows from atanl/atan2l due to bug 15319.
53791 (casinh_test_data): Likewise.
53792
53793 2013-07-07 David S. Miller <davem@davemloft.net>
53794
53795 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53796
53797 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53798
53799 * sysdeps/i386/fpu/libm-test-ulps: Update.
53800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53801
53802 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53803
53804 * configure.in (--enable-lock-elision): Fix message text.
53805 * INSTALL: Regenerate.
53806 * configure: Regenerate.
53807
53808 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53809
53810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53811
53812 2013-07-03 Andreas Jaeger <aj@suse.de>
53813
53814 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53815 define.
53816 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53817 (ptrace_peeksiginfo_args): Add.
53818 (__ptrace_peeksiginfo_flags): Add.
53819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53822
53823 2013-07-03 Allan McRae <allan@archlinux.org>
53824
53825 * sysdeps/i386/fpu/libm-test-ulps: Update.
53826
53827 2013-07-02 David S. Miller <davem@davemloft.net>
53828
53829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53830
53831 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53832
53833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53834
53835 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53836
53837 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53839
53840 2013-07-02 Andi Kleen <ak@linux.intel.com>
53841
53842 * config.h.in (ENABLE_LOCK_ELISION): Add.
53843 * configure.in (--enable-lock-elision): Add option.
53844 * manual/install.texi: Document --enable lock elision.
53845 * configure: Regenerate
53846 * INSTALL: Regenerate.
53847
53848 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53849
53850 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53851 SSE4.2 strcasecmp for libc.a.
53852 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53853
53854 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53855
53856 [BZ #13304]
53857 * soft-fp/op-common.h (_FP_FMA): New macro.
53858 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53859 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53860 (_FP_MUL_MEAT_1_imm): ... here.
53861 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53862 (_FP_MUL_MEAT_1_wide): ... here.
53863 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53864 (_FP_MUL_MEAT_1_hard): ... here.
53865 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53866 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53867 (_FP_MUL_MEAT_2_wide): ... here.
53868 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53869 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53870 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53871 (_FP_MUL_MEAT_2_gmp): ... here.
53872 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53873 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53874 (_FP_MUL_MEAT_4_wide): ... here.
53875 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53876 (_FP_MUL_MEAT_4_gmp): ... here.
53877 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53878 (_FP_WFRACBITS_DW_S): Likewise.
53879 (_FP_WFRACXBITS_DW_S): Likewise.
53880 (_FP_HIGHBIT_DW_S): Likewise.
53881 (FP_FMA_S): Likewise.
53882 (_FP_FRAC_HIGH_DW_S): Likewise.
53883 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53884 (_FP_WFRACBITS_DW_D): Likewise.
53885 (_FP_WFRACXBITS_DW_D): Likewise.
53886 (_FP_HIGHBIT_DW_D): Likewise.
53887 (FP_FMA_D): Likewise.
53888 (_FP_FRAC_HIGH_DW_D): Likewise.
53889 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53890 (_FP_WFRACBITS_DW_E): Likewise.
53891 (_FP_WFRACXBITS_DW_E): Likewise.
53892 (_FP_HIGHBIT_DW_E): Likewise.
53893 (FP_FMA_E): Likewise.
53894 (_FP_FRAC_HIGH_DW_E): Likewise.
53895 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53896 (_FP_WFRACBITS_DW_Q): Likewise.
53897 (_FP_WFRACXBITS_DW_Q): Likewise.
53898 (_FP_HIGHBIT_DW_Q): Likewise.
53899 (FP_FMA_Q): Likewise.
53900 (_FP_FRAC_HIGH_DW_Q): Likewise.
53901 * soft-fp/fmasf4.c: New file.
53902 * soft-fp/fmadf4.c: Likewise.
53903 * soft-fp/fmatf4.c: Likewise.
53904
53905 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53906
53907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53908 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53909 Silvermont.
53910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53911 macro.
53912 (index_Slow_SSE4_2): Likewise.
53913 (index_Prefer_PMINUB_for_stringop): Likewise.
53914 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53915 bit_Slow_SSE4_2 is set.
53916 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53917 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53918
53919 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53920
53921 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53922 rtld_global._dl_hwcap2.
53923 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53924 POWER8.
53925 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53926 POWER8 feature descriptions defined in _dl_hwcap2.
53927 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53928 string handling for POWER8 feature bits.
53929 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53930 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53931 _dl_powerpc_cap_flags.
53932 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53933 * sysdeps/powerpc/rtld-global-offsets.sym
53934 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53935 _dl_hwcap2 in the rtld_global_ro structure.
53936
53937 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53938
53939 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53940 hardware capabilities in support of AT_HWCAP2.
53941 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53942 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53943 GLRO(dl_hwcap2).
53944 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53945 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53946 explicitly the unknown a_type display mechanism is used.
53947 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53948 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53949 struct member.
53950 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53951 to macro prototype for AT_HWCAP2 support.
53952 * sysdeps/i386/dl-procinfo.h: Likewise.
53953 * sysdeps/s390/dl-procinfo.h: Likewise.
53954 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53955 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53956 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53957 return -1 for unknown a_type display fallback.
53958 * sysdeps/sparc/dl-procinfo.h: Likewise.
53959 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53960 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53961
53962 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53963
53964 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53965 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53966
53967 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53968
53969 [BZ #12492]
53970 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53971 mprotect making __stack_prot writable.
53972
53973 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53974 Joseph Myers <joseph@codesourcery.com>
53975
53976 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53977 as being properly aligned.
53978
53979 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53980
53981 * dlfcn/modstatic5.c: New file.
53982 * dlfcn/tststatic5.c: New file.
53983 * dlfcn/Makefile (tests): Add tststatic5.
53984 (tests-static): Likewise.
53985 (modules-names): Add modstatic5.
53986 (tststatic5-ENV): New variable.
53987 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53988
53989 [BZ #15022]
53990 * elf/dl-support.c (_dl_main_map): New variable.
53991 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53992 (_dl_nns, _dl_load_adds): Set to 1.
53993 (_dl_initial_searchlist): Refer to _dl_main_map.
53994 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53995 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53996 call to _dl_get_origin.
53997 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53998 around call_map.
53999 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54000 * dlfcn/modstatic3.c: New file.
54001 * dlfcn/tststatic3.c: New file.
54002 * dlfcn/tststatic4.c: New file.
54003 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54004 (tests-static): Likewise.
54005 (modules-names): Add modstatic3.
54006 (tststatic3-ENV, tststatic4-ENV): New variables.
54007 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54008 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54009
54010 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54011
54012 * configure.in (CC): Require GCC version 4.4 or later.
54013 * configure: Regenerated.
54014 * manual/install.texi (Tools for Compilation): Update GCC version
54015 requirement.
54016 * INSTALL: Regenerated.
54017
54018 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54019
54020 [BZ #15674]
54021 * string/test-memcmp.c (check2): New.
54022 (main): Call check2.
54023
54024 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54025
54026 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54027
54028 [BZ #15022]
54029 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54030 over to...
54031 (dl_open_worker) [!SHARED]: ... here.
54032
54033 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54034
54035 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54036
54037 2013-06-25 Richard Henderson <rth@redhat.com>
54038
54039 * locale/programs/locarchive.c: Include <libc-internal.h>
54040
54041 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54042
54043 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54044 trailing whitespace removed.
54045
54046 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54047
54048 [BZ #10283]
54049 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54050 * locale/programs/locarchive.c: Include libc-mmap.h.
54051 (prepare_address_space): Take two new outputs (the mmap base and len).
54052 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54053 values.
54054 (create_archive): Declare new mmap base and len values for
54055 prepare_address_space, and store the result in ah.
54056 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54057 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54058 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54059 Declare new mmap base and len values for
54060 prepare_address_space, and store the result in new_ah.
54061 (open_archive): Declare new mmap base and len values for
54062 prepare_address_space, and store the result in ah.
54063 (close_archive): If ah->mmap_base is not NULL, use that and
54064 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54065 * sysdeps/generic/libc-mmap.h: New file.
54066
54067 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54068
54069 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54070 (ALIGN_UP): Likewise.
54071 (PTR_ALIGN_DOWN): Likewise.
54072 (PTR_ALIGN_UP): Likewise.
54073
54074 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54075
54076 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54077 entry mapped to PPC_PLATFORM_POWER8.
54078 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54079 POWER8.
54080 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54081 (_dl_string_platform): Add case for exporting platform position for
54082 POWER8.
54083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54084 search path to sysdeps/powerpc/powerpc32/power8 directory.
54085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54086 search path to sysdeps/powerpc/powerpc64/power8 directory.
54087 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54088 power7 directories.
54089 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54090 power7 directories.
54091
54092 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54093
54094 * INSTALL: Regenerate.
54095
54096 * nscd/connections.c (nscd_init): Fix comment.
54097
54098 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54099
54100 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54101
54102 [BZ #15667]
54103 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54104 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54105
54106 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54107
54108 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54109 DL_DST_REQ_STATIC.
54110 (DL_DST_REQ_STATIC): Remove macro.
54111
54112 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54113
54114 [BZ #7006]
54115 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54116 with a shift of 0 bits.
54117
54118 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54119
54120 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54121 $(tststatic-ENV).
54122
54123 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54124
54125 [BZ #15655]
54126 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54127
54128 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54129
54130 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54131 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54132 accepts -fno-tree-loop-distribute-patterns.
54133 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54134 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54135 recursive call.
54136 * string/memset.c (memset): Likewise.
54137 * string/test-memmove.c (simple_memmove): Disable loop transformation
54138 to library calls.
54139 * string/test-memset.c (simple_memset): Likewise.
54140 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54141 * benchtests/bench-memset.c (simple_memset): Likewise.
54142 * configure: Regenerated.
54143
54144 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54145
54146 * math/test-misc.c (main): Ignore fesetround failure when failures
54147 of subsequent rounding tests would be ignored.
54148
54149 [BZ #15654]
54150 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54151 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54152 * math/fegetenv.c (__fegetenv): Return 0.
54153 * math/fegetexcept.c (fegetexcept): Return 0.
54154 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54155 FE_TONEAREST.
54156 * math/feholdexcpt.c (feholdexcept): Return 0.
54157 * math/fesetenv.c (__fesetenv): Return 0.
54158 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54159 argument FE_TONEAREST.
54160 * math/feupdateenv.c (__feupdateenv): Return 0.
54161 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54162
54163 2013-06-18 Roland McGrath <roland@hack.frob.com>
54164
54165 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54166 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54167 ($(objpfx)rtld-%.os rules): Use them.
54168
54169 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54170
54171 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54172 fields.
54173
54174 2013-06-17 Roland McGrath <roland@hack.frob.com>
54175
54176 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54177 length of target pattern, then descending length of dependency pattern.
54178 * configure.in (AWK): Require gawk 3.1.2 or newer.
54179 * manual/install.texi (Tools for Compilation): Say that we do.
54180 * configure: Regenerated.
54181
54182 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54183 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54184 * scripts/sysd-rules.awk: ... this new script.
54185 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54186 than a glob-style pattern.
54187
54188 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54189
54190 * math/test-misc.c (main): Do not treat incorrectly rounded
54191 conversions as failure unless ROUNDING_TESTS passes.
54192
54193 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54194
54195 [BZ #15631]
54196 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54197 restore exception state around main square root computation, then
54198 check for inexactness explicitly.
54199
54200 * math/libm-test.inc (fma_test_data): Add another test.
54201
54202 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54203
54204 * manual/threads.texi (Non-POSIX Extensions): New document
54205 node. Document pthread_getattr_default_np and
54206 pthread_setattr_default_np.
54207
54208 * Versions.def (libpthread): Add GLIBC_2.18.
54209 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54211 Likewise.
54212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54213 Likewise.
54214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54215 Likewise.
54216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54217 Likewise.
54218 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54219 Likewise.
54220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54221 Likewise.
54222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54223 Likewise.
54224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54225 Likewise.
54226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54227 Likewise.
54228
54229 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54230
54231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54232 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54233
54234 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54235 H.J. Lu <hjl.tools@gmail.com>
54236
54237 [BZ #15627]
54238 * sysdeps/x86_64/rtld-memset.c: Remove file.
54239 * sysdeps/x86_64/rtld-memset.S: New file.
54240
54241 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54242
54243 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54244 (test_in_one_mode): Take arguments for whether the rounding mode
54245 is supported for each floating-point type.
54246 (do_test): Pass new arguments to test_in_one_mode using
54247 ROUNDING_TESTS.
54248
54249 2013-06-13 Roland McGrath <roland@hack.frob.com>
54250
54251 * posix/tst-waitid.c (do_test): Distinguish different instances of
54252 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54253 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54254 before entering the kernel for waitpid.
54255
54256 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54257
54258 * NEWS: Fix note on clock function precision. Text by Roland
54259 McGrath.
54260
54261 2013-06-13 Roland McGrath <roland@hack.frob.com>
54262
54263 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54264 it into place only when and if the sanity check passes.
54265
54266 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54267
54268 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54269 output for whether conversion result is exact. Take argument
54270 indicating whether type is IBM long double.
54271 (round_for_all): Change need_exact field to ibm_ld.
54272 * stdlib/tst-strtod-round.c (struct exactness): New type.
54273 (struct test): Change bool ld_ok field to struct exactness exact.
54274 (TEST): Update all definitions for change to field.
54275 (tests): Regenerate array contents.
54276 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54277 field value. Check for IBM long double here.
54278 (do_test): Update calls to test_in_one_mode.
54279
54280 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54281
54282 [BZ #12515]
54283 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54284 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54285
54286 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54287
54288 [BZ #15605]
54289 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54290 generated by the compiler on loop optimizations.
54291 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54292 general definitions.
54293
54294 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54295
54296 * math/bug-nextafter.c: Include <math-tests.h>.
54297 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54298 the relevant type.
54299 * math/bug-nexttoward.c: Include <math-tests.h>.
54300 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54301 the relevant type.
54302 * math/test-misc.c: Include <math-tests.h>.
54303 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54304 the relevant type.
54305
54306 2013-06-12 Andreas Jaeger <aj@suse.de>
54307
54308 * po/ia.po: Update Interlingua translation from translation
54309 project.
54310
54311 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54312
54313 * include/fenv.h: Include stdbool.h.
54314 (struct rm_ctx): New structure.
54315 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54316 Define macro.
54317 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54318 (SET_RESTORE_ROUNDF): Likewise.
54319 (SET_RESTORE_ROUNDL): Likewise.
54320 (SET_RESTORE_ROUND_NOEX): Likewise.
54321 (SET_RESTORE_ROUND_NOEXF): Likewise.
54322 (SET_RESTORE_ROUND_NOEXL): Likewise.
54323 (SET_RESTORE_ROUND_53BIT): Likewise.
54324 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54325 (libc_feresetround_noexf_ctx): Likewise.
54326 (libc_feresetround_noexl_ctx): Likewise.
54327 (libc_feholdsetround_53bit_ctx): Likewise.
54328 (libc_feresetround_53bit_ctx): Likewise.
54329 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54330 (libc_feholdexcept_setround_sse_ctx): New function.
54331 (libc_fesetenv_sse_ctx): Likewise.
54332 (libc_feupdateenv_sse_ctx): Likewise.
54333 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54334 (libc_feholdexcept_setround_387_ctx): Likewise.
54335 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54336 (libc_feholdsetround_387_prec_ctx): Likewise.
54337 (libc_feholdsetround_387_ctx): Likewise.
54338 (libc_feholdsetround_387_53bit_ctx): Likewise.
54339 (libc_feholdsetround_sse_ctx): Likewise.
54340 (libc_feresetround_sse_ctx): Likewise.
54341 (libc_feresetround_387_ctx): Likewise.
54342 (libc_feupdateenv_387_ctx): Likewise.
54343 (libc_feholdexcept_setroundf_ctx): Define macro.
54344 (libc_fesetenvf_ctx): Likewise.
54345 (libc_feupdateenvf_ctx): Likewise.
54346 (libc_feholdsetroundf_ctx): Likewise.
54347 (libc_feresetroundf_ctx): Likewise.
54348 (libc_feholdexcept_setround_ctx): Likewise.
54349 (libc_fesetenv_ctx): Likewise.
54350 (libc_feupdateenv_ctx): Likewise.
54351 (libc_feholdsetround_ctx): Likewise.
54352 (libc_feresetround_ctx): Likewise.
54353 (libc_feholdexcept_setroundl_ctx): Likewise.
54354 (libc_feupdateenvl_ctx): Likewise.
54355 (libc_feholdsetroundl_ctx): Likewise.
54356 (libc_feresetroundl_ctx): Likewise.
54357 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54358 (libc_feresetround_53bit_ctx): Likewise.
54359
54360 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54361
54362 * locale/iso-639.def: Convert to UTF-8.
54363
54364 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54365
54366 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54367 (EXCEPTION_TESTS_double): Likewise.
54368 (EXCEPTION_TESTS_long_double): Likewise.
54369 (EXCEPTION_TESTS): Likewise.
54370 * math/libm-test.inc (test_exceptions): Only test exceptions if
54371 EXCEPTION_TESTS (FLOAT).
54372
54373 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54374
54375 * benchtests/Makefile (string-bench): Add strcpy_chk and
54376 stpcpy_chk.
54377 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54378 * benchtests/bench-stpcpy_chk.c: New file.
54379 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54380 * benchtests/bench-strcpy_chk.c: New file.
54381 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54382 code.
54383 (do_test): Likewise.
54384
54385 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54386
54387 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54388 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54389 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54390 with tabs where appropriate.
54391 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54392 dl-procinfo.h.
54393 [PPC_PLATFORM_PPC440]: Likewise.
54394 [PPC_PLATFORM_PPC464]: Likewise.
54395 [PPC_PLATFORM_PPC476]: Likewise.
54396 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54397 ppc464, and ppc476 platform strings merging from ports/
54398 dl-procinfo.h.
54399
54400 2013-06-11 Andreas Schwab <schwab@suse.de>
54401
54402 [BZ #14991]
54403 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54404 (from_ucs4_idx): Regenerate.
54405 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54406 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54407 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54408 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54409 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54410 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54411 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54412 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54413 from FROM_LOOP and TO_LOOP specific macros.
54414 (BODY): Handle combining characters.
54415 * iconvdata/BIG5HKSCS.irreversible: Update.
54416 * iconvdata/BIG5HKSCS.precomposed: New file.
54417 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54418 characters.
54419 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54420
54421 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54422
54423 * include/sys/time.h: Fix indentation and add copyright header.
54424
54425 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54426 (do_test): Likewise.
54427 * string/test-memchr.c (do_one_test): Likewise.
54428 (do_test): Likewise.
54429 * string/test-memcmp.c (do_one_test): Likewise.
54430 (do_test): Likewise.
54431 * string/test-memcpy.c (do_one_test): Likewise.
54432 (do_test): Likewise.
54433 * string/test-memmem.c (do_one_test): Likewise.
54434 (do_test): Likewise.
54435 (do_random_tests): Likewise.
54436 * string/test-memmove.c (do_one_test): Likewise.
54437 (do_test): Likewise.
54438 * string/test-memset.c (do_one_test): Likewise.
54439 (do_test): Likewise.
54440 * string/test-rawmemchr.c (do_one_test): Likewise.
54441 (do_test): Likewise.
54442 * string/test-strcasecmp.c (do_one_test): Likewise.
54443 (do_test): Likewise.
54444 * string/test-strcasestr.c (do_one_test): Likewise.
54445 (do_test): Likewise.
54446 * string/test-strcat.c (do_one_test): Likewise.
54447 (do_test): Likewise.
54448 * string/test-strchr.c (do_one_test): Likewise.
54449 (do_test): Likewise.
54450 * string/test-strcmp.c (do_one_test): Likewise.
54451 (do_test): Likewise.
54452 * string/test-strcpy.c (do_one_test): Likewise.
54453 (do_test): Likewise.
54454 * string/test-string.h: Likewise.
54455 (test_init): Likewise.
54456 * string/test-strlen.c (do_one_test): Likewise.
54457 (do_test): Likewise.
54458 * string/test-strncasecmp.c (do_one_test): Likewise.
54459 (do_test): Likewise.
54460 * string/test-strncat.c (do_one_test): Likewise.
54461 (do_test): Likewise.
54462 * string/test-strncmp.c (do_one_test): Likewise.
54463 (do_test_limit): Likewise.
54464 (do_test): Likewise.
54465 * string/test-strncpy.c (do_one_test): Likewise.
54466 (do_test): Likewise.
54467 * string/test-strnlen.c (do_one_test): Likewise.
54468 (do_test): Likewise.
54469 * string/test-strpbrk.c (do_one_test): Likewise.
54470 (do_test): Likewise.
54471 * string/test-strrchr.c (do_one_test): Likewise.
54472 (do_test): Likewise.
54473 * string/test-strspn.c (do_one_test): Likewise.
54474 (do_test): Likewise.
54475 * string/test-strstr.c (do_one_test): Likewise.
54476 (do_test): Likewise.
54477
54478 * benchtests/Makefile (string-bench): Add string benchmarks.
54479 * benchtests/bench-bcopy-ifunc.c: New file.
54480 * benchtests/bench-bcopy.c: New file.
54481 * benchtests/bench-bzero-ifunc.c: New file.
54482 * benchtests/bench-bzero.c: New file.
54483 * benchtests/bench-memccpy-ifunc.c: New file.
54484 * benchtests/bench-memccpy.c: New file.
54485 * benchtests/bench-memchr-ifunc.c: New file.
54486 * benchtests/bench-memchr.c: New file.
54487 * benchtests/bench-memcmp-ifunc.c: New file.
54488 * benchtests/bench-memcmp.c: New file.
54489 * benchtests/bench-memmem-ifunc.c: New file.
54490 * benchtests/bench-memmem.c: New file.
54491 * benchtests/bench-memmove-ifunc.c: New file.
54492 * benchtests/bench-memmove.c: New file.
54493 * benchtests/bench-mempcpy-ifunc.c: New file.
54494 * benchtests/bench-mempcpy.c: New file.
54495 * benchtests/bench-memset-ifunc.c: New file.
54496 * benchtests/bench-memset.c: New file.
54497 * benchtests/bench-rawmemchr-ifunc.c: New file.
54498 * benchtests/bench-rawmemchr.c: New file.
54499 * benchtests/bench-stpcpy-ifunc.c: New file.
54500 * benchtests/bench-stpcpy.c: New file.
54501 * benchtests/bench-stpncpy-ifunc.c: New file.
54502 * benchtests/bench-stpncpy.c: New file.
54503 * benchtests/bench-strcasecmp-ifunc.c: New file.
54504 * benchtests/bench-strcasecmp.c: New file.
54505 * benchtests/bench-strcasestr-ifunc.c: New file.
54506 * benchtests/bench-strcasestr.c: New file.
54507 * benchtests/bench-strcat-ifunc.c: New file.
54508 * benchtests/bench-strcat.c: New file.
54509 * benchtests/bench-strchr-ifunc.c: New file.
54510 * benchtests/bench-strchr.c: New file.
54511 * benchtests/bench-strchrnul-ifunc.c: New file.
54512 * benchtests/bench-strchrnul.c: New file.
54513 * benchtests/bench-strcmp-ifunc.c: New file.
54514 * benchtests/bench-strcmp.c: New file.
54515 * benchtests/bench-strcpy-ifunc.c: New file.
54516 * benchtests/bench-strcpy.c: New file.
54517 * benchtests/bench-strcspn-ifunc.c: New file.
54518 * benchtests/bench-strcspn.c: New file.
54519 * benchtests/bench-strlen-ifunc.c: New file.
54520 * benchtests/bench-strlen.c: New file.
54521 * benchtests/bench-strncasecmp-ifunc.c: New file.
54522 * benchtests/bench-strncasecmp.c: New file.
54523 * benchtests/bench-strncat-ifunc.c: New file.
54524 * benchtests/bench-strncat.c: New file.
54525 * benchtests/bench-strncmp-ifunc.c: New file.
54526 * benchtests/bench-strncmp.c: New file.
54527 * benchtests/bench-strncpy-ifunc.c: New file.
54528 * benchtests/bench-strncpy.c: New file.
54529 * benchtests/bench-strnlen-ifunc.c: New file.
54530 * benchtests/bench-strnlen.c: New file.
54531 * benchtests/bench-strpbrk-ifunc.c: New file.
54532 * benchtests/bench-strpbrk.c: New file.
54533 * benchtests/bench-strrchr-ifunc.c: New file.
54534 * benchtests/bench-strrchr.c: New file.
54535 * benchtests/bench-strspn-ifunc.c: New file.
54536 * benchtests/bench-strspn.c: New file.
54537 * benchtests/bench-strstr-ifunc.c: New file.
54538 * benchtests/bench-strstr.c: New file.
54539
54540 * benchtests/Makefile: Disable parallel execution of targets.
54541 (string-bench): Add memcpy.
54542 (benchset): New variable to store a list of benchmark sets.
54543 (bench-func): Renamed from bench.
54544 (bench-set): New target.
54545 (bench): Depend on bench-func and bench-set.
54546 * benchtests/README: Add section on benchmark sets.
54547 * benchtests/bench-memcpy-ifunc.c: New file.
54548 * benchtests/bench-memcpy.c: New file.
54549 * benchtests/bench-string.h: New file.
54550
54551 2013-06-11 Andreas Schwab <schwab@suse.de>
54552
54553 [BZ #15577]
54554 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54555 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54556 values in the triple.
54557 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54558 terminator in the group key.
54559
54560 2013-06-11 Andreas Jaeger <aj@suse.de>
54561
54562 * po/zh_TW.po: Update Chinese (traditional) translation from
54563 translation project.
54564
54565 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54566
54567 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54568 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54569 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54571 (clock_getcpuclockid): Likewise.
54572 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54573 Add weak_alias and libc_hidden_def.
54574 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54575 * rt/clock_gettime.c (clock_gettime): Rename to
54576 __clock_gettime. Add weak_alias and libc_hidden_def.
54577 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54578 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54579 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54580 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54581 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54582 Likewise.
54583 * rt/clock_settime.c (clock_settime): Rename to
54584 __clock_settime. Add weak_alias and libc_hidden_def.
54585 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54586
54587 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54588
54589 * mach/err_boot.sub: Remove trailing whitespace.
54590 * mach/err_ipc.sub: Likewise.
54591 * mach/err_mach.sub: Likewise.
54592
54593 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54594 (ROUNDING_TESTS_double): Likewise.
54595 (ROUNDING_TESTS_long_double): Likewise.
54596 (ROUNDING_TESTS): Likewise.
54597 * math/libm-test.inc: Include <math-tests.h>.
54598 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54599 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54600 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54601 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54602
54603 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54604
54605 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54606 of assigning.
54607
54608 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54609
54610 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54611 otherwise empty TRANS lines.
54612 * sysdeps/gnu/errlist.c: Regenerated.
54613
54614 * catgets/gencat.c (error_print): Use (void) in function
54615 definition.
54616 * crypt/crypt_util.c (__init_des): Likewise.
54617 * crypt/speeds.c (Stop): Likewise.
54618 (main): Likewise.
54619 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54620 * inet/ruserpass.c (token): Likewise.
54621 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54622 * intl/localealias.c (extend_alias_table): Likewise.
54623 * intl/plural-exp.c (init_germanic_plural): Likewise.
54624 * libio/fcloseall.c (__fcloseall): Likewise.
54625 * libio/genops.c (_IO_flush_all): Likewise.
54626 (_IO_flush_all_linebuffered): Likewise.
54627 (_IO_cleanup): Likewise.
54628 (_IO_iter_begin): Likewise.
54629 (_IO_iter_end): Likewise.
54630 (_IO_list_lock): Likewise.
54631 (_IO_list_unlock): Likewise.
54632 (_IO_list_resetlock): Likewise.
54633 * libio/getchar.c (getchar): Likewise.
54634 * libio/getchar_u.c (getchar_unlocked): Likewise.
54635 * libio/getwchar.c (getwchar): Likewise.
54636 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54637 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54638 * login/getpt.c (__getpt): Likewise.
54639 * login/tst-utmp.c (main): Likewise.
54640 * malloc/hooks.c (__malloc_check_init): Likewise.
54641 * malloc/malloc.c (__malloc_stats): Likewise.
54642 * malloc/mtrace.c (tr_break): Likewise.
54643 (mtrace): Likewise.
54644 (muntrace): Likewise.
54645 * misc/fstab.c (endfsent): Likewise.
54646 * misc/getclktck.c (__getclktck): Likewise.
54647 * misc/getdtsz.c (__getdtablesize): Likewise.
54648 * misc/gethostid.c (gethostid): Likewise.
54649 * misc/getpagesize.c (__getpagesize): Likewise.
54650 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54651 (__get_nprocs): Likewise.
54652 (__get_phys_pages): Likewise.
54653 (__get_avphys_pages): Likewise.
54654 * misc/getttyent.c (getttyent): Likewise.
54655 (setttyent): Likewise.
54656 (endttyent): Likewise.
54657 * misc/getusershell.c (getusershell): Likewise.
54658 (endusershell): Likewise.
54659 (setusershell): Likewise.
54660 (initshells): Likewise.
54661 * misc/hsearch.c (__hdestroy): Likewise.
54662 * misc/sync.c (sync): Likewise.
54663 * misc/syslog.c (closelog_internal): Likewise.
54664 (closelog): Likewise.
54665 * misc/ttyslot.c (ttyslot): Likewise.
54666 * misc/vhangup.c (vhangup): Likewise.
54667 * posix/fork.c (__fork): Likewise.
54668 * posix/getegid.c (__getegid): Likewise.
54669 * posix/geteuid.c (__geteuid): Likewise.
54670 * posix/getgid.c (__getgid): Likewise.
54671 * posix/getpid.c (__getpid): Likewise.
54672 * posix/getppid.c (__getppid): Likewise.
54673 * posix/getuid.c (__getuid): Likewise.
54674 * posix/pause.c (pause): Likewise.
54675 * posix/setpgrp.c (setpgrp): Likewise.
54676 * posix/setsid.c (__setsid): Likewise.
54677 * posix/test-vfork.c (noop): Likewise.
54678 * resolv/gethnamaddr.c (_endhtent): Likewise.
54679 (_gethtent): Likewise.
54680 (ht_endhostent): Likewise.
54681 (gethostent): Likewise.
54682 (dns_service): Likewise.
54683 * stdlib/drand48.c (drand48): Likewise.
54684 * stdlib/lrand48.c (lrand48): Likewise.
54685 * stdlib/mrand48.c (mrand48): Likewise.
54686 * stdlib/rand.c (rand): Likewise.
54687 * stdlib/random.c (__random): Likewise.
54688 * stdlib/setenv.c (clearenv): Likewise.
54689 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54690 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54691 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54692 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54693 (__get_nprocs): Likewise.
54694 (__get_phys_pages): Likewise.
54695 (__get_avphys_pages): Likewise.
54696 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54697 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54698 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54699 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54700 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54701 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54702 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54703 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54704 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54705 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54706 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54707 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54708 * sysdeps/posix/clock.c (clock): Likewise.
54709 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54710 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54711 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54712 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54713 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54714 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54715 (__get_nprocs_conf): Likewise.
54716 (__get_phys_pages): Likewise.
54717 (__get_avphys_pages): Likewise.
54718 * time/clock.c (clock): Likewise.
54719 * time/tzset.c (__tzname_max): Likewise.
54720
54721 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54722
54723 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54724 (__bswap_32): Do not use "register".
54725 * crypt/crypt.c (_ufc_doit_r): Likewise.
54726 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54727 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54728 * gmon/gmon.c (__monstartup): Likewise.
54729 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54730 * hurd/hurdmalloc.c (more_memory): Likewise.
54731 (malloc): Likewise.
54732 (free): Likewise.
54733 (realloc): Likewise.
54734 (malloc_fork_prepare): Likewise.
54735 (malloc_fork_parent): Likewise.
54736 (malloc_fork_child): Likewise.
54737 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54738 (_svcauth_des): Likewise.
54739 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54740 * inet/inet_net.c (inet_network): Likewise.
54741 * inet/inet_netof.c (inet_netof): Likewise.
54742 * inet/rcmd.c (__validuser2_sa): Likewise.
54743 * io/fts.c (fts_open): Likewise.
54744 (fts_load): Likewise.
54745 (fts_close): Likewise.
54746 (fts_read): Likewise.
54747 (fts_children): Likewise.
54748 (fts_build): Likewise.
54749 (fts_stat): Likewise.
54750 (fts_sort): Likewise.
54751 (fts_alloc): Likewise.
54752 (fts_lfree): Likewise.
54753 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54754 (_IO_file_xsgetn): Likewise.
54755 (_IO_file_xsgetn_mmap): Likewise.
54756 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54757 (_IO_cookie_write): Likewise.
54758 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54759 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54760 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54761 * malloc/obstack.c (_obstack_begin): Likewise.
54762 (_obstack_begin_1): Likewise.
54763 (_obstack_newchunk): Likewise.
54764 (_obstack_allocated_p): Likewise.
54765 (obstack_free): Likewise.
54766 (_obstack_memory_used): Likewise.
54767 * misc/getttyent.c (getttynam): Likewise.
54768 (getttyent): Likewise.
54769 (skip): Likewise.
54770 (value): Likewise.
54771 * misc/getusershell.c (initshells): Likewise.
54772 * misc/syslog.c (__vsyslog_chk): Likewise.
54773 * misc/ttyslot.c (ttyslot): Likewise.
54774 * nis/nis_hash.c (__nis_hash): Likewise.
54775 * posix/fnmatch_loop.c (FCT): Likewise.
54776 * posix/getconf.c (print_all): Likewise.
54777 (main): Likewise.
54778 * posix/getopt.c (exchange): Likewise.
54779 * posix/glob.c (globfree): Likewise.
54780 (prefix_array): Likewise.
54781 (__glob_pattern_type): Likewise.
54782 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54783 (NS_GET32): Likewise.
54784 (NS_PUT16): Likewise.
54785 (NS_PUT32): Likewise.
54786 * resolv/gethnamaddr.c (getanswer): Likewise.
54787 (gethostbyname2): Likewise.
54788 (gethostbyaddr): Likewise.
54789 (_gethtent): Likewise.
54790 (_gethtbyname2): Likewise.
54791 (_gethtbyaddr): Likewise.
54792 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54793 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54794 * resolv/res_init.c (__res_vinit): Likewise.
54795 (net_mask): Likewise.
54796 * resolv/res_mkquery.c (outchar): Likewise.
54797 (PRINT): Likewise.
54798 * stdio-common/printf_fp.c (outchar): Likewise.
54799 (PRINT): Likewise.
54800 * stdio-common/printf_fphex.c (outchar): Likewise.
54801 (PRINT): Likewise.
54802 * stdio-common/printf_size.c (outchar): Likewise.
54803 (PRINT): Likewise.
54804 * stdio-common/test_rdwr.c (main): Likewise.
54805 * stdio-common/tfformat.c (matches): Likewise.
54806 * stdio-common/vfprintf.c (outchar): Likewise.
54807 (printf_unknown): Likewise.
54808 (buffered_vfprintf): Likewise.
54809 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54810 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54811 (ReadFile): Likewise.
54812 * stdlib/qsort.c (SWAP): Likewise.
54813 (_quicksort): Likewise.
54814 * stdlib/setenv.c (__add_to_environ): Likewise.
54815 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54816 * stdlib/strtol_l.c (__strtol_l): Likewise.
54817 * stdlib/tst-strtod.c (main): Likewise.
54818 * stdlib/tst-strtol.c (main): Likewise.
54819 * stdlib/tst-strtoll.c (main): Likewise.
54820 * string/bits/string2.h (__strcmp_cc): Likewise.
54821 (__strcmp_cg): Likewise.
54822 (__strcspn_c1): Likewise.
54823 (__strcspn_c2): Likewise.
54824 (__strcspn_c3): Likewise.
54825 (__strspn_c1): Likewise.
54826 (__strspn_c2): Likewise.
54827 (__strspn_c3): Likewise.
54828 (__strsep_1c): Likewise.
54829 (__strsep_2c): Likewise.
54830 (__strsep_3c): Likewise.
54831 * string/memccpy.c (__memccpy): Likewise.
54832 * string/stpcpy.c (__stpcpy): Likewise.
54833 * string/strcmp.c (strcmp): Likewise.
54834 * string/strrchr.c (strrchr): Likewise.
54835 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54836 Likewise.
54837 * sysdeps/mach/hurd/getcwd.c
54838 (_hurd_canonicalize_directory_name_internal): Likewise.
54839 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54840 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54841 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54842 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54843 Likewise, in both definitions.
54844 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54845 definitions.
54846 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54847 64] (__bswap_64): Likewise.
54848 * time/test_time.c (main): Likewise.
54849 * time/tzfile.c (__tzfile_read): Likewise.
54850 (__tzfile_compute): Likewise.
54851 * time/tzset.c (__tzset_parse_tz): Likewise.
54852 (tzset_internal): Likewise.
54853 (compute_change): Likewise.
54854 * wcsmbs/wcscat.c (__wcscat): Likewise.
54855 * wcsmbs/wcschr.c (wcschr): Likewise.
54856 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54857 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54858 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54859 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54860 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54861 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54862 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54863 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54864 * wcsmbs/wmemset.c (wmemset): Likewise.
54865
54866 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54867
54868 * scripts/config.guess: Update to version 2013-05-16.
54869 * scripts/config.sub: Update to version 2013-04-24.
54870 * scripts/install-sh: Update to version 2011-11-20.07.
54871 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54872 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54873
54874 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54875
54876 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54877 * elf/sln.c: Likewise.
54878 * hurd/hurd/ioctl.h: Likewise.
54879 * hurd/hurdmalloc.c: Likewise.
54880 * hurd/xattr.c: Likewise.
54881 * include/shlib-compat.h: Likewise.
54882 * inet/ruserpass.c: Likewise.
54883 * libio/iofgets_u.c: Likewise.
54884 * libio/iofgetws_u.c: Likewise.
54885 * locale/programs/ld-identification.c: Likewise.
54886 * locale/programs/ld-time.c: Likewise.
54887 * mach/msg-destroy.c: Likewise.
54888 * nss/nss_files/files-netgrp.c: Likewise.
54889 * resolv/res_data.c: Likewise.
54890 * soft-fp/op-1.h: Likewise.
54891 * soft-fp/op-2.h: Likewise.
54892 * soft-fp/op-4.h: Likewise.
54893 * soft-fp/op-common.h: Likewise.
54894 * stdio-common/printf_fphex.c: Likewise.
54895 * stdlib/strtod_l.c: Likewise.
54896 * sunrpc/rpc/clnt.h: Likewise.
54897 * sysdeps/generic/framestate.c: Likewise.
54898 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54899 * sysdeps/i386/bsd-setjmp.S: Likewise.
54900 * sysdeps/i386/__longjmp.S: Likewise.
54901 * sysdeps/i386/setjmp.S: Likewise.
54902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54904 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54905 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54906 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54907 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54908 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54909 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54910 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54911 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54912 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54913 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54914 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54915 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54916 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54917 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54918 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54919 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54920 * sysdeps/ieee754/support.c: Likewise.
54921 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54922 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54923 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54924 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54925 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54926 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54927 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54928 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54929 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54930 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54931 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54932 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54933 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54936 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54937 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54939
54940 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54941
54942 * posix/transbug.c: Remove executable mode.
54943
54944 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54945
54946 * crypt/speeds.c: Remove trailing whitespace.
54947 * dlfcn/default.c: Likewise.
54948 * elf/ifuncdep2.c: Likewise.
54949 * elf/ifuncmain1.c: Likewise.
54950 * elf/ifuncmain1vis.c: Likewise.
54951 * elf/testobj.h: Likewise.
54952 * elf/tst-stackguard1.c: Likewise.
54953 * gmon/sys/gmon.h: Likewise.
54954 * hurd/hurdmsg.c: Likewise.
54955 * hurd/new-fd.c: Likewise.
54956 * hurd/ports-get.c: Likewise.
54957 * iconvdata/ibm1008_420.c: Likewise.
54958 * inet/tst-getni1.c: Likewise.
54959 * inet/tst-getni2.c: Likewise.
54960 * libio/ioungetc.c: Likewise.
54961 * libio/wfiledoalloc.c: Likewise.
54962 * manual/libm-err-tab.pl: Likewise.
54963 * math/w_dremf.c: Likewise.
54964 * misc/ftruncate.c: Likewise.
54965 * posix/bug-glob2.c: Likewise.
54966 * posix/tst-pcre.c: Likewise.
54967 * posix/wait4.c: Likewise.
54968 * resolv/README: Likewise.
54969 * resolv/res_debug.h: Likewise.
54970 * resolv/tst-inet_ntop.c: Likewise.
54971 * setjmp/bug269-setjmp.c: Likewise.
54972 * soft-fp/extended.h: Likewise.
54973 * soft-fp/op-1.h: Likewise.
54974 * soft-fp/op-2.h: Likewise.
54975 * soft-fp/op-4.h: Likewise.
54976 * soft-fp/op-8.h: Likewise.
54977 * soft-fp/testit.c: Likewise.
54978 * stdio-common/bug16.c: Likewise.
54979 * stdlib/random.c: Likewise.
54980 * sunrpc/rpcsvc/rquota.x: Likewise.
54981 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54988 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54989 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54990 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54991 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54992 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54993 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54994 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54995 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54996 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54997 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54998 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54999 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55001 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55002 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55003 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55004 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55005 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55007 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55009 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55010 * sysdeps/ieee754/s_lib_version.c: Likewise.
55011 * sysdeps/mach/hurd/check_fds.c: Likewise.
55012 * sysdeps/mach/hurd/getsockname.c: Likewise.
55013 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55014 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55015 * sysdeps/powerpc/bits/link.h: Likewise.
55016 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55017 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55018 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55019 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55020 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55021 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55022 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55023 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55024 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55025 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55026 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55027 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55028 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55029 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55030 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55031 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55037 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55038 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55039 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55040 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55043 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55049 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55050 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55051 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55052 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55053 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55054 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55055 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55056 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55057 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55058 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55059 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55060 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55061 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55062 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55063 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55064 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55065 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55068 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55069 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55070 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55071 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55072 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55073 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55074 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55075 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55078 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55079 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55080 * sysdeps/powerpc/sysdep.h: Likewise.
55081 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55082 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55083 * sysdeps/sh/dl-trampoline.S: Likewise.
55084 * sysdeps/sh/memset.S: Likewise.
55085 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55086 * sysdeps/sh/strlen.S: Likewise.
55087 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55088 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55089 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55090 * sysdeps/sparc/sparc32/rem.S: Likewise.
55091 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55092 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55093 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55094 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55095 * sysdeps/sparc/sparc32/urem.S: Likewise.
55096 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55097 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55098 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55099 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55100 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55101 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55102 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55103 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55104 * sysdeps/unix/bsd/times.c: Likewise.
55105 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55106 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55110 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55111 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55112 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55113 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55114 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55115 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55116 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55117 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55118 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55119 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55120 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55121 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55122 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55123 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55124 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55125 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55126 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55127 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55128 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55129 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55130 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55131 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55133 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55134 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55135 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55136 * sysdeps/x86_64/strcspn.S: Likewise.
55137
55138 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55139
55140 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55141 generated file. Regenerate properly from gen-translit.pl.
55142 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55143 locale/C-translit.h.
55144
55145 2013-06-05 Andreas Schwab <schwab@suse.de>
55146
55147 [BZ #15100]
55148 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55149 week as 6 instead of -1.
55150 * time/tst-strptime.c (day_tests): Add test case.
55151
55152 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55153
55154 * sysdeps/generic/math_private.h
55155 (libc_feholdexcept_setround_53bit): Replace with
55156 libc_feholdsetround_53bit.
55157 (libc_feupdateenv_53bit): Replace with
55158 libc_feresetround_53bit.
55159 (SET_RESTORE_ROUND_53BIT): Adjust.
55160
55161 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55162
55163 * string/test-strchrnul.c: Add copyright header.
55164
55165 * posix/tst-getaddrinfo4.c: Increase test timeout.
55166
55167 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55168
55169 [BZ #15536]
55170 * math/libm-test.inc (MAX_EXP): Remove
55171 (MIN_EXP): Define.
55172 (ulp): Use MIN_EXP - MANT_DIG.
55173 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55174
55175 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55176
55177 * po/be.po: Revert last change.
55178 * po/zh_CN.po: Likewise.
55179 * po/header.pot: Likewise.
55180
55181 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55182
55183 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55184 link-libc-deps to empty as target-specific variable.
55185 * Makerules (link-libc-args): New variable.
55186 (libc-for-link): Likewise.
55187 (link-libc-deps): Likewise.
55188 (lib%.so): Depend on $(link-libc-deps). Link with
55189 $(link-libc-args).
55190 (build-module): Link with $(link-libc-args).
55191 (build-module-asneeded): Likewise.
55192 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55193 list of objects.
55194 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55195 target-specific variable.
55196 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55197 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55198 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55199 libc.
55200 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55201 libc and ld.so.
55202 ($(objpfx)libpcprofile.so): Likewise.
55203 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55204 libc_nonshared.a.
55205 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55206 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55207 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55208 $(link-libc-deps).
55209 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55210 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55211 * login/Makefile ($(objpfx)libutil.so): Likewise.
55212 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55213 * math/Makefile ($(objpfx)libm.so): Likewise.
55214 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55215 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55216 variable instead of depending directly on libc.
55217 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55218 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55219 $(link-libc-deps).
55220 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55221 libc.
55222 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55223 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55224 ($(objpfx)libanl.so): Likewise.
55225 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55226 ld.so.
55227 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55228 $(link-libc-deps).
55229 * sysdeps/i386/fpu/Makefile: Remove file.
55230 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55231 ($(objpfx)libm.so): Remove dependency on ld.so.
55232
55233 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55234
55235 [BZ # 15553]
55236 * nis/yp_xdr.c (XDRMAXNAME): Define.
55237 (XDRMAXRECORD): Define.
55238 (xdr_domainname): Use XDRMAXNAME.
55239 (xdr_mapname): Likewise.
55240 (xdr_peername): Likewise.
55241 (xdr_keydat): Use XDRMAXRECORD.
55242 (xdr_valdat): Likewise.
55243
55244 2013-05-30 Jeff Law <law@redhat.com>
55245
55246 [BZ #14256]
55247 * manual/errno.texi (ESTALE): Update to account for more than
55248 just NFS file systems.
55249 * sysdeps/gnu/errlist.c: Regenerated.
55250
55251 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55252
55253 [BZ #15465]
55254 * elf/Makefile (tests): Add tst-null-argv.
55255 (modules-names): Add tst-null-argv-lib.
55256 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55257 (tst-null-argv-ENV): Set environment for tst-null-argv.
55258 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55259 (RTLD_PROGNAME): New macro.
55260 * elf/tst-null-argv.c: New test case.
55261 * elf/tst-null-argv-lib.c: Library for test case.
55262 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55263 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55264 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55265 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55266 * elf/dl-init.c (call_init): Likewise.
55267 (_dl_init): Likewise.
55268 * elf/dl-load.c (print_search_path): Likewise.
55269 (_dl_map_object): Likewise.
55270 * elf/dl-lookup.c (do_lookup_x): Likewise.
55271 (add_dependency): Likewise.
55272 (_dl_lookup_symbol_x): Likewise.
55273 (_dl_debug_bindings): Likewise.
55274 * elf/dl-open.c (_dl_show_scope): Likewise.
55275 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55276 * elf/dl-version.c (match_symbol): Likewise.
55277 (_dl_check_map_versions): Likewise.
55278 * elf/rtld.c (dl_main): Likewise.
55279 (print_unresolved): Use RTLD_PROGNAME.
55280 (print_missing_version): Likewise.
55281 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55282 (elf_machine_rela): Likewise.
55283 * sysdeps/powerpc/powerpc32/dl-machine.c
55284 (__process_machine_rela): Likewise.
55285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55286 Likewise.
55287 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55288 Likewise.
55289 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55290 Likewise.
55291 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55293 Likewise.
55294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55295 Likewise.
55296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55297
55298 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55299
55300 * po/be.po: Add descriptive title.
55301 * po/zh_CN.po: Likewise.
55302 * po/header.pot: Likewise.
55303
55304 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55305
55306 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55307 error message.
55308 (enlarge_archive): Likewise.
55309
55310 2013-05-28 Ben North <ben@redfrontdoor.org>
55311
55312 * manual/arith.texi (frexp): It is the magnitude of the return
55313 value which lies in [0.5, 1), not the return value itself.
55314
55315 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55316
55317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55318
55319 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55320
55321 * stdio-common/bug26.c (main): Correct fscanf template.
55322
55323 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55324 declare _dl_skip_args.
55325
55326 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55327 Don't declare.
55328
55329 * manual/platform.texi: Add missing @end deftypefun.
55330
55331 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55332
55333 [BZ #15529]
55334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55335 bit of mantissa of 2^16382.
55336 * math/libm-test.inc (hypot_test_data): Add more tests.
55337
55338 * math/libm-test.inc: Add drem and pow10 to list of tested
55339 functions.
55340 (pow10_test): New function.
55341 (drem_test): Likewise.
55342 (drem_test_tonearest): Likewise.
55343 (drem_test_towardzero): Likewise.
55344 (drem_test_downward): Likewise.
55345 (drem_test_upward): Likewise.
55346 (main): Call the new functions.
55347
55348 * math/libm-test.inc (finite_test_data): Remove.
55349 (finite_test): Run tests from isfinite_test_data.
55350 (gamma_test_data): Remove.
55351 (gamma_test): Run tests from lgamma_test_data.
55352 * sysdeps/i386/fpu/libm-test-ulps: Update.
55353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55354
55355 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55356
55357 * manual/platform.texi: Add PowerPC PPR function set documentation.
55358 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55359 implementation.
55360
55361 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55362
55363 * math/libm-test.inc (MAX_EXP): Define.
55364 (ULPDIFF): Define.
55365 (ulp): New function.
55366 (check_float_internal): Use ULPDIFF.
55367 (cpow_test): Disable failing test.
55368 (check_ulp): Test ulp() implementation.
55369 (main): Call check_ulp before starting tests.
55370
55371 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55372
55373 * math/gen-libm-test.pl (generate_testfile): Do not handle
55374 START_DATA and END_DATA.
55375 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55376 END_DATA.
55377 (acos_tonearest_test_data): Likewise.
55378 (acos_towardzero_test_data): Likewise.
55379 (acos_downward_test_data): Likewise.
55380 (acos_upward_test_data): Likewise.
55381 (acosh_test_data): Likewise.
55382 (asin_test_data): Likewise.
55383 (asin_tonearest_test_data): Likewise.
55384 (asin_towardzero_test_data): Likewise.
55385 (asin_downward_test_data): Likewise.
55386 (asin_upward_test_data): Likewise.
55387 (asinh_test_data): Likewise.
55388 (atan_test_data): Likewise.
55389 (atanh_test_data): Likewise.
55390 (atan2_test_data): Likewise.
55391 (cabs_test_data): Likewise.
55392 (cacos_test_data): Likewise.
55393 (cacosh_test_data): Likewise.
55394 (carg_test_data): Likewise.
55395 (casin_test_data): Likewise.
55396 (casinh_test_data): Likewise.
55397 (catan_test_data): Likewise.
55398 (catanh_test_data): Likewise.
55399 (cbrt_test_data): Likewise.
55400 (ccos_test_data): Likewise.
55401 (ccosh_test_data): Likewise.
55402 (ceil_test_data): Likewise.
55403 (cexp_test_data): Likewise.
55404 (cimag_test_data): Likewise.
55405 (clog_test_data): Likewise.
55406 (clog10_test_data): Likewise.
55407 (conj_test_data): Likewise.
55408 (copysign_test_data): Likewise.
55409 (cos_test_data): Likewise.
55410 (cos_tonearest_test_data): Likewise.
55411 (cos_towardzero_test_data): Likewise.
55412 (cos_downward_test_data): Likewise.
55413 (cos_upward_test_data): Likewise.
55414 (cosh_test_data): Likewise.
55415 (cosh_tonearest_test_data): Likewise.
55416 (cosh_towardzero_test_data): Likewise.
55417 (cosh_downward_test_data): Likewise.
55418 (cosh_upward_test_data): Likewise.
55419 (cpow_test_data): Likewise.
55420 (cproj_test_data): Likewise.
55421 (creal_test_data): Likewise.
55422 (csin_test_data): Likewise.
55423 (csinh_test_data): Likewise.
55424 (csqrt_test_data): Likewise.
55425 (ctan_test_data): Likewise.
55426 (ctan_tonearest_test_data): Likewise.
55427 (ctan_towardzero_test_data): Likewise.
55428 (ctan_downward_test_data): Likewise.
55429 (ctan_upward_test_data): Likewise.
55430 (ctanh_test_data): Likewise.
55431 (ctanh_tonearest_test_data): Likewise.
55432 (ctanh_towardzero_test_data): Likewise.
55433 (ctanh_downward_test_data): Likewise.
55434 (ctanh_upward_test_data): Likewise.
55435 (erf_test_data): Likewise.
55436 (erfc_test_data): Likewise.
55437 (exp_test_data): Likewise.
55438 (exp_tonearest_test_data): Likewise.
55439 (exp_towardzero_test_data): Likewise.
55440 (exp_downward_test_data): Likewise.
55441 (exp_upward_test_data): Likewise.
55442 (exp10_test_data): Likewise.
55443 (exp2_test_data): Likewise.
55444 (expm1_test_data): Likewise.
55445 (fabs_test_data): Likewise.
55446 (fdim_test_data): Likewise.
55447 (finite_test_data): Likewise.
55448 (floor_test_data): Likewise.
55449 (fma_test_data): Likewise.
55450 (fma_towardzero_test_data): Likewise.
55451 (fma_downward_test_data): Likewise.
55452 (fma_upward_test_data): Likewise.
55453 (fmax_test_data): Likewise.
55454 (fmin_test_data): Likewise.
55455 (fmod_test_data): Likewise.
55456 (fpclassify_test_data): Likewise.
55457 (frexp_test_data): Likewise.
55458 (gamma_test_data): Likewise.
55459 (hypot_test_data): Likewise.
55460 (ilogb_test_data): Likewise.
55461 (isfinite_test_data): Likewise.
55462 (isgreater_test_data): Likewise.
55463 (isgreaterequal_test_data): Likewise.
55464 (isinf_test_data): Likewise.
55465 (isless_test_data): Likewise.
55466 (islessequal_test_data): Likewise.
55467 (islessgreater_test_data): Likewise.
55468 (isnan_test_data): Likewise.
55469 (isnormal_test_data): Likewise.
55470 (issignaling_test_data): Likewise.
55471 (isunordered_test_data): Likewise.
55472 (j0_test_data): Likewise.
55473 (j1_test_data): Likewise.
55474 (jn_test_data): Likewise.
55475 (ldexp_test_data): Likewise.
55476 (lgamma_test_data): Likewise.
55477 (lrint_test_data): Likewise.
55478 (lrint_tonearest_test_data): Likewise.
55479 (lrint_towardzero_test_data): Likewise.
55480 (lrint_downward_test_data): Likewise.
55481 (lrint_upward_test_data): Likewise.
55482 (llrint_test_data): Likewise.
55483 (llrint_tonearest_test_data): Likewise.
55484 (llrint_towardzero_test_data): Likewise.
55485 (llrint_downward_test_data): Likewise.
55486 (llrint_upward_test_data): Likewise.
55487 (log_test_data): Likewise.
55488 (log10_test_data): Likewise.
55489 (log1p_test_data): Likewise.
55490 (log2_test_data): Likewise.
55491 (logb_test_data): Likewise.
55492 (logb_downward_test_data): Likewise.
55493 (lround_test_data): Likewise.
55494 (llround_test_data): Likewise.
55495 (modf_test_data): Likewise.
55496 (nearbyint_test_data): Likewise.
55497 (nextafter_test_data): Likewise.
55498 (nexttoward_test_data): Likewise.
55499 (pow_test_data): Likewise.
55500 (pow_tonearest_test_data): Likewise.
55501 (pow_towardzero_test_data): Likewise.
55502 (pow_downward_test_data): Likewise.
55503 (pow_upward_test_data): Likewise.
55504 (remainder_test_data): Likewise.
55505 (remainder_tonearest_test_data): Likewise.
55506 (remainder_towardzero_test_data): Likewise.
55507 (remainder_downward_test_data): Likewise.
55508 (remainder_upward_test_data): Likewise.
55509 (remquo_test_data): Likewise.
55510 (rint_test_data): Likewise.
55511 (rint_tonearest_test_data): Likewise.
55512 (rint_towardzero_test_data): Likewise.
55513 (rint_downward_test_data): Likewise.
55514 (rint_upward_test_data): Likewise.
55515 (round_test_data): Likewise.
55516 (scalb_test_data): Likewise.
55517 (scalbn_test_data): Likewise.
55518 (scalbln_test_data): Likewise.
55519 (signbit_test_data): Likewise.
55520 (sin_test_data): Likewise.
55521 (sin_tonearest_test_data): Likewise.
55522 (sin_towardzero_test_data): Likewise.
55523 (sin_downward_test_data): Likewise.
55524 (sin_upward_test_data): Likewise.
55525 (sincos_test_data): Likewise.
55526 (sinh_test_data): Likewise.
55527 (sinh_tonearest_test_data): Likewise.
55528 (sinh_towardzero_test_data): Likewise.
55529 (sinh_downward_test_data): Likewise.
55530 (sinh_upward_test_data): Likewise.
55531 (sqrt_test_data): Likewise.
55532 (tan_test_data): Likewise.
55533 (tan_tonearest_test_data): Likewise.
55534 (tan_towardzero_test_data): Likewise.
55535 (tan_downward_test_data): Likewise.
55536 (tan_upward_test_data): Likewise.
55537 (tanh_test_data): Likewise.
55538 (tgamma_test_data): Likewise.
55539 (trunc_test_data): Likewise.
55540 (y0_test_data): Likewise.
55541 (y1_test_data): Likewise.
55542 (yn_test_data): Likewise.
55543 (significand_test_data): Likewise.
55544
55545 * math/gen-libm-test.pl (@functions): Remove variable.
55546 (generate_testfile): Don't handle START and END lines.
55547 * math/libm-test.inc (START): New macro.
55548 (END): Likewise.
55549 (END_COMPLEX): Likewise.
55550 (acos_test): Use END macro without arguments.
55551 (acos_test_tonearest): Likewise.
55552 (acos_test_towardzero): Likewise.
55553 (acos_test_downward): Likewise.
55554 (acos_test_upward): Likewise.
55555 (acosh_test): Likewise.
55556 (asin_test): Likewise.
55557 (asin_test_tonearest): Likewise.
55558 (asin_test_towardzero): Likewise.
55559 (asin_test_downward): Likewise.
55560 (asin_test_upward): Likewise.
55561 (asinh_test): Likewise.
55562 (atan_test): Likewise.
55563 (atanh_test): Likewise.
55564 (atan2_test): Likewise.
55565 (cabs_test): Likewise.
55566 (cacos_test): Use END_COMPLEX macro without arguments.
55567 (cacosh_test): Likewise.
55568 (carg_test): Use END macro without arguments.
55569 (casin_test): Use END_COMPLEX macro without arguments.
55570 (casinh_test): Likewise.
55571 (catan_test): Likewise.
55572 (catanh_test): Likewise.
55573 (cbrt_test): Use END macro without arguments.
55574 (ccos_test): Use END_COMPLEX macro without arguments.
55575 (ccosh_test): Likewise.
55576 (ceil_test): Use END macro without arguments.
55577 (cexp_test): Use END_COMPLEX macro without arguments.
55578 (cimag_test): Use END macro without arguments.
55579 (clog_test): Use END_COMPLEX macro without arguments.
55580 (clog10_test): Likewise.
55581 (conj_test): Likewise.
55582 (copysign_test): Use END macro without arguments.
55583 (cos_test): Likewise.
55584 (cos_test_tonearest): Likewise.
55585 (cos_test_towardzero): Likewise.
55586 (cos_test_downward): Likewise.
55587 (cos_test_upward): Likewise.
55588 (cosh_test): Likewise.
55589 (cosh_test_tonearest): Likewise.
55590 (cosh_test_towardzero): Likewise.
55591 (cosh_test_downward): Likewise.
55592 (cosh_test_upward): Likewise.
55593 (cpow_test): Use END_COMPLEX macro without arguments.
55594 (cproj_test): Likewise.
55595 (creal_test): Use END macro without arguments.
55596 (csin_test): Use END_COMPLEX macro without arguments.
55597 (csinh_test): Likewise.
55598 (csqrt_test): Likewise.
55599 (ctan_test): Likewise.
55600 (ctan_test_tonearest): Likewise.
55601 (ctan_test_towardzero): Likewise.
55602 (ctan_test_downward): Likewise.
55603 (ctan_test_upward): Likewise.
55604 (ctanh_test): Likewise.
55605 (ctanh_test_tonearest): Likewise.
55606 (ctanh_test_towardzero): Likewise.
55607 (ctanh_test_downward): Likewise.
55608 (ctanh_test_upward): Likewise.
55609 (erf_test): Use END macro without arguments.
55610 (erfc_test): Likewise.
55611 (exp_test): Likewise.
55612 (exp_test_tonearest): Likewise.
55613 (exp_test_towardzero): Likewise.
55614 (exp_test_downward): Likewise.
55615 (exp_test_upward): Likewise.
55616 (exp10_test): Likewise.
55617 (exp2_test): Likewise.
55618 (expm1_test): Likewise.
55619 (fabs_test): Likewise.
55620 (fdim_test): Likewise.
55621 (finite_test): Likewise.
55622 (floor_test): Likewise.
55623 (fma_test): Likewise.
55624 (fma_test_towardzero): Likewise.
55625 (fma_test_downward): Likewise.
55626 (fma_test_upward): Likewise.
55627 (fmax_test): Likewise.
55628 (fmin_test): Likewise.
55629 (fmod_test): Likewise.
55630 (fpclassify_test): Likewise.
55631 (frexp_test): Likewise.
55632 (gamma_test): Likewise.
55633 (hypot_test): Likewise.
55634 (ilogb_test): Likewise.
55635 (isfinite_test): Likewise.
55636 (isgreater_test): Likewise.
55637 (isgreaterequal_test): Likewise.
55638 (isinf_test): Likewise.
55639 (isless_test): Likewise.
55640 (islessequal_test): Likewise.
55641 (islessgreater_test): Likewise.
55642 (isnan_test): Likewise.
55643 (isnormal_test): Likewise.
55644 (issignaling_test): Likewise.
55645 (isunordered_test): Likewise.
55646 (j0_test): Likewise.
55647 (j1_test): Likewise.
55648 (jn_test): Likewise.
55649 (ldexp_test): Likewise.
55650 (lgamma_test): Likewise.
55651 (lrint_test): Likewise.
55652 (lrint_test_tonearest): Likewise.
55653 (lrint_test_towardzero): Likewise.
55654 (lrint_test_downward): Likewise.
55655 (lrint_test_upward): Likewise.
55656 (llrint_test): Likewise.
55657 (llrint_test_tonearest): Likewise.
55658 (llrint_test_towardzero): Likewise.
55659 (llrint_test_downward): Likewise.
55660 (llrint_test_upward): Likewise.
55661 (log_test): Likewise.
55662 (log10_test): Likewise.
55663 (log1p_test): Likewise.
55664 (log2_test): Likewise.
55665 (logb_test): Likewise.
55666 (logb_test_downward): Likewise.
55667 (lround_test): Likewise.
55668 (llround_test): Likewise.
55669 (modf_test): Likewise.
55670 (nearbyint_test): Likewise.
55671 (nextafter_test): Likewise.
55672 (nexttoward_test): Likewise.
55673 (pow_test): Likewise.
55674 (pow_test_tonearest): Likewise.
55675 (pow_test_towardzero): Likewise.
55676 (pow_test_downward): Likewise.
55677 (pow_test_upward): Likewise.
55678 (remainder_test): Likewise.
55679 (remainder_test_tonearest): Likewise.
55680 (remainder_test_towardzero): Likewise.
55681 (remainder_test_downward): Likewise.
55682 (remainder_test_upward): Likewise.
55683 (remquo_test): Likewise.
55684 (rint_test): Likewise.
55685 (rint_test_tonearest): Likewise.
55686 (rint_test_towardzero): Likewise.
55687 (rint_test_downward): Likewise.
55688 (rint_test_upward): Likewise.
55689 (round_test): Likewise.
55690 (scalb_test): Likewise.
55691 (scalbn_test): Likewise.
55692 (scalbln_test): Likewise.
55693 (signbit_test): Likewise.
55694 (sin_test): Likewise.
55695 (sin_test_tonearest): Likewise.
55696 (sin_test_towardzero): Likewise.
55697 (sin_test_downward): Likewise.
55698 (sin_test_upward): Likewise.
55699 (sincos_test): Likewise.
55700 (sinh_test): Likewise.
55701 (sinh_test_tonearest): Likewise.
55702 (sinh_test_towardzero): Likewise.
55703 (sinh_test_downward): Likewise.
55704 (sinh_test_upward): Likewise.
55705 (sqrt_test): Likewise.
55706 (tan_test): Likewise.
55707 (tan_test_tonearest): Likewise.
55708 (tan_test_towardzero): Likewise.
55709 (tan_test_downward): Likewise.
55710 (tan_test_upward): Likewise.
55711 (tanh_test): Likewise.
55712 (tgamma_test): Likewise.
55713 (trunc_test): Likewise.
55714 (y0_test): Likewise.
55715 (y1_test): Likewise.
55716 (yn_test): Likewise.
55717 (significand_test): Likewise.
55718
55719 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55720
55721 [BZ #15381]
55722 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55723
55724 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55725
55726 [BZ #14894]
55727 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55728 __ppc_mdoio and __ppc_mdoom.
55729 * manual/platform.texi: Document new functions __ppc_yield,
55730 __ppc_mdoio and __ppc_mdoom.
55731
55732 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55733
55734 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55735 (main): Mention "tls" pseudo-hwcap is legacy.
55736 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55737
55738 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55739
55740 * math/gen-libm-test.pl (parse_args): Output only string of
55741 arguments as text for test name, not full call or descriptions of
55742 tests for extra outputs.
55743 (generate_testfile): Do not pass function name to parse_args.
55744 Generate this_func variable from START.
55745 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55746 field to arg_str.
55747 (struct test_ff_f_data): Likewise.
55748 (test_ff_f_data_nexttoward): Likewise.
55749 (struct test_fi_f_data): Likewise.
55750 (struct test_fl_f_data): Likewise.
55751 (struct test_if_f_data): Likewise.
55752 (struct test_fff_f_data): Likewise.
55753 (struct test_c_f_data): Likewise.
55754 (struct test_f_f1_data): Likewise. Remove field extra_name.
55755 (struct test_fF_f1_data): Likewise.
55756 (struct test_ffI_f1_data): Likewise.
55757 (struct test_c_c_data): Rename test_name field to arg_str.
55758 (struct test_cc_c_data): Likewise.
55759 (struct test_f_i_data): Likewise.
55760 (struct test_ff_i_data): Likewise.
55761 (struct test_f_l_data): Likewise.
55762 (struct test_f_L_data): Likewise.
55763 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55764 and extra2_name.
55765 (COMMON_TEST_SETUP): New macro.
55766 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55767 (COMMON_TEST_CLEANUP): Likewise.
55768 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55769 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55770 macros.
55771 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55772 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55773 macros.
55774 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55775 (RUN_TEST_fff_f): Take argument string. Call new setup and
55776 cleanup macros.
55777 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55778 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55779 macros.
55780 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55781 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55782 macros.
55783 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55784 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55785 cleanup macros.
55786 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55787 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55788 cleanup macros.
55789 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55790 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55791 cleanup macros.
55792 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55793 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55794 macros.
55795 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55796 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55797 macros.
55798 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55799 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55800 macros.
55801 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55802 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55803 cleanup macros.
55804 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55805 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55806 cleanup macros.
55807 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55808 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55809 macros.
55810 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55811 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55812 cleanup macros.
55813 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55814 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55815 macros.
55816 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55817 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55818 macros.
55819 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55820 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55821 cleanup macros.
55822 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55823
55824 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55825
55826 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55827 to _sifields.sigfault.
55828 (si_addr_lsb): Define new macro.
55829 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55830 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55831 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55832
55833 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55834
55835 [BZ #15441]
55836 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55837 returns -1.
55838 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55839 null return -1.
55840 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55841 loading the domain.
55842
55843 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55844
55845 * math/gen-libm-test.pl (parse_args): Do not include expected
55846 result in test name.
55847 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55848 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55849 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55850 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55851 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55853
55854 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55855
55856 * benchtests/Makefile: Sort function entries.
55857
55858 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55859 tanh, asinh, acosh, atanh.
55860 * benchtests/acos-inputs: New file.
55861 * benchtests/acosh-inputs: New file.
55862 * benchtests/asin-inputs: New file.
55863 * benchtests/asinh-inputs: New file.
55864 * benchtests/atanh-inputs: New file.
55865 * benchtests/cosh-inputs: New file.
55866 * benchtests/log-inputs: New file.
55867 * benchtests/sinh-inputs: New file.
55868 * benchtests/tanh-inputs: New file.
55869
55870 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55871
55872 [BZ #15339]
55873 * posix/tst-getaddrinfo4.c: New test.
55874 * posix/Makefile (tests): Add it.
55875
55876 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55877
55878 [BZ #15339]
55879 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55880 when no services were used.
55881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55882 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55883
55884 2013-05-21 Andreas Schwab <schwab@suse.de>
55885
55886 [BZ #15014]
55887 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55888 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55889 successful.
55890 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55891 redundant variable declarations and reallocation of buffer when
55892 parsing as IPv6 address. Always set NSS status when called from
55893 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55894 buffer too small. Correct computation of needed size.
55895 * nss/Makefile (tests): Add test-digits-dots.
55896 * nss/test-digits-dots.c: New test.
55897
55898 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55899
55900 * benchtests/Makefile: Remove instructions for adding
55901 benchmark tests.
55902 * benchtests/README: New file to explain how to execute and
55903 enhance the benchmark tests.
55904
55905 2013-05-21 Andreas Schwab <schwab@suse.de>
55906
55907 [BZ #15493]
55908 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55909 * setjmp/tst-sigsetjmp.c: New test.
55910
55911 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55912
55913 * sysdeps/x86_64/memset.S (memset): New implementation.
55914 (__bzero): Likewise.
55915 (__memset_tail): New function.
55916
55917 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55918
55919 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55920 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55921 __memcpy_sse2_unaligned ifunc selection.
55922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55923 Add memcpy-sse2-unaligned.S.
55924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55925 Add: __memcpy_sse2_unaligned.
55926
55927 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55928
55929 [BZ #15490]
55930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55931 math_force_eval before restoring floating-point envrionment.
55932 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55933 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55934 Likewise.
55935 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55936 <math_private.h>.
55937 (__nearbyintl): Use math_force_eval before restoring
55938 floating-point environment.
55939 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55940
55941 * math/gen-libm-test.pl (special_functions): Remove.
55942 (parse_args): Don't handle TEST_extra. Handle functions with no
55943 return value.
55944 * math/libm-test.inc (struct test_sincos_data): Replace with
55945 struct test_fFF_11_data.
55946 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55947 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55948 (sincos_test_data): Change element type to struct
55949 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55950 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55951 RUN_TEST_LOOP_sincos.
55952 * math/README.libm-test: Don't mention special handling of
55953 individual functions.
55954 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55956 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55957 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55958 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55960
55961 * math/gen-libm-test.pl (get_variable): Remove function.
55962 (parse_args): Don't show pointer parameters to call in test
55963 names. Use "extra output N" in test names for extra outputs
55964 rather than naming variables.
55965
55966 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55967
55968 [BZ #15488]
55969 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55970 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55971 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55972 double tests.
55973 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55974 disable.
55975 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55976 check_long_double.
55977
55978 * math/gen-libm-test.pl (@tests): Remove variable.
55979 ($count): Likewise.
55980 (new_test): Remove function.
55981 (show_exceptions): New function.
55982 (special_functions): Use show_exceptions instead of new_test.
55983 (parse_args): Likewise.
55984 (generate_testfile): Pass only function name in generated call to
55985 print_max_error or print_complex_max_error.
55986 (get_ulps): Do not handle complex tests specially.
55987 (output_test): Rename to ...
55988 (get_all_ulps_for_test): ... this. Return a string rather than
55989 printing to a file. Require ulps to be present.
55990 (output_ulps): Generate arrays rather than #defines.
55991 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55992 (struct ulp_data): New type.
55993 (BUILD_COMPLEX_ULP): Remove macro.
55994 (compare_ulp_data): New function.
55995 (find_ulps): Likewise.
55996 (find_test_ulps): Likewise.
55997 (find_function_ulps): Likewise.
55998 (find_complex_function_ulps): Likewise.
55999 (print_max_error): Determine allowed ulps using
56000 find_function_ulps.
56001 (print_complex_max_error): Determine allowed ulps using
56002 find_complex_function_ulps.
56003 (check_float_internal): Determine max ulps using find_test_ulps.
56004 (check_float): Do not take max_ulp parameter. Update call to
56005 check_float_internal.
56006 (check_complex): Likewise.
56007 (check_int): Do not take max_ulp parameter.
56008 (check_long): Likewise.
56009 (check_bool): Likewise.
56010 (check_longlong): Likewise.
56011 (struct test_f_f_data): Remove max_ulp field.
56012 (struct test_ff_f_data): Likewise.
56013 (struct test_ff_f_data_nexttoward): Likewise.
56014 (struct test_fi_f_data): Likewise.
56015 (struct test_fl_f_data): Likewise.
56016 (struct test_if_f_data): Likewise.
56017 (struct test_fff_f_data): Likewise.
56018 (struct test_c_f_data): Likewise.
56019 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56020 (struct test_fF_f1_data): Likewise.
56021 (struct test_ffI_f1_data): Likewise.
56022 (struct test_c_c_data): Remove max_ulp field.
56023 (struct test_cc_c_data): Likewise.
56024 (struct test_f_i_data): Likewise.
56025 (struct test_ff_i_data): Likewise.
56026 (struct test_f_l_data): Likewise.
56027 (struct test_f_L_data): Likewise.
56028 (struct test_sincos_data): Likewise.
56029 (RUN_TEST_f_f): Do not handle ulps.
56030 (RUN_TEST_LOOP_f_f): Likewise.
56031 (RUN_TEST_2_f): Likewise.
56032 (RUN_TEST_LOOP_2_f): Likewise.
56033 (RUN_TEST_fff_f): Likewise.
56034 (RUN_TEST_LOOP_fff_f): Likewise.
56035 (RUN_TEST_c_f): Likewise.
56036 (RUN_TEST_LOOP_c_f): Likewise.
56037 (RUN_TEST_f_f1): Likewise.
56038 (RUN_TEST_LOOP_f_f1): Likewise.
56039 (RUN_TEST_fF_f1): Likewise.
56040 (RUN_TEST_LOOP_fF_f1): Likewise.
56041 (RUN_TEST_fI_f1): Likewise.
56042 (RUN_TEST_LOOP_fI_f1): Likewise.
56043 (RUN_TEST_ffI_f1): Likewise.
56044 (RUN_TEST_LOOP_ffI_f1): Likewise.
56045 (RUN_TEST_c_c): Likewise.
56046 (RUN_TEST_LOOP_c_c): Likewise.
56047 (RUN_TEST_cc_c): Likewise.
56048 (RUN_TEST_LOOP_cc_c): Likewise.
56049 (RUN_TEST_f_i): Likewise.
56050 (RUN_TEST_LOOP_f_i): Likewise.
56051 (RUN_TEST_f_i_tg): Likewise.
56052 (RUN_TEST_LOOP_f_i_tg): Likewise.
56053 (RUN_TEST_ff_i_tg): Likewise.
56054 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56055 (RUN_TEST_f_b): Likewise.
56056 (RUN_TEST_LOOP_f_b): Likewise.
56057 (RUN_TEST_f_b_tg): Likewise.
56058 (RUN_TEST_LOOP_f_b_tg): Likewise.
56059 (RUN_TEST_f_l): Likewise.
56060 (RUN_TEST_LOOP_f_l): Likewise.
56061 (RUN_TEST_f_L): Likewise.
56062 (RUN_TEST_LOOP_f_L): Likewise.
56063 (RUN_TEST_sincos): Likewise.
56064 (RUN_TEST_LOOP_sincos): Likewise.
56065
56066 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56067
56068 [BZ #15480]
56069 [BZ #15485]
56070 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56071 main case of finite arguments, set rounding mode to FE_TONEAREST
56072 and discard exceptions.
56073 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56074 exceptions.
56075 (remainder_tonearest_test_data): New variable.
56076 (remainder_test_tonearest): New function.
56077 (remainder_towardzero_test_data): New variable.
56078 (remainder_test_towardzero): New function.
56079 (remainder_downward_test_data): New variable.
56080 (remainder_test_downward): New function.
56081 (remainder_upward_test_data): New variable.
56082 (remainder_test_upward): New function.
56083 (main): Call the new test functions.
56084
56085 * math/libm-test.inc (struct test_f_f1_data): Remove field
56086 extra_init.
56087 (struct test_fF_f1_data): Likewise.
56088 (struct test_ffI_f1_data): Likewise.
56089 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56090 based on value of EXTRA_EXPECTED.
56091 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56092 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56093 EXTRA_VAR based on value of EXTRA_EXPECTED.
56094 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56095 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56096 EXTRA_VAR based on value of EXTRA_EXPECTED.
56097 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56098 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56099 EXTRA_VAR based on value of EXTRA_EXPECTED.
56100 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56101 * math/gen-libm-test.pl (parse_args): Don't output initializers
56102 for extra output values.
56103
56104 * math/libm-test.inc (check_int): Expect result to be exactly
56105 equal to expected value and do not handle ulps.
56106 (check_long): Likewise.
56107 (check_longlong): Likewise.
56108
56109 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56110 exceptions.
56111 (cimag_test_data): Likewise.
56112 (conj_test_data): Likewise.
56113 (copysign_test_data): Likewise.
56114 (cproj_test_data): Likewise.
56115 (creal_test_data): Likewise.
56116 (fabs_test_data): Likewise.
56117 (fdim_test_data): Likewise.
56118 (finite_test_data): Likewise.
56119 (floor_test_data): Likewise.
56120 (fmax_test_data): Likewise.
56121 (fmin_test_data): Likewise.
56122 (fmod_test_data): Likewise.
56123 (fpclassify_test_data): Likewise.
56124 (frexp_test_data): Likewise.
56125 (ilogb_test_data): Likewise.
56126 (isfinite_test_data): Likewise.
56127 (isgreater_test_data): Likewise.
56128 (isgreaterequal_test_data): Likewise.
56129 (isinf_test_data): Likewise.
56130 (isless_test_data): Likewise.
56131 (islessequal_test_data): Likewise.
56132 (islessgreater_test_data): Likewise.
56133 (isnan_test_data): Likewise.
56134 (isnormal_test_data): Likewise.
56135 (issignaling_test_data): Likewise.
56136 (isunordered_test_data): Likewise.
56137 (ldexp_test_data): Likewise.
56138 (lrint_test_data): Likewise.
56139 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56140 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56141 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56142 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56143 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56144 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56145 test input.
56146 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56147 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56148 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56149 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56150 that test input.
56151 (lrint_downward_test_data): Test for "inexact" exceptions.
56152 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56153 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56154 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56155 test input.
56156 (lrint_upward_test_data): Test for "inexact" exceptions.
56157 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56158 test input.
56159 (llrint_test_data): Test for "inexact" exceptions.
56160 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56161 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56162 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56163 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56164 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56165 (llrint_downward_test_data): Test for "inexact" exceptions.
56166 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56167 (llrint_upward_test_data): Test for "inexact" exceptions.
56168 (logb_test_data): Likewise.
56169 (logb_downward_test_data): Likewise.
56170 (nextafter_test_data): Likewise.
56171 (nexttoward_test_data): Likewise.
56172 (remainder_test_data): Likewise.
56173 (remquo_test_data): Likewise.
56174 (scalbn_test_data): Likewise.
56175 (scalbln_test_data): Likewise.
56176 (signbit_test_data): Likewise.
56177 (sqrt_test_data): Likewise.
56178 (significand_test_data): Likewise.
56179
56180 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56181
56182 [BZ #15424]
56183 * benchtests/bench-modf.c (struct args): Mark arg0 as
56184 volatile.
56185 * scripts/bench.pl: Mark members of struct args as volatile.
56186
56187 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56188
56189 [BZ # 15497]
56190 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56191 negative infinity on POWER6 or lower.
56192 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56193
56194 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56195
56196 [BZ #15442]
56197 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56198 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56199 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56200 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56201 (_FP_SETQNAN): New macro.
56202 (_FP_SETQNAN_SEMIRAW): Likewise.
56203 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56204 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56205 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56206 (FP_EXTEND): Use _FP_FRAC_SNANP.
56207 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56208 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56209 into account.
56210 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56211 New macro.
56212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56213 Likewise.
56214
56215 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56216
56217 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56218 with DIVIDE_BY_ZERO_EXCEPTION.
56219 (gamma_test_data): Likewise.
56220 (lgamma_test_data): Likewise.
56221 (log_test_data): Likewise.
56222 (log10_test_data): Likewise.
56223 (log2_test_data): Likewise.
56224 (tgamma_test_data): Likewise.
56225
56226 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56227 (acos_test_tonearest): Likewise.
56228 (acos_test_towardzero): Likewise.
56229 (acos_test_downward): Likewise.
56230 (acos_test_upward): Likewise.
56231 (acosh_test): Likewise.
56232 (asin_test): Likewise.
56233 (asin_test_tonearest): Likewise.
56234 (asin_test_towardzero): Likewise.
56235 (asin_test_downward): Likewise.
56236 (asin_test_upward): Likewise.
56237 (asinh_test): Likewise.
56238 (atan_test): Likewise.
56239 (atanh_test): Likewise.
56240 (atan2_test): Likewise.
56241 (cabs_test): Likewise.
56242 (cacos_test): Likewise.
56243 (cacosh_test): Likewise.
56244 (casin_test): Likewise.
56245 (casinh_test): Likewise.
56246 (catan_test): Likewise.
56247 (catanh_test): Likewise.
56248 (cbrt_test): Likewise.
56249 (ccos_test): Likewise.
56250 (ccosh_test): Likewise.
56251 (cexp_test): Likewise.
56252 (clog_test): Likewise.
56253 (clog10_test): Likewise.
56254 (cos_test): Likewise.
56255 (cos_test_tonearest): Likewise.
56256 (cos_test_towardzero): Likewise.
56257 (cos_test_downward): Likewise.
56258 (cos_test_upward): Likewise.
56259 (cosh_test): Likewise.
56260 (cosh_test_tonearest): Likewise.
56261 (cosh_test_towardzero): Likewise.
56262 (cosh_test_downward): Likewise.
56263 (cosh_test_upward): Likewise.
56264 (cpow_test): Likewise.
56265 (csin_test): Likewise.
56266 (csinh_test): Likewise.
56267 (csqrt_test): Likewise.
56268 (ctan_test): Likewise.
56269 (ctan_test_tonearest): Likewise.
56270 (ctan_test_towardzero): Likewise.
56271 (ctan_test_downward): Likewise.
56272 (ctan_test_upward): Likewise.
56273 (ctanh_test): Likewise.
56274 (ctanh_test_tonearest): Likewise.
56275 (ctanh_test_towardzero): Likewise.
56276 (ctanh_test_downward): Likewise.
56277 (ctanh_test_upward): Likewise.
56278 (erf_test): Likewise.
56279 (erfc_test): Likewise.
56280 (exp_test): Likewise.
56281 (exp_test_tonearest): Likewise.
56282 (exp_test_towardzero): Likewise.
56283 (exp_test_downward): Likewise.
56284 (exp_test_upward): Likewise.
56285 (exp10_test): Likewise.
56286 (exp2_test): Likewise.
56287 (expm1_test): Likewise.
56288 (fmod_test): Likewise.
56289 (gamma_test): Likewise.
56290 (hypot_test): Likewise.
56291 (j0_test): Likewise.
56292 (j1_test): Likewise.
56293 (jn_test): Likewise.
56294 (lgamma_test): Likewise.
56295 (log_test): Likewise.
56296 (log10_test): Likewise.
56297 (log1p_test): Likewise.
56298 (log2_test): Likewise.
56299 (logb_test_downward): Likewise.
56300 (pow_test): Likewise.
56301 (pow_test_tonearest): Likewise.
56302 (pow_test_towardzero): Likewise.
56303 (pow_test_downward): Likewise.
56304 (pow_test_upward): Likewise.
56305 (remainder_test): Likewise.
56306 (remquo_test): Likewise.
56307 (sin_test): Likewise.
56308 (sin_test_tonearest): Likewise.
56309 (sin_test_towardzero): Likewise.
56310 (sin_test_downward): Likewise.
56311 (sin_test_upward): Likewise.
56312 (sincos_test): Likewise.
56313 (sinh_test): Likewise.
56314 (sinh_test_tonearest): Likewise.
56315 (sinh_test_towardzero): Likewise.
56316 (sinh_test_downward): Likewise.
56317 (sinh_test_upward): Likewise.
56318 (sqrt_test): Likewise.
56319 (tan_test): Likewise.
56320 (tan_test_tonearest): Likewise.
56321 (tan_test_towardzero): Likewise.
56322 (tan_test_downward): Likewise.
56323 (tan_test_upward): Likewise.
56324 (tanh_test): Likewise.
56325 (tgamma_test): Likewise.
56326 (y0_test): Likewise.
56327 (y1_test): Likewise.
56328 (yn_test): Likewise.
56329
56330 * math/gen-libm-test.pl (adjust_arg): Remove function.
56331 (special_function): Remove argument $in_func. Only handle
56332 generating output for tables of tests, not inside functions.
56333 (parse_args): Likewise.
56334 (generate_testfile): Remove variable $in_func. Update call to
56335 parse_args.
56336 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56337 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56338 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56339 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56340 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56341 (MAX_VALUE_INIT): Rename macro to max_value.
56342 (MIN_VALUE_INIT): Rename macro to min_value.
56343 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56344 (plus_zero): Remove variable.
56345 (minus_zero): Likewise.
56346 (plus_infty): Likewise.
56347 (minus_infty): Likewise.
56348 (qnan_value): Likewise.
56349 (max_value): Likewise.
56350 (min_value): Likewise.
56351 (min_subnorm_value): Likewise.
56352
56353 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56354
56355 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56356 uint64_t or uint32_t usage.
56357 * crypt/sha256-block.c: Likewise.
56358 * crypt/sha256-crypt.c: Likewise.
56359 * crypt/sha256.c: Likewise.
56360 * crypt/sha512-block.c: Likewise.
56361 * crypt/sha512-crypt.c: Likewise.
56362 * crypt/sha512.c: Likewise.
56363 * debug/backtrace-tst.c: Likewise.
56364 * debug/pcprofiledump.c: Likewise.
56365 * elf/cache.c: Likewise.
56366 * elf/dl-cache.c: Likewise.
56367 * elf/dl-misc.c: Likewise.
56368 * elf/dl-profile.c: Likewise.
56369 * elf/dl-support.c: Likewise.
56370 * elf/ldconfig.c: Likewise.
56371 * elf/sprof.c: Likewise.
56372 * iconv/dummy-repertoire.c: Likewise.
56373 * iconv/iconv_charmap.c: Likewise.
56374 * iconv/skeleton.c: Likewise.
56375 * iconvdata/8bit-generic.c: Likewise.
56376 * iconvdata/cp737.h: Likewise.
56377 * iconvdata/cp775.h: Likewise.
56378 * iconvdata/ibm1008.h: Likewise.
56379 * iconvdata/ibm1025.h: Likewise.
56380 * iconvdata/ibm1046.h: Likewise.
56381 * iconvdata/ibm1097.h: Likewise.
56382 * iconvdata/ibm1112.h: Likewise.
56383 * iconvdata/ibm1122.h: Likewise.
56384 * iconvdata/ibm1123.h: Likewise.
56385 * iconvdata/ibm1124.h: Likewise.
56386 * iconvdata/ibm1129.h: Likewise.
56387 * iconvdata/ibm1130.h: Likewise.
56388 * iconvdata/ibm1132.h: Likewise.
56389 * iconvdata/ibm1133.h: Likewise.
56390 * iconvdata/ibm1137.h: Likewise.
56391 * iconvdata/ibm1140.h: Likewise.
56392 * iconvdata/ibm1141.h: Likewise.
56393 * iconvdata/ibm1142.h: Likewise.
56394 * iconvdata/ibm1143.h: Likewise.
56395 * iconvdata/ibm1144.h: Likewise.
56396 * iconvdata/ibm1145.h: Likewise.
56397 * iconvdata/ibm1146.h: Likewise.
56398 * iconvdata/ibm1147.h: Likewise.
56399 * iconvdata/ibm1148.h: Likewise.
56400 * iconvdata/ibm1149.h: Likewise.
56401 * iconvdata/ibm1153.h: Likewise.
56402 * iconvdata/ibm1154.h: Likewise.
56403 * iconvdata/ibm1155.h: Likewise.
56404 * iconvdata/ibm1156.h: Likewise.
56405 * iconvdata/ibm1157.h: Likewise.
56406 * iconvdata/ibm1158.h: Likewise.
56407 * iconvdata/ibm1160.h: Likewise.
56408 * iconvdata/ibm1161.h: Likewise.
56409 * iconvdata/ibm1162.h: Likewise.
56410 * iconvdata/ibm1163.h: Likewise.
56411 * iconvdata/ibm1164.h: Likewise.
56412 * iconvdata/ibm1166.h: Likewise.
56413 * iconvdata/ibm1167.h: Likewise.
56414 * iconvdata/ibm12712.h: Likewise.
56415 * iconvdata/ibm1390.h: Likewise.
56416 * iconvdata/ibm1399.h: Likewise.
56417 * iconvdata/ibm16804.h: Likewise.
56418 * iconvdata/ibm4517.h: Likewise.
56419 * iconvdata/ibm4899.h: Likewise.
56420 * iconvdata/ibm4909.h: Likewise.
56421 * iconvdata/ibm4971.h: Likewise.
56422 * iconvdata/ibm5347.h: Likewise.
56423 * iconvdata/ibm803.h: Likewise.
56424 * iconvdata/ibm856.h: Likewise.
56425 * iconvdata/ibm901.h: Likewise.
56426 * iconvdata/ibm902.h: Likewise.
56427 * iconvdata/ibm9030.h: Likewise.
56428 * iconvdata/ibm9066.h: Likewise.
56429 * iconvdata/ibm921.h: Likewise.
56430 * iconvdata/ibm922.h: Likewise.
56431 * iconvdata/ibm9448.h: Likewise.
56432 * iconvdata/isiri-3342.h: Likewise.
56433 * iconvdata/jis0201.h: Likewise.
56434 * include/link.h: Likewise.
56435 * include/netdb.h: Likewise.
56436 * inet/check_native.c: Likewise.
56437 * inet/check_pf.c: Likewise.
56438 * inet/getipv4sourcefilter.c: Likewise.
56439 * inet/getnameinfo.c: Likewise.
56440 * inet/getsourcefilter.c: Likewise.
56441 * inet/htonl.c: Likewise.
56442 * inet/setipv4sourcefilter.c: Likewise.
56443 * inet/setsourcefilter.c: Likewise.
56444 * inet/test-inet6_opt.c: Likewise.
56445 * inet/tst-network.c: Likewise.
56446 * locale/C-collate.c: Likewise.
56447 * locale/C-ctype.c: Likewise.
56448 * locale/C-time.c: Likewise.
56449 * locale/C-translit.h: Likewise.
56450 * locale/loadarchive.c: Likewise.
56451 * locale/programs/3level.h: Likewise.
56452 * locale/programs/charmap.c: Likewise.
56453 * locale/programs/charmap.h: Likewise.
56454 * locale/programs/ld-address.c: Likewise.
56455 * locale/programs/ld-collate.c: Likewise.
56456 * locale/programs/ld-ctype.c: Likewise.
56457 * locale/programs/ld-identification.c: Likewise.
56458 * locale/programs/ld-measurement.c: Likewise.
56459 * locale/programs/ld-messages.c: Likewise.
56460 * locale/programs/ld-monetary.c: Likewise.
56461 * locale/programs/ld-name.c: Likewise.
56462 * locale/programs/ld-numeric.c: Likewise.
56463 * locale/programs/ld-paper.c: Likewise.
56464 * locale/programs/ld-telephone.c: Likewise.
56465 * locale/programs/ld-time.c: Likewise.
56466 * locale/programs/linereader.c: Likewise.
56467 * locale/programs/locale.c: Likewise.
56468 * locale/programs/locarchive.c: Likewise.
56469 * locale/programs/locfile.h: Likewise.
56470 * locale/programs/repertoire.c: Likewise.
56471 * locale/programs/simple-hash.c: Likewise.
56472 * locale/programs/simple-hash.h: Likewise.
56473 * malloc/memusage.c: Likewise.
56474 * malloc/memusagestat.c: Likewise.
56475 * nis/nis_defaults.c: Likewise.
56476 * nis/nis_hash.c: Likewise.
56477 * nis/nis_print.c: Likewise.
56478 * nis/nis_xdr.c: Likewise.
56479 * nscd/connections.c: Likewise.
56480 * nscd/hstcache.c: Likewise.
56481 * nscd/nscd_gethst_r.c: Likewise.
56482 * nscd/nscd_getserv_r.c: Likewise.
56483 * nscd/nscd_helper.c: Likewise.
56484 * nscd/servicescache.c: Likewise.
56485 * nss/makedb.c: Likewise.
56486 * nss/nss_db/db-XXX.c: Likewise.
56487 * nss/nss_db/db-initgroups.c: Likewise.
56488 * nss/nss_db/db-netgrp.c: Likewise.
56489 * nss/nss_files/files-network.c: Likewise.
56490 * nss/nss_files/files-parse.c: Likewise.
56491 * posix/bug-regex5.c: Likewise.
56492 * posix/fnmatch_loop.c: Likewise.
56493 * posix/regcomp.c: Likewise.
56494 * posix/regexec.c: Likewise.
56495 * posix/tst-rfc3484-2.c: Likewise.
56496 * posix/tst-rfc3484-3.c: Likewise.
56497 * posix/tst-rfc3484.c: Likewise.
56498 * resolv/nss_dns/dns-canon.c: Likewise.
56499 * resolv/nss_dns/dns-network.c: Likewise.
56500 * resolv/res_init.c: Likewise.
56501 * resolv/res_mkquery.c: Likewise.
56502 * resolv/tst-aton.c: Likewise.
56503 * stdlib/cxa_atexit.c: Likewise.
56504 * stdlib/cxa_finalize.c: Likewise.
56505 * stdlib/gen-fpioconst.c: Likewise.
56506 * stdlib/strtol_l.c: Likewise.
56507 * string/tst-endian.c: Likewise.
56508 * sunrpc/auth_des.c: Likewise.
56509 * sunrpc/clnt_udp.c: Likewise.
56510 * sunrpc/rtime.c: Likewise.
56511 * sunrpc/svcauth_des.c: Likewise.
56512 * sunrpc/xdr.c: Likewise.
56513 * sunrpc/xdr_intXX_t.c: Likewise.
56514 * sunrpc/xdr_rec.c: Likewise.
56515 * sysdeps/generic/ldconfig.h: Likewise.
56516 * sysdeps/generic/ldsodefs.h: Likewise.
56517 * sysdeps/generic/memusage.h: Likewise.
56518 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56519 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56520 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56521 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56522 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56524 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56525 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56526 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56528 * sysdeps/posix/getaddrinfo.c: Likewise.
56529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56531 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56532 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56533 * sysdeps/powerpc/test-gettimebase.c: Likewise.
56534 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56535 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56536 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56537 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56538 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56539 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56540 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56541 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56542 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56543 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56544 * sysdeps/x86_64/dl-tls.h: Likewise.
56545 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56546 * time/alt_digit.c: Likewise.
56547 * time/era.c: Likewise.
56548 * wcsmbs/tst-c16c32-1.c: Likewise.
56549
56550 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56551
56552 * math/libm-test.inc (struct test_sincos_data): New type.
56553 (RUN_TEST_LOOP_sincos): New macro.
56554 (sincos_test_data): New variable.
56555 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56556
56557 2013-05-16 Richard Henderson <rth@redhat.com>
56558
56559 * math/atest-exp2.c (LIMB64): New macro.
56560 (CONSTSZ): New macro.
56561 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56562 (hexdig): Move ...
56563 (print_mpn_fp): ... to function scope.
56564 (read_mpn_hex): Remove.
56565 (get_log2): Remove.
56566 (exp2_mpn): Use mp_log2.
56567 (main): Use mp_exp1.
56568
56569 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56570
56571 * math/libm-test.inc: Remove comment about not testing "inexact"
56572 exceptions.
56573 (INEXACT_EXCEPTION): New macro.
56574 (NO_INEXACT_EXCEPTION): Likewise.
56575 (INVALID_EXCEPTION_OK): Update value.
56576 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56577 (OVERFLOW_EXCEPTION_OK): Likewise.
56578 (UNDERFLOW_EXCEPTION_OK): Likewise.
56579 (IGNORE_ZERO_INF_SIGN): Likewise.
56580 (ERRNO_UNCHANGED): Likewise.
56581 (ERRNO_EDOM): Likewise.
56582 (ERRNO_ERANGE): Likewise.
56583 (test_exceptions): Handle testing "inexact" exceptions.
56584 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56585 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56586 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56587 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56588 INEXACT_EXCEPTION.
56589 (rint_towardzero_test_data): Likewise.
56590 (rint_downward_test_data): Likewise.
56591 (rint_upward_test_data): Likewise.
56592
56593 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56594 with OVERFLOW_EXCEPTION.
56595 (exp10_test_data): Likewise.
56596 (exp2_test_data): Likewise.
56597 (expm1_test_data): Likewise.
56598 (lgamma_test_data): Likewise.
56599 (pow_test_data): Likewise.
56600 (tgamma_test_data): Likewise.
56601 (yn_test_data): Remove duplicate test of overflow.
56602
56603 * math/libm-test.inc (struct test_cc_c_data): New type.
56604 (RUN_TEST_LOOP_cc_c): New macro.
56605 (cpow_test_data): New variable.
56606 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56607
56608 * math/libm-test.inc (struct test_f_L_data): New type.
56609 (RUN_TEST_LOOP_f_L): New macro.
56610 (llrint_test_data): New variable.
56611 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56612 (llrint_tonearest_test_data): New variable.
56613 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56614 (llrint_towardzero_test_data): New variable.
56615 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56616 (llrint_downward_test_data): New variable.
56617 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56618 (llrint_upward_test_data): New variable.
56619 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56620 (llround_test_data): New variable.
56621 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56622
56623 2013-05-13 Peter Collingbourne <pcc@google.com>
56624
56625 * math/atest-exp2.c (get_log2): Remove const attribute.
56626
56627 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56628
56629 * math/libm-test.inc (struct test_f_l_data): New type.
56630 (RUN_TEST_LOOP_f_l): New macro.
56631 (lrint_test_data): New variable.
56632 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56633 (lrint_tonearest_test_data): New variable.
56634 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56635 (lrint_towardzero_test_data): New variable.
56636 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56637 (lrint_downward_test_data): New variable.
56638 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56639 (lrint_upward_test_data): New variable.
56640 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56641 (lround_test_data): New variable.
56642 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56643
56644 2013-05-15 Peter Collingbourne <pcc@google.com>
56645
56646 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56647 (EXTRACT_WORDS64) Use where appropriate.
56648 (INSERT_WORDS64) Likewise.
56649
56650 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56651 constraints with x constraints.
56652 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56653
56654 * malloc/obstack.c (_obstack_compat): Add initializer.
56655
56656 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56657
56658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56659 si_trapno and add si_addr_lsb to _sifields.sigfault.
56660 (si_trapno): Remove macro.
56661 (si_addr_lsb): Define new macro.
56662 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56663
56664 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56665
56666 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56667 instead of TEST_f_l.
56668 (llrint_test_tonearest): Likewise.
56669 (llrint_test_towardzero): Likewise.
56670 (llrint_test_downward): Likewise.
56671 (llrint_test_upward): Likewise.
56672 (llround_test): Likewise.
56673
56674 * math/libm-test.inc (struct test_f_i_data): Add comment.
56675 (RUN_TEST_LOOP_f_b): New macro.
56676 (RUN_TEST_LOOP_f_b_tg): Likewise.
56677 (finite_test_data): New variable.
56678 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56679 (isfinite_test_data): New variable.
56680 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56681 (isinf_test_data): New variable.
56682 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56683 (isnan_test_data): New variable.
56684 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56685 (isnormal_test_data): New variable.
56686 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56687 (issignaling_test_data): New variable.
56688 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56689 (signbit_test_data): New variable.
56690 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56691
56692 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56693 with INVALID_EXCEPTION.
56694 (acosh_test_data): Likewise.
56695 (asin_test_data): Likewise.
56696 (atanh_test_data): Likewise.
56697 (fmod_test_data): Likewise.
56698 (log_test_data): Likewise.
56699 (log10_test_data): Likewise.
56700 (log2_test_data): Likewise.
56701 (pow_test_data): Likewise.
56702 (sqrt_test_data): Likewise.
56703 (y0_test_data): Likewise.
56704 (y1_test_data): Likewise.
56705 (yn_test_data): Likewise.
56706
56707 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56708 function contents.
56709
56710 * math/libm-test.inc (struct test_ff_i_data): New type.
56711 (RUN_TEST_LOOP_ff_i_tg): New macro.
56712 (isgreater_test_data): New variable.
56713 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56714 (isgreaterequal_test_data): New variable.
56715 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56716 (isless_test_data): New variable.
56717 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56718 (islessequal_test_data): New variable.
56719 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56720 (islessgreater_test_data): New variable.
56721 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56722 (isunordered_test_data): New variable.
56723 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56724
56725 2013-05-14 David S. Miller <davem@davemloft.net>
56726
56727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56728
56729 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56730
56731 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56732
56733 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56734 extra_test to int.
56735 (struct test_f_i_data): Change type of max_ulp to int.
56736
56737 * math/libm-test.inc (test_ffI_f1_data): New type.
56738 (RUN_TEST_LOOP_ffI_f1): New macro.
56739 (remquo_test_data): New variable.
56740 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56741
56742 * setjmp/tst-setjmp-fp.c: New file.
56743 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56744 (link-libm): New variable.
56745 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56746
56747 * math/libm-test.inc (struct test_f_i_data): New type.
56748 (RUN_TEST_LOOP_f_i): New macro.
56749 (RUN_TEST_LOOP_f_i_tg): Likewise.
56750 (fpclassify_test_data): New variable.
56751 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56752 (ilogb_test_data): New variable.
56753 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56754
56755 * math/libm-test.inc (scalbln_test): Correct function name in END
56756 call.
56757
56758 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56759 (RUN_TEST_LOOP_fI_f1): New macro.
56760 (frexp_test_data): New variable.
56761 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56762
56763 * math/libm-test.inc (struct test_fF_f1_data): New type.
56764 (RUN_TEST_LOOP_fF_f1): New macro.
56765 (modf_test_data): New variable.
56766 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56767
56768 * math/libm-test.inc (struct test_f_f1_data): New type.
56769 (RUN_TEST_LOOP_f_f1): New macro.
56770 (gamma_test_data): New variable.
56771 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56772 (lgamma_test_data): New variable.
56773 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56774
56775 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56776
56777 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56778 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56779 (main): Comment "tls" pseudo-hwcap.
56780
56781 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56782
56783 * math/libm-test.inc (struct test_fl_f_data): New type.
56784 (RUN_TEST_LOOP_fl_f): New variable.
56785 (scalbln_test_data): New variable.
56786 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56787
56788 * math/libm-test.inc (struct test_fi_f_data): New type.
56789 (RUN_TEST_LOOP_fi_f): New macro.
56790 (ldexp_test_data): New variable.
56791 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56792 (scalbn_test_data): New variable.
56793 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56794
56795 * math/libm-test.inc (struct test_c_f_data): New type.
56796 (RUN_TEST_LOOP_c_f): New macro.
56797 (cabs_test_data): New variable.
56798 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56799 (carg_test_data): New variable.
56800 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56801 (cimag_test_data): New variable.
56802 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56803 (creal_test_data): New variable.
56804 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56805
56806 * math/libm-test.inc (struct test_if_f_data): New type.
56807 (RUN_TEST_LOOP_if_f): New macro.
56808 (jn_test_data): New variable.
56809 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56810 (yn_test_data): New variable.
56811 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56812
56813 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56814
56815 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56816
56817 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56818 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56819
56820 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56821
56822 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56823 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56824 (bench-deps): Add bench-timing.h.
56825 * benchtests-bench-skeleton.c: Include bench-timing.h.
56826 (main): Use TIMING_* macros instead of clock_gettime.
56827 * benchtests/bench-timing.h: New file.
56828
56829 [BZ #14582]
56830 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56831 Renamed from _LIB_VERSION.
56832 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56833
56834 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56835
56836 * math/libm-test.inc (struct test_fff_f_data): New type.
56837 (RUN_TEST_LOOP_fff_f): New macro.
56838 (fma_test_data): New variable.
56839 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56840 (fma_towardzero_test_data): New variable.
56841 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56842 (fma_downward_test_data): New variable.
56843 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56844 (fma_upward_test_data): New variable.
56845 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56846
56847 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56848 (struct test_c_c_data): New type.
56849 (RUN_TEST_LOOP_c_c): New macro.
56850 (cacos_test_data): New variable.
56851 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56852 (cacosh_test_data): New variable.
56853 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56854 (casin_test_data): New variable.
56855 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56856 (casinh_test_data): New variable.
56857 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56858 (catan_test_data): New variable.
56859 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56860 (catanh_test_data): New variable.
56861 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56862 (ccos_test_data): New variable.
56863 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56864 (ccosh_test_data): New variable.
56865 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56866 (cexp_test_data): New variable.
56867 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56868 (clog_test_data): New variable.
56869 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56870 (clog10_test_data): New variable.
56871 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56872 (conj_test_data): New variable.
56873 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56874 (cproj_test_data): New variable.
56875 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56876 (csin_test_data): New variable.
56877 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56878 (csinh_test_data): New variable.
56879 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56880 (csqrt_test_data): New variable.
56881 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56882 (ctan_test_data): New variable.
56883 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56884 (ctan_tonearest_test_data): New variable.
56885 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56886 (ctan_towardzero_test_data): New variable.
56887 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56888 (ctan_downward_test_data): New variable.
56889 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56890 (ctan_upward_test_data): New variable.
56891 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56892 (ctanh_test_data): New variable.
56893 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56894 (ctanh_tonearest_test_data): New variable.
56895 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56896 (ctanh_towardzero_test_data): New variable.
56897 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56898 (ctanh_downward_test_data): New variable.
56899 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56900 (ctanh_upward_test_data): New variable.
56901 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56902 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56903 of BUILD_COMPLEX.
56904
56905 * math/libm-test.inc (struct test_ff_f_data): New type.
56906 (struct test_ff_f_data_nexttoward): Likewise.
56907 (RUN_TEST_LOOP_2_f): New macro.
56908 (RUN_TEST_LOOP_ff_f): Likewise.
56909 (atan2_test_data): New variable.
56910 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56911 (copysign_test_data): New variable.
56912 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56913 (fdim_test_data): New variable.
56914 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56915 (fmax_test_data): New variable.
56916 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56917 (fmin_test_data): New variable.
56918 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56919 (fmod_test_data): New variable.
56920 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56921 (hypot_test_data): New variable.
56922 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56923 (nextafter_test_data): New variable.
56924 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56925 (nexttoward_test_data): New variable.
56926 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56927 (pow_test_data): New variable.
56928 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56929 (pow_tonearest_test_data): New variable.
56930 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56931 (pow_towardzero_test_data): New variable.
56932 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56933 (pow_downward_test_data): New variable.
56934 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56935 (pow_upward_test_data): New variable.
56936 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56937 (remainder_test_data): New variable.
56938 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56939 (scalb_test_data): New variable.
56940 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56941 * sysdeps/i386/fpu/libm-test-ulps: Update.
56942
56943 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56944
56945 * math/libm-test.inc (fma_test): Use max_value instead of local
56946 variable fltmax.
56947 (nextafter_test): Likewise.
56948
56949 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56950 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56951 (acos_downward_test_data): New variable.
56952 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56953 (acos_upward_test_data): New variable.
56954 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56955 (acosh_test_data): New variable.
56956 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56957 (asin_test_data): New variable.
56958 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56959 (asin_tonearest_test_data): New variable.
56960 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56961 (asin_towardzero_test_data): New variable.
56962 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56963 (asin_downward_test_data): New variable.
56964 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56965 (asin_upward_test_data): New variable.
56966 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56967 (asinh_test_data): New variable.
56968 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56969 (atan_test_data): New variable.
56970 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56971 (atanh_test_data): New variable.
56972 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56973 (cbrt_test_data): New variable.
56974 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56975 (ceil_test_data): New variable.
56976 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56977 (cos_test_data): New variable.
56978 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56979 (cos_tonearest_test_data): New variable.
56980 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56981 (cos_towardzero_test_data): New variable.
56982 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56983 (cos_downward_test_data): New variable.
56984 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56985 (cos_upward_test_data): New variable.
56986 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56987 (cosh_test_data): New variable.
56988 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56989 (cosh_tonearest_test_data): New variable.
56990 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56991 (cosh_towardzero_test_data): New variable.
56992 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56993 (cosh_downward_test_data): New variable.
56994 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56995 (cosh_upward_test_data): New variable.
56996 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56997 (erf_test_data): New variable.
56998 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56999 (erfc_test_data): New variable.
57000 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57001 (exp_test_data): New variable.
57002 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57003 (exp_tonearest_test_data): New variable.
57004 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57005 (exp_towardzero_test_data): New variable.
57006 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57007 (exp_downward_test_data): New variable.
57008 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57009 (exp_upward_test_data): New variable.
57010 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57011 (exp10_test_data): New variable.
57012 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57013 (exp2_test_data): New variable.
57014 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57015 (expm1_test_data): New variable.
57016 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57017 (fabs_test_data): New variable.
57018 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57019 (floor_test_data): New variable.
57020 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57021 (j0_test_data): New variable.
57022 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57023 (j1_test_data): New variable.
57024 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57025 (log_test_data): New variable.
57026 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57027 (log10_test_data): New variable.
57028 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57029 (log1p_test_data): New variable.
57030 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57031 (log2_test_data): New variable.
57032 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57033 (logb_test_data): New variable.
57034 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57035 (logb_downward_test_data): New variable.
57036 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57037 (nearbyint_test_data): New variable.
57038 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57039 (rint_test_data): New variable.
57040 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57041 (rint_tonearest_test_data): New variable.
57042 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57043 (rint_towardzero_test_data): New variable.
57044 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57045 (rint_downward_test_data): New variable.
57046 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57047 (rint_upward_test_data): New variable.
57048 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57049 (round_test_data): New variable.
57050 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57051 (sin_test_data): New variable.
57052 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57053 (sin_tonearest_test_data): New variable.
57054 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57055 (sin_towardzero_test_data): New variable.
57056 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57057 (sin_downward_test_data): New variable.
57058 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57059 (sin_upward_test_data): New variable.
57060 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57061 (sinh_test_data): New variable.
57062 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57063 (sinh_tonearest_test_data): New variable.
57064 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57065 (sinh_towardzero_test_data): New variable.
57066 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57067 (sinh_downward_test_data): New variable.
57068 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57069 (sinh_upward_test_data): New variable.
57070 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57071 (sqrt_test_data): New variable.
57072 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57073 (tan_test_data): New variable.
57074 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57075 (tan_tonearest_test_data): New variable.
57076 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57077 (tan_towardzero_test_data): New variable.
57078 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57079 (tan_downward_test_data): New variable.
57080 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57081 (tan_upward_test_data): New variable.
57082 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57083 (tanh_test_data): New variable.
57084 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57085 (tgamma_test_data): New variable.
57086 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57087 (trunc_test_data): New variable.
57088 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57089 (y0_test_data): New variable.
57090 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57091 (y1_test_data): New variable.
57092 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57093 (significand_test_data): New variable.
57094 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57095
57096 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57097
57098 [BZ #12387]
57099 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57100
57101 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57102
57103 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57104
57105 2013-05-10 Andreas Jaeger <aj@suse.de>
57106
57107 [BZ #15448]
57108 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57109 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57110
57111 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57112
57113 * math/gen-libm-test.pl (adjust_arg): New function.
57114 (special_functions): Handle generating output in both functions
57115 and arrays.
57116 (parse_args): Likewise.
57117 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57118 $in_func argument to parse_args.
57119 * math/libm-test.inc (struct test_f_f_data): New type.
57120 (IF_ROUND_INIT_): New macro.
57121 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57122 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57123 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57124 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57125 (ROUND_RESTORE_): Likewise.
57126 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57127 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57128 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57129 (ROUND_RESTORE_FE_UPWARD): Likewise.
57130 (RUN_TEST_LOOP_f_f): New macro.
57131 (acos_test_data): New variable.
57132 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57133 (acos_tonearest_test_data): New variable.
57134 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57135
57136 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57137
57138 * benchtests/bench-skeleton.c (startup): Fix coding style.
57139
57140 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57141
57142 [BZ #6809]
57143 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57144 negative infinity argument.
57145 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57146 negative infinity argument.
57147 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57148 negative infinity argument.
57149 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57150 domain errors.
57151
57152 2013-05-10 Florian Weimer <fweimer@redhat.com>
57153
57154 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57155 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57156 * iconv/iconv_prog.c (main): Likewise.
57157 * locale/programs/charmap-dir.c (charmap_readdir)
57158 (fopen_uncompressed): Likewise.
57159 * locale/programs/locfile.c (siblings_uncached)
57160 (write_locale_data): Use lstat64 instead of lstat.
57161 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57162 stat.
57163
57164 2013-05-10 Andreas Jaeger <aj@suse.de>
57165
57166 [BZ #15395]
57167 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57168 localization.
57169 Include <locale.h>.
57170
57171 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57172
57173 * elf/dl-close.c (_dl_close_worker): Add comments.
57174
57175 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57176
57177 [BZ #15359]
57178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57179 high part of pi/2.
57180 (__ieee754_rem_pio2l): Update comments.
57181
57182 [BZ #15429]
57183 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57184 high part of pi/2.
57185 (__ieee754_rem_pio2l): Update comments.
57186
57187 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57188 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57189
57190 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57191 M_PI_4l.
57192
57193 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57194 (M_PI_34_LOG10El): Likewise.
57195 (M_PI2_LOG10El): Likewise.
57196 (M_PI4_LOG10El): Likewise.
57197 (M_PI_LOG10El): Likewise.
57198
57199 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57200
57201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57202
57203 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57204
57205 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57206 (MINUS_ZERO_INIT): Likewise.
57207 (PLUS_INFTY_INIT): Likewise.
57208 (MINUS_INFTY_INIT): Likewise.
57209 (QNAN_VALUE_INIT): Likewise.
57210 (MAX_VALUE_INIT): Likewise.
57211 (MIN_VALUE_INIT): Likewise.
57212 (MIN_SUBNORM_VALUE_INIT): Likewise.
57213 (plus_zero): Initialize with PLUS_ZERO_INIT.
57214 (minus_zero): Initialize with MINUS_ZERO_INIT.
57215 (plus_infty): Initialize with PLUS_INFTY_INIT.
57216 (minus_infty): Initialize with MINUS_INFTY_INIT.
57217 (qnan_value): Initialize with QNAN_VALUE_INIT.
57218 (max_value): Initialize with MAX_VALUE_INIT.
57219 (min_value): Initialize with MIN_VALUE_INIT.
57220 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57221
57222 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57223 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57224 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57225 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57226
57227 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57228 (RUN_TEST_2_f): Likewise.
57229 (RUN_TEST_ff_f): Likewise.
57230 (RUN_TEST_fi_f): Likewise.
57231 (RUN_TEST_fl_f): Likewise.
57232 (RUN_TEST_fff_f): Likewise.
57233 (RUN_TEST_c_f): Likewise.
57234 (RUN_TEST_f_f1): Likewise.
57235 (RUN_TEST_fF_f1): Likewise.
57236 (RUN_TEST_fI_f1): Likewise.
57237 (RUN_TEST_ffI_f1): Likewise.
57238 (RUN_TEST_c_c): Likewise.
57239 (RUN_TEST_cc_c): Likewise.
57240 (RUN_TEST_f_i): Likewise.
57241 (RUN_TEST_f_i_tg): Likewise.
57242 (RUN_TEST_ff_i_tg): Likewise.
57243 (RUN_TEST_f_b): Likewise.
57244 (RUN_TEST_f_b_tg): Likewise.
57245 (RUN_TEST_f_l): Likewise.
57246 (RUN_TEST_f_L): Likewise.
57247 (RUN_TEST_sincos): Likewise.
57248 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57249 whether to show exceptions. Do not include ");\n" in return
57250 value.
57251 (special_functions): Output call to RUN_TEST_sincos instead of
57252 check_float calls. Update calls to new_test.
57253 (parse_args): Output call to single RUN_TEST_* macro instead of
57254 check_* calls and other assignments. Update calls to new_test.
57255
57256 [BZ #2546]
57257 [BZ #2560]
57258 [BZ #5159]
57259 [BZ #15426]
57260 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57261 input to result for tgamma overflow.
57262 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57263 (gamma_coeff): New variable.
57264 (NCOEFF): New macro.
57265 (gamma_positive): New function.
57266 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57267 underflow here. Use gamma_positive instead of exp (lgamma) for
57268 other arguments.
57269 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57270 (gamma_coeff): New variable.
57271 (NCOEFF): New macro.
57272 (gammaf_positive): New function.
57273 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57274 underflow here. Use gamma_positive instead of exp (lgamma) for
57275 other arguments.
57276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57277 (gamma_coeff): New variable.
57278 (NCOEFF): New macro.
57279 (gammal_positive): New function.
57280 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57281 underflow here. Use gamma_positive instead of exp (lgamma) for
57282 other arguments.
57283 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57284 (gamma_coeff): New variable.
57285 (NCOEFF): New macro.
57286 (gammal_positive): New function.
57287 (__ieee754_gammal_r): Handle positive infinity, overflow and
57288 underflow here. Handle NaN the same as positive infinity. Remove
57289 check x < 0xffffffff for negative integers. Use gamma_positive
57290 instead of exp (lgamma) for other arguments.
57291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57292 (gamma_coeff): New variable.
57293 (NCOEFF): New macro.
57294 (gammal_positive): New function.
57295 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57296 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57297 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57298 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57299 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57300 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57301 * sysdeps/generic/math_private.h (__gamma_productf): New
57302 prototype.
57303 (__gamma_product): Likewise.
57304 (__gamma_productl): Likewise.
57305 * math/Makefile (libm-calls): Add gamma_product.
57306 * math/libm-test.inc (tgamma_test): Add more tests.
57307 * sysdeps/i386/fpu/libm-test-ulps: Update.
57308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57309
57310 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57311
57312 * benchtests/bench-skeleton.c (main): Preheat CPU.
57313
57314 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57315
57316 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57317
57318 2013-05-07 Roland McGrath <roland@hack.frob.com>
57319
57320 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57321 and _dl_skip_args_internal.
57322
57323 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57324
57325 * manual/message.texi (Message Translation): Talk about users.
57326 Message to key mapping impacts design.
57327
57328 2013-05-06 Roland McGrath <roland@hack.frob.com>
57329
57330 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57331
57332 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57333
57334 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57335 * sysdeps/wordsize-64/glob64.c: ... here.
57336
57337 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57338 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57339 New macros.
57340
57341 * debug/getlogin_r_chk.c: Moved to ...
57342 * login/getlogin_r_chk.c: ... here.
57343 * debug/Makefile (routines): Move getlogin_r_chk to ...
57344 * login/Makefile (routines): ... here.
57345 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57346 * login/Versions (libc: GLIBC_2.4): ... here.
57347
57348 * io/poll.c (__poll): Renamed from poll.
57349 Add libc_hidden_def.
57350 (poll): Define as weak alias.
57351
57352 * debug/ptsname_r_chk.c: Moved to ...
57353 * login/ptsname_r_chk.c: ... here.
57354 * debug/Makefile (routines): Move ptsname_r_chk to ...
57355 * login/Makefile (routines): ... here.
57356 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57357 * login/Versions (libc: GLIBC_2.4): ... here.
57358
57359 * posix/getlogin.c: Moved to ...
57360 * login/getlogin.c: ... here.
57361 * posix/getlogin_r.c: Moved to ...
57362 * login/getlogin_r.c: ... here.
57363 * posix/getlogin_r.c: Moved to ...
57364 * login/getlogin_r.c: ... here.
57365 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57366 * login/Makefile (routines): ... here.
57367 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57368 * login/Versions (libc: GLIBC_2.0): ... here.
57369
57370 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57371 (setrlimit): Define as weak alias.
57372
57373 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57374 Call __ names for open, ftruncate, and close.
57375 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57376 (truncate): Define as weak alias.
57377
57378 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57379
57380 * math/gen-libm-test.pl (parse_args): Initialize x before each
57381 test of frexp, modf and remquo.
57382
57383 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57384 test signgam value.
57385
57386 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57387
57388 [BZ #15418]
57389 [BZ #15419]
57390 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57391 internal tests.
57392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57393
57394 2013-05-06 Roland McGrath <roland@hack.frob.com>
57395
57396 * elf/dl-writev.h: New file.
57397 * elf/dl-misc.c: Include it.
57398 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57399 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57400
57401 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57402
57403 * math/libm-test.inc (noXFails): Remove variable.
57404 (noXPasses): Likewise.
57405 (BUILD_COMPLEX_INT): Remove macro.
57406 (print_screen): Remove xfail argument.
57407 (print_screen_max_error): Likewise.
57408 (update_stats): Likewise.
57409 (print_max_error): Likewise. Update calls to other affected
57410 functions.
57411 (print_complex_max_error): Likewise.
57412 (test_single_exception): Update calls to print_screen.
57413 (test_single_errno): Likewise.
57414 (check_float_internal): Remove xfail argument. Update calls to
57415 other affected functions.
57416 (check_float): Likewise.
57417 (check_complex): Likewise.
57418 (check_int): Likewise.
57419 (check_long): Likewise.
57420 (check_bool): Likewise.
57421 (check_longlong): Likewise.
57422 (main): Don't print noXFails and noXPasses.
57423 * math/gen-libm-test.pl (top level): Don't mention expected
57424 failure handling in comment.
57425 (new_test): Don't handle expected failures.
57426 (parse_args): Don't mention expected failure handling in comment.
57427 (generate_testfile): Don't handle expected failures.
57428 (parse_ulps): Likewise.
57429 (print_ulps_file): Likewise.
57430 (get_failure): Remove function.
57431 (output_test): Don't handle expected failures.
57432 * make/README.libm-test: Don't mention expected failure handling.
57433
57434 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57435 (minus_zero): Likewise.
57436 (plus_infty): Likewise.
57437 (minus_infty): Likewise.
57438 (qnan_value): Likewise.
57439 (max_value): Likewise.
57440 (min_value): Likewise.
57441 (min_subnorm_value): Likewise.
57442 (initialize): Do not initialize those variables dynamically.
57443
57444 2013-05-03 Roland McGrath <roland@hack.frob.com>
57445
57446 * io/open.c (__open_2): Moved to ...
57447 * io/open_2.c: ... this new file.
57448 * io/open64.c (__open64_2): Moved to ...
57449 * io/open64_2.c: ... this new file.
57450 * io/openat.c (__openat_2): Moved to ...
57451 * io/openat_2.c: ... this new file.
57452 * io/openat64.c (__openat64_2): Moved to ...
57453 * io/openat64_2.c: ... this new file.
57454 * io/Makefile (routines): Add them.
57455 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57456 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57457 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57458 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57459 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57460 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57461 (__openat64): Add hidden_ver.
57462 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57463 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57464
57465 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57466 Separately conditionalize setting of GLRO(dl_sysinfo) so
57467 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57468 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57469
57470 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57471
57472 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57474 definition.
57475 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57476 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57477 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57478 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57479 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57480
57481 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57482
57483 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57484 test signgam value.
57485
57486 * math/libm-test.inc (hypot_test): Do not use
57487 IGNORE_ZERO_INF_SIGN.
57488
57489 2013-05-03 Andreas Jaeger <aj@suse.de>
57490
57491 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57492 Linux 3.9.
57493 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57494 (PF_MAX): Adjust for VSOCK change.
57495
57496 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57497
57498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57499
57500 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57501
57502 [BZ #15264]
57503 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57504 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57505 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57506
57507 2013-05-02 David S. Miller <davem@davemloft.net>
57508
57509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57510
57511 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57512
57513 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57514
57515 2013-05-01 Roland McGrath <roland@hack.frob.com>
57516
57517 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57518
57519 2013-05-01 Richard Smith <richard@metafoo.co.uk>
57520
57521 [BZ #14952]
57522 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57523 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57524 Use __attribute__ ((__gnu_inline__)).
57525 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57526 Don't use __attribute__ ((__gnu_inline__)).
57527
57528 2013-05-01 Joseph Myers <joseph@codesourcery.com>
57529
57530 [BZ #15423]
57531 * math/s_catan.c (__catan): Handle small real or imaginary part of
57532 input specially to avoid spurious underflow.
57533 * math/s_catanf.c (__catanf): Likewise.
57534 * math/s_catanh.c (__catanh): Likewise.
57535 * math/s_catanhf.c (__catanhf): Likewise.
57536 * math/s_catanhl.c (__catanhl): Likewise.
57537 * math/s_catanl.c (__catanl): Likewise.
57538 * math/libm-test.inc (catan_test): Add more tests.
57539 (catanh_test): Likewise.
57540 * sysdeps/i386/fpu/libm-test-ulps: Update.
57541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57542
57543 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57544
57545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57546
57547 2013-04-30 Joseph Myers <joseph@codesourcery.com>
57548
57549 [BZ #15416]
57550 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57551 accurately for denominator in atan2.
57552 * math/s_catanf.c (__catanf): Likewise.
57553 * math/s_catanh.c (__catanh): Likewise.
57554 * math/s_catanhf.c (__catanhf): Likewise.
57555 * math/s_catanhl.c (__catanhl): Likewise.
57556 * math/s_catanl.c (__catanl): Likewise.
57557 * math/libm-test.inc (catan_test): Add more tests.
57558 (catanh_test): Likewise.
57559 * sysdeps/i386/fpu/libm-test-ulps: Update.
57560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57561
57562 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57563
57564 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57565
57566 * benchtests/Makefile (bench): Remove slow benchmarks.
57567 * benchtests/atan-inputs: Add slow benchmark inputs.
57568 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57569 (BENCH_FUNC): Accept variant offset.
57570 (VARIANT): Define.
57571 * benchtests/bench-skeleton.c (main): Run benchmark for each
57572 variant.
57573 * benchtests/cos-inputs: Add slow benchmark inputs.
57574 * benchtests/exp-inputs: Likewise.
57575 * benchtests/pow-inputs: Likewise.
57576 * benchtests/sin-inputs: Likewise.
57577 * benchtests/slowatan-inputs: Remove.
57578 * benchtests/slowatan.c: Remove.
57579 * benchtests/slowcos-inputs: Remove.
57580 * benchtests/slowcos.c: Remove.
57581 * benchtests/slowexp-inputs: Remove.
57582 * benchtests/slowexp.c: Remove.
57583 * benchtests/slowpow-inputs: Remove.
57584 * benchtests/slowpow.c: Remove.
57585 * benchtests/slowsin-inputs: Remove.
57586 * benchtests/slowsin.c: Remove.
57587 * benchtests/slowtan-inputs: Remove.
57588 * benchtests/slowtan.c: Remove.
57589 * benchtests/tan-inputs: Add slow benchmark inputs.
57590 * scripts/bench.pl: Parse comments and directives.
57591
57592 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57593 in CPPFLAGS.
57594 ($(objpfx)bench-%.c): Remove *-ITER.
57595 * benchtests/bench-modf.c: Remove definition of ITER.
57596 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57597 (main): Loop for DURATION seconds instead of fixed number of
57598 iterations.
57599 * scripts/bench.pl: Don't expect iterations in parameters.
57600
57601 2013-04-29 Roland McGrath <roland@hack.frob.com>
57602
57603 * io/fchdir.c (__fchdir): Renamed from fchdir.
57604 (fchdir): Define as weak alias.
57605
57606 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57607
57608 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57609 (ERRNO_EDOM): Likewise.
57610 (ERRNO_ERANGE): Likewise.
57611 (noErrnoTests): New variable.
57612 (init_max_error): Set errno to 0.
57613 (test_single_errno): New function.
57614 (test_errno): Likewise.
57615 (check_float_internal): Call test_errno. Set errno to 0.
57616 (check_complex): Refer to errno tests in comment.
57617 (check_int): Call test_errno. Set errno to 0.
57618 (check_long): Likewise.
57619 (check_bool): Likewise.
57620 (check_longlong): Likewise.
57621 (cos_test): Use ERRNO_* flags for errno tests instead of
57622 check_int.
57623 (expm1_test): Likewise.
57624 (fmod_test): Likewise.
57625 (ilogb_test): Likewise.
57626 (lgamma_test): Likewise.
57627 (pow_test): Likewise.
57628 (remainder_test): Likewise.
57629 (sin_test): Likewise.
57630 (tan_test): Likewise.
57631 (yn_test): Likewise.
57632 (initialize): Set errno to 0.
57633 (main): Print number of errno tests.
57634 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57635
57636 2013-04-29 Andreas Jaeger <aj@suse.de>
57637
57638 [BZ #15084]
57639 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57640 and RES_USEVC.
57641
57642 [BZ #15085]
57643 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57644 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57645 unimplemented.
57646
57647 [BZ #15380]
57648 * stdlib/random.c (__initstate): Return NULL if
57649 __initstate fails.
57650
57651 [BZ #15086]
57652 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57653 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57654 RES_SNGLKUPREOP.
57655
57656 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57657
57658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57659
57660 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57661
57662 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57663 of individual tests.
57664 (casin_test): Likewise.
57665 (casinh_test): Likewise.
57666
57667 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57668
57669 [BZ #15409]
57670 * math/s_catan.c (__catan): Handle arguments with large real or
57671 imaginary part separately without squaring.
57672 * math/s_catanf.c (__catanf): Likewise.
57673 * math/s_catanh.c (__catanh): Likewise.
57674 * math/s_catanhf.c (__catanhf): Likewise.
57675 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57676 and redefine.
57677 (__catanhl): Handle arguments with large real or imaginary part
57678 separately without squaring.
57679 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57680 and redefine.
57681 (__catanl): Handle arguments with large real or imaginary part
57682 separately without squaring.
57683 * math/libm-test.inc (catan_test): Add more tests.
57684 (catanh_test): Likewise.
57685 * sysdeps/i386/fpu/libm-test-ulps: Update.
57686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57687
57688 2013-04-27 Andreas Jaeger <aj@suse.de>
57689
57690 [BZ #15007]
57691 * stdlib/stdlib.h: Update guards for qecvt.
57692 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57693 <stdlib.h>.
57694
57695 2013-04-27 Allan McRae <allan@archlinux.org>
57696
57697 * sysdeps/i386/fpu/libm-test-ulps: Update.
57698
57699 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57700
57701 [BZ #15406]
57702 * math/s_catan.c: Include <float.h>.
57703 (__catan): Ensure underflow exception occurs for underflowed
57704 result.
57705 * math/s_catanf.c: Include <float.h>.
57706 (__catanf): Ensure underflow exception occurs for underflowed
57707 result.
57708 * math/s_catanh.c: Include <float.h>.
57709 (__catanh): Ensure underflow exception occurs for underflowed
57710 result.
57711 * math/s_catanhf.c: Include <float.h>.
57712 (__catanhf): Ensure underflow exception occurs for underflowed
57713 result.
57714 * math/s_catanhl.c: Include <float.h>.
57715 (__catanhl): Ensure underflow exception occurs for underflowed
57716 result.
57717 * math/s_catanl.c: Include <float.h>.
57718 (__catanl): Ensure underflow exception occurs for underflowed
57719 result.
57720 * math/libm-test.inc (catan_test): Add more tests.
57721 (catanh_test): Likewise.
57722
57723 [BZ #15405]
57724 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57725 underflowed result.
57726 * math/s_ccoshf.c (__ccoshf): Likewise.
57727 * math/s_ccoshl.c (__ccoshl): Likewise.
57728 * math/s_csin.c (__csin): Likewise.
57729 * math/s_csinf.c (__csinf): Likewise.
57730 * math/s_csinh.c (__csinh): Likewise.
57731 * math/s_csinhf.c (__csinhf): Likewise.
57732 * math/s_csinhl.c (__csinhl): Likewise.
57733 * math/s_csinl.c (__csinl): Likewise.
57734 * math/libm-test.inc (ccos_test): Add more tests.
57735 (ccosh_test): Likewise.
57736 (csin_test): Likewise.
57737 (csinh_test): Likewise.
57738
57739 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57740
57741 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57742 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57743 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57744 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57745 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57746 powerpc/power5+/fpu folders.
57747 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57748
57749
57750 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57751
57752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57753
57754 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57755
57756 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57757 additions to variable.
57758 [$(config-machine) = x86_64] (modules-names): Likewise.
57759 ($(objpfx)tst-audit3): Remove dependency.
57760 ($(objpfx)tst-audit3.out): Likewise.
57761 ($(objpfx)tst-audit4): Likewise.
57762 ($(objpfx)tst-audit4.out): Likewise.
57763 ($(objpfx)tst-audit5): Likewise.
57764 ($(objpfx)tst-audit5.out): Likewise.
57765 ($(objpfx)tst-audit6): Likewise.
57766 ($(objpfx)tst-audit6.out): Likewise.
57767 ($(objpfx)tst-audit7): Likewise.
57768 ($(objpfx)tst-audit7.out): Likewise.
57769 (tst-audit3-ENV): Remove variable.
57770 (tst-audit4-ENV): Likewise.
57771 (tst-audit5-ENV): Likewise.
57772 (tst-audit6-ENV): Likewise.
57773 (tst-audit7-ENV): Likewise.
57774 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57775 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57776 addition to variable.
57777 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57782 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57783 tst-audit3, tst-audit4 and tst-audit5.
57784 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57785 tst-audit6 and tst-audit7.
57786 [$(subdir) = elf] (modules-names): Add audit modules for those
57787 tests.
57788 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57789 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57790 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57791 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57792 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57793 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57794 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57795 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57796 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57797 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57798 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57799 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57800 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57801 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57802 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57803 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57804 Likewise.
57805 [$(subdir) = elf && $(config-cflags-avx) = yes]
57806 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57807 [$(subdir) = elf && $(config-cflags-avx) = yes]
57808 (CFLAGS-tst-auditmod4a.c): Likewise.
57809 [$(subdir) = elf && $(config-cflags-avx) = yes]
57810 (CFLAGS-tst-auditmod4b.c): Likewise.
57811 [$(subdir) = elf && $(config-cflags-avx) = yes]
57812 (CFLAGS-tst-auditmod6b.c): Likewise.
57813 [$(subdir) = elf && $(config-cflags-avx) = yes]
57814 (CFLAGS-tst-auditmod6c.c): Likewise.
57815 [$(subdir) = elf && $(config-cflags-avx) = yes]
57816 (CFLAGS-tst-auditmod7b.c): Likewise.
57817 * elf/tst-audit3.c: Move to ...
57818 * sysdeps/x86_64/tst-audit3.c: ... here.
57819 * elf/tst-audit4.c: Move to ...
57820 * sysdeps/x86_64/tst-audit4.c: ... here.
57821 * elf/tst-audit5.c: Move to ...
57822 * sysdeps/x86_64/tst-audit5.c: ... here.
57823 * elf/tst-audit6.c: Move to ...
57824 * sysdeps/x86_64/tst-audit6.c: ... here.
57825 * elf/tst-audit7.c: Move to ...
57826 * sysdeps/x86_64/tst-audit7.c: ... here.
57827 * elf/tst-auditmod3a.c: Move to ...
57828 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57829 * elf/tst-auditmod3b.c: Move to ...
57830 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57831 * elf/tst-auditmod4a.c: Move to ...
57832 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57833 * elf/tst-auditmod4b.c: Move to ...
57834 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57835 * elf/tst-auditmod5a.c: Move to ...
57836 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57837 * elf/tst-auditmod5b.c: Move to ...
57838 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57839 * elf/tst-auditmod6a.c: Move to ...
57840 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57841 * elf/tst-auditmod6b.c: Move to ...
57842 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57843 * elf/tst-auditmod6c.c: Move to ...
57844 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57845 * elf/tst-auditmod7a.c: Move to ...
57846 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57847 * elf/tst-auditmod7b.c: Move to ...
57848 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57849
57850 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57851
57852 [BZ #15366]
57853 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57854 define unconditionally.
57855 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57856 define unconditionally.
57857 (INT8_C, INT16_C, etc.): Likewise.
57858
57859 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57860
57861 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57862 __ehdr_start with hidden visibility.
57863
57864 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57865
57866 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57867
57868 * math/libm-test.inc (cos_test): Use accurate hex constants.
57869 (sincost_test): Likewise.
57870
57871 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57872
57873 * math/libm-test.inc (catan_test): Add more tests.
57874 (catanh_test): Likewise.
57875
57876 * math/s_catanf.c (__catanf): Use suffixed floating-point
57877 constants.
57878 * math/s_catanhf.c (__catanhf): Likewise.
57879 * math/s_catanhl.c (__catanhl): Likewise.
57880 * math/s_catanl.c (__catanl): Likewise.
57881
57882 [BZ #15394]
57883 * math/s_catan.c (__catan): Calculate imaginary part of result
57884 with log1p not log unless computing log of number close to 0.
57885 * math/s_catanf.c (__catanf): Likewise.
57886 * math/s_catanl.c (__catanl): Likewise.
57887 * math/s_catanh.c (__catanh): Calculate real part of result with
57888 log1p not log unless computing log of number close to 0.
57889 * math/s_catanhf.c (__catanhf): Likewise.
57890 * math/s_catanhl.c (__catanhl): Likewise.
57891 * math/libm-test.inc (catan_test): Add more tests.
57892 (catanh_test): Likewise.
57893 * sysdeps/i386/fpu/libm-test-ulps: Update.
57894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57895
57896 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57897
57898 * benchtests/Makefile: Mention files in which fast and slow
57899 paths of math functions are implemented.
57900
57901 2013-04-23 Roland McGrath <roland@hack.frob.com>
57902
57903 * sysdeps/posix/timespec_get.c: New file.
57904
57905 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57906
57907 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57908 POWER.
57909 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57910 for POWER.
57911 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57912 powerpc/power5/fpu folders.
57913 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57914 * benchtests/Makefile: Add modf testcase.
57915 * benchtests/bench-modf.c: New file: Benchmark test for mo
57916
57917 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57918
57919 [BZ #14888]
57920 * time/Makefile (tests): Add tst-strptime-whitespace.
57921 * time/strptime_l.c (get_number): Use ISSPACE.
57922 (__strptime_internal): Likewise.
57923 * time/tst-strptime-whitespace.c: New test case.
57924
57925 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57926
57927 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57928 member.
57929 (_nss_files_init): Set it here.
57930
57931 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57932
57933 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57934 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57935 unsigned.
57936
57937 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57938
57939 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57940
57941 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57942
57943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57944 size just once.
57945
57946 2013-04-21 David S. Miller <davem@davemloft.net>
57947
57948 * po/ru.po: Update Russion translation from translation project.
57949
57950 2013-04-17 Adam Conrad <adconrad@0c3.net>
57951
57952 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57953 and setfsgid.
57954
57955 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57956
57957 * configure.in: Remove i386 configure warning. Remove i386 case.
57958 * configure: Regenerate.
57959 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57960 Add example to error message.
57961 * sysdeps/i386/configure: Regenerate.
57962
57963 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57964
57965 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57966 slowtan.
57967 * benchtests/cos-inputs: New file.
57968 * benchtests/slowcos-inputs: New file.
57969 * benchtests/slowcos.c: New file.
57970 * benchtests/slowtan-inputs: New file.
57971 * benchtests/slowtan.c: New file.
57972 * benchtests/tan-inputs: New file.
57973
57974 2013-04-16 Roland McGrath <roland@hack.frob.com>
57975
57976 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57977 considered kosher.
57978
57979 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57980
57981 * benchtests/Makefile: Include cppflags-iterator.mk to add
57982 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57983
57984 * Makefile.in (bench-clean): New target.
57985 * benchtests/Makefile (bench-clean): Likewise.
57986
57987 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57988
57989 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57990
57991 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57992
57993 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57994
57995 2013-04-15 Andreas Schwab <schwab@suse.de>
57996
57997 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57999 * nscd/pwdcache.c (cache_addpw): Likewise.
58000 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58001 more than recsize.
58002
58003 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58004
58005 * benchtests/Makefile (bench): Write all output to
58006 bench-out.tmp together.
58007
58008 2013-04-15 Andreas Schwab <schwab@suse.de>
58009
58010 * nscd/nscd.c (main): Don't fork again after closing files.
58011
58012 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58013
58014 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58015
58016 * benchtests/Rules (bench-deps): Collect dependencies into a
58017 single variable. Add Makefile to dependencies.
58018 ($(objpfx)bench-%.c): Depend on bench-deps.
58019
58020 2013-04-12 Roland McGrath <roland@hack.frob.com>
58021 Xavier Roche <roche+kml2@exalead.com>
58022
58023 [BZ #15361]
58024 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58025 just that it's a file descriptor.
58026 * manual/llio.texi (Synchronizing AIO Operations): Update description
58027 for EBADF error from aio_fsync.
58028
58029 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58030
58031 * Rules (bench): Move target definition...
58032 * benchtests/Makefile: ... here.
58033
58034 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58035
58036 * math/libm-test.inc (cos_test): Fix PI/2 test.
58037 (sincos_test): Likewise.
58038 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58039 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58040
58041 2013-04-11 Andreas Schwab <schwab@suse.de>
58042
58043 [BZ #13988]
58044 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58045 accept exponent character only when digits were seen.
58046 * stdio-common/Makefile (tests): Add bug26.
58047 * stdio-common/bug26.c: New file.
58048
58049 [BZ #14293]
58050 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58051 non-freeable.
58052
58053 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58054
58055 * Makeconfig (rtld-prefix): Define built linker prefix.
58056 * Rules (run-bench): Use it.
58057 * math/Makefile (run-regen-ulps): Likewise.
58058
58059 * Rules (bench): Remove eval.
58060
58061 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58062 Roland McGrath <roland@hack.frob.com>
58063 Ondrej Bilka <neleai@seznam.cz>
58064
58065 [BZ #15346]
58066 * time/getdate.c: Include ctype.h and alloca.h.
58067 (__getdate_r): Trim leading and trailing spaces of input.
58068 * time/tst-getdate.c (tests): Add tests with leading and
58069 trailing spaces.
58070
58071 2013-04-08 Roland McGrath <roland@hack.frob.com>
58072
58073 [BZ #14280]
58074 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58075 when computing value.
58076
58077 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58078
58079 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58080 Use testrun.sh to run libm tests.
58081
58082 [BZ #15309]
58083 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58084
58085 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58086
58087 [BZ #15264]
58088 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58089
58090 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58091
58092 * Makefile.in (regen-ulps): New target.
58093 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58094 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58095 [ifneq (no,$(PERL)] (regen-ulps): New target.
58096 [ifeq (no,$(PERL)] (regen-ulps): New target.
58097 * math/libm-test.inc (ulps_file_name): Define.
58098 (output_dir): New variable.
58099 (options): Add "output-dir" option.
58100 (parse_opt): Handle 'o' case.
58101 (main): If output_dir is non-NULL use it as a prefix
58102 otherwise use "".
58103 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58104
58105 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58106
58107 [BZ #10060, #10062]
58108 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58109 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58110 fail configure if __sync_val_compare_and_swap is not inlined.
58111 * sysdeps/i386/configure: Regenerate.
58112 * configure.in: Build for i686 when configured for i386.
58113 * configure: Regenerate.
58114 * README: Remove i386 reference.
58115
58116 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58117
58118 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58120
58121 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58122
58123 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58124 (lmsnanval): New variables.
58125 (F): Add conversion tests.
58126 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58127 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58128
58129 * stdio-common/tstdiomisc.c (F): Properly collect individual
58130 tests' results.
58131
58132 [BZ #14686, #15336]
58133 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58134 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58135 Instead, use input NaN values or generate a qNaN by arithmetic
58136 operation. Also fix bugs to comply with the standard.
58137 * math/libm-test.inc (remainder_test): Add more tests.
58138
58139 [BZ #15335, #15342]
58140 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58142 input NaN values or generate a qNaN by arithmetic operation.
58143
58144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58145 unreachable code.
58146
58147 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58148 definitions.
58149
58150 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58151
58152 [BZ #14478]
58153 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58154 underflowed result.
58155 * math/s_cexpf.c (__cexpf): Likewise.
58156 * math/s_cexpl.c (__cexpl): Likewise.
58157 * math/libm-test.inc (cexp_test): Add more tests.
58158
58159 2013-04-03 Andreas Schwab <schwab@suse.de>
58160
58161 [BZ #15330]
58162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58163 order arrays from heap if bigger than alloca cutoff.
58164
58165 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58166
58167 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58168 (SNAN_TESTS_double): Refer to GCC PR56831.
58169 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58170 GCC PR56828.
58171
58172 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58173
58174 * Rules (bench): Move bench.out after the run is complete.
58175
58176 * Rules (bench): Echo currently running benchmark.
58177
58178 * benchtests/Makefile (bench): Add atan and slowatan.
58179 * benchtests/atan-inputs: New file.
58180 * benchtests/slowatan-inputs: New file.
58181 * benchtests/slowatan.c: New file.
58182
58183 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58184 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58185 its value.
58186
58187 [BZ #15305]
58188 * sysdeps/unix/sysv/linux/kernel-features.h
58189 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58190 __ASSUME_XFS_RESTRICTED_CHOWN.
58191 * sysdeps/unix/sysv/linux/pathconf.c
58192 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58193 Save and restore errno.
58194
58195 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58196
58197 [BZ #15327]
58198 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58199 arguments using __kernel_casinh.
58200 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58201 arguments using __kernel_casinhf.
58202 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58203 arguments using __kernel_casinhl.
58204 * math/libm-test.inc (cacosh_test): Add more tests.
58205 * sysdeps/i386/fpu/libm-test-ulps: Update.
58206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58207
58208 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58209
58210 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58212
58213 * bench/Makefile (bench): Add sin and slowsin.
58214 * benchtests/sin-inputs: New file.
58215 * benchtests/slowsin-inputs: New file.
58216 * benchtests/slowsin.c: New file.
58217
58218 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58219 (bench): Add slowexp and slowpow.
58220 (exp-ITER): Increase iterations.
58221 (pow-ITER): Likewise.
58222 * benchtests/exp-inputs: Change input.
58223 * benchtests/pow-inputs: Likewise.
58224 * benchtests/slowexp-inputs: New file.
58225 * benchtests/slowexp.c: New file.
58226 * benchtests/slowpow-inputs: New file.
58227 * benchtests/slowpow.c: New file.
58228
58229 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58230
58231 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58232 instructions.
58233 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58234 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58235 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58236 * benchtests/Makefile: Add rint benchtest.
58237 * benchtests/rint-inputs: Input for rint benchtest.
58238
58239 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58240
58241 * Versions.def (libm): Add GLIBC_2.18.
58242 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58243 hidden libm prototypes.
58244 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58245 * math/Makefile (libm-calls): Add s_issignaling.
58246 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58247 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58248 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58249 declaration.
58250 * math/math.h [__USE_GNU] (issignaling): New macro.
58251 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58252 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58253 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58254 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58255 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58256 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58257 * manual/arith.texi (issignaling): New section.
58258 * manual/libm-err-tab.pl (@all_functions): Update comment.
58259 * math/gen-libm-test.pl (parse_args): Apply special handling for
58260 issignaling.
58261 * math/libm-test.inc (print_float, issignaling_test): New
58262 functions.
58263 (check_float_internal): Add issignaling checks.
58264 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58265 default definition.
58266 * sysdeps/powerpc/math-tests.h: New file.
58267 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58268 tests.
58269 * math/test-snan.c (TEST_FUNC): Likewise.
58270
58271 2013-03-30 David S. Miller <davem@davemloft.net>
58272
58273 * po/de.po: Update from translation team.
58274
58275 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58276
58277 [BZ #10357]
58278 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58279 imaginary part less than 1.0 and real part less than 0.5
58280 specially.
58281 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58282 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58283 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58284 (cacos_test): Add more tests.
58285 (casin_test): Likewise.
58286 (casinh_test): Likewise.
58287 * sysdeps/i386/fpu/libm-test-ulps: Update.
58288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58289
58290 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58291
58292 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58293 ONE with its value.
58294
58295 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58296 (__pow_mp): Replace ONE and MONE with their values.
58297 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58299 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58300 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58301 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58302 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58303
58304 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58305
58306 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58307 (__pow_mp): Replace ZERO and MZERO with their values.
58308 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58309 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58312 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58313 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58314 (__sqr): Likewise.
58315
58316 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58317
58318 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58319
58320 2013-03-28 Roland McGrath <roland@hack.frob.com>
58321
58322 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58323 Declare with __attribute__ ((weak)).
58324 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58325 Call __call_tls_dtors only if it's not NULL.
58326
58327 2013-03-28 Roland McGrath <roland@hack.frob.com>
58328
58329 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58330 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58331 magic __ehdr_start linker symbol if it's defined.
58332 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58333 them up here if it was already done.
58334
58335 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58336 (_dl_aux_init): Use const in cast when setting it.
58337 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58338 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58339 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58340
58341 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58342 Declare them here.
58343 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58344 * csu/libc-tls.c: Nor here.
58345 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58346
58347 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58348 (__libc_message): Never call vsyslog.
58349
58350 2013-03-28 Alan Modra <amodra@gmail.com>
58351
58352 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58353 Define as empty.
58354 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58355 Likewise.
58356
58357 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58358
58359 [BZ #15214]
58360 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58361 underflow.
58362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58363
58364 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58365
58366 [BZ #15304]
58367 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58368 Don't add gid passed as argument.
58369
58370 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58371
58372 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58373
58374 [BZ #15307]
58375 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58376 imaginary part between 1.0 and 1.5 and real part less than 0.5
58377 specially.
58378 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58379 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58380 * math/libm-test.inc (cacos_test): Add more tests.
58381 (casin_test): Likewise.
58382 (casinh_test): Likewise.
58383 * sysdeps/i386/fpu/libm-test-ulps: Update.
58384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58385
58386 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58387
58388 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58389 constants.
58390 (norm): Likewise.
58391 (denorm): Likewise.
58392 (__dbl_mp): Likewise.
58393 (add_magnitudes): Likewise.
58394 (sub_magnitudes): Likewise.
58395 (__add): Likewise.
58396 (__sub): Likewise.
58397 (__mul): Likewise.
58398 (__sqr): Likewise.
58399 (__inv): Likewise.
58400 (__dvd): Likewise.
58401
58402 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58403 commented code.
58404 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58405 (__dubcos): Likewise.
58406 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58407 (__ieee754_acos): Likewise.
58408 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58409 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58410 (__exp1): Likewise.
58411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58412 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58413 (log1): Likewise.
58414 (my_log2): Likewise.
58415 (checkint): Likewise.
58416 * sysdeps/ieee754/dbl-64/e_remainder.c
58417 (__ieee754_remainder): Likewise.
58418 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58420 (bsloww): Likewise.
58421 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58422
58423 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58424 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58425 MANTISSA_STORE_T to store computations on mantissa. Use
58426 macros for rounding and division.
58427 (denorm): Likewise.
58428 (__dbl_mp): Likewise.
58429 (add_magnitudes): Likewise.
58430 (sub_magnitudes): Likewise.
58431 (__mul): Likewise.
58432 (__sqr): Likewise.
58433 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58434 powers of two in terms of TWOPOW macro.
58435 (mp_no): Make type of mantissa as MANTISSA_T.
58436 [!RADIXI]: Define RADIXI.
58437 [!TWO52]: Define TWO52.
58438 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58439
58440 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58441
58442 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58443 llroundl symbol when building for PPC32.
58444
58445 2013-03-24 Mark H Weaver <mhw@netris.org>
58446
58447 * manual/arith.texi (Normalization Functions): Fix prototypes for
58448 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58449
58450 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58451
58452 [BZ #13889]
58453 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58454 high value to check if expl overflow.
58455 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58456 to check for underflow and overflow.
58457 * math/libm-test.inc: Add exp test.
58458
58459 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58460
58461 [BZ #11120]
58462 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58463 with NOT_IN_libc.
58464
58465 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58466
58467 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58468 symbol.
58469
58470 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58471
58472 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58473 wrap blocks consisting of several statements.
58474
58475 * sysdeps/generic/math-tests.h: New file.
58476 * sysdeps/i386/fpu/math-tests.h: Likewise.
58477 * math/test-snan.c: Include it.
58478 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58479
58480 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58481
58482 [BZ #15285]
58483 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58484 (__ieee754_j0l): Do not improve calculations using cos of twice
58485 input for inputs above LDBL_MAX / 2.0L.
58486 (__ieee754_y0l): Likewise.
58487 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58488 (__ieee754_j1l): Do not improve calculations using cos of twice
58489 input for inputs above LDBL_MAX / 2.0L.
58490 (__ieee754_y1l): Likewise.
58491 * math/libm-test.inc (j0_test): Add another test.
58492 (j1_test): Likewise.
58493 (y0_test): Likewise.
58494 (y1_test): Likewise.
58495 * sysdeps/i386/fpu/libm-test-ulps: Update.
58496
58497 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58498
58499 * Rules ($(objpfx)bench-%.c): Include code from a C source
58500 file.
58501
58502 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58503
58504 [BZ #15287]
58505 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58506 imaginary part 1.0 and real part less than 0.5 specially.
58507 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58508 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58509 * math/libm-test.inc (cacos_test): Add more tests.
58510 (casin_test): Likewise.
58511 (casinh_test): Likewise.
58512 * sysdeps/i386/fpu/libm-test-ulps: Update.
58513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58514
58515 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58516
58517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58518 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58519
58520 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58521
58522 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58523 * config.make.in (config-cflags-sse4): Remove variable.
58524 (config-cflags-avx): Likewise.
58525 (config-cflags-sse2avx): Likewise.
58526 (config-cflags-novzeroupper): Likewise.
58527 (config-asflags-i686): Likewise.
58528 (have-mfma4): Likewise.
58529 (have-as-vis3): Likewise.
58530 (MIG): Likewise.
58531 * configure.in (MIG): Do not AC_SUBST.
58532 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58533 (libc_cv_cc_sse4): Do not AC_SUBST.
58534 (libc_cv_cc_avx): Likewise.
58535 (libc_cv_cc_sse2avx): Likewise.
58536 (libc_cv_cc_novzeroupper): Likewise.
58537 (libc_cv_cc_fma4): Likewise.
58538 (libc_cv_as_i686): Likewise.
58539 (libc_cv_sparc_as_vis3): Likewise.
58540 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58541 LIBC_CONFIG_VAR.
58542 (config-asflags-i686): Likewise.
58543 (config-cflags-avx): Likewise.
58544 (config-cflags-sse2avx): Likewise.
58545 (have-mfma4): Likewise.
58546 (config-cflags-novzeroupper): Likewise.
58547 * sysdeps/mach/configure.in (MIG): Likewise.
58548 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58549 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58550 LIBC_CONFIG_VAR.
58551 (config-cflags-avx): Likewise.
58552 (config-cflags-sse2avx): Likewise.
58553 (have-mfma4): Likewise.
58554 (config-cflags-novzeroupper): Likewise.
58555 * configure: Regenerated.
58556 * sysdeps/i386/configure: Likewise.
58557 * sysdeps/mach/configure: Likewise.
58558 * sysdeps/sparc/configure: Likewise.
58559 * sysdeps/x86_64/configure: Likewise.
58560
58561 2013-03-20 Roland McGrath <roland@hack.frob.com>
58562
58563 [BZ #14812]
58564 * locale/programs/localedef.c (options): Put N_ translation marker
58565 on argument names, not just descriptions.
58566
58567 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58568
58569 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58570
58571 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58572
58573 [BZ #14176]
58574 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58575
58576 2013-03-19 Roland McGrath <roland@hack.frob.com>
58577
58578 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58579 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58580 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58581 [!BEFORE_ABORT] (before_abort): New function.
58582 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58583 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58584 (writev_for_fatal): New function.
58585 (WRITEV_FOR_FATAL): New macro; call that.
58586 (backtrace_and_maps): New function.
58587 (BEFORE_ABORT): New macro; call that.
58588 (struct str_list): Type removed.
58589 (__libc_message, __libc_fatal): Functions removed.
58590 Include <sysdeps/posix/libc_fatal.c> instead.
58591
58592 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58593
58594 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58595 constants.
58596 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58597 double constants.
58598
58599 2013-03-19 Andreas Schwab <schwab@suse.de>
58600
58601 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58602 * sysdeps/gnu/configure: Regenerate.
58603
58604 * configure.in: Substitute libc_cv_rtlddir.
58605 * configure: Regenerate.
58606 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58607 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58608 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58609 * elf/Makefile (install-others, CFLAGS-interp.c)
58610 (ldso_install, common-ldd-rewrite): Likewise.
58611 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58612 $(inst_slibdir)/$(rtld-installed-name).
58613 * scripts/rellns-sh: Add -p option.
58614 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58615 for source.
58616
58617 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58618
58619 * manual/nptl.texi: Renamed to ...
58620 * manual/threads.texi: ... this.
58621 * manual/Makefile (chapters): Update.
58622
58623 2013-03-18 Roland McGrath <roland@hack.frob.com>
58624
58625 [BZ #14812]
58626 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58627 on argument names, not just descriptions.
58628 * malloc/memusagestat.c (options): Likewise.
58629 * nss/getent.c (options): Likewise.
58630
58631 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58632
58633 [BZ #14812]
58634 * iconv/iconv_prog.c (options): Put N_ translation marker
58635 on argument names, not just descriptions.
58636 * iconv/iconvconfig.c (options): Likewise.
58637
58638 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58639
58640 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58641 implementation which is faster on all x86_64 architectures.
58642 Tested on AMD, Intel Nehalem, SNB, IVB.
58643 * sysdeps/x86_64/strnlen.S: Likewise.
58644
58645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58646 Remove all multiarch strlen and strnlen versions.
58647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58648 Remove strlen and strnlen related parts.
58649
58650 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58651 Inline strlen part.
58652 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58653
58654 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58655 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58656 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58657 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58658 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58659 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58660
58661 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58662
58663 * manual/memory.texi (Malloc Tunable Parameters):
58664 Sort parameters alphabetically. Add comments for missing entries.
58665
58666 2013-03-17 David S. Miller <davem@davemloft.net>
58667
58668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58669
58670 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58671
58672 [BZ #15283]
58673 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58674 for arguments at most half maximum finite value.
58675 * math/libm-test.inc (j0_test): Add more tests.
58676 (j1_test): Likewise.
58677 (y0_test): Likewise.
58678 (y1_test): Likewise.
58679 * sysdeps/i386/fpu/libm-test-ulps: Update.
58680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58681
58682 [BZ #14155]
58683 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58684 1 / x and functions P and Q for arguments above 0x1p256L.
58685 (__ieee754_y0l): Likewise.
58686 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58687 (__ieee754_y1l): Likewise.
58688 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58689 (j1_test): Likewise.
58690 (y0_test): Likewise.
58691 (y1_test): Likewise.
58692
58693 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58694
58695 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58696 variable.
58697
58698 2013-03-15 Roland McGrath <roland@hack.frob.com>
58699
58700 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58701 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58702 zero since it's initialized to EXEC_PAGESIZE.
58703
58704 * sysdeps/unix/sysv/linux/ldsodefs.h
58705 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58706 * sysdeps/generic/ldsodefs.h: ... here.
58707
58708 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58709
58710 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58711
58712 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58713 math/test-snan.c.
58714 * math/test-snan.c: Renamed from
58715 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58716 * math/Makefile (tests): Add test-snan.
58717 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58718 test-powerpc-snan.
58719
58720 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58721 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58722 functions.
58723 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58724 __builtin_nan family of functions.
58725 * math/libm-test.inc (initialize): Initialize qnan_value with
58726 __builtin_nan family of functions.
58727 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58728 Remove variables.
58729 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58730 Remove functions.
58731 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58732 storage class. Initialize qNaN_var and sNaN_var with
58733 __builtin_nan and __builtin_nans families of functions,
58734 respectively.
58735
58736 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58737 (sqrt_test): Remove duplicate test with qNaN input.
58738 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58739 (round_test, signbit_test, significand_test): Note missing +/-Inf
58740 as well as qNaN tests.
58741
58742 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58743 qNaN_var. Fix a few strings, too.
58744 * math/libm-test.inc (nan_value): Rename to qnan_value.
58745 * math/gen-libm-test.pl (%beautify): Adjust to that.
58746 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58747 * math/test-misc.c (main): Likewise.
58748 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58749 to __qnan_bytes, and __qnan_union, respectively.
58750 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58751 Likewise.
58752 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58753 and lqnanval, respectively.
58754 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58755 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58756 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58757 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58758
58759 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58760 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58761 doubles.
58762
58763 * math/test-misc.c (main): Fix copy'n'pastos.
58764 * misc/tst-efgcvt.c (special): Likewise.
58765
58766 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58767 Remove declarations.
58768
58769 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58770
58771 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58772 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58773 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58774 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58775
58776 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58777
58778 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58779 macro to return vdso values correctly in IFUNC implementations.
58780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58781 Optimization by using IFUNC.
58782
58783 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58784 Richard Henderson <rth@redhat.com>
58785 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58786
58787 * Makefile.in (bench): New target.
58788 * NEWS: Mention the benchmark framework.
58789 * Rules (bench): Likewise.
58790 (binaries-bench): Generate binaries for functions to
58791 benchmark.
58792 * benchtests/Makefile: New makefile for benchmark tests.
58793 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58794 programs.
58795 * benchtests/exp-inputs: New input file for EXP function.
58796 * benchtests/pow-inputs: New input file for POW function.
58797 * scripts/bench.pl: New script to generate source files for
58798 benchmark programs.
58799
58800 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58801
58802 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58803 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58804 computations on mantissa. Use macros for rounding and
58805 division.
58806 (denorm): Likewise.
58807 (__dbl_mp): Likewise.
58808 (add_magnitudes): Likewise.
58809 (sub_magnitudes): Likewise.
58810 (__mul): Likewise.
58811 (__sqr): Likewise.
58812 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58813 powers of two in terms of TWOPOW macro.
58814 (mp_no): Make type of mantissa as MANTISSA_T.
58815 [!RADIXI]: Define RADIXI.
58816 [!TWO52]: Define TWO52.
58817 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58818
58819 * manual/nptl.texi (cindex): Modify threads to pthreads.
58820
58821 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58822
58823 * sysdeps/x86_64/preconfigure: Regenerated.
58824
58825 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58826
58827 [BZ #14155]
58828 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58829 0x1p28 and above.
58830 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58831 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58832 0x1p28 and above.
58833 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58834 * math/libm-test.inc (j0_test): Do not allow one spurious
58835 underflow exception.
58836 (y1_test): Likewise.
58837
58838 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58839
58840 * manual/Makefile (chapters): Add nptl.
58841 * manual/debug.texi (Debugging Support): Add link to Threads
58842 chapter.
58843 * manual/nptl.texi: New file.
58844
58845 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58846
58847 2013-03-14 Petr Baudis <pasky@ucw.cz>
58848
58849 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58850 for non-NULL pointer before the memory validity test. Pointed
58851 out by Holger Brunck <holger.brunck@keymile.com>.
58852
58853 2013-03-13 Andreas Schwab <schwab@suse.de>
58854
58855 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58856 instead of .os.
58857
58858 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58859
58860 * timezone/zic.c: Update from tzcode 2013b.
58861
58862 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58863
58864 * manual/install.texi (Configuring and compiling):
58865 Mention i686 and i586.
58866 * INSTALL: Regenerate.
58867
58868 2013-03-12 Roland McGrath <roland@hack.frob.com>
58869
58870 * sysdeps/init_array/elf-init.c: New file.
58871 * csu/elf-init.c
58872 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58873 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58874
58875 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58876 __gmon_start__ as global, but as static with a .preinit_array pointer.
58877 * sysdeps/init_array/gmon-start.c: New file. Use that.
58878 * sysdeps/init_array/crti.S: New file, empty except for comments.
58879 * sysdeps/init_array/crtn.S: Likewise.
58880
58881 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58882
58883 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58884 definining bcopy.
58885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58886 Remove Prefer_SSE_for_memop.
58887 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58888 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58889 HAS_PREFER_SSE_FOR_MEMOP.
58890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58891 memset-x86-64.
58892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58893 Remove bzero, memset ifunc support.
58894 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58895 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58896 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58897 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58898
58899 2013-03-11 Andreas Schwab <schwab@suse.de>
58900
58901 [BZ #15234]
58902 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58903 by SHLIB_COMPAT.
58904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58905 (GLIBC_2.16): Remove pthread_atfork.
58906
58907 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58908
58909 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58910 (ptestcases.h): Likewise.
58911
58912 2013-03-08 Roland McGrath <roland@hack.frob.com>
58913
58914 * Makeconfig ($(common-objpfx)config.status): Depend on
58915 sysdeps/*/preconfigure{,.in} too.
58916
58917 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58918
58919 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58920 (__free_hook): Use void * instead of __malloc_ptr_t.
58921 (__malloc_hook): Likewise.
58922 (__realloc_hook): Likewise.
58923 (__memalign_hook): Likewise.
58924 (__after_morecore_hook): Likewise.
58925 * malloc/arena.c (save_malloc_hook): Likewise.
58926 (save_free_hook): Likewise.
58927 * malloc/hooks.c (malloc_hook_ini): Likewise.
58928 (realloc_hook_ini): Likewise.
58929 (memalign_hook_ini): Likewise.
58930 * malloc/malloc.c (malloc_hook_ini): Likewise.
58931 (realloc_hook_ini): Likewise.
58932 (memalign_hook_ini): Likewise.
58933 (__free_hook): Likewise.
58934 (__malloc_hook): Likewise.
58935 (__realloc_hook): Likewise.
58936 (__memalign_hook): Likewise.
58937 (__libc_malloc): Likewise.
58938 (__libc_free): Likewise.
58939 (__libc_realloc): Likewise.
58940 (__libc_memalign): Likewise.
58941 (__libc_valloc): Likewise.
58942 (__libc_pvalloc): Likewise.
58943 (__libc_calloc): Likewise.
58944 (__posix_memalign): Likewise.
58945 * malloc/morecore.c (__sbrk): Likewise.
58946 (__default_morecore): Likewise.
58947
58948 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58949
58950 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58951 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58952 __malloc_ptrdiff_t.
58953
58954 * malloc/malloc.h (__malloc_size_t): Remove macro.
58955 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58956 __malloc_size_t.
58957 (old_memalign_hook): Likewise.
58958 (old_realloc_hook): Likewise.
58959 (struct hdr): Likewise.
58960 (flood): Likewise.
58961 (mallochook): Likewise.
58962 (memalignhook): Likewise.
58963 (reallochook): Likewise.
58964 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58965 (tr_old_realloc_hook): Likewise.
58966 (tr_old_memalign_hook): Likewise.
58967 (tr_mallochook): Likewise.
58968 (tr_reallochook): Likewise.
58969 (tr_memalignhook): Likewise.
58970
58971 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58972
58973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58974 default_ldbl_pack and using as default implementation.
58975 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58976 implementation.
58977 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58978 redundant definition.
58979 (ldbl_insert_mantissa): Likewise.
58980 (ldbl_canonicalize): Likewise.
58981 (ldbl_nearbyint): Likewise.
58982 (ldbl_pack): Rename to ldbl_pack_ppc.
58983 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58984 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58985 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58986
58987 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58988
58989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58990 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58991 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58992 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58994 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58995 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58996 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58997
58998 2013-03-07 Andreas Jaeger <aj@suse.de>
58999
59000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59001 bits/mman-linux.h.
59002
59003 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59004
59005 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59006 Include mpa.h and declare __MPEXP.
59007 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59008 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59009 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59010 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59011 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59012 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59013 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59014
59015 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59016 (__slowpow): Use long double EXPL and LOGL functions to
59017 compute POW.
59018 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59019 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59020 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59021 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59022 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59023 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59024
59025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59026 intermediate variable to calculate exponent.
59027 (__sqr): Likewise.
59028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59029 Likewise.
59030 (__sqr): Likewise.
59031
59032 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59033 [!NO__SQR]: Define __sqr.
59034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59035 and NO__SQR. Remove all code except __mul and __sqr. Include
59036 sysdeps/ieee754/dbl-64/mpa.c.
59037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59038
59039 [BZ #12723]
59040 * posix/Makefile (tests): Add tst-pathconf.
59041 * posix/tst-pathconf.c: New test case.
59042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59043 _PC_PIPE_BUF.
59044 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59045
59046 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59047
59048 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59049
59050 2013-03-06 Andreas Jaeger <aj@suse.de>
59051
59052 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59053 definition via __MAP_ANONYMOUS.
59054
59055 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59056 it's not part of Linux headers.
59057
59058 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59059 (MAP_HUGE_MASK): Define.
59060
59061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59062 Define.
59063 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59065 Define.
59066 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59067 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59068 Define.
59069 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59071 Define.
59072 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59073
59074 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59075 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59076 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59077 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59078 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59079 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59080
59081 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59082 Handle f2fs.
59083
59084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59085 Handle f2fs and efivarfs.
59086
59087 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59088 f2fs.
59089
59090 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59091 (EFIVARFS_MAGIC): Add.
59092 (F2FS_LINK_MAX): Add.
59093
59094 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59095
59096 * stdio-common/vfprintf.c: Replace __builtin_expect with
59097 __glibc_unlikely.
59098
59099 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59100
59101 [BZ #13550]
59102 * sysdeps/generic/bp-sym.h: Remove file.
59103 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59104 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59105 <bp-sym.h> and <bp-asm.h>.
59106 (__longjmp): Don't use BP_SYM.
59107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59108 and <bp-asm.h>.
59109 (memcpy): Don't use BP_SYM.
59110 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59111 <bp-sym.h> and <bp-asm.h>.
59112 (memcpy): Don't use BP_SYM.
59113 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59114 <bp-asm.h>.
59115 (memcpy): Don't use BP_SYM.
59116 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59117 <bp-asm.h>.
59118 (memset): Don't use BP_SYM.
59119 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59120 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59121 (__bzero): Don't use BP_SYM.
59122 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59123 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59124 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59125 <bp-sym.h> and <bp-asm.h>.
59126 (memcmp): Don't use BP_SYM. Remove comment about bounded
59127 pointers.
59128 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59129 <bp-sym.h> and <bp-asm.h>.
59130 (memcpy): Don't use BP_SYM.
59131 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59132 <bp-sym.h> and <bp-asm.h>.
59133 (memset): Don't use BP_SYM.
59134 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59135 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59136 (__bzero): Don't use BP_SYM.
59137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59139 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59140 <bp-sym.h> and <bp-asm.h>.
59141 (strncmp): Don't use BP_SYM. Remove comment about bounded
59142 pointers.
59143 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59144 <bp-sym.h> and <bp-asm.h>.
59145 (memcpy): Don't use BP_SYM.
59146 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59147 <bp-sym.h> and <bp-asm.h>.
59148 (memset): Don't use BP_SYM.
59149 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59150 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59151 (__bzero): Don't use BP_SYM.
59152 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59153 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59154 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59155 <bp-sym.h> and <bp-asm.h>.
59156 (__memchr): Don't use BP_SYM.
59157 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59158 <bp-sym.h> and <bp-asm.h>.
59159 (memcmp): Don't use BP_SYM. Remove comment about bounded
59160 pointers.
59161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59162 <bp-sym.h> and <bp-asm.h>.
59163 (memcpy): Don't use BP_SYM.
59164 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59165 <bp-sym.h> and <bp-asm.h>.
59166 (__mempcpy): Don't use BP_SYM.
59167 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59168 <bp-sym.h> and <bp-asm.h>.
59169 (__memrchr): Don't use BP_SYM.
59170 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59171 <bp-sym.h> and <bp-asm.h>.
59172 (memset): Don't use BP_SYM.
59173 (__bzero): Likewise.
59174 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59175 <bp-sym.h> and <bp-asm.h>.
59176 (__rawmemchr): Don't use BP_SYM.
59177 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59178 <bp-sym.h> and <bp-asm.h>.
59179 (__STRCMP): Don't use BP_SYM.
59180 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59181 <bp-sym.h> and <bp-asm.h>.
59182 (strchr): Don't use BP_SYM.
59183 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59184 <bp-sym.h> and <bp-asm.h>.
59185 (__strchrnul): Don't use BP_SYM.
59186 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59187 <bp-sym.h> and <bp-asm.h>.
59188 (strlen): Don't use BP_SYM.
59189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59190 <bp-sym.h> and <bp-asm.h>.
59191 (strncmp): Don't use BP_SYM. Remove comment about bounded
59192 pointers.
59193 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59194 <bp-sym.h> and <bp-asm.h>.
59195 (__strnlen): Don't use BP_SYM.
59196 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59197 <bp-sym.h> and <bp-asm.h>.
59198 (__GI__setjmp): Don't use BP_SYM.
59199 (_setjmp): Likewise.
59200 (__sigsetjmp): Likewise.
59201 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59202 (L(start_addresses)): Don't use BP_SYM.
59203 (_start): Likewise.
59204 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59205 <bp-asm.h>.
59206 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59207 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59208 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59209 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59210 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59211 <bp-asm.h>.
59212 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59213 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59214 about bounded pointers.
59215 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59216 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59217 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59218 <bp-asm.h>.
59219 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59220 about bounded pointers. Remove GKM FIXME comments.
59221 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59222 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59223 <bp-asm.h>.
59224 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59225 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59226 Remove GKM FIXME comments.
59227 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59228 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59229 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59230 <bp-asm.h>.
59231 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59232 about bounded pointers. Remove GKM FIXME comment.
59233 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59234 and <bp-asm.h>.
59235 (strncmp): Don't use BP_SYM. Remove comment about bounded
59236 pointers.
59237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59238 <bp-sym.h> and <bp-asm.h>.
59239 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59241 <bp-sym.h> and <bp-asm.h>.
59242 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59243 comment.
59244
59245 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59246
59247 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59248 call free(NULL).
59249
59250 2013-03-05 David S. Miller <davem@davemloft.net>
59251
59252 * po/es.po: Update from translation team.
59253
59254 2013-03-05 Andreas Jaeger <aj@suse.de>
59255
59256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59257 <bits/mman-linux.h>.
59258 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59259 is fine.
59260 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59261 <bits/mman-linux.h> to end of file.
59262 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59263 is fine.
59264 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59265 <bits/mman-linux.h> to end of file.
59266 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59267 is fine.
59268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59269 <bits/mman-linux.h> to end of file.
59270
59271 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59272 (MCL_CURRENT, MCL_FUTURE): Define here.
59273
59274 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59275
59276 [BZ #15232]
59277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59278 attribute_hidden.
59279 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59280
59281 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59282
59283 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59284 fourth parameter needed for rt_sigprocmask syscall.
59285 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59286 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59287 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59288 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59289 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59290 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59291
59292 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59293
59294 [BZ #13550]
59295 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59296 comment about bounded pointers.
59297 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59298 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59299
59300 2013-03-04 Andreas Jaeger <aj@suse.de>
59301
59302 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59303 common definitions.
59304
59305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59306 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59307 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59308 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59310 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59311
59312 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59313
59314 [BZ #15055]
59315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59316 __ieee754_sqrl instead of __sqrl.
59317
59318 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59319
59320 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59321 * sysdeps/powerpc/fpu_control.h: ... here.
59322 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59323 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59324 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59325 * sysdeps/powerpc/bits/mathinline.h: ... here.
59326
59327 2013-03-01 Roland McGrath <roland@hack.frob.com>
59328
59329 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59330 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59331 to just [NEED_DL_SYSINFO_DSO].
59332 * elf/dl-support.c: Likewise.
59333 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59334 * elf/rtld.c (dl_main): Likewise.
59335 * elf/setup-vdso.h (setup_vdso): Likewise.
59336 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59337 * sysdeps/unix/sysv/linux/dl-sysdep.c
59338 (_dl_discover_osversion): Likewise.
59339
59340 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59341
59342 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59343 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59344
59345 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59346
59347 * NEWS: Mention libm performance improvements and non-x86 PI
59348 futex support.
59349
59350 * csu/libc-start.c (__pthread_initialize_minimal): Change
59351 function arguments.
59352 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59353
59354 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59355
59356 [BZ #13550]
59357 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59358 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59359 <bp-sym.h> and <bp-asm.h>.
59360 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59361 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59362 and <bp-asm.h>.
59363 (memcpy): Don't use BP_SYM.
59364 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59365 <bp-asm.h>.
59366 (__mpn_add_n): Don't use BP_SYM.
59367 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59368 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59369 and <bp-asm.h>.
59370 (__mpn_addmul_1): Don't use BP_SYM.
59371 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59372 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59373 <bp-sym.h>.
59374 (_setjmp): Don't use BP_SYM.
59375 (__novmx_setjmp): Likewise.
59376 (__GI__setjmp): Likewise.
59377 (__vmx_setjmp): Likewise.
59378 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59379 <bp-sym.h>.
59380 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59381 (__bzero): Don't use BP_SYM.
59382 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59383 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59384 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59385 <bp-sym.h> and <bp-asm.h>.
59386 (memcpy): Don't use BP_SYM.
59387 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59388 <bp-sym.h> and <bp-asm.h>.
59389 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59390 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59391 <bp-sym.h> and <bp-asm.h>.
59392 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59393 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59394 <bp-asm.h>.
59395 (__mpn_lshift): Don't use BP_SYM.
59396 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59397 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59398 <bp-asm.h>.
59399 (memset): Don't use BP_SYM.
59400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59402 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59403 <bp-asm.h>.
59404 (__mpn_mul_1): Don't use BP_SYM.
59405 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59407 <bp-sym.h> and <bp-asm.h>.
59408 (memcmp): Don't use BP_SYM.
59409 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59410 <bp-sym.h> and <bp-asm.h>.
59411 (memcpy): Don't use BP_SYM.
59412 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59413 <bp-sym.h> and <bp-asm.h>.
59414 (memset): Don't use BP_SYM.
59415 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59416 <bp-sym.h> and <bp-asm.h>.
59417 (strncmp): Don't use BP_SYM.
59418 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59419 <bp-sym.h> and <bp-asm.h>.
59420 (memcpy): Don't use BP_SYM.
59421 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59422 <bp-sym.h> and <bp-asm.h>.
59423 (memset): Don't use BP_SYM.
59424 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59425 <bp-sym.h> and <bp-asm.h>.
59426 (__memchr): Don't use BP_SYM.
59427 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59428 <bp-sym.h> and <bp-asm.h>.
59429 (memcmp): Don't use BP_SYM.
59430 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59431 <bp-sym.h> and <bp-asm.h>.
59432 (memcpy): Don't use BP_SYM.
59433 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59434 <bp-sym.h> and <bp-asm.h>.
59435 (__mempcpy): Don't use BP_SYM.
59436 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59437 <bp-sym.h> and <bp-asm.h>.
59438 (__memrchr): Don't use BP_SYM.
59439 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59440 <bp-sym.h> and <bp-asm.h>.
59441 (memset): Don't use BP_SYM.
59442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59443 <bp-sym.h> and <bp-asm.h>.
59444 (__rawmemchr): Don't use BP_SYM.
59445 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59446 <bp-sym.h> and <bp-asm.h>.
59447 (__STRCMP): Don't use BP_SYM.
59448 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59449 <bp-sym.h> and <bp-asm.h>.
59450 (strchr): Don't use BP_SYM.
59451 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59452 <bp-sym.h> and <bp-asm.h>.
59453 (__strchrnul): Don't use BP_SYM.
59454 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59455 <bp-sym.h> and <bp-asm.h>.
59456 (strlen): Don't use BP_SYM.
59457 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59458 <bp-sym.h> and <bp-asm.h>.
59459 (strncmp): Don't use BP_SYM.
59460 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59461 <bp-sym.h> and <bp-asm.h>.
59462 (__strnlen): Don't use BP_SYM.
59463 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59464 <bp-asm.h>.
59465 (__mpn_rshift): Don't use BP_SYM.
59466 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59467 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59468 <bp-sym.h> and <bp-asm.h>.
59469 (__sigsetjmp): Don't use BP_SYM.
59470 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59471 (L(start_addresses)): Don't use BP_SYM.
59472 (_start): Likewise.
59473 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59474 <bp-asm.h>.
59475 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59476 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59477 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59478 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59479 <bp-asm.h>.
59480 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59481 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59482 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59483 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59484 <bp-asm.h>.
59485 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59486 comments.
59487 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59488 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59489 <bp-asm.h>.
59490 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59491 FIXME comments.
59492 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59493 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59494 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59495 <bp-asm.h>.
59496 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59497 comment.
59498 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59499 and <bp-asm.h>.
59500 (strncmp): Don't use BP_SYM,
59501 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59502 <bp-asm.h>.
59503 (__mpn_sub_n): Don't use BP_SYM.
59504 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59505 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59506 and <bp-asm.h>.
59507 (__mpn_submul_1): Don't use BP_SYM.
59508 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59510 <bp-sym.h> and <bp-asm.h>.
59511 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59513 <bp-sym.h> and <bp-asm.h>.
59514 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59515 comment.
59516
59517 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59518
59519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59520 Use ZK to minimize writes to Z.
59521 (sub_magnitudes): Simplify code a bit.
59522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59523 Use ZK to minimize writes to Z.
59524 (sub_magnitudes): Simplify code a bit.
59525
59526 2013-02-27 Roland McGrath <roland@hack.frob.com>
59527
59528 * csu/gmon-start.c: Add special exception to license text.
59529
59530 2013-02-27 Richard Henderson <rth@redhat.com>
59531
59532 * scripts/config.guess: Update from config.git.
59533 * scripts/config.sub: Likewise.
59534
59535 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59536
59537 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59538
59539 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59540
59541 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59542
59543 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59544
59545 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59546
59547 2013-02-26 Roland McGrath <roland@hack.frob.com>
59548
59549 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59550 [$(build-shared = yes].
59551
59552 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59553
59554 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59555 (__mul): Reduce iterations for calculating mantissa.
59556
59557 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59558 MPTWO.
59559 (__mpranred): Likewise.
59560
59561 [BZ #15160]
59562 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59563 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59564
59565 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59566
59567 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59568 Define __attribute__.
59569
59570 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59571
59572 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59573 unused.
59574 * posix/regex_internal.h (__attribute): Remove.
59575 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59576 (re_string_context_at): Likewise.
59577 (bitset_not): Use __attribute__ and mark function as possibly
59578 unused.
59579 (bitset_merge): Likewise.
59580 (bitset_mask): Likewise.
59581 (re_string_char_size_at): Likewise.
59582 (re_string_wchar_at): Likewise.
59583 (re_string_elem_size_at): Likewise.
59584
59585 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59586
59587 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59588 code.
59589 (cc32): Likewise.
59590
59591 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59592 (__acr): Likewise.
59593 (__cpy): Likewise.
59594 (norm): Likewise.
59595 (denorm): Likewise.
59596 (__dbl_mp): Likewise.
59597 (add_magnitudes): Likewise.
59598 (sub_magnitudes): Likewise.
59599 (__mul): Likewise.
59600 (__inv): Likewise.
59601
59602 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59603 style.
59604
59605 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59606 style.
59607
59608 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59609 code.
59610
59611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59612 up changes with default code.
59613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59614 Likewise.
59615
59616 2013-02-24 Allan McRae <allan@archlinux.org>
59617
59618 * manual/socket.texi (The Internet Namespace): Order menu items
59619 to match that in the file.
59620
59621 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59622 node listing of the info page menu.
59623
59624 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59625
59626 [BZ #13550]
59627 * sysdeps/i386/bp-asm.h: Remove file.
59628 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59629 (PARMS): Do not use macros from bp-asm.h.
59630 (S1): Likewise.
59631 (S2): Likewise.
59632 (SIZE): Likewise.
59633 (__mpn_add_n): Do not use BP_SYM
59634 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59635 "bp-asm.h".
59636 (PARMS): Do not use macros from bp-asm.h.
59637 (S1): Likewise.
59638 (SIZE): Likewise.
59639 (__mpn_addmul_1): Do not use BP_SYM
59640 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59641 "bp-asm.h".
59642 (PARMS): Do not use macros from bp-asm.h.
59643 (SIGMSK): Likewise.
59644 (_setjmp): Likewise. Do not use BP_SYM.
59645 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59646 "bp-asm.h".
59647 (PARMS): Do not use macros from bp-asm.h.
59648 (SIGMSK): Likewise.
59649 (setjmp): Likewise. Do not use BP_SYM.
59650 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59651 "bp-asm.h".
59652 (PARMS): Do not use macros from bp-asm.h.
59653 (__frexp): Do not use BP_SYM.
59654 (frexp): Likewise.
59655 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59656 "bp-asm.h".
59657 (PARMS): Do not use macros from bp-asm.h.
59658 (__frexpf): Do not use BP_SYM.
59659 (frexpf): Likewise.
59660 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59661 "bp-asm.h".
59662 (PARMS): Do not use macros from bp-asm.h.
59663 (__frexpl): Do not use BP_SYM.
59664 (frexpl): Likewise.
59665 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59666 "bp-asm.h".
59667 (PARMS): Do not use macros from bp-asm.h.
59668 (__remquo): Do not use BP_SYM.
59669 (remquo): Likewise.
59670 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59671 "bp-asm.h".
59672 (PARMS): Do not use macros from bp-asm.h.
59673 (__remquof): Do not use BP_SYM.
59674 (remquof): Likewise.
59675 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59676 "bp-asm.h".
59677 (PARMS): Do not use macros from bp-asm.h.
59678 (__remquol): Do not use BP_SYM.
59679 (remquol): Likewise.
59680 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59681 "bp-asm.h".
59682 (PARMS): Do not use macros from bp-asm.h.
59683 (DEST): Likewise.
59684 (SRC): Likewise.
59685 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59686 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59687 "bp-asm.h".
59688 (PARMS): Do not use macros from bp-asm.h.
59689 (strlen): Do not use BP_SYM.
59690 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59691 "bp-asm.h".
59692 (PARMS): Do not use macros from bp-asm.h.
59693 (S1): Likewise.
59694 (S2): Likewise.
59695 (SIZE): Likewise.
59696 (__mpn_add_n): Do not use BP_SYM.
59697 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59698 "bp-asm.h".
59699 (PARMS): Do not use macros from bp-asm.h.
59700 (S1): Likewise.
59701 (SIZE): Likewise.
59702 (__mpn_addmul_1): Do not use BP_SYM.
59703 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59704 weak_alias.
59705 (bzero): Likewise.
59706 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59707 "bp-asm.h".
59708 (PARMS): Do not use macros from bp-asm.h.
59709 (S): Likewise.
59710 (SIZE): Likewise.
59711 (__mpn_lshift): Do not use BP_SYM.
59712 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59713 "bp-asm.h".
59714 (PARMS): Do not use macros from bp-asm.h.
59715 (DEST): Likewise.
59716 (SRC): Likewise.
59717 (LEN): Likewise.
59718 (memcpy): Likewise. Do not use BP_SYM.
59719 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59720 libc_hidden_def and weak_alias.
59721 (mempcpy): Do not use BP_SYM in weak_alias.
59722 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59723 "bp-asm.h".
59724 (PARMS): Do not use macros from bp-asm.h.
59725 (DEST): Likewise.
59726 (LEN): Likewise.
59727 [!BZERO_P] (CHR): Likewise.
59728 (memset): Likewise. Do not use BP_SYM.
59729 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59730 "bp-asm.h".
59731 (PARMS): Do not use macros from bp-asm.h.
59732 (S1): Likewise.
59733 (SIZE): Likewise.
59734 (__mpn_mul_1): Do not use BP_SYM.
59735 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59736 "bp-asm.h".
59737 (PARMS): Do not use macros from bp-asm.h.
59738 (S): Likewise.
59739 (SIZE): Likewise.
59740 (__mpn_rshift): Do not use BP_SYM.
59741 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59742 "bp-asm.h".
59743 (PARMS): Do not use macros from bp-asm.h.
59744 (STR): Likewise.
59745 (CHR): Likewise.
59746 (strchr): Likewise. Do not use BP_SYM.
59747 (index): Do not use BP_SYM in weak_alias.
59748 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59749 "bp-asm.h".
59750 (PARMS): Do not use macros from bp-asm.h.
59751 (DEST): Likewise.
59752 (SRC): Likewise.
59753 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59754 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59755 "bp-asm.h".
59756 (PARMS): Do not use macros from bp-asm.h.
59757 (strlen): Do not use BP_SYM.
59758 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59759 "bp-asm.h".
59760 (PARMS): Do not use macros from bp-asm.h.
59761 (S1): Likewise.
59762 (S2): Likewise.
59763 (SIZE): Likewise.
59764 (__mpn_sub_n): Do not use BP_SYM.
59765 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59766 "bp-asm.h".
59767 (PARMS): Do not use macros from bp-asm.h.
59768 (S1): Likewise.
59769 (SIZE): Likewise.
59770 (__mpn_submul_1): Do not use BP_SYM.
59771 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59772 "bp-asm.h".
59773 (PARMS): Do not use macros from bp-asm.h.
59774 (S1): Likewise.
59775 (S2): Likewise.
59776 (SIZE): Likewise.
59777 (__mpn_add_n): Do not use BP_SYM.
59778 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59779 weak_alias.
59780 (bzero): Likewise.
59781 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59782 "bp-asm.h".
59783 (PARMS): Do not use macros from bp-asm.h.
59784 (BLK2): Likewise.
59785 (LEN): Likewise.
59786 (memcmp): Do not use BP_SYM.
59787 (bcmp): Do not use BP_SYM in weak_alias.
59788 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59789 "bp-asm.h".
59790 (PARMS): Do not use macros from bp-asm.h.
59791 (DEST): Likewise.
59792 (SRC): Likewise.
59793 (LEN): Likewise.
59794 (memcpy): Likewise. Do not use BP_SYM.
59795 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59796 "bp-asm.h".
59797 (PARMS): Do not use macros from bp-asm.h.
59798 (DEST): Likewise.
59799 (SRC): Likewise.
59800 (LEN): Likewise.
59801 (memmove): Likewise. Do not use BP_SYM.
59802 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59803 "bp-asm.h".
59804 (PARMS): Do not use macros from bp-asm.h.
59805 (DEST): Likewise.
59806 (SRC): Likewise.
59807 (LEN): Likewise.
59808 (__mempcpy): Likewise. Do not use BP_SYM.
59809 (mempcpy): Do not use BP_SYM in weak_alias.
59810 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59811 "bp-asm.h".
59812 (PARMS): Do not use macros from bp-asm.h.
59813 (DEST): Likewise.
59814 (LEN): Likewise.
59815 [!BZERO_P] (CHR): Likewise.
59816 (memset): Likewise. Do not use BP_SYM.
59817 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59818 "bp-asm.h".
59819 (PARMS): Do not use macros from bp-asm.h.
59820 (STR2): Likewise.
59821 (strcmp): Do not use BP_SYM.
59822 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59823 "bp-asm.h".
59824 (PARMS): Do not use macros from bp-asm.h.
59825 (STR): Likewise.
59826 (DELIM): Likewise.
59827 [USE_AS_STRTOK_R] (SAVE): Likewise.
59828 (FUNCTION): Likewise. Do not use BP_SYM.
59829 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59830 aliases.
59831 (strtok_r): Likewise.
59832 (__GI___strtok_r): Likewise.
59833 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59834 (PARMS): Do not use macros from bp-asm.h.
59835 (S): Likewise.
59836 (SIZE): Likewise.
59837 (__mpn_lshift): Do not use BP_SYM.
59838 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59839 (PARMS): Do not use macros from bp-asm.h.
59840 (STR): Likewise.
59841 (CHR): Likewise.
59842 (__memchr): Do not use BP_SYM.
59843 (memchr): Do not use BP_SYM in weak_alias.
59844 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59845 (PARMS): Do not use macros from bp-asm.h.
59846 (BLK2): Likewise.
59847 (LEN): Likewise.
59848 (memcmp): Do not use BP_SYM.
59849 (bcmp): Do not use BP_SYM in weak_alias.
59850 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59851 (PARMS): Do not use macros from bp-asm.h.
59852 (S1): Likewise.
59853 (SIZE): Likewise.
59854 (__mpn_mul_1): Do not use BP_SYM.
59855 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59856 "bp-asm.h".
59857 (PARMS): Do not use macros from bp-asm.h.
59858 (STR): Likewise.
59859 (CHR): Likewise.
59860 (__rawmemchr): Do not use BP_SYM.
59861 (rawmemchr): Do not use BP_SYM in weak_alias.
59862 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59863 (PARMS): Do not use macros from bp-asm.h.
59864 (S): Likewise.
59865 (SIZE): Likewise.
59866 (__mpn_rshift): Do not use BP_SYM.
59867 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59868 (PARMS): Do not use macros from bp-asm.h.
59869 (SIGMSK): Likewise.
59870 (__sigsetjmp): Likewise. Do not use BP_SYM.
59871 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59872 (_start): Do not use BP_SYM.
59873 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59874 (PARMS): Do not use macros from bp-asm.h.
59875 (DEST): Likewise.
59876 (SRC): Likewise.
59877 (__stpcpy): Likewise. Do not use BP_SYM.
59878 (stpcpy): Do not use BP_SYM in weak_alias.
59879 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59880 "bp-asm.h".
59881 (PARMS): Do not use macros from bp-asm.h.
59882 (DEST): Likewise.
59883 (SRC): Likewise.
59884 (LEN): Likewise.
59885 (__stpncpy): Likewise. Do not use BP_SYM.
59886 (stpncpy): Do not use BP_SYM in weak_alias.
59887 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59888 (PARMS): Do not use macros from bp-asm.h.
59889 (STR): Likewise.
59890 (CHR): Likewise.
59891 (strchr): Likewise. Do not use BP_SYM.
59892 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59893 "bp-asm.h".
59894 (PARMS): Do not use macros from bp-asm.h.
59895 (STR): Likewise.
59896 (CHR): Likewise.
59897 (__strchrnul): Likewise. Do not use BP_SYM.
59898 (strchrnul): Do not use BP_SYM in weak_alias.
59899 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59900 "bp-asm.h".
59901 (PARMS): Do not use macros from bp-asm.h.
59902 (STOP): Likewise.
59903 (strcspn): Do not use BP_SYM.
59904 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59905 "bp-asm.h".
59906 (PARMS): Do not use macros from bp-asm.h.
59907 (STR): Likewise.
59908 (STOP): Likewise.
59909 (strpbrk): Likewise. Do not use BP_SYM.
59910 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59911 "bp-asm.h".
59912 (PARMS): Do not use macros from bp-asm.h.
59913 (STR): Likewise.
59914 (CHR): Likewise.
59915 (strrchr): Likewise. Do not use BP_SYM.
59916 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59917 (PARMS): Do not use macros from bp-asm.h.
59918 (SKIP): Likewise.
59919 (strspn): Do not use BP_SYM.
59920 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59921 (PARMS): Do not use macros from bp-asm.h.
59922 (STR): Likewise.
59923 (DELIM): Likewise.
59924 (SAVE): Likewise.
59925 (FUNCTION): Likewise. Do not use BP_SYM.
59926 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59927 aliases.
59928 (strtok_r): Likewise.
59929 (__GI___strtok_r): Likewise.
59930 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59931 (PARMS): Do not use macros from bp-asm.h.
59932 (S1): Likewise.
59933 (S2): Likewise.
59934 (SIZE): Likewise.
59935 (__mpn_sub_n): Do not use BP_SYM.
59936 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59937 "bp-asm.h".
59938 (PARMS): Do not use macros from bp-asm.h.
59939 (S1): Likewise.
59940 (SIZE): Likewise.
59941 (__mpn_submul_1): Do not use BP_SYM.
59942 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59943 <bp-sym.h>.
59944 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59945 and <bp-asm.h>.
59946 (PARMS): Do not use macros from bp-asm.h.
59947 (FLAGS): Likewise.
59948 (PTID): Likewise.
59949 (TLS): Likewise.
59950 (CTID): Likewise.
59951 (__clone): Do not use BP_SYM.
59952 (clone): Do not use BP_SYM in weak_alias.
59953 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59954 and <bp-asm.h>.
59955 (PARMS): Do not use macros from bp-asm.h.
59956 (LEN): Likewise.
59957 (__mmap64): Do not use BP_SYM.
59958 (mmap64): Do not use BP_SYM in weak_alias.
59959 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59960 <bp-sym.h> and <bp-asm.h>.
59961 (PARMS): Do not use macros from bp-asm.h.
59962 (__posix_fadvise64_l64): Do not use BP_SYM.
59963 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59964 (PARMS): Do not use macros from bp-asm.h.
59965 (NSOPS): Likewise.
59966 (semtimedop): Do not use BP_SYM.
59967 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59968 and <bp-asm.h>.
59969
59970 2013-02-21 Allan McRae <allan@archlinux.org>
59971
59972 * manual/message.texi (Charset conversion in gettext):
59973 Move @end statement to beginning of line.
59974
59975 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59976
59977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59978 static.
59979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59980 Likewise.
59981
59982 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59983 (denorm): Likewise.
59984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59986
59987 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59988
59989 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59990 tail-call to the resolved function if pltexit isn't needed.
59991
59992 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59993
59994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59995 or Y being zero as being unlikely.
59996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59997 Likewise.
59998
59999 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60000
60001 * manual/nss.texi (System Databases and Name Service Switch):
60002 Remove frobnicate @pxref.
60003
60004 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60005
60006 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60007 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60008
60009 2013-02-20 Petr Machata <pmachata@redhat.com>
60010
60011 * elf/elf.h (R_ARM_TARGET1): New macro.
60012 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60013 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60014 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60015 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60016 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60017 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60018 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60019 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60020 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60021 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60022 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60023 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60024 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60025 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60026 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60027 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60028 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60029 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60030 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60031 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60032 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60033 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60034 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60035 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60036 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60037 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60038 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60039 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60040 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60041 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60042 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60043 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60044 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60045 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60046 (R_ARM_THM_GOT_BREL12): Likewise.
60047 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60048 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60049 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60050 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60051 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60052 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60053 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60054 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60055 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60056
60057 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60058
60059 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60060 __attribute_used__ to __attribute__ ((unused)).
60061
60062 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60063
60064 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60065 powerpc mpa.c.
60066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60067 comment formatting.
60068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60069
60070 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60071
60072 [BZ #13550]
60073 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60074 Remove macro.
60075 (ENTER): Remove both macro definitions.
60076 (LEAVE): Likewise.
60077 (CHECK_BOUNDS_LOW): Likewise.
60078 (CHECK_BOUNDS_HIGH): Likewise.
60079 (CHECK_BOUNDS_BOTH): Likewise.
60080 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60081 (RETURN_BOUNDED_POINTER): Likewise.
60082 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60083 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60084 (POP_ERRNO_LOCATION_RETURN): Likewise.
60085 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60086 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60087 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60088 macros.
60089 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60090 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60091 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60092 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60093 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60094 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60095 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60096 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60097 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60098 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60099 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60100 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60101 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60102 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60103 removed macros.
60104 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60105 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60106 macros.
60107 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60108 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60109 * sysdeps/i386/i586/memset.S (memset): Likewise.
60110 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60111 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60112 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60113 macros.
60114 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60115 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60116 Change uses of L(2) to L(out).
60117 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60118 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60119 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60120 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60121 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60122 removed macros.
60123 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60124 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60125 macros.
60126 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60127 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60128 (RETURN): Do not use macro LEAVE.
60129 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60130 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60131 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60132 * sysdeps/i386/i686/memset.S (memset): Likewise.
60133 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60134 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60135 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60136 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60137 Likewise.
60138 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60139 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60140 L(1_2) and L(1_3) into L(1).
60141 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60142 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60143 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60144 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60145 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60146 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60147 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60148 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60149 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60150 macros.
60151 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60152 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60153 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60154 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60155 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60156 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60157 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60158 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60159 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60160 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60161 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60162 * sysdeps/i386/strspn.S (strspn): Likewise.
60163 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60164 conditional code.
60165 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60166 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60167 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60168 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60169 L(1_3) into L(1_1).
60170 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60171 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60172 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60173 macros.
60174 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60175
60176 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60177
60178 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60179 macro.
60180
60181 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60182
60183 * math/atest-exp.c (exp_mpn): Remove ROUND.
60184 * math/atest-exp2.c (exp_mpn): Likewise.
60185 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60186
60187 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60188 * stdlib/tst-tls-atexit-lib.c: Likewise.
60189 * stdlib/tst-tls-atexit.c: Likewise.
60190
60191 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60192
60193 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60194 and __attribute_alloc_size__.
60195
60196 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60197
60198 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60199 __attribute_alloc_size__.
60200 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60201 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60202
60203 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60204
60205 * include/programs/xmalloc.h: New file.
60206 * catgets/gencat.c: Include it.
60207 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60208 * elf/pldd.c: Likewise.
60209 * iconv/iconv_charmap.c: Likewise.
60210 * iconv/iconvconfig.c: Likewise.
60211 * iconv/strtab.c: Likewise.
60212 * locale/programs/locale.c: Likewise.
60213 * locale/programs/localedef.h: Likewise.
60214 * locale/programs/simple-hash.c: Likewise.
60215 * nscd/nscd.h: Likewise.
60216 * nss/makedb.c: Likewise.
60217 * sysdeps/generic/ldconfig.h: Likewise.
60218
60219 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60220
60221 * Versions.def: Add GLIBC_2.18.
60222 * include/link.h (struct link_map): New member l_tls_dtor_count.
60223 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60224 (__call_tls_dtors): Likewise.
60225 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60226 __cxa_thread_atexit_impl.
60227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60228 Likewise.
60229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60230 Likewise.
60231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60232 Likewise.
60233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60234 Likewise.
60235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60237 Likewise.
60238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60239 Likewise.
60240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60242 Likewise.
60243 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60244 (tests): Add test case tst-tls-atexit.
60245 (modules-names): Add shared library for tst-tls-atexit.
60246 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60247 (GLIBC_PRIVATE): Add __call_tls_dtors.
60248 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60249 for libstdc++.
60250 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60251 * stdlib/tst-tls-atexit.c: New test case.
60252 * stdlib/tst-tls-atexit-lib.c: New test case.
60253
60254 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60255
60256 * elf/Versions (ld): Add _dl_find_dso_for_object.
60257 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60258 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60259 (dl_open_worker): Use _dl_find_dso_for_object.
60260 * elf/dl-sym.c (do_sym): Likewise.
60261 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60262
60263 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60264
60265 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60266 Syntactic changes only.
60267 (_dl_runtime_profile): Do a tail-call to the resolved function.
60268
60269 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60270
60271 [BZ #13550]
60272 * sysdeps/x86_64/bp-asm.h: Remove file.
60273 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60274 <bp-sym.h> and <bp-asm.h>.
60275 (__clone): Do not use BP_SYM.
60276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60277 <bp-sym.h> and <bp-asm.h>.
60278 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60279 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60280 "bp-asm.h".
60281 (_setjmp): Do not use BP_SYM.
60282 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60283 "bp-asm.h".
60284 (setjmp): Do not use BP_SYM.
60285 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60286 libc_hidden_def.
60287 (mempcpy): Do not use BP_SYM in weak_alias.
60288 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60289 "bp-asm.h".
60290 (strchr): Do not use BP_SYM.
60291 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60292 "bp-asm.h".
60293 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60294 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60295 (_start): Do not use BP_SYM.
60296 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60297 "bp-asm.h".
60298 (strcat): Do not use BP_SYM.
60299 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60300 "bp-asm.h".
60301 (STRCMP): Do not use BP_SYM.
60302 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60303 "bp-asm.h".
60304 (STRCPY): Do not use BP_SYM.
60305 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60306 "bp-asm.h".
60307 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60308 "bp-asm.h".
60309 (FUNCTION): Do not use BP_SYM.
60310 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60311 weak_alias.
60312 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60313
60314 2013-02-17 Andreas Jaeger <aj@suse.de>
60315
60316 * time/Versions: Sort entries.
60317 * string/Versions: Likewise.
60318 * resolv/Versions: Likewise.
60319 * posix/Versions: Likewise.
60320 * iconv/Versions: Likewise.
60321 * elf/Versions: Likewise.
60322 * wcsmbs/Versions: Likewise.
60323
60324 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60325
60326 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60327 loop termination condition.
60328
60329 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60330 variable to calculate EZ.
60331 (__sqr): Likewise.
60332
60333 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60334 the lower precision input.
60335
60336 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60337
60338 [BZ #13550]
60339 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60340 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60341 (run-via-rtld-prefix): Do not handle %-bp tests.
60342 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60343 (all-object-suffixes): Remove .ob.
60344 (bppfx): Remove variable.
60345 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60346 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60347 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60348 [$(build-bounded) = yes] (libtype.ob): Likewise.
60349 * Makerules (elide-routines.ob): Remove variable.
60350 (do-tests-clean): Do not handle *-bp.out.
60351 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60352 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60353 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60354 (tests): Do not include $(tests-bp.out).
60355 (xtests): Do not include $(xtests-bp.out).
60356 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60357 [$(build-bounded) = yes] ($(addprefix
60358 $(objpfx),$(binaries-bounded))): Remove rule.
60359 ($(objpfx)%-bp.out): Remove rule.
60360 * config.make.in (build-bounded): Remove variable.
60361 * crypt/Makefile [$(build-bounded) = yes]
60362 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60363 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60364 append to variable.
60365 [$(build-bounded) = yes] (install-lib): Likewise.
60366 [$(build-bounded) = yes] (generated): Likewise.
60367 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60368 Remove rule.
60369 * intl/Makefile [$(build-bounded) = yes]
60370 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60371 * math/Makefile [$(build-bounded) = yes]
60372 ($(tests:%=$(objpfx)%-bp): Likewise.
60373 * misc/Makefile [$(build-bounded) = yes]
60374 ($(objpfx)tst-tsearch-bp): Likewise.
60375 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60376 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60377 Remove dependency.
60378 * string/Makefile (o-objects.ob): Remove variable.
60379 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60380 (CFLAGS-.ob): Remove variable.
60381 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60382 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60383 both definitions of variable.
60384 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60385 (ASFLAGS-.ob): Remove variable.
60386
60387 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60388
60389 [BZ #13550]
60390 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60391 Remove __BOUNDED_POINTERS__ from condition.
60392 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60393 * string/bits/string2.h [!__NO_STRING_INLINES &&
60394 !__BOUNDED_POINTERS__]: Likewise.
60395 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60396 Likewise.
60397 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60398 Remove conditional code.
60399 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60400 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60401 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60402 condition.
60403
60404 [BZ #13550]
60405 * csu/libc-start.c: Do not include <bp-sym.h>.
60406 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60407 * elf/dl-open.c: Do not include <bp-sym.h>.
60408 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60409 * math/fegetenv.c: Do not include <bp-sym.h>.
60410 (fegetenv): Do not use BP_SYM in versioned symbols.
60411 * nptl/sysdeps/pthread/bits/libc-lockP.h
60412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60413 <bp-sym.h>.
60414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60415 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60417 (__pthread_mutex_destroy): Likewise.
60418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60419 (__pthread_mutex_lock): Likewise.
60420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60421 (__pthread_mutex_trylock): Likewise.
60422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60423 (__pthread_mutex_unlock): Likewise.
60424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60425 (__pthread_mutexattr_init): Likewise.
60426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60427 (__pthread_mutexattr_destroy): Likewise.
60428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60429 (__pthread_mutexattr_settype): Likewise.
60430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60431 (__pthread_rwlock_init): Likewise.
60432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60433 (__pthread_rwlock_destroy): Likewise.
60434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60435 (__pthread_rwlock_rdlock): Likewise.
60436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60437 (__pthread_rwlock_tryrdlock): Likewise.
60438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60439 (__pthread_rwlock_wrlock): Likewise.
60440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60441 (__pthread_rwlock_trywrlock): Likewise.
60442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60443 (__pthread_rwlock_unlock): Likewise.
60444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60445 (__pthread_key_create): Likewise.
60446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60447 (__pthread_setspecific): Likewise.
60448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60449 (__pthread_getspecific): Likewise.
60450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60451 Likewise.
60452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60453 (_pthread_cleanup_push_defer): Likewise.
60454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60455 (_pthread_cleanup_pop_restore): Likewise.
60456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60457 (pthread_setcancelstate): Likewise.
60458 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60459 <bp-sym.h>.
60460 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60461 (memchr): Do not use BP_SYM in weak_alias.
60462 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60463 (fegetenv): Do not use BP_SYM in versioned symbols.
60464 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60465 (fesetenv): Do not use BP_SYM in versioned symbols.
60466 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60467 (feupdateenv): Do not use BP_SYM in versioned symbols.
60468 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60469 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60470 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60471 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60472 (open64): Do not use BP_SYM in weak_alias.
60473 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60474 (fegetenv): Do not use BP_SYM in versioned symbols.
60475 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60476 (fesetenv): Do not use BP_SYM in versioned symbols.
60477 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60478 (feupdateenv): Do not use BP_SYM in versioned symbols.
60479 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60480 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60481 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60482 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60483 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60484 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60485 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60486 <bp-sym.h>.
60487 (__libc_start_main): Do not use BP_SYM.
60488
60489 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60490
60491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60492 redundant return line.
60493 (norm): Likewise.
60494 (denorm): Likewise.
60495 (dbl_mp): Likewise.
60496 (sub_magnitudes): Likewise.
60497 (__add): Likewise.
60498 (__sub): Likewise.
60499 (__mul): Likewise.
60500 (__inv): Likewise.
60501 (__dvd): Likewise.
60502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60503 (norm): Likewise.
60504 (denorm): Likewise.
60505 (dbl_mp): Likewise.
60506 (sub_magnitudes): Likewise.
60507 (__add): Likewise.
60508 (__sub): Likewise.
60509 (__mul): Likewise.
60510 (__inv): Likewise.
60511 (__dvd): Likewise.
60512
60513 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60514 instead of __mul.
60515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60516 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60517 (cc32): Likewise.
60518
60519 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60520 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60522 of __mul for squares.
60523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60524 function
60525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60526 Likewise.
60527 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60528 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60529
60530 2013-02-13 Joseph Myers <joseph@codesourcery.com>
60531
60532 [BZ #13550]
60533 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60534 code.
60535 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60536 prototype or function definition. Rename ubp_* variables and
60537 parameters. Remove argv definitions conditional on
60538 [__BOUNDED_POINTERS__].
60539 * debug/backtrace.c (__backtrace): Do not use __unbounded.
60540 * elf/dl-runtime.c (_dl_fixup): Likewise.
60541 * include/set-hooks.h (RUN_HOOK): Likewise.
60542 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60543 definition.
60544 * string/strcpy.c (strcpy): Do not use __unbounded.
60545 * sysdeps/generic/frame.h (struct layout): Likewise.
60546 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60547 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60548 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60549 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60550 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60551 (__backtrace): Likewise.
60552 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60553 use __ptrvalue.
60554 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60555 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60556 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60557 Likewise.
60558 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60559 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60560 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60561 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60562 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60563 Do not use __unbounded.
60564 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60565 Rename __unboundedrlimits parameter to rlimits in prototype.
60566 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60567 Do not use __unbounded.
60568 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60569 not use __ptrvalue.
60570 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60571 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60572 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60573 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60574 __ptrvalue or __unbounded.
60575 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60576 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60577 use __unbounded.
60578 (__new_msgctl): Do not use __ptrvalue.
60579 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60580 __unbounded.
60581 (__libc_msgrcv): Do not use __ptrvalue.
60582 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60583 startup_info): Do not use __unbounded.
60584 (__libc_start_main): Likewise. Rename ubp_* variables and
60585 parameters. Remove argv definitions conditional on
60586 [__BOUNDED_POINTERS__].
60587 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60588 __ptrvalue.
60589 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60590 use __unbounded.
60591 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60592 or __ptrvalue.
60593 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60594 use __unbounded.
60595 (__new_shmctl): Do not use __ptrvalue.
60596 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60597 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60598 Likewise.
60599 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60600 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60601 (__libc_sigaction): Likewise.
60602 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60603 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60604 Likewise.
60605 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60606
60607 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60608
60609 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60610
60611 * string/mempcpy.c: Implement by calling memcpy.
60612
60613 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60614
60615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60616
60617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60618 evaluation.
60619
60620 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60621 values in the mantissa.
60622
60623 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60624 minimize writes to Z.
60625 (sub_magnitudes): Simplify code a bit.
60626
60627 2013-02-12 Roland McGrath <roland@hack.frob.com>
60628
60629 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60630 from the message. The linker prefixes all warnings with that already.
60631
60632 2013-02-12 Andreas Schwab <schwab@suse.de>
60633
60634 [BZ #15078]
60635 * posix/regexec.c (extend_buffers): Add parameter min_len.
60636 (check_matching): Pass minimum needed length.
60637 (clean_state_log_if_needed): Likewise.
60638 (get_subexp): Likewise.
60639 * posix/Makefile (tests): Add bug-regex34.
60640 (bug-regex34-ENV): Define.
60641 * posix/bug-regex34.c: New file.
60642
60643 [BZ #11561]
60644 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60645 elements compare against the byte sequence of it, not its name.
60646 * posix/Makefile (tests): Add bug-regex35.
60647 (bug-regex35-ENV): Define.
60648 * posix/bug-regex35.c: New file.
60649
60650 2013-02-11 Tom de Vries <tom@codesourcery.com>
60651
60652 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60653 comment.
60654 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60655 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60656 (CHECK_EOL): Add undef.
60657
60658 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60659
60660 * bits/stdlib-bsearch.h: New file.
60661 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60662 * stdlib/stdlib.h: Likewise.
60663
60664 2013-02-11 Roland McGrath <roland@hack.frob.com>
60665
60666 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60667 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60668 declaration.
60669 * manual/search.texi (Array Search Function): Add missing const in
60670 lfind prototype.
60671 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60672 declaration to use rlim_t.
60673 (Basic Scheduling Functions): Remove erroneous const from
60674 sched_getparam prototype. Remove erroneous * from
60675 sched_get_priority_max and sched_get_priority_min prototypes.
60676 (Resource Usage): Fix summary @comment on vtimes to refer to
60677 sys/vtimes.h rather than vtimes.h.
60678 Add missing *s in vtimes prototype.
60679 (Limits on Resources): Fix ulimit prototype to return long int.
60680 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60681 prototypes to use long int rather than double.
60682 (BSD Random): Fix initstate and setstate to use char *, not void *.
60683 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60684 prototype to make second argument 'struct aiocb64 *const[]'.
60685 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60686 (Status of AIO Operations): Remove erroneous const in aio_return and
60687 aio_return64 prototypes.
60688 (Synchronizing I/O): Fix sync prototype to return void.
60689 * manual/startup.texi (Suboptions): Remove an erroneous const in
60690 getsubopt prototype.
60691 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60692 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60693 use size_t rather than int.
60694 (Scanning All Users): Likewise for getpwent_r.
60695 (Setting Groups): Add missing const to setgroups prototype.
60696 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60697 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60698 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60699 'const void *' rather than 'const char *'.
60700 (Host Address Functions): Likewise for inet_ntop.
60701 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60702 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60703 ssize_t for return value.
60704 (Sending Data): Likewise for send, sendto, sendmsg.
60705 (Socket Option Functions): Add a missing const in setsockopt prototype.
60706 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60707 use wchar_t for the argument.
60708 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60709 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60710 take no arguments.
60711 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60712 double/float/long double for second argument.
60713 Fix return types of significand, significandf, significandl.
60714 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60715 argument in fchmod prototype.
60716 (File Owner): Use uid_t and gid_t in fchown prototype.
60717 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60718 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60719 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60720 use 'const struct dirent **' as argument types to CMP function pointer
60721 argument.
60722 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60723 (File Times): Fix summary magic @comment for struct utimbuf and utime
60724 to refer to utime.h, not time.h.
60725 * manual/string.texi (Argz Functions): Add missing const in
60726 argz_extract and argz_next prototypes.
60727 (Finding Tokens in a String): Likewise for basename.
60728 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60729 (Copying and Concatenation): Fix typo in wmemmove prototype.
60730 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60731 (Signal Stack): Remove erroneous const in sigstack prototype.
60732 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60733 prototype.
60734 (Simple Calendar Time): Likewise for stime.
60735 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60736 prototype.
60737 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60738 say sys/sysctl.h instead.
60739 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60740 and vsyslog prototypes.
60741
60742 2013-02-11 Tom de Vries <tom@codesourcery.com>
60743
60744 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60745 Remove.
60746
60747 2013-02-11 Roland McGrath <roland@hack.frob.com>
60748
60749 * misc/sys/mman.h: Fix typo in mremap comment.
60750
60751 2013-02-08 Roland McGrath <roland@hack.frob.com>
60752
60753 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60754 the '\0' terminator.
60755
60756 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60757
60758 [BZ #13550]
60759 * debug/segfault.c: Don't include <bp-checks.h>.
60760 * sysdeps/generic/bp-checks.h: Remove file.
60761 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60762 (__GETDENTS): Don't use CHECK_N.
60763 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60764 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60765 (__getgroups): Don't use CHECK_N.
60766 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60767 (setgroups): Don't use CHECK_N.
60768 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60769 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60770 (__libc_msgrcv): Don't use CHECK_N.
60771 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60772 (__libc_msgsnd): Don't use CHECK_N.
60773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60774 <bp-checks.h>.
60775 (__libc_pread): Don't use CHECK_N.
60776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60777 include <bp-checks.h>.
60778 (__libc_pread64): Don't use CHECK_N.
60779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60780 include <bp-checks.h>.
60781 (__libc_pwrite): Don't use CHECK_N.
60782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60783 include <bp-checks.h>.
60784 (__libc_pwrite64): Don't use CHECK_N.
60785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60786 <bp-checks.h>.
60787 (__libc_pread): Don't use CHECK_N.
60788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60789 include <bp-checks.h>.
60790 (__libc_pread64): Don't use CHECK_N.
60791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60792 include <bp-checks.h>.
60793 (__libc_pwrite): Don't use CHECK_N.
60794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60795 include <bp-checks.h>.
60796 (__libc_pwrite64): Don't use CHECK_N.
60797 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60798 (do_pread): Don't use CHECK_N.
60799 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60800 (do_pread64): Don't use CHECK_N.
60801 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60802 (do_pwrite): Don't use CHECK_N.
60803 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60804 (do_pwrite64): Don't use CHECK_N.
60805 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60806 (__libc_readv): Don't use CHECK_N.
60807 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60808 (semop): Don't use CHECK_N.
60809 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60810 <bp-checks.h>.
60811 (semtimedop): Don't use CHECK_N.
60812 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60813 (__libc_pread): Don't use CHECK_N.
60814 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60815 <bp-checks.h>.
60816 (__libc_pread64): Don't use CHECK_N.
60817 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60818 <bp-checks.h>.
60819 (__libc_pwrite): Don't use CHECK_N.
60820 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60821 <bp-checks.h>.
60822 (__libc_pwrite64): Don't use CHECK_N.
60823 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60824 <bp-checks.h>.
60825 (__libc_msgrcv): Don't use CHECK_N.
60826 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60827 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60828 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60829 (__libc_writev): Don't use CHECK_N.
60830
60831 2013-02-08 Roland McGrath <roland@hack.frob.com>
60832
60833 * string/strcpy.c: Removed unused variable.
60834
60835 * Makeconfig (+sysdep-includes): Define with := rather than =.
60836 Use an existing include/ subdir of each sysdeps dir before it.
60837
60838 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60839
60840 * nscd/connection.c (register_traced_file): Comment function.
60841 [HAVE_INOTIFY] (union __inev): Define.
60842 [HAVE_INOTIFY] (inotify_check_files): New function.
60843 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60844 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60845 clear_db_cache.
60846 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60847
60848 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60849
60850 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60851 loaded if not already and that a failure is permanent.
60852
60853 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60854
60855 [BZ #15006]
60856 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60857 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60858
60859 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60860
60861 [BZ #13550]
60862 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60863 (CHECK_1_NULL_OK): Likewise.
60864 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60865 (__fxstat): Do not use CHECK_1.
60866 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60867 <bp-checks.h>.
60868 (___fxstat64): Do not use CHECK_1.
60869 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60870 <bp-checks.h>.
60871 (__fxstatat): Do not use CHECK_1.
60872 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60873 <bp-checks.h>.
60874 (__fxstatat64): Do not use CHECK_1.
60875 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60876 <bp-checks.h>.
60877 (__fxstat): Do not use CHECK_1.
60878 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60879 <bp-checks.h>.
60880 (__fxstatat): Do not use CHECK_1.
60881 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60882 <bp-checks.h>.
60883 (__getresgid): Do not use CHECK_1.
60884 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60885 <bp-checks.h>.
60886 (__getresuid): Do not use CHECK_1.
60887 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60888 <bp-checks.h>.
60889 (__lxstat): Do not use CHECK_1.
60890 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60891 <bp-checks.h>.
60892 (__old_msgctl): Do not use CHECK_1.
60893 (__new_msgctl): Likewise.
60894 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60895 <bp-checks.h>.
60896 (__new_setrlimit): Do not use CHECK_1.
60897 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60898 <bp-checks.h>.
60899 (__old_shmctl): Do not use CHECK_1.
60900 (__new_shmctl): Likewise.
60901 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60902 <bp-checks.h>.
60903 (__xstat): Do not use CHECK_1.
60904 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60905 (__lxstat): Do not use CHECK_1.
60906 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60907 <bp-checks.h>.
60908 (___lxstat64): Do not use CHECK_1.
60909 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60910 (__old_msgctl): Do not use CHECK_1.
60911 (__new_msgctl): Likewise.
60912 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60913 <bp-checks.h>.
60914 (__gettimeofday): Do not use CHECK_1.
60915 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60916 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60917 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60918 <bp-checks.h>.
60919 (__gettimeofday): Do not use CHECK_1.
60920 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60921 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60922 (__new_shmctl): Do not use CHECK_1.
60923 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60924 <bp-checks.h>.
60925 (do_sigtimedwait): Do not use CHECK_1.
60926 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60927 <bp-checks.h>.
60928 (do_sigwaitinfo): Do not use CHECK_1.
60929 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60930 <bp-checks.h>.
60931 (msgctl): Do not use CHECK_1.
60932 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60933 <bp-checks.h>.
60934 (shmctl): Do not use CHECK_1.
60935 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60936 (ustat): Do not use CHECK_1.
60937 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60938 <bp-checks.h>.
60939 (__fxstat): Do not use CHECK_1.
60940 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60941 <bp-checks.h>.
60942 (__fxstatat): Do not use CHECK_1.
60943 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60944 <bp-checks.h>.
60945 (__lxstat): Do not use CHECK_1.
60946 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60947 <bp-checks.h>.
60948 (__xstat): Do not use CHECK_1.
60949 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60950 (__xstat): Do not use CHECK_1.
60951 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60952 (___xstat64): Do not use CHECK_1.
60953
60954 [BZ #13550]
60955 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60956 definitions.
60957 (CHECK_BOUNDS_HIGH): Likewise.
60958 * string/strcpy.c: Do not include <bp-checks.h>.
60959 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60960
60961 2013-02-07 Roland McGrath <roland@hack.frob.com>
60962
60963 * nscd/nscd-client.h (__nscd_drop_map_ref):
60964 Add __attribute__ ((unused)).
60965 * nis/nss-nisplus.h (niserr2nss): Likewise.
60966
60967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60968 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60969
60970 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60971 Remove inline keyword.
60972 * include/rounding-mode.h (round_away): Likewise.
60973 * libio/wfileops.c (adjust_wide_data): Likewise.
60974 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60975 (__m128i_strloadu_tolower): Likewise.
60976 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60977 (__m128i_strloadu_tolower): Likewise.
60978 * time/mktime.c (ydhms_diff): Likewise.
60979 * locale/elem-hash.h (elem_hash): Likewise.
60980 * locale/setlocale.c (setdata): Likewise.
60981 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60982 (re_string_wchar_at): Likewise.
60983 (bitset_not, bitset_merge, bitset_mask): Likewise.
60984 [!(__GNUC__ > 3)] (inline): Remove macro.
60985 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60986 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60987 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60988 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60989 * string/memcmp.c (memcmp_bytes): Likewise.
60990 * locale/programs/locarchive.c (compute_hashval): Likewise.
60991 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60992 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60993 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60994 * nss/getent.c (print_rpc, print_protocols): Likewise.
60995 (print_passwd, print_group, print_aliases): Likewise.
60996 * nis/nss-nisplus.h (niserr2nss): Likewise.
60997 * nscd/connections.c (restart_p): Likewise.
60998 Change return type to bool.
60999
61000 2013-02-05 Roland McGrath <roland@hack.frob.com>
61001
61002 * Makeconfig (all-Depend-files): Add existing
61003 $(sorted-subdirs:=/Depend) files.
61004 (all-subdirs): Remove nss.
61005 * sysdeps/unix/inet/Subdirs: Add it here instead.
61006 * hesiod/Depend: New file.
61007
61008 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61009 instead of calling alloca.
61010
61011 * io/lseek.c (__lseek): Rename to __libc_lseek.
61012 Define __lseek as an alias.
61013
61014 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61015
61016 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61017
61018 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61019 else clause and remove check for non-standard endianness.
61020
61021 2013-02-04 David S. Miller <davem@davemloft.net>
61022
61023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61024
61025 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61026
61027 [BZ #13550]
61028 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61029 (__ubp_memchr): Remove prototype.
61030 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61031 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61032 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61033 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61034 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61035 Remove alias.
61036 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61037 (__ubp_memchr): Likewise.
61038 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61039 (__ubp_memchr): Likewise.
61040 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61041 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61042 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61043 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61044 CHECK_STRING.
61045 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61046 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61047 (__getcwd): Do not use CHECK_STRING.
61048 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61049 <bp-checks.h>.
61050 (__real_chown): Do not use CHECK_STRING.
61051 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61052 <bp-checks.h>.
61053 (fchownat): Do not use CHECK_STRING.
61054 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61055 CHECK_STRING.
61056 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61057 <bp-checks.h>.
61058 (__lchown): Do not use CHECK_STRING.
61059 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61060 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61061 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61062 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61064 include <bp-checks.h>.
61065 (truncate64): Do not use CHECK_STRING.
61066 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61067 <bp-checks.h>.
61068 (__real_chown): Do not use CHECK_STRING.
61069 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61070 <bp-checks.h>.
61071 (__lchown): Do not use CHECK_STRING.
61072 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61073 <bp-checks.h>.
61074 (__chown): Do not use CHECK_STRING.
61075 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61076 <bp-checks.h>.
61077 (truncate64): Do not use CHECK_STRING.
61078 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61079 Likewise.
61080 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61081 (__xmknod): Do not use CHECK_STRING.
61082 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61083 <bp-checks.h>.
61084 (__xmknodat): Do not use CHECK_STRING.
61085 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61086 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61087
61088 2013-02-04 Andreas Schwab <schwab@suse.de>
61089
61090 [BZ #14142]
61091 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61092 * include/netdb.h: Likewise for h_errno.
61093 * elf/tst-stackguard1.c: Include <tls.h>.
61094
61095 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61096
61097 * elf/link.h (struct link_map): Extend the l_addr comment.
61098 * include/link.h (struct link_map): Likewise.
61099
61100 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61101
61102 [BZ #13550]
61103 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61104 (BOUNDED_1): Remove macro.
61105 * debug/backtrace.c: Don't include <bp-checks.h>.
61106 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61107 (__backtrace): Likewise.
61108 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61109 <bp-checks.h>.
61110 (__backtrace): Don't use BOUNDED_1.
61111 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61112 <bp-checks.h>.
61113 (__backtrace): Don't use BOUNDED_1.
61114 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61115 (__backtrace): Don't use BOUNDED_1.
61116 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61117 (shmat): Don't use BOUNDED_N.
61118
61119 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61120
61121 [BZ #13550]
61122 * sysdeps/generic/bp-start.h: Remove file.
61123 * csu/libc-start.c: Don't include <bp-start.h>.
61124 (LIBC_START_MAIN): Set up __environ directly instead of using
61125 INIT_ARGV_and_ENVIRON.
61126 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61127 <bp-start.h>.
61128
61129 [BZ #13550]
61130 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61131 definitions.
61132 (CHECK_FCNTL): Likewise.
61133 (CHECK_N_PAGES): Likewise.
61134
61135 [BZ #13550]
61136 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61137 definitions.
61138 (CHECK_SIGSET_NULL_OK): Likewise.
61139 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61140 <bp-checks.h>.
61141 (sigpending): Don't use CHECK_SIGSET.
61142 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61143 <bp-checks.h>.
61144 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61145 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61146 <bp-checks.h>.
61147 (do_sigsuspend): Don't use CHECK_SIGSET.
61148 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61149 use CHECK_SIGSET.
61150 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61151 (do_sigwait): Don't use CHECK_SIGSET.
61152 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61153 use CHECK_SIGSET.
61154 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61155 include <bp-checks.h>.
61156 (sigpending): Don't use CHECK_SIGSET.
61157 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61158 include <bp-checks.h>.
61159 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61160 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61161 <bp-checks.h>.
61162 (sigpending): Don't use CHECK_SIGSET.
61163 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61164 <bp-checks.h>.
61165 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61166
61167 [BZ #13550]
61168 * sysdeps/generic/bp-semctl.h: Remove file.
61169 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61170 <bp-checks.h> and <bp-semctl.h>.
61171 (__old_semctl): Don't use CHECK_SEMCTL.
61172 (__new_semctl): Likewise.
61173 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61174 and <bp-semctl.h>.
61175 (__old_semctl): Don't use CHECK_SEMCTL.
61176 (__new_semctl): Likewise.
61177 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61178 <bp-checks.h> and <bp-semctl.h>.
61179 (__old_semctl): Don't use CHECK_SEMCTL.
61180 (__new_semctl): Likewise.
61181 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61182 <bp-checks.h> and <bp-semctl.h>.
61183 (semctl): Don't use CHECK_SEMCTL.
61184
61185 [BZ #13550]
61186 * Makerules (elide-bp-thunks): Remove variable.
61187 (elide-routines.oS): Don't use $(elide-bp-thunks).
61188 (elide-routines.os): Likewise.
61189 (elide-routines.o): Likewise.
61190 (elide-routines.op): Likewise.
61191 (elide-routines.og): Likewise.
61192 (objects): Don't use $(bp-thunks).
61193 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61194 include.
61195 (common-generated): Do not add s-proto-bp.d.
61196 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61197 (int): Likewise.
61198 (typ): Likewise.
61199 Do not generate makefile rules for bounded-pointer thunks.
61200 * sysdeps/generic/bp-thunks.h: Remove file.
61201 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61202 * sysdeps/unix/s-proto-bp.S: Likewise.
61203
61204 [BZ #15062]
61205 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61206 parts of result separately when argument is not close to line from
61207 -i to i and one part of argument is small.
61208 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61209 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61210 * math/libm-test.inc (cacos_test): Add more tests.
61211 (casin_test): Likewise.
61212 (casinh_test): Likewise.
61213 * sysdeps/i386/fpu/libm-test-ulps: Update.
61214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61215
61216 2013-01-31 David S. Miller <davem@davemloft.net>
61217
61218 * po/de.po: Update from translation team.
61219
61220 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61221
61222 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61223
61224 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61225
61226 * configure.in (_AC_PROG_CC_C89): New definition.
61227 * configure: Regenerate.
61228
61229 * configure.in (AC_PROG_CPP): New definition.
61230 * configure: Regenerate.
61231
61232 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61233
61234 * debug/tst-backtrace.h: New file.
61235 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61236 (ret): Remove variable.
61237 (x): Likewise.
61238 (FAIL): Remove macro.
61239 (NO_INLINE): Likewise.
61240 (fn1): Use match function instead of strstr.
61241 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61242 (ret): Remove variable.
61243 (x): Likewise.
61244 (FAIL): Remove macro.
61245 (NO_INLINE): Likewise.
61246 (fn): Use match function instead of strstr.
61247 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61248 (ret): Remove variable.
61249 (x): Likewise.
61250 (FAIL): Remove macro.
61251 (NO_INLINE): Likewise.
61252 (handle_signal): Use match function instead of strstr.
61253 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61254 (ret): Remove variable.
61255 (x): Likewise.
61256 (FAIL): Remove macro.
61257 (NO_INLINE): Likewise.
61258 (handle_signal): Use match function instead of strstr.
61259
61260 2013-01-23 Roland McGrath <roland@hack.frob.com>
61261
61262 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61263
61264 2013-01-23 David S. Miller <davem@davemloft.net>
61265
61266 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61267 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61268 argument of CAS if possible.
61269 * sysdeps/sparc/sparc64/bits/atomic.h
61270 (__arch_compare_and_exchange_val_32_acq): Likewise.
61271 (__arch_compare_and_exchange_val_64_acq): Likewise.
61272
61273 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61274
61275 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61276 * sysdeps/posix/ulimit.c: ... this.
61277 Include <limits.h>.
61278 * sysdeps/unix/bsd/ulimit.c: Remove file.
61279
61280 2013-01-23 Adam Conrad <adconrad@0c3.net>
61281
61282 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61283 (LDFLAGS-tst-array5): Likewise.
61284
61285 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61286
61287 [BZ #15036]
61288 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61289 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61290 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61291 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61292
61293 2013-01-21 David S. Miller <davem@davemloft.net>
61294
61295 * sysdeps/sparc/backtrace.c: New file.
61296 * sysdeps/sparc/sparc32/backtrace.h: New file.
61297 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61298 * sysdeps/sparc/sparc64/backtrace.h: New file.
61299 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61300 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61301 -funwind-tables.
61302
61303 2013-01-21 Andreas Schwab <schwab@suse.de>
61304
61305 [BZ #15020]
61306 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61307 closed its stdout.
61308
61309 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61310
61311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61312 "mpa2.h".
61313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61314
61315 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61316 Mark Mitchell <mark@codesourcery.com>
61317 Tom de Vries <tom@codesourcery.com>
61318 Paul Pluzhnikov <ppluzhnikov@google.com>
61319
61320 * debug/tst-backtrace2.c: New file.
61321 * debug/tst-backtrace3.c: Likewise.
61322 * debug/tst-backtrace4.c: Likewise.
61323 * debug/tst-backtrace5.c: Likewise.
61324 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61325 (CFLAGS-tst-backtrace3.c): Likewise.
61326 (CFLAGS-tst-backtrace4.c): Likewise.
61327 (CFLAGS-tst-backtrace5.c): Likewise.
61328 (LDFLAGS-tst-backtrace2): Likewise.
61329 (LDFLAGS-tst-backtrace3): Likewise.
61330 (LDFLAGS-tst-backtrace4): Likewise.
61331 (LDFLAGS-tst-backtrace5): Likewise.
61332 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61333 tst-backtrace4 and tst-backtrace5.
61334
61335 2013-01-18 Anton Blanchard <anton@samba.org>
61336 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61337
61338 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61339 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61340 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61341 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61343 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61344 "+r" and remove output regs list as redundant. Add explicit inline
61345 asm to specify register of return val to work around compiler codegen
61346 bug. Remove (int) cast on return value. Add return type parameter to
61347 use in macro so that this macro does not truncate return value for
61348 64-bit values.
61349 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61350 pass to INTERNAL_VSYSCALL_NCS.
61351 (INLINE_VSYSCALL): Add 'long int' as return type to
61352 INTERNAL_VSYSCALL_NCS macro invocation.
61353 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61354 INTERNAL_VSYSCALL_NCS macro invocation.
61355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61356
61357 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61358
61359 [BZ #14496]
61360 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61361 Fix application of SIMD FP exception mask.
61362
61363 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61364 mp_no from a power of two.
61365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61366 __mpexp_twomm1. Use __pow_mp.
61367
61368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61369 multiplication.
61370
61371 2013-01-17 David S. Miller <davem@davemloft.net>
61372
61373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61374
61375 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61376
61377 [BZ #15023]
61378 * include/complex.h: Condition contents on [!_COMPLEX_H].
61379 (__kernel_casinhf): New prototype.
61380 (__kernel_casinh): Likewise.
61381 (__kernel_casinhl): Likewise.
61382 * math/Makefile (libm_calls): Add k_casinh.
61383 * math/k_casinh.c: New file.
61384 * math/k_casinhf.c: Likewise.
61385 * math/k_casinhl.c: Likewise.
61386 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61387 finite nonzero arguments.
61388 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61389 finite nonzero arguments.
61390 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61391 finite nonzero arguments.
61392 * math/s_casinh.c: Do not include <float.h>.
61393 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61394 * math/s_casinhf.c: Do not include <float.h>.
61395 (__casinhf): Move code for finite nonzero arguments to
61396 k_casinhf.c.
61397 * math/s_casinhl.c: Do not include <float.h>.
61398 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61399 redefine.
61400 (__casinhl): Move code for finite nonzero arguments to
61401 k_casinhl.c.
61402 * math/libm-test.inc (cacos_test): Add more tests.
61403 * sysdeps/i386/fpu/libm-test-ulps: Update.
61404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61405
61406 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61407
61408 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61409 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61410 [!HAVE_MREMAP]: Remove [defined linux] case.
61411 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61412
61413 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61414
61415 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61416
61417 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61418
61419 * elf/elf.h (R_386_SIZE32): New relocation.
61420 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61421 R_386_SIZE32.
61422 (elf_machine_rela): Likewise.
61423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61424 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61425
61426 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61427
61428 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61429 (FP_FAST_FMA): Do not define.
61430 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61431 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61432 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61433 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61434 !_SOFT_FLOAT]: Likewise.
61435 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61437 value.
61438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61439 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61440 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61442 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61443 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61444 file.
61445
61446 2013-01-16 Andreas Schwab <schwab@suse.de>
61447
61448 [BZ #14327]
61449 * include/stdlib.h (__mktemp): Add declaration.
61450 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61451 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61452
61453 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61454
61455 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61456 definitions.
61457 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61458 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61459 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61460 definitions here.
61461 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61462 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61463 definitions.
61464 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61465 and ONE.
61466 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61467 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61469 definitions.
61470 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61471 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61472 definitions.
61473 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61474
61475 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61476
61477 2013-01-15 David S. Miller <davem@davemloft.net>
61478
61479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61480 trunc{,f} to libm-sysdep_routes.
61481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61483 file.
61484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61486 file.
61487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61488 file.
61489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61491 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61492 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61493 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61495 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61496 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61497
61498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61499 nearbyint{,f} to libm-sysdep_routes.
61500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61502 New file.
61503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61504 file.
61505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61506 New file.
61507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61508 file.
61509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61512 file.
61513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61515 file.
61516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61517 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61518 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61519
61520 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61521 libc_feholdexcept and libc_fesetenv.
61522
61523 2013-01-15 Mike Frysinger <vapier@gentoo.org>
61524
61525 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61526
61527 2013-01-14 David S. Miller <davem@davemloft.net>
61528
61529 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61530 (SPARC_ASM_VIS2_IFUNC): Likewise.
61531 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61533 use of 'siam' instruction.
61534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61535 Likewise.
61536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61537 Likewise.
61538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61539 Likewise.
61540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61545 file.
61546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61547 file.
61548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61549 file.
61550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61551 file.
61552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61557 new VIS2 routines.
61558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61561 Likewise.
61562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61567 routines to libm-sysdep_routines.
61568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61569
61570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61571 fdim/fdimf to libm-sysdep_routines.
61572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61573 file.
61574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61576 file.
61577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61580 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61581 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61582 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61583 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61584
61585 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61586
61587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61588 to optimize copies.
61589
61590 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61593
61594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61595 local variable MPTWO.
61596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61597 Likewise.
61598
61599 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61600
61601 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61602 GLOB_NOESCAPE.
61603
61604 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61605
61606 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61607
61608 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61609
61610 * manual/pattern.texi (glob_t): Document gl_flags.
61611 (glob64_t): Likewise.
61612
61613 2013-01-11 David S. Miller <davem@davemloft.net>
61614
61615 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61616 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61617 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61618 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61619 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61620 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61621 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61622 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61623 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61624 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61625 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61626 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61627 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61628
61629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61630 sparc V9 rather than using V8 code.
61631 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61632 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61633
61634 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61635 Move to...
61636 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61637 Here.
61638
61639 2013-01-11 Roland McGrath <roland@hack.frob.com>
61640
61641 [BZ #14941]
61642 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61643 not in the main loop.
61644 * configure: Regenerated.
61645
61646 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61647
61648 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61649 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61650 to just #else.
61651 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61652 [!__GLIBC_HAVE_LONG_LONG] case.
61653 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61654 condition to just #else.
61655 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61656 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61657 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61658 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61659 unconditional.
61660 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61661 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61662 #elif condition to just #else.
61663 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61664 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61665 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61666 #elif condition to just #else.
61667
61668 2013-01-11 Steve Ellcey <sellcey@mips.com>
61669
61670 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61671 (EF_MIPS_ARCH_64): Fix value.
61672 (EF_MIPS_ARCH_32R2): New.
61673 (EF_MIPS_ARCH_64R2): New.
61674
61675 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61676
61677 * Makeconfig (+link-pie-before-libc): New.
61678 (+link-pie-after-libc): Likewise.
61679 (+link-pie-tests): Likewise.
61680 (+link-pie): Rewritten.
61681 (link-before-libc): Remove $(config-LDFLAGS).
61682 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61683 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61684 (config-LDFLAGS): Renamed to ...
61685 (rtld-LDFLAGS): This.
61686 (rtld-tests-LDFLAGS): New macro.
61687 (link-libc-rpath-link): Likewise.
61688 (link-libc-tests-rpath-link): Likewise.
61689 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61690 (link-libc): Prepand $(link-libc-rpath-link).
61691 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61692 (test-program-prefix): New macro.
61693 (test-via-rtld-prefix): Likewise.
61694 (test-program-cmd): Likewise.
61695 (host-test-program-cmd): Likewise.
61696 * Makefile ($(common-objpfx)testrun.sh): Replace
61697 $(run-program-prefix) with $(test-program-prefix).
61698 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61699 $(rtld-LDFLAGS).
61700 ($(common-objpfx)shlib.lds): Likewise.
61701 (build-module-helper): Likewise.
61702 ($(common-objpfx)format.lds): Likewise.
61703 * Rules (binaries-pie-tests): New.
61704 (binaries-pie-notests): Likewise.
61705 (binaries-pie): Rewritten.
61706 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61707 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61708 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61709 (make-test-out): Replace $(host-built-program-cmd) with
61710 $(host-test-program-cmd).
61711 * config.make.in (build-hardcoded-path-in-tests): New variable.
61712 * configure.in (--enable-hardcoded-path-in-tests): New configure
61713 option.
61714 (hardcoded_path_in_tests): New AC_SUBST.
61715 * configure: Regenerated.
61716 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61717 $(built-program-cmd) with $(test-program-cmd).
61718 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61719 (test_program_cmd): This.
61720 * elf/Makefile ($(objpfx)order.out): Run test with
61721 $(test-program-prefix).
61722 ($(objpfx)order2.out): Likewise.
61723 ($(objpfx)tst-initorder.out): Likewise.
61724 ($(objpfx)tst-initorder2.out): Likewise.
61725 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61726 $(test-program-cmd).
61727 ($(objpfx)tst-array1-static.out): Likewise.
61728 ($(objpfx)tst-array2.out): Likewise.
61729 ($(objpfx)tst-array3.out): Likewise.
61730 ($(objpfx)tst-array4.out): Likewise.
61731 ($(objpfx)tst-array5.out): Likewise.
61732 ($(objpfx)tst-array5-static.out): Likewise.
61733 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61734 $(test-program-cmd).
61735 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61736 $(run-program-prefix) with $(test-program-prefix).
61737 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61738 (test_program_prefix): This.
61739 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61740 $(run-program-prefix) with $(test-program-prefix).
61741 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61742 (test_program_prefix): This.
61743 * iconvdata/tst-tables.sh: Likewise.
61744 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61745 $(run-program-prefix) with $(test-program-prefix).
61746 ($(objpfx)tst-translit.out): Likewise.
61747 ($(objpfx)tst-gettext2.out): Likewise.
61748 ($(objpfx)tst-gettext4.out): Likewise.
61749 ($(objpfx)tst-gettext6.out): Likewise.
61750 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61751 (test_program_prefix): This.
61752 * intl/tst-gettext2.sh: Likewise.
61753 * intl/tst-gettext4.sh Likewise.
61754 * intl/tst-gettext6.sh: Likewise.
61755 * intl/tst-translit.sh: Likewise.
61756 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61757 with $(test-program-cmd).
61758 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61759 $(run-program-prefix) with $(test-program-prefix).
61760 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61761 (test_program_prefix): This.
61762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61763 $(run-program-prefix) with $(test-program-prefix).
61764 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61765 (test_program_prefix): This.
61766 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61767 * posix/Makefile ($(objpfx)globtest.out): Replace
61768 $(run-via-rtld-prefix) and $(test-wrapper) with
61769 $(test-program-prefix) and $(test-via-rtld-prefix).
61770 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61771 $(test-program-prefix).
61772 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61773 $(host-test-program-cmd).
61774 (tst-spawn-ARGS): Likewise.
61775 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61776 $(test-program-prefix).
61777 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61778 (test_via_rtld_prefix): This.
61779 (test_wrapper): Renamed to ...
61780 (test_program_prefix): This.
61781 (run_program_prefix): Replaced by test_program_prefix.
61782 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61783 (test_program_prefix): This.
61784 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61785 with $(host-test-program-cmd).
61786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61787 $(run-program-prefix) with $(test-program-prefix).
61788 ($(objpfx)tst-printf.out): Likewise.
61789 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61790 $(test-program-cmd).
61791 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61792 (test_program_prefix): This.
61793 * stdio-common/tst-unbputc.sh: Likewise.
61794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61795 $(run-program-prefix) with $(test-program-prefix).
61796 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61797 (test_program_prefix): This.
61798 * string/Makefile ($(objpfx)tst-svc.out): Replace
61799 $(built-program-cmd) with $(test-program-cmd).
61800
61801 2013-01-11 Andreas Jaeger <aj@suse.de>
61802
61803 [BZ #15003]
61804 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61805 value. Sync with Linux 3.7.
61806
61807 2013-01-10 David S. Miller <davem@davemloft.net>
61808
61809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61812
61813 2013-01-10 Roland McGrath <roland@hack.frob.com>
61814
61815 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61816 never set.
61817 * configure: Regenerated.
61818
61819 2013-01-10 David S. Miller <davem@davemloft.net>
61820
61821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61822 sparc V9 rather than using V8 code.
61823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61825
61826 2013-01-10 Roland McGrath <roland@hack.frob.com>
61827
61828 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61829 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61830 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61831 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61832 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61833 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61834 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61835 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61836 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61837 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61838 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61839 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61840 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61841 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61842 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61843 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61844 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61845 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61846 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61847 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61848 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61849 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61850 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61851 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61852 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61853 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61854 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61855
61856 2013-01-10 David S. Miller <davem@davemloft.net>
61857
61858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61859
61860 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61861
61862 * posix/Makefile (tests-static): New variable.
61863 (tests): Add $(tests-static).
61864 (tst-exec-static-ARGS): New variable.
61865 (tst-spawn-static-ARGS): Likewise.
61866 * posix/tst-exec-static.c: New file.
61867 * posix/tst-spawn-static.c: Likewise.
61868 * posix/tst-exec.c: Support run directly.
61869 * posix/tst-spawn.c: Likewise.
61870
61871 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61872
61873 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61874 long.
61875 * math/bits/mathcalls.h (llrint): Likewise.
61876 (llround): Likewise.
61877 * stdlib/stdlib.h (struct drand48_data): Likewise.
61878 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61879 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61881 Likewise.
61882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61883 Likewise.
61884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61885 (elf_greg_t): Likewise.
61886 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61887 (__jmp_buf): Likewise.
61888 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61889 definitions.
61890 (llrint): Likewise, for all definitions.
61891 (llrintl): Likewise.
61892
61893 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61894 Remove [__GNUC__] condition.
61895 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61896 condition to just [__USE_ISOC99].
61897 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61898
61899 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61900
61901 [BZ #14200]
61902 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61903 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61904 defined.
61905 (_POSIX_V6_ILP32_OFF32): Likewise.
61906 (_XBS5_ILP32_OFF32): Likewise.
61907 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61908 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61909
61910 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61911
61912 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61913
61914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61915 doubles __mpexp_twomm1. Adjust usage.
61916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61917 Remove.
61918
61919 2013-01-10 Andreas Schwab <schwab@suse.de>
61920
61921 [BZ #14964]
61922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61923 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61924
61925 2013-01-09 David S. Miller <davem@davemloft.net>
61926
61927 [BZ #15003]
61928 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61929 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61930 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61931 (TCP_FASTOPEN): Define.
61932 (tcp_repair_opt): New structure.
61933 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61934 enum values.
61935 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61936 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61937 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61938 (tcp_cookie_transactions): New structure.
61939
61940 2013-01-09 Anton Blanchard <anton@samba.org>
61941
61942 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61946
61947 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61948
61949 * include/features.h (__USE_ANSI): Remove.
61950
61951 2013-01-09 Roland McGrath <roland@hack.frob.com>
61952
61953 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61954
61955 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61956
61957 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61958
61959 * sysdeps/s390/fpu/libm-test-ulps: Update.
61960
61961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61962
61963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61964 (__acr): Likewise.
61965 (__cpy): Likewise.
61966 (norm): Likewise.
61967 (denorm): Likewise.
61968 (__mp_dbl): Likewise.
61969 (__dbl_mp): Likewise.
61970 (add_magnitudes): Likewise.
61971 (sub_magnitudes): Likewise.
61972 (__add): Likewise.
61973 (__sub): Likewise.
61974 (__mul): Likewise.
61975 (__inv): Likewise.
61976 (__dvd): Likewise.
61977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61978 (__acr): Likewise.
61979 (__cpy): Likewise.
61980 (norm): Likewise.
61981 (denorm): Likewise.
61982 (__mp_dbl): Likewise.
61983 (__dbl_mp): Likewise.
61984 (add_magnitudes): Likewise.
61985 (sub_magnitudes): Likewise.
61986 (__add): Likewise.
61987 (__sub): Likewise.
61988 (__mul): Likewise.
61989 (__inv): Likewise.
61990 (__dvd): Likewise.
61991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61992 (__acr): Likewise.
61993 (__cpy): Likewise.
61994 (norm): Likewise.
61995 (denorm): Likewise.
61996 (__mp_dbl): Likewise.
61997 (__dbl_mp): Likewise.
61998 (add_magnitudes): Likewise.
61999 (sub_magnitudes): Likewise.
62000 (__add): Likewise.
62001 (__sub): Likewise.
62002 (__mul): Likewise.
62003 (__inv): Likewise.
62004 (__dvd): Likewise.
62005
62006 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62007
62008 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62009 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62010 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62011 2 && __USE_EXTERN_INLINES]: Likewise.
62012
62013 2013-01-08 Andreas Jaeger <aj@suse.de>
62014
62015 [BZ# 14985]
62016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62017 Remove.
62018 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62020
62021 2013-01-07 Anton Blanchard <anton@samba.org>
62022
62023 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62024 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62025 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62029 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62047 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62065 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62066
62067 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62068
62069 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62070 (__MALLOC_PMT): Likewise.
62071 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62072 [__GNUC__], only on [_LIBC].
62073 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62074 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62075 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62076 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62077 forward declaration.
62078 (realloc_hook_ini): Likewise.
62079 (memalign_hook_ini): Likewise.
62080 (__libc_memalign): Do not use __MALLOC_PMT in variable
62081 declaration.
62082 (__libc_valloc): Likewise.
62083 (__libc_pvalloc): Likewise.
62084 (__libc_calloc): Likewise.
62085 (__posix_memalign): Likewise.
62086
62087 [BZ #14996]
62088 * math/s_casinh.c: Include <float.h>.
62089 (__casinh): Do not do computation with squaring and square root
62090 for large arguments.
62091 * math/s_casinhf.c: Include <float.h>.
62092 (__casinhf): Do not do computation with squaring and square root
62093 for large arguments.
62094 * math/s_casinhl.c: Include <float.h>.
62095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62096 (__casinhl): Do not do computation with squaring and square root
62097 for large arguments.
62098 * math/libm-test.inc (casin_test): Add more tests.
62099 (casinh_test): Likewise.
62100 * sysdeps/i386/fpu/libm-test-ulps: Update.
62101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62102
62103 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62104
62105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62106 (__x86_64_raw_data_cache_size): Likewise.
62107 (__x86_64_data_cache_size_half): Likewise.
62108 (__x86_64_raw_data_cache_size_half): Likewise.
62109 (__x86_64_shared_cache_size): Likewise.
62110 (__x86_64_raw_shared_cache_size): Likewise.
62111 (__x86_64_shared_cache_size_half): Likewise.
62112 (__x86_64_raw_shared_cache_size_half): Likewise.
62113 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62114 to ...
62115 (__x86_data_cache_size): This.
62116 (__x86_64_raw_data_cache_size): Renamed to ...
62117 (__x86_raw_data_cache_size): This.
62118 (__x86_64_data_cache_size_half): Renamed to ...
62119 (__x86_data_cache_size_half): This.
62120 (__x86_64_raw_data_cache_size_half): Renamed to ...
62121 (__x86_raw_data_cache_size_half): This.
62122 (__x86_64_shared_cache_size): Renamed to ...
62123 (__x86_shared_cache_size): This.
62124 (__x86_64_raw_shared_cache_size): Renamed to ...
62125 (__x86_raw_shared_cache_size): This.
62126 (__x86_64_shared_cache_size_half): Renamed to ...
62127 (__x86_shared_cache_size_half): This.
62128 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62129 (__x86_raw_shared_cache_size_half): This.
62130 * sysdeps/x86_64/memcpy.S: Updated.
62131 * sysdeps/x86_64/memset.S: Likewise.
62132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62135
62136 2013-01-04 David S. Miller <davem@davemloft.net>
62137
62138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62139
62140 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62141
62142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62143 1 to avoid redefinition warning.
62144 (__USE_GNU): Don't define.
62145 (init_signaling_nan): Protoize.
62146
62147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62148
62149 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62150
62151 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62153 (__cpymn): Likewise.
62154 (norm): Remove commented code.
62155 (denorm): Likewise.
62156 (__mp_dbl): Likewise.
62157 (__inv): Likewise.
62158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62159 (__cpymn): Likewise.
62160 (norm): Remove commented code.
62161 (denorm): Likewise.
62162 (__mp_dbl): Likewise.
62163 (__inv): Likewise.
62164
62165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62166 mp_no value for 1.0 and 2.0.
62167 (norm): Use RADIXI instead of radixi.d.
62168 (denorm): Likewise.
62169 (__mul): Use 0.0 instead of zero.d.
62170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62171 mp_no value for 1.0 and 2.0.
62172 (norm): Use RADIXI instead of radixi.d.
62173 (denorm): Likewise.
62174 (__mul): Use 0.0 instead of zero.d.
62175
62176 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62177
62178 [BZ #14994]
62179 * math/s_casinh.c (__casinh): Reduce finite argument to first
62180 quadrant then set signs of results at the end.
62181 * math/s_casinhf.c (__casinhf): Likewise.
62182 * math/s_casinhl.c (__casinhl): Likewise.
62183 * math/libm-test.inc (casin_test): Add more tests.
62184 (casinh_test): Likewise.
62185 * sysdeps/i386/fpu/libm-test-ulps: Update.
62186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62187
62188 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62189
62190 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62191
62192 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62193
62194 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62195 declarations.
62196 (denorm): Likewise.
62197 (__mp_dbl): Likewise.
62198 (__inv): Likewise.
62199
62200 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62201 and adjust the header comment.
62202
62203 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62204 variable name from declaration.
62205
62206 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62207
62208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62209 Initialize COMMON_CPUID_INDEX_7 element.
62210 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62211 (CPUID_RTM): Likewise.
62212 (HAS_RTM): Likewise.
62213 (COMMON_CPUID_INDEX_7): New enum.
62214
62215 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62216
62217 [BZ #14981]
62218 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62219 size is zero, record memory as freed.
62220
62221 2013-01-03 Andreas Jaeger <aj@suse.de>
62222
62223 * po/ia.po: Add new Interlingua translation.
62224
62225 2012-01-03 Allan McRae <allan@archlinux.org>
62226
62227 * locale/programs/localedef.c: Fix description of '--posix' flag.
62228
62229 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62230
62231 * NEWS: Update dates in second copyright notice.
62232 * README: Update copyright dates in example.
62233 * manual/libc.texinfo: Update copyright dates.
62234 * scripts/test-installation.pl: Update copyright date in --version
62235 output.
62236
62237 * hurd/ctty-input.c: Fix copyright notice formatting.
62238 * hurd/ctty-output.c: Likewise.
62239 * hurd/dtable.c: Likewise.
62240 * hurd/hurd-raise.c: Likewise.
62241 * hurd/hurdprio.c: Likewise.
62242 * hurd/msgportdemux.c: Likewise.
62243 * misc/sys/file.h: Likewise.
62244 * misc/sys/ioctl.h: Likewise.
62245 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62246 * sysdeps/mach/hurd/chdir.c: Likewise.
62247 * sysdeps/mach/hurd/fchdir.c: Likewise.
62248 * sysdeps/mach/hurd/rename.c: Likewise.
62249 * sysdeps/mach/hurd/rmdir.c: Likewise.
62250 * sysdeps/mach/hurd/seekdir.c: Likewise.
62251 * sysdeps/mach/hurd/setsid.c: Likewise.
62252 * sysdeps/posix/wait3.c: Likewise.
62253
62254 * All files with FSF copyright notices: Update copyright dates
62255 using scripts/update-copyrights.
62256 * intl/plural.c: Regenerated.
62257 * locale/programs/charmap-kw.h: Likewise.
62258 * locale/programs/locfile-kw.h: Likewise.
62259
62260 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62261
62262 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62263 four values.
62264
62265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62266 calculation loop and add branch prediction.
62267
62268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62269 check access beyond bounds of m1np.
62270
62271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62272 MPTWO.
62273 (__inv): Remove local variable MPTWO to use the global
62274 constant.
62275 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62277 variable MPTWO.
62278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62279 MP3HALFS static const.
62280
62281 2013-01-01 David S. Miller <davem@davemloft.net>
62282
62283 * po/ca.po: Update from translation team.
62284
62285 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62286
62287 * scripts/update-copyrights: New file.
62288 * Makeconfig: Reformat copyright notice.
62289 * ctype/ctype.h: Likewise.
62290 * debug/swprintf_chk.c: Likewise.
62291 * elf/dl-cache.c: Likewise.
62292 * elf/dl-debug.c: Likewise.
62293 * elf/dl-object.c: Likewise.
62294 * grp/initgroups.c: Likewise.
62295 * hurd/Makefile: Likewise.
62296 * hurd/hurd/signal.h: Likewise.
62297 * hurd/hurdfault.c: Likewise.
62298 * hurd/hurdioctl.c: Likewise.
62299 * hurd/hurdlookup.c: Likewise.
62300 * hurd/intr-msg.c: Likewise.
62301 * iconv/gconv_open.c: Likewise.
62302 * libio/swprintf.c: Likewise.
62303 * locale/lc-ctype.c: Likewise.
62304 * locale/nl_langinfo.c: Likewise.
62305 * mach/Machrules: Likewise.
62306 * mach/Makefile: Likewise.
62307 * malloc/obstack.h: Likewise.
62308 * manual/Makefile: Likewise.
62309 * manual/tsort.awk: Likewise.
62310 * misc/bits/stab.def: Likewise.
62311 * nis/nis_print_group_entry.c: Likewise.
62312 * nis/nis_table.c: Likewise.
62313 * nis/nss_compat/compat-pwd.c: Likewise.
62314 * nis/nss_compat/compat-spwd.c: Likewise.
62315 * po/Makefile: Likewise.
62316 * posix/fnmatch.c: Likewise.
62317 * posix/regex.h: Likewise.
62318 * resolv/Makefile: Likewise.
62319 * resolv/nss_dns/dns-network.c: Likewise.
62320 * resolv/res_hconf.c: Likewise.
62321 * scripts/gen-sorted.awk: Likewise.
62322 * soft-fp/soft-fp.h: Likewise.
62323 * stdio-common/printf.h: Likewise.
62324 * stdlib/monetary.h: Likewise.
62325 * stdlib/random.c: Likewise.
62326 * stdlib/random_r.c: Likewise.
62327 * sysdeps/generic/Makefile: Likewise.
62328 * sysdeps/gnu/Makefile: Likewise.
62329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62353 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62355 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62356 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62357 * sysdeps/mach/hurd/errnos.awk: Likewise.
62358 * sysdeps/mach/hurd/fork.c: Likewise.
62359 * sysdeps/mach/hurd/getcwd.c: Likewise.
62360 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62361 * sysdeps/mach/hurd/mmap.c: Likewise.
62362 * sysdeps/mach/hurd/utimes.c: Likewise.
62363 * sysdeps/mach/hurd/xmknod.c: Likewise.
62364 * sysdeps/posix/profil.c: Likewise.
62365 * sysdeps/posix/readdir_r.c: Likewise.
62366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62367 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62369 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62377 * sysdeps/pthread/lio_listio.c: Likewise.
62378 * sysdeps/sparc/dl-procinfo.h: Likewise.
62379 * sysdeps/unix/i386/sysdep.S: Likewise.
62380 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62381 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62382 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62383 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62385 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62386 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62387 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62388 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62389 * sysdeps/wordsize-32/divdi3.c: Likewise.
62390 * time/sys/time.h: Likewise.
62391 * wcsmbs/Makefile: Likewise.
62392
62393 2013-01-01 David S. Miller <davem@davemloft.net>
62394
62395 * po/fr.po: Update from translation team.
62396
62397 * catgets/gencat.c: Update copyright year.
62398 * csu/version.c: Likewise.
62399 * debug/catchsegv.sh: Likewise.
62400 * debug/pcprofiledump.c: Likewise.
62401 * debug/xtrace.sh: Likewise.
62402 * elf/ldconfig.c: Likewise.
62403 * elf/ldd.bash.in: Likewise.
62404 * elf/pldd.c: Likewise.
62405 * elf/sotruss.ksh: Likewise.
62406 * elf/sprof.c: Likewise.
62407 * iconv/iconv_prog.c: Likewise.
62408 * iconv/iconvconfig.c: Likewise.
62409 * locale/programs/locale.c: Likewise.
62410 * locale/programs/localedef.c: Likewise.
62411 * login/programs/pt_chown.c: Likewise.
62412 * malloc/memusage.sh: Likewise.
62413 * malloc/memusagestat.c: Likewise.
62414 * malloc/mtrace.pl: Likewise.
62415 * nscd/nscd.c: Likewise.
62416 * nss/getent.c: Likewise.
62417 * nss/makedb.c: Likewise.
62418 * posix/getconf.c: Likewise.
62419
62420 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62421
62422 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62423 numbers.
62424
62425 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62426
62427 * math/bits/mathcalls.h (modf): Use __nonnull.
62428
62429 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62430
62431 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62432 (split): Use macro CN instead of the bare value.
62433 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62434 could be used.
62435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62436 instead of the bare value.
62437 (power1): Likewise.
62438
62439 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62440
62441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62442 __ATAN_TWOM.
62443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62444
62445 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62446 their values.
62447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62449 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62450 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62451
62452 2012-12-28 Andreas Jaeger <aj@suse.de>
62453
62454 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62455 values are from Linux 3.7.
62456
62457 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62458 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62459
62460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62461
62462 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62463 TRUE case.
62464
62465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62466 (norm): Likewise.
62467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62468 variables with preprocessor constants.
62469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62472
62473 2012-12-27 Bruno Haible <bruno@clisp.org>
62474
62475 [BZ #14317]
62476 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62477 only if needed.
62478
62479 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62480
62481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62482 and use variable directly.
62483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62484
62485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62486 MPONE.
62487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62489 variable MPONE.
62490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62492 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62493 include directive. Remove local variable MPONE.
62494 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62497
62498 2012-12-25 David S. Miller <davem@davemloft.net>
62499
62500 * version.h (RELEASE): Set to "development".
62501 (VERSION): Set to "2.17.90".
62502 * NEWS: Add 2.18 section.
62503
62504 2012-12-21 David S. Miller <davem@davemloft.net>
62505
62506 * po/hr.po: Update from translation team.
62507
62508 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62509
62510 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62511
62512 2012-12-19 Steve Ellcey <sellcey@mips.com>
62513
62514 * NEWS: Mention new memcpy for MIPS.
62515
62516 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62517
62518 * manual/contrib.texi (Contributors): Spelling correction.
62519
62520 2012-12-15 David S. Miller <davem@davemloft.net>
62521
62522 * po/ru.po: Update from translation team.
62523
62524 2012-12-13 David S. Miller <davem@davemloft.net>
62525
62526 * NEWS: Mention IFUNC testsuite enhancements.
62527
62528 * po/pl.po: Update from translation team.
62529 * po/bg.po: Likewise.
62530
62531 * manual/contrib.texi (Contributors): Update entries for Hongjiu
62532 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
62533
62534 2012-12-11 David S. Miller <davem@davemloft.net>
62535
62536 * po/sv.po: Update from translation team.
62537
62538 * po/vi.po: Update from translation team.
62539
62540 * po/cs.po: Update from translation team.
62541
62542 * po/de.po: Update from translation team.
62543 * po/eo.po: Likewise.
62544 * po/nl.po: Likewise.
62545
62546 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62547
62548 [BZ #14246]
62549 * manual/argp.texi (Argp Helper Functions): Move node to follow
62550 Argp Parsing State.
62551
62552 [BZ #14872]
62553 * manual/conf.texi (Limits on File System Capacity): Mention if
62554 terminating null is included in the max size.
62555
62556 2012-12-10 Andreas Jaeger <aj@suse.de>
62557
62558 * po/cs.po: Update from translation team.
62559
62560 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62561
62562 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62563 void pointer and cast to uintptr_t.
62564 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62565 path.
62566 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62567 * sysdeps/s390/s390-64/memset.S: Likewise.
62568
62569 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62570
62571 [BZ #14833]
62572 * menual/message.texi (Message Translation): Fix typos.
62573 (Helper programs for gettext): Likewise.
62574
62575 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62576
62577 [BZ #14898]
62578 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62579 Change to -1.
62580
62581 2012-12-07 David S. Miller <davem@davemloft.net>
62582
62583 * po/libc.pot: Update.
62584
62585 2012-12-07 Richard Henderson <rth@redhat.com>
62586
62587 [BZ #10114]
62588 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62589 normal/normal case to before the switch.
62590 (_FP_DIV): Likewise.
62591
62592 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62593 Mike Frysinger <vapier@gentoo.org>
62594
62595 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62596 check for __NR_fadvise64_64.
62597
62598 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62599
62600 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62601 0, not just to plain "0" as a statement.
62602 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62603 with cw.
62604
62605 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62606
62607 * NEWS: Use sourceware.org in Bugzilla URL.
62608
62609 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62610
62611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62613
62614 * stdio-common/tst-put-error.c (do_test): Add newline to the
62615 padded test to ensure flush.
62616
62617 2012-12-05 Jeff Law <law@redhat.com>
62618
62619 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62620
62621 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62622
62623 * README: Don't refer to ports add-on as distributed separately.
62624 Mention AArch64 in list of systems supported in the ports add-on.
62625
62626 * LICENSES: Add more non-FSF copyright and license notices.
62627
62628 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62629 ((unused)).
62630
62631 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62632
62633 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62634 10000 as width of padded output.
62635
62636 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62637
62638 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62639
62640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62641 variable LX with __attribute__ ((unused)).
62642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62643 Likewise.
62644 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62647 with __attribute__ ((unused)).
62648
62649 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62650
62651 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62652
62653 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62654
62655 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62656 (CFLAGS-nldbl-acos.c): New variable.
62657 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62658 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62659 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62660 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62661 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62662 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62663 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62664 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62665 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62666 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62667 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62668 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62669 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62670 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62671 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62672 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62673 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62674 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62675 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62676 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62677 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62678 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62679 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62680 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62681 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62682 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62683 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62684 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62685 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62686 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62687 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62688 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62689 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62690 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62691 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62692 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62693 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62694 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62695 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62696 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62697 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62698 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62699 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62700 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62701 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62702 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62703 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62704 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62705 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62706 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62707 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62708 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62709 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62710 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62711 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62712 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62713 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62714 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62715 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62716 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62717 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62718 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62719 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62720 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62721 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62722 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62723 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62724 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62725 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62726 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62727 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62728 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62729 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62730 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62731 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62732 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62733 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62734 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62735 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62736 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62737 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62738 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62739 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62740 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62741 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62742 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62743 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62744 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62745 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62746 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62747 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62748 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62749 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62750 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62751 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62752 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62753 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62754
62755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62757
62758 [BZ #14914]
62759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62760 whole low double instead of just low 47 bits when splitting values
62761 into two parts.
62762
62763 2012-12-03 Allan McRae <allan@archlinux.org>
62764
62765 * manual/stdio.texi (Predefined Printf Handlers): Remove
62766 @hsep and @vsep usage.
62767
62768 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62769
62770 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62771 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62772
62773 2012-12-03 Jeff Law <law@redhat.com>
62774
62775 * time/sys/time.h (settimeofday): Do not mark TV argument
62776 as __nonnull.
62777
62778 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62779
62780 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62781 when currently writing and seek to current position when not.
62782 * libio/Makefile (tests): Remove bug-fclose1.
62783 * libio/bug-fclose1.c: Delete.
62784
62785 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62786
62787 * manual/arith.texi (feenableexcept): Fix typo.
62788 (fedisableexcept): Likewise.
62789
62790 2012-11-30 Roland McGrath <roland@hack.frob.com>
62791
62792 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62793 second, differently-typed declaration, rather than a cast.
62794
62795 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62796
62797 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62798 * include/rpc/svc.h: ... here.
62799
62800 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62801
62802 [BZ #13013]
62803 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62804 depending n and resplen2 to catch cases where answer
62805 equals answerp2.
62806
62807 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62808
62809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62810 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62811
62812 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62813
62814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62815
62816 2012-11-29 Roland McGrath <roland@hack.frob.com>
62817
62818 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62819
62820 2012-11-28 Jeff Law <law@redhat.com>
62821
62822 [BZ #13761]
62823 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62824 dataset_temporary. Track alloca usage into alloca_used.
62825 If dataset is large allocate and release it via malloc/free.
62826
62827 2012-06-04 Florian Weimer <fweimer@redhat.com>
62828
62829 [BZ #14197]
62830 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62831
62832 2012-11-28 David S. Miller <davem@davemloft.net>
62833
62834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62835
62836 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62837
62838 [BZ #14803]
62839 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62840 of pi/2 rounded to nearest to 64 bits.
62841 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62842 nearest to 64 bits.
62843 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62844 bits.
62845
62846 2012-11-28 Jeff Law <law@redhat.com>
62847 Martin Osvald <mosvald@redhat.com>
62848
62849 [BZ #14889]
62850 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62851 * sunrpc/svc.c: Include time.h.
62852 (__svc_accept_failed): New function.
62853 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62854 any reason other than EINTR, call __svc_accept_failed.
62855 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62856 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62857
62858 2012-11-28 Andreas Schwab <schwab@suse.de>
62859
62860 * scripts/abilist.awk: Also handle indirect functions in .opd
62861 section.
62862
62863 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62864
62865 [BZ #13881]
62866 * sysdeps/x86/fpu/powl_helper.c: New file.
62867 * sysdeps/x86/fpu/Makefile: Likewise.
62868 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62869 (p3): New object.
62870 (__ieee754_powl): Use __powl_helper for finite arguments except
62871 integer exponents below 8.
62872 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62873 (p3): New object.
62874 (__ieee754_powl): Use __powl_helper for finite arguments except
62875 integer exponents below 8.
62876 * math/libm-test.inc (pow_test): Add more tests and enable some
62877 previously disabled tests.
62878 * sysdeps/i386/fpu/libm-test-ulps: Update.
62879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62880
62881 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62882 Carlos O'Donell <carlos_odonell@mentor.com>
62883
62884 * nss/makedb.c (is_prime): Assert that input is odd and greater
62885 than 4. Note that fact in a comment too.
62886 (next_prime): Add 4 to input.
62887
62888 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62889
62890 [BZ #11741]
62891 * libio/Makefile (tests): Add test case tst-fwrite-error.
62892 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62893 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62894 * libio/tst-fwrite-error.c: New test case.
62895
62896 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62897
62898 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62899 before casting to void *.
62900 * include/libc-internal.h (__pointer_type): New macro.
62901 (__integer_if_pointer_type_sub): Likewise.
62902 (__integer_if_pointer_type): Likewise.
62903 (cast_to_integer): Likewise.
62904 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62905 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62906 before casting to atomic64_t.
62907 (atomic_exchange_acq): Likewise.
62908 (__arch_exchange_and_add_body): Likewise.
62909 (__arch_add_body): Likewise.
62910 (atomic_add_negative): Likewise.
62911 (atomic_add_zero): Likewise.
62912
62913 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62914
62915 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62916 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62917 (add_fdes): Likewise.
62918 (linear_search_fdes): Likewise.
62919 (binary_search_unencoded_fdes): Likewise.
62920
62921 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62922
62923 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62924
62925 2012-11-24 Adam Conrad <adconrad@0c3.net>
62926
62927 * configure.in: Autodetect C++ header directories.
62928 * configure: Regenerated.
62929
62930 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62931
62932 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62933
62934 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62935
62936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62937
62938 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62939
62940 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62941 LDBL_MANT_DIG == 106]: Disable some tests.
62942 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62943 Likewise.
62944 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62945 Likewise.
62946
62947 [BZ #14871]
62948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62949 input for small inputs. Return +/- pi/2 for large inputs.
62950 * math/libm-test.inc (atan_test): Add more tests.
62951
62952 * sysdeps/generic/unwind-dw2-fde-glibc.c
62953 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62954 __attribute__ ((unused)).
62955
62956 [BZ #14645]
62957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62958 x * y if x and y are nonzero and z is zero.
62959
62960 [BZ #14811]
62961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62962 nonzero exponents with absolute value below 0x1p-117 to +/-
62963 0x1p-117.
62964
62965 [BZ #14869]
62966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62967 up arguments below 2**-450, not just those below 2**-500.
62968 * math/libm-test.inc (hypot_test): Add another test.
62969
62970 [BZ #14868]
62971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62972 Return a+b for ratio over 2**120, not 2**60.
62973 * math/libm-test.inc (hypot_test): Add another test.
62974
62975 * math/libm-test.inc (clog_test): Use
62976 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62977 (clog10_test): Likewise.
62978
62979 [BZ #6778]
62980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62981
62982 2012-11-22 Andreas Schwab <schwab@suse.de>
62983
62984 * sysdeps/i386/fpu/libm-test-ulps: Update.
62985
62986 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62987
62988 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62989 printf output with newline.
62990
62991 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62992
62993 [BZ #14865]
62994 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62995 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62996 -z nodlopen, -z initfirst and -z execstack support.
62997 * configure: Regenerated.
62998
62999 * elf/elf.h (DF_1_NODIRECT): New macro.
63000 (DF_1_IGNMULDEF): Likewise.
63001 (DF_1_NOKSYMS): Likewise.
63002 (DF_1_NOHDR): Likewise.
63003 (DF_1_EDITED): Likewise.
63004 (DF_1_NORELOC): Likewise.
63005 (DF_1_SYMINTPOSE): Likewise.
63006 (DF_1_GLOBAUDIT): Likewise.
63007 (DF_1_SINGLETON): Likewise.
63008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63009 DT_1_SUPPORTED_MASK bits.
63010 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63011
63012 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63013
63014 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63015
63016 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63017
63018 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63019 macro.
63020
63021 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63022 (sendmmsg): Move declarations...
63023 * socket/sys/socket.h: ... here.
63024 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63025 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63026 include it from...
63027 * socket/recvmmsg.c: ... this new file.
63028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63029 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63030 definition of __sendmmsg hidden.
63031 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63032 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63033 Move ENOSYS stub into and include it from...
63034 * socket/sendmmsg.c: ... this new file.
63035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63036 (sysdep_routines): Move recvmmsg and sendmmsg...
63037 * socket/Makefile (routines): ... here.
63038 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63039 (GLIBC_PRIVATE): Add __sendmmsg.
63040 * include/sys/socket.h (__sendmmsg): Add declarations.
63041 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63042 sendmmsg.
63043
63044 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63045
63046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63047 variable I1 with __attribute__ ((unused)).
63048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63049
63050 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63051
63052 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63053 DUMMY variables with __attribute__ ((unused)).
63054
63055 * bits/byteswap.h: Include <bits/types.h>.
63056 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63057
63058 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63059
63060 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63061 string_t. Do not manually set errno.
63062 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63063 length with __strnlen. Make sure to both set errno and return it on
63064 failure.
63065
63066 2012-11-19 David S. Miller <davem@davemloft.net>
63067
63068 With help from Joseph Myers.
63069 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63070 very large arguments properly.
63071 * math/libm-test.inc (atan_test): New tests.
63072 (atan2_test): New tests.
63073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63075
63076 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63077
63078 [BZ #14856]
63079 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63080 Define to 3.
63081
63082 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63083 [POSIX] (EADDRNOTAVAIL): Likewise.
63084 [POSIX] (EAFNOSUPPORT): Likewise.
63085 [POSIX] (EALREADY): Likewise.
63086 [POSIX] (ECONNABORTED): Likewise.
63087 [POSIX] (ECONNREFUSED): Likewise.
63088 [POSIX] (ECONNRESET): Likewise.
63089 [POSIX] (EDESTADDRREQ): Likewise.
63090 [POSIX] (EDQUOT): Likewise.
63091 [POSIX] (EHOSTUNREACH): Likewise.
63092 [POSIX] (EIDRM): Likewise.
63093 [POSIX] (EISCONN): Likewise.
63094 [POSIX] (ELOOP): Likewise.
63095 [POSIX] (EMULTIHOP): Likewise.
63096 [POSIX] (ENETDOWN): Likewise.
63097 [POSIX] (ENETUNREACH): Likewise.
63098 [POSIX] (ENOBUFS): Likewise.
63099 [POSIX] (ENODATA): Likewise.
63100 [POSIX] (ENOLINK): Likewise.
63101 [POSIX] (ENOMSG): Likewise.
63102 [POSIX] (ENOPROTOOPT): Likewise.
63103 [POSIX] (ENOSR): Likewise.
63104 [POSIX] (ENOSTR): Likewise.
63105 [POSIX] (ENOTCONN): Likewise.
63106 [POSIX] (ENOTSOCK): Likewise.
63107 [POSIX] (EOPNOTSUPP): Likewise.
63108 [POSIX] (EOVERFLOW): Likewise.
63109 [POSIX] (EPROTO): Likewise.
63110 [POSIX] (EPROTONOSUPPORT): Likewise.
63111 [POSIX] (EPROTOTYPE): Likewise.
63112 [POSIX] (ESTALE): Likewise.
63113 [POSIX] (ETIME): Likewise.
63114 [POSIX] (ETXTBSY): Likewise.
63115 [POSIX] (EWOULDBLOCK): Likewise.
63116 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63117 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63118 [POSIX] (SEEK_CUR): Likewise.
63119 [POSIX] (SEEK_END): Likewise.
63120 [POSIX || UNIX98] (mode_t): Do not require.
63121 [POSIX] (off_t): Likewise.
63122 [POSIX] (pid_t): Likewise.
63123 [POSIX] (sys/stat.h): Do not allow header.
63124 [POSIX] (unistd.h): Likewise.
63125 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63126 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63127 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63128 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63129 require.
63130 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63131 sigevent): Specify elements.
63132 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63133 entry.
63134 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63135 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63136
63137 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63138 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63139 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63140 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63141 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63142 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63143 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63144 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63145 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63147 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63149 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63151 Likewise.
63152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63153 Likewise.
63154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63155 Likewise.
63156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63157 Likewise.
63158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63162 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63163 Specify lower bound on value.
63164 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63165 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63166 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63167 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63168 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63170 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63171 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63172 value.
63173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63174 as optional.
63175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63176 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63177 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63178 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63179 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63180 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63181 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63183 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63185 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63186 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63187 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63188 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63189 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63190 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63191 entry.
63192 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63193 optional.
63194 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63196 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63197 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63198 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63200 Likewise.
63201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63203 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63204 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63205 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63206 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63208 as optional.
63209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63212 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63213 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63214 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63215 specify as optional.
63216 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63217 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63220 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63221 [XPG3] (NL_LANGMAX): Likewise.
63222 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63223 [POSIX || XPG3] (NL_NMAX): Likewise.
63224 [POSIX || XPG3] (NL_SETMAX): Likewise.
63225 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63226 [XPG3] (NZERO): Likewise.
63227 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63228 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63229 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63230 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63231 (REG_ERANGE): Expect.
63232 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63233 optional-constant.
63234 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63235 Use (void) in prototype.
63236 [POSIX] (*_t): Allow.
63237 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63238 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63239 (WRDE_BADVAL): Expect.
63240
63241 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63242 expect.
63243 [XPG3 || XPG4] (O_RSYNC): Likewise.
63244 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63245 Likewise.
63246 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63247 [XPG3 || XPG4] (sigqueue): Likewise.
63248 [XPG3 || XPG4] (sigtimedwait): Likewise.
63249 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63250 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63251 [XPG3 || XPG4] (vsnprintf): Likewise.
63252 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63253 Likewise.
63254 [XPG3 || XPG4] (blksize_t): Likewise.
63255 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63256 Likewise.
63257 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63258 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63259 [XPG3 || XPG4] (struct itimerspec): Likewise.
63260 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63261 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63262 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63263 [XPG3 || XPG4] (clockid_t): Likewise.
63264 [XPG3 || XPG4] (timer_t): Likewise.
63265 [XPG3 || XPG4] (clock_getres): Likewise.
63266 [XPG3 || XPG4] (clock_gettime): Likewise.
63267 [XPG3 || XPG4] (clock_settime): Likewise.
63268 [XPG3 || XPG4] (nanosleep): Likewise.
63269 [XPG3 || XPG4] (timer_create): Likewise.
63270 [XPG3 || XPG4] (timer_delete): Likewise.
63271 [XPG3 || XPG4] (timer_gettime): Likewise.
63272 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63273 [XPG3 || XPG4] (timer_settime): Likewise.
63274 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63275 [XPG3 || XPG4] (getlogin_r): Likewise.
63276 [XPG3 || XPG4] (pread): Likewise.
63277 [XPG3 || XPG4] (pthread_atfork): Likewise.
63278 [XPG3 || XPG4] (pwrite): Likewise.
63279
63280 [BZ #14835]
63281 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63282 <bits/siginfo.h>.
63283
63284 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63285
63286 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63287 finalizing MALLSTREAM.
63288
63289 * sysdeps/mach/hurd/syncfs.c: New file.
63290
63291 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63292
63293 [BZ #14719]
63294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63295 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63297 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63298 (_nss_dns_gethostbyname4_r): Likewise.
63299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63300 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63301
63302 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63303
63304 [BZ #13763]
63305 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63306
63307 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63308
63309 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63310 * elf/cache.c (print_entry): Print ",AArch64" for
63311 FLAG_AARCH64_LIB64
63312
63313 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63314 * elf/cache.c (print_entry): Print ",hard-float" for
63315 FLAG_ARM_LIBHF.
63316
63317 2012-11-18 David S. Miller <davem@davemloft.net>
63318
63319 With help from Joseph Myers.
63320 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63321 cutoff to 2**-13.
63322 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63323 cutoff to 2**-25.
63324 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63325 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63326 small.
63327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63328 * math/libm-test.inc (y0_test): New tests.
63329 (y1_test): New tests.
63330 * sysdeps/i386/fpu/libm-test-ulps: Update.
63331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63333
63334 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63335
63336 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63337 64-bit targets.
63338 * configure: Regenerated.
63339
63340 2012-11-17 David S. Miller <davem@davemloft.net>
63341
63342 [BZ #14811]
63343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63344 nonzero exponents with absolute value below 0x1p-128 to +/-
63345 0x1p-128.
63346
63347 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63348
63349 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63350
63351 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63352
63353 * posix/getconf-speclist.c: New file.
63354 * posix/posix-envs.def: Likewise.
63355 * posix/confstr.c (START_ENV_GROUP): New macro.
63356 (END_ENV_GROUP): Likewise.
63357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63358 (KNOWN_PRESENT_ENV_STRING): Likewise.
63359 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63360 (UNKNOWN_ENVIRONMENT): Likewise.
63361 (confstr): Include posix-envs.def instead of handling
63362 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63363 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63364 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63365 (END_ENV_GROUP): Likewise.
63366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63368 (UNKNOWN_ENVIRONMENT): Likewise.
63369 (__sysconf): Include posix-envs.def instead of handling associated
63370 cases directly here.
63371 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63372 preprocessing getconf-speclist.c rather than running getconf or
63373 generating empty file.
63374
63375 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63376
63377 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63378
63379 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63380
63381 [BZ #14672]
63382 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63383
63384 2012-11-16 David S. Miller <davem@davemloft.net>
63385
63386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63387 smaller than LDBL_EPSILON/2.0L, just return xm1.
63388
63389 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63390
63391 * elf/tst-array1.c (init): Set constructor priority to 1000.
63392 (fini): Set destructor priority to 1000.
63393 * elf/tst-array2dep.c: Likewise.
63394
63395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63396
63397 [BZ #11741]
63398 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63399 (_IO_new_file_xsputn): Also return EOF if none of the input
63400 data was written when overflow failed.
63401 * libio/iopadn.c (_IO_padn): Likewise.
63402 * libio/iowpadn.c (_IO_wpadn): Likewise.
63403 * stdio-common/tst-put-error.c: Add copyright notice.
63404 (do_test): Add case for printing padded string.
63405 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63406 _IO_padn returned error.
63407 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63408 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63409 return EOF.
63410
63411 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63412
63413 * libio/libioP.h: Add comment note that the references to C++
63414 bits are now obsolete.
63415
63416 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63417
63418 * math/libm-test.inc (check_complex): Use asprintf.
63419
63420 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63421
63422 * debug/pcprofiledump.c (print_version): Update copyright year.
63423 * malloc/memusagestat.c (print_version): Likewise.
63424
63425 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63426
63427 [BZ #14831]
63428 * elf/Makefile (tests): Add tst-audit8.
63429 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63430 ($(objpfx)tst-audit8.out): New target.
63431 (tst-audit8-ENV): New variable.
63432 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63433 audit if l_reloc_result is NULL.
63434 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63435 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63436 * elf/tst-audit8.c: New file.
63437
63438 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63439
63440 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63441 * misc/Makefile (CFLAGS-select.c): Define.
63442 * posix/Makefile (CFLAGS-pause.c): Define.
63443
63444 2012-11-13 David S. Miller <davem@davemloft.net>
63445
63446 * crypt/Makefile: Move test targets after toplevel Rules
63447 inclusion. Grab any necessary sysdep routines when linking.
63448 * crypt/md5.c (md5_process_block): Remove define, we will always
63449 name it __md5_process_block.
63450 (md5_finish_ctx): Update md5_process_block call.
63451 (md5_stream): Likewise.
63452 (md5_process_bytes): Likewise.
63453 (md5_process_block): Rename to __md5_process_block and move to ...
63454 * crypt/md5-block.c: ... here.
63455 * crypt/sha256.c (sha256_process_block): Move to ...
63456 * crypt/sha256-block.c: ... here.
63457 * crypt/sha512.c (sha512_process_block): Move to ...
63458 * crypt/sha512-block.c: ... here.
63459 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63460 path.
63461 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63462 * sysdeps/sparc/sparc64/multiarch/Makefile
63463 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63464 crypt subdir.
63465 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63467 multiarch changes.
63468 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63469 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63470 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63471 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63472 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63473 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63474 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63477 file.
63478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63480 file.
63481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63482
63483 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63484
63485 * timezone/tzselect.ksh: Update from tzcode git revision
63486 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63487 * timezone/zdump.c: Likewise.
63488 * timezone/zic.c: Likewise.
63489 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63490 in TZVERSION setting, not $(PKGVERSION).
63491 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63492 REPORT_BUGS_TO settings.
63493
63494 [BZ #14838]
63495 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63496 macro.
63497
63498 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63499
63500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63501 detection to immediately after _FP_ROUND().
63502 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63503 bits are 0.
63504
63505 2012-11-11 David S. Miller <davem@davemloft.net>
63506
63507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63508 inttypes.h
63509 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63510 __close rather than their public counterparts.
63511
63512 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63513
63514 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63515 file.
63516 [UNIX98] (sem_timedwait): Do not expect.
63517 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63518 [XPG4 || UNIX98] (sockatmark): Do not expect.
63519 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63520 (clock_getcpuclockid): Do not expect.
63521 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63522 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63523 Do not expect.
63524 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63525 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63526 [UNIX98] (vwscanf): Likewise.
63527 [UNIX98] (vswscanf): Likewise.
63528
63529 2012-11-09 Joseph Myers <joseph@codesourcery.com>
63530
63531 * timezone/version.h: Remove file.
63532 * timezone/README: Do not refer to version.h.
63533 * timezone/Makefile ($(objpfx)zic.o): New dependency on
63534 $(objpfx)version.h.
63535 ($(objpfx)zdump.o): Likewise.
63536 ($(objpfx)version.h): New target.
63537
63538 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63539 2012i.
63540 * timezone/README: Don't mention modification to tzselect.ksh.
63541 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63542 work on unmodified tzselect.ksh. Substitute version numbers in
63543 tzselect.ksh.
63544
63545 * Makefile (format-me): Remove.
63546 (INSTALL): Adjust indentation. Use commands directly instead of
63547 using $(format-me).
63548
63549 * aclocal.m4 (ACX_PKGVERSION): New macro.
63550 (ACX_BUGURL): Likewise.
63551 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63552 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63553 (REPORT_BUGS_TO): Likewise.
63554 * configure: Regenerated.
63555 * config.h.in (PKGVERSION): New macro.
63556 (REPORT_BUGS_TO): Likewise.
63557 * config.make.in (PKGVERSION): New variable.
63558 (PKGVERSION_TEXI): Likewise.
63559 (REPORT_BUGS_TO): Likewise.
63560 (REPORT_BUGS_TEXI): Likewise.
63561 * Makefile (format-me): Use -I$(common-objpfx)manual.
63562 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63563 ($(common-objpfx)manual/%): New target.
63564 (manual/%): Remove target.
63565 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63566 (print_version): Use PKGVERSION.
63567 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63568 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63569 and REPORT_BUGS_TO.
63570 ($(objpfx)xtrace): Likewise.
63571 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63572 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63573 (print_version): Use PKGVERSION.
63574 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63575 (do_version): Use PKGVERSION.
63576 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63577 REPORT_BUGS_TO.
63578 (common-ldd-rewrite): Likewise.
63579 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63580 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63581 (print_version): Use PKGVERSION.
63582 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63583 * elf/pldd.c (argp_program_bug_address): Remove variable.
63584 (more_help): New function.
63585 (argp): Use more_help.
63586 (print_version): Use PKGVERSION.
63587 * elf/sln.c (main): Use PKGVERSION.
63588 (usage): Use REPORT_BUGS_TO.
63589 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63590 (top level): Use PKGVERSION.
63591 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63592 (print_version): Use PKGVERSION.
63593 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63594 (print_version): Use PKGVERSION.
63595 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63596 (print_version): Use PKGVERSION.
63597 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63598 (print_version): Use PKGVERSION.
63599 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63600 (print_version): Use PKGVERSION.
63601 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63602 (print_version): Use PKGVERSION.
63603 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63604 and BUGURL.
63605 ($(objpfx)memusage): Likewise.
63606 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63607 (do_version): Use PKGVERSION.
63608 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63609 (print_version): Use PKGVERSION.
63610 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63611 ($PKGVERSION): New variable.
63612 ($REPORT_BUGS_TO): Likewise.
63613 (usage): Use $REPORT_BUGS_TO.
63614 (top level): Use $PKGVERSION.
63615 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63616 ($(objpfx)pkgvers.texi): New rule.
63617 ($(objpfx)stamp-pkgvers): Likewise.
63618 * manual/install.texi: Include pkgvers.texi.
63619 (--with-pkgversion): Document new configure option.
63620 (--with-bugurl): Likewise.
63621 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63622 than necessarily for this particular distribution. Use
63623 REPORT_BUGS_TO for where to report bugs.
63624 * INSTALL: Regenerated.
63625 * manual/libc.texinfo: Include pkgvers.texi.
63626 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63627 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63628 (print_version): Use PKGVERSION.
63629 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63630 (print_version): Use PKGVERSION.
63631 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63632 (print_version): Use PKGVERSION.
63633 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63634 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63635 macro.
63636 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63637 (print_version): Use PKGVERSION.
63638 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63639 (print_version): Use PKGVERSION.
63640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63641 and PKGVERSION.
63642
63643 * timezone/checktab.awk: Update from tzcode 2012i.
63644 * timezone/ialloc.c: Likewise.
63645 * timezone/private.h: Likewise.
63646 * timezone/scheck.c: Likewise.
63647 * timezone/tzfile.h: Likewise.
63648 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63649 (TZVERSION): Hardcode tzcode version number.
63650 * timezone/zdump.c: Update from tzcode 2012i.
63651 * timezone/zic.c: Likewise.
63652 * timezone/version.h: New file.
63653 * timezone/README: Describe version.h. Update upstream location.
63654
63655 [BZ #14824]
63656 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63657 (mktemp): Enable declaration.
63658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63662 Likewise.
63663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63664 Likewise.
63665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63666 Likewise.
63667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63668 Likewise.
63669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63670 Likewise.
63671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63672 Likewise.
63673
63674 [BZ #14821]
63675 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63676 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63677 for copies of such integer values.
63678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63680
63681 2012-11-09 Andreas Jaeger <aj@suse.de>
63682
63683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63684 definitions and declarations that are provided by
63685 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63686
63687 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63688
63689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63690 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63691 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63692 definition.
63693
63694 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63695
63696 * elf/elf.h: Update comment before AArch64 relocations.
63697
63698 2012-11-07 David S. Miller <davem@davemloft.net>
63699
63700 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63702 (__start_context): Declare.
63703 (__makecontext_ret): Delete.
63704 (__makecontext): Hook up __start_context instead of
63705 __makecontext_ret.
63706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63707 (sysdep_routines): Add __start_context when in stdlib.
63708
63709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63710
63711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63712 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63713 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63714 hardcoded "nm".
63715 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63716 (READELF): New variable. Use it instead of hardcoded "readelf".
63717
63718 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63719
63720 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63721 * sysdeps/x86/Makefile: Here.
63722 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63723 * sysdeps/x86/tst-xmmymm.sh: This.
63724
63725 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63726
63727 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63728 expectations.
63729 [UNIX98] (pthread_barrier_t): Do not expect.
63730 [UNIX98] (pthread_barrierattr_t): Likewise.
63731 [UNIX98] (pthread_spinlock_t): Likewise.
63732 [UNIX98] (pthread_barrier_destroy): Likewise.
63733 [UNIX98] (pthread_barrier_init): Likewise.
63734 [UNIX98] (pthread_barrier_wait): Likewise.
63735 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63736 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63737 [UNIX98] (pthread_barrierattr_init): Likewise.
63738 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63739 [UNIX98] (pthread_getcpuclockid): Likewise.
63740 [UNIX98] (pthread_mutex_timedlock): Likewise.
63741 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63742 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63743 [UNIX98] (pthread_sigmask): Likewise.
63744 [UNIX98] (pthread_spin_destroy): Likewise.
63745 [UNIX98] (pthread_spin_init): Likewise.
63746 [UNIX98] (pthread_spin_lock): Likewise.
63747 [UNIX98] (pthread_spin_trylock): Likewise.
63748 [UNIX98] (pthread_spin_unlock): Likewise.
63749 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63750 Do not expect.
63751 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63752 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63753 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63754 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63755 [XPG3 || XPG4] (pthread_key_t): Likewise.
63756 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63757 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63758 [XPG3 || XPG4] (pthread_once_t): Likewise.
63759 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63760 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63761 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63762 [XPG3 || XPG4] (pthread_t): Likewise.
63763
63764 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63765 not expect.
63766 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63767
63768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63769 Change function return type to int.
63770
63771 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63772 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63773 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63774 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63775 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63776 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63777 [!POSIX] (posix_madvise): Likewise.
63778 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63779 && !UNIX98].
63780 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63781 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63782 (mode_t): Likewise.
63783 (posix_mem_offset): Likewise.
63784 (posix_typed_mem_get_info): Likewise.
63785 (posix_typed_mem_open): Likewise.
63786
63787 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63788 Change condition to [XOPEN2K8].
63789
63790 * conform/conformtest.pl: Preprocess allow-header data with -x c
63791 instead of from stdin.
63792 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63793 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63794 [C99-based standards] (cerfc): Likewise.
63795 [C99-based standards] (cexp2): Likewise.
63796 [C99-based standards] (cexpm1): Likewise.
63797 [C99-based standards] (clog10): Likewise.
63798 [C99-based standards] (clog1p): Likewise.
63799 [C99-based standards] (clog2): Likewise.
63800 [C99-based standards] (clgamma): Likewise.
63801 [C99-based standards] (ctgamma): Likewise.
63802 [C99-based standards] (cerff): Likewise.
63803 [C99-based standards] (cerfcf): Likewise.
63804 [C99-based standards] (cexp2f): Likewise.
63805 [C99-based standards] (cexpm1f): Likewise.
63806 [C99-based standards] (clog10f): Likewise.
63807 [C99-based standards] (clog1pf): Likewise.
63808 [C99-based standards] (clog2f): Likewise.
63809 [C99-based standards] (clgammaf): Likewise.
63810 [C99-based standards] (ctgammaf): Likewise.
63811 [C99-based standards] (cerfl): Likewise.
63812 [C99-based standards] (cerfcl): Likewise.
63813 [C99-based standards] (cexp2l): Likewise.
63814 [C99-based standards] (cexpm1l): Likewise.
63815 [C99-based standards] (clog10l): Likewise.
63816 [C99-based standards] (clog1pl): Likewise.
63817 [C99-based standards] (clog2l): Likewise.
63818 [C99-based standards] (clgammal): Likewise.
63819 [C99-based standards] (ctgammal): Likewise.
63820 * conform/data/inttypes.h-data [C99-based standards]: Include
63821 stdint.h-data. Remove all expectations for stdint.h contents.
63822 [C99-based standards] (PRI*): Do not allow.
63823 [C99-based standards] (SCN*): Likewise.
63824 [C99-based standards] (*_t): Likewise.
63825 [C99-based-standards] (PRId8): Expect macro.
63826 [C99-based-standards] (PRIi8): Likewise.
63827 [C99-based-standards] (PRIo8): Likewise.
63828 [C99-based-standards] (PRIu8): Likewise.
63829 [C99-based-standards] (PRIx8): Likewise.
63830 [C99-based-standards] (PRIX8): Likewise.
63831 [C99-based-standards] (SCNd8): Likewise.
63832 [C99-based-standards] (SCNi8): Likewise.
63833 [C99-based-standards] (SCNo8): Likewise.
63834 [C99-based-standards] (SCNu8): Likewise.
63835 [C99-based-standards] (SCNx8): Likewise.
63836 [C99-based-standards] (PRIdLEAST8): Likewise.
63837 [C99-based-standards] (PRIiLEAST8): Likewise.
63838 [C99-based-standards] (PRIoLEAST8): Likewise.
63839 [C99-based-standards] (PRIuLEAST8): Likewise.
63840 [C99-based-standards] (PRIxLEAST8): Likewise.
63841 [C99-based-standards] (PRIXLEAST8): Likewise.
63842 [C99-based-standards] (SCNdLEAST8): Likewise.
63843 [C99-based-standards] (SCNiLEAST8): Likewise.
63844 [C99-based-standards] (SCNoLEAST8): Likewise.
63845 [C99-based-standards] (SCNuLEAST8): Likewise.
63846 [C99-based-standards] (SCNxLEAST8): Likewise.
63847 [C99-based-standards] (PRIdFAST8): Likewise.
63848 [C99-based-standards] (PRIiFAST8): Likewise.
63849 [C99-based-standards] (PRIoFAST8): Likewise.
63850 [C99-based-standards] (PRIuFAST8): Likewise.
63851 [C99-based-standards] (PRIxFAST8): Likewise.
63852 [C99-based-standards] (PRIXFAST8): Likewise.
63853 [C99-based-standards] (SCNdFAST8): Likewise.
63854 [C99-based-standards] (SCNiFAST8): Likewise.
63855 [C99-based-standards] (SCNoFAST8): Likewise.
63856 [C99-based-standards] (SCNuFAST8): Likewise.
63857 [C99-based-standards] (SCNxFAST8): Likewise.
63858 [C99-based-standards] (PRId16): Likewise.
63859 [C99-based-standards] (PRIi16): Likewise.
63860 [C99-based-standards] (PRIo16): Likewise.
63861 [C99-based-standards] (PRIu16): Likewise.
63862 [C99-based-standards] (PRIx16): Likewise.
63863 [C99-based-standards] (PRIX16): Likewise.
63864 [C99-based-standards] (SCNd16): Likewise.
63865 [C99-based-standards] (SCNi16): Likewise.
63866 [C99-based-standards] (SCNo16): Likewise.
63867 [C99-based-standards] (SCNu16): Likewise.
63868 [C99-based-standards] (SCNx16): Likewise.
63869 [C99-based-standards] (PRIdLEAST16): Likewise.
63870 [C99-based-standards] (PRIiLEAST16): Likewise.
63871 [C99-based-standards] (PRIoLEAST16): Likewise.
63872 [C99-based-standards] (PRIuLEAST16): Likewise.
63873 [C99-based-standards] (PRIxLEAST16): Likewise.
63874 [C99-based-standards] (PRIXLEAST16): Likewise.
63875 [C99-based-standards] (SCNdLEAST16): Likewise.
63876 [C99-based-standards] (SCNiLEAST16): Likewise.
63877 [C99-based-standards] (SCNoLEAST16): Likewise.
63878 [C99-based-standards] (SCNuLEAST16): Likewise.
63879 [C99-based-standards] (SCNxLEAST16): Likewise.
63880 [C99-based-standards] (PRIdFAST16): Likewise.
63881 [C99-based-standards] (PRIiFAST16): Likewise.
63882 [C99-based-standards] (PRIoFAST16): Likewise.
63883 [C99-based-standards] (PRIuFAST16): Likewise.
63884 [C99-based-standards] (PRIxFAST16): Likewise.
63885 [C99-based-standards] (PRIXFAST16): Likewise.
63886 [C99-based-standards] (SCNdFAST16): Likewise.
63887 [C99-based-standards] (SCNiFAST16): Likewise.
63888 [C99-based-standards] (SCNoFAST16): Likewise.
63889 [C99-based-standards] (SCNuFAST16): Likewise.
63890 [C99-based-standards] (SCNxFAST16): Likewise.
63891 [C99-based-standards] (PRId32): Likewise.
63892 [C99-based-standards] (PRIi32): Likewise.
63893 [C99-based-standards] (PRIo32): Likewise.
63894 [C99-based-standards] (PRIu32): Likewise.
63895 [C99-based-standards] (PRIx32): Likewise.
63896 [C99-based-standards] (PRIX32): Likewise.
63897 [C99-based-standards] (SCNd32): Likewise.
63898 [C99-based-standards] (SCNi32): Likewise.
63899 [C99-based-standards] (SCNo32): Likewise.
63900 [C99-based-standards] (SCNu32): Likewise.
63901 [C99-based-standards] (SCNx32): Likewise.
63902 [C99-based-standards] (PRIdLEAST32): Likewise.
63903 [C99-based-standards] (PRIiLEAST32): Likewise.
63904 [C99-based-standards] (PRIoLEAST32): Likewise.
63905 [C99-based-standards] (PRIuLEAST32): Likewise.
63906 [C99-based-standards] (PRIxLEAST32): Likewise.
63907 [C99-based-standards] (PRIXLEAST32): Likewise.
63908 [C99-based-standards] (SCNdLEAST32): Likewise.
63909 [C99-based-standards] (SCNiLEAST32): Likewise.
63910 [C99-based-standards] (SCNoLEAST32): Likewise.
63911 [C99-based-standards] (SCNuLEAST32): Likewise.
63912 [C99-based-standards] (SCNxLEAST32): Likewise.
63913 [C99-based-standards] (PRIdFAST32): Likewise.
63914 [C99-based-standards] (PRIiFAST32): Likewise.
63915 [C99-based-standards] (PRIoFAST32): Likewise.
63916 [C99-based-standards] (PRIuFAST32): Likewise.
63917 [C99-based-standards] (PRIxFAST32): Likewise.
63918 [C99-based-standards] (PRIXFAST32): Likewise.
63919 [C99-based-standards] (SCNdFAST32): Likewise.
63920 [C99-based-standards] (SCNiFAST32): Likewise.
63921 [C99-based-standards] (SCNoFAST32): Likewise.
63922 [C99-based-standards] (SCNuFAST32): Likewise.
63923 [C99-based-standards] (SCNxFAST32): Likewise.
63924 [C99-based-standards] (PRId64): Likewise.
63925 [C99-based-standards] (PRIi64): Likewise.
63926 [C99-based-standards] (PRIo64): Likewise.
63927 [C99-based-standards] (PRIu64): Likewise.
63928 [C99-based-standards] (PRIx64): Likewise.
63929 [C99-based-standards] (PRIX64): Likewise.
63930 [C99-based-standards] (SCNd64): Likewise.
63931 [C99-based-standards] (SCNi64): Likewise.
63932 [C99-based-standards] (SCNo64): Likewise.
63933 [C99-based-standards] (SCNu64): Likewise.
63934 [C99-based-standards] (SCNx64): Likewise.
63935 [C99-based-standards] (PRIdLEAST64): Likewise.
63936 [C99-based-standards] (PRIiLEAST64): Likewise.
63937 [C99-based-standards] (PRIoLEAST64): Likewise.
63938 [C99-based-standards] (PRIuLEAST64): Likewise.
63939 [C99-based-standards] (PRIxLEAST64): Likewise.
63940 [C99-based-standards] (PRIXLEAST64): Likewise.
63941 [C99-based-standards] (SCNdLEAST64): Likewise.
63942 [C99-based-standards] (SCNiLEAST64): Likewise.
63943 [C99-based-standards] (SCNoLEAST64): Likewise.
63944 [C99-based-standards] (SCNuLEAST64): Likewise.
63945 [C99-based-standards] (SCNxLEAST64): Likewise.
63946 [C99-based-standards] (PRIdFAST64): Likewise.
63947 [C99-based-standards] (PRIiFAST64): Likewise.
63948 [C99-based-standards] (PRIoFAST64): Likewise.
63949 [C99-based-standards] (PRIuFAST64): Likewise.
63950 [C99-based-standards] (PRIxFAST64): Likewise.
63951 [C99-based-standards] (PRIXFAST64): Likewise.
63952 [C99-based-standards] (SCNdFAST64): Likewise.
63953 [C99-based-standards] (SCNiFAST64): Likewise.
63954 [C99-based-standards] (SCNoFAST64): Likewise.
63955 [C99-based-standards] (SCNuFAST64): Likewise.
63956 [C99-based-standards] (SCNxFAST64): Likewise.
63957 [C99-based-standards] (PRIdMAX): Likewise.
63958 [C99-based-standards] (PRIiMAX): Likewise.
63959 [C99-based-standards] (PRIoMAX): Likewise.
63960 [C99-based-standards] (PRIuMAX): Likewise.
63961 [C99-based-standards] (PRIxMAX): Likewise.
63962 [C99-based-standards] (PRIXMAX): Likewise.
63963 [C99-based-standards] (SCNdMAX): Likewise.
63964 [C99-based-standards] (SCNiMAX): Likewise.
63965 [C99-based-standards] (SCNoMAX): Likewise.
63966 [C99-based-standards] (SCNuMAX): Likewise.
63967 [C99-based-standards] (SCNxMAX): Likewise.
63968 [C99-based-standards] (PRIdPTR): Likewise.
63969 [C99-based-standards] (PRIiPTR): Likewise.
63970 [C99-based-standards] (PRIoPTR): Likewise.
63971 [C99-based-standards] (PRIuPTR): Likewise.
63972 [C99-based-standards] (PRIxPTR): Likewise.
63973 [C99-based-standards] (PRIXPTR): Likewise.
63974 [C99-based-standards] (SCNdPTR): Likewise.
63975 [C99-based-standards] (SCNiPTR): Likewise.
63976 [C99-based-standards] (SCNoPTR): Likewise.
63977 [C99-based-standards] (SCNuPTR): Likewise.
63978 [C99-based-standards] (SCNxPTR): Likewise.
63979 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63980 allow.
63981 * conform/data/stdint.h-data: Update comments to clarify
63982 requirements.
63983 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63984 type.
63985 [C99-based standards] (INT8_MAX): Likewise.
63986 [C99-based standards] (INT16_MIN): Likewise.
63987 [C99-based standards] (INT16_MAX): Likewise.
63988 [C99-based standards] (INT32_MIN): Likewise.
63989 [C99-based standards] (INT32_MAX): Likewise.
63990 [C99-based standards] (INT64_MIN): Likewise.
63991 [C99-based standards] (INT64_MAX): Likewise.
63992 [C99-based standards] (UINT8_MAX): Likewise.
63993 [C99-based standards] (UINT16_MAX): Likewise.
63994 [C99-based standards] (UINT32_MAX): Likewise.
63995 [C99-based standards] (UINT64_MAX): Likewise.
63996 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63997 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63998 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63999 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64000 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64001 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64002 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64003 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64004 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64005 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64006 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64007 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64008 [C99-based standards] (INT_FAST8_MIN): Likewise.
64009 [C99-based standards] (INT_FAST8_MAX): Likewise.
64010 [C99-based standards] (INT_FAST16_MIN): Likewise.
64011 [C99-based standards] (INT_FAST16_MAX): Likewise.
64012 [C99-based standards] (INT_FAST32_MIN): Likewise.
64013 [C99-based standards] (INT_FAST32_MAX): Likewise.
64014 [C99-based standards] (INT_FAST64_MIN): Likewise.
64015 [C99-based standards] (INT_FAST64_MAX): Likewise.
64016 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64017 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64018 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64019 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64020 [C99-based standards] (INTPTR_MIN): Likewise.
64021 [C99-based standards] (INTPTR_MAX): Likewise.
64022 [C99-based standards] (UINTPTR_MAX): Likewise.
64023 [C99-based standards] (INTMAX_MIN): Likewise.
64024 [C99-based standards] (INTMAX_MAX): Likewise.
64025 [C99-based standards] (UINTMAX_MAX): Likewise.
64026 [C99-based standards] (PTRDIFF_MIN): Likewise.
64027 [C99-based standards] (PTRDIFF_MAX): Likewise.
64028 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64029 [C99-based standards] (SIZE_MAX): Likewise.
64030 [C99-based standards] (WCHAR_MAX): Likewise.
64031 [C99-based standards] (WINT_MAX): Likewise.
64032 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64033 constraint on value.
64034 [C99-based standards] (WCHAR_MIN): Likewise.
64035 [C99-based standards] (WINT_MIN): Likewise.
64036 [C99-based standards] (*_t): Allow.
64037 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64038 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64039 Include math.h-data and complex.h-data. Remove all expectations
64040 of math.h and complex.h contents.
64041 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64042 at end of line.
64043 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64044 (struct tm): Expect tag.
64045 [C99-based-standards] (wcstof): Expect function.
64046 [C99-based-standards] (wcstold): Likewise.
64047 [C99-based-standards] (wcstoll): Likewise.
64048 [C99-based-standards] (wcstoull): Likewise.
64049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64050 macro-int-constant. Specify type.
64051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64052 constraint on value.
64053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64054 Specify type.
64055 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64056 Specify value.
64057 [ISO C standards]: Do not allow headers.
64058 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64059 wcs[abcdefghijklmnopqrstuvwxyz]*.
64060 [ISO C standards] (*_t): Do not allow.
64061 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64062 Expect function.
64063 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64064 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64065 Specify type.
64066 [ISO C standards]: Do not allow headers.
64067 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64068 is[abcdefghijklmnopqrstuvwxyz]*.
64069 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64070 to[abcdefghijklmnopqrstuvwxyz]*.
64071 [ISO C standards] (*_t): Do not allow.
64072 * conform/data/stdalign.h-data: New file.
64073 * conform/data/stdbool.h-data: Likewise.
64074 * conform/data/stdnoreturn.h-data: Likewise.
64075
64076 2012-11-07 Roland McGrath <roland@hack.frob.com>
64077
64078 [BZ #14815]
64079 * manual/filesys.texi (Directory Entries): Typo fix.
64080 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64081
64082 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64083
64084 * elf/elf.h (EM_AARCH64): New macro.
64085 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64086 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64087 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64088 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64089 (R_AARCH64_TLSDESC): Likewise.
64090 (NT_ARM_TLS): Likewise.
64091 (NT_ARM_HW_BREAK): Likewise.
64092 (NT_ARM_HW_WATCH): Likewise.
64093
64094 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64095
64096 [BZ #14811]
64097 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64098 (__ieee754_powl): Saturate nonzero exponents with absolute value
64099 below 0x1p-79 to +/- 0x1p-79.
64100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64101 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64102 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64103 nonzero exponents with absolute value below 0x1p-32 to +/-
64104 0x1p-32.
64105 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64106 (__ieee754_powl): Saturate nonzero exponents with absolute value
64107 below 0x1p-79 to +/- 0x1p-79.
64108 * math/libm-test.inc (pow_test): Add more tests.
64109
64110 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64111
64112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64113 _dl_s390_cap_flags with kernel. Increase string length.
64114 (_dl_s390_platforms): Add z196 and zEC12.
64115
64116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64117
64118 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64119 Change XOPEN21K to XOPEN2K.
64120
64121 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64122
64123 * string/memmove.c: Use memcpy when possible.
64124
64125 2012-11-06 Andreas Jaeger <aj@suse.de>
64126
64127 * po/eo.po: Update from translation team.
64128
64129 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64130
64131 [BZ #14793]
64132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64133 exponent and small x and y exponents, scale x or y up. Increase
64134 by 2 the exponent used in scaling up.
64135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64137 * math/libm-test.inc (fma_test): Add more tests.
64138 (fma_test_towardzero): Likewise.
64139 (fma_test_downward): Likewise.
64140 (fma_test_upward): Likewise.
64141
64142 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64143
64144 [BZ #14805]
64145 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64146 fenv_t *.
64147
64148 [BZ #14801]
64149 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64150 namespace for names of struct fields.
64151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64152 fenv_t fields.
64153 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64154 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64155
64156 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64157
64158 [BZ #3665]
64159 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64160
64161 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64162
64163 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64164 PTR_DEMANGLE.
64165
64166 [BZ #5246]
64167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64168 PTR_DEMANGLE.
64169
64170 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64171
64172 [BZ #14797]
64173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64174 definitely overflow as x * y not x * y + z.
64175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64177 * math/libm-test.inc (fma_test): Add more tests.
64178 (fma_test_towardzero): Likewise.
64179 (fma_test_downward): Likewise.
64180 (fma_test_upward): Likewise.
64181
64182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64183
64184 [BZ #157]
64185
64186 * include/stub-tag.h: Remove file.
64187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64188 '#include' of it.
64189 * manual/maint.texi (Porting): Don't reference it.
64190 * Makerules ($(objpfx)stubs): Likewise.
64191 * dirent/closedir.c: Don't include <stub-tag.h>.
64192 * dirent/dirfd.c: Likewise.
64193 * dirent/fdopendir.c: Likewise.
64194 * dirent/getdents.c: Likewise.
64195 * dirent/getdents64.c: Likewise.
64196 * dirent/opendir.c: Likewise.
64197 * dirent/readdir.c: Likewise.
64198 * dirent/readdir64.c: Likewise.
64199 * dirent/readdir64_r.c: Likewise.
64200 * dirent/readdir_r.c: Likewise.
64201 * dirent/rewinddir.c: Likewise.
64202 * dirent/seekdir.c: Likewise.
64203 * dirent/telldir.c: Likewise.
64204 * gmon/profil.c: Likewise.
64205 * grp/setgroups.c: Likewise.
64206 * inet/if_index.c: Likewise.
64207 * io/access.c: Likewise.
64208 * io/chdir.c: Likewise.
64209 * io/chmod.c: Likewise.
64210 * io/chown.c: Likewise.
64211 * io/close.c: Likewise.
64212 * io/dup.c: Likewise.
64213 * io/dup2.c: Likewise.
64214 * io/dup3.c: Likewise.
64215 * io/euidaccess.c: Likewise.
64216 * io/faccessat.c: Likewise.
64217 * io/fchdir.c: Likewise.
64218 * io/fchmod.c: Likewise.
64219 * io/fchmodat.c: Likewise.
64220 * io/fchown.c: Likewise.
64221 * io/fchownat.c: Likewise.
64222 * io/fcntl.c: Likewise.
64223 * io/flock.c: Likewise.
64224 * io/fstatfs.c: Likewise.
64225 * io/fstatfs64.c: Likewise.
64226 * io/fstatvfs.c: Likewise.
64227 * io/fstatvfs64.c: Likewise.
64228 * io/futimens.c: Likewise.
64229 * io/fxstat.c: Likewise.
64230 * io/fxstat64.c: Likewise.
64231 * io/fxstatat.c: Likewise.
64232 * io/fxstatat64.c: Likewise.
64233 * io/getcwd.c: Likewise.
64234 * io/isatty.c: Likewise.
64235 * io/lchmod.c: Likewise.
64236 * io/lchown.c: Likewise.
64237 * io/link.c: Likewise.
64238 * io/linkat.c: Likewise.
64239 * io/lseek.c: Likewise.
64240 * io/lseek64.c: Likewise.
64241 * io/lxstat64.c: Likewise.
64242 * io/mkdir.c: Likewise.
64243 * io/mkdirat.c: Likewise.
64244 * io/mkfifo.c: Likewise.
64245 * io/mkfifoat.c: Likewise.
64246 * io/open.c: Likewise.
64247 * io/open64.c: Likewise.
64248 * io/openat.c: Likewise.
64249 * io/openat64.c: Likewise.
64250 * io/pipe.c: Likewise.
64251 * io/pipe2.c: Likewise.
64252 * io/poll.c: Likewise.
64253 * io/posix_fadvise.c: Likewise.
64254 * io/posix_fadvise64.c: Likewise.
64255 * io/posix_fallocate.c: Likewise.
64256 * io/posix_fallocate64.c: Likewise.
64257 * io/read.c: Likewise.
64258 * io/readlink.c: Likewise.
64259 * io/readlinkat.c: Likewise.
64260 * io/rmdir.c: Likewise.
64261 * io/sendfile.c: Likewise.
64262 * io/sendfile64.c: Likewise.
64263 * io/statfs.c: Likewise.
64264 * io/statfs64.c: Likewise.
64265 * io/statvfs.c: Likewise.
64266 * io/statvfs64.c: Likewise.
64267 * io/symlink.c: Likewise.
64268 * io/symlinkat.c: Likewise.
64269 * io/ttyname.c: Likewise.
64270 * io/ttyname_r.c: Likewise.
64271 * io/umask.c: Likewise.
64272 * io/unlink.c: Likewise.
64273 * io/unlinkat.c: Likewise.
64274 * io/utime.c: Likewise.
64275 * io/utimensat.c: Likewise.
64276 * io/write.c: Likewise.
64277 * io/xmknod.c: Likewise.
64278 * io/xmknodat.c: Likewise.
64279 * io/xstat.c: Likewise.
64280 * io/xstat64.c: Likewise.
64281 * login/getpt.c: Likewise.
64282 * login/grantpt.c: Likewise.
64283 * login/unlockpt.c: Likewise.
64284 * math/e_acoshl.c: Likewise.
64285 * math/e_acosl.c: Likewise.
64286 * math/e_asinl.c: Likewise.
64287 * math/e_atan2l.c: Likewise.
64288 * math/e_atanhl.c: Likewise.
64289 * math/e_coshl.c: Likewise.
64290 * math/e_expl.c: Likewise.
64291 * math/e_fmodl.c: Likewise.
64292 * math/e_gammal_r.c: Likewise.
64293 * math/e_hypotl.c: Likewise.
64294 * math/e_j0l.c: Likewise.
64295 * math/e_j1l.c: Likewise.
64296 * math/e_jnl.c: Likewise.
64297 * math/e_lgammal_r.c: Likewise.
64298 * math/e_log10l.c: Likewise.
64299 * math/e_log2l.c: Likewise.
64300 * math/e_logl.c: Likewise.
64301 * math/e_powl.c: Likewise.
64302 * math/e_rem_pio2l.c: Likewise.
64303 * math/e_sinhl.c: Likewise.
64304 * math/e_sqrtl.c: Likewise.
64305 * math/fclrexcpt.c: Likewise.
64306 * math/fedisblxcpt.c: Likewise.
64307 * math/feenablxcpt.c: Likewise.
64308 * math/fegetenv.c: Likewise.
64309 * math/fegetexcept.c: Likewise.
64310 * math/fegetround.c: Likewise.
64311 * math/feholdexcpt.c: Likewise.
64312 * math/fesetenv.c: Likewise.
64313 * math/fesetround.c: Likewise.
64314 * math/feupdateenv.c: Likewise.
64315 * math/fgetexcptflg.c: Likewise.
64316 * math/fraiseexcpt.c: Likewise.
64317 * math/fsetexcptflg.c: Likewise.
64318 * math/ftestexcept.c: Likewise.
64319 * math/k_cosl.c: Likewise.
64320 * math/k_rem_pio2l.c: Likewise.
64321 * math/k_sinl.c: Likewise.
64322 * math/k_tanl.c: Likewise.
64323 * math/s_asinhl.c: Likewise.
64324 * math/s_atanl.c: Likewise.
64325 * math/s_cbrtl.c: Likewise.
64326 * math/s_erfl.c: Likewise.
64327 * math/s_expm1l.c: Likewise.
64328 * math/s_log1pl.c: Likewise.
64329 * math/s_tanhl.c: Likewise.
64330 * misc/acct.c: Likewise.
64331 * misc/brk.c: Likewise.
64332 * misc/chflags.c: Likewise.
64333 * misc/chroot.c: Likewise.
64334 * misc/fchflags.c: Likewise.
64335 * misc/fgetxattr.c: Likewise.
64336 * misc/flistxattr.c: Likewise.
64337 * misc/fremovexattr.c: Likewise.
64338 * misc/fsetxattr.c: Likewise.
64339 * misc/fsync.c: Likewise.
64340 * misc/ftruncate.c: Likewise.
64341 * misc/futimes.c: Likewise.
64342 * misc/futimesat.c: Likewise.
64343 * misc/getdomain.c: Likewise.
64344 * misc/getdtsz.c: Likewise.
64345 * misc/gethostid.c: Likewise.
64346 * misc/gethostname.c: Likewise.
64347 * misc/getloadavg.c: Likewise.
64348 * misc/getpagesize.c: Likewise.
64349 * misc/getsysstats.c: Likewise.
64350 * misc/getxattr.c: Likewise.
64351 * misc/gtty.c: Likewise.
64352 * misc/ioctl.c: Likewise.
64353 * misc/lgetxattr.c: Likewise.
64354 * misc/listxattr.c: Likewise.
64355 * misc/llistxattr.c: Likewise.
64356 * misc/lremovexattr.c: Likewise.
64357 * misc/lsetxattr.c: Likewise.
64358 * misc/lutimes.c: Likewise.
64359 * misc/madvise.c: Likewise.
64360 * misc/mincore.c: Likewise.
64361 * misc/mlock.c: Likewise.
64362 * misc/mlockall.c: Likewise.
64363 * misc/mmap.c: Likewise.
64364 * misc/mprotect.c: Likewise.
64365 * misc/msync.c: Likewise.
64366 * misc/munlock.c: Likewise.
64367 * misc/munlockall.c: Likewise.
64368 * misc/munmap.c: Likewise.
64369 * misc/preadv.c: Likewise.
64370 * misc/preadv64.c: Likewise.
64371 * misc/ptrace.c: Likewise.
64372 * misc/pwritev.c: Likewise.
64373 * misc/pwritev64.c: Likewise.
64374 * misc/readv.c: Likewise.
64375 * misc/reboot.c: Likewise.
64376 * misc/remap_file_pages.c: Likewise.
64377 * misc/removexattr.c: Likewise.
64378 * misc/revoke.c: Likewise.
64379 * misc/select.c: Likewise.
64380 * misc/setdomain.c: Likewise.
64381 * misc/setegid.c: Likewise.
64382 * misc/seteuid.c: Likewise.
64383 * misc/sethostid.c: Likewise.
64384 * misc/sethostname.c: Likewise.
64385 * misc/setregid.c: Likewise.
64386 * misc/setreuid.c: Likewise.
64387 * misc/setxattr.c: Likewise.
64388 * misc/sstk.c: Likewise.
64389 * misc/stty.c: Likewise.
64390 * misc/swapoff.c: Likewise.
64391 * misc/swapon.c: Likewise.
64392 * misc/sync.c: Likewise.
64393 * misc/syncfs.c: Likewise.
64394 * misc/syscall.c: Likewise.
64395 * misc/truncate.c: Likewise.
64396 * misc/ualarm.c: Likewise.
64397 * misc/usleep.c: Likewise.
64398 * misc/ustat.c: Likewise.
64399 * misc/utimes.c: Likewise.
64400 * misc/vhangup.c: Likewise.
64401 * misc/writev.c: Likewise.
64402 * posix/_exit.c: Likewise.
64403 * posix/alarm.c: Likewise.
64404 * posix/execve.c: Likewise.
64405 * posix/fexecve.c: Likewise.
64406 * posix/fork.c: Likewise.
64407 * posix/fpathconf.c: Likewise.
64408 * posix/getaddrinfo.c: Likewise.
64409 * posix/getegid.c: Likewise.
64410 * posix/geteuid.c: Likewise.
64411 * posix/getgid.c: Likewise.
64412 * posix/getgroups.c: Likewise.
64413 * posix/getlogin.c: Likewise.
64414 * posix/getlogin_r.c: Likewise.
64415 * posix/getpgid.c: Likewise.
64416 * posix/getpid.c: Likewise.
64417 * posix/getppid.c: Likewise.
64418 * posix/getresgid.c: Likewise.
64419 * posix/getresuid.c: Likewise.
64420 * posix/getsid.c: Likewise.
64421 * posix/getuid.c: Likewise.
64422 * posix/glob64.c: Likewise.
64423 * posix/nanosleep.c: Likewise.
64424 * posix/pathconf.c: Likewise.
64425 * posix/pause.c: Likewise.
64426 * posix/posix_madvise.c: Likewise.
64427 * posix/pread.c: Likewise.
64428 * posix/pread64.c: Likewise.
64429 * posix/pwrite.c: Likewise.
64430 * posix/pwrite64.c: Likewise.
64431 * posix/sched_getaffinity.c: Likewise.
64432 * posix/sched_getp.c: Likewise.
64433 * posix/sched_gets.c: Likewise.
64434 * posix/sched_primax.c: Likewise.
64435 * posix/sched_primin.c: Likewise.
64436 * posix/sched_rr_gi.c: Likewise.
64437 * posix/sched_setaffinity.c: Likewise.
64438 * posix/sched_setp.c: Likewise.
64439 * posix/sched_sets.c: Likewise.
64440 * posix/sched_yield.c: Likewise.
64441 * posix/setgid.c: Likewise.
64442 * posix/setlogin.c: Likewise.
64443 * posix/setpgid.c: Likewise.
64444 * posix/setresgid.c: Likewise.
64445 * posix/setresuid.c: Likewise.
64446 * posix/setsid.c: Likewise.
64447 * posix/setuid.c: Likewise.
64448 * posix/sleep.c: Likewise.
64449 * posix/spawni.c: Likewise.
64450 * posix/sysconf.c: Likewise.
64451 * posix/times.c: Likewise.
64452 * posix/wait.c: Likewise.
64453 * posix/wait3.c: Likewise.
64454 * posix/wait4.c: Likewise.
64455 * posix/waitpid.c: Likewise.
64456 * resolv/gai_sigqueue.c: Likewise.
64457 * resource/getpriority.c: Likewise.
64458 * resource/getrlimit.c: Likewise.
64459 * resource/getrusage.c: Likewise.
64460 * resource/nice.c: Likewise.
64461 * resource/setpriority.c: Likewise.
64462 * resource/setrlimit.c: Likewise.
64463 * resource/ulimit.c: Likewise.
64464 * rt/aio_cancel.c: Likewise.
64465 * rt/aio_fsync.c: Likewise.
64466 * rt/aio_read.c: Likewise.
64467 * rt/aio_sigqueue.c: Likewise.
64468 * rt/aio_suspend.c: Likewise.
64469 * rt/aio_write.c: Likewise.
64470 * rt/clock_getres.c: Likewise.
64471 * rt/clock_gettime.c: Likewise.
64472 * rt/clock_nanosleep.c: Likewise.
64473 * rt/clock_settime.c: Likewise.
64474 * rt/lio_listio.c: Likewise.
64475 * rt/mq_close.c: Likewise.
64476 * rt/mq_getattr.c: Likewise.
64477 * rt/mq_notify.c: Likewise.
64478 * rt/mq_open.c: Likewise.
64479 * rt/mq_receive.c: Likewise.
64480 * rt/mq_send.c: Likewise.
64481 * rt/mq_setattr.c: Likewise.
64482 * rt/mq_timedreceive.c: Likewise.
64483 * rt/mq_timedsend.c: Likewise.
64484 * rt/mq_unlink.c: Likewise.
64485 * rt/shm_open.c: Likewise.
64486 * rt/shm_unlink.c: Likewise.
64487 * rt/timer_create.c: Likewise.
64488 * rt/timer_delete.c: Likewise.
64489 * rt/timer_getoverr.c: Likewise.
64490 * rt/timer_gettime.c: Likewise.
64491 * rt/timer_settime.c: Likewise.
64492 * setjmp/__longjmp.c: Likewise.
64493 * setjmp/setjmp.c: Likewise.
64494 * signal/kill.c: Likewise.
64495 * signal/killpg.c: Likewise.
64496 * signal/raise.c: Likewise.
64497 * signal/sigaction.c: Likewise.
64498 * signal/sigaltstack.c: Likewise.
64499 * signal/sigblock.c: Likewise.
64500 * signal/sigignore.c: Likewise.
64501 * signal/sigintr.c: Likewise.
64502 * signal/signal.c: Likewise.
64503 * signal/sigpause.c: Likewise.
64504 * signal/sigpending.c: Likewise.
64505 * signal/sigqueue.c: Likewise.
64506 * signal/sigreturn.c: Likewise.
64507 * signal/sigset.c: Likewise.
64508 * signal/sigsetmask.c: Likewise.
64509 * signal/sigstack.c: Likewise.
64510 * signal/sigsuspend.c: Likewise.
64511 * signal/sigtimedwait.c: Likewise.
64512 * signal/sigvec.c: Likewise.
64513 * signal/sigwait.c: Likewise.
64514 * signal/sigwaitinfo.c: Likewise.
64515 * signal/sysv_signal.c: Likewise.
64516 * socket/accept.c: Likewise.
64517 * socket/accept4.c: Likewise.
64518 * socket/bind.c: Likewise.
64519 * socket/connect.c: Likewise.
64520 * socket/getpeername.c: Likewise.
64521 * socket/getsockname.c: Likewise.
64522 * socket/getsockopt.c: Likewise.
64523 * socket/isfdtype.c: Likewise.
64524 * socket/listen.c: Likewise.
64525 * socket/recv.c: Likewise.
64526 * socket/recvfrom.c: Likewise.
64527 * socket/recvmsg.c: Likewise.
64528 * socket/send.c: Likewise.
64529 * socket/sendmsg.c: Likewise.
64530 * socket/sendto.c: Likewise.
64531 * socket/setsockopt.c: Likewise.
64532 * socket/shutdown.c: Likewise.
64533 * socket/sockatmark.c: Likewise.
64534 * socket/socket.c: Likewise.
64535 * socket/socketpair.c: Likewise.
64536 * stdio-common/ctermid.c: Likewise.
64537 * stdio-common/cuserid.c: Likewise.
64538 * stdio-common/remove.c: Likewise.
64539 * stdio-common/rename.c: Likewise.
64540 * stdio-common/renameat.c: Likewise.
64541 * stdio-common/tempname.c: Likewise.
64542 * stdlib/getcontext.c: Likewise.
64543 * stdlib/makecontext.c: Likewise.
64544 * stdlib/setcontext.c: Likewise.
64545 * stdlib/swapcontext.c: Likewise.
64546 * stdlib/system.c: Likewise.
64547 * streams/fattach.c: Likewise.
64548 * streams/fdetach.c: Likewise.
64549 * streams/getmsg.c: Likewise.
64550 * streams/getpmsg.c: Likewise.
64551 * streams/putmsg.c: Likewise.
64552 * streams/putpmsg.c: Likewise.
64553 * sysdeps/unix/bsd/getpt.c: Likewise.
64554 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64555 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64558 Likewise.
64559 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64561 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64562 * sysvipc/msgctl.c: Likewise.
64563 * sysvipc/msgget.c: Likewise.
64564 * sysvipc/msgrcv.c: Likewise.
64565 * sysvipc/msgsnd.c: Likewise.
64566 * sysvipc/semctl.c: Likewise.
64567 * sysvipc/semget.c: Likewise.
64568 * sysvipc/semop.c: Likewise.
64569 * sysvipc/semtimedop.c: Likewise.
64570 * sysvipc/shmat.c: Likewise.
64571 * sysvipc/shmctl.c: Likewise.
64572 * sysvipc/shmdt.c: Likewise.
64573 * sysvipc/shmget.c: Likewise.
64574 * termios/tcdrain.c: Likewise.
64575 * termios/tcflow.c: Likewise.
64576 * termios/tcflush.c: Likewise.
64577 * termios/tcgetattr.c: Likewise.
64578 * termios/tcgetpgrp.c: Likewise.
64579 * termios/tcsendbrk.c: Likewise.
64580 * termios/tcsetattr.c: Likewise.
64581 * termios/tcsetpgrp.c: Likewise.
64582 * time/adjtime.c: Likewise.
64583 * time/clock.c: Likewise.
64584 * time/getitimer.c: Likewise.
64585 * time/gettimeofday.c: Likewise.
64586 * time/setitimer.c: Likewise.
64587 * time/settimeofday.c: Likewise.
64588 * time/stime.c: Likewise.
64589 * time/time.c: Likewise.
64590
64591 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64592
64593 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64594 /usr/old/bin.
64595
64596 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64597 instead of spaces.
64598 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64599
64600 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64601
64602 [BZ #14796]
64603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64604 FE_TONEAREST before applying Dekker multiplication and Knuth
64605 addition. Clear inexact exceptions and check for exact zero
64606 results afterwards.
64607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64610 * math/libm-test.inc (fma_test): Add more tests.
64611 (fma_test_towardzero): Likewise.
64612 (fma_test_downward): Likewise.
64613 (fma_test_upward): Likewise.
64614 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64615 function.
64616 (libc_fesetround): New macro.
64617 (libc_fesetroundf): Likewise.
64618 (libc_fesetroundl): Likewise.
64619 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64620 function.
64621 (libc_fesetround_387): Likewise.
64622 (libc_fesetroundf): New macro.
64623 (libc_fesetround): Likewise.
64624 (libc_fesetroundl): Likewise.
64625 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64626 function.
64627 (libc_fesetroundf): New macro.
64628 (libc_fesetround): Likewise.
64629 (libc_fesetroundl): Likewise.
64630 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64631 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64632 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64633 libm_hidden_ver.
64634 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64635 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64636 libm_hidden_def.
64637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64638 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64639 libm_hidden_ver.
64640 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64641 libm_hidden_def.
64642
64643 [BZ #3439]
64644 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64645 integer constant usable in #if and use that to give value to enum
64646 constant.
64647 (FE_DIVBYZERO): Likewise.
64648 (FE_UNDERFLOW): Likewise.
64649 (FE_OVERFLOW): Likewise.
64650 (FE_INVALID): Likewise.
64651 (FE_INVALID_SNAN): Likewise.
64652 (FE_INVALID_ISI): Likewise.
64653 (FE_INVALID_IDI): Likewise.
64654 (FE_INVALID_ZDZ): Likewise.
64655 (FE_INVALID_IMZ): Likewise.
64656 (FE_INVALID_COMPARE): Likewise.
64657 (FE_INVALID_SOFTWARE): Likewise.
64658 (FE_INVALID_SQRT): Likewise.
64659 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64660 (FE_TONEAREST): Likewise.
64661 (FE_TOWARDZERO): Likewise.
64662 (FE_UPWARD): Likewise.
64663 (FE_DOWNWARD): Likewise.
64664 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64665 (FE_DIVBYZERO): Likewise.
64666 (FE_OVERFLOW): Likewise.
64667 (FE_UNDERFLOW): Likewise.
64668 (FE_INEXACT): Likewise.
64669 (FE_TONEAREST): Likewise.
64670 (FE_DOWNWARD): Likewise.
64671 (FE_UPWARD): Likewise.
64672 (FE_TOWARDZERO): Likewise.
64673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64674 (FE_UNDERFLOW): Likewise.
64675 (FE_OVERFLOW): Likewise.
64676 (FE_DIVBYZERO): Likewise.
64677 (FE_INVALID): Likewise.
64678 (FE_TONEAREST): Likewise.
64679 (FE_TOWARDZERO): Likewise.
64680 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64681 (FE_OVERFLOW): Likewise.
64682 (FE_UNDERFLOW): Likewise.
64683 (FE_DIVBYZERO): Likewise.
64684 (FE_INEXACT): Likewise.
64685 (FE_TONEAREST): Likewise.
64686 (FE_TOWARDZERO): Likewise.
64687 (FE_UPWARD): Likewise.
64688 (FE_DOWNWARD): Likewise.
64689 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64690 (FE_DIVBYZERO): Likewise.
64691 (FE_OVERFLOW): Likewise.
64692 (FE_UNDERFLOW): Likewise.
64693 (FE_INEXACT): Likewise.
64694 (FE_TONEAREST): Likewise.
64695 (FE_DOWNWARD): Likewise.
64696 (FE_UPWARD): Likewise.
64697 (FE_TOWARDZERO): Likewise.
64698
64699 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64700
64701 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64702
64703 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64704
64705 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64706 commands. Quote $PWD.
64707 (blacklist_exports): Don't use remove_newlines. Replace "declare
64708 -x" by "export".
64709 (remove_newlines): Remove.
64710
64711 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64712
64713 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64714 * stdlib/stdlib.h (atof): Moved to ...
64715 * include/bits/stdlib-float.h: Here. New file.
64716 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64717 * stdlib/bits/stdlib-float.h: New file.
64718 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64719 -mno-sse -mno-mmx.
64720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64721 <xmmintrin.h>.
64722
64723 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64724
64725 * conform/conformtest.pl (@headers): Add fenv.h.
64726 * conform/data/fenv.h-data: New file.
64727 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64728 include of <math/fenv.h>.
64729
64730 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64731 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64732 && !UNIX98]. Enables tests for XOPEN2K8.
64733 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64734 POSIX2008]: Likewise.
64735
64736 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64737 (struct rusage): Do not expect type or its members.
64738
64739 [BZ #3439]
64740 * math/math.h (FP_NAN): Define macro to integer constant usable in
64741 #if and use that to give value to enum constant.
64742 (FP_INFINITE): Likewise.
64743 (FP_ZERO): Likewise.
64744 (FP_SUBNORMAL): Likewise.
64745 (FP_NORMAL): Likewise.
64746
64747 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64748
64749 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64750 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64751 arguments.
64752
64753 2012-11-02 Roland McGrath <roland@hack.frob.com>
64754
64755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64756 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64757 autoconf-time if not.
64758 * configure.in: Remove AC_PREREQ.
64759
64760 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64761
64762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64763 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64764 of the internal implementation.
64765
64766 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64767
64768 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64769 except include of <misc/sys/syslog.h>.
64770
64771 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64772
64773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64774 function returns with a NULL context exit with zero.
64775
64776 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64777
64778 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64779
64780 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64781
64782 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64783 (run_program_cmd): This.
64784 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64785 (tst_langinfo): New variable. Use it.
64786
64787 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64788
64789 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64790 floating point opcodes.
64791
64792 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64793
64794 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64795 variable.
64796
64797 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64798
64799 * sysdeps/mach/hurd/powerpc: Remove directory.
64800 * sysdeps/mach/powerpc: Likewise.
64801
64802 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64803
64804 * scripts/check-local-headers.sh: Ignore c++ headers.
64805
64806 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64807
64808 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64809 __libc_cleanup_region_start argument.
64810
64811 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64812
64813 [BZ #14784]
64814 [BZ #14785]
64815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64816 x * y using scaling, not as x * y + z.
64817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64819 * math/libm-test.inc (fma_test): Add more tests.
64820 (fma_test_towardzero): Likewise.
64821 (fma_test_downward): Likewise.
64822 (fma_test_upward): Likewise.
64823
64824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64825
64826 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64827
64828 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64829
64830 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64831 New variable.
64832
64833 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64834
64835 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64836
64837 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64838
64839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64840 Fix sort order.
64841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64842 Likewise.
64843
64844 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64845
64846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64847 Fix the order of the list for glibc 2.17.
64848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64849 Likewise.
64850
64851 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64852
64853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64854
64855 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64856
64857 [BZ #14610]
64858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64859 for low part of x being zero before using __atanl (y).
64860 * math/libm-test.inc (atan2_test): Add another test.
64861
64862 * manual/install.texi (Configuring and compiling): Document
64863 general use of test-wrapper and test-wrapper-env.
64864 * INSTALL: Regenerated.
64865
64866 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64867 (__fma): Do not extract and scale down low bits on after-rounding
64868 systems when result rounded to normal precision would have normal
64869 exponent.
64870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64871 (__fmal): Do not extract and scale down low bits on after-rounding
64872 systems when result rounded to normal precision would have normal
64873 exponent.
64874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64875 (__fmal): Do not extract and scale down low bits on after-rounding
64876 systems when result rounded to normal precision would have normal
64877 exponent.
64878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64879 macro.
64880 (fma_test): Add more tests.
64881 (fma_test_towardzero): Likewise.
64882 (fma_test_downward): Likewise.
64883 (fma_test_upward): Likewise.
64884
64885 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64886
64887 * sysdeps/i386/tininess.h: Renamed to ...
64888 * sysdeps/x86/tininess.h: This.
64889 * sysdeps/x86_64/tininess.h: Removed.
64890
64891 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64892
64893 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64894 input. Use $(build-program-cmd).
64895 ($(objpfx)tst-array1-static.out): Likewise.
64896 ($(objpfx)tst-array2.out): Likewise.
64897 ($(objpfx)tst-array3.out): Likewise.
64898 ($(objpfx)tst-array4.out): Likewise.
64899 ($(objpfx)tst-array5.out): Likewise.
64900 ($(objpfx)tst-array5-static.out): Likewise.
64901
64902 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64903
64904 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64905 if defined.
64906
64907 * nss/nsswitch.h (nss_interface_function): Provide new
64908 macro for use with NSS functions.
64909 * grp/initgroups.c: Use new macro.
64910 * nss/getXXbyYY.c: Likewise.
64911 * nss/getXXbyYY_r.c: Likewise.
64912 * nss/getXXent.c: Likewise.
64913 * nss/getXXent_r.c: Likewise.
64914 * sysdeps/posix/getaddrinfo.c: Likewise.
64915
64916 2012-10-30 Andreas Jaeger <aj@suse.de>
64917
64918 * po/ru.po: Update Russion translation from translation project.
64919
64920 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64921
64922 [BZ #14152]
64923 [BZ #14783]
64924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64925 result and shift together with sticky bit instead of replicating
64926 round-to-nearest rounding.
64927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64929 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64930 missing underflow exceptions.
64931 (fma_test_towardzero): Add more tests.
64932 (fma_test_downward): Likewise.
64933 (fma_test_upward): Likewise.
64934
64935 [BZ #14047]
64936 * sysdeps/generic/tininess.h: New file.
64937 * sysdeps/i386/tininess.h: Likewise.
64938 * sysdeps/sh/tininess.h: Likewise.
64939 * sysdeps/x86_64/tininess.h: Likewise.
64940 * stdlib/tst-strtod-underflow.c: Likewise.
64941 * stdlib/tst-tininess.c: Likewise.
64942 * stdlib/strtod_l.c: Include <tininess.h>.
64943 (round_and_return): Do not set errno for exact underflow cases.
64944 Force an underflow exception when setting errno for underflow.
64945 Determine underflow based on rounding to normal precision if
64946 TININESS_AFTER_ROUNDING.
64947 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64948 ERANGE for exact underflow cases.
64949 * stdlib/Makefile (tests): Add tst-tininess and
64950 tst-strtod-underflow.
64951 ($(objpfx)tst-tininess): Use $(link-libm).
64952 ($(objpfx)tst-strtod-underflow): Likewise.
64953
64954 2012-10-30 Andreas Jaeger <aj@suse.de>
64955
64956 [BZ#14767]
64957 * elf/Makefile (tests): Remove conditional for have-initfini-array
64958 since this is now always required and the variable does not exist
64959 anymore.
64960 (tests-static): Likewise.
64961 (modules-names): Likewise.
64962
64963 * po/eo.po: Add Esperanto translation from translation project.
64964
64965 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64966 merged with constructor/destructor.
64967 (init_array): Likewise.
64968 * elf/tst-array2dep.c (fini_array): Likewise.
64969 (init_array): Likewise.
64970
64971 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64972
64973 * manual/message.texi: Delete @cartouche tags.
64974
64975 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64976
64977 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64978 EOPNOTSUPP.
64979 * sysdeps/mach/hurd/fsync.c: Likewise.
64980
64981 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64982 [_POSIX_REALTIME_SIGNALS]: Change condition to
64983 [_POSIX_REALTIME_SIGNALS > 0].
64984
64985 2012-10-27 Andreas Jaeger <aj@suse.de>
64986
64987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64988 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64990 [__WORDSIZE != 64]: Likewise.
64991
64992 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64993
64994 * iconvdata/tst-table.sh: Remove ${SHELL}.
64995 * iconvdata/tst-tables.sh: Likewise.
64996
64997 2012-10-25 David S. Miller <davem@davemloft.net>
64998
64999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65000 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65001 of strtoull.
65002
65003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65004 ifunc-impl-list.c
65005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65007 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65008 file.
65009
65010 2012-10-25 Roland McGrath <roland@hack.frob.com>
65011
65012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65013 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65014 __getdirentries.
65015
65016 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65017 Jim Blandy <jimb@codesourcery.com>
65018
65019 * scripts/cross-test-ssh.sh: New file.
65020 * manual/install.texi (Configuring and compiling): Document use of
65021 cross-test-ssh.sh.
65022 * INSTALL: Regenerated.
65023
65024 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65025
65026 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65027 EOPNOTSUPP.
65028
65029 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65030
65031 * Makeconfig (run-program-prefix): Fix comment.
65032
65033 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65034 Jim Blandy <jimb@codesourcery.com>
65035
65036 * Makeconfig (test-wrapper): New variable,
65037 (test-wrapper-env): Likewise.
65038 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65039 (run-built-tests): Define to yes.
65040 (run-program-prefix): Use $(test-wrapper).
65041 (built-program-cmd): Likewise.
65042 * Rules (make-test-out): Use $(test-wrapper-env) and
65043 $(host-built-program-cmd).
65044 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65045 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65046 tst-pathopt.sh.
65047 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65048 $(test-wrapper-env) to tst-rtld-load-self.sh.
65049 ($(objpfx)order2.out): Use $(test-wrapper).
65050 ($(objpfx)tst-initorder.out): Likewise.
65051 ($(objpfx)tst-initorder2.out): Likewise.
65052 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65053 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65054 (test_wrapper_env): New variable. Use it to run ld.so.
65055 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65056 Use it to run ld.so.
65057 (test_wrapper_env): Likewise.
65058 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65059 $(test-wrapper) to run-iconv-test.sh.
65060 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65061 (ICONV): Use $test_wrapper.
65062 * posix/Makefile ($(objpfx)globtest.out): Pass
65063 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65064 globtest.sh, not $(run-program-prefix).
65065 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65066 (test_wrapper): Likewise.
65067 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65068 set together with run_via_rtld_prefix.
65069 (run_program_prefix): Define in terms of test_wrapper and
65070 run_via_rtld_prefix.
65071
65072 2012-10-24 Roland McGrath <roland@hack.frob.com>
65073
65074 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65075 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65076 Targets removed.
65077
65078 [BZ #14743]
65079 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65080 Declare __clock_getres, __clock_gettime, __clock_settime,
65081 __clock_nanosleep, and __clock_getcpuclockid.
65082 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65083 Remove librt_hidden_def (clock_gettime).
65084 * sysdeps/unix/clock_gettime.c: Likewise.
65085 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65087 * rt/clock_getres.c: Define __clock_getres as an alias.
65088 * sysdeps/posix/clock_getres.c: Likewise.
65089 * rt/clock_settime.c: Define __clock_settime as an alias.
65090 * sysdeps/unix/clock_settime.c: Likewise.
65091 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65092 * sysdeps/unix/clock_nanosleep.c: Likewise.
65093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65094 * rt/clock-compat.c: New file.
65095 * rt/Makefile (librt-routines): Add clock-compat and move
65096 $(clock-routines) to ...
65097 (routines): ... here, new variable.
65098 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65099 Don't add get_clockfreq here.
65100 * rt/Versions (libc: GLIBC_2.17): New version set.
65101 Add clock_* symbols here.
65102 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65104 (GLIBC_2.17): Add clock_* symbols.
65105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65109 Likewise.
65110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65111 Likewise.
65112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65116 * NEWS: Mention the move.
65117
65118 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65119 Use __open, __read, __close rather than their public counterparts.
65120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65121 (__get_clockfreq_via_cpuinfo): Likewise.
65122 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65123 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65124
65125 * config.h.in (HAVE_IFUNC): New #undef.
65126 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65127 was successful.
65128 * configure: Regenerated.
65129
65130 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65131
65132 * configure.in: Move READELF check to start of file.
65133 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65134 libc_cv_asm_gnu_indirect_function in the process.
65135 * configure: Regenerated.
65136
65137 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65138
65139 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65140 send the output to /dev/null.
65141 (libc_cv_cc_with_libunwind): Likewise.
65142 (libc_cv_as_noexecstack): Likewise.
65143 * configure: Regenerate.
65144
65145 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65146
65147 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65148
65149 * posix/globtest.sh (TMPDIR): Do not set.
65150 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65151 (testout): Likewise.
65152
65153 2012-10-24 Andreas Jaeger <aj@suse.de>
65154
65155 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65156 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65157 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65158 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65159 posix_fadvise64, posix_fallocate64.
65160
65161 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65162 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65163 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65164 Likewise.
65165 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65166 Likewise.
65167 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65168
65169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65170 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65171 <bits/fcntl-linux.h>.
65172 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65173
65174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65175 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65176 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65177 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65178 [__WORDSIZE != 64]: Likewise.
65179
65180 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65181
65182 * Makeconfig (run-built-tests): New variable.
65183 * Rules [$(cross-compiling) = yes]: Change condition to
65184 [$(run-built-tests) = no].
65185 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65186 to [$(run-built-tests) = yes].
65187 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65188 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65189 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65190 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65191 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65192 * io/Makefile [$(cross-compiling) = no]: Likewise.
65193 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65194 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65195 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65196 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65197 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65198 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65199 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65200 * string/Makefile [$(cross-compiling) = no]: Likewise.
65201
65202 * posix/Makefile ($(objpfx)globtest.out): Pass
65203 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65204 $(rtld-installed-name).
65205 * posix/globtest.sh (elf_objpfx): Remove variable.
65206 (rtld_installed_name): Likewise.
65207 (library_path): Likewise.
65208 (run_program_prefix): New variable. Use for running globtest
65209 binary.
65210
65211 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65212 Joseph Myers <joseph@codesourcery.com>
65213
65214 * Makeconfig (host-built-program-cmd): New variable.
65215 * elf/Makefile (tst-stackguard1-ARGS): Use
65216 $(host-built-program-cmd).
65217 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65218 (tst-spawn-ARGS): Likewise.
65219 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65220
65221 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65222 Jim Blandy <jimb@codesourcery.com>
65223
65224 * Makeconfig (run-via-rtld-prefix): New variable.
65225 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65226 (built-program-cmd): Likewise.
65227
65228 2012-10-22 Andreas Jaeger <aj@suse.de>
65229
65230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65231 __O_RSYNC if it exists, otherwise to O_SYNC.
65232
65233 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65234 Joseph Myers <joseph@codesourcery.com>
65235
65236 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65237 /dev/null.
65238 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65239 from /dev/null
65240 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65241 /dev/null.
65242
65243 2012-10-22 Andreas Jaeger <aj@suse.de>
65244
65245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65246 Define always.
65247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65248
65249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65250 bits/fcntl-linux.h.
65251
65252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65253 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65254
65255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65256 to __O_LARGEFILE.
65257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65258 to __O_LARGEFILE.
65259
65260 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65261 Joseph Myers <joseph@codesourcery.com>
65262
65263 * config.make.in (NM): New variable.
65264
65265 2012-10-21 Andreas Jaeger <aj@suse.de>
65266
65267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65268 definitions and declarations that are provided by
65269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65270
65271 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65272
65273 [BZ #14683]
65274 * elf/Makefile (tests-static): Add tst-leaks1-static.
65275 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65276 ($(objpfx)tst-leaks1-static): New rule.
65277 ($(objpfx)tst-leaks1-static-mem): Likewise.
65278 (tst-leaks1-static-ENV): New macro.
65279 * elf/dl-open.c (dl_open_worker): Check the main application
65280 only if SHARED is defined.
65281 * elf/tst-leaks1-static.c: New file.
65282
65283 2012-10-20 Andreas Jaeger <aj@suse.de>
65284
65285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65286 generic values for Linux.
65287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65288 and declarations that are provided by <bits/fcntl-linux.h> and
65289 include <bits/fcntl-linux.h>.
65290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65292
65293 2012-10-20 Roland McGrath <roland@hack.frob.com>
65294
65295 * io/fcntl.h: Move include of <bits/types.h> to the top and
65296 include it unconditionally.
65297
65298 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65299
65300 * wcsmbs/Makefile (tests-ifunc): New variable.
65301 (tests): Add $(tests-ifunc).
65302 * wcsmbs/test-wcschr-ifunc.c: New file.
65303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65308
65309 * string/Makefile (tests-ifunc): New variable.
65310 (tests): Add $(tests-ifunc).
65311 * string/test-memccpy.c (TEST_NAME): New macro.
65312 * string/test-memchr.c (TEST_NAME): Likewise.
65313 * string/test-memcmp.c (TEST_NAME): Likewise.
65314 * string/test-memcpy.c (TEST_NAME): Likewise.
65315 * string/test-memmem.c (TEST_NAME): Likewise.
65316 * string/test-memmove.c (TEST_NAME): Likewise.
65317 * string/test-memset.c (TEST_NAME): Likewise.
65318 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65319 * string/test-stpcpy.c (TEST_NAME): Likewise.
65320 * string/test-stpncpy.c (TEST_NAME): Likewise.
65321 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65322 * string/test-strcasestr.c (TEST_NAME): Likewise.
65323 * string/test-strcat.c (TEST_NAME): Likewise.
65324 * string/test-strchr.c (TEST_NAME): Likewise.
65325 * string/test-strcmp.c(TEST_NAME): Likewise.
65326 * string/test-strcpy.c (TEST_NAME): Likewise.
65327 * string/test-strcspn.c (TEST_NAME): Likewise.
65328 * string/test-strlen.c (TEST_NAME): Likewise.
65329 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65330 * string/test-strncmp.c (TEST_NAME): Likewise.
65331 * string/test-strncpy.c (TEST_NAME): Likewise.
65332 * string/test-strnlen.c (TEST_NAME): Likewise.
65333 * string/test-strpbrk.c (TEST_NAME): Likewise.
65334 * string/test-strrchr.c (TEST_NAME): Likewise.
65335 * string/test-strspn.c (TEST_NAME): Likewise.
65336 * string/test-strstr.c (TEST_NAME): Likewise.
65337 * string/test-bcopy-ifunc.c: New file.
65338 * string/test-bzero-ifunc.c: Likewise.
65339 * string/test-memccpy-ifunc.c: Likewise.
65340 * string/test-memchr-ifunc.c: Likewise.
65341 * string/test-memcmp-ifunc.c: Likewise.
65342 * string/test-memcpy-ifunc.c: Likewise.
65343 * string/test-memmem-ifunc.c: Likewise.
65344 * string/test-memmove-ifunc.c: Likewise.
65345 * string/test-mempcpy-ifunc.c: Likewise.
65346 * string/test-memset-ifunc.c: Likewise.
65347 * string/test-rawmemchr-ifunc.c: Likewise.
65348 * string/test-stpcpy-ifunc.c: Likewise.
65349 * string/test-stpncpy-ifunc.c: Likewise.
65350 * string/test-strcasecmp-ifunc.c: Likewise.
65351 * string/test-strcasestr-ifunc.c: Likewise.
65352 * string/test-strcat-ifunc.c: Likewise.
65353 * string/test-strchr-ifunc.c: Likewise.
65354 * string/test-strchrnul-ifunc.c: Likewise.
65355 * string/test-strcmp-ifunc.c: Likewise.
65356 * string/test-strcpy-ifunc.c: Likewise.
65357 * string/test-strcspn-ifunc.c: Likewise.
65358 * string/test-strlen-ifunc.c: Likewise.
65359 * string/test-strncasecmp-ifunc.c: Likewise.
65360 * string/test-strncat-ifunc.c: Likewise.
65361 * string/test-strncmp-ifunc.c: Likewise.
65362 * string/test-strncpy-ifunc.c: Likewise.
65363 * string/test-strnlen-ifunc.c: Likewise.
65364 * string/test-strpbrk-ifunc.c: Likewise.
65365 * string/test-strrchr-ifunc.c: Likewise.
65366 * string/test-strspn-ifunc.c: Likewise.
65367 * string/test-strstr-ifunc.c: Likewise.
65368
65369 * debug/Makefile (tests-ifunc): New variable.
65370 (tests): Add $(tests-ifunc).
65371 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65372 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65373 * debug/test-stpcpy_chk-ifunc.c: New file.
65374 * debug/test-strcpy_chk-ifunc.c: Likewise.
65375
65376 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65377
65378 [BZ #13601]
65379 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65380 header is not read in.
65381
65382 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65383
65384 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65385 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65386 directly. Pass built executable to script as
65387 $(built-program-cmd).
65388 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65389 $testprogram without using LD_LIBRARY_PATH and $ldso.
65390
65391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65392 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65393 $(rtld-installed-name).
65394 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65395 (rtld_installed_name): Likewise.
65396 (library_path): Likewise.
65397 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65399 $(run-program-prefix) to tst-tables.sh.
65400 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65401 it to run tst-table-from and tst-table-to.
65402 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65403 Pass it to tst-table.sh.
65404 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65405 $(run-program-prefix) to tst-gettext.sh.
65406 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65407 tst-translit.sh.
65408 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65409 tst-gettext2.sh.
65410 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65411 to run tst-gettext.
65412 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65413 to run tst-gettext2.
65414 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65415 to run tst-translit.
65416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65417 $(run-program-prefix) to tst-mtrace.sh.
65418 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65419 to run tst-mtrace.
65420 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65421 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65422 $(rtld-installed-name).
65423 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65424 (rtld_installed_name): Likewise.
65425 (run_program_prefix): New variable. Use it to run wordexp-test.
65426
65427 * Makeconfig (ARCH): Remove all definitions.
65428 (machine): Likewise.
65429 [ARCH]: Remove conditional code.
65430 [!objdir]: Give error.
65431 [!objdir] (objpfx): Remove.
65432 [!objdir] (common-objpfx): Likewise.
65433 [!objdir] (common-objdir): Likewise.
65434 * configure.in (config_makefile): Remove. Hardcode Makefile in
65435 AC_CONFIG_FILES call.
65436 * configure: Regenerated.
65437
65438 [BZ #13888]
65439 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65440 or TMPDIR.
65441 (testout): Likewise.
65442
65443 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65444 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65445 $(rtld-installed-name).
65446 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65447 (rtld_installed_name): Likewise.
65448 (runit): Remove function.
65449 (run_getconf): New variable, Use it for running getconf binary.
65450
65451 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65452
65453 [BZ #14716]
65454 * string/test-memmem.c (check_result): New function.
65455 (do_one_test): Use it.
65456 (check1): New function.
65457 (test_main): Use it.
65458
65459 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65460
65461 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65462
65463 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65464
65465 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65466 (_G_LSEEK64): Likewise.
65467 (_G_MMAP64): Likewise.
65468 (_G_FSTAT64): Likewise.
65469 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65470 (_G_LSEEK64): Likewise.
65471 (_G_MMAP64): Likewise.
65472 (_G_FSTAT64): Likewise.
65473 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65474 unconditional. Call __mmap64 directly.
65475 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65476 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65477 __lseek64 directly.
65478 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65479 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65480 __mmap64 directly.
65481 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65482 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65483 __lseek64 directly.
65484 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65485 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65486 __lseek64 directly.
65487 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65488 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65489 __lseek64 directly.
65490 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65491 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65492 __fxstat64 directly.
65493 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65494 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65495 unconditional.
65496 (freopen64) [!_G_OPEN64]: Remove conditional code.
65497 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65498 unconditional.
65499 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65500 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65501 unconditional.
65502 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65503 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65504 unconditional.
65505 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65506 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65507 unconditional.
65508 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65509 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65510 unconditional.
65511 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65512 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65513 unconditional.
65514 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65515 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65516 unconditional.
65517 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65518
65519 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
65520
65521 [BZ #12140]
65522 * manual/memory.texi (Malloc Tunable Parameters): Add note
65523 about free list pointers overwriting some perturb bytes.
65524 Wording suggested by Roland McGrath.
65525
65526 2012-10-17 Joseph Myers <joseph@codesourcery.com>
65527
65528 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65529 (lgamma_test): Likewise.
65530 (tgamma_test): Likewise.
65531
65532 2012-10-16 Florian Weimer <fweimer@redhat.com>
65533
65534 [BZ #14700]
65535 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65536 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65537
65538 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
65539
65540 * NEWS: Mention BZ #14716.
65541 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65542 when removing AVAILABLE1_USES_J macro.
65543
65544 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
65545
65546 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65547 (__bswap_64): __uint64_t for unsigned 64-bit int.
65548
65549 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
65550
65551 * include/string.h (memmem): Declare libc hidden alias.
65552 * string/memmem.c (memmem): Define libc hidden alias.
65553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65554 __read, __close instead of open, read, close.
65555
65556 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65557
65558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65559 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65560 global and hidden.
65561 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65563 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65564 Likewise.
65565 (__rawmemchr_sse2): Likewise.
65566 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65568 (__strchr_sse2): Likewise.
65569 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65570 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65571 (__strcasecmp_sse2): Likewise.
65572 (__strncasecmp_sse2): Likewise.
65573 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65574 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65575 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65576 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65577 (__strrchr_sse2): Likewise.
65578 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65579 ifunc-impl-list.c.
65580 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65581 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65582 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65584 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65585 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65586 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65588 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65589 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65590 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65592 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65594 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65596 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65597 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65598 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65599 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65600 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65601 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65602 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65603 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65604 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65606 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65609 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65610
65611 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65612 global and hidden.
65613 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65614 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65615 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65616 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65617 Likewise.
65618 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65619 Likewise.
65620 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65621 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65622 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65623 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65624 ifunc-impl-list.c.
65625 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65626 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65638 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65639 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65642 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65650 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65651 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65652 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65653 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65655 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65658 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65666
65667 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65668 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65669 * include/ifunc-impl-list.h: New file.
65670 * misc/ifunc-impl-list.c: Likewise.
65671 * misc/Makefile (routines): Add ifunc-impl-list.
65672 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65673 * string/test-string.h: Include <ifunc-impl-list.h>.
65674 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65675 TEST_NAME]: New variables.
65676 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65677 are defined.
65678 (test_init): Call __libc_ifunc_impl_list to initialize
65679 func_list if TEST_IFUNC and TEST_NAME are defined.
65680
65681 * string/Makefile (strop-tests): Add bcopy and bzero.
65682 * string/test-bcopy.c: New file.
65683 * string/test-bzero.c: Likewise.
65684 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65685 defined.
65686 * string/test-memset.c: Support bzero test if TEST_BZERO is
65687 defined.
65688 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65689 __libc_memmove.
65690 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65691 __libc_memset.
65692 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65693 of memset.
65694
65695 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65696
65697 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65698 * configure: Regenerated.
65699
65700 * Makeconfig (+link-static-before-libc): Don't include
65701 $(link-static-libc).
65702
65703 * libio/libio.h (_IO_pos_t): Remove.
65704
65705 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65706
65707 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65708 McGrath.
65709
65710 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65711
65712 * crypt/crypt-entry.c: Include fips-private.h.
65713 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65714 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65715 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65716 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65717
65718 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65719
65720 * crypt/crypt-private.h: Include stdbool.h.
65721 (_ufc_setup_salt_r): Return bool.
65722 * crypt/crypt-entry.c: Include errno.h.
65723 (__crypt_r): Return NULL with EINVAL for bad salt.
65724 * crypt/crypt_util.c (bad_for_salt): New.
65725 (_ufc_setup_salt_r): Check that salt is long enough and within
65726 the specified alphabet.
65727 * crypt/badsalttest.c: New file.
65728 * crypt/Makefile (tests): Add it.
65729 ($(objpfx)badsalttest): New.
65730
65731 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65732
65733 * NEWS: Add entry for BZ #14602.
65734
65735 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65736
65737 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65738 type-generic.
65739 * math/libm-test.inc: Update comment listing what functions and
65740 macros are tested.
65741 (isgreater_test): New function.
65742 (isgreaterequal_test): Likewise.
65743 (isless_test): Likewise.
65744 (islessequal_test): Likewise.
65745 (islessgreater_test): Likewise.
65746 (isunordered_test): Likewise.
65747 (main): Call the new functions.
65748
65749 2012-10-09 Roland McGrath <roland@hack.frob.com>
65750
65751 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65752 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65753 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65754 * sysdeps/i386/configure: Regenerated.
65755 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65756 * sysdeps/mach/configure: Regenerated.
65757 * sysdeps/mach/hurd/configure: Regenerated.
65758 * sysdeps/powerpc/configure: Regenerated.
65759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65761 * sysdeps/s390/s390-32/configure: Regenerated.
65762 * sysdeps/s390/s390-64/configure: Regenerated.
65763 * sysdeps/sh/configure: Regenerated.
65764 * sysdeps/sparc/configure: Regenerated.
65765 * sysdeps/unix/sysv/linux/configure: Regenerated.
65766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65767 * sysdeps/x86_64/configure: Regenerated.
65768
65769 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65770 defined. Don't check if MAP is NULL.
65771
65772 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65773
65774 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65775 (_G_stat64): Likewise.
65776 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65777 (_G_stat64): Likewise.
65778 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65779 instead of struct _G_stat64.
65780 * libio/fileops.c (mmap_remap_check): Likewise.
65781 (decide_maybe_mmap): Likewise.
65782 (_IO_new_file_seekoff): Likewise.
65783 (_IO_file_stat): Likewise.
65784 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65785 _G_off64_t.
65786 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65787 instead of struct _G_stat64.
65788 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65789
65790 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65791
65792 [BZ #14602]
65793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65794 Replace with ...
65795 (CHECK_EOL): New macro.
65796 (two_way_short_needle): Check beginning of haystack for EOL. Use
65797 CHECK_EOL.
65798 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65799 Replace with CHECK_EOL.
65800 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65801 Replace with CHECK_EOL.
65802
65803 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65804
65805 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65806 type-generic.
65807 * math/libm-test.inc: Update comment listing what functions and
65808 macros are tested.
65809 (finite_test): New function.
65810 (isinf_test): Likewise.
65811 (isnan_test): Likewise.
65812 (fpclassify_test): Test subnormal input.
65813 (isfinite_test): Likewise.
65814 (isnormal_test): Likewise.
65815 (main): Call the new functions.
65816
65817 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65818
65819 [BZ #14660]
65820 * Makerules (%.dynsym): Force C locale when running
65821 $(OBJDUMP) --dynamic-syms.
65822
65823 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65824
65825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65826 <stdint.h>.
65827
65828 2012-10-06 David S. Miller <davem@davemloft.net>
65829
65830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65831 upper 32-bits of the length value in %o2 since we use branch-on-register
65832 tests which consider the entire 64-bit register.
65833
65834 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65835
65836 * string/test-strstr.c (check2): Add a test for page boundary.
65837
65838 2012-10-05 David S. Miller <davem@davemloft.net>
65839
65840 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65842 file.
65843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65844 sysdep_routines.
65845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65846 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65847 and bzero when HWCAP_SPARC_CRYPTO is present.
65848
65849 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65850
65851 [BZ #14602]
65852 * string/test-strstr.c (check2): New function.
65853 (test_main): Call check2.
65854
65855 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65856 and bug-strchr1.
65857 * string/bug-strcasestr1.c (do_test): Moved to ...
65858 * string/test-strcasestr.c (check1): Here. New function.
65859 (do_one_test): Break out result checking code into ...
65860 (check_result): This. New function.
65861 (do_one_test): Call check_result.
65862 (test_main): Call check1.
65863 * string/bug-strchr1.c (do_test): Moved to ...
65864 * string/test-strchr.c (check1): Here. New function.
65865 (do_one_test): Break out result checking code into ...
65866 (check_result): This. New function.
65867 (do_one_test): Call check_result.
65868 (test_main): Call check1.
65869 * string/bug-strstr1.c (main): Moved to ...
65870 * string/test-strstr.c (check1): Here. New function.
65871 (do_one_test): Break out result checking code into ...
65872 (check_result): This. New function.
65873 (do_one_test): Call check_result.
65874 (test_main): Call check1.
65875 * string/bug-strcasestr1.c: Removed.
65876 * string/bug-strchr1.c: Likewise.
65877 * string/bug-strstr1.c: Likewise.
65878
65879 * elf/Makefile (dl-routines): Add hwcaps.
65880 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65881 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65882 (_dl_important_hwcaps): Moved to ...
65883 * elf/dl-hwcaps.c: Here. New file.
65884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65885
65886 [BZ #14557]
65887 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65888 if IS_IN_rtld isn't defined.
65889
65890 * elf/dl-support.c (_dl_sysinfo_map): New.
65891 Include "get-dynamic-info.h" and "setup-vdso.h".
65892 (_dl_non_dynamic_init): Call setup_vdso.
65893 * elf/dynamic-link.h: Don't include <assert.h>.
65894 (elf_get_dynamic_info): Moved to ...
65895 * elf/get-dynamic-info.h: Here. New file.
65896 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65897 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65898 * elf/setup-vdso.h: Here. New file.
65899 * elf/rtld.c: Include "setup-vdso.h".
65900 (dl_main): Call setup_vdso.
65901
65902 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65903
65904 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65905 creal in comment listing functions tested. List finite, isinf,
65906 isnan, isless, islessequal, isgreater, isgreaterequal,
65907 islessgreater, isunordered, lgamma_r and pow10 as functions and
65908 macros not tested. Mention which functions not tested are aliases
65909 for other functions. Fix typo. Note that signs of NaNs are not
65910 tested.
65911
65912 * scripts/config.guess: Update from config.git.
65913 * scripts/config.sub: Likewise.
65914
65915 2012-10-04 Roland McGrath <roland@hack.frob.com>
65916
65917 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65918 * misc/madvise.c (madvise): Renamed to __madvise.
65919 Make madvise a weak alias.
65920 * include/sys/mman.h: Declare __madvise.
65921 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65922 * sysdeps/unix/syscalls.list
65923 (madvise): Make __madvise the strong name, and madvise a weak alias.
65924 * sysdeps/unix/sysv/linux/syscalls.list
65925 (madvise, mmap): Remove redundant entries.
65926 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65927 * malloc/malloc.c (mtrim): Likewise.
65928 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65929
65930 2012-10-03 Roland McGrath <roland@hack.frob.com>
65931
65932 * sysdeps/mach/hurd/dl-cache.c: File removed.
65933 * config.h.in (USE_LDCONFIG): New #undef.
65934 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65935 * configure: Regenerated.
65936 * elf/Makefile (dl-routines): Add dl-cache only under
65937 [$(use-ldconfig) = yes].
65938 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65939 cache on [USE_LDCONFIG].
65940 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65941 [USE_LDCONFIG].
65942 * elf/rtld.c (dl_main): Likewise.
65943
65944 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65945
65946 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65947 _SC_LEVEL4_CACHE_LINESIZE.
65948
65949 2012-10-03 Roland McGrath <roland@hack.frob.com>
65950
65951 * sysdeps/unix/bsd/confstr.h: File removed.
65952
65953 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65954
65955 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65956 sys/sdt-config.h.
65957
65958 2012-10-02 Roland McGrath <roland@hack.frob.com>
65959
65960 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65961 Make 'mapoff' field ElfW(Off) rather than off_t.
65962
65963 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65964
65965 * nscd/Makefile: Remove nscd-cflags and all its users.
65966 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65967 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65968
65969 [BZ #10631]
65970 * malloc.c (malloc_printerr): Clarify error message.
65971
65972 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65973
65974 [BZ #14648]
65975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65976 Set bit_FMA_Usable if FMA is supported.
65977 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65978 macro.
65979 (bit_FMA4_Usable): Updated.
65980 (index_FMA_Usable): New macro.
65981 (CPUID_FMA): Likewise.
65982 (HAS_FMA): Defined with bit_FMA_Usable.
65983
65984 2012-10-01 Roland McGrath <roland@hack.frob.com>
65985
65986 * bits/types.h (__swblk_t): Type removed.
65987 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65988 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65990 (__SWBLK_T_TYPE): Likewise.
65991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65992 (__SWBLK_T_TYPE): Likewise.
65993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65994 (__SWBLK_T_TYPE): Likewise.
65995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65996 (__SWBLK_T_TYPE): Likewise.
65997
65998 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65999 Honza Horak <hhorak@redhat.com>
66000
66001 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66002 (xdr_mapname): Use YPMAXMAP as maxsize.
66003 (xdr_peername): Use YPMAXPEER as maxsize.
66004 (xdr_keydat): Use YPAXRECORD as maxsize.
66005 (xdr_valdat): Use YPMAXRECORD as maxsize.
66006
66007 2012-10-01 Roland McGrath <roland@hack.frob.com>
66008
66009 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66010
66011 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66012 * csu/init-first.c: ... here.
66013 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66014 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66017 * sysdeps/i386/init-first.c: File removed.
66018 * sysdeps/sh/init-first.c: File removed.
66019
66020 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66021
66022 [BZ #14645]
66023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66024 if x * y might underflow to zero and z is zero.
66025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66027 * math/libm-test.inc (min_subnorm_value): New variable.
66028 (fma_test): Add more tests.
66029 (fma_test_towardzero): Likewise.
66030 (fma_test_downward): Likewise.
66031 (fma_test_upward): Likewise.
66032 (initialize): Set min_subnorm_value.
66033
66034 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66035
66036 [BZ #14638]
66037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66038 0 + 0.
66039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66040 mode for addition resulting in exact zero.
66041 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66043 exact 0 + 0.
66044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66046 * math/libm-test.inc (fma_test): Add more tests.
66047 (fma_test_towardzero): New function.
66048 (fma_test_downward): Likewise.
66049 (fma_test_upward): Likewise.
66050 (main): Call the new functions.
66051
66052 2012-09-28 David S. Miller <davem@davemloft.net>
66053
66054 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66055
66056 2012-09-28 Roland McGrath <roland@hack.frob.com>
66057
66058 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66059 instead of SIGALRM.
66060
66061 * sysdeps/gnu/_G_config.h: Moved to ...
66062 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66063 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66064 * sysdeps/generic/_G_config.h: ... here.
66065
66066 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66067
66068 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66069
66070 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66071 Conditionalize target on [libnss_test1.so-version].
66072
66073 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66074
66075 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66076 (elfobjdir): Move out of conditionals.
66077
66078 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66079 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66080 (__nss_lookup_function): Conditionalize label remove_from_tree on
66081 [!DO_STATIC_NSS || SHARED], matching its only use.
66082
66083 2012-09-28 David S. Miller <davem@davemloft.net>
66084
66085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66087 file.
66088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66089 sysdep_routines.
66090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66092 when HWCAP_SPARC_CRYPTO is present.
66093
66094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66095
66096 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66097
66098 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66099
66100 [BZ #6530]
66101 * stdio-common/vfprintf.c (process_string_arg): Revert
66102 2000-07-22 change.
66103
66104 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66105
66106 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66107 for testcase.
66108 * stdio-common/tst-sprintf.c: Include <locale.h>
66109 (main): Test sprintf's handling of incomplete multibyte
66110 characters.
66111
66112 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66113
66114 * elf/dl-runtime.c (VERSYMIDX): Removed.
66115 * elf/dl-version.c (VERSYMIDX): Likewise.
66116 * elf/do-rel.h (VERSYMIDX): Likewise.
66117 (VALIDX): Likewise.
66118 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66119 * elf/rtld.c (VALIDX): Likewise.
66120 (ADDRIDX): Likewise.
66121 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66122 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66123 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66124 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66125 (VALIDX): Likewise.
66126 (ADDRIDX): Likewise.
66127
66128 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66129
66130 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66131
66132 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66133
66134 [BZ #11438]
66135 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66136 to global scope.
66137 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66138 addresses are in the same scope as 192.0.2/24.
66139 * posix/gai.conf: Document new scope table defaults.
66140
66141 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66142
66143 [BZ #5298]
66144 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66145 for ftell. Compute offsets from write pointers instead.
66146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66147
66148 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66149
66150 [BZ #14543]
66151 * libio/Makefile (tests): New test case tst-fseek.
66152 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66153 combination works in wide mode.
66154 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66155 state when the external buffer state changes.
66156
66157 2012-09-27 David S. Miller <davem@davemloft.net>
66158
66159 [BZ #14376]
66160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66161 pass reloc->r_addend in as the 'high' argument to
66162 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66163
66164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66165
66166 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66167
66168 * rt/tst-aio2.c: Include <pthread.h>.
66169 * rt/tst-aio3.c: Likewise.
66170
66171 2012-09-27 Steve Ellcey <sellcey@mips.com>
66172
66173 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66174
66175 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66176
66177 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66178 contents on [SHARED].
66179
66180 2012-09-26 Marek Polacek <polacek@redhat.com>
66181
66182 [BZ #14530]
66183 [BZ #13741]
66184 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66185 for C++ and GCC <4.3 as well as for non GCC compilers.
66186
66187 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66188
66189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66190
66191 2012-09-25 Roland McGrath <roland@hack.frob.com>
66192
66193 * Makefile.in (all, install): Declare with .PHONY.
66194 Reported by Michael Hope <michael.hope@linaro.org>.
66195
66196 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66197
66198 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66199 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66200 system header.
66201 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66202 Likewise.
66203 (sydep_routines): Add the new and the internal functions.
66204 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66207 (GLIBC_2.17): Add the new function.
66208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66209 (GLIBC_2.17): Likewise.
66210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66211 (GLIBC_2.17): Likewise.
66212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66213 (GLIBC_2.17): Likewise.
66214 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66215
66216 2012-09-25 Alan Modra <amodra@gmail.com>
66217
66218 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66219 Add release barrier before setting once_control to say
66220 initialisation is done. Add hints on lwarx. Use macro in
66221 place of isync.
66222 (clear_once_control): Add release barrier.
66223
66224 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66225
66226 [BZ #13629]
66227 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66228 specially.
66229 * math/s_clog10.c (__clog10): Likewise.
66230 * math/s_clog10f.c (__clog10f): Likewise.
66231 * math/s_clog10l.c (__clog10l): Likewise.
66232 * math/s_clogf.c (__clogf): Likewise.
66233 * math/s_clogl.c (__clogl): Likewise.
66234 * math/Makefile (libm-calls): Add x2y2m1.
66235 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66236 (__x2y2m1): Likewise.
66237 (__x2y2m1l): Likewise.
66238 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66239 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66240 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66243 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66244 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66245 * sysdeps/i386/fpu/libm-test-ulps: Update.
66246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66247
66248 [BZ #14621]
66249 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66250 int as type of variable DEPTH.
66251 (glob): Use size_t instead of int as type of variables NEWCOUNT
66252 and OLD_PATHC.
66253
66254 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66255
66256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66257 Add s_sincosf-sse2.
66258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66260 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66261 macros for using routine as __sincosf_ia32.
66262 Use macro for function declaration and weak_alias.
66263 * sysdeps/i386/fpu/libm-test-ulps: Update.
66264
66265 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66267
66268 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66269 subnormal argument.
66270 * math/s_cexpf.c (__cexpf): Likewise.
66271 * math/s_csinf.c (__csinf): Likewise.
66272 * math/s_csinhf.c (__csinhf): Likewise.
66273 * math/s_ctanf.c (__ctanf): Likewise.
66274 * math/s_ctanhf.c (__ctanhf): Likewise.
66275 * math/s_ccosh.c (__ccoshf): Likewise.
66276 * math/s_cexp.c (__cexpl): Likewise.
66277 * math/s_csin.c (__csin): Likewise.
66278 * math/s_csinh.c (__csinh): Likewise.
66279 * math/s_ctan.c (__ctan): Likewise.
66280 * math/s_ctanh.c (ctanh): Likewise.
66281 * math/s_ccoshl.c (__ccoshl): Likewise.
66282 * math/s_cexpl.c (__cexpl): Likewise.
66283 * math/s_csinl.c (__csinl): Likewise.
66284 * math/s_csinhl.c (__csinhl): Likewise.
66285 * math/s_ctanl.c (__ctanl): Likewise.
66286 * math/s_ctanhl.c (__ctanhl): Likewise.
66287
66288 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66289
66290 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66291 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66292 (_IO_off_t): Define to __off_t, not _G_off_t.
66293 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66294 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66295 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66296 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66297 type of __dummy and __dummy2 fields.
66298 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66299 (_G_ssize_t): Likewise.
66300 (_G_off_t): Likewise.
66301 (_G_pid_t): Likewise.
66302 (_G_uid_t): Likewise.
66303 (_G_wchar_t): Likewise.
66304 (_G_wint_t): Likewise.
66305 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66306 (_G_ssize_t): Likewise.
66307 (_G_off_t): Likewise.
66308 (_G_pid_t): Likewise.
66309 (_G_uid_t): Likewise.
66310 (_G_wchar_t): Likewise.
66311 (_G_wint_t): Likewise.
66312 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66313 (_G_ssize_t): Likewise.
66314 (_G_off_t): Likewise.
66315 (_G_pid_t): Likewise.
66316 (_G_uid_t): Likewise.
66317 (_G_wchar_t): Likewise.
66318 (_G_wint_t): Likewise.
66319
66320 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66321
66322 * malloc/arena.c: Include malloc-sysdep.h.
66323 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66324 is sufficient to shrink the heap or an unmap is needed.
66325 * sysdeps/generic/malloc-sysdep.h: New file. Define
66326 new function check_may_shrink_heap.
66327 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66328 new function check_may_shrink_heap.
66329
66330 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66331
66332 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66333 comments.
66334
66335 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66336
66337 * catgets/test-gencat.sh: Add "set -e".
66338 * elf/tst-pathopt.sh: Likewise.
66339 * grp/tst_fgetgrent.sh: Likewise.
66340 * iconvdata/run-iconv-test.sh: Likewise.
66341 * intl/tst-gettext.sh: Likewise.
66342 * intl/tst-gettext2.sh: Likewise.
66343 * intl/tst-gettext4.sh: Likewise.
66344 * intl/tst-gettext6.sh: Likewise.
66345 * intl/tst-translit.sh: Likewise.
66346 * io/ftwtest-sh: Likewise.
66347 * libio/test-freopen.sh: Likewise.
66348 * malloc/tst-mtrace.sh: Likewise.
66349 * posix/globtest.sh: Likewise.
66350 * posix/tst-getconf.sh: Likewise.
66351 * posix/wordexp-tst.sh: Likewise.
66352 * stdio-common/tst-printf.sh: Likewise.
66353 * stdio-common/tst-unbputc.sh: Likewise.
66354 * stdlib/tst-fmtmsg.sh: Likewise.
66355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66356 * catgets/Makefile: Do not specify -e option when running
66357 testsuite shell scripts.
66358 * elf/Makefile: Likewise.
66359 * grp/Makefile: Likewise.
66360 * iconvdata/Makefile: Likewise.
66361 * intl/Makefile: Likewise.
66362 * io/Makefile: Likewise.
66363 * libio/Makefile: Likewise.
66364 * malloc/Makefile: Likewise.
66365 * posix/Makefile: Likewise.
66366 * stdio-common/Makefile: Likewise.
66367 * stdlib/Makefile: Likewise.
66368 * sysdeps/x86_64/Makefile: Likewise.
66369
66370 * io/ftwtest-sh: Add copyright header.
66371 * posix/globtest.sh: Likewise.
66372 * posix/tst-getconf.sh: Likewise.
66373 * posix/wordexp-tst.sh: Likewise.
66374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66375
66376 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66377
66378 [BZ #13679]
66379 * Makeconfig (+link): Defined as $(+link-static) if
66380 $(build-shared) isn't yes.
66381 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66382 isn't yes.
66383 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66384
66385 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66386
66387 [BZ #14562]
66388 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66389 new chunk size with MALLOC_ALIGN_MASK.
66390
66391 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66392
66393 [BZ #5044]
66394 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66395 <rounding-mode.h>.
66396 (__printf_fphex): Determine rounding using get_rounding_mode and
66397 round_away.
66398 * stdio-common/tst-printf-round.c (struct hex_test): New
66399 structure.
66400 (hex_tests): New variable.
66401 (test_hex_in_one_mode): New function.
66402 (do_test): Also run tests for hex float output.
66403
66404 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66405
66406 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66408 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66409 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66410 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66411 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66412 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66414
66415 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66416
66417 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66418 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66419 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66420 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66421
66422 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66423
66424 [BZ #14579]
66425 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66426 mode only.
66427 * elf/tst-rtld-load-self.sh: New test.
66428 * elf/Makefile: Run it.
66429
66430 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66431
66432 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66433 (tst-writev-ENV): Remove.
66434 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66435
66436 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66437
66438 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66439
66440 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66441
66442 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66443 unconditional.
66444 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66445 Likewise.
66446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66447 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66449 Likewise.
66450
66451 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66452
66453 [BZ #14587]
66454 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66455 * config.make.in (have-cpp-asm-debuginfo): Removed.
66456 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66457 * configure: Regenerated.
66458
66459 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66460
66461 [BZ #5044]
66462 * stdio-common/printf_fp.c: Include <stdbool.h> and
66463 <rounding-mode.h>.
66464 (___printf_fp): Determine rounding using get_rounding_mode and
66465 round_away.
66466 * stdio-common/tst-printf-round.c: New file.
66467 * stdio-common/Makefile (tests): Add tst-printf-round.
66468 (link-libm): New variable.
66469 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66470
66471 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66472
66473 [BZ #14576]
66474 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66475 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66476 Likewise.
66477 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66478 Likewise.
66479
66480 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66481
66482 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66483 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66484 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66486
66487 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66488
66489 [BZ #14518]
66490 * include/rounding-mode.h: New file.
66491 * sysdeps/generic/get-rounding-mode.h: Likewise.
66492 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66493 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66494 (MAX_VALUE): New macro.
66495 (MIN_VALUE): Likewise.
66496 (overflow_value): New function.
66497 (underflow_value): Likewise.
66498 (round_and_return): Use overflow_value and underflow_value to
66499 determine return values in overflow and underflow cases. Use
66500 round_away to determine rounding depending on rounding mode.
66501 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66502 determine return values in overflow and underflow cases.
66503 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66504 (struct test_results): New structure.
66505 (struct test): Use struct test_results to store expected results
66506 for all rounding modes.
66507 (TEST): Include expected results for all rounding modes.
66508 (test_in_one_mode): New function.
66509 (do_test): Use test_in_one_mode to compute and check results.
66510 Check results for all rounding modes.
66511 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66512 $(link-libm).
66513
66514 2012-12-09 Allan McRae <allan@archlinux.org>
66515
66516 * sysdeps/i386/fpu/libm-test-ulps: Update
66517
66518 2012-09-11 Joseph Myers <joseph@codesourcery.com>
66519
66520 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66521 (_G_int32_t): Likewise.
66522 (_G_uint16_t): Likewise.
66523 (_G_uint32_t): Likewise.
66524 (_G_HAVE_BOOL): Likewise.
66525 (_G_HAVE_ATEXIT): Likewise.
66526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66527 (_G_HAVE_IO_FILE_OPEN): Likewise.
66528 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66529 (_G_int32_t): Likewise.
66530 (_G_uint16_t): Likewise.
66531 (_G_uint32_t): Likewise.
66532 (_G_HAVE_BOOL): Likewise.
66533 (_G_HAVE_ATEXIT): Likewise.
66534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66535 (_G_HAVE_IO_FILE_OPEN): Likewise.
66536 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66537 (_G_int32_t): Likewise.
66538 (_G_uint16_t): Likewise.
66539 (_G_uint32_t): Likewise.
66540 (_G_HAVE_BOOL): Likewise.
66541 (_G_HAVE_ATEXIT): Likewise.
66542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66543 (_G_HAVE_IO_FILE_OPEN): Likewise.
66544
66545 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
66546
66547 * csu/libc-tls.c: Update copyright years.
66548
66549 2012-09-10 Joseph Myers <joseph@codesourcery.com>
66550
66551 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66552 [!_G_USING_THUNKS]: Remove conditional code.
66553 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66554 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66555
66556 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66557 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66558 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66559 (_G_VTABLE_LABEL_PREFIX): Likewise.
66560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66561 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66563 (_G_VTABLE_LABEL_PREFIX): Likewise.
66564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66565 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66567 (_G_VTABLE_LABEL_PREFIX): Likewise.
66568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66569
66570 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66571
66572 * libio/Makefile: Include ../Makeconfig before tests.
66573 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66574 only if $(build-shared) is yes.
66575
66576 * iconv/gconv_db.c: Update copyright years.
66577
66578 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66579
66580 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66581 unwind info if defined PIC. Fix special cases description.
66582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66583
66584 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66585 DP_HI_MASK entry.
66586 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66587
66588 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66589
66590 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66591
66592 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66593 is NULL.
66594
66595 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66596 (LDLIBS-tst-chk4): This.
66597 (LDFLAGS-tst-chk5): Renamed to ...
66598 (LDLIBS-tst-chk5): This.
66599 (LDFLAGS-tst-chk6): Renamed to ...
66600 (LDLIBS-tst-chk6): This.
66601 (LDFLAGS-tst-lfschk4): Renamed to ...
66602 (LDLIBS-tst-lfschk4): This.
66603 (LDFLAGS-tst-lfschk5): Renamed to ...
66604 (LDLIBS-tst-lfschk5): This.
66605 (LDFLAGS-tst-lfschk6): Renamed to ...
66606 (LDLIBS-tst-lfschk6): This.
66607
66608 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66609 on $(common-objpfx)soversions.mk.
66610
66611 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66612
66613 [BZ #10014]
66614 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66615 example host name.
66616
66617 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66618
66619 * malloc/arena.c (arena_get_retry): New function that gets
66620 another arena for the caller to try its request on.
66621 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66622 current arena cannot fulfill the request.
66623 (__libc_memalign): Likewise.
66624 (__libc_memalign): Likewise.
66625 (__libc_pvalloc): Likewise.
66626 (__libc_calloc): Likewise.
66627
66628 2012-09-05 John Tobey <john.tobey@gmail.com>
66629
66630 [BZ #13542]
66631 * manual/arith.texi (Operations on Complex): Fix description
66632 of carg branch cut.
66633
66634 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66635
66636 [BZ #10014]
66637 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66638 host name.
66639
66640 [BZ #10038]
66641 * manual/memory.texi (Memory): Make order of menu items match
66642 order of sections.
66643
66644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66645
66646 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66647 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66648 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66649
66650 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66651
66652 * csu/libc-tls.c (static_dtv): Renamed to ...
66653 (_dl_static_dtv): This. Make it global.
66654 (_dl_initial_dtv): Removed.
66655 (__libc_setup_tls): Updated.
66656 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66657 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66658 DL_INITIAL_DTV.
66659
66660 2012-09-06 Petr Machata <pmachata@redhat.com>
66661
66662 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66663 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66664 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66665 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66666
66667 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66668
66669 [BZ #14545]
66670 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66671 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66672 freeing dtv[-1].
66673
66674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66675
66676 [BZ #14544]
66677 * Makeconfig (link-static-before-libc): Replace $(+prector)
66678 with $(+prectorT).
66679 (link-static-after-libc): Replace $(+postctor) with
66680 $(+postctorT).
66681 (link-bounded): Replace $(+prector)/$(+postctor) with
66682 $(+prectorT)/$(+postctorT).
66683 (+prectorT): New macro.
66684 (+postctorT): Likewise.
66685
66686 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66687
66688 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66689 (round_str): Handle values above the maximum for IBM long double
66690 as inexact.
66691 * stdlib/tst-strtod-round.c (tests): Regenerated.
66692
66693 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66694
66695 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66696 assembler flag.
66697 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66698 zarch_nohighgprs around the zarch optimized routines.
66699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66702 for zarch.
66703
66704 2012-09-05 David S. Miller <davem@davemloft.net>
66705
66706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66707
66708 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66709 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66710 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66712 entries.
66713
66714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66715
66716 * malloc/arena.c: Fold copyright years.
66717 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66718
66719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66720
66721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66722
66723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66724
66725 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66726
66727 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66728
66729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66730 change internal state upon failure.
66731
66732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66733
66734 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66735 * malloc/memusage.c (mmap): Likewise.
66736 (mmap64, mremap): Likewise. Adjust name in comment.
66737
66738 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66739
66740 * libio/fileops.c: Fix typos in comments.
66741 * libio/oldfileops.c: Likewise.
66742 * libio/wfileops.c: Likewise.
66743
66744 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66745
66746 [BZ #1349]
66747 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66748 (tst-malloc-usable-ENV): Set environment for test case.
66749 * malloc/hooks.c (malloc_check_get_size): New function to get
66750 requested size.
66751 * malloc/malloc.c (musable): Use malloc_check_get_size.
66752 * malloc/tst-malloc-usable.c: New test case.
66753
66754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66755
66756 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66757
66758 2012-09-05 Allan McRae <allan@archlinux.org>
66759
66760 [BZ #13966]
66761 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66762 determine header location.
66763 * configure: Regenerated.
66764
66765 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66766
66767 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66768 float format.
66769 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66770 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66771 format.
66772 (test): Regenerate.
66773
66774 2012-09-04 David S. Miller <davem@davemloft.net>
66775
66776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66779
66780 2012-09-04 Florian Weimer <fweimer@redhat.com>
66781
66782 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66783 failures.
66784
66785 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66786
66787 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66788
66789 [BZ #9914]
66790 * libio/iogetdelim.c: Include <limits.h>.
66791 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66792 + len + 1 would overflow.
66793
66794 2012-09-03 Andreas Jaeger <aj@suse.de>
66795
66796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66797 * sysdeps/i386/fpu/libm-test-ulps: Update.
66798
66799 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66800
66801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66802 Add s_sinf-sse2, s_conf-sse2.
66803
66804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66806 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66807 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66808
66809 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66810 for using routine as __sinf_ia32.
66811 Use macro for function declaration and weak_alias.
66812 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66813 for using routine as __cosf_ia32.
66814 Use macro for function declaration and weak_alias.
66815
66816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66817 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66818
66819 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66820 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66822
66823 * math/libm-test.inc (cos_test): Add more test cases.
66824 (sin_test): Likewise.
66825 (sincos_test): Likewise.
66826
66827 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66828
66829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66830 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66831 hidden.
66832 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66833
66834 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66835
66836 [BZ #14538]
66837 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66838 first element of the GOT.
66839 (elf_machine_load_address): Return the difference between
66840 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66841
66842 2012-09-01 Allan McRae <allan@archlinux.org>
66843
66844 [BZ #13412]
66845 * configure.in (AWK): Require gawk version 3.0 or later.
66846 * configure: Regenerated.
66847
66848 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66849
66850 * sysdeps/unix/sysv/linux/kernel-features.h
66851 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66853 [__NR_clock_getres]: Make code unconditional.
66854 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66855 (clock_getcpuclockid): Remove code left unreachable by removal of
66856 conditionals.
66857 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66858 code unconditional.
66859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66861 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66862 Make code unconditional.
66863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66865 * sysdeps/unix/sysv/linux/clock_settime.c
66866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66867 conditional code.
66868 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66870
66871 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66872
66873 [BZ #14476]
66874 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66875 scripts/test-installation.pl.
66876
66877 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66878 and $ld_so_version if it is set.
66879
66880 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66881
66882 [BZ #14516]
66883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66884 failure if reading from procfs failed.
66885 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66886
66887 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66888
66889 * sysdeps/unix/sysv/linux/kernel-features.h
66890 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66891 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66892 Remove conditional code.
66893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66894 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66895 Remove conditional code.
66896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66897 * sysdeps/unix/sysv/linux/i386/fxstat.c
66898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66900 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66903 * sysdeps/unix/sysv/linux/i386/lxstat.c
66904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66906 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66907 Remove conditional code.
66908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66909 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66910 Remove conditional code.
66911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66912 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66913 <kernel-features.h>.
66914 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66915 Remove.
66916 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66917 Remove conditional code.
66918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66919 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66920 Remove conditional.
66921
66922 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66923
66924 [BZ #5400]
66925 * NEWS: Add fixed bug number.
66926
66927 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66928
66929 [BZ #14519]
66930 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66931 underflowing exponent in case of negative sign.
66932 * stdlib/tst-strtod-round-data: Add more tests.
66933 * stdlib/tst-strtod-round.c (tests): Regenerated.
66934
66935 [BZ #3479]
66936 * stdlib/strtod_l.c (NDIG): Remove.
66937 (HEXNDIG): Likewise.
66938 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66939 smallest representable value.
66940 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66941 lie within an exact representation of 1/2 ulp of the result.
66942 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66943 unconditionally.
66944 (TENS_P9_IDX): Define unconditionally.
66945 (TENS_P9_SIZE): Likewise.
66946 (TENS_P10_IDX): Likewise.
66947 (TENS_P10_SIZE): Likewise.
66948 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66949 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66951 entries for 10^2^13 and 10^2^14.
66952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66953 (TENS_P13_IDX): Define.
66954 (TENS_P13_SIZE): Likewise.
66955 (TENS_P14_IDX): Likewise.
66956 (TENS_P14_SIZE): Likewise.
66957 (_fpioconst_pow10): Change array size to
66958 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66959 unconditional.
66960 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66961 1024]: Add entries for 10^2^13 and 10^2^14.
66962 [LAST_POW10 > _LAST_POW10]: Remove #error.
66963 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66964 (_fpioconst_pow10): Change array size to
66965 FPIOCONST_POW10_ARRAY_SIZE.
66966 * stdlib/gen-fpioconst.c: New file.
66967 * stdlib/gen-tst-strtod-round.c: Likewise.
66968 * stdlib/tst-strtod-round-data: Likewise.
66969 * stdlib/tst-strtod-round.c: Likewise.
66970 * stdlib/Makefile (tests): Add tst-strtod-round.
66971
66972 [BZ #14459]
66973 * stdlib/strtod_l.c: Include <stdint.h>.
66974 (NDEBUG): Do not define.
66975 (round_and_return): Change EXPONENT parameter to type intmax_t.
66976 Rearrange calculations to avoid internal overflow possibilities.
66977 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66978 Rearrange calculations to avoid internal overflow possibilities.
66979 Assert that number fits inside MPNSIZE limbs.
66980 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66981 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66982 calculations and add assertions to avoid internal overflow
66983 possibilities. Add casts to avoid signed/unsigned operations.
66984 * stdlib/tst-strtod-overflow.c: New file.
66985 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66986
66987 2012-08-25 Marek Polacek <polacek@redhat.com>
66988
66989 * time/time.h: Fix some typos in comments.
66990
66991 2012-08-23 Roland McGrath <roland@hack.frob.com>
66992
66993 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66994 * posix/tst-rfc3484-2.c: Likewise.
66995 * posix/tst-rfc3484-3.c: Likewise.
66996
66997 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66998
66999 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67000 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67001
67002 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67003
67004 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67005 #include of fxstatat64.c.
67006
67007 2012-08-22 Roland McGrath <roland@hack.frob.com>
67008
67009 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67010 * shadow/getspent_r.c: Likewise.
67011 * shadow/getspnam.c: Likewise.
67012 * shadow/getspnam_r.c: Likewise.
67013 * gshadow/getsgent.c: Likewise.
67014 * gshadow/getsgent_r.c: Likewise.
67015 * gshadow/getsgnam.c: Likewise.
67016 * gshadow/getsgnam_r.c: Likewise.
67017 * inet/getnetbyad.c: Likewise.
67018 * inet/getnetbyad_r.c: Likewise.
67019 * inet/getnetbynm.c: Likewise.
67020 * inet/getnetbynm_r.c: Likewise.
67021 * inet/getnetent.c: Likewise.
67022 * inet/getnetent_r.c: Likewise.
67023 * inet/getproto.c: Likewise.
67024 * inet/getproto_r.c: Likewise.
67025 * inet/getprtent.c: Likewise.
67026 * inet/getprtent_r.c: Likewise.
67027 * inet/getprtname.c: Likewise.
67028 * inet/getprtname_r.c: Likewise.
67029 * inet/getrpcbyname.c: Likewise.
67030 * inet/getrpcbyname_r.c: Likewise.
67031 * inet/getrpcbynumber.c: Likewise.
67032 * inet/getrpcbynumber_r.c: Likewise.
67033 * inet/getrpcent.c: Likewise.
67034 * inet/getrpcent_r.c: Likewise.
67035 * inet/getaliasent.c: Likewise.
67036 * inet/getaliasent_r.c: Likewise.
67037 * inet/getaliasname.c: Likewise.
67038 * inet/getaliasname_r.c: Likewise.
67039 * nscd/getgrgid_r.c: Likewise.
67040 * nscd/getgrnam_r.c: Likewise.
67041 * nscd/gethstbyad_r.c: Likewise.
67042 * nscd/gethstbynm3_r.c: Likewise.
67043 * nscd/getpwnam_r.c: Likewise.
67044 * nscd/getpwuid_r.c: Likewise.
67045 * nscd/getsrvbynm_r.c: Likewise.
67046 * nscd/getsrvbypt_r.c: Likewise.
67047 * nscd/gai.c: Likewise.
67048
67049 * configure.in (build_nscd): New substituted variable, set
67050 by --disable-build-nscd and defaults to $use_nscd.
67051 * configure: Regenerated.
67052 * config.make.in (build-nscd): New substituted variable.
67053 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67054 Change conditional to require [$(build-nscd) = yes] as well.
67055 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67056
67057 [BZ# 13696]
67058 * configure.in (use_nscd): New substituted variable, set by
67059 --disable-nscd. If enabled, define USE_NSCD.
67060 * configure: Regenerated.
67061 * config.h.in: Add USE_NSCD.
67062 * config.make.in (use-nscd): New substituted variable.
67063 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67064 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67065 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67066 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67067 (CFLAGS-getgrnam_r.c): Likewise.
67068 (CFLAGS-initgroups.c): Likewise.
67069 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67070 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67071 Variables removed.
67072 * inet/getnetgrent_r.c
67073 (nscd_setnetgrent): New function, broken out of ...
67074 (setnetgrent): ... here. Call it.
67075 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67076 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67077 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67078 * nscd/Makefile (routines, aux): Move definitions after include of
67079 Makeconfig. Conditionalize on [$(use-nscd) != no].
67080 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67081 Conditionalize on [USE_NSCD].
67082 (is_nscd, nscd_init_cb): Likewise.
67083 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67084 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67085 * nss/nss_db/db-init.c: Likewise.
67086 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67087 [USE_NSCD].
67088 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67089 (make_request): Use it.
67090 (cache_valid_p): New function.
67091 (__check_pf): Use it.
67092 * NEWS: Add item for --disable-nscd.
67093
67094 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67095
67096 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67097 to support sed >= 4.2.1-20-ga9bf076.
67098 * configure: Regenerated.
67099
67100 2012-08-22 Roland McGrath <roland@hack.frob.com>
67101
67102 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67103 Conditionalize whole body on [IREL].
67104
67105 2012-08-22 Jeff Law <law@redhat.com>
67106
67107 [BZ #14505]
67108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67109 if the family is PF_UNSPEC.
67110
67111 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67112
67113 * Makerules (lib-version): Rename from V.
67114 (install-lib-nosubdir): Change V to lib-version.
67115
67116 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67117
67118 [BZ #14252]
67119 * powerpc32/power6/wcschr.c: New file.
67120 * powerpc32/power6/wcscpy.c: New file.
67121 * powerpc32/power6/wcsrchr.c: New file.
67122 * powerpc64/power6/wcschr.c: New file.
67123 * powerpc64/power6/wcscpy.c: New file.
67124 * powerpc64/power6/wcsrchr.c: New file.
67125
67126 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67127
67128 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67129 (two_way_short_needle): Use it.
67130 * string/strstr.c (AVAILABLE1_USES_J): Define.
67131 * string/strcasestr.c: Likewise.
67132
67133 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67134 array references.
67135 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67136
67137 [BZ #11607]
67138 * NEWS: Add an entry.
67139 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67140 define their defaults.
67141 (two_way_short_needle): Detect end-of-string on-the-fly.
67142 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67143 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67144 * string/bug-strcasestr1.c: New test.
67145 * string/Makefile: Run it.
67146
67147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67148
67149 [BZ #11607]
67150 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67151 the first character.
67152
67153 2012-08-21 Roland McGrath <roland@hack.frob.com>
67154
67155 * csu/elf-init.c (__libc_csu_irel): Function removed.
67156 * csu/libc-start.c (apply_irel): New function.
67157 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67158
67159 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67160
67161 * sysdeps/unix/sysv/linux/kernel-features.h
67162 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67164 <kernel-features.h>.
67165 [__NR_fadvise64_64]: Make code unconditional.
67166 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67167 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67168 !__NR_fadvise64_64)]: Likewise.
67169 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67170 !__NR_fadvise64_64))]: Likewise.
67171 [__NR_fadvise64]: Make code unconditional.
67172 [!__NR_fadvise64]: Remove conditional code.
67173 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67174 <kernel-features.h>.
67175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67176 unconditional.
67177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67178 conditional code.
67179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67180 not include <kernel-features.h>.
67181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67182 unconditional.
67183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67184 conditional code.
67185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67186 include <kernel-features.h>.
67187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67188 unconditional.
67189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67190 conditional code.
67191
67192 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67193
67194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67195 slight instruction rearrangements per scrollpipe analysis.
67196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67197
67198 2012-08-20 Roland McGrath <roland@hack.frob.com>
67199
67200 * manual/syslog.texi (syslog; vsyslog, closelog):
67201 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67202 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67203
67204 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67205 DSOCAPS to match condition on defining it.
67206
67207 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67208
67209 * sysdeps/unix/sysv/linux/kernel-features.h
67210 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67220
67221 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67222 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67223
67224 * sysdeps/unix/sysv/linux/kernel-features.h
67225 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67226 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67227 unconditional.
67228 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67229 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67232 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67233 Make code unconditional.
67234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67235 (__mmap64) [!__NR_mmap2]: Likewise.
67236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67239 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67240 [__NR_mmap2]: Make code unconditional.
67241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67242 (__mmap64) [!__NR_mmap2]: Likewise.
67243
67244 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67245
67246 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67247
67248 2012-08-18 Andreas Jaeger <aj@suse.de>
67249
67250 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67251
67252 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67253
67254 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67255 * include/unistd.h (__have_sock_cloexec): Likewise.
67256 (__have_pipe2): Likewise.
67257 (__have_dup3): Likewise.
67258
67259 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67260
67261 [BZ #9685]
67262 * include/unistd.h (__have_pipe2): Change define into an extern int.
67263 (__have_dup3): Likewise.
67264 * socket/have_sock_cloexec.c: Include fcntl.h.
67265 (__have_pipe2): New variable.
67266 (__have_dup3): Likewise.
67267
67268 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67269
67270 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67271
67272 2012-08-17 Marek Polacek <polacek@redhat.com>
67273
67274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67275 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67276
67277 2012-08-17 Roland McGrath <roland@hack.frob.com>
67278
67279 * configure.in: Add AC_SUBST for sysheaders.
67280 * configure: Regenerated.
67281 * config.make.in (sysheaders): New substituted variable.
67282
67283 * sysdeps/unix/mkfifo.c: Moved ...
67284 * sysdeps/posix/mkfifo.c: ... here.
67285 * sysdeps/unix/mkfifoat.c: Moved ...
67286 * sysdeps/posix/mkfifoat.c: ... here.
67287
67288 * sysdeps/unix/utime.c: Moved ...
67289 * sysdeps/posix/utime.c: ... here.
67290
67291 * sysdeps/unix/time.c: Moved ...
67292 * sysdeps/posix/time.c: ... here.
67293 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67294 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67295
67296 * sysdeps/unix/nice.c: Moved ...
67297 * sysdeps/posix/nice.c: ... here.
67298
67299 * sysdeps/unix/alarm.c: Moved ...
67300 * sysdeps/posix/alarm.c: ... here.
67301
67302 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67303
67304 2012-08-17 Jeff Law <law@redhat.com>
67305
67306 * intl/Makefile (codeset_mo): New variable.
67307 ($(codeset_mo)): New target.
67308 (tst-codeset.out): Depend on that. Remove explicit rule.
67309 (tst-gettext3.out, tst-gettext5.out): Likewise.
67310 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67311 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67312 * intl/tst-codeset.sh: Remove.
67313 * intl/tst-gettext3.sh: Likewise.
67314 * intl/tst-gettext5.sh: Likewise.
67315
67316 2012-08-17 Roland McGrath <roland@hack.frob.com>
67317
67318 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67319 * sysdeps/unix/syscalls.list: ... here.
67320
67321 * sysdeps/posix/getaddrinfo.c
67322 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67323 (gaiconf_init, gaiconf_reload): Use them.
67324 [!_STATBUF_ST_NSEC]
67325 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67326 Define using time_t rather than struct timespec.
67327
67328 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67329 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67330 Macros removed.
67331 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67332 [!NO_THREADS].
67333 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67334 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67335 Likewise.
67336
67337 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67338 __libc_cleanup_push argument.
67339
67340 * bits/param.h: New file.
67341 * misc/sys/param.h: New file.
67342 * include/sys/param.h: New file.
67343 * misc/Makefile (headers): Add bits/param.h.
67344 * sysdeps/generic/sys/param.h: File removed.
67345 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67346 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67347 * sysdeps/mach/hurd/bits/param.h: New file.
67348 * sysdeps/mach/hurd/sys/param.h: File removed.
67349
67350 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67351 last change.
67352
67353 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67354 [_IO_MTSAFE_IO].
67355 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67356 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67357 New macros.
67358
67359 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67360 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67361 rather than -D_IO_MTSAFE_IO conditionally.
67362 * stdio-common/Makefile (CPPFLAGS): Likewise.
67363 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67364 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67365 Use $(libio-mtsafe).
67366 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67367 of -D_IO_MTSAFE_IO.
67368 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67369 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67370 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67371 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67372 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67373 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67374 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67375 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67376 (CFLAGS-fread_u_chk.c): Likewise.
67377 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67378 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67379 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67380 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67381 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67382 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67383 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67384 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67385 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67386
67387 * libio/Makefile: Test [$(libc-reentrant) = yes]
67388 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67389
67390 * Makeconfig
67391 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67392 * sysdeps/pthread/configure: File removed.
67393 * sysdeps/pthread/Makeconfig: New file.
67394 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67395 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67396
67397 2012-08-16 Gary Benson <gbenson@redhat.com>
67398
67399 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67400 unmapping the first object in a namespace.
67401
67402 2012-08-16 Roland McGrath <roland@hack.frob.com>
67403
67404 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67405 (__internal_setnetgrent): ... this. Add internal_function to
67406 definition. Add libc_hidden_def.
67407 (setnetgrent): Update caller.
67408 (internal_endnetgrent): Renamed to ...
67409 (__internal_endnetgrent): ... this. Add internal_function to
67410 definition. Add libc_hidden_def.
67411 (endnetgrent): Update caller.
67412 (internal_getnetgrent_r): Renamed to ...
67413 (__internal_getnetgrent_r): ... this. Add internal_function to
67414 definition. Add libc_hidden_def.
67415 (__getnetgrent_r): Update caller.
67416 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67417
67418 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67419
67420 * stdlib/longlong.h: Update from GCC.
67421
67422 2012-08-16 Roland McGrath <roland@hack.frob.com>
67423
67424 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67425 on _QL, which is set by umul_ppmm but never used.
67426 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67427 variables, which are set by GMP macros but never used.
67428 * stdio-common/_itowa.c (_itowa): Likewise.
67429 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67430 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67431
67432 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67433
67434 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67435 struct La_sh_regs is not constant.
67436 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67437 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67438 and struct La_sparc64_regs are not constant.
67439
67440 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67441
67442 * sysdeps/unix/sysv/linux/kernel-features.h
67443 (__ASSUME_POSIX_TIMERS): Remove.
67444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67446 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67447 Make code unconditional.
67448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67449 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67450 Make code unconditional.
67451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67452 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67453 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67455 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67456 Make code unconditional.
67457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67458 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67459 (__libc_missing_posix_timers): Remove.
67460
67461 2012-08-15 Roland McGrath <roland@hack.frob.com>
67462
67463 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67464 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67465
67466 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67467
67468 * elf/dl-sym.c: Include <stdlib.h>.
67469
67470 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67471 constants, which avoids warnings in 32-bit builds.
67472
67473 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67474 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67475
67476 * misc/lseek.c: File moved to ...
67477 * io/lseek.c: ... here.
67478
67479 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67480
67481 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67482 shifting LEN more than 31 bits at once.
67483
67484 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67485
67486 [BZ #14195]
67487 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67488 segmentation fault for a case of two empty input strings.
67489 * string/test-strncasecmp.c (check1): Renamed to...
67490 (bz12205): ...this.
67491 (bz14195): Add new testcase for two empty input strings and N > 0.
67492 (test_main): Call new testcase, adapt for renamed function.
67493
67494 2012-08-15 Andreas Jaeger <aj@suse.de>
67495
67496 [BZ #14090]
67497 * crypt/md5test2.c: New test, based on test supplied by Serge
67498 Belyshev <belyshev@depni.sinp.msu.ru>.
67499 * crypt/Makefile (xtests): Add md5test-giant..
67500 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67501
67502 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67503
67504 [BZ #14090]
67505 * crypt/md5.c (md5_process_block): Don't assume the buffer
67506 length is less than 2**32.
67507 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67508 length is less than 2**64.
67509
67510 2012-08-15 Roland McGrath <roland@hack.frob.com>
67511
67512 * string/str-two-way.h: Include <sys/param.h>.
67513 (MAX): Macro removed.
67514
67515 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67516 Move #define and #undef of memmove to just before and after
67517 including <string.h>.
67518
67519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67520 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67521 and after including <string.h>. Move declarations of
67522 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67523 to before #include "string/memmove.c".
67524
67525 * include/dirent.h: Declare __getdirentries.
67526
67527 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67528 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67529
67530 2012-08-14 Mike Frysinger <vapier@gentoo.org>
67531
67532 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67533 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67534 * sysdeps/i386/configure: Regenerated.
67535 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67536 STABS_CURRENT_FILE, and STABS_FUN.
67537 (END): Remove call to STABS_FUN_END.
67538 (STABS_CURRENT_FILE1): Delete.
67539 (STABS_CURRENT_FILE): Likewise.
67540 (STABS_FUN): Likewise.
67541 (STABS_FUN_END): Likewise.
67542 (STABS_FUN2): Likewise.
67543 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67544 * sysdeps/x86_64/configure: Regenerated.
67545
67546 2012-08-14 Roland McGrath <roland@hack.frob.com>
67547
67548 * elf/dl-open.c: Include <atomic.h>.
67549 * elf/dl-lookup.c: Likewise.
67550
67551 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67552
67553 * sysdeps/unix/sysv/linux/kernel-features.h
67554 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67555 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67556 unconditionally.
67557 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67558 unconditionally.
67559 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67560 condition on __ASSUME_CLONE_THREAD_FLAGS.
67561
67562 2012-08-14 Andreas Jaeger <aj@suse.de>
67563
67564 * sysdeps/i386/fpu/libm-test-ulps: Update.
67565
67566 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67567
67568 * include/atomic.h (atomic_exchange_and_add): Split into ...
67569 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67570 New atomic macros.
67571
67572 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67573
67574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67575
67576 2012-08-13 Jeff Law <law@redhat.com>
67577
67578 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67579 null byte in the output string.
67580
67581 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67582
67583 * sysdeps/unix/sysv/linux/kernel-features.h
67584 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67585 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67586 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67588 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67589 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67590 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67591
67592 2012-08-09 Jeff Law <law@redhat.com>
67593
67594 [BZ #13939]
67595 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67596 When avoid_arena is set, don't retry in the that arena. Pick the
67597 next one, whatever it might be.
67598 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67599 (arena_lock): Pass in new parameter to arena_get2.
67600 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67601 arena_get2.
67602 (__libc_malloc): Unify retrying after main arena failure with
67603 __libc_memalign version.
67604 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67605
67606 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67607
67608 [BZ #14166]
67609 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67610 to __redirect_strstr.
67611 (__strstr_sse42): Use typeof __redirect_strstr.
67612 (__strstr_ia32): Likewise.
67613 (__libc_strstr): New prototype.
67614 (strstr): Renamed to ...
67615 (__libc_strstr): This.
67616 (strstr): New strong alias of __libc_strstr.
67617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67618 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67619 __redirect_time.
67620 Include <time.h>.
67621 (__libc_time): New prototype.
67622 (time_ifunc): Replace time with __libc_time.
67623 (time): New strong alias and hidden definition of __libc_time.
67624 (__GI_time): Remove strong alias.
67625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67626 Include <stddef.h>.
67627 (memmove): Redefined to __redirect_memmove.
67628 (__memmove_sse2): Use typeof __redirect_memmove.
67629 (__memmove_ssse3): Likewise.
67630 (__memmove_ssse3_back): Likewise.
67631 (__libc_memmove): New prototype.
67632 (memmove): Renamed to ...
67633 (__libc_memmove): This.
67634 (memmove): New strong alias of __libc_memmove.
67635
67636 2012-08-08 Mark Salter <msalter@redhat.com>
67637
67638 * elf/elf.h
67639 (R_MN10300_TLS_GD): Define.
67640 (R_MN10300_TLS_LD): Likewise.
67641 (R_MN10300_TLS_LDO): Likewise.
67642 (R_MN10300_TLS_GOTIE): Likewise.
67643 (R_MN10300_TLS_IE): Likewise.
67644 (R_MN10300_TLS_LE): Likewise.
67645 (R_MN10300_TLS_DTPMOD): Likewise.
67646 (R_MN10300_TLS_DTPOFF): Likewise.
67647 (R_MN10300_TLS_TPOFF): Likewise.
67648 (R_MN10300_SYM_DIFF): Likewise.
67649 (R_MN10300_ALIGN): Likewise.
67650 (R_MN10300_NUM): Update.
67651
67652 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67653
67654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67655 Remove.
67656
67657 2012-08-08 Roland McGrath <roland@hack.frob.com>
67658
67659 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67660
67661 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67662 sysdeps/unix -> sysdeps/posix move.
67663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67664
67665 2012-08-07 Allan McRae <allan@archlinux.org>
67666
67667 [BZ #14303]
67668 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67669 (SUNOS_CPP): Likewise.
67670 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67671 not found.
67672 (open_input): Call CPP using execvp.
67673
67674 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67675
67676 * sysdeps/unix/sysv/linux/kernel-features.h
67677 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67678 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67679 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67680 (__ASSUME_WAITID_SYSCALL): Likewise.
67681 * sysdeps/unix/sysv/linux/dl-execstack.c
67682 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67683 code unconditional.
67684 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67685 conditional code.
67686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67687 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67688 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67689 code.
67690 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67691 unconditional.
67692 [__ASSUME_WAITID_SYSCALL]: Likewise.
67693 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67694
67695 2012-08-07 Roland McGrath <roland@hack.frob.com>
67696
67697 * sysdeps/unix/closedir.c: Renamed to ...
67698 * sysdeps/posix/closedir.c: ... here.
67699 * sysdeps/unix/dirfd.c: Renamed to ...
67700 * sysdeps/posix/dirfd.c: ... here.
67701 * sysdeps/unix/dirstream.h: Renamed to ...
67702 * sysdeps/posix/dirstream.h: ... here.
67703 * sysdeps/unix/fdopendir.c: Renamed to ...
67704 * sysdeps/posix/fdopendir.c: ... here.
67705 * sysdeps/unix/opendir.c: Renamed to ...
67706 * sysdeps/posix/opendir.c: ... here.
67707 * sysdeps/unix/readdir.c: Renamed to ...
67708 * sysdeps/posix/readdir.c: ... here.
67709 * sysdeps/unix/readdir_r.c: Renamed to ...
67710 * sysdeps/posix/readdir_r.c: ... here.
67711 * sysdeps/unix/rewinddir.c: Renamed to ...
67712 * sysdeps/posix/rewinddir.c: ... here.
67713 * sysdeps/unix/seekdir.c: Renamed to ...
67714 * sysdeps/posix/seekdir.c: ... here.
67715 * sysdeps/unix/telldir.c: Renamed to ...
67716 * sysdeps/posix/telldir.c: ... here.
67717 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67718 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67719 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67720 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67721
67722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67723 * bits/fcntl.h: ... here.
67724
67725 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67726 not 0.
67727 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67728 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67729 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67730 (struct flock): Move l_start, l_len to the beginning.
67731 Use __pid_t for l_pid.
67732 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67733 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67734 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67735 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67736 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67737 [__USE_LARGEFILE64] (struct flock64): New type.
67738 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67739
67740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67741 * bits/dirent.h: ... here.
67742
67743 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67744 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67745
67746 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67747
67748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67749 Change from 2.6.0 to 2.6.16.
67750 * sysdeps/unix/sysv/linux/configure: Regenerated.
67751 * sysdeps/unix/sysv/linux/kernel-features.h
67752 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67753 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67754 version.
67755 (__ASSUME_UTIMES): Likewise.
67756 (__ASSUME_CLONE_STOPPED): Remove.
67757 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67758 architectures, not kernel version.
67759 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67762 (__ASSUME_WAITID_SYSCALL): Likewise.
67763 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67764 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67765 * README: State 2.6.16 as minimum Linux kernel version. Do not
67766 refer to older versions.
67767
67768 2012-08-06 Roland McGrath <roland@hack.frob.com>
67769
67770 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67771 Define alphasort64 as an alias.
67772 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67773 Define versionsort64 as an alias.
67774 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67775 Define scandir64 as an alias.
67776 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67777 Define scandirat64 as an alias.
67778 * dirent/alphasort64.c (alphasort64):
67779 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67780 * dirent/versionsort64.c: Likewise.
67781 * dirent/scandir64.c: Likewise.
67782 * dirent/scandirat64.c: Likewise.
67783 * sysdeps/wordsize-64/alphasort.c: File removed.
67784 * sysdeps/wordsize-64/alphasort64.c: File removed.
67785 * sysdeps/wordsize-64/scandir.c: File removed.
67786 * sysdeps/wordsize-64/scandir64.c: File removed.
67787 * sysdeps/wordsize-64/scandirat.c: File removed.
67788 * sysdeps/wordsize-64/scandirat64.c: File removed.
67789 * sysdeps/wordsize-64/versionsort.c: File removed.
67790 * sysdeps/wordsize-64/versionsort64.c: File removed.
67791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67799
67800 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67802 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67804 [defined __arch64__ || defined __sparcv9]
67805 (__INO_T_MATCHES_INO64_T): New macro.
67806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67807 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67808 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67809 * sysdeps/unix/sysv/linux/bits/dirent.h
67810 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67811 (_DIRENT_MATCHES_DIRENT64): New macro.
67812
67813 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67814 Define lockf64 as an alias.
67815 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67816 Define fseeko64 as an alias.
67817 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67818 Define ftello64 as an alias.
67819 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67820 Define _IO_fgetpos64 and fgetpos64 as aliases.
67821 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67822 Define _IO_fsetpos64 and fsetpos64 as aliases.
67823 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67824 Conditionalize body on this.
67825 * libio/fseeko64.c: Likewise.
67826 * libio/ftello64.c: Likewise.
67827 * libio/iofgetpos64.c: Likewise.
67828 * libio/iofsetpos64.c: Likewise.
67829 * sysdeps/wordsize-64/lockf.c: File removed.
67830 * sysdeps/wordsize-64/lockf64.c: File removed.
67831 * sysdeps/wordsize-64/fseeko.c: File removed.
67832 * sysdeps/wordsize-64/fseeko64.c: File removed.
67833 * sysdeps/wordsize-64/ftello.c: File removed.
67834 * sysdeps/wordsize-64/ftello64.c: File removed.
67835 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67836 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67837 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67838 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67849
67850 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67852 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67854 [defined __arch64__ || defined __sparcv9]
67855 (__OFF_T_MATCHES_OFF64_T): New macro.
67856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67857 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67859 (__OFF_T_MATCHES_OFF64_T): New macro.
67860
67861 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67862
67863 * stdlib/secure-getenv.c (__secure_getenv): Replace
67864 GLIBC_2_16 with GLIBC_2_17.
67865
67866 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67867
67868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67870
67871 2012-08-03 David S. Miller <davem@davemloft.net>
67872
67873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67874
67875 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67876
67877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67878 Remove.
67879 (__ASSUME_CORRECT_SI_PID): Likewise.
67880 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67881 (__ASSUME_TMPFS_NAME): Likewise.
67882 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67883 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67884 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67885 (HAVE_AUX_SECURE): Make definition unconditional.
67886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67887 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67888
67889 2012-08-03 Roland McGrath <roland@hack.frob.com>
67890
67891 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67892 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67893 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67895 __eloop_threshold instead of SYMLOOP_MAX.
67896
67897 * sysdeps/generic/eloop-threshold.h: New file.
67898 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67899 of MAXSYMLINKS.
67900 * elf/chroot_canon.c (chroot_canon): Likewise.
67901
67902 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67903
67904 [BZ #13717]
67905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67906 Change to 2.6.0 everywhere.
67907 * sysdeps/unix/sysv/linux/configure: Regenerated.
67908 * sysdeps/unix/sysv/linux/kernel-features.h
67909 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67910 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67911 kernel versions.
67912 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67913 (__ASSUME_FUTEX_REQUEUE): Remove.
67914 (__ASSUME_STATFS64): Define unconditionally.
67915 (__ASSUME_AT_SECURE): Likewise.
67916 (__ASSUME_CORRECT_SI_PID): Likewise.
67917 (__ASSUME_TGKILL): Define without depending on kernel version for
67918 i386.
67919 (__ASSUME_UTIMES): Likewise.
67920 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67921 kernel version.
67922 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67923 (__ASSUME_TMPFS_NAME): Likewise.
67924 * README: Update reference to Linux kernel versions.
67925
67926 2012-08-02 Marek Polacek <polacek@redhat.com>
67927
67928 [BZ# 14150]
67929 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67930 libc_cv_asm_type_prefix with %.
67931 * configure: Regenerated.
67932 * include/libc-symbols.h: Remove comment about
67933 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67934 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67935 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67936 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67937 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67938 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67941 * elf/tst-unique2mod1.c: Likewise.
67942 * elf/tst-unique1mod2.c: Likewise.
67943 * elf/tst-unique1mod1.c: Likewise.
67944 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67945 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67946 Replace ASM_TYPE_DIRECTIVE with .type.
67947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67948 * sysdeps/i386/sysdep.h: Likewise.
67949 * sysdeps/x86_64/sysdep.h: Likewise.
67950 * sysdeps/sh/sysdep.h: Likewise.
67951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67952 Do not define ASM_TYPE_DIRECTIVE.
67953 * sysdeps/powerpc/sysdep.h: Likewise.
67954 * sysdeps/powerpc/powerpc32/sysdep.h:
67955 Replace ASM_TYPE_DIRECTIVE with .type.
67956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67957 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67958 * sysdeps/i386/fpu/e_powf.S: Likewise.
67959 * sysdeps/i386/fpu/e_expl.S: Likewise.
67960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67962 * sysdeps/i386/fpu/e_pow.S: Likewise.
67963 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67965 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67966 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67967 * sysdeps/i386/fpu/e_log2.S: Likewise.
67968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67969 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67970 * sysdeps/i386/fpu/e_powl.S: Likewise.
67971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67973 * sysdeps/i386/fpu/e_logl.S: Likewise.
67974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67979 * sysdeps/i386/fpu/e_log.S: Likewise.
67980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67981 * sysdeps/i386/fpu/e_logf.S: Likewise.
67982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67985 * sysdeps/i386/fpu/e_log10.S: Likewise.
67986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67993 * sysdeps/i386/i686/strtok.S: Likewise.
67994 * sysdeps/i386/i386-mcount.S: Likewise.
67995 * sysdeps/i386/strtok.S: Likewise.
67996 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68005 * sysdeps/x86_64/_mcount.S: Likewise.
68006 * sysdeps/x86_64/strtok.S: Likewise.
68007 * sysdeps/sh/_mcount.S: Likewise.
68008
68009 2012-08-01 Roland McGrath <roland@hack.frob.com>
68010
68011 * libio/iofopen.c: Include <fcntl.h>.
68012 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68013 (_IO_fopen64, fopen64): Define as aliases.
68014 * libio/iofopen64.c: Include <fcntl.h>.
68015 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68016 Conditionalize body on this.
68017 * sysdeps/wordsize-64/iofopen.c: File removed.
68018 * sysdeps/wordsize-64/iofopen64.c: File removed.
68019
68020 2012-08-01 Marek Polacek <polacek@redhat.com>
68021
68022 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68023 Use dlfcn directly instead of a variable.
68024 (binfmt-subdir): Do not define.
68025 (dlfcn): Likewise.
68026
68027 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68028
68029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68030 Remove all definitions.
68031 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68032 <kernel-features.h>.
68033 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68034 (miss_F_GETOWN_EX): Remove all definitions.
68035 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68036 macro definition.
68037 [!__ASSUME_FCNTL64]: Remove conditional code.
68038 [__ASSUME_FCNTL64]: Make code unconditional.
68039 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68040 <kernel-features.h>.
68041 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68042 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68043 (lockf64) [__NR_fcntl64]: Make code unconditional.
68044 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68045
68046 * sysdeps/unix/sysv/linux/kernel-features.h
68047 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68048 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68049 Make code unconditional.
68050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68053 [__NR_vfork]: Make code unconditional.
68054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68057 [__NR_vfork]: Make code unconditional.
68058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68060
68061 2012-08-01 Roland McGrath <roland@hack.frob.com>
68062
68063 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68064 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68065
68066 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68067 Define mkstemp64 as an alias.
68068 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68069 Define mkstemps64 as an alias.
68070 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68071 Define mkostemp64 as an alias.
68072 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68073 Define mkostemps64 as an alias.
68074 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68075 Conditionalize body on this.
68076 * misc/mkostemp64.c: Likewise.
68077 * misc/mkostemps64.c: Likewise.
68078 * misc/mkstemps64.c: Likewise.
68079 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68080 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68081 * sysdeps/wordsize-64/mkostemp.c: File removed.
68082 * sysdeps/wordsize-64/mkstemp.c: File removed.
68083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68087
68088 [BZ #14138]
68089 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68091 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68092 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68093
68094 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68095 compat_symbol macros from <shlib-compat.h> rather than the underlying
68096 default_symbol_version and symbol_version macros, so that DEFAULT
68097 lines in shlib-versions are respected.
68098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68099
68100 2012-08-01 Florian Weimer <fweimer@redhat.com>
68101
68102 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68103 Declare with warn_unused_result.
68104 (setgid, setregid, setegid, setresgid): Likewise.
68105 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68106 Likewise.
68107 * WUR-REPORT: Remove set*id functions.
68108
68109 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68110
68111 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68112
68113 2012-07-31 Roland McGrath <roland@hack.frob.com>
68114
68115 [BZ #10191]
68116 * include/sys/socket.h (__libc_accept, __libc_accept4):
68117 Add attribute_hidden.
68118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68119
68120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68121 use of PTR_MANGLE.
68122 * inet/getnetgrent_r.c (setup): Likewise.
68123
68124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68125
68126 2012-07-31 David S. Miller <davem@davemloft.net>
68127
68128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68129
68130 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68131
68132 [BZ #13629]
68133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68134 value between 1.0 and 2.0 and smaller part has absolute value less
68135 than 1.0.
68136 * math/s_clog10.c (__clog10): Likewise.
68137 * math/s_clog10f.c (__clog10f): Likewise.
68138 * math/s_clog10l.c (__clog10l): Likewise.
68139 * math/s_clogf.c (__clogf): Likewise.
68140 * math/s_clogl.c (__clogl): Likewise.
68141 * math/libm-test.inc (clog_test): Add more tests.
68142 (clog10_test): Likewise.
68143 * sysdeps/i386/fpu/libm-test-ulps: Update.
68144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68145
68146 2012-07-31 Florian Weimer <fweimer@redhat.com>
68147
68148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68149 Exit with zero in case no suitable GID is found, and write a
68150 message to standard error.
68151
68152 2012-07-30 Roland McGrath <roland@hack.frob.com>
68153
68154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68155 rather than to 1.
68156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68157 (MAXPATHLEN): Removed.
68158 (NOGROUP, NODEV): New macros.
68159 (setbit, clrbit, isset, isclr): New macros.
68160 (howmany, roundup, powerof2): New macros.
68161 (DEV_BSIZE): New macro.
68162
68163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68165
68166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68167 definition on [!__NO_LONG_DOUBLE_MATH].
68168
68169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68170 PTR_MANGLE and PTR_DEMANGLE.
68171
68172 * socket/accept4.c (accept4): Rename to __libc_accept4.
68173 Define accept4 as a weak alias.
68174
68175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68176 on [_DIRENT_HAVE_D_TYPE].
68177 * io/ftw.c (ftw_dir): Likewise.
68178
68179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68180
68181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68182
68183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68184 Use the BSD numbers rather than the arbitrary ones we had.
68185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68187 (SIGXCPU, SIGXFSZ): New macros.
68188 (_NSIG): Now 32.
68189
68190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68191 initializer on [_LIBC_REENTRANT].
68192
68193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68194 definitions inside [_POSIX_MAPPED_FILES].
68195
68196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68197
68198 * dirent/opendir.c: Include <fcntl.h>.
68199
68200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68201 (__libc_getspecific): Likewise.
68202 (__libc_key_create): Likewise.
68203
68204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68207 (tmpfile64): Define as alias.
68208 * sysdeps/wordsize-64/tmpfile.c: File removed.
68209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68212
68213 * stdio-common/vfscanf.c: Include <stdbool.h>.
68214 * nss/makedb.c: Likewise.
68215 * stdio-common/_i18n_number.h: Likewise.
68216 * argp/argp-help.c: Likewise.
68217 * posix/wordexp.c: Likewise.
68218 * sysdeps/posix/spawni.c: Likewise.
68219 * nss/nss_files/files-initgroups.c: Likewise.
68220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68221 * nss/nss_files/files-initgroups.c: Likewise.
68222 * nss/nss_db/db-netgrp.c: Likewise.
68223 * nss/nss_db/db-initgroups.c: Likewise.
68224 * io/fchmodat.c: Include <sys/stat.h>.
68225
68226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68228
68229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68230 [HAVE_MMAP].
68231
68232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68233 Add multiple inclusion protection.
68234
68235 2012-07-27 David S. Miller <davem@davemloft.net>
68236
68237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68238
68239 2012-07-27 Gary Benson <gbenson@redhat.com>
68240
68241 [BZ #14298]
68242 * elf/rtld.c: Include <stap-probe.h>.
68243 (dl_main): Added static probes "init_start" and "init_complete".
68244 * elf/dl-load.c: Include <stap-probe.h>.
68245 (lose): Take new parameter "nsid".
68246 Added static probe "map_failed".
68247 (_dl_map_object_from_fd): Pass namespace id to lose.
68248 Added static probe "map_start".
68249 (open_verify): Pass namespace id to lose.
68250 * elf/dl-open.c: Include <stap-probe.h>.
68251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68252 and "reloc_complete".
68253 * elf/dl-close.c: Include <stap-probe.h>.
68254 (_dl_close_worker): Added static probes "unmap_start" and
68255 "unmap_complete".
68256 * elf/rtld-debugger-interface.txt: New file documenting the above.
68257
68258 2012-07-26 Roland McGrath <roland@hack.frob.com>
68259
68260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68261 rather than a string variable.
68262 * sunrpc/rpc_main.c (h_output): Likewise.
68263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68264
68265 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68266
68267 * inet/check_native.c: New file.
68268
68269 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68270
68271 [BZ #13629]
68272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68273 if larger part has absolute value 1.0.
68274 * math/s_clog10.c (__clog10): Likewise.
68275 * math/s_clog10f.c (__clog10f): Likewise.
68276 * math/s_clog10l.c (__clog10l): Likewise.
68277 * math/s_clogf.c (__clogf): Likewise.
68278 * math/s_clogl.c (__clogl): Likewise.
68279 * math/libm-test.inc (clog_test): Add more tests.
68280 (clog10_test): Likewise.
68281 * sysdeps/i386/fpu/libm-test-ulps: Update.
68282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68283
68284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68285 (pltexit): Likewise.
68286 (La_regs): Likewise.
68287 (La_retval): Likewise.
68288 (int_retval): Likewise.
68289 Update #error for removed macros to refer only to definitions in
68290 tst-audit.h.
68291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68292 macro.
68293 (pltexit): Likewise.
68294 (La_regs): Likewise.
68295 (La_retval): Likewise.
68296 (int_retval): Likewise.
68297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68298 macro.
68299 (pltexit): Likewise.
68300 (La_regs): Likewise.
68301 (La_retval): Likewise.
68302 (int_retval): Likewise.
68303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68304 macro.
68305 (pltexit): Likewise.
68306 (La_regs): Likewise.
68307 (La_retval): Likewise.
68308 (int_retval): Likewise.
68309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68310 macro.
68311 (pltexit): Likewise.
68312 (La_regs): Likewise.
68313 (La_retval): Likewise.
68314 (int_retval): Likewise.
68315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68316 macro.
68317 (pltexit): Likewise.
68318 (La_regs): Likewise.
68319 (La_retval): Likewise.
68320 (int_retval): Likewise.
68321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68322 macro.
68323 (pltexit): Likewise.
68324 (La_regs): Likewise.
68325 (La_retval): Likewise.
68326 (int_retval): Likewise.
68327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68328 macro definitions in tst-audit.h.
68329 * sysdeps/i386/tst-audit.h: New file.
68330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68334 * sysdeps/sh/tst-audit.h: Likewise.
68335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68337 * sysdeps/x86_64/tst-audit.h: Likewise.
68338
68339 2012-07-26 Andreas Jaeger <aj@suse.de>
68340
68341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68342 ptrace.
68343
68344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68347 PTRACE_O_MASK.
68348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68351
68352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68353 value.
68354
68355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68356 _sigsys.
68357 (si_call_addr, si_syscall, si_arch): Define new macro.
68358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68359 _sigsys.
68360 (si_call_addr, si_syscall, si_arch): Define new marcro.
68361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68362 _sigsys.
68363 (si_call_addr, si_syscall, si_arch): Define new macro.
68364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68365 _sigsys.
68366 (si_call_addr, si_syscall, si_arch): Define new macro.
68367
68368 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68369
68370 [BZ #13717]
68371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68372 Change to 2.4.21 where previously 2.4.1.
68373 * sysdeps/unix/sysv/linux/configure: Regenerated.
68374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68376 Linux kernel version.
68377 (__ASSUME_STD_AUXV): Remove.
68378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68379 kernel version.
68380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68384 (__ASSUME_NETLINK_SUPPORT): Likewise.
68385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68386 (__no_netlink_support): Remove conditional definition.
68387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68388 Remove.
68389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68392 (if_nameindex_ioctl): Remove.
68393 (if_nameindex_netlink): Do not handle __no_netlink_support.
68394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68395 code.
68396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68397 Remove conditional code.
68398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68399 code.
68400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68401 unconditional.
68402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68405 Remove.
68406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68407 [!__ASSUME_STD_AUXV]: Remove conditional code.
68408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68414 code.
68415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68419 conditional code.
68420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68423 code.
68424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68426 conditional code.
68427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68429 code unconditional.
68430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68431 conditional code.
68432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68433 unconditional.
68434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68435 conditional code.
68436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68438 unconditional.
68439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68440 conditional code.
68441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68443 code unconditional.
68444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68445 conditional code.
68446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68447 unconditional.
68448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68449 conditional code.
68450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68452 code unconditional.
68453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68454 conditional code.
68455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68456 unconditional.
68457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68458 conditional code.
68459
68460 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68461
68462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68485
68486 2012-07-25 Florian Weimer <fweimer@redhat.com>
68487
68488 * Versions.def: Add GLIBC_2.17.
68489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68491 Introduce __libc_secure_getenv.
68492 * stdlib/Versions (2.17): Add secure_getenv
68493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68494 * stdlib/secure-getenv.c: Rename __secure_getenv to
68495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68496 symbol __secure_getenv for GLIBC_2.0.
68497 * stdlib/tst-secure-getenv.c: New.
68498 * stdlib/Makefile (tests): Add testcase.
68499 * manual/startup.texi (Environment Access): Document
68500 secure_getenv.
68501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68502 __libc_secure_getenv.
68503 * inet/ruserpass.c (ruserpass): Likewise.
68504 * malloc/mtrace.c (mtrace): Likewise.
68505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68508 * sysdeps/posix/tempname.c: Likewise. Evaluate
68509 HAVE_SECURE_GETENV.
68510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68511 __secure_getenv to __libc_secure_getenv.
68512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68514 Likewise.
68515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68516 Likewise.
68517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68524
68525 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68526
68527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68528 (struct La_i86_retval): Likewise.
68529 (struct La_x86_64_regs): Likewise.
68530 (struct La_x86_64_retval): Likewise.
68531 (struct La_x32_regs): Likewise.
68532 (struct La_x32_retval): Likewise.
68533 (struct La_ppc32_regs): Likewise.
68534 (struct La_ppc32_retval): Likewise.
68535 (struct La_ppc64_regs): Likewise.
68536 (struct La_ppc64_retval): Likewise.
68537 (struct La_sh_regs): Likewise.
68538 (struct La_sh_retval): Likewise.
68539 (struct La_s390_32_regs): Likewise.
68540 (struct La_s390_32_retval): Likewise.
68541 (struct La_s390_64_regs): Likewise.
68542 (struct La_s390_64_retval): Likewise.
68543 (struct La_sparc32_regs): Likewise.
68544 (struct La_sparc32_retval): Likewise.
68545 (struct La_sparc64_regs): Likewise.
68546 (struct La_sparc64_retval): Likewise.
68547 (struct audit_ifaces): Remove architecture-specific pltenter and
68548 pltexit members.
68549 * sysdeps/i386/ldsodefs.h: New file.
68550 * sysdeps/powerpc/ldsodefs.h: Likewise.
68551 * sysdeps/s390/ldsodefs.h: Likewise.
68552 * sysdeps/sh/ldsodefs.h: Likewise.
68553 * sysdeps/sparc/ldsodefs.h: Likewise.
68554 * sysdeps/x86_64/ldsodefs.h: Likewise.
68555
68556 2012-07-25 Marek Polacek <polacek@redhat.com>
68557
68558 [BZ #6808]
68559 * math/libm-test.inc (yn_test): Add another test.
68560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68561 to ERANGE when the result is +-Inf.
68562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68566
68567 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68568
68569 * conform/data/time.h-data (NULL): Use macro-constant. Require
68570 equal to 0.
68571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68572 clock_t.
68573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68574
68575 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68576
68577 * configure.in <sysdeps resolving>: Correct printing
68578 Implies_before.
68579 * configure: Regenerate.
68580
68581 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68582
68583 * math/w_ilogb.c: Include <limits.h>.
68584 * math/w_ilogbl.c: Likewise.
68585
68586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68587
68588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68589 va_copy. Document allowing for unavailable va_copy only as
68590 pre-C99 compatibility.
68591 * manual/string.texi (Copying and Concatenation): Use va_copy
68592 instead of __va_copy in concat example.
68593
68594 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68595
68596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68597 (__sendto): Use create_address_port. Initialize APORT and deallocate
68598 it if not null.
68599
68600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68601 with O_NOLINK passed to __file_name_lookup.
68602
68603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68604 with O_NOLINK passed to __file_name_lookup.
68605
68606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68607 negative N or less than NGIDS.
68608
68609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68610 type to string_t. Set ERANGE as errno and return it if NAME is not big
68611 enough. Use memcpy instead of strncpy.
68612
68613 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68614
68615 * elf/Makefile (check-data): Remove.
68616 (localplt.data): New vpath directive.
68617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68618 instead of $(check-data).
68619 * scripts/data/localplt-generic.data: Move to ...
68620 * sysdeps/generic/localplt.data: ... here.
68621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68625 ... here.
68626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68628 ... here.
68629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68631 ... here.
68632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68634 ... here.
68635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68637 ... here.
68638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68640 ... here.
68641
68642 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68643
68644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68645 PPC32 and PPC64 files.
68646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68648
68649 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68650
68651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68652 __makecontext_ret to ...
68653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68654 ... here and call exit if uc_link is NULL. New file.
68655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68656 __makecontext_ret.S.
68657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68658 __makecontext_ret to ...
68659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68660 ... here and call exit if uc_link is NULL. New file.
68661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68662 __makecontext_ret.S.
68663
68664 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68665
68666 * elf/elf.h (R_390_IRELATIVE): New definition.
68667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68671 (elf_machine_lazy_rel): Likewise.
68672 * sysdeps/s390/dl-irel.h: New file.
68673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68674 * sysdeps/s390/s390-64/memset.S: New asm code.
68675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68687 * sysdeps/s390/s390-32/memset.S: New asm code.
68688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68689
68690 2012-07-17 Marek Polacek <polacek@redhat.com>
68691
68692 [BZ #14349]
68693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68694 * sysdeps/s390/s390-64/configure.in: Likewise.
68695 * sysdeps/sparc/configure.in: Likewise.
68696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68698 * sysdeps/i386/configure.in: Likewise.
68699 * sysdeps/x86_64/configure.in: Likewise.
68700 * sysdeps/sh/configure.in: Likewise.
68701 * sysdeps/s390/s390-32/configure: Regenerated.
68702 * sysdeps/s390/s390-64/configure: Likewise.
68703 * sysdeps/x86_64/configure: Likewise.
68704 * sysdeps/sh/configure: Likewise.
68705 * sysdeps/powerpc/powerpc64/configure: Likewise.
68706 * sysdeps/powerpc/powerpc32/configure: Likewise.
68707 * sysdeps/sparc/configure: Likewise.
68708 * sysdeps/i386/configure: Likewise.
68709
68710 * elf/dl-open.c: Comment fixes.
68711
68712 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68713
68714 * Makefile [CXX] (check-data): Remove.
68715 [CXX] (c++-types.data): New vpath directive.
68716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68717 vpath. Do not allow for C++ type data being missing.
68718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68726 ... here.
68727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68729 ... here.
68730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68732 ... here.
68733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68735 ... here.
68736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68738 ... here.
68739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68741 ... here.
68742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68744 ... here.
68745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68747
68748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68749 definitions to architecture-specific files.
68750 (TLS_IE): Likewise.
68751 (TLS_LD): Likewise.
68752 (TLS_GD): Likewise.
68753 * sysdeps/i386/tls-macros.h: New file.
68754 * sysdeps/powerpc/tls-macros.h: Likewise.
68755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68757 * sysdeps/sh/tls-macros.h: Likewise.
68758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68760 * sysdeps/x86_64/tls-macros.h: Likewise.
68761
68762 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68763
68764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68765 zero value for regular exit case.
68766
68767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68768 (__start_context): Preserve zero value for regular exit case.
68769
68770 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68772
68773 * manual/setjmp.texi (setcontext): Clarify normal process
68774 termination when uc_link is the null pointer.
68775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68776 exit call.
68777
68778 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68779
68780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68781 preprocessor. Test for each exception mask separately.
68782
68783 2012-07-16 Andreas Jaeger <aj@suse.de>
68784
68785 * po/ru.po: Update from translation team.
68786
68787 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68788
68789 * conform/data/string.h-data (NULL): Use macro-constant. Require
68790 equal to 0.
68791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68796
68797 2012-07-13 Andreas Jaeger <aj@suse.de>
68798
68799 * po/fr.po: Update from translation team.
68800
68801 2012-07-12 Marek Polacek <polacek@redhat.com>
68802
68803 [BZ #14173]
68804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68806 loop condition.
68807
68808 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68809
68810 [BZ #13717]
68811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68812 Change to 2.4.1 where previously 2.4.0.
68813 * sysdeps/unix/sysv/linux/configure: Regenerated.
68814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68816 version.
68817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68818 (__ASSUME_AT_CLKTCK): Remove.
68819 (__ASSUME_AT_PAGESIZE): Likewise.
68820 (__ASSUME_AT_XID): Likewise.
68821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68824 unconditionally.
68825 (HAVE_AUX_PAGESIZE): Likewise.
68826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68829
68830 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68831
68832 [BZ #14307]
68833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68834 the temporary buffer used to invoke __gethostbyname2_r,
68835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68836 host_data / struct gaih_addrtuple.
68837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68839 header file nss/nsswitch.h.
68840 * nss/nsswitch.h (global scope): Add definition of implementation
68841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68842 resolv/nss_dns/dns-host.c).
68843
68844 2012-07-11 Andreas Jaeger <aj@suse.de>
68845
68846 * po/fr.po: Update from translation team.
68847
68848 * po/sv.po: Update from translation team
68849 * po/fr.po: Another update from translation team.
68850
68851 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68852
68853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68854 for subnormals or multiply small sinh result by itself.
68855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68857
68858 2012-07-11 David S. Miller <davem@davemloft.net>
68859
68860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68861
68862 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68863
68864 [BZ #14347]
68865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68866 (INTERNAL_MARK): Shift it here.
68867
68868 2012-07-10 Marek Polacek <polacek@redhat.com>
68869
68870 [BZ #14151]
68871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68872 libc_cv_asm_global_directive with .globl.
68873 * configure: Regenerated.
68874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68875 with .globl.
68876 * sysdeps/i386/configure: Regenerated.
68877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68878 with .globl.
68879 * sysdeps/x86_64/configure: Regenerated.
68880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68882 * elf/tst-unique2mod2.c: Likewise.
68883 * elf/tst-unique2mod1.c: Likewise.
68884 * elf/tst-unique1mod2.c: Likewise.
68885 * elf/tst-unique1mod1.c: Likewise.
68886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68890 * sysdeps/mach/sysdep.h: Likewise.
68891 * sysdeps/i386/sysdep.h: Likewise.
68892 * sysdeps/i386/i386-mcount.S: Likewise.
68893 * sysdeps/x86_64/_mcount.S: Likewise.
68894 * sysdeps/x86_64/sysdep.h: Likewise.
68895 * sysdeps/sh/_mcount.S: Likewise.
68896 * sysdeps/sh/sysdep.h: Likewise.
68897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68904 * locale/localeinfo.h: Likewise.
68905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68907
68908 2012-07-09 Roland McGrath <roland@hack.frob.com>
68909
68910 [BZ #14336]
68911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68912 system".
68913 * manual/message.texi (The Uniforum approach): Likewise.
68914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68915 (glibc iconv Implementation): Likewise.
68916
68917 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68918
68919 [BZ #14337]
68920 * math/s_clog.c (__clog): Avoid scaling a value down where that
68921 could result in underflow.
68922 * math/s_clog10.c (__clog10): Likewise.
68923 * math/s_clog10f.c (__clog10f): Likewise.
68924 * math/s_clog10l.c (__clog10l): Likewise.
68925 * math/s_clogf.c (__clogf): Likewise.
68926 * math/s_clogl.c (__clogl): Likewise.
68927 * math/libm-test.inc (clog_test): Add more tests.
68928 (clog10_test): Likewise.
68929 * sysdeps/i386/fpu/libm-test-ulps: Update.
68930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68931
68932 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68933
68934 [BZ #14283]
68935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68936 by 7 not 8 to examine high bit of fractional part.
68937
68938 [BZ #14042]
68939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68940 for call to __mcount_internal.
68941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68944
68945 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68946
68947 [BZ #14154]
68948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68949 approximation for values within 0x1p-13f of an odd multiple of
68950 pi/4.
68951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68952 exception. Add more tests.
68953 * sysdeps/i386/fpu/libm-test-ulps: Update.
68954
68955 [BZ #6778]
68956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68957 inputs and return -1 for them. Do not check for +Inf in case not
68958 reachable for +Inf.
68959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68962 and return -1 for them. Do not check for +Inf in case not
68963 reachable for +Inf.
68964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68965 define.
68966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68967 and return -1 for them. Do not check for +Inf in case not
68968 reachable for +Inf.
68969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68970 spurious underflow.
68971 * sysdeps/i386/fpu/libm-test-ulps: Update.
68972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68973
68974 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68975
68976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68977
68978 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68979
68980 [BZ #14157]
68981 [BZ #14331]
68982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68983 could result in spurious underflow. Scale down values above
68984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68985 * math/s_csqrtf.c (__csqrtf): Likewise.
68986 * math/s_csqrtl.c (__csqrtl): Likewise.
68987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68988 spurious underflow.
68989 * sysdeps/i386/fpu/libm-test-ulps: Update.
68990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68991
68992 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68993
68994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68995 xopen-msg.sed.
68996 * catgets/xopen-msg.awk: New file.
68997 * catgets/xopen-msg.sed: Removed.
68998
68999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69000 po2text.sed.
69001 * intl/po2test.awk: New file.
69002 * intl/po2test.sed: Removed.
69003
69004 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69005
69006 [BZ #14328]
69007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69008 or multiply small sinh result by itself.
69009 * math/s_ctanf.c (__ctanf): Likewise.
69010 * math/s_ctanh.c (__ctanh): Likewise.
69011 * math/s_ctanhf.c (__ctanhf): Likewise.
69012 * math/s_ctanhl.c (__ctanhl): Likewise.
69013 * math/s_ctanl.c (__ctanl): Likewise.
69014 * math/libm-test.inc (ctan_test_tonearest): New function.
69015 (ctan_test_towardzero): Likewise.
69016 (ctan_test_downward): Likewise.
69017 (ctan_test_upward): Likewise.
69018 (ctanh_test_tonearest): Likewise.
69019 (ctanh_test_towardzero): Likewise.
69020 (ctanh_test_downward): Likewise.
69021 (ctanh_test_upward): Likewise.
69022 (main): Call these new functions.
69023 * sysdeps/i386/fpu/libm-test-ulps: Update.
69024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69025
69026 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69027
69028 * .gitignore: Delete /ports entry.
69029
69030 2012-07-03 Andreas Jaeger <aj@suse.de>
69031
69032 * po/bg.po: Update from translation team.
69033 * po/cs.po: Likewise.
69034 * po/de.po: Likewise.
69035 * po/hr.po: Likewise.
69036 * po/nl.pl: Likewise.
69037 * po/pl.po: Likewise.
69038 * po/vi.po: Likewise.
69039
69040 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69041
69042 * Makeconfig [!+link] (+link-before-libc): New variable.
69043 [!+link] (+link-after-libc): Likewise.
69044 [!+link] (+link-tests): Likewise.
69045 [!+link] (+link): Define in terms of $(+link-before-libc) and
69046 $(+link-after-libc).
69047 [!+link-static] (+link-static-before-libc): New variable.
69048 [!+link-static] (+link-static-after-libc): Likewise.
69049 [!+link-static] (+link-static-tests): Likewise.
69050 [!+link-static] (+link-static): Define in terms of
69051 $(+link-static-before-libc) and $(+link-static-after-libc).
69052 [build-shared] (link-libc-before-gnulib): New variable.
69053 [build-shared] (link-libc-tests): Likewise.
69054 [build-shared] (link-libc): Define in terms of
69055 $(link-libc-before-gnulib).
69056 [!build-shared] (link-libc-tests): New variable.
69057 (link-libc-static-tests): New variable.
69058 [!gnulib] (gnulib-arch): New variable.
69059 [!gnulib] (gnulib-tests): Likewise.
69060 [!gnulib] (static-gnulib-arch): Likewise.
69061 [!gnulib] (static-gnulib-tests): Likewise.
69062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69063 Define with "=" instead of ":=".
69064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69066 * Rules (binaries-all-notests): New variable.
69067 (binaries-all-tests): Likewise.
69068 (binaries-static-notests): Likewise.
69069 (binaries-static-tests): Likewise.
69070 (binaries-all): Define using $(binaries-all-notests) and
69071 $(binaries-all-tests).
69072 (binaries-static): Define using $(binaries-static-notests) and
69073 $(binaries-static-tests).
69074 (binaries-shared-tests): New variable.
69075 (binaries-shared-notests): Likewise.
69076 (binaries-shared): Remove variable.
69077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69083 * elf/Makefile (sln-modules): New variable.
69084 (extra-objs): Add $(sln-modules:=.o).
69085 (ldconfig-modules): Add static-stubs.
69086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69087 * elf/static-stubs.c: New file.
69088
69089 [BZ #14283]
69090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69091 by 7 not 8 to examine high bit of fractional part. Use volatile
69092 variables when splitting into final array of floats if
69093 __FLT_EVAL_METHOD__ != 0.
69094 * math/libm-test.inc (cos_test): Add another test.
69095 (sin_test): Likewise.
69096 * sysdeps/i386/fpu/libm-test-ulps: Update.
69097
69098 [BZ #14273]
69099 * math/libm-test.inc (cosh_test): Add more tests.
69100
69101 * version.h (RELEASE): Set to "development".
69102 (VERSION): Set to "2.16.90".
69103
69104 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69105
69106 * NEWS: Update copyright. Remove last-updated date.
69107 Mention math library bug fixes and timezone data changes.
69108 * README: Mention GNU/Hurd, x32, and HPPA support status.
69109
69110 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69111
69112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69113
69114 2012-06-27 Andreas Jaeger <aj@suse.de>
69115
69116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69117
69118 2012-06-25 Andreas Jaeger <aj@suse.de>
69119
69120 * sysdeps/s390/fpu/libm-test-ulps: Update.
69121
69122 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69123 Thomas Schwinge <thomas@codesourcery.com>
69124
69125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69128 fanotify_mark.
69129
69130 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69131
69132 * sysdeps/mach/start.c: Remove file.
69133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69135 * sysdeps/sh/init-first.c: Likewise.
69136
69137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69138 registers for frame unwinding purposes, add CFI directives.
69139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69142 Likewise.
69143
69144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69145 __fortify_fail returning.
69146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69147
69148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69149 sysdeps/sh/____longjmp_chk.S.
69150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69154
69155 * sysdeps/sh/abort-instr.h: New file.
69156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69157 process in case exit returns.
69158
69159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69160 initialize the GOT register before use.
69161
69162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69163 calculation of ARGC > 4.
69164
69165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69166 meaningful names to some local labels.
69167
69168 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69170
69171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69173 (__arch_compare_and_exchange_val_16_acq): Likewise.
69174 (__arch_compare_and_exchange_val_32_acq): Likewise.
69175 (atomic_exchange_and_add): Fix gUSA sequence.
69176 (atomic_add): Likewise.
69177 (atomic_add_negative): Likewise.
69178 (atomic_add_zero): Likewise.
69179 (atomic_bit_test_set): Likewise.
69180
69181 2012-06-22 Andreas Schwab <schwab@redhat.com>
69182
69183 [BZ #13579]
69184 * include/link.h (struct link_map): Add l_free_initfini.
69185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69186 l_initfini.
69187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69190 set.
69191
69192 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69193
69194 * configure.in: Use AC_LANG_SOURCE.
69195 * configure: Regenerate.
69196
69197 2012-06-22 Roland McGrath <roland@hack.frob.com>
69198
69199 * configure.in (libc_cv_localstatedir): New substituted variable.
69200 * configure: Regenerated.
69201 * config.make.in (localstatedir): New variable, substituted from
69202 libc_cv_localstatedir.
69203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69206 * sysdeps/gnu/configure: Regenerated.
69207
69208 2012-06-21 Jeff Law <law@redhat.com>
69209
69210 [BZ #14277]
69211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69212 free. Simplify list management for _LIBC case.
69213
69214 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69215
69216 [BZ #14273]
69217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69218 Clear sign bit of 64-bit integer value before comparing against
69219 overflow value.
69220
69221 * sysdeps/mach/configure: Regenerated.
69222
69223 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69224
69225 [BZ #14278]
69226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69227
69228 2012-06-21 Jeff Law <law@redhat.com>
69229
69230 [BZ #13882]
69231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69232 uint16_t for elements in the "seen" array to avoid char overflows.
69233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69234 * elf/dl-open.c (dl_open_worker): Likewise.
69235
69236 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69237
69238 * scripts/list-sources.sh: Scan PORTS for translations.
69239 * po/libc.pot: Regenerated.
69240
69241 2012-06-21 Andreas Jaeger <aj@suse.de>
69242
69243 [BZ #12194]
69244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69245 warning.
69246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69247 * bits/byteswap-16.h (__bswap_16): Likewise.
69248 * bits/byteswap.h (__bswap_constant_16): Likewise.
69249
69250 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69251
69252 [BZ #14117]
69253 * sysdeps/i386/fpu_control.h: Removed.
69254 * sysdeps/x86_64/fpu_control.h: Moved to ...
69255 * sysdeps/x86/fpu_control.h: Here.
69256
69257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69258 (_FPU_SETCW): Likewise.
69259
69260 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69261
69262 [BZ #14117]
69263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69264 * sysdeps/x86/fpu/bits/mathinline.h: This.
69265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69266
69267 [BZ #14050]
69268 [BZ #14117]
69269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69270 functions if __x86_64__ is defined.
69271
69272 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69273
69274 * string/endian.h: Add !__ASSEMBLER__ condition for including
69275 conversion interfaces.
69276
69277 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69278
69279 [BZ #14241]
69280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69281 of ABS(x) in calculating zero to negative powers other than odd
69282 integers.
69283 * math/libm-test.inc (pow_test): Add more tests.
69284
69285 2012-06-15 Andreas Jaeger <aj@suse.de>
69286
69287 * manual/contrib.texi (Contributors): Update entry of Liubov
69288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69289 Machado Filho.
69290
69291 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69292
69293 * string/string.h: Add __wur to GNU version of strerror_r.
69294
69295 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69296
69297 [BZ #14229]
69298 * string/Makefile (tests): Add tst-strtok_r.
69299 * string/tst-strtok_r.c: New file.
69300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69301 RAX_LP/RDX_LP on SAVE_PTR.
69302
69303 2012-06-14 Roland McGrath <roland@hack.frob.com>
69304
69305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69306
69307 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69308
69309 * libm_test.inc (csqrt_test): Allow more spurious underflow
69310 exceptions.
69311 (j0_test): Likewise.
69312 (j1_test): Likewise.
69313 (y0_test): Likewise.
69314 (y1_test): Likewise.
69315
69316 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69317
69318 * po/Makefile (libc.pot): Use UTF-8 charset.
69319
69320 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69321
69322 [BZ #14210]
69323 Suppress sign-conversion warning from FD_SET.
69324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69326 not unsigned long int.
69327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69328
69329 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69330
69331 [BZ #14050]
69332 [BZ #14117]
69333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69334 __extern_always_inline instead of __extern_inline.
69335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69336 (__signbit): Likewise.
69337 (__signbitl): Support C++ namespace.
69338 (lrintf): New inline function.
69339 (lrint): Likewise.
69340 (llrintf): Likewise.
69341 (llrint): Likewise.
69342 (fmaxf): Likewise.
69343 (fmax): Likewise.
69344 (fminf): Likewise.
69345 (fmin): Likewise.
69346 (rint): Likewise.
69347 (rintf): Likewise.
69348 (ceil): Likewise.
69349 (ceilf): Likewise.
69350 (floor): Likewise.
69351 (floorf): Likewise.
69352 (nearbyint): Likewise.
69353 (nearbyintf): Likewise.
69354
69355 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69356
69357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69358 non-default versions.
69359
69360 2012-06-11 Roland McGrath <roland@hack.frob.com>
69361
69362 [BZ #14218]
69363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69364
69365 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69366
69367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69368 (FE_UPWARD, FE_DOWNWARD): Don't define.
69369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69371
69372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69373 reading it.
69374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69376
69377 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69378
69379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69383
69384 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69385
69386 [BZ #14117]
69387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69388 * sysdeps/i386/fpu/Implies: New file.
69389 * sysdeps/x86_64/fpu/Implies: Likewise.
69390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69391 * sysdeps/x86/fpu/bits/fenv.h: This.
69392
69393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69394 __SSE_MATH__.
69395
69396 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69397
69398 [BZ #14134]
69399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69400 character 0xffff that matches the last element of the
69401 conversion table.
69402
69403 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69404
69405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69406 fmodl commit.
69407
69408 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69409
69410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69411 values higher than 25.6283.
69412
69413 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69414
69415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69416 subnormal exponent extraction and add some __builtin_expect.
69417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69418 Fix for subnormal mantissa calculation.
69419
69420 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69421
69422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69423 cpu2 is -1 and errno is not ENOSYS.
69424
69425 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69426
69427 [BZ #14117]
69428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69429 * sysdeps/x86/bits/string.h: This.
69430 * sysdeps/x86_64/bits/string.h: Removed.
69431
69432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69433 if not compiling for x86-64, but compiling for >= i486.
69434
69435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69437
69438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69439 New macro from Linux kernel 3.4.0.
69440 (FP_XSTATE_MAGIC2): Likewise.
69441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69443 (struct _fpx_sw_bytes): New struct.
69444 (struct _xsave_hdr): Likewise.
69445 (struct _ymmh_state): Likewise.
69446 (struct _xstate): Likewise.
69447
69448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69454
69455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69461
69462 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69463
69464 [BZ #13743]
69465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69467 (sysdep_headers): Include sys/platform/ppc.h.
69468 * sysdeps/powerpc/test-gettimebase.c: Test for
69469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69470 * manual/Makefile (appendices): Include platform.texi.
69471 * manual/contrib.texi (Contributors): Update @node pointers.
69472 * manual/maint.texi (Maintenance): Likewise.
69473 (Platform): New node.
69474 * manual/platform.texi: New file. Document the new features.
69475
69476 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69477 Jakub Jelinek <jakub@redhat.com>
69478
69479 [BZ #14188]
69480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69481 where __builtin_expect is unavailable.
69482
69483 2012-06-03 David S. Miller <davem@davemloft.net>
69484
69485 * stdlib/longlong.h: Updated from GCC.
69486
69487 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69488
69489 [BZ #14042]
69490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69492 __mcount_internal.
69493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69494 (GLIBC_2.16): Likewise.
69495
69496 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69497
69498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69499
69500 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69501
69502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69503 (default-abi): New variable.
69504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69506 variable.
69507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69508 Likewise.
69509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69510 Likewise.
69511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69512 Likewise.
69513
69514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69515 definition. Document in comment.
69516
69517 2012-06-01 David S. Miller <davem@davemloft.net>
69518
69519 * stdlib/longlong.h: Updated from GCC.
69520
69521 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69522
69523 [BZ #14117]
69524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69526 sys/debugreg.h sys/io.h here.
69527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69529 sys/io.h.
69530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69536
69537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69538 Define only if __x86_64__ is defined.
69539
69540 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69541
69542 [BZ #14048]
69543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69544 Use int64_t for variable i.
69545 * math/libm-test.inc (fmod_test): Add more tests.
69546
69547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69548 z computation is not scheduled after fetestexcept.
69549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69550 Use math_force_eval instead of asm to ensure calculation scheduled
69551 before exception test.
69552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69554
69555 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69556
69557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69558 computation is not scheduled after fetestexcept.
69559
69560 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69561
69562 [BZ #14117]
69563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69565
69566 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69567
69568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69570
69571 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69572
69573 [BZ #14117]
69574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69575 <bits/wordsize.h>.
69576 (__WCHAR_MIN): Support __WORDSIZE == 64.
69577 (__WCHAR_MAX): Likewise.
69578
69579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69581
69582 [BZ #14183]
69583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69585
69586 [BZ #14117]
69587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69589
69590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69592
69593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69594 Defined to 1 if __x86_64__ isn't defined.
69595 (_STAT_VER_LINUX_OLD): New.
69596 (st_atime): Remove duplicate.
69597 (st_mtime): Likewise.
69598 (st_ctime): Likewise.
69599
69600 2012-05-31 David S. Miller <davem@davemloft.net>
69601
69602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69603 entries.
69604
69605 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69606
69607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69608 gen-libm-test.pl.
69609
69610 [BZ #14132]
69611 * elf/dl-reloc.c: Include <_itoa.h>.
69612 (_dl_reloc_bad_type): Remove use of INTUSE.
69613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69615 * stdio-common/psiginfo.c (psiginfo): Likewise.
69616 * stdio-common/psignal.c (psignal): Likewise.
69617 * string/strsignal.c (strsignal): Likewise.
69618 * include/signal.h (_sys_siglist): Declare hidden proto.
69619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69620 INTVARDEF with libc_hidden_data_def.
69621 * stdio-common/itoa-udigits.c: Likewise.
69622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69623 (_itoa_lower_digits_internal): Remove declaration.
69624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69626 (_sys_sigabbrev_internal): Remove aliases.
69627 (_sys_siglist): Define hidden alias.
69628
69629 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69630
69631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69632 bits/sysctl.h.
69633
69634 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69635
69636 [BZ #14117]
69637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69639
69640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69646
69647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69650
69651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69652 with __addr.
69653 (insw): Likewise.
69654 (insl): Likewise.
69655 (outsb): Likewise.
69656 (outsw): Likewise.
69657 (outsl): Likewise.
69658
69659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69662
69663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69669
69670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69672
69673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69675
69676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69679
69680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69682 to ...
69683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69684
69685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69688
69689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69690 for x86-64.
69691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69692
69693 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69694
69695 * math/math.h (M_El): Use two more decimal places.
69696 (M_LOG2El): Likewise.
69697 (M_LOG10El): Likewise.
69698 (M_LN2l): Likewise.
69699 (M_LN10l): Likewise.
69700 (M_PIl): Likewise.
69701 (M_PI_2l): Likewise.
69702 (M_PI_4l): Likewise.
69703 (M_1_PIl): Likewise.
69704 (M_2_PIl): Likewise.
69705 (M_2_SQRTPIl): Likewise.
69706 (M_SQRT2l): Likewise.
69707 (M_SQRT1_2l): Likewise.
69708
69709 2012-05-31 David S. Miller <davem@davemloft.net>
69710
69711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69712 values between float registers.
69713 * sysdeps/sparc/sparc64/memset.S: Likewise.
69714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69715
69716 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69717
69718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69719 -D_FORTIFY_SOURCE=1.
69720 (CPPFLAGS-tst-longjmp_chk.c): Define.
69721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69724 CFLAGS-tst-wchar-h.c.
69725
69726 2012-05-31 Marek Polacek <polacek@redhat.com>
69727
69728 [BZ #14132]
69729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69730 __endmntent_internal): Remove declaration.
69731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69734
69735 2012-05-30 David S. Miller <davem@davemloft.net>
69736
69737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69738 (___Q_simulate_exceptions): Use real FP ops rather than writing
69739 into the %fsr.
69740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69741 Likewise.
69742
69743 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69744
69745 [BZ #14117]
69746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69747 * sysdeps/x86/bits/xtitypes.h: This.
69748
69749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69750 * sysdeps/x86/bits/wordsize.h: This.
69751
69752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69753 * sysdeps/x86/bits/huge_vall.h: This.
69754
69755 * sysdeps/i386/bits/select.h: Removed.
69756 * sysdeps/x86_64/bits/select.h: Renamed to ...
69757 * sysdeps/x86/bits/select.h: This.
69758
69759 * sysdeps/i386/bits/setjmp.h: Removed.
69760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69761 * sysdeps/x86/bits/setjmp.h: This.
69762
69763 * sysdeps/i386/bits/mathdef.h: Removed.
69764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69765 * sysdeps/x86/bits/mathdef.h: This.
69766
69767 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69768
69769 [BZ #14132]
69770 * include/sys/socket.h (__connect_internal)
69771 (__libc_sa_len_internal): Remove declaration.
69772 (__connect, __libc_sa_len): Declare hidden_proto.
69773 (SA_LEN): Remove use of INTUSE.
69774 * socket/connect.c: Add libc_hidden_def.
69775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69778 alias.
69779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69782 of adding _internal alias.
69783
69784 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69785
69786 [BZ #14117]
69787 * sysdeps/i386/bits/link.h: Removed.
69788 * sysdeps/i386/bits/linkmap.h: Likewise.
69789 * sysdeps/x86_64/bits/link.h: Renamed to ...
69790 * sysdeps/x86/bits/link.h: This.
69791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69792 * sysdeps/x86/bits/linkmap.h: This.
69793
69794 * sysdeps/i386/bits/endian.h: Removed.
69795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69796 * sysdeps/x86/bits/endian.h: This.
69797
69798 * sysdeps/i386/bits/byteswap.h: Removed.
69799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69801 * sysdeps/x86/bits/byteswap.h: This.
69802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69803 * sysdeps/x86/bits/byteswap-16.h: This.
69804 * sysdeps/i386/Implies: Add x86.
69805 * sysdeps/x86_64/Implies: Likewise.
69806
69807 2012-05-30 David S. Miller <davem@davemloft.net>
69808
69809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69812 (FP_TRAPPING_EXCEPTIONS): Define.
69813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69814 (FP_TRAPPING_EXCEPTIONS): Define.
69815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69816 subnormals only when inexact has been signalled or underflow
69817 exceptions are enabled.
69818 (_FP_PACK_CANONICAL): Likewise.
69819
69820 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69821
69822 [BZ #14183]
69823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69825
69826 2012-05-30 Richard Henderson <rth@twiddle.net>
69827
69828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69829 with #ifndef NOT_IN_libc.
69830
69831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69832 marked to avoid plt entry.
69833
69834 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69835
69836 [BZ #14112]
69837 * Makeconfig (default-abi): New macro.
69838 (abi-includes): Likewise.
69839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69840 $(abi-$(default-abi)-lib-soname) for soname if defined.
69841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69842 abi-variants.
69843 * Makefile (installed-stubs): Likewise.
69844 * include/stubs-biarch.h: Removed.
69845 * scripts/lib-names.awk: Only handle one library at a time.
69846 * scripts/soversions.awk: Remove WORDSIZE support.
69847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69848 entries.
69849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69850 Removed.
69851 (syscall-list-default-condition): Likewise.
69852 (syscall-list-default-condition): Likewise.
69853 (syscall-list-includes): Likewise.
69854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69855 syscall-list-* with abi-*. Handle undefined abi-variants.
69856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69862 Removed.
69863 (syscall-list-32-options): Likewise.
69864 (syscall-list-32-condition): Likewise.
69865 (syscall-list-64-options): Likewise.
69866 (syscall-list-64-condition): Likewise.
69867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69868 macro.
69869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69870 Renamed to ...
69871 (abi-*): This.
69872 (abi-64-ld-soname): New macro.
69873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69875 Renamed to ...
69876 (abi-*): This.
69877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69879
69880 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69881
69882 * sysdeps/unix/sysv/linux/kernel-features.h
69883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69885 include <kernel-features.h>.
69886 [!__NR_ftruncate64]: Remove conditional code.
69887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69888 [__NR_ftruncate64]: Make code unconditional.
69889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69891 include <kernel-features.h>.
69892 [!__NR_ftruncate64]: Remove conditional code.
69893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69894 [__NR_ftruncate64]: Make code unconditional.
69895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69897 include <kernel-features.h>.
69898 [!__NR_ftruncate64]: Remove conditional code.
69899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69900 [__NR_ftruncate64]: Make code unconditional.
69901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69903 include <kernel-features.h>.
69904 [!__NR_ftruncate64]: Remove conditional code.
69905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69906 [__NR_ftruncate64]: Make code unconditional.
69907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69908
69909 * configure.in (libc_cv_fpie): Weaken to a compile test using
69910 LIBC_TRY_CC_OPTION.
69911 * configure: Regenerated.
69912
69913 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69914
69915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69919 Refreshed.
69920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69926 Refreshed.
69927
69928 2012-05-27 David S. Miller <davem@davemloft.net>
69929
69930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69931 (___Q_zero): New.
69932 (__Q_simulate_exceptions): Return void. Change to simulate
69933 exceptions by writing into the %fsr.
69934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69935 (__Qp_handle_exceptions): Likewise.
69936 (numbers): Delete.
69937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69938 __Qp_handle_exceptions.
69939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69940 __Qp_handle_exceptions.
69941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69942 as unused and give dummy FP_RND_NEAREST initializer.
69943 (FP_INHIBIT_RESULTS): Define.
69944 (___Q_simulate_exceptions): Update declaration.
69945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69946 formatting.
69947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69948 as unused and give dummy FP_RND_NEAREST initializer.
69949 (__Qp_handle_exceptions): Update declaration.
69950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69951 formatting.
69952
69953 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69954
69955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69956 the temporary FPU control word.
69957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69968
69969 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69970
69971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69972 fields.
69973
69974 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69975
69976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69980 Likewise.
69981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69983 Likewise.
69984
69985 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69986
69987 * po/h.po: Update from translation team.
69988
69989 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69990
69991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69992
69993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69994 handling of denormals.
69995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70002 Likewise.
70003
70004 2012-05-26 Marek Polacek <polacek@redhat.com>
70005
70006 [BZ #14152]
70007 * math/libm-test.inc (fma_test): Don't always expect underflow
70008 exception.
70009
70010 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70011
70012 [BZ #12416]
70013 * elf/tst-execstack.c: Include stackinfo.h.
70014 (do_test): Adjust test case to ensure that pthread_getattr_np
70015 behaviour remains the same after marking stack executable.
70016
70017 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70018
70019 * sysdeps/unix/sysv/linux/kernel-features.h
70020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70022 kernel-features.h.
70023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70026 kernel-features.h.
70027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70029
70030 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70031
70032 * configure.in: Define the default includes to being none.
70033 * configure: Regenerated.
70034
70035 2012-05-25 Roland McGrath <roland@hack.frob.com>
70036
70037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70038 * sysdeps/x86_64/setjmp.S: Likewise.
70039 * sysdeps/i386/bsd-setjmp.S: Likewise.
70040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70041 * sysdeps/i386/setjmp.S: Likewise.
70042 * sysdeps/i386/__longjmp.S: Likewise.
70043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70045
70046 * include/stap-probe.h: New file.
70047 * configure.in: Handle --enable-systemtap.
70048 * configure: Regenerated.
70049 * config.h.in (USE_STAP_PROBE): New #undef.
70050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70053
70054 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70055
70056 [BZ #13717]
70057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70058 to 2.4.0 where earlier.
70059 * sysdeps/unix/sysv/linux/configure: Regenerated.
70060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70061 <kernel-features.h>.
70062 [__ASSUME_32BITUIDS]: Make code unconditional.
70063 [!__ASSUME_32BITUIDS]: Remove conditional code.
70064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70065 <kernel-features.h>.
70066 [__ASSUME_32BITUIDS]: Make code unconditional.
70067 [!__ASSUME_32BITUIDS]: Remove conditional code.
70068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70069 [__ASSUME_32BITUIDS]: Make code unconditional.
70070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70071 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70072 <kernel-features.h>.
70073 [__ASSUME_32BITUIDS]: Make code unconditional.
70074 [!__ASSUME_32BITUIDS]: Remove conditional code.
70075 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70076 <kernel-features.h>.
70077 [__ASSUME_32BITUIDS]: Make code unconditional.
70078 [!__ASSUME_32BITUIDS]: Remove conditional code.
70079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70080 <kernel-features.h>.
70081 [__ASSUME_32BITUIDS]: Make code unconditional.
70082 [!__ASSUME_32BITUIDS]: Remove conditional code.
70083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70084 <kernel-features.h>.
70085 [__ASSUME_32BITUIDS]: Make code unconditional.
70086 [!__ASSUME_32BITUIDS]: Remove conditional code.
70087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70088 <kernel-features.h>.
70089 [__ASSUME_32BITUIDS]: Make code unconditional.
70090 [!__ASSUME_32BITUIDS]: Remove conditional code.
70091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70092 <kernel-features.h>.
70093 [__ASSUME_32BITUIDS]: Make code unconditional.
70094 [!__ASSUME_32BITUIDS]: Remove conditional code.
70095 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70096 <kernel-features.h>.
70097 [__ASSUME_32BITUIDS]: Make code unconditional.
70098 [!__ASSUME_32BITUIDS]: Remove conditional code.
70099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70100 <kernel-features.h>.
70101 [__ASSUME_32BITUIDS]: Make code unconditional.
70102 [!__ASSUME_32BITUIDS]: Remove conditional code.
70103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70104 <kernel-features.h>.
70105 [__ASSUME_32BITUIDS]: Make code unconditional.
70106 [!__ASSUME_32BITUIDS]: Remove conditional code.
70107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70108 <kernel-features.h>.
70109 [__ASSUME_32BITUIDS]: Make code unconditional.
70110 [!__ASSUME_32BITUIDS]: Remove conditional code.
70111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70112 <kernel-features.h>.
70113 [__NR_setresgid] (__setresgid): Do not declare.
70114 [__ASSUME_32BITUIDS]: Make code unconditional.
70115 [!__ASSUME_32BITUIDS]: Remove conditional code.
70116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70117 <kernel-features.h>.
70118 [__NR_setresuid] (__setresuid): Do not declare.
70119 [__ASSUME_32BITUIDS]: Make code unconditional.
70120 [!__ASSUME_32BITUIDS]: Remove conditional code.
70121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70122 <kernel-features.h>.
70123 [__ASSUME_32BITUIDS]: Make code unconditional.
70124 [!__ASSUME_32BITUIDS]: Remove conditional code.
70125 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70126 <kernel-features.h>.
70127 [__ASSUME_32BITUIDS]: Make code unconditional.
70128 [!__ASSUME_32BITUIDS]: Remove conditional code.
70129 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70130 <kernel-features.h>.
70131 [__ASSUME_32BITUIDS]: Make code unconditional.
70132 [!__ASSUME_32BITUIDS]: Remove conditional code.
70133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70134 <kernel-features.h>.
70135 [__ASSUME_32BITUIDS]: Make code unconditional.
70136 [!__ASSUME_32BITUIDS]: Remove conditional code.
70137 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70138 <kernel-features.h>.
70139 [__ASSUME_32BITUIDS]: Make code unconditional.
70140 [!__ASSUME_32BITUIDS]: Remove conditional code.
70141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70142 <kernel-features.h>.
70143 [__ASSUME_32BITUIDS]: Make code unconditional.
70144 [!__ASSUME_32BITUIDS]: Remove conditional code.
70145 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70146 <kernel-features.h>.
70147 [__ASSUME_32BITUIDS]: Make code unconditional.
70148 [!__ASSUME_32BITUIDS]: Remove conditional code.
70149 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70150 <kernel-features.h>.
70151 [__ASSUME_32BITUIDS]: Make code unconditional.
70152 [!__ASSUME_32BITUIDS]: Remove conditional code.
70153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70154 <kernel-features.h>.
70155 [__ASSUME_32BITUIDS]: Make code unconditional.
70156 [!__ASSUME_32BITUIDS]: Remove conditional code.
70157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70158 <kernel-features.h>.
70159 [__ASSUME_32BITUIDS]: Make code unconditional.
70160 [!__ASSUME_32BITUIDS]: Remove conditional code.
70161 * sysdeps/unix/sysv/linux/kernel-features.h
70162 (__ASSUME_SETRESUID_SYSCALL): Remove.
70163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70164 (__ASSUME_32BITUIDS): Likewise.
70165 (__ASSUME_LDT_WORKS): Likewise.
70166 (__ASSUME_O_DIRECTORY): Likewise.
70167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70168 architecture but not kernel version.
70169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70170 (__ASSUME_MMAP2_SYSCALL): Likewise.
70171 (__ASSUME_STAT64_SYSCALL): Likewise.
70172 (__ASSUME_IPC64): Likewise.
70173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70174 <kernel-features.h>.
70175 [__ASSUME_32BITUIDS]: Make code unconditional.
70176 [!__ASSUME_32BITUIDS]: Remove conditional code.
70177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70178 <kernel-features.h>.
70179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70181 132096]: Remove conditional code.
70182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70184 <kernel-features.h>.
70185 [__ASSUME_32BITUIDS]: Make code unconditional.
70186 [!__ASSUME_32BITUIDS]: Remove conditional code.
70187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70188 <kernel-features.h>.
70189 [__ASSUME_32BITUIDS]: Make code unconditional.
70190 [!__ASSUME_32BITUIDS]: Remove conditional code.
70191 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70192 <kernel-features.h>.
70193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70194 unconditional.
70195 (__setresgid): Do not declare.
70196 [__ASSUME_32BITUIDS]: Make code unconditional.
70197 [!__ASSUME_32BITUIDS]: Remove conditional code.
70198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70199 <kernel-features.h>.
70200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70201 unconditional.
70202 (__setresuid): Do not declare.
70203 [__ASSUME_32BITUIDS]: Make code unconditional.
70204 [!__ASSUME_32BITUIDS]: Remove conditional code.
70205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70206 <kernel-features.h>.
70207 [__ASSUME_32BITUIDS]: Make code unconditional.
70208 [!__ASSUME_32BITUIDS]: Remove conditional code.
70209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70210 <kernel-features.h>.
70211 [__ASSUME_32BITUIDS]: Make code unconditional.
70212 [!__ASSUME_32BITUIDS]: Remove conditional code.
70213
70214 2012-05-25 Richard Henderson <rth@twiddle.net>
70215
70216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70217 dl_hwcap to ifunc resolver.
70218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70219 elf_ifunc_invoke.
70220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70221 dl_hwcap to ifunc resolver.
70222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70223
70224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70225
70226 [BZ #14153]
70227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70228 for |x| <= 2**-26, not 2**-57.
70229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70230 exception.
70231
70232 2012-05-24 Jeff Law <law@redhat.com>
70233
70234 * stdio-common/Makefile (tests): Add bug25.
70235 * stdio-common/bug25.c: New test.
70236
70237 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70238
70239 [BZ #13576]
70240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70241 multiple of MALLOC_ALIGNMENT in size.
70242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70243
70244 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70245
70246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70247 Require >= 256.
70248 (FILENAME_MAX): Use macro-int-constant.
70249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70250 (_IOFBF): Use macro-int-constant.
70251 (_IOLBF): Likewise.
70252 (_IONBF): Likewise.
70253 (SEEK_CUR): Likewise.
70254 (SEEK_END): Likewise.
70255 (SEEK_SET): Likewise.
70256 (TMP_MAX): Likewise.
70257 (EOF): Use macro-int-constant. Require < 0.
70258 (NULL): Use macro-constant. Require == 0.
70259 (stdin): Require type to be FILE *.
70260 (stdout): Likewise.
70261 (stderr): Likewise.
70262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70263 macro-int-constant.
70264 (EXIT_SUCCESS): Likewise.
70265 (NULL): Use macro-constant. Require == 0.
70266 (RAND_MAX): Use macro-int-constant.
70267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70268 [C99-based standards] (strtof): Require function.
70269 [C99-based standards] (strtold): Likewise.
70270 [C99-based standards] (strtoll): Likewise.
70271 [C99-based standards] (strtoull): Likewise.
70272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70274 [ISO || ISO99 || ISO11] (math.h): Likewise.
70275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70278
70279 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70280
70281 [BZ #14132]
70282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70284 * intl/dgettext.c (DCGETTEXT): Likewise.
70285 * intl/gettext.c (DCGETTEXT): Likewise.
70286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70287 * posix/regex_internal.h (gettext): Likewise.
70288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70289 Remove declaration.
70290 * include/argz.h (__argz_count_internal)
70291 (__argz_stringify_internal): Remove declaration.
70292 (__argz_count, __argz_stringify): Declare hidden proto.
70293 * intl/dcgettext.c: Remove use of INTDEF.
70294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70295 * string/argz-stringify.c: Likewise.
70296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70298 Declare hidden proto.
70299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70301 Declare hidden proto.
70302 * include/stdio.h (__asprintf_internal): Don't declare.
70303 (__asprintf): Don't define as macro. Declare hidden proto.
70304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70305 (__fsetlocking): Declare hidden proto.
70306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70308 hidden proto.
70309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70310 (_IO_setlinebuf): Remove use of INTUSE.
70311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70314 Remove declaration.
70315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70316 (_IO_do_flush): Remove use of INTUSE.
70317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70319 (_IO_adjust_column, _IO_least_wmarker)
70320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70323 (_IO_default_doallocate, _IO_wdefault_doallocate)
70324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70337 proto.
70338 (_IO_flush_all_internal, _IO_adjust_column_internal)
70339 (_IO_default_uflow_internal, _IO_default_finish_internal)
70340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70348 (_IO_file_close_internal, _IO_file_close_it_internal)
70349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70350 (_IO_file_init_internal, _IO_file_attach_internal)
70351 (_IO_file_fopen_internal, _IO_file_read_internal)
70352 (_IO_file_sync_internal, _IO_file_seek_internal)
70353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70358 (_IO_list_all_internal, _IO_link_in_internal)
70359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70363 (_IO_do_write_internal, _IO_padn_internal)
70364 (_IO_getline_info_internal, _IO_getline_internal)
70365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70372 with libc_hidden_ver, remove use of INTUSE.
70373 * libio/genops.c: Likewise.
70374 * libio/freopen.c: Likewise.
70375 * libio/freopen64.c: Likewise.
70376 * libio/iofclose.c: Likewise.
70377 * libio/iofdopen.c: Likewise.
70378 * libio/iofflush.c: Likewise.
70379 * libio/iofflush_u.c: Likewise.
70380 * libio/iofgets.c: Likewise.
70381 * libio/iofgets_u.c: Likewise.
70382 * libio/iofopen.c: Likewise.
70383 * libio/iofopncook.c: Likewise.
70384 * libio/iofread.c: Likewise.
70385 * libio/iofread_u.c: Likewise.
70386 * libio/ioftell.c: Likewise.
70387 * libio/iofwrite.c: Likewise.
70388 * libio/iogetline.c: Likewise.
70389 * libio/iogets.c: Likewise.
70390 * libio/iogetwline.c: Likewise.
70391 * libio/iopadn.c: Likewise.
70392 * libio/iopopen.c: Likewise.
70393 * libio/ioseekoff.c: Likewise.
70394 * libio/ioseekpos.c: Likewise.
70395 * libio/iosetbuffer.c: Likewise.
70396 * libio/iosetvbuf.c: Likewise.
70397 * libio/ioungetc.c: Likewise.
70398 * libio/ioungetwc.c: Likewise.
70399 * libio/iovdprintf.c: Likewise.
70400 * libio/iovsprintf.c: Likewise.
70401 * libio/iovsscanf.c: Likewise.
70402 * libio/memstream.c: Likewise.
70403 * libio/obprintf.c: Likewise.
70404 * libio/oldfileops.c: Likewise.
70405 * libio/oldiofclose.c: Likewise.
70406 * libio/oldiofdopen.c: Likewise.
70407 * libio/oldiofopen.c: Likewise.
70408 * libio/oldiopopen.c: Likewise.
70409 * libio/oldstdfiles.c: Likewise.
70410 * libio/putc.c: Likewise.
70411 * libio/setbuf.c: Likewise.
70412 * libio/setlinebuf.c: Likewise.
70413 * libio/stdfiles.c: Likewise.
70414 * libio/strops.c: Likewise.
70415 * libio/vasprintf.c: Likewise.
70416 * libio/vscanf.c: Likewise.
70417 * libio/vsnprintf.c: Likewise.
70418 * libio/vswprintf.c: Likewise.
70419 * libio/wfiledoalloc.c: Likewise.
70420 * libio/wfileops.c: Likewise.
70421 * libio/wgenops.c: Likewise.
70422 * libio/wmemstream.c: Likewise.
70423 * libio/wstrops.c: Likewise.
70424 * libio/__fpurge.c: Likewise.
70425 * libio/__fsetlocking.c: Likewise.
70426 * assert/assert.c: Likewise.
70427 * debug/fgets_chk.c: Likewise.
70428 * debug/fgets_u_chk.c: Likewise.
70429 * debug/fread_chk.c: Likewise.
70430 * debug/fread_u_chk.c: Likewise.
70431 * debug/gets_chk.c: Likewise.
70432 * debug/obprintf_chk.c: Likewise.
70433 * debug/vasprintf_chk.c: Likewise.
70434 * debug/vdprintf_chk.c: Likewise.
70435 * debug/vsnprintf_chk.c: Likewise.
70436 * debug/vsprintf_chk.c: Likewise.
70437 * malloc/mtrace.c: Likewise.
70438 * misc/error.c: Likewise.
70439 * misc/syslog.c: Likewise.
70440 * stdio-common/asprintf.c: Likewise.
70441 * stdio-common/fxprintf.c: Likewise.
70442 * stdio-common/getw.c: Likewise.
70443 * stdio-common/isoc99_fscanf.c: Likewise.
70444 * stdio-common/isoc99_scanf.c: Likewise.
70445 * stdio-common/isoc99_vfscanf.c: Likewise.
70446 * stdio-common/isoc99_vscanf.c: Likewise.
70447 * stdio-common/isoc99_vsscanf.c: Likewise.
70448 * stdio-common/printf-prs.c: Likewise.
70449 * stdio-common/printf_fp.c: Likewise.
70450 * stdio-common/printf_fphex.c: Likewise.
70451 * stdio-common/printf_size.c: Likewise.
70452 * stdio-common/putw.c: Likewise.
70453 * stdio-common/scanf.c: Likewise.
70454 * stdio-common/sprintf.c: Likewise.
70455 * stdio-common/tmpfile.c: Likewise.
70456 * stdio-common/vfprintf.c: Likewise.
70457 * stdio-common/vfscanf.c: Likewise.
70458 * stdlib/strfmon_l.c: Likewise.
70459 * sunrpc/openchild.c: Likewise.
70460 * sunrpc/xdr_stdio.c: Likewise.
70461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70463
70464 2012-05-24 Roland McGrath <roland@hack.frob.com>
70465
70466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70467
70468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70469 in the third column, to generate for the shared library an IFUNC
70470 that uses _dl_vdso_vsym.
70471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70472 * Makeconfig (object-suffixes-noshared): New variable.
70473
70474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70478
70479 [BZ #14132]
70480 * include/sys/time.h (__gettimeofday): Remove macro.
70481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70483 Remove INTDEF.
70484 (__gettimeofday): Add libc_hidden_def.
70485 (gettimeofday): Add libc_hidden_weak.
70486 * sysdeps/mach/gettimeofday.c: Likewise.
70487 * sysdeps/posix/gettimeofday.c: Likewise.
70488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70491 (__gettimeofday_internal): Remove strong_alias.
70492 (__gettimeofday): Add libc_hidden_def.
70493 (gettimeofday): Add libc_hidden_weak.
70494 * sysdeps/unix/syscalls.list (gettimeofday):
70495 Remove __gettimeofday_internal alias.
70496
70497 2012-05-24 Daniel Jacobowitz <drow@false.org>
70498 H.J. Lu <hongjiu.lu@intel.com>
70499
70500 [BZ #12495]
70501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70503 (largebin_index_32_big): New.
70504 (largebin_index): Use it for 16-byte alignment.
70505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70506 correction with front_misalign.
70507
70508 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70509
70510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70512 Likewise.
70513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70514 Likewise.
70515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70516 Likewise.
70517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70518 Likewise.
70519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70520 Likewise.
70521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70522 Likewise.
70523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70524 Likewise.
70525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70526 Likewise.
70527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70528 Likewise.
70529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70530 Likewise.
70531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70532 Likewise.
70533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70534 Likewise.
70535
70536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
70537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70538
70539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70540
70541 [BZ #10846]
70542 [BZ #14036]
70543 * math/libm-test.inc (exp_test): Add test from bug 14036.
70544 (pow_test): Add test from bug 10846.
70545
70546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70547 and other flags.
70548 (special_function): Do not include flags in test name.
70549 (parse_args): Likewise.
70550 * sysdeps/i386/fpu/libm-test-ulps: Update.
70551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70555
70556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70557 exceptions.
70558 * math/libm-test.inc ("Philosophy"): Update comment about
70559 exception testing.
70560 (UNDERFLOW_EXCEPTION): New macro.
70561 (UNDERFLOW_EXCEPTION_OK): Likewise.
70562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70566 (INVALID_EXCEPTION_OK): Update value.
70567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70568 (OVERFLOW_EXCEPTION_OK): Likewise.
70569 (IGNORE_ZERO_INF_SIGN): Likewise.
70570 (test_exceptions): Handle underflow exceptions.
70571 (acos_test): Update for underflow exception expectations.
70572 (cexp_test): Likewise.
70573 (clog_test): Likewise.
70574 (clog10_test): Likewise.
70575 (csqrt_test): Likewise.
70576 (ctan_test): Likewise.
70577 (ctanh_test): Likewise.
70578 (exp_test): Likewise.
70579 (exp10_test): Likewise.
70580 (exp2_test): Likewise.
70581 (expm1_test): Likewise.
70582 (fma_test): Likewise.
70583 (j0_test): Likewise.
70584 (jn_test): Likewise.
70585 (nexttoward_test): Likewise.
70586 (pow_test): Likewise.
70587 (scalbn_test): Likewise.
70588 (scalbln_test): Likewise.
70589 (tan_test): Likewise.
70590 (y1_test): Likewise.
70591 * sysdeps/i386/fpu/libm-test-ulps: Update.
70592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70593
70594 2012-05-23 David S. Miller <davem@davemloft.net>
70595
70596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70597 (__libc_sigaction): Remove unused local variables.
70598
70599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70600
70601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70602
70603 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70604
70605 mktime: avoid signed integer overflow
70606 * time/mktime.c (__mktime_internal): Do not mishandle the case
70607 where diff == INT_MIN.
70608
70609 mktime: simplify computation of average
70610 * time/mktime.c (ranged_convert): Use new time_t_avg function
70611 instead of rolling our own (probably-slower) code.
70612
70613 mktime: do not assume signed right shift propagates sign bit
70614 * time/mktime.c (isdst_differ): New static function.
70615 (__mktime_internal): No need to normalize tm_isdst now.
70616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70617 tm_isdst values.
70618
70619 mktime: merge another wrapv change from gnulib
70620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70621 from some compilers.
70622
70623 mktime: remove incorrect attempt at unusual arithmetics
70624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70625 The code didn't really work on such machines anyway.
70626 (TYPE_MINIMUM): Assume two's complement.
70627 (twos_complement_arithmetic): Verify that long_int and time_t
70628 are two's complement (or unsigned, in the latter case).
70629
70630 mktime: check signed shifts on long_int and time_t, too
70631 * time/mktime.c (SHR): Check that shifts work as desired
70632 on the types long_int and time_t too, as SHR is used on
70633 such types.
70634
70635 mktime: do not assume 'long' is wide enough
70636 * time/mktime.c (verify): Move decl up.
70637 (long_int): New type.
70638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70639 to remove assumption in the code that 'long' is wide enough to
70640 store year values. This assumption is not true on x32 and on
70641 some non-glibc platforms.
70642
70643 mktime: merge wrapv change from gnulib
70644 * time/mktime.c (WRAPV): New macro.
70645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70646 (guess_time_tm, __mktime_internal): Do not assume that signed
70647 integer overflow wraps around; modern compilers generate code
70648 where this assumption is no longer valid.
70649
70650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70651
70652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70653 Replace "jmp L(pseudo_end)" with "ret".
70654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70655 Likewise.
70656
70657 2012-05-23 Andreas Jaeger <aj@suse.de>
70658
70659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70661
70662 2012-05-23 Andreas Jaeger <aj@suse.de>
70663 Maximilian Attems <max@stro.at>
70664
70665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70666 New macros.
70667
70668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70669
70670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70671 code so that pseudo_end is just ret and the stack pointer is
70672 correct also for static library in error case.
70673
70674 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70675
70676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70677 move to syscalls.list.
70678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70682
70683 * manual/install.texi (Running make install): Do not mention Linux
70684 kernel version for which pt_chown is not needed.
70685 (Linux): Do not mention problems with nscd with 2.0 kernels.
70686 * INSTALL: Regenerated.
70687
70688 2012-05-23 Andreas Jaeger <aj@suse.de>
70689
70690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70692 macro.
70693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70703 * sysdeps/unix/sysv/linux/bits/in.h
70704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70705
70706 2012-05-22 Roland McGrath <roland@hack.frob.com>
70707
70708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70709 (PREPARE_VERSION): Just use assert instead, it will be elided
70710 under [NDEBUG] anyway.
70711
70712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70713
70714 * sysdeps/unix/sysv/linux/Makefile: Include
70715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70716 (sysdep_routines): Remove sysctl.
70717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70722
70723 2012-05-22 Andreas Jaeger <aj@suse.de>
70724
70725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70726 that pseudo_end is just ret and the stack pointer is correct also
70727 for static library in error case.
70728
70729 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70730
70731 [BZ #14122]
70732 * nss/nsswitch.c (defconfig_entries): New variable.
70733 (__nss_database_lookup): Don't leak defconfig entries.
70734 (nss_parse_service_list): Don't leak on error paths.
70735 (free_database_entries): New function.
70736 (free_defconfig): New function.
70737 (free_mem): Move common code to free_database_entries.
70738
70739 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70740
70741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70742 Add arch_prctl.
70743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70744
70745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70748 New macro.
70749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70750 (INTERNAL_SYSCALL_TYPES): Likewise.
70751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70752 (LOAD_REGS_TYPES_[1-6]): Likewise.
70753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70755
70756 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70757
70758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70759 copysignl for GLIBC_2_0.
70760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70763 logbl for GLIBC_2_0.
70764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70766
70767 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70768
70769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70771
70772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70773 Use "neg %eax".
70774
70775 * time/mktime.c: Update copyright years.
70776
70777 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70778
70779 mktime: merge comment-quoting-style change from gnulib
70780 * time/mktime.c: Quote 'like this' in comments.
70781 The GNU coding standards suggest that we no longer quote `like this',
70782 as "`" and "'" are typically rendered asymmetrically nowadays.
70783 The typical gnulib style is to quote 'like this' when quoting
70784 code, and "like this" when quoting English.
70785
70786 * time/mktime.c (compile-command): Add "-I.".
70787
70788 mktime: merge mktime-internal.h change from gnulib
70789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70790
70791 mktime: merge time_r change from gnulib
70792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70793
70794 mktime: merge DEBUG change from gnulib
70795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70796 case system <time.h> has a #define.
70797
70798 mktime: merge <sys/types.h> change from gnulib
70799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70800 since <time.t> is now guaranteed to define time_t.
70801
70802 mktime: merge HAVE_CONFIG_H change from gnulib
70803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70804
70805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70806
70807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70808 Use "neg %eax".
70809
70810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70811 __rlim_t cast.
70812 (struct rusage): Use anonymous union to pad each field to
70813 __syscall_slong_t.
70814
70815 2012-05-21 David S. Miller <davem@davemloft.net>
70816
70817 * Makefules (o-iterator): Remove .s cases.
70818 (compile-command.s): Delete.
70819 (COMPILE.s): Delete.
70820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70821
70822 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70823
70824 * configure.in (libc_cv_predef_stack_protector): Only consider
70825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70826 * configure: Regenerated.
70827
70828 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70829
70830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70831 New macro. Use R*LP on int and pointer.
70832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70836
70837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70838 [__WORDSIZE_TIME64_COMPAT32] instead of
70839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70840 (struct utmp): Likewise.
70841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70843 Renamed to ...
70844 (__WORDSIZE_TIME64_COMPAT32): This.
70845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70850 (__WORDSIZE_TIME64_COMPAT32): New macro.
70851
70852 2012-05-21 Andreas Jaeger <aj@suse.de>
70853
70854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70855 only if [SHARED]. Add prototype for __wcschr_ia32.
70856
70857 2012-05-21 Roland McGrath <roland@hack.frob.com>
70858
70859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70860 of %rbp unmolested in the jmp_buf while mangling the low bits.
70861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70862 unmolested high bits of %rbp while demangling the low bits.
70863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70864
70865 2012-05-21 Andreas Jaeger <aj@suse.de>
70866
70867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70868 * sunrpc/svc_simple.c: Use it for registerrpc.
70869 * sunrpc/xcrypt.c: Use it for passwd2des.
70870
70871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70872
70873 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70874
70875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70876 Don't define if [__SYSCALL_WORDSIZE != 32].
70877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70878 New macro.
70879
70880 2012-05-21 Bruno Haible <bruno@clisp.org>
70881 Andreas Jaeger <aj@suse.de>
70882
70883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70885 inptr and inend for must_buffer_ch.
70886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70888 * stdio-common/Makefile (tests): Remove bug15.
70889 (bug15-ENV): Remove macro.
70890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70891 anymore.
70892
70893 2012-05-19 Andreas Jaeger <aj@suse.de>
70894 Roland McGrath <roland@hack.frob.com>
70895
70896 * manual/contrib.texi: Completely rewritten. It contains now an
70897 alphabetical list of contributors and their contributions.
70898
70899 2012-05-21 Richard Henderson <rth@twiddle.net>
70900
70901 * misc/getauxval.c (__getauxval): Use unsigned long int.
70902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70903 (getauxval): Use unsigned long int.
70904
70905 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70906
70907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70908
70909 2012-05-21 Roland McGrath <roland@hack.frob.com>
70910
70911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70913 __alignof__ (long double).
70914
70915 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70916
70917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70918
70919 2012-05-20 Richard Henderson <rth@twiddle.net>
70920
70921 * misc/getauxval.c: New file.
70922 * misc/sys/auxv.h: New file.
70923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70924 (routines): Add getauxval.
70925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70927 * elf/dl-sysdep.c (_dl_auxv): Remove.
70928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70929 * elf/dl-support.c (_dl_auxv): New variable.
70930 (_dl_aux_init): Initialize it.
70931 * manual/startup.texi (Auxiliary Vector): New node.
70932 * sysdeps/generic/bits/hwcap.h: New file.
70933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70936 * sysdeps/sparc/sysdep.h: ... here. Include it.
70937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70940 Update.
70941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70949
70950 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70951
70952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70953
70954 2012-05-19 David S. Miller <davem@davemloft.net>
70955
70956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70957
70958 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70959
70960 [BZ #14123]
70961 * math/s_ccosh.c: Include <float.h>
70962 (__ccosh): Avoid internal overflow calculating sinh and cosh
70963 values before multiplying by sin and cos values.
70964 * math/s_ccoshf.c: Likewise.
70965 * math/s_ccoshl.c: Likewise.
70966 * math/s_csin.c: Likewise.
70967 * math/s_csinf.c: Likewise.
70968 * math/s_csinl.c: Likewise.
70969 * math/s_csinh.c: Likewise.
70970 * math/s_csinhf.c: Likewise.
70971 * math/s_csinhl.c: Likewise.
70972 * math/libm-test.inc (ccos_test): Add more tests.
70973 (ccosh_test): Likewise.
70974 (csin_test): Likewise.
70975 (csinh_test): Likewise.
70976 * sysdeps/i386/fpu/libm-test-ulps: Update.
70977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70978
70979 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70980
70981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70983
70984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70985
70986 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70987
70988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71019
71020 2012-05-18 Andreas Jaeger <aj@suse.de>
71021
71022 * csu/.gitignore: Delete.
71023
71024 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71025
71026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71027 (timex): Use __syscall_slong_t.
71028
71029 2012-05-18 Andreas Jaeger <aj@suse.de>
71030 Carlos O'Donell <carlos_odonell@mentor.com>
71031
71032 * manual/install.texi (Configuring and compiling): Update
71033 description about files modified in the source directory.
71034 * INSTALL: Regenerated.
71035
71036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71037
71038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71039 value. Use "or" to set return value to -1.
71040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71041 negate return value.
71042
71043 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71044
71045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71046 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71047 failure if the compiler has Graphite support disabled.
71048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71049 Likewise.
71050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71051 (CFLAGS-memmove.c): Likewise.
71052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71053 Likewise.
71054
71055 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71056
71057 * sysdeps/x86_64/x32/_itoa.h: New file.
71058
71059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71060 getdents system call only if kernel and user dirents have the
71061 same d_ino and d_off.
71062
71063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71064 LLONG_MAX != LONG_MAX.
71065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71066 (_fitoa_word): Likewise.
71067
71068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71069 years.
71070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71073
71074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71075 include <bits/wordsize.h>. Check __x86_64__ instead of
71076 __WORDSIZE.
71077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71078 if __x86_64__ is defined. Use anonymous union on fpstate.
71079
71080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71081 anonymous union.
71082
71083 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71084
71085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71088 Refer to _rtld_local_ro instead of _rtld_global_ro.
71089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71090 Likewise.
71091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71092 Likewise.
71093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71094 Likewise.
71095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71098
71099 [BZ #10882]
71100 * sysdeps/powerpc/powerpc32/dl-machine.c
71101 (__elf_machine_runtime_setup) [PROF]: Don't reference
71102 _dl_prof_resolve.
71103
71104 2012-05-18 Andreas Jaeger <aj@suse.de>
71105
71106 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71107 function only available for GCCs before 3.4 since GCC 3.4
71108 introduced a builtin.
71109 (lrint): Likewise.
71110 (llrintf): Likewise.
71111 (llrint): Likewise.
71112 (fmaxf): Likewise.
71113 (fmax): Likewise.
71114 (fminf): Likewise.
71115 (fmin): Likewise.
71116 (rint): Likewise.
71117 (rintf): Likewise.
71118 (nearbyint): Likewise.
71119 (nearbyintf): Likewise.
71120 (ceil): Likewise.
71121 (ceilf): Likewise.
71122 (floor): Likewise.
71123 (floorf): Likewise.
71124
71125 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71126
71127 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71128 on both fields and cast pointer to __syscall_ulong_t.
71129
71130 * bits/types.h (__fsword_t): New type.
71131 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71132 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71134 (__FSWORD_T_TYPE): Likewise.
71135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71136 (__FSWORD_T_TYPE): Likewise.
71137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71138 (__FSWORD_T_TYPE): Likewise.
71139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71140 (__FSWORD_T_TYPE): Likewise.
71141 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71142 __SWORD_TYPE with __fsword_t.
71143 (statfs64): Likewise.
71144
71145 2012-05-17 David S. Miller <davem@davemloft.net>
71146
71147 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71148
71149 2012-05-17 Andreas Jaeger <aj@suse.de>
71150
71151 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71152 warning.
71153
71154 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71155
71156 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71157
71158 2012-05-17 Andreas Jaeger <aj@suse.de>
71159
71160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71161 when it is used.
71162
71163 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71164
71165 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71166
71167 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71168
71169 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71170 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71171
71172 2012-05-17 Andreas Jaeger <aj@suse.de>
71173 Carlos O'Donell <carlos_odonell@mentor.com>
71174
71175 [BZ #14059]
71176 * sysdeps/x86_64/multiarch/init-arch.h
71177 (bit_YMM_Usable): Rename to...
71178 (bit_AVX_Usable): ... this.
71179 (bit_FMA4_Usable): New macro.
71180 (bit_XMM_state): New macro.
71181 (bit_YMM_state): New macro.
71182 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71183 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71184 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71185 (CPUID_OSXSAVE): New macro.
71186 (CPUID_AVX): New macro.
71187 (CPUID_FMA4): New macro.
71188 (index_YMM_Usable): Rename to...
71189 (index_AVX_Usable): ... this.
71190 (HAS_AVX): Use HAS_ARCH_FEATURE.
71191 (HAS_FMA4): Likewise.
71192 (HAS_YMM_USABLE): Remove.
71193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71194 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71195 are present.
71196 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71197 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71198 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71199 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71200 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71201
71202 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71203
71204 * math/libm-test.c: Support platforms without multiple rounding modes.
71205 * math/bug-nextafter.c: Support platforms without FP exceptions.
71206 * math/bug-nexttoward.c: Likewise.
71207 * math/test-fenv.c: Likewise.
71208 * math/test-misc.c: Likewise.
71209 * stdlib/bug-getcontext.c: Likewise.
71210
71211 2012-05-17 Andreas Jaeger <aj@suse.de>
71212
71213 * manual/examples/search.c (critter_cmp): Change signature to
71214 avoid warnings.
71215 * manual/string.texi (Collation Functions): Likewise.
71216
71217 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71218
71219 * bits/types.h: Fold copyright years.
71220 * bits/typesizes.h: Likewise.
71221 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71225 * time/time.h: Likewise.
71226
71227 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71228
71229 [BZ #208]
71230 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71231 in instead of returning them. Return void.
71232 (__libc_mallinfo): Accumulate over all arenas.
71233 (__malloc_stats): Adjust for change in int_mallinfo interface.
71234
71235 2012-05-16 Roland McGrath <roland@hack.frob.com>
71236
71237 [BZ #10375]
71238 * configure.in (NM): Add AC_CHECK_TOOL for it.
71239 (libc_extra_cflags): New substituted variable.
71240 Check for -fstack-protector being used implicitly.
71241 * configure: Regenerated.
71242 * config.make.in (config-extra-cflags): New variable,
71243 gets @libc_extra_cflags@.
71244 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71245
71246 [BZ #10375]
71247 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71248 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71249 * configure: Regenerated.
71250 * config.make.in (CPPUNDEFS): New substituted variable.
71251 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71252 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71253 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71254
71255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71256
71257 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71258 (mq_attr): Use __syscall_slong_t.
71259
71260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71261
71262 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71263 Check __x86_64__ instead of __WORDSIZE.
71264 (_STAT_VER_LINUX): Likewise.
71265 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71266 __syscall_ulong_t and __syscall_slong_t.
71267 (stat64): Likewise.
71268
71269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71270
71271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71272
71273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71274
71275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71276
71277 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71278
71279 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71280 __syscall_ulong_t.
71281
71282 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71283 include <bits/wordsize.h>. Check __x86_64__ instead of
71284 __WORDSIZE.
71285 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71286 defined.
71287 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71288
71289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71290 include <bits/wordsize.h>. Check __x86_64__ instead of
71291 __WORDSIZE.
71292 (user_regs_struct): Use "__extension__ unsigned long long"
71293 instead of "unsigned long" if __x86_64__ is defined.
71294 (user): Likewise. Pad after pointer field if __ILP32__ is
71295 defined.
71296
71297 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71298
71299 * configure.in (makeinfo): Require version 4.5 or later. Allow
71300 versions 5 to 9.
71301 * configure: Regenerated.
71302 * manual/install.texi (texinfo): Increase version requirement to
71303 4.5 or later.
71304 * INSTALL: Regenerated.
71305
71306 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71307
71308 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71309
71310 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71311
71312 * sysdeps/x86_64/x32/ffs.c: New file.
71313
71314 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71315 __syscall_ulong_t.
71316 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71317 defined. Use __syscall_ulong_t.
71318 (shminfo): Use __syscall_ulong_t.
71319 (shm_info): Likewise.
71320
71321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71322 __syscall_ulong_t.
71323
71324 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71325 <bits/wordsize.h>.
71326 (msgqnum_t): Use __syscall_ulong_t.
71327 (msglen_t): Likewise.
71328 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71329 __syscall_ulong_t.
71330
71331 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71333
71334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71335
71336 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71337 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71338
71339 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71340 __syscall_slong_t.
71341
71342 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71343 include <bits/wordsize.h>. Check __x86_64__ instead of
71344 __WORDSIZE.
71345
71346 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71347 "unsigned long long int" if __x86_64__ is defined.
71348 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71349
71350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71352 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71353
71354 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71355 <stdint.h>.
71356 (GET_PC): Cast to uintptr_t first.
71357 (GET_FRAME): Likewise.
71358 (GET_STACK): Likewise.
71359
71360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71361 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71367 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71368 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71386 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71388 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71389
71390 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71391
71392 * Makerules (+depfiles): Also collect depfiles from .oS in
71393 $(extra-objs).
71394 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71395 .oS, $(libnldbl-routines)).
71396
71397 * Makerules (native-compile-mkdep-flags): Define.
71398 * sunrpc/Makefile (extra-objs): Add $(addprefix
71399 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71400 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71401 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71402 calling $(make-target-directory).
71403
71404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71405
71406 * bits/types.h (__snseconds_t): Removed.
71407 * time/time.h (struct timespec): Replace __snseconds_t with
71408 __syscall_slong_t.
71409 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71410 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71411 Likewise.
71412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71413 (__SNSECONDS_T_TYPE): Likewise.
71414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71415 (__SNSECONDS_T_TYPE): Likewise.
71416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71417 (__SNSECONDS_T_TYPE): Likewise.
71418
71419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71420
71421 * sysdeps/mach/hurd/bits/typesizes.h
71422 (__SYSCALL_SLONG_TYPE): New macro.
71423 (__SYSCALL_ULONG_TYPE): Likewise.
71424
71425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71426
71427 * bits/types.h (__syscall_slong_t): New type.
71428 (__syscall_ulong_t): Likewise.
71429
71430 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71431 (__SYSCALL_ULONG_TYPE): Likewise.
71432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71433 (__SYSCALL_SLONG_TYPE): Likewise.
71434 (__SYSCALL_ULONG_TYPE): Likewise.
71435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71436 (__SYSCALL_SLONG_TYPE): Likewise.
71437 (__SYSCALL_ULONG_TYPE): Likewise.
71438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71439 (__SYSCALL_SLONG_TYPE): Likewise.
71440 (__SYSCALL_ULONG_TYPE): Likewise.
71441
71442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71443
71444 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71445 Add sigaltstack-offsets.sym.
71446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71447 <sigaltstack-offsets.h>.
71448 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71449 longjmp_msg pointer.
71450 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71451 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71452 signal stack.
71453 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71454
71455 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71456
71457 * elf/stackguard-macros.h: Remove file.
71458 * sysdeps/generic/stackguard-macros.h: New file.
71459 * sysdeps/i386/stackguard-macros.h: Likewise.
71460 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71461 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71462 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71463 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71464 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71465 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71466 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71467 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71468 <elf/stackguard-macros.h>.
71469
71470 [BZ #14109]
71471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71472 __aligned__ in attribute.
71473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71474 (gregset_t): Likewise.
71475
71476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71477
71478 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71479 * sysdeps/x86_64/64/Implies-after: Here. New file.
71480 * sysdeps/x86_64/x32/Implies-after: New file.
71481
71482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71483
71484 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71485 and access return value for _dl_profile_fixup. Use R10_LP to
71486 load frame size.
71487
71488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71489
71490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71491
71492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71493
71494 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71495 * sysdeps/x86_64/x32/sysdep.h: New file.
71496
71497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71498
71499 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71500 * sysdeps/x86_64/setjmp.S: Likewise.
71501
71502 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71503
71504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71506 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71508 remove unused global constant.
71509
71510 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71511
71512 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71513 include of <not-cancel.h>.
71514
71515 2012-05-15 Roland McGrath <roland@hack.frob.com>
71516
71517 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71518
71519 2012-05-15 Jeff Law <law@redhat.com>
71520 Andreas Jaeger <aj@suse.de>
71521
71522 [BZ #13594]
71523 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71524 out from...
71525 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71526 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71528 code changing __hst_map_handle.map.
71529
71530 2012-05-15 Roland McGrath <roland@hack.frob.com>
71531
71532 * configure.in (sysnames): Look for Implies-before and Implies-after
71533 files.
71534 * configure: Regenerated.
71535
71536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71537
71538 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71539 8-byte data alignment with LP_SIZE alignment.
71540
71541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71542
71543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71544 into R10_LP.
71545
71546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71547
71548 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71549
71550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71551
71552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71553 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71555 Likewise.
71556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71557
71558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71559
71560 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71561 (stackinfo_sub_sp): Likewise.
71562
71563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71564
71565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71566 RAX_LP.
71567
71568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71569
71570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71571 into R*_LP.
71572
71573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71574
71575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71576 sizes into R*_LP.
71577
71578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71579
71580 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71581
71582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71583
71584 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71585 into R11_LP and load __x86_64_shared_cache_size_half into
71586 R8_LP.
71587
71588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71589
71590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71591 R8_LP.
71592
71593 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71594
71595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71596 logb for POWER7.
71597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71598 logbf for POWER7.
71599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71600 logbl for POWER7.
71601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71602 powerpc32/power7/fpu/s_logb.c via #include.
71603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71604 powerpc32/power7/fpu/s_logbf.c via #include.
71605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71606 powerpc32/power7/fpu/s_logbl.c via #include.
71607
71608 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71609
71610 * README.libm: Remove file.
71611
71612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71613
71614 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71615 count for x32. Use R*_LP and omit operand-size suffix.
71616
71617 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71618
71619 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71620 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71621 * sysdeps/x86_64/x32/shlib-versions: New file.
71622
71623 2012-05-14 Roland McGrath <roland@hack.frob.com>
71624
71625 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71626 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71627 Use _dl_fatal_printf instead.
71628
71629 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71630
71631 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71632 set if not set by the user. Do not allow for being unset.
71633 * sysdeps/unix/sysv/linux/configure: Regenerated.
71634
71635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71636
71637 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71638 the `q' suffix from lea and replace .quad with ASM_ADDR.
71639
71640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71641
71642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71643 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71644 instead of $17.
71645 (PTR_DEMANGLE): Likewise.
71646
71647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71648
71649 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71650 (LP_OP): Likewise.
71651 (ASM_ADDR): Likewise.
71652 (RAX_LP): Likewise.
71653 (RBP_LP): Likewise.
71654 (RBX_LP): Likewise.
71655 (RCX_LP): Likewise.
71656 (RDI_LP): Likewise.
71657 (RSI_LP): Likewise.
71658 (RSP_LP): Likewise.
71659 (R8_LP): Likewise.
71660 (R9_LP): Likewise.
71661 (R10_LP): Likewise.
71662 (R10_LP): Likewise.
71663 (R11_LP): Likewise.
71664 (R12_LP): Likewise.
71665 (R13_LP): Likewise.
71666 (R14_LP): Likewise.
71667 (R15_LP): Likewise.
71668
71669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71670
71671 * sysdeps/x86_64/x32/dl-machine.h: New file.
71672
71673 2012-05-14 Andreas Jaeger <aj@suse.de>
71674
71675 * manual/Makefile (subdir): Remove export of subdir.
71676 (all): Remove target.
71677 (.PHONY): Remove all from list.
71678 (mkinstalldirs): Remove.
71679 (.PHONY): Remove installdirs from list.
71680 ($(inst_infodir)/libc.info): Use make-target-directory.
71681 (installdirs): Remove.
71682 (subdir_%): Remove.
71683 (glibc-targets): Remove.
71684 (lib): Remove.
71685 (stubs): Remove.
71686 ($(objpfx)stubs ../po/manual.pot): Remove.
71687 ($(objpfx)stamp%): Remove.
71688 (make-target-directory): Remove.
71689 (subdir_install): Remove.
71690 (routines): Remove.
71691 (aux): Remove.
71692 (sources): Remove.
71693 (objects): Remove.
71694 (headers): Remove.
71695
71696 [BZ #13750]
71697 * manual/.gitignore: Remove, it's not needed anymore.
71698 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71699 all files in it.
71700 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71701 directory.
71702 (texis): Renamed to $(objpfx)texis.
71703 (texis-path): New, contains path to generated files.
71704 (chapters.%): Use texis-path for complete path, add extra argument
71705 libc-texinfo.sh.
71706 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71707 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71708 (summary,texi, stamp-summary): Use complete path of
71709 files. Generate files in build dir.
71710 (dir-add.texi): Build in build dir.
71711 (libm-err.texi,stamp-libm-err): Likewise.
71712 (version.texi, stamp-version): Likewise.
71713 (.%c.texi): Likewise.
71714 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71715 (mostlyclean): Remove target.
71716 (realclean): Remove target.
71717 (generated): Add new variable with contents from mostlyclean and
71718 realclean, remove entries duplicated in common-mostlyclean, add
71719 stamp-libm-err and stamp-version.
71720 (generated-dirs): Add libc directory.
71721 ($(inst_infodir)/libc.info): Install files from build dir.
71722
71723 * manual/install.texi (Configuring and compiling): Adjust since
71724 the info files are not part of the tar ball anymore.
71725
71726 2012-05-14 Andreas Jaeger <aj@suse.de>
71727
71728 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71729 variable.
71730
71731 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71732
71733 [BZ #13717]
71734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71735 to 2.2.0 where earlier.
71736 * sysdeps/unix/sysv/linux/configure: Regenerated.
71737 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71738 Remove conditional code.
71739 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71740 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71741 Remove conditional code.
71742 [!__NR_lchown]: Likewise.
71743 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71744 [__NR_lchown]: Likewise.
71745 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71746 comment referencing __ASSUME_LCHOWN_SYSCALL.
71747 * sysdeps/unix/sysv/linux/i386/sigaction.c
71748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71750 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71751 Remove conditional code.
71752 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71753 (__protocol_available): Remove #if 0 code.
71754 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71755 conditional code.
71756 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71757 * sysdeps/unix/sysv/linux/kernel-features.h
71758 (__ASSUME_GETCWD_SYSCALL): Don't define.
71759 (__ASSUME_REALTIME_SIGNALS): Likewise.
71760 (__ASSUME_PREAD_SYSCALL): Likewise.
71761 (__ASSUME_PWRITE_SYSCALL): Likewise.
71762 (__ASSUME_POLL_SYSCALL): Likewise.
71763 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71764 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71765 non-SPARC.
71766 (__ASSUME_SIOCGIFNAME): Don't define.
71767 (__ASSUME_MSG_NOSIGNAL): Likewise.
71768 (__ASSUME_SENDFILE): Define unconditionally.
71769 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71770 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71771 conditional code.
71772 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71773 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71774 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71775 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71777 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71778 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71803 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71804 Remove conditional code.
71805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71806 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71807 Remove conditional code.
71808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71809 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71810 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71811 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71812 Remove conditional code.
71813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71814 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71815 Remove conditional code.
71816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71817 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71818 Remove conditional code.
71819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71820 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71821 Remove conditional code.
71822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71823 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71824 Remove conditional code.
71825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71826 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71829 * sysdeps/unix/sysv/linux/sigaction.c
71830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71832 * sysdeps/unix/sysv/linux/sigpending.c
71833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71835 * sysdeps/unix/sysv/linux/sigprocmask.c
71836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71838 * sysdeps/unix/sysv/linux/sigsuspend.c
71839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71842 (__libc_missing_rt_sigs): Remove.
71843 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71844 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71845 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71846 Remove conditional code.
71847 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71848 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71849 return 1.
71850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71851 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71852 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71853 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71854
71855 2012-05-14 Andreas Jaeger <aj@suse.de>
71856
71857 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71858 it's not used in glibc.
71859 (__coshm1): Likewise.
71860 (__acosh1p): Likewise.
71861 (__sgn): Likewise.
71862
71863 * manual/string.texi (Copying and Concatenation): Add missing
71864 variable in concat example.
71865 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71866
71867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71868
71869 [BZ #14103]
71870 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71871 __builtin_clzl with __builtin_clzll.
71872
71873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71874
71875 [BZ #14104]
71876 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71877 libc_freeres_ptr.
71878
71879 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71880
71881 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71882 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71883 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71884 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71885
71886 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71887
71888 * NEWS: Update ia64 info.
71889
71890 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71891
71892 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71893 used as bcopy.
71894
71895 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71896
71897 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71898 * sysdeps/unix/syscalls.list (dup3): Likewise.
71899 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71900 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71901
71902 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71903
71904 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71905 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71906
71907 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71908
71909 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71910 thread pointer.
71911 (TLS_IE): Use mov/add instead of movq/addq to load thread
71912 pointer.
71913 (TLS_GD_PREFIX): New.
71914 (TLS_GD): Use it.
71915
71916 2012-05-11 David S. Miller <davem@davemloft.net>
71917
71918 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71919 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71920 (_FPU_SETCW): Likewise.
71921
71922 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71923
71924 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71925 is 32-byte aligned.
71926
71927 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71928
71929 [BZ #11837]
71930 * iconvdata/gb18030.c: Update tables.
71931 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71932 characters specially.
71933 (BODY for TO_LOOP): Add encoding of missing ranges.
71934
71935 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71936
71937 [BZ #13673]
71938 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71939 * sysdeps/mach/hurd/dup3.c: Likewise.
71940 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71941 * sysdeps/powerpc/memmove.c:: Likewise.
71942
71943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71944
71945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71946 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71947
71948 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71949
71950 * elf/elf.h (R_X86_64_RELATIVE64): New.
71951 (R_X86_64_NUM): Updated.
71952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71953 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71954 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71955 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71956 tst-quad1pie tst-quad2pie
71957 (modules-names): Add tst-quadmod1 tst-quadmod2.
71958 ($(objpfx)tst-quad1): New dependency.
71959 ($(objpfx)tst-quad2): Likewise.
71960 ($(objpfx)tst-quad1pie): Likewise.
71961 ($(objpfx)tst-quad2pie): Likewise.
71962 * sysdeps/x86_64/tst-quad1.c: New file.
71963 * sysdeps/x86_64/tst-quad1pie.c: New file.
71964 * sysdeps/x86_64/tst-quad2.c: Likewise.
71965 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71966 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71967 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71968 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71969 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71970
71971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71972
71973 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71974 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71975 * streams/stropts.h (t_scalar_t): Define type.
71976
71977 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71978 (_PATH_PRESERVE): Set to "/var/lib".
71979 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71980
71981 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71982 instead of int.
71983
71984 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71985 if __dir_mkfile succeeded.
71986
71987 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71988 checking for _hurd_dtablesize. Unlock it right after having
71989 finished _hurd_dtable allocation.
71990
71991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71992
71993 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71994 * sysdeps/mach/hurd/configure: Regenerated.
71995 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71996 special-casing to...
71997 * sysdeps/gnu/configure.in: ... this new file.
71998 * sysdeps/unix/sysv/linux/configure: Regenerated.
71999 * sysdeps/gnu/configure: New generated file.
72000
72001 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72002 for Linux: use nsec instead of usec, as well as:
72003 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72004 members of type struct timespec.
72005 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72006 New macros.
72007 (struct stat64): Likewise.
72008 (_STATBUF_ST_NSEC): New macro.
72009 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72010
72011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72012 __strtoul_internal rather than strtoul.
72013
72014 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72015
72016 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72017 and reject them.
72018
72019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72020
72021 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72022 which preserves existing values.
72023 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72024
72025 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72026
72027 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72028 TIMEOUT values. Return EINVAL for NFDS values either negative or
72029 greater than FD_SETSIZE.
72030
72031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72032
72033 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72034 allocated, call __vm_protect to finish enabling the existing space, and
72035 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72036 allocate the remainder.
72037
72038 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72039
72040 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72041 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72042
72043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72044
72045 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72046 sysdeps/mach/hurd/readlink.c.
72047
72048 * posix/tst-sysconf.c (posix_options): Only use
72049 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72050 _POSIX_SYNCHRONIZED_IO when they are defined
72051 * sysdeps/mach/hurd/bits/posix_opt.h:
72052 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72053 (_XOPEN_REALTIME): Undefine macro.
72054 (_XOPEN_REALTIME_THREADS): Undefine macro.
72055 (_XOPEN_SHM): Undefine macro.
72056 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72057 macro to -1.
72058 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72059 macro to -1.
72060 (_POSIX_ASYNC_IO): Undefine macro.
72061 (_POSIX_PRIORITIZED_IO): Undefine macro.
72062 (_POSIX_SPIN_LOCKS): Define macro to -1.
72063
72064 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72065 SA_NODEFER, SA_RESETHAND.
72066 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72067 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72068 F_DUPFD_CLOEXEC.
72069
72070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72071
72072 * elf/Makefile (pldd-modules): Define unconditionally.
72073
72074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72075
72076 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72077
72078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72079
72080 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72081 Return ENOENT when name is empty.
72082 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72083
72084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72085
72086 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72087
72088 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72089
72090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72091
72092 Fix mlock in all cases except non-readable pages.
72093 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72094 instead of VM_PROT_ALL as parameter to __vm_wire function.
72095
72096 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72097 (__mkdir): When path is `/', just fail with EEXIST.
72098 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72099
72100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72101
72102 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72103 <sys/uio.h> (for writev).
72104 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72105 and <sys/param.h> (for MIN).
72106
72107 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72108
72109 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72110 REQUESTED_TIME. Properly set the remaining time and return EINTR
72111 if interrupted.
72112
72113 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72114
72115 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72116 Depend on against $(link-rpcuserlibs).
72117
72118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72119
72120 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72121 (__libc_stack_end): Do not use attribute_relro.
72122 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72123 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72124 to libthread-provided value.
72125 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72126 attribute_relro.
72127
72128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72129
72130 [BZ #3748]
72131 * bits/libc-lock.h (__libc_once_get): New macro.
72132 * sysdeps/mach/bits/libc-lock.h: Likewise.
72133 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72135 instead of using implementation details.
72136
72137 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72138 * libio/freopen.c: Likewise.
72139 * libio/freopen64.c: Likewise.
72140 * misc/syslog.c: Likewise.
72141 * nscd/connections.c: Likewise.
72142 * nscd/netgroupcache.c: Likewise.
72143 * sysdeps/posix/getcwd.c: Likewise.
72144
72145 2012-05-10 Roland McGrath <roland@hack.frob.com>
72146
72147 * math/w_ilogbf.c: Add #include <limits.h>.
72148
72149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72150
72151 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72152 path instead of returning without unlocking.
72153
72154 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72155 immediate-write ioctls.
72156 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72157
72158 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72159
72160 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72161 __builtin_frame_address instead of making assumptions about the
72162 location of the return address relative to DATA. Force early load of
72163 the return address.
72164 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72165 __builtin_frame_address.
72166
72167 dup3 for GNU Hurd.
72168 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72169 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72170 implement dup3 and do some further code clean-ups.
72171 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72172 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72173
72174 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72175
72176 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72177
72178 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72179 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72180 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72181 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72182 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72183 d->port.lock.
72184
72185 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72186 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72187 when handler == SIG_ERR, not when handler != SIG_ERR.
72188
72189 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72190
72191 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72192 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72193 definitions.
72194
72195 accept4 for GNU Hurd.
72196 * include/sys/socket.h (__libc_accept4): New prototype.
72197 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72198 to implement __libc_accept4.
72199 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72200 __libc_accept4.
72201 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72202
72203 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72204 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72205 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72206 signal-defines.sym.
72207
72208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72209
72210 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72211
72212 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72213
72214 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72215 assertion on O_CLOEXEC flag.
72216 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72217 * hurd/intern-fd.c: Likewise.
72218 * hurd/port2fd.c: Likewise.
72219
72220 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72221
72222 [BZ #3906]
72223 * bits/in.h (IPV6_PKTINFO): Define new macro.
72224 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72225
72226 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72227
72228 [BZ #13954]
72229 [BZ #13955]
72230 [BZ #13956]
72231 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72233 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72234 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72237 * math/libm-test.inc (logb_test) : Additional logb tests.
72238
72239 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72240 Andreas Jaeger <aj@suse.de>
72241
72242 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72243 * configure: Regenerated.
72244 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72245 * config.make.in (link-obsolete-rpc): New substituted variable.
72246 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72247 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72248 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72249 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72250 so that libc.a contains the symbols.
72251 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72252 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72253 * sunrpc/auth_none.c: Likewise.
72254 * sunrpc/auth_unix.c: Likewise.
72255 * sunrpc/authdes_prot.c: Likewise.
72256 * sunrpc/authuxprot.c: Likewise.
72257 * sunrpc/clnt_gen.c: Likewise.
72258 * sunrpc/clnt_perr.c: Likewise.
72259 * sunrpc/clnt_raw.c: Likewise.
72260 * sunrpc/clnt_simp.c: Likewise.
72261 * sunrpc/clnt_tcp.c: Likewise.
72262 * sunrpc/clnt_udp.c: Likewise.
72263 * sunrpc/clnt_unix.c: Likewise.
72264 * sunrpc/des_crypt.c: Likewise.
72265 * sunrpc/des_soft.c: Likewise.
72266 * sunrpc/get_myaddr.c: Likewise.
72267 * sunrpc/key_call.c: Likewise.
72268 * sunrpc/key_prot.c: Likewise.
72269 * sunrpc/netname.c: Likewise.
72270 * sunrpc/pm_getmaps.c: Likewise.
72271 * sunrpc/pm_getport.c: Likewise.
72272 * sunrpc/pmap_clnt.c: Likewise.
72273 * sunrpc/pmap_prot.c: Likewise.
72274 * sunrpc/pmap_prot2.c: Likewise.
72275 * sunrpc/pmap_rmt.c: Likewise.
72276 * sunrpc/publickey.c: Likewise.
72277 * sunrpc/rpc_cmsg.c: Likewise.
72278 * sunrpc/rpc_common.c: Likewise.
72279 * sunrpc/rpc_dtable.c: Likewise.
72280 * sunrpc/rpc_prot.c: Likewise.
72281 * sunrpc/rpc_thread.c: Likewise.
72282 * sunrpc/rtime.c: Likewise.
72283 * sunrpc/svc.c: Likewise.
72284 * sunrpc/svc_auth.c: Likewise.
72285 * sunrpc/svc_raw.c: Likewise.
72286 * sunrpc/svc_run.c: Likewise.
72287 * sunrpc/svc_tcp.c: Likewise.
72288 * sunrpc/svc_udp.c: Likewise.
72289 * sunrpc/svc_unix.c: Likewise.
72290 * sunrpc/svcauth_des.c: Likewise.
72291 * sunrpc/xcrypt.c: Likewise.
72292 * sunrpc/xdr.c: Likewise.
72293 * sunrpc/xdr_array.c: Likewise.
72294 * sunrpc/xdr_float.c: Likewise.
72295 * sunrpc/xdr_intXX_t.c: Likewise.
72296 * sunrpc/xdr_mem.c: Likewise.
72297 * sunrpc/xdr_rec.c: Likewise.
72298 * sunrpc/xdr_ref.c: Likewise.
72299 * sunrpc/xdr_sizeof.c: Likewise.
72300 * sunrpc/xdr_stdio.c: Likewise.
72301
72302 2012-05-10 Roland McGrath <roland@hack.frob.com>
72303
72304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72305 change. Update copyright years.
72306
72307 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72308
72309 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72310
72311 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72312 Joseph Myers <joseph@codesourcery.com>
72313 Paul Pluzhnikov <ppluzhnikov@google.com>
72314
72315 [BZ #14012]
72316 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72317 requiring rpcgen.
72318 [cross-compiling] (extra-libs): Likewise.
72319 [cross-compiling] (extra-libs-others): Likewise.
72320 [cross-compiling] (librpcsvc-routines): Likewise.
72321 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72322 [cross-compiling] (omit-deps): Likewise.
72323 (sunrpc-CPPFLAGS): New variable.
72324 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72325 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72326 (cross-rpcgen-objs): New variable.
72327 (extra-objs): Append $(cross-rpcgen-objs).
72328 ($(cross-rpcgen-objs)): New rule.
72329 ($(objpfx)cross-rpcgen): Likewise.
72330 (rpcgen-cmd): Define to use $(built-program-file). Expand
72331 comment.
72332 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72333 ($(objpfx)x%.stmp): Likewise.
72334 * sunrpc/proto.h [IS_IN_build] (_): Define.
72335 [IS_IN_build] (_libc_intl_domainname): Likewise.
72336
72337 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72338
72339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72340 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72341 and R_X86_64_TPOFF64.
72342
72343 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72344
72345 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72346 sysdeps/unix/sysv/syscalls.list.
72347 (stime): Likewise.
72348 (utime): Likewise.
72349 * sysdeps/unix/sysv/syscalls.list: Remove file.
72350
72351 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72352
72353 [BZ #3440]
72354 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72355 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72356 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72357 (__LC_IDENTIFICATION): Make these macros useful in #if
72358 expressions, as required by C99.
72359
72360 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72361
72362 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72363 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72364 after this.
72365
72366 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72367
72368 * stdlib/longlong.h: Updated from GCC.
72369
72370 2012-05-09 Andreas Jaeger <aj@suse.de>
72371
72372 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72373 default is first entry.
72374 (run_mode): Set type.
72375 (main): Remove informal message about syslog.
72376 (options): Fix typo.
72377
72378 [BZ #14053]
72379 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72380 to asm.
72381 (lrint): Likewise.
72382 (llrintf): Likewise.
72383 (llrint): Likewise.
72384 (rint): Likewise.
72385 (rintf): Likewise.
72386 (nearbyint): Likewise.
72387 (nearbyintf): Likewise.
72388
72389 2012-05-09 Andreas Jaeger <aj@suse.de>
72390 Pedro Alves <palves@redhat.com>
72391
72392 * nscd/nscd.c (run_mode): Use enum.
72393 (main): Cleanup coding style issue.
72394
72395 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72396 Andreas Jaeger <aj@suse.de>
72397
72398 * nscd/nscd.c (go_background): Replaced with...
72399 (run_mode): ... this.
72400 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72401 (options): Add -F --foreground.
72402 (main): Implement it.
72403 (parse_opt): Parse it.
72404
72405 2012-05-09 Andreas Jaeger <aj@suse.de>
72406
72407 [BZ #14083]
72408 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72409 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72410 -Wconversion warning.
72411 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72412 Likewise.
72413
72414 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72415
72416 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72417 == 0.
72418 (LC_ALL): Use macro-int-constant.
72419 (LC_COLLATE): Likewise.
72420 (LC_CTYPE): Likewise.
72421 (LC_MESSAGES): Likewise.
72422 (LC_MONETARY): Likewise.
72423 (LC_NUMERIC): Likewise.
72424 (LC_TIME): Likewise.
72425 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72426 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72428 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72429 Specify type.
72430 [C99-based standards] (float_t): Expect type.
72431 [C99-based standards] (double_t): Expect type.
72432 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72433 type.
72434 [C99-based standards] (HUGE_VALL): Likewise.
72435 [C99-based standards] (INFINITY): Likewise.
72436 [C99-based standards] (NAN): Likewise.
72437 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72438 [C99-based standards] (FP_NAN): Likewise.
72439 [C99-based standards] (FP_NORMAL): Likewise.
72440 [C99-based standards] (FP_SUBNORMAL): Likewise.
72441 [C99-based standards] (FP_ZERO): Likewise.
72442 [C99-based standards] (FP_FAST_FMA): Use
72443 optional-macro-int-constant. Specify type. Require == 1.
72444 [C99-based standards] (FP_FAST_FMAF): Likewise.
72445 [C99-based standards] (FP_FAST_FMAL): Likewise.
72446 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72447 [C99-based standards] (FP_ILOGBNAN): Likewise.
72448 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72449 Specify type.
72450 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72451 [C99-based standards] (math_errhandling): Specify type.
72452 [ISO99 || ISO11] (signgam): Do not allow.
72453 [non-C99-based standards] (copysignf): Do not allow.
72454 [non-C99-based standards] (exp2f): Likewise.
72455 [non-C99-based standards] (log2f): Likewise.
72456 [non-C99-based standards] (modff): Allow.
72457 [non-C99-based standards] (erff): Do not allow.
72458 [non-C99-based standards] (erfcf): Likewise.
72459 [non-C99-based standards] (gammaf): Likewise.
72460 [non-C99-based standards] (hypotf): Likewise.
72461 [non-C99-based standards] (j0f): Likewise.
72462 [non-C99-based standards] (j1f): Likewise.
72463 [non-C99-based standards] (jnf): Likewise.
72464 [non-C99-based standards] (lgammaf): Likewise.
72465 [non-C99-based standards] (tgammaf): Likewise.
72466 [non-C99-based standards] (y0f): Likewise.
72467 [non-C99-based standards] (y1f): Likewise.
72468 [non-C99-based standards] (ynf): Likewise.
72469 [non-C99-based standards] (isnanf): Likewise.
72470 [non-C99-based standards] (acoshf): Likewise.
72471 [non-C99-based standards] (asinhf): Likewise.
72472 [non-C99-based standards] (atanhf): Likewise.
72473 [non-C99-based standards] (cbrtf): Likewise.
72474 [non-C99-based standards] (expm1f): Likewise.
72475 [non-C99-based standards] (ilogbf): Likewise.
72476 [non-C99-based standards] (log1pf): Likewise.
72477 [non-C99-based standards] (logbf): Likewise.
72478 [non-C99-based standards] (nextafterf): Likewise.
72479 [non-C99-based standards] (remainderf): Likewise.
72480 [non-C99-based standards] (rintf): Likewise.
72481 [non-C99-based standards] (scalbf): Likewise.
72482 [non-C99-based standards] (copysignl): Likewise.
72483 [non-C99-based standards] (exp2l): Likewise.
72484 [non-C99-based standards] (log2l): Likewise.
72485 [non-C99-based standards] (modfl): Allow.
72486 [non-C99-based standards] (erfl): Do not allow.
72487 [non-C99-based standards] (erfcl): Likewise.
72488 [non-C99-based standards] (gammal): Likewise.
72489 [non-C99-based standards] (hypotl): Likewise.
72490 [non-C99-based standards] (j0l): Likewise.
72491 [non-C99-based standards] (j1l): Likewise.
72492 [non-C99-based standards] (jnl): Likewise.
72493 [non-C99-based standards] (lgammal): Likewise.
72494 [non-C99-based standards] (tgammal): Likewise.
72495 [non-C99-based standards] (y0l): Likewise.
72496 [non-C99-based standards] (y1l): Likewise.
72497 [non-C99-based standards] (ynl): Likewise.
72498 [non-C99-based standards] (isnanl): Likewise.
72499 [non-C99-based standards] (acoshl): Likewise.
72500 [non-C99-based standards] (asinhl): Likewise.
72501 [non-C99-based standards] (atanhl): Likewise.
72502 [non-C99-based standards] (cbrtl): Likewise.
72503 [non-C99-based standards] (expm1l): Likewise.
72504 [non-C99-based standards] (ilogbl): Likewise.
72505 [non-C99-based standards] (log1pl): Likewise.
72506 [non-C99-based standards] (logbl): Likewise.
72507 [non-C99-based standards] (nextafterl): Likewise.
72508 [non-C99-based standards] (remainderl): Likewise.
72509 [non-C99-based standards] (rintl): Likewise.
72510 [non-C99-based standards] (scalbl): Likewise.
72511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72512 [non-C99-based standards] (FP_*): Do not allow.
72513 [C99-based standards] (FP_*): Change to
72514 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72515 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72516 allow.
72517 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72518 (SIG_ERR): Likewise.
72519 [X/Open-based standards] (SIG_HOLD): Likewise.
72520 (SIG_IGN): Likewise.
72521 (SIGABRT): Use macro-int-constant. Specify type. Require
72522 positive value.
72523 (SIGFPE): Likewise.
72524 (SIGILL): Likewise.
72525 (SIGINT): Likewise.
72526 (SIGSEGV): Likewise.
72527 (SIGTER): Likewise.
72528 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72529 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72530 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72531 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72532 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72533 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72534 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72535 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72536 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72537 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72538 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72539 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72540 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72541 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72542 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72543 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72544 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72545 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72546 [X/Open-based standards] (SIGTRAP): Likewise.
72547 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72548 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72549 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72550 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72551 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72552 allow.
72553
72554 2012-05-08 Ian Wienand <ianw@vmware.com>
72555
72556 [BZ #14080]
72557 * time/tzset.c (__tzset_parse_tz): Update default rules for
72558 daylight time changes in the Energy Policy Act of 2005.
72559
72560 2012-05-09 Andreas Jaeger <aj@suse.de>
72561
72562 [BZ #13983]
72563 * elf/ldconfig.c (parse_conf): Change string to make clear that
72564 ldconfig only issued a warning if ld.so.conf does not exist.
72565
72566 2012-05-08 David S. Miller <davem@davemloft.net>
72567
72568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72569 movxtod instead of popping the value on the stack.
72570
72571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72572
72573 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72574
72575 * config.h.in: Add HAVE_ARM_PCS_VFP.
72576
72577 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72578
72579 [BZ #13979]
72580 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72581 checking but the checks are disabled for any reason.
72582
72583 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72584
72585 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72586 and ELF64_R_TYPE with ELFW(R_TYPE).
72587
72588 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72589
72590 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72591 (ulimit): Likewise.
72592
72593 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72594 (settimeofday): Likewise.
72595
72596 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72597
72598 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72599 a struct th_u2 inside the union, and move tu_block/tu_code into
72600 a new th_u3 union of tu_block/tu_code inside of that. Move
72601 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72602 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72603 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72604 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72605 (th_stuff): Change to th_u1.tu_stuff.
72606 (th_data): Define.
72607 (th_msg): Change to th_u1.th_u2.tu_data.
72608
72609 2012-05-07 David S. Miller <davem@davemloft.net>
72610
72611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72612
72613 [BZ #14074]
72614 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72615 (SETUP_PIC_REG): Use it.
72616 (SETUP_PIC_REG_LEAF): Use it.
72617
72618 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72619
72620 [BZ #13885]
72621 [BZ #13923]
72622 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72623 USE_AS_EXPM1L.
72624 (EXPL_FINITE): Likewise.
72625 (FLDLOG): Likewise.
72626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72627 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72628 e_expl.S.
72629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72630 USE_AS_EXPM1L.
72631 (EXPL_FINITE): Likewise.
72632 (FLDLOG): Likewise.
72633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72634 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72635 e_expl.S.
72636 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72637 test of -max_value argument for long double.
72638 * sysdeps/i386/fpu/libm-test-ulps: Update.
72639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72640
72641 2012-05-06 David S. Miller <davem@davemloft.net>
72642
72643 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72644 quad soft-float symbols whose references which are compiler
72645 generated.
72646 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72647
72648 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72649
72650 [BZ #13884]
72651 [BZ #13914]
72652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72653 USE_AS_EXP10L.
72654 (EXPL_FINITE): Likewise.
72655 (FLDLOG): Likewise.
72656 (c0): Likewise.
72657 (c1): Likewise.
72658 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72659 Adjust comments for base varying.
72660 (__expl_finite): Change alias to EXPL_FINITE.
72661 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72662 e_expl.S.
72663 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72664 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72665 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72666 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72668 USE_AS_EXP10L.
72669 (EXPL_FINITE): Likewise.
72670 (FLDLOG): Likewise.
72671 (c0): Likewise.
72672 (c1): Likewise.
72673 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72674 Adjust comments for base varying.
72675 (__expl_finite): Change alias to EXPL_FINITE.
72676 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72677 tests for bugs.
72678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72679
72680 [BZ #14064]
72681 * math/libm-test.inc (check_float_internal): Correct ulp
72682 calculation for subnormal expected results.
72683
72684 2012-05-06 Andreas Jaeger <aj@suse.de>
72685
72686 * Makeconfig (+math-flags): New, set to -frounding-math.
72687 (+cflags): Add +math-flags so that all of glibc gets compiled with
72688 it.
72689
72690 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72691
72692 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72693
72694 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72695 Disable one test.
72696
72697 [BZ #13787]
72698 [BZ #13922]
72699 [BZ #14036]
72700 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72701 (__ieee754_expl): Allow for and saturate large arguments.
72702 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72703 (u_threshold): Likewise.
72704 (__exp): Call __ieee754_exp before checking for overflow and
72705 underflow.
72706 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72707 (u_threshold): Likewise.
72708 (__expf): Call __ieee754_expf before checking for overflow and
72709 underflow.
72710 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72711 (u_threshold): Likewise.
72712 (__expl): Call __ieee754_expl before checking for overflow and
72713 underflow.
72714 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72715 (__ieee754_expl): Allow for and saturate large arguments.
72716 * math/libm-test.inc (exp_test): Add another test. Do not allow
72717 missing overflow exception on overflow.
72718 (expm1_test): Do not allow missing overflow exception on overflow.
72719
72720 * sysdeps/i386/fpu/e_expl.c: Move to ...
72721 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72722 rather than using inline asm.
72723 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72724 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72725 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72726
72727 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72728 (nice): Likewise.
72729 (poll): Likewise.
72730 (signal): Likewise.
72731 (time): Likewise.
72732 (times): Likewise.
72733
72734 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72735
72736 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72737 sysdeps/unix/common/syscalls.list.
72738 (fchmod): Likewise.
72739 (fchown): Likewise.
72740 (ftruncate): Likewise.
72741 (getrusage): Likewise.
72742 (gettimeofday): Likewise.
72743 (setpgid): Likewise.
72744 (setregid): Likewise.
72745 (setreuid): Likewise.
72746 (sigaction): Likewise.
72747 (truncate): Likewise.
72748 (vhangup): Likewise.
72749 * sysdeps/unix/common/syscalls.list: Remove file.
72750 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72751 * sysdeps/unix/sysv/linux/Implies: Likewise.
72752
72753 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72754
72755 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72757 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72758 Moved to ...
72759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72760 Here.
72761 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72762 to ...
72763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72764 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72765 to ...
72766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72767 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72768 to ...
72769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72770 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72771 to ...
72772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72773 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72774 to ...
72775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72777 to ...
72778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72779 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72780 to ...
72781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72782 Here.
72783 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72784 to ...
72785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72786 Here.
72787 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72788 to ...
72789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72790 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72791 Moved to ...
72792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72793 Here.
72794 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72795 to ...
72796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72797
72798 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72799
72800 * sysdeps/unix/common/bits/dirent.h: Remove file.
72801 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72802
72803 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72804 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72805 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72806 * sysdeps/unix/bsd/isatty.c: Likewise.
72807 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72808 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72809 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72810
72811 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72812
72813 [BZ #13563]
72814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72815 long double comparison inaccuracies.
72816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72818
72819 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72820
72821 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72823
72824 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72825
72826 [BZ #14049]
72827 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72828 nonzero digits before rounding a hex value.
72829 * stdlib/tst-strtod.c (tests): Add another test.
72830
72831 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72832
72833 * sysdeps/s390/fpu/libm-test-ulps: Update.
72834
72835 2012-05-03 Andreas Jaeger <aj@suse.de>
72836
72837 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72838 does not get optimized out.
72839 (malloc_opt_barrier): New.
72840
72841 2012-05-03 Andreas Jaeger <aj@suse.de>
72842 Roland McGrath <roland@hack.frob.com>
72843
72844 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72845 intermediate file deletion.
72846 (generated): Add .symlist files.
72847
72848 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72849
72850 [BZ #13775]
72851 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72852 Redirect under this condition.
72853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72854 [__USE_GNU] (__dprintf_chk): Not under this condition.
72855 [__USE_GNU] (__vdprintf_chk): Likewise.
72856 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72857 under this condition.
72858 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72859 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72860 [__USE_XOPEN2K8] (vdprintf): Likewise.
72861 [__USE_GNU] (__dprintf_chk): Not under this condition.
72862 [__USE_GNU] (__vdprintf_chk): Likewise.
72863 [__USE_GNU] (dprintf): Likewise.
72864 [__USE_GNU] (vdprintf): Likewise.
72865
72866 2012-05-03 Roland McGrath <roland@hack.frob.com>
72867
72868 * elf/Makefile (common-generated): Set this instead of generated for
72869 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72870 $(all-built-dso)-derived lists.
72871
72872 2012-05-03 Andreas Jaeger <aj@suse.de>
72873
72874 * sysdeps/i386/fpu/libm-test-ulps: Update.
72875
72876 * FAQ: Removed.
72877 * FAQ.in: Likewise.
72878 * scripts/gen-FAQ.pl: Likewise.
72879 * manual/install.texi (Installation): Point to online location of
72880 FAQ.
72881 * Makefile (files-for-dist): Remove FAQ.
72882 (FAQ): Remove.
72883
72884 2012-05-02 Allan McRae <allan@archlinux.org>
72885
72886 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72887 (LDFLAGS-reldepmod5.so): Likewise.
72888 (LDFLAGS-reldep6mod1.so): Likewise.
72889 (LDFLAGS-reldep6mod4.so): Likewise.
72890 (LDFLAGS-reldep8mod3.so): Likewise.
72891 (LDFLAGS-unload4mod1.so): Likewise.
72892 (LDFLAGS-unload4mod2.so): Likewise.
72893 (LDFLAGS-tst-initorder): Likewise.
72894 (LDFLAGS-tst-initordera2.so): Likewise.
72895 (LDFLAGS-tst-initordera3.so): Likewise.
72896 (LDFLAGS-tst-initordera4.so): Likewise.
72897 (LDFLAGS-tst-initorderb2.so): Likewise.
72898 (LDFLAGS-noload): Likewise.
72899 (LDFLAGS-next): Likewise.
72900 (LDFLAGS-order2mod1.so): Likewise.
72901 (LDFLAGS-order2mod2.so): Likewise.
72902 (LDFLAGS-tst-initorder2): Likewise.
72903 (LDFLAGS-tst-initorder2a.so): Likewise.
72904 (LDFLAGS-tst-initorder2b.so): Likewise.
72905 (LDFLAGS-tst-initorder2c.so): Likewise.
72906 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72907
72908 2012-05-02 David S. Miller <davem@davemloft.net>
72909
72910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72911
72912 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72913
72914 [BZ #14055]
72915 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72916
72917 2012-05-02 Andreas Jaeger <aj@suse.de>
72918
72919 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72920 since we manipulate rounding mode.
72921 (CPPFLAGS-test-idouble.c): Likewise.
72922 (CPPFLAGS-test-ifloat.c): Likewise.
72923 (CFLAGS-test-ldouble.c): Likewise.
72924 (CFLAGS-test-double.c): Likewise.
72925 (CFLAGS-test-float.c): Likewise.
72926 (CFLAGS-test-misc.c): Likewise.
72927 (CFLAGS-test-test-fenv.c): Likewise.
72928
72929 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72930
72931 [BZ #2550]
72932 [BZ #2570]
72933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72934 comparisons to determine direction to adjust input.
72935
72936 2012-05-01 Roland McGrath <roland@hack.frob.com>
72937
72938 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72939 output to the target.
72940
72941 * scripts/localplt.awk: New file.
72942 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72943 (check-localplt-CFLAGS): Variable removed.
72944 ($(all-built-dso:=.jmprel)): New static pattern rule.
72945 (generated): Add those targets.
72946 (localplt-built-dso): New variable.
72947 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72948
72949 * elf/check-localplt.c: File removed.
72950
72951 * scripts/check-execstack.awk: New file.
72952 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72953 (check-execstack-CFLAGS): Variable removed.
72954 ($(objpfx)check-execstack.h): Target removed.
72955 ($(objpfx)execstack-default): New target.
72956 (generated): Add that instead of check-execstack.h.
72957 ($(all-built-dso:=.phdr)): New static pattern rule.
72958 (generated): Add those targets.
72959 * elf/check-execstack.c: File removed.
72960
72961 * scripts/check-textrel.awk: New file.
72962 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72963 (check-textrel-CFLAGS): Variable removed.
72964 (all-built-dso): Use := to define.o
72965 ($(all-built-dso:=.dyn)): New static pattern rule.
72966 (generated): Add those targets.
72967 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72968 * config.make.in (READELF): New substituted variable.
72969 * elf/check-textrel.c: File removed.
72970
72971 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72972
72973 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72974 allow.
72975 * conform/data/ctype.h-data [C99-based standards] (isblank):
72976 Expect function.
72977 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72978 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72980 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72981 Specify type. Require positive value.
72982 (EILSEQ): Likewise.
72983 (ERANGE): Likewise.
72984 [ISO || POSIX] (EILSEQ): Do not expect.
72985 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72986 Specify type. Require positive value.
72987 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72988 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72989 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72990 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72991 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72992 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72993 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72994 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72995 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72996 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72997 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72998 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72999 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73000 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73001 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73002 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73003 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73004 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73005 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73006 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73007 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73008 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73009 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73010 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73011 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73012 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73013 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73014 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73015 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73016 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73017 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73018 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73019 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73020 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73021 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73022 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73023 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73024 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73025 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73026 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73027 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73028 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73029 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73030 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73031 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73032 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73033 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73034 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73035 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73036 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73037 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73038 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73039 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73040 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73041 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73042 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73043 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73044 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73045 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73046 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73047 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73048 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73049 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73050 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73051 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73052 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73053 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73054 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73055 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73056 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73057 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73058 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73059 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73060 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73061 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73062 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73063 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73064 Require >= 2.
73065 (FLT_ROUNDS): Expect as macro, not constant.
73066 (FLT_MANT_DIG): Use macro-int-constant.
73067 (DBL_MANT_DIG): Likewise.
73068 (LDBL_MANT_DIG): Likewise.
73069 (FLT_DIG): Likewise.
73070 (DBL_DIG): Likewise.
73071 (LDBL_DIG): Likewise.
73072 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73073 (DBL_MIN_EXP): Likewise.
73074 (LDBL_MIN_EXP): Likewise.
73075 (FLT_MAX_EXP): Use macro-int-constant.
73076 (DBL_MAX_EXP): Likewise.
73077 (LDBL_MAX_EXP): Likewise.
73078 (FLT_MAX_10_EXP): Likewise.
73079 (DBL_MAX_10_EXP): Likewise.
73080 (LDBL_MAX_10_EXP): Likewise.
73081 (FLT_MAX): Use macro-constant.
73082 (DBL_MAX): Likewise.
73083 (LDBL_MAX): Likewise.
73084 (FLT_EPSILON): Use macro-constant. Give upper bound.
73085 (DBL_EPSILON): Likewise.
73086 (LDBL_EPSILON): Likewise.
73087 (FLT_MIN): Likewise.
73088 (DBL_MIN): Likewise.
73089 (LDBL_MIN): Likewise.
73090 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73091 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73092 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73093 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73094 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73095 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73096 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73097 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73098 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73099 [ISO11] (FLT_TRUE_MIN): Likewise.
73100 [ISO11] (LDBL_TRUE_MIN): Likewise.
73101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73102 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73103 (SCHAR_MIN): Use macro-int-constant. Specify type.
73104 (SCHAR_MAX): Likewise.
73105 (UCHAR_MAX): Likewise.
73106 (CHAR_MIN): Likewise.
73107 (CHAR_MAX): Likewise.
73108 (MB_LEN_MAX): Use macro-int-constant.
73109 (SHRT_MIN): Use macro-int-constant. Specify type.
73110 (SHRT_MAX): Likewise.
73111 (USHRT_MAX): Likewise.
73112 (INT_MAX): Likewise.
73113 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73114 bound negative.
73115 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73116 bound with "U".
73117 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73118 bound with "L".
73119 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73120 bound negative. Suffix upper bound with "L".
73121 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73122 bound with "UL".
73123 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73124 Specify type.
73125 [C99-based standards] (LLONG_MAX): Likewise.
73126 [C99-based standards] (ULLONG_MAX): Likewise.
73127 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73128 == 0.
73129 [ISO11] (max_align_t): Require type.
73130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73131
73132 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73133 from $CFLAGS, without defining away __attribute__ calls.
73134 (checknamespace): Use $CFLAGS_namespace.
73135
73136 * conform/conformtest.pl (@keywords): Only include C99 keywords
73137 for standards based on C99 or C11.
73138
73139 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73140 Disable tests.
73141 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73142 UNIX98]: Likewise.
73143
73144 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73145 usability of symbols in #if.
73146
73147 * conform/conformtest.pl: If macro or constant types start
73148 "promoted:", expect the symbol to be of the following type
73149 promoted by the integer promotions.
73150
73151 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73152 in one place. Also handle "macro-constant".
73153
73154 * conform/conformtest.pl: Only accept expected macro values with
73155 "==". Parse all "macro" lines in one place.
73156 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73157
73158 * conform/conformtest.pl: Handle braced types on "constant" lines
73159 instead of handling "typed-constant".
73160 * conform/data/signal.h-data: Use "constant" instead of
73161 "typed-constant".
73162
73163 * conform/conformtest.pl: Handle "optional-" at start of lines in
73164 one place rather than duplicating several cases. Handle each
73165 format of "macro" line with initial "optional-".
73166
73167 * conform/conformtest.pl: Only accept expected constant or
73168 optional-constant values with "==". Parse all "constant" lines in
73169 one place. Parse all "optional-constant" lines in one place.
73170 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73171 * conform/data/fmtmsg.h-data: Likewise.
73172 * conform/data/netinet/in.h-data: Likewise.
73173 * conform/data/tar.h-data: Likewise.
73174 * conform/data/limits.h-data: Use "==" form on "constant" and
73175 "optional-constant" lines.
73176
73177 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73178 Use -std=c99 for XOPEN2K.
73179 (@knownproblems): Remove.
73180 (newtoken): Don't check %isknown.
73181
73182 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73183 Do not expect macro.
73184 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73185 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73186 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73187 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73188 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73189 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73190 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73191 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73192 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73193 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73194 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73195 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73196 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73197 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73198 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73199 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73200 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73201 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73202 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73203 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73204 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73208 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73209 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73210 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73211 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73212 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73213 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73214 [XPG3] (acosh): Likewise.
73215 [XPG3] (asinh): Likewise.
73216 [XPG3] (atanh): Likewise.
73217 [XPG3] (cbrt): Likewise.
73218 [XPG3] (expm1): Likewise.
73219 [XPG3] (ilogb): Likewise.
73220 [XPG3] (log1p): Likewise.
73221 [XPG3] (logb): Likewise.
73222 [XPG3] (nextafter): Likewise.
73223 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73224 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73225 [XPG3] (remainder): Likewise.
73226 [XPG3] (rint): Likewise.
73227 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73228 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73229 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73230 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73231 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73232 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73233 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73234 [UNIX98 || XOPEN2K] (scalb): Expect.
73235 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73236 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73237 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73238 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73239 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73240 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73241 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73242 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73243 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73244 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73245 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73246 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73247 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73248 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73249 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73250 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73251 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73252 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73253 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73254 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73255 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73256 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73257 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73258 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73259 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73260 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73261 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73262 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73263 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73264 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73265 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73266 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73267 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73268 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73269 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73270 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73271 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73272 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73273 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73274 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73275 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73276 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73277 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73278 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73279 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73280 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73281 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73282 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73283 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73284 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73285 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73286 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73287 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73288 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73289 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73290 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73291 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73292 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73293 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73294 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73295 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73296 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73297 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73298 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73299 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73300 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73301 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73302 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73303 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73304 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73305 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73306 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73307 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73308 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73309 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73310 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73311 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73312 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73313 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73314 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73315 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73316 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73317 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73318 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73319 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73320 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73321 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73322 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73323 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73324 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73325 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73326 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73327 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73328 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73329 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73330 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73331 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73332 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73333 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73334 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73335 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73336 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73337 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73338 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73339 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73340 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73341 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73342 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73343 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73344 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73345 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73346 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73347 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73348 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73349 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73350 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73351 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73352 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73353 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73354 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73355 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73356 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73357 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73358 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73359 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73360 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73361 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73362 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73363 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73364 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73365 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73366 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73367 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73368 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73369 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73370 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73371 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73372
73373 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73374 _XOPEN_SOURCE_EXTENDED for XPG4.
73375
73376 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73377
73378 * Makeconfig (localtime): Remove variable.
73379 (inst_localtime-file): Likewise.
73380
73381 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73382
73383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73384 Update.
73385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73386 Update.
73387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73388 Update.
73389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73390 Update.
73391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73392 Update.
73393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73394 Update.
73395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73396 Update.
73397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73398 Update.
73399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73400 Update.
73401
73402 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73403
73404 [BZ #2550]
73405 [BZ #2570]
73406 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73407 comparisons to determine direction to adjust input.
73408 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73409 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73411 Likewise.
73412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73413 Likewise.
73414 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73415 Likewise.
73416 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73417 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73418 Likewise.
73419 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73420 Likewise.
73421 * math/libm-test.inc (nexttoward_test): Add more tests.
73422
73423 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73424
73425 [BZ #14040]
73426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73427 in version GLIBC_2.1, not GLIBC_2.0.
73428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73429 Likewise.
73430
73431 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73432
73433 [BZ #13942]
73434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73435 (1 - x) * (1 + x).
73436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73437 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73438 * math/libm-test.inc (acos_test): Add more tests.
73439 (asin_test): Likewise.
73440 * sysdeps/i386/fpu/libm-test-ulps: Update.
73441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73442
73443 [BZ #14034]
73444 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73445 of square root.
73446 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73448 * math/libm-test.inc (acos_test_tonearest): New function.
73449 (acos_test_towardzero): Likewise.
73450 (acos_test_downward): Likewise.
73451 (acos_test_upward): Likewise.
73452 (asin_test_tonearest): Likewise.
73453 (asin_test_towardzero): Likewise.
73454 (asin_test_downward): Likewise.
73455 (asin_test_upward): Likewise.
73456 (main): Call the new functions.
73457 * sysdeps/i386/fpu/libm-test-ulps: Update.
73458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73459
73460 [BZ #13884]
73461 [BZ #13924]
73462 * math/e_exp10.c: Include <float.h>.
73463 (__ieee754_exp10): Handle underflow here rather than multiplying
73464 large negative argument by M_LN10.
73465 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73466 of __ieee754_expf.
73467 * math/e_exp10l.c: Include <float.h>.
73468 (__ieee754_exp10l): Handle underflow here rather than multiplying
73469 large negative argument by M_LN10l.
73470 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73471 spurious overflow exception on underflow.
73472
73473 2012-04-29 Marek Polacek <polacek@redhat.com>
73474
73475 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73476 (__fortify_function): New macro.
73477 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73478 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73479 __extern_always_inline.
73480 * libio/bits/stdio2.h: Likewise.
73481 * libio/bits/stdio.h: Likewise.
73482 * string/string.h: Likewise.
73483 * string/bits/string3.h: Likewise.
73484 * include/stdio.h: Likewise.
73485 * stdlib/bits/stdlib.h: Likewise.
73486 * stdlib/stdlib.h: Likewise.
73487 * rt/bits/mqueue2.h: Likewise.
73488 * rt/mqueue.h: Likewise.
73489 * posix/bits/unistd.h: Likewise.
73490 * posix/unistd.h: Likewise.
73491 * io/bits/poll2.h: Likewise.
73492 * io/bits/fcntl2.h: Likewise.
73493 * io/fcntl.h: Likewise.
73494 * io/sys/poll.h: Likewise.
73495 * misc/bits/syslog.h: Likewise.
73496 * misc/bits/syslog-ldbl.h: Likewise.
73497 * misc/sys/syslog.h: Likewise.
73498 * socket/bits/socket2.h: Likewise.
73499 * socket/sys/socket.h: Likewise.
73500 * debug/tst-chk1.c: Likewise.
73501 * wcsmbs/bits/wchar2.h: Likewise.
73502 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73503 * wcsmbs/wchar.h: Likewise.
73504
73505 2012-04-29 Andreas Jaeger <aj@suse.de>
73506
73507 * Makerules (tests): Remove enable-check-abi protection.
73508 (check-abi-warn): Remove.
73509 (check-abi-%): Remove check-abi-warn usage.
73510
73511 * configure.in: Remove check-abi configure option.
73512 * configure: Regenerated.
73513 * config.make.in (enable-check-abi): Remove.
73514
73515 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
73516
73517 [BZ #14033]
73518 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73519 double functions to double *_finite functions.
73520
73521 [BZ #13941]
73522 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73523 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73524 LDBL_MIN_EXP.
73525 * stdio-common/Makefile (tests): Add tst-sprintf3.
73526 * stdio-common/tst-sprintf3.c: New file.
73527
73528 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73529 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73530
73531 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73532
73533 * conform/conformtest.pl: Remove duplicate typed-constant
73534 handling.
73535
73536 2012-04-28 David S. Miller <davem@davemloft.net>
73537
73538 * Makerules (%.abilist): Add vpath on sysdep_dirs.
73539 (check-abi-%): Remove AWK script prerequisite and explicit
73540 abilist directory.
73541 (check-abi): Rewrite to just diff the symlist with the abilist.
73542 (config-tls, config-abi-config): Delete, no longer used.
73543 (update-abi-%): Remove AWK script and explicit abilist directory.
73544 (update-abi): Rewrite to simply compare and conditionally copy the
73545 symlist and the sysdep abilist file. Remove update-abi-config
73546 checks.
73547 * abilist/ld.abilist: Remove.
73548 * abilist/libBrokenLocale.abilist: Remove.
73549 * abilist/libanl.abilist: Remove.
73550 * abilist/libcrypt.abilist: Remove.
73551 * abilist/libdl.abilist: Remove.
73552 * abilist/librt.abilist: Remove.
73553 * abilist/libthread_db.abilist: Remove.
73554 * abilist/libutil.abilist: Remove.
73555 * scripts/extract-abilist.awk: Remove.
73556 * scripts/merge-abilist.awk: Remove.
73557 * sysdeps/generic/libcidn.abilist: New file.
73558 * sysdeps/generic/libnss_compat.abilist: New file.
73559 * sysdeps/generic/libnss_db.abilist: New file.
73560 * sysdeps/generic/libnss_dns.abilist: New file.
73561 * sysdeps/generic/libnss_files.abilist: New file.
73562 * sysdeps/generic/libnss_hesiod.abilist: New file.
73563 * sysdeps/generic/libnss_nis.abilist: New file.
73564 * sysdeps/generic/libnss_nisplus.abilist: New file.
73565 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73566 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73567 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73568 file.
73569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73570 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73571 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73572 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73573 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73574 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73575 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73576 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73577 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73578 file.
73579 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73580 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73582 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73583 file.
73584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73587 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73588 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73589 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73590 file.
73591 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73592 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73593 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73594 file.
73595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73597 New file.
73598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73599 New file.
73600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73601 New file.
73602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73603 New file.
73604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73605 New file.
73606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73607 New file.
73608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73609 New file.
73610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73611 New file.
73612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73613 New file.
73614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73615 New file.
73616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73617 New file.
73618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73619 New file.
73620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73621 New file.
73622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73623 file.
73624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73625 New file.
73626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73627 New file.
73628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73629 file.
73630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73631 New file.
73632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73633 New file.
73634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73635 file.
73636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73637 New file.
73638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73639 New file.
73640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73641 New file.
73642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73643 New file.
73644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73645 New file.
73646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73647 New file.
73648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73650 file.
73651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73652 New file.
73653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73654 file.
73655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73656 file.
73657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73658 file.
73659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73660 file.
73661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73662 file.
73663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73664 New file.
73665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73666 file.
73667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73668 file.
73669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73670 New file.
73671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73672 file.
73673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73675 file.
73676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73677 New file.
73678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73679 file.
73680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73681 file.
73682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73683 file.
73684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73685 file.
73686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73687 file.
73688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73689 New file.
73690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73691 file.
73692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73693 file.
73694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73695 New file.
73696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73697 file.
73698 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73699 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73700 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73701 file.
73702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73703 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73704 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73705 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73706 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73708 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73710 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73711 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73714 file.
73715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73716 New file.
73717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73718 file.
73719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73720 file.
73721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73722 file.
73723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73724 file.
73725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73726 file.
73727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73728 New file.
73729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73730 New file.
73731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73732 file.
73733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73734 New file.
73735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73736 file.
73737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73739 file.
73740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73741 New file.
73742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73743 file.
73744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73745 file.
73746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73747 file.
73748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73749 file.
73750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73751 file.
73752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73753 New file.
73754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73755 New file.
73756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73757 file.
73758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73759 New file.
73760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73761 file.
73762
73763 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73764
73765 * conform/conformtest.pl: Fix typo in handling typed-constant from
73766 allow-header.
73767
73768 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73769
73770 * README: Cut down references to pre-2.6 Linux kernels and
73771 Linuxthreads. Update lists of configurations in libc and ports
73772 and sort alphabetically. Say "or newer" with Linux kernel version
73773 requirements.
73774
73775 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73776
73777 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73778
73779 [BZ #887]
73780 * math/libm-test.inc (logb_test_downward): New test to expose
73781 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73782 rounding mode.
73783
73784 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73785
73786 [BZ #14027]
73787 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73788 to be done.
73789 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73790 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73791
73792 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73793
73794 * sysdeps/unix/i386/brk.S: Remove file.
73795 * sysdeps/unix/i386/dl-brk.S: Likewise.
73796 * sysdeps/unix/i386/pipe.S: Likewise.
73797 * sysdeps/unix/i386/sigreturn.S: Likewise.
73798 * sysdeps/unix/i386/syscall.S: Likewise.
73799 * sysdeps/unix/i386/vfork.S: Likewise.
73800 * sysdeps/unix/i386/wait.S: Likewise.
73801
73802 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73803 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73804
73805 * configure.in (arm*-none*): Do not allow without
73806 --enable-hacker-mode.
73807 (netbsd*): Remove case setting base_os.
73808 (386bsd*): Likewise.
73809 (freebsd*): Likewise.
73810 (bsdi*): Likewise.
73811 (osf*): Likewise.
73812 (sunos*): Likewise.
73813 (ultrix*): Likewise.
73814 (newsos*): Likewise.
73815 (dynix*): Likewise.
73816 (*bsd*): Likewise.
73817 (sysv*): Likewise.
73818 (isc*): Likewise.
73819 (esix*): Likewise.
73820 (sco*): Likewise.
73821 (minix*): Likewise.
73822 (irix4*): Likewise.
73823 (irix6*): Likewise.
73824 (solaris[2-9]*): Likewise.
73825 (none): Likewise.
73826 * configure: Regenerated.
73827
73828 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73829
73830 [BZ #11521]
73831 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73832 overflow or cancellation in calculating denominator.
73833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73835 down expression to avoid unexpected rounding in newer GCCs.
73836 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73837
73838 2012-04-26 David S. Miller <davem@davemloft.net>
73839
73840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73841 long-double compat symbols.
73842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73855
73856 2012-04-25 David S. Miller <davem@davemloft.net>
73857
73858 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73859 HWCAP_* values only after the memory barriers have been defined.
73860 (atomic_full_barrier): Define.
73861 (atomic_read_barrier): Define.
73862 (atomic_write_barrier): Define.
73863
73864 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73865
73866 * shlib-versions: Add libgcc_s version information.
73867 * sysdeps/generic/libgcc_s.h: Remove.
73868 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73869 libgcc_s.h.
73870 * sysdeps/gnu/unwind-resume.c: Likewise.
73871 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73872
73873 2012-04-25 David S. Miller <davem@davemloft.net>
73874
73875 * sysdeps/unix/sparc/brk.S: Delete.
73876 * sysdeps/unix/sparc/dl-brk.S: Delete.
73877 * sysdeps/unix/sparc/pipe.S: Delete.
73878 * sysdeps/unix/sparc/sysdep.S: Delete.
73879 * sysdeps/unix/sparc/sysdep.h: Delete.
73880 * sysdeps/unix/sparc/vfork.S: Delete.
73881 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73882 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73884 (ret_ERRVAL, r0, r1, MOVE): Define.
73885 (JUMPTARGET): Remove.
73886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73887 sysdeps/unix/sparc/sysdep.h
73888 (ENTRY, END): Remove.
73889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73890
73891 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73892
73893 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73894 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73895 -DIS_IN_build.
73896
73897 * timezone/README: Update upstream location and email address for
73898 tzcode and tzdata.
73899 * timezone/zdump.c: Update from tzcode 2012b.
73900 * timezone/zic.c: Likewise.
73901
73902 * configure.in (libc_cv_as_needed): Remove test.
73903 * configure: Regenerated.
73904 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73905 conditional definition.
73906 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73907 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73908 * config.make.in (have-as-needed): Remove variable.
73909
73910 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73911 Paul Pluzhnikov <ppluzhnikov@google.com>
73912
73913 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73914 strings correctly.
73915
73916 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73917
73918 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73919 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73920 * sysdeps/sh/strlen.S: Likewise.
73921
73922 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73923
73924 * sysdeps/unix/fork.S: Remove file.
73925 * sysdeps/unix/i386/fork.S: Likewise.
73926 * sysdeps/unix/sparc/fork.S: Likewise.
73927
73928 * sysdeps/unix/system.c: Remove file.
73929 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73930
73931 * sysdeps/unix/getegid.S: Remove file.
73932 * sysdeps/unix/geteuid.S: Likewise.
73933
73934 2012-04-24 Roland McGrath <roland@hack.frob.com>
73935
73936 * scripts/check-localplt.awk: New file.
73937 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73938 of diff.
73939 * scripts/data/localplt-generic.data: Add a comment.
73940
73941 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73942 NODE when __dir_mkfile failed.
73943 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73944 Reported by Ludovic Courtès <ludo@gnu.org>.
73945
73946 2012-04-24 Andreas Jaeger <aj@suse.de>
73947
73948 * Makerules (common-clean): Also remove gen-as-const-headers
73949 files.
73950
73951 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73952
73953 * Makerules (native-compile): Do not change working directory for
73954 build. Use $(OUTPUT_OPTION) in command.
73955 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73956
73957 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73958
73959 [BZ #13886]
73960 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73961 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73962 * math/libm-test.inc (floor_test): Add more tests.
73963 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73964
73965 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73966
73967 * sysdeps/unix/getdents.c: Remove file.
73968 * sysdeps/unix/sysv/getdents.c: Likewise.
73969 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73970
73971 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73972 sysdeps/unix/mman/syscalls.list.
73973 (mmap): Likewise.
73974 (mprotect): Likewise.
73975 (msync): Likewise.
73976 (munmap): Likewise.
73977 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73978 * sysdeps/unix/mman/syscalls.list: Remove.
73979 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73980
73981 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73982 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73983 * configure: Regenerated.
73984 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73985 $(libgcc_s_suffix).
73986 * config.make.in (libgcc_s_suffix): Remove variable.
73987
73988 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73989
73990 * sysdeps/unix/sysv/gethostname.c: Move to ...
73991 * sysdeps/posix/gethostname.c: ... here.
73992
73993 * sysdeps/unix/execve.S: Remove file.
73994
73995 * sysdeps/unix/_exit.S: Remove file.
73996
73997 2012-04-23 Andreas Jaeger <aj@suse.de>
73998
73999 [BZ #13739]
74000 * manual/Makefile: Remove make dist support, there's no
74001 need for a stand-alone documentation tar ball.
74002 (TEXI2DVI): Define always, it's not in Makeconfig.
74003 (dist): Removed.
74004 (tar-it): Removed.
74005 (edition): Removed.
74006 (glibc-doc-$(edition).tar): Removed
74007 (%.Z): Removed.
74008 (%.gz): Removed.
74009 (%.uu): Removed.
74010 (ETAGS): Remove, it's in Makeconfig.
74011 (move-if-change): Remove, it's in Makeconfig.
74012
74013 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74014
74015 [BZ #13970]
74016 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74017 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74018 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74019 (strtod_l, strtof_l, strtold_l): Remove __wur.
74020 It is not necessarily an error to ignore strtol's return value.
74021 One can reliably look at the stored endptr to decide whether
74022 the number had valid syntax.
74023
74024 2012-04-21 Andreas Jaeger <aj@suse.de>
74025
74026 [BZ #13739]
74027 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74028
74029 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74030
74031 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74032 * sysdeps/unix/sysv/Versions: Remove file.
74033
74034 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74035
74036 [BZ #13927]
74037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74038
74039 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74040
74041 [BZ #7064]
74042 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74043 version from __vm86.
74044
74045 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74046
74047 * sysdeps/unix/common/lxstat.c: Remove file.
74048 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74049
74050 * sysdeps/unix/sysv/Makefile: Remove file.
74051
74052 * sysdeps/unix/sysv/direct.h: Remove file.
74053
74054 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74055 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74056 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74057 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74058 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74059 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74060 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74061
74062 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74063
74064 * sysdeps/unix/xmknod.c: Remove file.
74065 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74066
74067 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74068
74069 * sysdeps/unix/sysv/i386/time.S: Remove file.
74070
74071 * sysdeps/unix/fxstat.c: Remove file.
74072 * sysdeps/unix/xstat.c: Likewise.
74073 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74074
74075 * sysdeps/unix/sysv/sigaction.c: Remove file.
74076
74077 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74078 (sysdep_headers): Remove variable.
74079 [termio.h not in sysdep_headers] (generated): Likewise.
74080 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74081 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74082 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74083 * sysdeps/unix/sysv/tcflow.c: Likewise.
74084 * sysdeps/unix/sysv/tcflush.c: Likewise.
74085 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74086 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74087 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74088 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74089 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74090
74091 * sysdeps/unix/siglist.c: Remove file.
74092
74093 * sysdeps/unix/getppid.S: Remove file.
74094
74095 * sysdeps/unix/mkdir.c: Remove file.
74096 * sysdeps/unix/rmdir.c: Likewise.
74097
74098 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74099
74100 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74101 ERR_MAX value.
74102 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74103 errlist-compat value.
74104
74105 2012-04-18 David S. Miller <davem@davemloft.net>
74106
74107 * sysdeps/generic/memcopy.h (reg_char): Delete.
74108 * debug/strcat_chk.c: Use char, not reg_char.
74109 * debug/strcpy_chk.c: Likewise.
74110 * debug/strncat_chk.c: Likewise.
74111 * debug/strncpy_chk.c: Likewise.
74112 * string/memchr.c: Likewise.
74113 * string/memrchr.c: Likewise.
74114 * string/rawmemchr.c: Likewise.
74115 * string/strcat.c: Likewise.
74116 * string/strchr.c: Likewise.
74117 * string/strchrnul.c: Likewise.
74118 * string/strcmp.c: Likewise.
74119 * string/strcpy.c: Likewise.
74120 * string/strncat.c: Likewise.
74121 * string/strncmp.c: Likewise.
74122 * string/strncpy.c: Likewise.
74123
74124 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74125
74126 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74127 __builtin_memcopy is called when src and dest ranges are known to not
74128 overlap.
74129
74130 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74131
74132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74133 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74134 fwd_align_merge macro call.
74135 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74136 bwd_align_merge macro call.
74137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74138
74139 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74140
74141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74142 bwd_align_merge macros.
74143 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74144 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74146
74147 2012-04-18 David S. Miller <davem@davemloft.net>
74148
74149 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74150
74151 2012-04-18 Andreas Jaeger <aj@suse.de>
74152
74153 [BZ# 6794]
74154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74155 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74157
74158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74159 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74161
74162 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74163 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74164 Adjust for changed ldbl-128 files.
74165
74166 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74167 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74169
74170 2012-04-17 David S. Miller <davem@davemloft.net>
74171
74172 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74173
74174 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74175
74176 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74177 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74178 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74179 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74180 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74181 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74182
74183 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74184
74185 [BZ #6794]
74186 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74187 * math/libm-test.inc: Add ilogb errno and exception tests.
74188 * math/w_ilogb.c: New file: ilogb wrapper.
74189 * math/w_ilogbf.c: New file: ilogbf wrapper.
74190 * math/w_ilogbl.c: New file: ilogbl wrapper.
74191 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74192 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74193 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74194 exception being thrown with 0.0 as argument.
74195 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74196 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74197 exception being thrown with 0.0 as argument.
74198 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74199 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74200 exception being thrown with 0.0 as argument.
74201 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74202 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74203 exception being thrown with 0.0 as argument.
74204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74205 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74207 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74208 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74210 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74211 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74212 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74213
74214 2012-04-17 Petr Baudis <pasky@ucw.cz>
74215
74216 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74217 with altivec.
74218
74219 2012-04-16 Marek Polacek <polacek@redhat.com>
74220
74221 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74222
74223 2012-04-16 Marek Polacek <polacek@redhat.com>
74224
74225 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74226 operands of fdivp instruction.
74227
74228 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74229
74230 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74231 * elf/tst-auditmod3b.c: Likewise.
74232 * elf/tst-auditmod4b.c: Likewise.
74233 * elf/tst-auditmod5b.c: Likewise.
74234 * elf/tst-auditmod6b.c: Likewise.
74235 * elf/tst-auditmod6c.c: Likewise.
74236 * elf/tst-auditmod7b.c: Likewise.
74237 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74238 * sysdeps/x86_64/preconfigure.in: Likewise.
74239 * sysdeps/x86_64/preconfigure: Regenerated.
74240
74241 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74242
74243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74244 __ILP32__.
74245
74246 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74247
74248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74249 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74250
74251 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74252
74253 [BZ #13973]
74254 * locale/iso-639.def: Fix gl language name. Spotted by
74255 Yaron Shahrabani.
74256
74257 2012-04-12 Roland McGrath <roland@hack.frob.com>
74258
74259 [BZ #2074]
74260 * libio/libio.h (__io_write_fn): Update comment.
74261
74262 2012-04-12 Petr Baudis <pasky@ucw.cz>
74263
74264 [BZ #2074]
74265 * stdio.texi (Hook Functions): The user provided writer function
74266 is not allowed to return -1.
74267
74268 2012-04-11 David S. Miller <davem@davemloft.net>
74269
74270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74271
74272 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74273
74274 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74275 Add a leading slash to rtkaio.
74276
74277 2012-04-11 Jim Meyering <meyering@redhat.com>
74278
74279 [BZ #11959]
74280 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74281 It is not necessarily an error to ignore fwrite's return
74282 value. One can reliably use ferror to test for errors after
74283 the fact.
74284
74285 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74286
74287 * bits/types.h (__snseconds_t): New type.
74288 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74289
74290 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74292 (__SNSECONDS_T_TYPE): Likewise.
74293 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74294 (__SNSECONDS_T_TYPE): Likewise.
74295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74296 (__SNSECONDS_T_TYPE): Likewise.
74297
74298 2012-04-10 Andreas Jaeger <aj@suse.de>
74299
74300 [BZ #2636]
74301 * manual/time.texi (Processor Time): Return type of times is
74302 elapsed real time since an arbitrary point in the past.
74303 (CPU Time): Move CLK_TCK from here...
74304 (Processor Time): ...to here. Correct description.
74305 * manual/conf.texi (Constants for Sysconf): Correct description of
74306 _SC_CLK_TCK.
74307
74308 2012-04-10 David S. Miller <davem@davemloft.net>
74309
74310 [BZ #13967]
74311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74312 where the is a gap between DT_REL(A) and DT_JMPREL.
74313
74314 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74315
74316 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74319
74320 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74321
74322 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74323 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74324 (dl_main): Handle --inhibit-cache.
74325 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74326 _dl_inhibit_cache.
74327 * elf/dl-load.c (_dl_map_object): Use it.
74328 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74329
74330 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74331
74332 [BZ #13872]
74333 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74334 (__ieee754_powl): Saturate large exponents rather than testing for
74335 overflow of y*log2(x).
74336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74337 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74338 exceptions.
74339
74340 [BZ #11521]
74341 * math/s_ctan.c: Include <float.h>.
74342 (__ctan): Avoid internal overflow or cancellation in calculating
74343 denominator.
74344 * math/s_ctanf.c: Likewise.
74345 * math/s_ctanl.c: Likewise.
74346 * math/s_ctanh.c: Likewise.
74347 * math/s_ctanhf.c: Likewise.
74348 * math/s_ctanhl.c: Likewise.
74349 * math/libm-test.inc (ctan_test): Add more tests.
74350 (ctanh_test): Likewise.
74351 * sysdeps/i386/fpu/libm-test-ulps: Update.
74352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74353
74354 2012-04-09 Andreas Jaeger <aj@suse.de>
74355
74356 [BZ #6894]
74357 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74358 is an optional BSD extension.
74359
74360 [BZ #10254]
74361 * manual/stdio.texi (Opening Streams): Document additional fopen
74362 parameters.
74363
74364 2012-04-09 Roland McGrath <roland@hack.frob.com>
74365
74366 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74367 %eax without telling the compiler.
74368
74369 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74370
74371 [BZ # 13963]
74372 * manual/install.texi: Use sourceware.org.
74373
74374 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74375
74376 [BZ #13873]
74377 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74378 (__ieee754_pow): Generate overflow and underflow using huge*huge
74379 and tiny*tiny rather than just returning constant infinity or zero
74380 for large exponents.
74381 * math/libm-test.inc (pow_test): Require overflow exceptions for
74382 applicable cases of large exponents.
74383
74384 [BZ #706]
74385 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74386 (__ieee754_pow): Use iterative multiplication algorithm only for
74387 integer exponents with absolute value below 1024. Check for odd
74388 integer exponents when using algorithm for real exponents.
74389 * math/libm-test.inc (pow_test): Add more tests.
74390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74391
74392 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74393
74394 [BZ #13705]
74395 * math/libm-test.inc (exp_test): Do not allow overflow exception
74396 on underflow test.
74397
74398 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74399
74400 [BZ #13705]
74401 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74402 instead of __kernel_standard_f.
74403
74404 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74405
74406 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74407 * sysdeps/x86_64/memset_chk.S: Likewise.
74408
74409 2012-04-08 Andreas Jaeger <aj@suse.de>
74410
74411 [BZ #10153]
74412 * manual/startup.texi (Environment Access): Describe return value
74413 for putenv and setenv.
74414
74415 [BZ #6895]
74416 * manual/filesys.texi (Directory Entries): Add description for
74417 DT_LNK.
74418
74419 [BZ #6890]
74420 * manual/filesys.texi (Directory Entries): Clarify that it's file
74421 system not operating system in the description of DT_UNKNOWN.
74422
74423 [BZ #6578]
74424 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74425
74426 2012-04-08 Stephen Compall <s11@member.fsf.org>
74427
74428 [BZ #6649]
74429 * manual/llio.texi (Opening and Closing Files): Add cross
74430 reference to explain mode argument.
74431
74432 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74433
74434 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74435 * sysdeps/x86_64/memset_chk.S: Likewise.
74436
74437 2012-04-07 David S. Miller <davem@davemloft.net>
74438
74439 * elf/elf.h (R_SPARC_WDISP10): Define.
74440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74441 R_SPARC_SIZE32.
74442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74443 R_SPARC_SIZE64 and R_SPARC_H34.
74444
74445 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74446
74447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74448 conditions and remove no longer applicable assertion.
74449
74450 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74451
74452 * bits/byteswap.h: Include <features.h>.
74453 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74454 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74455
74456 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74457
74458 * bits/byteswap.h (__bswap_16): Removed.
74459 Include <bits/byteswap-16.h> to get __bswap_16.
74460 * sysdeps/i386/bits/byteswap.h: Likewise.
74461 * sysdeps/s390/bits/byteswap.h: Likewise.
74462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74463 * bits/byteswap-16.h: New file.
74464 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74465 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74466 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74467 * string/Makefile (headers): Add bits/byteswap-16.h.
74468
74469 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74470
74471 [BZ #13895]
74472 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74473 extra indirection.
74474 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74475 * nss/tst-nss-static.c: New.
74476
74477 2012-04-06 Robert Millan <rmh@gnu.org>
74478
74479 [BZ #6486]
74480 * manual/llio.texi (File Position Primitive): lseek
74481 refers to WHENCE when it really means OFFSET.
74482
74483 2012-04-06 Andreas Jaeger <aj@suse.de>
74484
74485 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74486 strncmp declarations.
74487
74488 * abilist/libc.abilist: Add __poll and __ppoll.
74489
74490 2012-04-05 David S. Miller <davem@davemloft.net>
74491
74492 * scripts/check-local-headers.sh: Accept a host triplet in the
74493 path matched by the exclude regexp.
74494
74495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74496 definition.
74497 * sysdeps/powerpc/powerpc32/dl-machine.h
74498 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74499 * sysdeps/s390/s390-32/dl-machine.h
74500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74501 * sysdeps/sparc/sparc32/dl-machine.h
74502 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74503 * sysdeps/sparc/sparc64/dl-machine.h
74504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74505
74506 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74507 lazy binding.
74508 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74509 undefined symbol errors.
74510
74511 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74512 DT_NEEDED entries.
74513
74514 2012-04-05 Michael Matz <matz@suse.de>
74515
74516 [BZ #13592]
74517 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74518
74519 2012-04-05 Andreas Jaeger <aj@suse.de>
74520
74521 [BZ #13908]
74522 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74523 comment.
74524
74525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74526
74527 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74528 which ROUND is no valid rounding mode.
74529
74530 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74531
74532 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74533 read again.
74534 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74535
74536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74537
74538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74539 an exception using FPU order intentionally.
74540
74541 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74542
74543 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74544 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74545 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74546 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74547
74548 2012-04-05 Simon Josefsson <simon@josefsson.org>
74549
74550 [BZ #12340]
74551 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74552 EINVAL when BUFLEN is too smal.
74553
74554 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74555
74556 [BZ #13553]
74557 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74558 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74559
74560 2012-04-03 Andreas Jaeger <aj@suse.de>
74561
74562 [BZ #13938]
74563 * manual/setjmp.texi (System V contexts): Fix sentence.
74564
74565 [BZ #13926]
74566 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74567 New macro for this case.
74568 [!__GNUC__] (__bswap_64): New inline function for this case.
74569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74570 * bits/byteswap.h: Likewise.
74571 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74572 ull, guard with __GLIBC_HAVE_LONG_LONG.
74573
74574 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74575 __GLIBC_HAVE_LONG_LONG.
74576
74577 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74578 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74579
74580 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74581
74582 [BZ #13691]
74583 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74584 inptr and inend, rather than using last_ch.
74585
74586 2012-04-02 David S. Miller <davem@davemloft.net>
74587
74588 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74589 * stdio-common/printf-parse.h (read_int): Change return type to
74590 'int', return -1 on INT_MAX overflow.
74591 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74592 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74593 overflows INT_MAX. Check for overflow of in-format-string precision
74594 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74595 SIZE_MAX not INT_MAX for integer overflow test.
74596 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74597 skip the construct in the format string but do not record anything.
74598 * stdio-common/bug22.c: Adjust to test both width/prevision
74599 INT_MAX overflow as well as total length INT_MAX overflow. Check
74600 explicitly for proper errno values.
74601
74602 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74603
74604 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74605 CHAR_MAX.
74606 * string/test-strcmp.c [! WIDE]: Likewise.
74607 * time/tst-mktime2.c: Likewise for INT_MAX.
74608 * string/test-string.h: #include <sys/param.h> for MIN.
74609
74610 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74611 * sysdeps/i386/init-first.c (init): Likewise.
74612 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74613 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74614 * sysdeps/sh/init-first.c (init): Likewise.
74615
74616 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74617
74618 * po/ru.po: Update from translation team.
74619 * po/vi.po: Likewise.
74620
74621 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74622
74623 * resolv/nss_dns/dns-host.c: Merge copyright years.
74624
74625 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74626
74627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74628 Optimize memcpy with prefetch if
74629 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74630 src, dst pointers have unequal 16 byte alignments.
74631
74632 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74633
74634 [BZ #13928]
74635 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74636 from a CNAME entry and return the minimum ttl for the query.
74637 (gaih_getanswer_slice): Likewise.
74638
74639 2012-03-30 Jeff Law <law@redhat.com>
74640
74641 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74642 due to long keys.
74643 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74644 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74645
74646 * resolv/nss_dns/dns-host.c: Update copyright year.
74647
74648 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74649
74650 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74651 requests to save a system call. Fix check that all bytes are sent.
74652
74653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74654 comments for sendmmsg.
74655
74656 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74657
74658 [BZ #13691]
74659 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74660 with only 1 character between 0x0041 and 0x01b0.
74661 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74662 * wcsmbs/tst-mbsnrtowcs.c: New file.
74663
74664 2012-03-29 David S. Miller <davem@davemloft.net>
74665
74666 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74667 small copies by hand.
74668
74669 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74670
74671 [BZ #13761]
74672 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74673 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74674 group memberships.
74675
74676 2012-03-28 David S. Miller <davem@davemloft.net>
74677
74678 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74679 that branches into memcpy.
74680 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74683 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74685 bits.
74686 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74687 implementation too.
74688 * sysdeps/sparc/mempcpy.S: New file.
74689
74690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74691 the IFUNC routine in the libc case.
74692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74693
74694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74695 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74696 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74697 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74698 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74699 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74700 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74701 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74702
74703 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74704 loop to 256 bytes instead of 64 bytes and fix test signedness.
74705
74706 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74707 * sysdeps/sparc/sparc32/Makefile: rather than here...
74708 * sysdeps/sparc/sparc64/Makefile: and here.
74709
74710 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74711
74712 * malloc/mallocbug.c: Avoid warnings about unused variables.
74713
74714 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74715
74716 [BZ #13760]
74717 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74718 in the right place. Discard and retry query if response is
74719 larger than input buffer size.
74720
74721 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74722
74723 [BZ #369]
74724 [BZ #2678]
74725 [BZ #3866]
74726 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74727 x for large integer exponent.
74728 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74729 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74730 sign of result as needed afterwards.
74731 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74732 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74733 result for underflowing pow the same as for overflow.
74734 (__kernel_standard_l): Handle powl overflow and underflow here
74735 rather than calling __kernel_standard.
74736 * math/libm-test.inc (pow_test): Add more tests.
74737
74738 [BZ #3868]
74739 [BZ #13879]
74740 [BZ #13910]
74741 [BZ #13911]
74742 [BZ #13912]
74743 [BZ #13913]
74744 [BZ #13915]
74745 [BZ #13916]
74746 [BZ #13917]
74747 [BZ #13918]
74748 [BZ #13919]
74749 [BZ #13920]
74750 [BZ #13921]
74751 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74752 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74753 (__kernel_standard_l): New function.
74754 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74755 __kernel_standard.
74756 * math/w_acosl.c (__acosl): Likewise.
74757 * math/w_asinl.c (__asinl): Likewise.
74758 * math/w_atan2l.c (__atan2l): Likewise.
74759 * math/w_atanhl.c (__atanhl): Likewise.
74760 * math/w_coshl.c (__coshl): Likewise.
74761 * math/w_exp10l.c (__exp10l): Likewise.
74762 * math/w_exp2l.c (__exp2l): Likewise.
74763 * math/w_fmodl.c (__fmodl): Likewise.
74764 * math/w_hypotl.c (__hypotl): Likewise.
74765 * math/w_j0l.c (__j0l, __y0l): Likewise.
74766 * math/w_j1l.c (__j1l, __y1l): Likewise.
74767 * math/w_jnl.c (__jnl, __ynl): Likewise.
74768 * math/w_lgammal.c (__lgammal): Likewise.
74769 * math/w_log10l.c (__log10l): Likewise.
74770 * math/w_log2l.c (__log2l): Likewise.
74771 * math/w_logl.c (__logl): Likewise.
74772 * math/w_powl.c (__powl): Likewise.
74773 * math/w_remainderl.c (__remainderl): Likewise.
74774 * math/w_scalbl.c (sysv_scalbl): Likewise.
74775 * math/w_sinhl.c (__sinhl): Likewise.
74776 * math/w_sqrtl.c (__sqrtl): Likewise.
74777 * math/w_tgammal.c (__tgammal): Likewise.
74778 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74779 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74780 * math/libm-test.inc (acos_test): Add more tests.
74781 (acosh_test): Likewise.
74782 (asin_test): Likewise.
74783 (atanh_test): Likewise.
74784 (exp_test): Likewise.
74785 (exp10_test): Likewise.
74786 (exp2_test): Likewise.
74787 (expm1_test): Likewise.
74788 (lgamma_test): Likewise.
74789 (log_test): Likewise.
74790 (log10_test): Likewise.
74791 (log1p_test): Likewise.
74792 (log2_test): Likewise.
74793 (pow_test): Do not allow some spurious overflow exceptions.
74794 (sqrt_test): Add more tests.
74795 (tgamma_test): Likewise.
74796 (y0_test): Likewise.
74797 (y1_test): Likewise.
74798 (yn_test): Likewise.
74799
74800 2012-03-27 Anton Blanchard <anton@samba.org>
74801
74802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74803 MAP_HUGETLB.
74804 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74807
74808 2012-03-27 David S. Miller <davem@davemloft.net>
74809
74810 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74811
74812 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74813 have-as-vis3 check.
74814
74815 2012-03-27 Andreas Jaeger <aj@suse.de>
74816
74817 * sysdeps/x86_64/elf/configure.in: Moved to ...
74818 * sysdeps/x86_64/configure.in: ... here.
74819 * sysdeps/x86_64/elf/start.S: Moved to ...
74820 * sysdeps/x86_64/start.S: ... here.
74821 * sysdeps/x86_64/elf/configure: Delete.
74822
74823 * sysdeps/x86_64/configure.in: Merge contents from
74824 sysdeps/i386/configure.in (without i686 check).
74825
74826 * sysdeps/i386/elf/Versions: Merge into ...
74827 * sysdeps/i386/Versions: ... this.
74828 * sysdeps/i386/elf/Versions: Delete file.
74829 * sysdeps/i386/elf/start.S: Moved to ...
74830 * sysdeps/i386/start.S: ...here.
74831 * sysdeps/i386/elf/configure.in: Merge into...
74832 * sysdeps/i386/configure.in: ...here.
74833 * sysdeps/i386/elf/configure.in: Delete file.
74834 * sysdeps/i386/elf/configure: Delete file.
74835
74836 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74837 * debug/backtracesyms.c: ... here.
74838 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74839 * debug/backtracesymsfd.c: ... here.
74840 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74841 * sysdeps/generic/ifunc-sel.h: ... here.
74842
74843 * sysdeps/unix/i386/start.c: Delete file.
74844 * sysdeps/unix/sparc/start.c: Delete file.
74845 * sysdeps/unix/start.c: Delete file.
74846
74847 * sysdeps/sh/elf/configure.in: Moved to ...
74848 * sysdeps/sh/configure.in: ... here.
74849 * sysdeps/sh/elf/start.S: Moved to ...
74850 * sysdeps/sh/start.S: ... here.
74851 * sysdeps/sh/elf/configure: Delete file.
74852
74853 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74854 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74855 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74856 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74857 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74858 * sysdeps/powerpc/powerpc64/start.S: here.
74859 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74860 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74861 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74862 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74863 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74864
74865 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74866 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74867 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74868 * sysdeps/powerpc/powerpc32/start.S: ... here.
74869 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74870 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74871 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74872
74873 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74874 * sysdeps/powerpc/ifunc-sel.h: ... here.
74875 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74876 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74877
74878 * sysdeps/sparc/elf/configure.in: Moved to ...
74879 * sysdeps/sparc/configure.in: ... here.
74880 * sysdeps/sparc/elf/configure: Delete file.
74881 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74882 * sysdeps/sparc/sparc32/start.S: ... here.
74883 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74884 * sysdeps/sparc/sparc64/start.S: ... here.
74885 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74886 * sysdeps/sparc/sparc32/Makefile: ... this.
74887 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74888 * sysdeps/sparc/sparc64/Makefile: ... this.
74889
74890 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74891 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74892 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74893 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74894 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74895 * sysdeps/s390/s390-32/setjmp.S: ... here.
74896 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74897 * sysdeps/s390/s390-32/configure.in: ... here.
74898 * sysdeps/s390/s390-32/elf/configure: Delete file.
74899 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74900 * sysdeps/s390/s390-32/start.S: ... here.
74901
74902 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74903 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74904 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74905 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74906 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74907 * sysdeps/s390/s390-64/setjmp.S: ... here.
74908 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74909 * sysdeps/s390/s390-64/configure.in: ... here
74910 * sysdeps/s390/s390-64/elf/configure: Delete file.
74911 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74912 * sysdeps/s390/s390-64/start.S: ... here.
74913 * sysdeps/s390/s390-64/elf/configure: Delete.
74914
74915 * configure.in: Remove support for elf directories in sysdeps.
74916
74917 * configure: Regenerated.
74918 * sysdeps/i386/configure: Regenerated.
74919 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74920 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74921 * sysdeps/s390/s390-32/configure: Regenerated.
74922 * sysdeps/s390/s390-64/configure: Regenerated.
74923 * sysdeps/sh/configure: Regenerated.
74924 * sysdeps/sparc/configure: Regenerated.
74925 * sysdeps/x86_64/configure: Regenerated.
74926
74927 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74928
74929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74930
74931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74932 denormal result into account.
74933
74934 2012-03-25 Roland McGrath <roland@hack.frob.com>
74935
74936 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74937 Reported by Allan McRae <allan@archlinux.org>.
74938
74939 2012-03-23 Jeff Law <law@redhat.com>
74940
74941 * nss/getnssent.c (__nss_getent): Fix typo.
74942
74943 2012-03-23 David S. Miller <davem@davemloft.net>
74944
74945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74946
74947 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74948
74949 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74950 to pad to uint64_t for each field.
74951 (dl_tls_index): Replace unsigned long with uint64_t.
74952
74953 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74954 Paul Pluzhnikov <ppluzhnikov@google.com>
74955
74956 [BZ #6528]
74957 * grp/Makefile (otherlibs): Don't set it.
74958 * inet/Makefile (otherlibs): Likewise.
74959 * login/Makefile (otherlibs): Likewise.
74960 * nscd/Makefile (otherlibs): Likewise.
74961 * posix/Makefile (otherlibs): Likewise.
74962 * pwd/Makefile (otherlibs): Likewise.
74963 * rt/Makefile (otherlibs): Likewise.
74964 * sunrpc/Makefile (otherlibs): Likewise.
74965 * nss/Makefile (otherlibs): Likewise.
74966 Add libnss_files to routines and static-only-routines.
74967 ($(objpfx)getent): Remove rule.
74968 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74969 static-only-routines.
74970
74971 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74972
74973 [BZ #13892]
74974 * math/s_cexp.c: Include <float.h>.
74975 (__cexp): Handle exp result overflowing not necessarily
74976 overflowing both real and imaginary parts of result.
74977 * math/s_cexpf.c: Likewise.
74978 * math/s_cexpl.c: Likewise.
74979 * math/libm-test.inc (cexp_test): Add more tests.
74980 * sysdeps/i386/fpu/libm-test-ulps: Update.
74981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74982
74983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74984
74985 * include/link.h (ELFW): New macro.
74986 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74987 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74988
74989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74990
74991 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74992 with uint64_t.
74993
74994 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74995
74996 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74997 declaration.
74998 (struct La_x32_retval): Likewise.
74999
75000 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75001
75002 * sysdeps/x86_64/preconfigure.in: New file.
75003 * sysdeps/x86_64/preconfigure: New generated file.
75004
75005 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75006
75007 [BZ #13824]
75008 * math/e_exp2l.c: Include <float.h>.
75009 (__ieee754_exp2l): Handle overflow and underflow cases
75010 separately. Only pass fractional part of argument to
75011 __ieee754_expl.
75012 * math/libm-test.inc (exp2_test): Add more tests.
75013
75014 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75015 negating x to take absolute value.
75016 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75017 Likewise.
75018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75020 Likewise.
75021 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75022 computing low part if x was negated.
75023 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75024
75025 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75026
75027 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75028 la_x32_gnu_pltexit.
75029 (pltexit): Cast int_retval to ptrdiff_t.
75030 * elf/tst-auditmod3b.c: Likewise.
75031 * elf/tst-auditmod4b.c: Likewise.
75032 * elf/tst-auditmod5b.c: Likewise.
75033 * elf/tst-auditmod6b.c: Likewise.
75034 * elf/tst-auditmod6c.c: Likewise.
75035 * elf/tst-auditmod7b.c: Likewise.
75036
75037 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75038 and x32_gnu_pltexit.
75039
75040 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75041 __ELF_NATIVE_CLASS.
75042 (La_x32_regs): New macro.
75043 (La_x32_retval): Likewise.
75044 (la_x32_gnu_pltenter): New function prototype.
75045 (la_x32_gnu_pltexit): Likewise.
75046
75047 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75048
75049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75050 exponent.
75051
75052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75053
75054 * configure.in (libc_cv_cc_nofma): Check for option to disable
75055 generation of FMA instructions.
75056 * configure: Regenerate.
75057 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75058 * sysdeps/ieee754/dbl-64/Makefile: New file.
75059 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75060 Remove brandred-fma4.
75061 (CFLAGS-brandred-fma4.c): Remove.
75062 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75063 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75064 define.
75065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75066 define.
75067
75068 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75069
75070 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75071 LLONG_MAX != LONG_MAX.
75072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75073 (_fitoa_word): Likewise.
75074 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75075 LLONG_MAX != LONG_MAX.
75076 * stdio-common/_itowa.h: Include <_itoa.h>.
75077 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75078 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75079 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75080 only if not defined.
75081 (_ITOA_WORD_TYPE): Likewise.
75082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75083 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75084
75085 2012-03-21 David S. Miller <davem@davemloft.net>
75086
75087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75088
75089 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75090
75091 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75092 of x86_64 when setting libc_cv_slibdir, libdir and
75093 libc_cv_localedir.
75094 * sysdeps/unix/sysv/linux/configure: Regenerated.
75095
75096 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75097
75098 * manual/lang.texi (Old Varargs): Remove section.
75099 (How Variadic): Update menu.
75100 (va_start): Do not mention varargs.h.
75101
75102 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75103 Joseph Myers <joseph@codesourcery.com>
75104
75105 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75106 link test.
75107 * configure: Regenerated.
75108
75109 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75110
75111 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75112 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75113 conformtest.pl
75114
75115 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75116
75117 * NOTES: Remove.
75118 * Makefile (files-for-dist): Remove NOTES.
75119 (NOTES): Remove rule.
75120 * README: Don't refer to NOTES.
75121 * manual/creature.texi: Don't include macros.texi.
75122 * manual/intro.texi (creature.texi): Remove comment referring to
75123 NOTES.
75124
75125 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75126 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75127 * configure: Regenerated.
75128 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75129 LIBC_TRY_CC_OPTION.
75130 (libc_cv_as_i686): Likewise.
75131 (libc_cv_cc_avx): Likewise.
75132 (libc_cv_cc_sse2avx): Likewise.
75133 (libc_cv_cc_fma4): Likewise.
75134 (libc_cv_cc_novzeroupper): Likewise.
75135 * sysdeps/i386/configure: Regenerated.
75136
75137 [BZ #13883]
75138 * sysdeps/i386/fpu/s_cexp.S: Remove.
75139 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75140 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75141 * math/libm-test.inc (cexp_test): Add more tests.
75142 * sysdeps/i386/fpu/libm-test-ulps: Update.
75143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75144
75145 2012-03-21 Allan McRae <allan@archlinux.org>
75146
75147 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75148
75149 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75150
75151 [BZ #13871]
75152 * math/w_exp2.c: Do not include <float.h>.
75153 (o_threshold, u_threshold): Remove.
75154 (__exp2): Calculate result before checking finiteness and calling
75155 __kernel_standard.
75156 * math/w_exp2f.c: Likewise.
75157 * math/w_exp2l.c: Likewise.
75158 * math/libm-test.inc (exp2_test): Require overflow exception for
75159 1e6 input.
75160
75161 [BZ #3866]
75162 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75163 range of signed 64-bit integers before using fistpll. Remove
75164 checks for whether integers fit in mantissa bits.
75165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75166 the range of signed 32-bit integers before using fistpl. Remove
75167 checks for whether integers fit in mantissa bits.
75168 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75169 (__ieee754_powl): Test for y outside the range of signed 64-bit
75170 integers before using fistpll. Reduce 64-bit values to 63-bit
75171 ones as needed.
75172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75173 divide-by-zero is raised for zero to large negative powers.
75174 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75175 (__ieee754_powl): Test for y outside the range of signed 64-bit
75176 integers before using fistpll. Reduce 64-bit values to 63-bit
75177 ones as needed.
75178 * math/libm-test.inc (pow_test): Add more tests.
75179
75180 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75181
75182 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75183 <stdio-common/_itoa.h>.
75184 * debug/segfault.c: Likewise.
75185 * elf/dl-cache.c: Likewise.
75186 * elf/dl-minimal.c: Likewise.
75187 * elf/dl-misc.c: Likewise.
75188 * elf/dl-sysdep.c: Likewise.
75189 * elf/dl-version.c: Likewise.
75190 * elf/rtld.c: Likewise.
75191 * hurd/hurdsock.c: Likewise.
75192 * hurd/lookup-retry.c: Likewise.
75193 * malloc/malloc.c: Likewise.
75194 * malloc/mtrace.c: Likewise.
75195 * nscd/nscd_getgr_r.c: Likewise.
75196 * nscd/nscd_getpw_r.c: Likewise.
75197 * nscd/nscd_getserv_r.c: Likewise.
75198 * posix/getopt_init.c: Likewise.
75199 * posix/wordexp.c: Likewise.
75200 * stdio-common/_itoa.c: Likewise.
75201 * stdio-common/printf_fphex.c: Likewise.
75202 * stdio-common/vfprintf.c: Likewise.
75203 * string/_strerror.c: Likewise.
75204 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75205 * sysdeps/i386/i686/hp-timing.h: Likewise.
75206 * sysdeps/mach/_strerror.c: Likewise.
75207 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75208 * sysdeps/mach/hurd/sethostid.c: Likewise.
75209 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75210 * sysdeps/mach/xpg-strerror.c: Likewise.
75211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75213 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75214 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75215 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75216 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75217 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75218 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75219 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75220 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75221 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75222 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75223 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75224 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75225 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75226 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75227 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75228 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75229 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75230 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75231 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75232
75233 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75234
75235 * stdio-common/_itoa.h: Moved to ...
75236 * sysdeps/generic/_itoa.h: Here.
75237
75238 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75239
75240 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75241 instead of "_itoa.h" and "_itowa.h".
75242 * stdio-common/vfprintf.: Likewise.
75243
75244 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75245
75246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75247 <bits/wordsize.h>.
75248 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75249 (__signbit): Likewise.
75250 (llrintf): Likewise.
75251 (llrint): Likewise.
75252
75253 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75254
75255 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75256 __WORDSIZE != 64.
75257
75258 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75259
75260 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75261 OVERFLOW_EXCEPTION_OK.
75262 * math/libm-test.inc ("Philosophy"): Update comment about
75263 exception testing.
75264 (OVERFLOW_EXCEPTION): Define.
75265 (OVERFLOW_EXCEPTION_OK): Likewise.
75266 (INVALID_EXCEPTION_OK): Renumber.
75267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75268 (IGNORE_ZERO_INF_SIGN): Likewise.
75269 (test_exceptions): Handle FE_OVERFLOW.
75270 (exp10_test): Expect overflow exceptions.
75271 (exp2_test): Likewise.
75272 (expm1_test): Likewise.
75273 (nextafter_test): Likewise.
75274 (pow_test): Likewise.
75275 (scalbn_test): Likewise.
75276 (scalbln_test): Likewise.
75277
75278 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75279
75280 * sysdeps/x86_64/bits/atomic.h
75281 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75282 64bit integer.
75283 (atomic_exchange_acq): Likewise.
75284 (__arch_exchange_and_add_body): Likewise.
75285 (__arch_add_body): Likewise.
75286 (atomic_add_negative): Likewise.
75287 (atomic_add_zero): Likewise.
75288
75289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75290
75291 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75292 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75293
75294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75295
75296 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75297 Check __x86_64__ instead of __WORDSIZE.
75298
75299 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75300
75301 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75302
75303 2012-03-19 David S. Miller <davem@davemloft.net>
75304
75305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75306
75307 * sysdeps/sparc/fpu/fenv_private.h: New file.
75308 * sysdeps/sparc/fpu/math_private.h: Use it.
75309 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75310 Remove.
75311 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75312 (libc_feholdexcept_setroundl): Remove.
75313 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75314 Remove.
75315 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75316 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75317
75318 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75319
75320 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75321 int64_t instead of long int.
75322 (INSERT_WORDS64): Likewise.
75323
75324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75325
75326 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75327 _Unwind_GetCFA return to _Unwind_Ptr first.
75328
75329 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75330
75331 [BZ #13629]
75332 * math/s_clog.c: Include <float.h>.
75333 (__clog): Scale large or subnormal inputs.
75334 * math/s_clogf.c: Likewise.
75335 * math/s_clogl.c: Likewise.
75336 * math/s_clog10.c: Include <float.h>.
75337 (M_LOG10_2): Define.
75338 (__clog10): Scale large or subnormal inputs.
75339 * math/s_clog10f.c: Likewise.
75340 * math/s_clog10l.c: Likewise.
75341 * math/libm-test.inc (clog_test): Add more tests.
75342 (clog10_test): Likewise.
75343 * sysdeps/i386/fpu/libm-test-ulps: Update.
75344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75345
75346 [BZ #11451]
75347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75348 x and y.
75349 * math/libm-test.inc (atan2_test): Add another test.
75350
75351 * Makerules (common-objdir-compile): Remove.
75352 * sysdeps/unix/Makefile (config-generated): Do not add
75353 $(unix-generated) to variable.
75354 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75355 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75356 Remove rule.
75357 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75358 Likewise.
75359 [generic bits/local_lim.h] (before-compile): Do not append to
75360 variable.
75361 [generic bits/local_lim.h] (common-generated): Likewise.
75362 [generic sys/param.h] (before-compile): Do not append to variable.
75363 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75364 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75366 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75367 include.
75368 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75369 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75370 [generic sys/param.h] ($(addprefix
75371 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75372 [generic sys/param.h] (common-generated): Do not append to
75373 variable.
75374 [generic sys/param.h] (sysdep_headers): Likewise.
75375 [generic bits/errno.h] (before-compile): Do not append to
75376 variable.
75377 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75378 rule.
75379 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75380 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75381 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75382 [generic bits/errno.h] (common-generated): Do not append to
75383 variable.
75384 [generic bits/ioctls.h] (before-compile): Do not append to
75385 variable.
75386 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75387 rule.
75388 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75389 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75390 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75391 rule.
75392 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75393 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75394 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75395 [generic bits/ioctls.h] (common-generated): Do not append to
75396 variable.
75397 [generic sys/syscall.h] (syscall.h): Remove variable.
75398 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75399 rule.
75400 [generic sys/syscall.h] (before-compile): Do not append to
75401 variable.
75402 [generic sys/syscall.h] (common-generated): Likewise.
75403 * sysdeps/unix/errnos-tmpl.c: Remove file.
75404 * sysdeps/unix/errnos.awk: Likewise.
75405 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75406 * sysdeps/unix/ioctls.awk: Likewise.
75407 * sysdeps/unix/mk-local_lim.c: Likewise.
75408 * sysdeps/unix/snarf-ioctls: Likewise.
75409
75410 2012-03-19 Richard Henderson <rth@twiddle.net>
75411
75412 * sysdeps/i386/fpu/fenv_private.h: New file.
75413 * sysdeps/i386/fpu/math_private.h: Use it.
75414 (math_opt_barrier, math_force_eval): Remove.
75415 (libc_feholdexcept_setround_53bit): Remove.
75416 (libc_feupdateenv_53bit): Remove.
75417 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75418 (math_opt_barrier, math_force_eval): Remove.
75419 (libc_feholdexcept): Remove.
75420 (libc_feholdexcept_setround): Remove.
75421 (libc_fetestexcept, libc_fesetenv): Remove.
75422 (libc_feupdateenv_test): Remove.
75423 (libc_feupdateenv, libc_feholdsetround): Remove.
75424 (libc_feresetround): Remove.
75425
75426 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75427 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75428
75429 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75430 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75431 (libc_feupdateenv_testl): New.
75432 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75433 (libc_feupdateenv_testf): New.
75434 (libc_feupdateenv): Use libc_feupdateenv_test.
75435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75437
75438 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75439 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75440 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75441 (libc_feresetround_noex): New.
75442 (libc_feresetround_noexf): New.
75443 (libc_feresetround_noexl): New.
75444 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75445 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75446 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75447 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75448 SET_RESTORE_ROUND.
75449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75451 (__cos): Likewise.
75452 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75453 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75454 SET_RESTORE_ROUND_NOEX.
75455 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75456 SET_RESTORE_ROUND_NOEXF.
75457 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75458 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75459 (libc_feholdsetroundf): New.
75460 (libc_feresetround, libc_feresetroundf): New.
75461
75462 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75463 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75464 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75465
75466 * sysdeps/generic/math_private.h: Include <fenv.h>.
75467 (default_libc_feholdexcept): New.
75468 (default_libc_feholdexcept_setround): New.
75469 (default_libc_fesetenv, default_libc_feupdateenv): New.
75470 (libc_feholdexcept): Only define if undefined.
75471 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75472 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75473 (libc_feholdexcept_setroundl): Likewise.
75474 (libc_feholdexcept_setround_53bit): Likewise.
75475 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75476 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75477 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75478 (libc_feupdateenv_53bit): Likewise.
75479 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75480 (libc_feholdexcept): Convert from macro to inline function.
75481 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75482 (libc_fesetenv, libc_feupdateenv): Likewise.
75483
75484 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75485 not previously defined.
75486 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75487 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75488 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75489 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75490 * sysdeps/ieee754/flt-32/math_private.h: New file.
75491 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75492 math_private.h below SET_FLOAT_WORD.
75493 (__isnan, __isinf_ns, __finite): Remove.
75494 (__isnanf, __isinf_nsf, __finitef): Remove.
75495
75496 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75497
75498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75499
75500 2012-03-17 David S. Miller <davem@davemloft.net>
75501
75502 [BZ #6471]
75503 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75504 for 2.16.
75505
75506 2012-03-16 David S. Miller <davem@davemloft.net>
75507
75508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75509 warnings.
75510
75511 [BZ #6471]
75512 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75513 properly.
75514 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75515 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75516 sysdep_routines when subdir is sysvipc.
75517 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75518 __getshmlba helper.
75519
75520 * sysdeps/sparc/fpu/libm-test/ulps: Update.
75521
75522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75523
75524 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75525 [__LP64__].
75526
75527 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75528
75529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75530 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75531 (__lround): Renamed to ...
75532 (__llround): This. Replace long int with long long int.
75533 Define lround functions as aliases of llround functions.
75534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75535
75536 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75537
75538 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75539 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
75540 adresses to uintptr_t. Replace "long int" and "unsigned long
75541 int" with "greg_t" on va_arg.
75542
75543 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75544
75545 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75546 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75547
75548 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75549 Move e_machine check before EI_CLASS check. Handle x32
75550 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75551 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75552 SKIP_EM_IA_64 and include
75553 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75554
75555 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75556 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75557 (add_system_dir): New macro.
75558
75559 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75560 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75561
75562 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75563
75564 [BZ #2551]
75565 [BZ #2552]
75566 [BZ #2553]
75567 [BZ #2554]
75568 [BZ #2562]
75569 [BZ #2563]
75570 [BZ #2565]
75571 [BZ #2566]
75572 [BZ #2576]
75573 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75574 (y0): Likewise.
75575 * math/w_j0f.c (j0f): Likewise.
75576 (y0f): Likewise.
75577 * math/w_j0l.c (__j0l): Likewise.
75578 (__y0l): Likewise.
75579 * math/w_j1.c (j1): Likewise.
75580 (y1): Likewise.
75581 * math/w_j1f.c (j1f): Likewise.
75582 (y1f): Likewise.
75583 * math/w_j1l.c (__j1l): Likewise.
75584 (__y1l): Likewise.
75585 * math/w_jn.c (jn): Likewise.
75586 (yn): Likewise.
75587 * math/w_jnf.c (jnf): Likewise.
75588 (ynf): Likewise.
75589 * math/w_jnl.c (__jnl): Likewise.
75590 (__ynl): Likewise.
75591 * math/libm-test.inc (j0_test): Add more tests.
75592 (j1_test): Likewise.
75593 (jn_test): Likewise. Add trailing semicolon to existing test.
75594 (y0_test): Likewise.
75595 (y1_test): Likewise.
75596 * sysdeps/i386/fpu/libm-test-ulps: Update.
75597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75598
75599 [BZ #13851]
75600 [BZ #13854]
75601 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75602 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75603 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75605 (__tanl): Set errno for infinite argument.
75606 * sysdeps/i386/fpu/mptan.c: Remove.
75607 * sysdeps/i386/fpu/s_tan.S: Likewise.
75608 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75609 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75610 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75611 * math/libm-test.inc (tan_test): Add more tests and enable more
75612 tests for double and long double.
75613 * sysdeps/i386/fpu/libm-test-ulps: Update.
75614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75615
75616 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75617
75618 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75619 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75620
75621 2012-03-16 Roland McGrath <roland@hack.frob.com>
75622
75623 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75624 * configure.in: Use it for both main tree and add-ons.
75625 * configure: Regenerated.
75626
75627 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75628
75629 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75630
75631 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75632
75633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75634 in comment.
75635
75636 [BZ #13851]
75637 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75638 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75639 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75640 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75641 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75642 infinite argument.
75643 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75645 != 0 for prec == 2.
75646 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75647 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75648 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75649 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75650 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75651 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75652 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75653 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75654 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75655 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75656 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75657 * math/libm-test.inc (cos_test): Add more tests and enable more
75658 tests for long double.
75659 (sin_test): Likewise.
75660 (sincos_test): Likewise.
75661 * sysdeps/i386/fpu/libm-test-ulps: Update.
75662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75663
75664 2012-03-16 David S. Miller <davem@davemloft.net>
75665
75666 * sysdeps/sparc/fpu/math_private.h: New file.
75667
75668 2012-03-15 David S. Miller <davem@davemloft.net>
75669
75670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75671 file.
75672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75674 file.
75675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75681 sysdep routines.
75682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75683
75684 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75685 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75686
75687 * sysdeps/sparc/sparc-ifunc.h: New file.
75688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75689 sparc-ifunc.h
75690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75692 Likewise.
75693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75694 Likewise.
75695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75699 Likewise.
75700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75705 Likewise.
75706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75707 Likewise.
75708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75732
75733 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75734
75735 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75736 scaling.
75737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75738
75739 2012-03-15 Andreas Jaeger <aj@suse.de>
75740
75741 [BZ #13852]
75742 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75743 ieee754/flt-32 implementation for sin, cos and sincos.
75744 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75745 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75746 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75747 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75748 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75749 ieee754/flt-32 implementation for tan.
75750
75751 * math/libm-test.inc (cos_test): Enable some large input tests for
75752 float as well
75753 (sin_test): Likewise.
75754 (sincos_test): Likewise.
75755 (tan_test): Add tests for large input.
75756
75757 * sysdeps/i386/fpu/libm-test-ulps: Update.
75758
75759 2012-03-15 Andreas Jaeger <aj@suse.de>
75760
75761 [BZ #13658]
75762 * math/libm-test.inc (cos_test): Add more test cases.
75763 (sin_test): Likewise.
75764 (sincos_test): Likewise.
75765
75766 2012-03-15 Andreas Jaeger <aj@suse.de>
75767
75768 [BZ #13837]
75769 * math/libm-test.inc (cos_test): Add a test case for large input
75770 value.
75771 (sin_test): Likewise.
75772 (sincos_test): Likewise.
75773
75774 2012-03-15 Andreas Jaeger <aj@suse.de>
75775 Joseph Myers <joseph@codesourcery.com>
75776
75777 [BZ #13658]
75778 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75779 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75780 * sysdeps/i386/fpu/branred.c: Likewise.
75781 * sysdeps/i386/fpu/dosincos.c: Likewise.
75782 * sysdeps/i386/fpu/mpa.c: Likewise.
75783 * sysdeps/i386/fpu/s_cos.S: Likewise.
75784 * sysdeps/i386/fpu/s_sin.S: Likewise.
75785 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75786 * sysdeps/i386/fpu/sincos32.c: Likewise.
75787
75788 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75789 Define.
75790 (libc_feupdateenv_53bit): Define.
75791 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75792 Define.
75793 (libc_feupdateenv_53bit): Define.
75794
75795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75796 53 bit (without extend i386 double precision).
75797
75798 * math/libm-test.inc (sincos_test): Add tests for large input.
75799 (sin): Likewise.
75800 (cos): Likewise.
75801
75802 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75803
75804 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75805
75806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75807
75808 2012-03-15 David S. Miller <davem@davemloft.net>
75809
75810 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75811 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75812 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75813 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75826 file.
75827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75829 file.
75830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75832 file.
75833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75835 file.
75836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75838 fmin/fmax sysdep routines.
75839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75840
75841 2012-03-14 David S. Miller <davem@davemloft.net>
75842
75843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75872 routines.
75873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75874 file.
75875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75877 file.
75878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75880 file.
75881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75883 file.
75884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75886 file.
75887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75889 file.
75890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75891 file.
75892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75893 file.
75894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75895 file.
75896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75897 New file.
75898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75899 file.
75900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75901 file.
75902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75904 file.
75905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75907 file.
75908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75910 file.
75911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75913 VIS3 routines.
75914
75915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75916 New file.
75917
75918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75919
75920 * sysdeps/sparc/configure.in: New file.
75921 * sysdeps/sparc/configure: Generate.
75922 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75923 * configure: Regenerate.
75924 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75925 * config.make.in (have-as-vis3): New.
75926 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75927 available use -Av9d instead of -Av9a.
75928 * sysdeps/sparc/sparc64/Makefile: Likewise.
75929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75931 New file.
75932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75933 file.
75934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75935 New file.
75936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75937 file.
75938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75943
75944 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75945 fzeros/fnegs to load 0x80000000 into a float register instead of
75946 using the stack.
75947 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75948
75949 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75950
75951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75952 bits/syscall.h.
75953 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75954 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75955 ($(inst_includedir)/bits/syscall.h): Remove rule.
75956 ($(objpfx)bits/syscall.d): Include instead of
75957 $(objpfx)syscall-list.d.
75958 (generated): Change syscall-list.h and syscall-list.d to
75959 bits/syscall.h and bits/syscall.d.
75960
75961 2012-03-14 Roland McGrath <roland@hack.frob.com>
75962
75963 [BZ #13846]
75964 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75965
75966 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75967
75968 [BZ #13841]
75969 * math/s_csqrt.c: Include <float.h>.
75970 (__csqrt): Scale large or subnormal inputs.
75971 * math/s_csqrtf.c: Likewise.
75972 * math/s_csqrtl.c: Likewise.
75973 * math/libm-test.inc (csqrt_test): Add more tests.
75974 * sysdeps/i386/fpu/libm-test-ulps: Update.
75975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75976
75977 [BZ #13840]
75978 * math/libm-test.inc (hypot_test): Add more tests.
75979
75980 2012-03-13 David S. Miller <davem@davemloft.net>
75981
75982 [BZ #13840]
75983 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75984 double-precision for the calculation instead of scaling.
75985
75986 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75987
75988 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75989 manipulate bits before adding and subtracting TWO52[sx].
75990 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75991 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75992 Likewise.
75993 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75994
75995 2012-03-13 David S. Miller <davem@davemloft.net>
75996
75997 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75998 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76000 rtld-global-offsets.h
76001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76002
76003 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76004 large parameters.
76005
76006 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76007
76008 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76009 'err' in the ifdef scope in which it is actually used.
76010
76011 * nss/nss_db/db-init.c: Include string.h
76012
76013 2012-03-12 David S. Miller <davem@davemloft.net>
76014
76015 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76016 masking out of the most significant byte of random value used.
76017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76018 Fix coding style in previous change.
76019
76020 * sysdeps/unix/sysv/linux/kernel-features.h
76021 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76022 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76023 expression.
76024 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76025 later.
76026
76027 2012-03-11 David S. Miller <davem@davemloft.net>
76028
76029 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76030 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76032 for 'resultvar' otherwise things get truncated on 64-bit.
76033
76034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76035 Fix masking out of the most significant byte of random value used.
76036
76037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76038
76039 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76040
76041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76042
76043 2012-03-09 David S. Miller <davem@davemloft.net>
76044
76045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76046 variables with appropriate CPP guards.
76047 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76048 from the frame pointer, not the stack pointer. Correct layout
76049 comments. Fix test on resulting framesize and the management of
76050 the outregs buffer for pltexit. Preserve floating point return
76051 values across _dl_call_pltexit call.
76052 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76053 framesize and the management of the outregs buffer for pltexit.
76054 Preserve floating point return values across _dl_call_pltexit
76055 call.
76056 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76057 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76058 (la_sparc64_gnu_pltexit): New functions.
76059 (print_exit): Fix format string for return register value.
76060
76061 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76062
76063 * sunrpc/Makefile (others): Add rpcgen.
76064 ($(objpfx)rpcgen): Remove special build rule and dependency on
76065 libc.
76066 * sunrpc/rpcgen.c: New file.
76067
76068 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76069
76070 [BZ #13673]
76071 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76072 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76073 * sysdeps/i386/crti.S: Likewise.
76074 * sysdeps/i386/crtn.S: Likewise.
76075 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76076 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76077 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76078 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76079 * sysdeps/sh/crti.S: Likewise.
76080 * sysdeps/sh/crtn.S: Likewise.
76081 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76082
76083 [BZ #13673]
76084 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76085 with URL.
76086 * locale/programs/locfile-kw.gperf: Likewise.
76087 * locale/programs/charmap-kw.h: Regenerated.
76088 * locale/programs/locfile-kw.h: Likewise.
76089
76090 [BZ #13673]
76091 * intl/plural.y: Replace FSF snail mail address with URL.
76092 * intl/plural.c: Regenerated.
76093
76094 2012-03-09 Richard Henderson <rth@twiddle.net>
76095
76096 * include/math_private.h: Remove file.
76097 * math/math_private.h: Move file ...
76098 * sysdeps/generic/math_private.h: ... here.
76099
76100 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76101 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76102 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76103
76104 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76105 and <math_private.h>.
76106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76111 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76117 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76118 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76120 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76130 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76131 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76136 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76138 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76142 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76143 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76144 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76146 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76147 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76148 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76149 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76150 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76151 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76152 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76153 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76156 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76157 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76158 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76159 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76160 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76161 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76164 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76165 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76167 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76170 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76174 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76175 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76178 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76180 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76185 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76187 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76188 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76193 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76194 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76197 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76200 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76201 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76206 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76207 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76208 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76209 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76210 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76211 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76212 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76213 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76214 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76215 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76216 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76217 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76220 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76222 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76223 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76224 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76225 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76226 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76227 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76228 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76229 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76230 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76231 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76232 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76233 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76234 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76235 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76236 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76237 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76239 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76240 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76241 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76242 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76244 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76247 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76248 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76249 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76250 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76251 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76252 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76253 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76254 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76255 * sysdeps/ieee754/k_standard.c: Likewise.
76256 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76257 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76259 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76260 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76261 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76262 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76268 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76269 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76270 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76271 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76273 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76274 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76275 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76276 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76277 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76278 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76280 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76281 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76282 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76283 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76284 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76287 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76288 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76289 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76290 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76291 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76292 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76293 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76294 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76295 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76296 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76297 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76298 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76299 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76300 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76301 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76302 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76304 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76306 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76307 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76308 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76309 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76311 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76312 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76313 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76314 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76315 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76317 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76318 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76325 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76329 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76330 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76333 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76335 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76336 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76338 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76341 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76342 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76343 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76346 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76347 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76348 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76349 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76352 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76353 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76355 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76357 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76360 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76363 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76364 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76365 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76366 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76367 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76368 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76372 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76373 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76374 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76375 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76376 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76377 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76378 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76379 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76380 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76381 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76389 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76390 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76392 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76393 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76394 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76395 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76396 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76398 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76399 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76400 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76401 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76402 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76403 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76404 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76405 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76406 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76407 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76410 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76411 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76412 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76413 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76414 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76415 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76416 * sysdeps/ieee754/s_lib_version.c: Likewise.
76417 * sysdeps/ieee754/s_matherr.c: Likewise.
76418 * sysdeps/ieee754/s_signgam.c: Likewise.
76419 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76420 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76421 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76422 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76423 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76424 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76425 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76426 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76427 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76428 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76429 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76430 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76431 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76432 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76433 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76436 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76437 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76440
76441 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76442
76443 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76444 * sunrpc/rpc_main.c: Likewise.
76445 * sunrpc/rpc_svcout.c: Likewise.
76446
76447 2012-03-09 David S. Miller <davem@davemloft.net>
76448
76449 * include/math_private.h: New file.
76450
76451 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76452
76453 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76454 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76455 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76456 from <bits/socket_type.h>.
76457 (enum __socket_type): Don't define here.
76458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76460 bits/socket_type.h.
76461
76462 [BZ #13566]
76463 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76464 checking __USE_GNU.
76465
76466 * Makerules ($(inst_includedir)/%.h): New rule.
76467 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76468 (install-others): Remove variable setting.
76469 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76470
76471 2012-03-08 Richard Henderson <rth@twiddle.net>
76472
76473 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76474 from macro to inline function; merge with the
76475 !__LIBC_INTERNAL_MATH_INLINES version.
76476 (__ieee754_sqrtf): Likewise.
76477
76478 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76479 to inline function.
76480 (__rintf, __floor, __floorf): Likewise.
76481
76482 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76483 macro to inline function.
76484 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76485
76486 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76487 not <math/math_private.h>.
76488
76489 2012-03-08 David S. Miller <davem@davemloft.net>
76490
76491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76492 copyright year.
76493 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76494
76495 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76496
76497 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76498 normalization.
76499 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76500 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76501
76502 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76503
76504 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76505 be defined individually, they must be defined as a block. Define
76506 S for printing a string instead of hidint the different by using a
76507 macro for adding the 'l'.
76508 * stdio-common/tst-fphex-wide.c: Adjust.
76509
76510 2012-03-07 Marek Polacek <polacek@redhat.com>
76511
76512 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76513
76514 2012-03-08 Marek Polacek <polacek@redhat.com>
76515
76516 [BZ #13806]
76517 * stdio-common/Makefile (tests): Add tst-fphex-wide.
76518 * stdio-common/tst-fphex.c: Define a few macros to make the
76519 test reusable. Use them.
76520 * stdio-common/tst-fphex-wide.c: New file.
76521
76522 2012-03-08 Joseph Myers <joseph@codesourcery.com>
76523
76524 [BZ #6911]
76525 * manual/macros.texi (gnusystems): New macro.
76526 (nongnusystems): Likewise.
76527 (gnulinuxhurdsystems): Likewise.
76528 (gnuhurdsystems): Likewise..
76529 (gnulinuxsystems): Likewise.
76530 * manual/charset.texi: Use new macros or @theglibc{} to refer to
76531 variants of the GNU system, not "GNU system".
76532 * manual/conf.texi: Likewise.
76533 * manual/errno.texi: Likewise. Update example of errno macro
76534 expansion.
76535 * manual/filesys.texi: Likewise.
76536 (getumask): Document as specific to GNU/Hurd.
76537 * manual/install.texi: Likewise. Reword some references to
76538 GNU/Linux.
76539 * manual/intro.texi: Likewise.
76540 * manual/io.texi: Likewise.
76541 (File Name Portability): Detail which constraints are inapplicable
76542 to all GNU systems and which are only inapplicable to GNU/Hurd.
76543 * manual/job.texi: Likewise.
76544 * manual/llio.texi: Likewise.
76545 (O_NOCTTY): Document as present on GNU/Linux.
76546 * manual/maint.texi: Likewise.
76547 * manual/memory.texi: Likewise.
76548 * manual/pattern.texi: Likewise.
76549 * manual/pipe.texi: Likewise.
76550 * manual/process.texi: Likewise.
76551 * manual/resource.texi: Likewise.
76552 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76553 child on GNU/Hurd.
76554 * manual/setjmp.texi: Likewise.
76555 * manual/signal.texi: Likewise.
76556 * manual/startup.texi: Likewise.
76557 * manual/stdio.texi: Likewise.
76558 * manual/terminal.texi: Likewise.
76559 (ONLCR): Document as POSIX.
76560 (OXTABS): Document availability on GNU/Linux as XTABS.
76561 (ONOEOT): Document availability separately from other bits.
76562 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76563 * manual/time.texi: Likewise.
76564 * manual/users.texi: Likewise.
76565 * INSTALL: Regenerated.
76566 * sysdeps/gnu/errlist.c: Regenerated.
76567
76568 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76569 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76570 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76571 puts.
76572 * configure: Regenerated.
76573
76574 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76575
76576 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76577 default includes instead of AC_HEADER_CHECK.
76578 * sysdeps/i386/configure: Regenerated.
76579
76580 [BZ #10716]
76581 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76582 * math/s_cacoshf.c (__cacoshf): Likewise.
76583 * math/s_cacoshl.c (__cacoshl): Likewise.
76584 * math/s_casinh.c (__casinh): Set signs of result from argument.
76585 * math/s_casinhf.c (__casinhf): Likewise.
76586 * math/s_casinhl.c (__casinhl): Likewise.
76587 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76588 (casinh_test): Add more tests.
76589 * sysdeps/i386/fpu/libm-test-ulps: Update.
76590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76591
76592 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76593
76594 * po/zh_TW.po: Update from translation team.
76595
76596 * login/Makefile (distribute): Remove variable.
76597 * catgets/Makefile: Likewise.
76598 * mach/Makefile: Likewise.
76599 * malloc/Makefile: Likewise.
76600 * misc/Makefile: Likewise.
76601 * iconv/Makefile: Likewise.
76602 * nscd/Makefile: Likewise.
76603 * hurd/Makefile: Likewise.
76604 * manual/Makefile: Likewise.
76605 * locale/Makefile: Likewise.
76606 * intl/Makefile: Likewise.
76607 * conform/Makefile: Likewise.
76608 * nss/Makefile: Likewise.
76609 * time/Makefile: Likewise.
76610 * soft-fp/Makefile: Likewise.
76611 * dirent/Makefile: Likewise.
76612 * gmon/Makefile: Likewise.
76613 * po/Makefile: Likewise.
76614 * rt/Makefile: Likewise.
76615 * socket/Makefile: Likewise.
76616 * math/Makefile: Likewise.
76617 * signal/Makefile: Likewise.
76618 * debug/Makefile: Likewise.
76619 * elf/Makefile: Likewise.
76620 * timezone/Makefile: Likewise.
76621 * stdlib/Makefile: Likewise.
76622 * iconvdata/Makefile: Likewise.
76623 * sunrpc/Makefile: Likewise.
76624 * io/Makefile: Likewise.
76625 * argp/Makefile: Likewise.
76626 * inet/Makefile: Likewise.
76627 * hesiod/Makefile: Likewise.
76628 * grp/Makefile: Likewise.
76629 * csu/Makefile: Likewise.
76630 * wctype/Makefile: Likewise.
76631 * crypt/Makefile: Likewise.
76632 * libio/Makefile: Likewise.
76633 * string/Makefile: Likewise.
76634 * nis/Makefile: Likewise.
76635 * resolv/Makefile: Likewise.
76636 * stdio-common/Makefile: Likewise.
76637 * wcsmbs/Makefile: Likewise.
76638 * dlfcn/Makefile: Likewise.
76639 * posix/Makefile: Likewise.
76640
76641 [BZ #6959]
76642 * timezone/Makefile: Don't install timezone files, just the programs
76643 and scripts.
76644
76645 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76646
76647 * nss/databases.def: Add missing gshadow entry.
76648
76649 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76650
76651 2012-03-06 Marek Polacek <polacek@redhat.com>
76652
76653 [BZ #13726]
76654 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76655 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76656 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76657 * stdio-common/tst-long-dbl-fphex.c: New file.
76658
76659 2012-03-06 David S. Miller <davem@davemloft.net>
76660
76661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76662 (set_obp_int): New function.
76663 (get_obp_int): New function.
76664 (__get_clockfreq_via_dev_openprom): Likewise.
76665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76666 Avoid unused variable warnings on 'val' and use builtin_expect.
76667 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76668 __builtin_expect.
76669 (INLINE_CLONE_SYSCALL): Likewise.
76670
76671 2012-03-05 David S. Miller <davem@davemloft.net>
76672
76673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76674
76675 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76676
76677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76678
76679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76680 only for |x| >= 40.
76681 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76682
76683 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76684
76685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76686 Replace gettimeofday with __vdso_gettimeofday.
76687
76688 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76689 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76690 __vdso_clock_gettime and __vdso_getcpu.
76691
76692 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76693 time with __vdso_time.
76694
76695 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76696
76697 * manual/lang.texi (size_t): Note types to which size_t may be
76698 equivalent with the GNU C Library, but do not describe when
76699 differences between them are significant.
76700
76701 2012-03-05 Andreas Jaeger <aj@suse.de>
76702
76703 * sysdeps/i386/fpu/libm-test-ulps: Update.
76704
76705 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76706
76707 [BZ #3976]
76708 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76709 (__ieee754_pow): Save and restore rounding mode and use
76710 round-to-nearest for main computations.
76711 * math/libm-test.inc (pow_test_tonearest): New function.
76712 (pow_test_towardzero): Likewise.
76713 (pow_test_downward): Likewise.
76714 (pow_test_upward): Likewise.
76715 (main): Call the new functions.
76716 * sysdeps/i386/fpu/libm-test-ulps: Update.
76717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76718
76719 [BZ #3976]
76720 * math/libm-test.inc (cosh_test_tonearest): New function.
76721 (cosh_test_towardzero): Likewise.
76722 (cosh_test_downward): Likewise.
76723 (cosh_test_upward): Likewise.
76724 (sinh_test_tonearest): Likewise.
76725 (sinh_test_towardzero): Likewise.
76726 (sinh_test_downward): Likewise.
76727 (sinh_test_upward): Likewise.
76728 (main): Call the new functions.
76729 * sysdeps/i386/fpu/libm-test-ulps: Update.
76730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76731
76732 2012-03-05 Tom de Vries <tom@codesourcery.com>
76733
76734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76735 default stack guard is set in last bytes.
76736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76737
76738 2012-03-05 Kees Cook <keescook@chromium.org>
76739
76740 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76741
76742 [BZ #13656]
76743 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76744 possibly allocate from heap instead of stack.
76745 * stdio-common/bug-vfprintf-nargs.c: New file.
76746 * stdio-common/Makefile (tests): Add nargs overflow test.
76747
76748 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76749
76750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76751
76752 2012-03-03 Marek Polacek <polacek@redhat.com>
76753
76754 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76755 * math/math_private.h: Likewise.
76756 * stdlib/tst-strtod.c: Likewise.
76757 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76758 * sysdeps/x86_64/bits/atomic.h: Likewise.
76759
76760 2012-03-02 David S. Miller <davem@davemloft.net>
76761
76762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76766 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76767 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76768 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76769 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76770
76771 2012-03-02 Roland McGrath <roland@hack.frob.com>
76772
76773 [BZ #13792]
76774 * manual/examples/README: New file, says the example source files
76775 can be used under GPL>=2.
76776 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76777 line containing just "*/".
76778 * manual/examples/add.c: Add copyright header (GPL>=2).
76779 * manual/examples/argp-ex1.c: Likewise.
76780 * manual/examples/argp-ex2.c: Likewise.
76781 * manual/examples/argp-ex3.c: Likewise.
76782 * manual/examples/argp-ex4.c: Likewise.
76783 * manual/examples/atexit.c: Likewise.
76784 * manual/examples/db.c: Likewise.
76785 * manual/examples/dir.c: Likewise.
76786 * manual/examples/dir2.c: Likewise.
76787 * manual/examples/execinfo.c: Likewise.
76788 * manual/examples/filecli.c: Likewise.
76789 * manual/examples/filesrv.c: Likewise.
76790 * manual/examples/fmtmsgexpl.c: Likewise.
76791 * manual/examples/genpass.c: Likewise.
76792 * manual/examples/inetcli.c: Likewise.
76793 * manual/examples/inetsrv.c: Likewise.
76794 * manual/examples/isockad.c: Likewise.
76795 * manual/examples/longopt.c: Likewise.
76796 * manual/examples/memopen.c: Likewise.
76797 * manual/examples/memstrm.c: Likewise.
76798 * manual/examples/mkfsock.c: Likewise.
76799 * manual/examples/mkisock.c: Likewise.
76800 * manual/examples/mygetpass.c: Likewise.
76801 * manual/examples/pipe.c: Likewise.
76802 * manual/examples/popen.c: Likewise.
76803 * manual/examples/rprintf.c: Likewise.
76804 * manual/examples/search.c: Likewise.
76805 * manual/examples/select.c: Likewise.
76806 * manual/examples/setjmp.c: Likewise.
76807 * manual/examples/sigh1.c: Likewise.
76808 * manual/examples/sigusr.c: Likewise.
76809 * manual/examples/stpcpy.c: Likewise.
76810 * manual/examples/strdupa.c: Likewise.
76811 * manual/examples/strftim.c: Likewise.
76812 * manual/examples/strncat.c: Likewise.
76813 * manual/examples/subopt.c: Likewise.
76814 * manual/examples/swapcontext.c: Likewise.
76815 * manual/examples/termios.c: Likewise.
76816 * manual/examples/testopt.c: Likewise.
76817 * manual/examples/testpass.c: Likewise.
76818 * manual/examples/timeval_subtract.c: Likewise.
76819
76820 [BZ #13792]
76821 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76822 function to ...
76823 * manual/timeval_subtract.c.texi: ... here, new file.
76824
76825 2012-03-02 David S. Miller <davem@davemloft.net>
76826
76827 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76828
76829 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76830
76831 [BZ #3976]
76832 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76833 (__sin): Save and restore rounding mode and use round-to-nearest
76834 for all computations.
76835 (__cos): Save and restore rounding mode and use round-to-nearest
76836 for all computations.
76837 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76838 <fenv.h>.
76839 (tan): Save and restore rounding mode and use round-to-nearest for
76840 all computations.
76841 * math/libm-test.inc (cos_test_tonearest): New function.
76842 (cos_test_towardzero): Likewise.
76843 (cos_test_downward): Likewise.
76844 (cos_test_upward): Likewise.
76845 (sin_test_tonearest): Likewise.
76846 (sin_test_towardzero): Likewise.
76847 (sin_test_downward): Likewise.
76848 (sin_test_upward): Likewise.
76849 (tan_test_tonearest): Likewise.
76850 (tan_test_towardzero): Likewise.
76851 (tan_test_downward): Likewise.
76852 (tan_test_upward): Likewise.
76853 (main): Call the new functions.
76854 * sysdeps/i386/fpu/libm-test-ulps: Update.
76855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76856
76857 [BZ #10135]
76858 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76859 small n, then large n, before computing and testing k+n.
76860 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76862 Likewise.
76863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76864 Likewise.
76865 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76866 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76869 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76870 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76873 * math/libm-test.inc (scalbn_test): Add more tests.
76874 (scalbln_test): Likewise.
76875
76876 * manual/filesys.texi (mode_t): Describe constraints on size and
76877 signedness, not exact equivalence to a particular type.
76878 (ino_t): Likewise.
76879 (ino64_t): Likewise.
76880 (dev_t): Likewise.
76881 (nlink_t): Likewise.
76882 (blkcnt_t): Likewise.
76883 (blkcnt64_t): Likewise.
76884 * manual/llio.texi (off_t): Likewise.
76885
76886 [BZ #3976]
76887 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76888 (__ieee754_exp): Save and restore rounding mode and use
76889 round-to-nearest for all computations.
76890 * math/libm-test.inc (exp_test_tonearest): New function.
76891 (exp_test_towardzero): Likewise.
76892 (exp_test_downward): Likewise.
76893 (exp_test_upward): Likewise.
76894 (main): Call the new functions.
76895 * sysdeps/i386/fpu/libm-test-ulps: Update.
76896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76897
76898 2012-03-01 Chris Demetriou <cgd@google.com>
76899
76900 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76901 have predictable order.
76902
76903 2012-03-01 David S. Miller <davem@davemloft.net>
76904
76905 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76906
76907 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76908 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76909 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76910 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76911
76912 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76913 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76914 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76916 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76917 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76918 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76919 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76920 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76921
76922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76923
76924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76925 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76927
76928 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76929 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76930 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76931 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76932 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76936 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76937 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76938 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76944 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76945 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76946 * sysdeps/sparc/elf/configure: Regenerated.
76947
76948 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76949
76950 * configure.in (AS, LD): Require binutils 2.20 or later.
76951 * configure: Regenerated.
76952 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76953 as required minimum version.
76954 * INSTALL: Regenerated.
76955
76956 [BZ #2541]
76957 [BZ #4108]
76958 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76959 before squaring exponent.
76960 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76961 bottom long double and 27 bits of top long double before squaring
76962 exponent.
76963 * math/libm-test.inc (erfc_test): Add more tests.
76964 * sysdeps/i386/fpu/libm-test-ulps: Update.
76965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76967
76968 2012-03-01 Kai Tietz <ktietz@redhat.com>
76969
76970 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76971 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76972 containing bit-fields.
76973 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76974 * soft-fp/single.h (_FP_UNION_S): Likewise.
76975 * soft-fp/double.h (_FP_UNION_D): Likewise.
76976
76977 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76978
76979 [BZ #13786]
76980 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76981 not include ../strcmp.S.
76982 [USE_AS_STRNCASECMP_L]: Likewise.
76983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76984 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76985 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76986 (__strncasecmp_l_ia32): Define as alias to
76987 __strncasecmp_l_nonascii.
76988
76989 [BZ #5794]
76990 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76991 * sysdeps/i386/fpu/libm-test-ulps: Update.
76992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76993
76994 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76996
76997 2012-02-29 Jeff Law <law@redhat.com>
76998
76999 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77000 out of bounds read.
77001
77002 2012-02-29 Marek Polacek <polacek@redhat.com>
77003
77004 [BZ #13706]
77005 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77006 * elf/Makefile: Add rules to run tst-unused-dep.out.
77007
77008 2012-02-28 David S. Miller <davem@davemloft.net>
77009
77010 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77011 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77014 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77015 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77016
77017 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77018
77019 * math/libm-test.inc (llround_test): Move one test from
77020 lround_test. Use TEST_f_L in moved test.
77021 (lround_test): Move misplaced test to llround_test. Add testcase
77022 from bug 2561.
77023
77024 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77025
77026 * sysdeps/x86_64/fpu/e_expf.S: New file.
77027 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77028
77029 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77030
77031 [BZ #13637]
77032 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77033 of remain_len that may cause incomplete multi-byte character and
77034 false match.
77035 * posix/bug-regex33.c: New file.
77036 * posix/Makefile (tests): Add bug-regex33.
77037
77038 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77039
77040 * manual/macros.texi: New file.
77041 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77042 * manual/libc.texinfo: Include macros.texi.
77043 * manual/creatute.texi: Likewise.
77044 * manual/install.texi: Likewise.
77045 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77046 @glibcadj{} in references to the GNU C Library.
77047 * manual/charset.texi: Likewise.
77048 * manual/conf.texi: Likewise.
77049 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77050 when not using those macros.
77051 * manual/creature.texi: Likewise.
77052 * manual/crypt.texi: Likewise.
77053 * manual/errno.texi: Likewise.
77054 * manual/filesys.texi: Likewise.
77055 * manual/header.texi: Likewise.
77056 * manual/install.texi: Likewise.
77057 * manual/intro.texi: Likewise.
77058 * manual/io.texi: Likewise.
77059 * manual/job.texi: Likewise.
77060 * manual/lang.texi: Likewise.
77061 * manual/libc.texiinfo: Likewise.
77062 * manual/llio.texi: Likewise.
77063 * manual/locale.texi: Likewise.
77064 * manual/maint.texi: Likewise.
77065 * manual/math.texi: Likewise.
77066 * manual/memory.texi: Likewise.
77067 * manual/message.texi: Likewise.
77068 * manual/nss.texi: Likewise.
77069 * manual/pattern.texi: Likewise.
77070 * manual/process.texi: Likewise.
77071 * manual/resource.texi: Likewise.
77072 * manual/search.texi: Likewise.
77073 * manual/setjmp.texi: Likewise.
77074 * manual/signal.texi: Likewise.
77075 * manual/socket.texi: Likewise.
77076 * manual/startup.texi: Likewise.
77077 * manual/stdio.texi: Likewise.
77078 * manual/string.texi: Likewise.
77079 * manual/sysinfo.texi: Likewise.
77080 * manual/syslog.texi: Likewise.
77081 * manual/terminal.texi: Likewise.
77082 * manual/time.texi: Likewise.
77083 * manual/users.texi: Likewise.
77084 * INSTALL: Regenerated.
77085 * NOTES: Regenerated.
77086 * sysdeps/gnu/errlist.c: Regenerated.
77087
77088 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77089
77090 * include/dirent.h: Include <dirstream.h> before
77091 <dirent/dirent.h>.
77092
77093 2012-02-28 David S. Miller <davem@davemloft.net>
77094
77095 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77096 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77097 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77098 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77099
77100 2012-02-27 David S. Miller <davem@davemloft.net>
77101
77102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77104 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77105 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77106
77107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77108 frame pointer instead of stack pointer relative arg slot.
77109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77110 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77111 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77112
77113 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77114
77115 [BZ #3992]
77116 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77117
77118 2012-02-27 David S. Miller <davem@davemloft.net>
77119
77120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77126 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77127 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77128
77129 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77130
77131 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77132 later. Allow versions 5-9.
77133 * configure: Regenerated.
77134 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77135 required minimum version and 4.6 as recommended version. Do not
77136 mention bugs in GCC 2.7 and 2.8.
77137 * INSTALL: Regenerated.
77138
77139 2012-02-27 David S. Miller <davem@davemloft.net>
77140
77141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77147 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77148 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77149
77150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77151 manipulate bits before adding and subtracting TWO112[sx].
77152 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77153
77154 2012-02-27 Roland McGrath <roland@hack.frob.com>
77155
77156 [BZ #13775]
77157 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77158 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77159 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77160 being in POSIX, because they are in 1003.1-2008.
77161
77162 * rt/tst-aio.c: Include <fcntl.h>.
77163 * rt/tst-aio7.c: Likewise.
77164 * rt/tst-aio64.c: Likewise.
77165
77166 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77167
77168 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77169
77170 * manual/install.texi (--with-headers): Describe headers as
77171 interface headers, not private headers.
77172 (Specific advice for GNU/Linux systems): Describe use of headers
77173 from "make headers_install", not private headers from older
77174 kernels.
77175 * INSTALL: Regenerated.
77176 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77177 Change to 2.6.19.
77178 * sysdeps/unix/sysv/linux/configure: Regenerated.
77179
77180 * manual/llio.texi (fclean): Remove documentation.
77181
77182 * manual/Makefile (libc-texi-generated): New variable. Include
77183 version.texi.
77184 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77185 $(libc-texi-generated), not duplicated list of files.
77186 (version.texi, stamp-version): New rules.
77187 (realclean): Remove $(libc-texi-generated), not individual files
77188 from that list. Do not remove dir-add.texinfo.
77189 * manual/libc.texinfo: Comment out uses of edition numbers and
77190 references to printed manual. Remove last-updated dates.
77191 (EDITION): Comment out.
77192 (ISBN): Likewise.
77193 (VERSION, UPDATED): Remove.
77194 (version.texi): Include.
77195
77196 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77197
77198 * sysdeps/posix/spawni.c: Include <signal.h>.
77199 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77200 * sysdeps/pthread/aio_fsync.c: Likewise.
77201
77202 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77203
77204 * conform/Makefile (tests): Run only when not cross-compiling and
77205 when fast-check is not defined.
77206
77207 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77208 * conform/data/limits.h-data: Fixes for POSIX2008.
77209 * conform/run-conformtest.sh: Run all tests.
77210 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77211 headers.
77212 * include/bits/dlfcn.h: Likewise.
77213 * include/langinfo.h: Likewise.
77214 * include/monetary.h: Likewise.
77215 * include/sys/poll.h: Likewise.
77216
77217 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77218 for __USE_GNU.
77219 * posix/spawn.h: Define __need_sigset_t.
77220 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77221 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77222 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77223 to get sigevent_t only.
77224 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77225 only for __USE_GNU.
77226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77227 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77228 process_vm_writev only for __USE_GNU.
77229 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77230
77231 * conform/Makefile: For now ignore errors from run-conformtest.
77232 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77233 POSIX to avoid namespace pollution. Don't prepend headers.
77234 * conform/data/aio.h-data: Fixes for POSIX testing.
77235 * conform/data/fcntl.h-data: Likewise.
77236 * conform/data/glob.h-data: Likewise.
77237 * conform/data/grp.h-data: Likewise.
77238 * conform/data/pthread.h-data: Likewise.
77239 * conform/data/pwd.h-data: Likewise.
77240 * conform/data/signal.h-data: Likewise.
77241 * conform/data/spawn.h-data: Likewise.
77242 * conform/data/stdio.h-data: Likewise.
77243 * conform/data/stdlib.h-data: Likewise.
77244 * conform/data/stropts.h-data: Likewise.
77245 * conform/data/sys/mman.h-data: Likewise.
77246 * conform/data/sys/stat.h-data: Likewise.
77247 * conform/data/sys/types.h-data: Likewise.
77248 * conform/data/sys/wait.h-data: Likewise.
77249 * conform/data/time.h-data: Likewise.
77250 * conform/data/unistd.h-data: Likewise.
77251 * conform/data/utime.h-data: Likewise.
77252
77253 * io/sys/stat.h: fchmod was always in POSIX.
77254 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77255 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77256 * rt/aio.h: Define __need_timespec before including <time.h>.
77257 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77258 struct. Add forward declaration of pthread_attr_t and use it in
77259 sigevent.
77260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77262 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77263 always remove CLK_TCK definition.
77264
77265 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77266
77267 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77268
77269 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77270
77271 * conform/run-conformtest.sh: New file.
77272 * conform/Makefile: Run run-conformtest for tests.
77273 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77274 support.
77275
77276 * conform/data/uchar.h-data: New file.
77277 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77278 * conform/data/arpa/inet.h-data: Likewise.
77279 * conform/data/assert.h-data: Likewise.
77280 * conform/data/complex.h-data: Likewise.
77281 * conform/data/cpio.h-data: Likewise.
77282 * conform/data/ctype.h-data: Likewise.
77283 * conform/data/dirent.h-data: Likewise.
77284 * conform/data/dlfcn.h-data: Likewise.
77285 * conform/data/errno.h-data: Likewise.
77286 * conform/data/fcntl.h-data: Likewise.
77287 * conform/data/float.h-data: Likewise.
77288 * conform/data/fmtmsg.h-data: Likewise.
77289 * conform/data/fnmatch.h-data: Likewise.
77290 * conform/data/ftw.h-data: Likewise.
77291 * conform/data/glob.h-data: Likewise.
77292 * conform/data/grp.h-data: Likewise.
77293 * conform/data/iconv.h-data: Likewise.
77294 * conform/data/inttypes.h-data: Likewise.
77295 * conform/data/langinfo.h-data: Likewise.
77296 * conform/data/libgen.h-data: Likewise.
77297 * conform/data/limits.h-data: Likewise.
77298 * conform/data/locale.h-data: Likewise.
77299 * conform/data/math.h-data: Likewise.
77300 * conform/data/monetary.h-data: Likewise.
77301 * conform/data/mqueue.h-data: Likewise.
77302 * conform/data/ndbm.h-data: Likewise.
77303 * conform/data/net/if.h-data: Likewise.
77304 * conform/data/netdb.h-data: Likewise.
77305 * conform/data/netinet/in.h-data: Likewise.
77306 * conform/data/nl_types.h-data: Likewise.
77307 * conform/data/poll.h-data: Likewise.
77308 * conform/data/pthread.h-data: Likewise.
77309 * conform/data/pwd.h-data: Likewise.
77310 * conform/data/regex.h-data: Likewise.
77311 * conform/data/sched.h-data: Likewise.
77312 * conform/data/search.h-data: Likewise.
77313 * conform/data/semaphore.h-data: Likewise.
77314 * conform/data/setjmp.h-data: Likewise.
77315 * conform/data/signal.h-data: Likewise.
77316 * conform/data/spawn.h-data: Likewise.
77317 * conform/data/stdarg.h-data: Likewise.
77318 * conform/data/stdio.h-data: Likewise.
77319 * conform/data/stdlib.h-data: Likewise.
77320 * conform/data/string.h-data: Likewise.
77321 * conform/data/strings.h-data: Likewise.
77322 * conform/data/stropts.h-data: Likewise.
77323 * conform/data/sys/ipc.h-data: Likewise.
77324 * conform/data/sys/mman.h-data: Likewise.
77325 * conform/data/sys/msg.h-data: Likewise.
77326 * conform/data/sys/resource.h-data: Likewise.
77327 * conform/data/sys/select.h-data: Likewise.
77328 * conform/data/sys/sem.h-data: Likewise.
77329 * conform/data/sys/shm.h-data: Likewise.
77330 * conform/data/sys/socket.h-data: Likewise.
77331 * conform/data/sys/stat.h-data: Likewise.
77332 * conform/data/sys/statvfs.h-data: Likewise.
77333 * conform/data/sys/time.h-data: Likewise.
77334 * conform/data/sys/timeb.h-data: Likewise.
77335 * conform/data/sys/times.h-data: Likewise.
77336 * conform/data/sys/types.h-data: Likewise.
77337 * conform/data/sys/uio.h-data: Likewise.
77338 * conform/data/sys/un.h-data: Likewise.
77339 * conform/data/sys/utsname.h-data: Likewise.
77340 * conform/data/sys/wait.h-data: Likewise.
77341 * conform/data/syslog.h-data: Likewise.
77342 * conform/data/tar.h-data: Likewise.
77343 * conform/data/termios.h-data: Likewise.
77344 * conform/data/utime.h-data: Likewise.
77345 * conform/data/utmpx.h-data: Likewise.
77346 * conform/data/varargs.h-data: Likewise.
77347 * conform/data/wchar.h-data: Likewise.
77348 * conform/data/wctype.h-data: Likewise.
77349 * conform/data/wordexp.h-data: Likewise.
77350
77351 * include/stropts.h: New file.
77352 * include/uchar.h: New file.
77353 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77354 * include/assert.h: Likewise.
77355 * include/ctype.h: Likewise.
77356 * include/dirent.h: Likewise.
77357 * include/dlfcn.h: Likewise.
77358 * include/fcntl.h: Likewise.
77359 * include/fnmatch.h: Likewise.
77360 * include/glob.h: Likewise.
77361 * include/grp.h: Likewise.
77362 * include/libio.h: Likewise.
77363 * include/locale.h: Likewise.
77364 * include/math.h: Likewise.
77365 * include/net/if.h: Likewise.
77366 * include/netdb.h: Likewise.
77367 * include/netinet/in.h: Likewise.
77368 * include/pthread.h: Likewise.
77369 * include/pwd.h: Likewise.
77370 * include/regex.h: Likewise.
77371 * include/sched.h: Likewise.
77372 * include/search.h: Likewise.
77373 * include/setjmp.h: Likewise.
77374 * include/signal.h: Likewise.
77375 * include/stdio.h: Likewise.
77376 * include/stdlib.h: Likewise.
77377 * include/string.h: Likewise.
77378 * include/sys/cdefs.h: Likewise.
77379 * include/sys/mman.h: Likewise.
77380 * include/sys/msg.h: Likewise.
77381 * include/sys/resource.h: Likewise.
77382 * include/sys/select.h: Likewise.
77383 * include/sys/socket.h: Likewise.
77384 * include/sys/stat.h: Likewise.
77385 * include/sys/statvfs.h: Likewise.
77386 * include/sys/time.h: Likewise.
77387 * include/sys/times.h: Likewise.
77388 * include/sys/uio.h: Likewise.
77389 * include/sys/utsname.h: Likewise.
77390 * include/sys/wait.h: Likewise.
77391 * include/termios.h: Likewise.
77392 * include/time.h: Likewise.
77393 * include/ulimit.h: Likewise.
77394 * include/unistd.h: Likewise.
77395 * include/utime.h: Likewise.
77396 * include/wchar.h: Likewise.
77397 * include/wctype.h: Likewise.
77398 * include/wordexp.h: Likewise.
77399
77400 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77401
77402 * time/time.h: TIME_UTC must be a macro.
77403 Make timespec_get available for ISO C11 only as well.
77404
77405 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77406
77407 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77408 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77409
77410 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77411
77412 * configure.in: Use -o not -a in test for unsupported multi-arch.
77413
77414 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77415
77416 * manual/texinfo.tex: Update to version 2012-01-19.16.
77417
77418 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77419
77420 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77421
77422 2012-02-24 Roland McGrath <roland@hack.frob.com>
77423
77424 [BZ #13738]
77425 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77426 * manual/fdl-1.3.texi: New file.
77427 * manual/fdl-1.1.texi: File removed.
77428
77429 [BZ #13738]
77430 * manual/libc.texinfo (FDL_VERSION): New @set.
77431 Use it for mention of FDL in cover text.
77432 (Documentation License): Use it in @include file name.
77433
77434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77435 Roland McGrath <roland@hack.frob.com>
77436
77437 [BZ #5461]
77438 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77439 (not LONG_LONG_MAX and LONG_LONG_MIN.
77440 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77441 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77442 name.
77443 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77444
77445 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77446
77447 [BZ #2547]
77448 [BZ #11365]
77449 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77450 manipulate bits before adding and subtracting TWO23[sx].
77451 * math/libm-test.inc (nearbyint_test): Add more tests.
77452
77453 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77454
77455 [BZ #2548]
77456 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77457 bits before adding and subtracting TWO23[sx].
77458 * math/libm-test.inc (rint_test): Add more tests.
77459 (rint_test_tonearest): Likewise.
77460 (rint_test_towardzero): Likewise.
77461 (rint_test_downward): Likewise.
77462 (rint_test_upward: Likewise.
77463
77464 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77465
77466 [BZ #10110]
77467 * include/stdc-predef.h: New file. Extracted from features.h.
77468 * include/features.h: Include stdc-predef.h.
77469 * Makefile (headers): Add stdc-predef.h.
77470 * CONFORMANCE (Compiler limitations): Update.
77471
77472 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77473
77474 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77475
77476 2012-02-21 David S. Miller <davem@davemloft.net>
77477
77478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77480
77481 2012-02-20 David S. Miller <davem@davemloft.net>
77482
77483 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77484 using a normal save/restore sequence, rather than allocating a
77485 dummy stack frame just to store a frame pointer and restore.
77486 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77487
77488 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77489
77490 * manual/install.texi: Fix stray word in line-wrapped comment.
77491
77492 2012-02-20 David S. Miller <davem@davemloft.net>
77493
77494 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77495 both binutils and gcc support GOTDATA.
77496
77497 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77498 "rd %pc" in the PIC register setup sequences.
77499
77500 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77501 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77502 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77503 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77504 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77506 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77507 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77509 (SYSCALL_ERROR_HANDLER): Likewise.
77510 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77511 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77513 (SYSCALL_ERROR_HANDLER): Likewise.
77514
77515 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77516 (HAVE_GCC_GOTDATA): New.
77517 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77518 relocation support in both binutils and gcc.
77519 * sysdeps/sparc/elf/configure: Regenerate.
77520
77521 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77522 * sysdeps/sparc/sparc32/elf/configure: Delete.
77523 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77524 * sysdeps/sparc/sparc64/elf/configure: Delete.
77525 * sysdeps/sparc/elf/configure.in: New file.
77526 * sysdeps/sparc/elf/configure: Generate.
77527
77528 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77529 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77530 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77531 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77532 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77533
77534 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77535
77536 * manual/install.texi: Do not mention specific glibc version
77537 numbers.
77538 * manual/libc.texinfo (VERSION, UPDATED): Update.
77539 (@copying): Use @copyright{} and range of years.
77540
77541 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77542
77543 [BZ #13695]
77544 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77545 [crti.S not in sysdirs] (generated): Do not append.
77546 [crti.S not in sysdirs] (omit-deps): Likewise.
77547 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77548 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77549 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77550 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77551 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77552 Likewise.
77553 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77554 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77555 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77556 * csu/defs.awk: Remove file.
77557 * sysdeps/generic/initfini.c: Likewise.
77558 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77559 variable.
77560 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77561 Likewise.
77562
77563 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77564
77565 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77566 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77570 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77571 <bits/epoll.h>.
77572 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77573 (__EPOLL_PACKED): Define to empty if not defined by
77574 <bits/epoll.h>.
77575 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77577 bits/epoll.h.
77578
77579 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77580
77581 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77582 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77583 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77584 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77585 <bits/timerfd.h>.
77586 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77588 bits/timerfd.h.
77589
77590 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77591
77592 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77593 in C locale.
77594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77595 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77598
77599 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77600
77601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77602 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77603
77604 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77605
77606 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77607 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77608 defined.
77609 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77610 Likewise.
77611 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77612 entry for 2.16.
77613
77614 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77615
77616 * math/w_acos.c: Use non-signaling floating-point comparisons.
77617 * math/w_acosf.c: Likewise.
77618 * math/w_acosh.c: Likewise.
77619 * math/w_acoshf.c: Likewise.
77620 * math/w_acoshl.c: Likewise.
77621 * math/w_acosl.c: Likewise.
77622 * math/w_asin.c: Likewise.
77623 * math/w_asinf.c: Likewise.
77624 * math/w_asinl.c: Likewise.
77625 * math/w_atanh.c: Likewise.
77626 * math/w_atanhf.c: Likewise.
77627 * math/w_atanhl.c: Likewise.
77628 * math/w_exp2.c: Likewise.
77629 * math/w_exp2f.c: Likewise.
77630 * math/w_exp2l.c: Likewise.
77631 * math/w_j0.c: Likewise.
77632 * math/w_j0f.c: Likewise.
77633 * math/w_j0l.c: Likewise.
77634 * math/w_j1.c: Likewise.
77635 * math/w_j1f.c: Likewise.
77636 * math/w_j1l.c: Likewise.
77637 * math/w_jn.c: Likewise.
77638 * math/w_jnf.c: Likewise.
77639 * math/w_log.c: Likewise.
77640 * math/w_log10.c: Likewise.
77641 * math/w_log10f.c: Likewise.
77642 * math/w_log10l.c: Likewise.
77643 * math/w_log2.c: Likewise.
77644 * math/w_log2f.c: Likewise.
77645 * math/w_log2l.c: Likewise.
77646 * math/w_logf.c: Likewise.
77647 * math/w_logl.c: Likewise.
77648 * math/w_sqrt.c: Likewise.
77649 * math/w_sqrtf.c: Likewise.
77650 * math/w_sqrtl.c: Likewise.
77651 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77652 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77654 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77655 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77656
77657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77658
77659 [BZ #9739]
77660 * manual/string.texi (strnlen): Use correct parameter name in
77661 equivalent expression.
77662
77663 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77664
77665 [BZ #11174]
77666 * manual/users.texi (seteuid): Consistently use neweuid for
77667 argument name.
77668
77669 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77670
77671 [BZ #13704]
77672 * manual/nss.texi (Services in the NSS configuration): Correct
77673 list of services in example configuration file.
77674
77675 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77676
77677 [BZ #11322]
77678 * manual/arith.texi: Remove statements about negative zero
77679 behaving identically to zero.
77680
77681 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77682
77683 [BZ #5993]
77684 * manual/install.texi: Do not document upgrading from libc5.
77685
77686 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77687
77688 [BZ #4596]
77689 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77690
77691 2012-02-18 David S. Miller <davem@davemloft.net>
77692
77693 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77694 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77695 %o7 across the call.
77696 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77697 instead.
77698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77699 SETUP_PIC_REG_LEAF.
77700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77701 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77702 * sysdeps/sparc/crtn.S: Likewise.
77703
77704 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77705
77706 * aout/Makefile: Remove.
77707
77708 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77709
77710 [BZ #13058]
77711 * manual/examples/argp-ex1.c (main): Format definition in GNU
77712 style.
77713 * manual/examples/argp-ex2.c (main): Likewise.
77714 * manual/examples/argp-ex3.c (main): Likewise.
77715 * manual/examples/argp-ex4.c (main): Likewise.
77716 * manual/examples/longopt.c (main): Use new-style prototype
77717 definition.
77718 * manual/examples/strncat.c (main): Specify return type and use
77719 (void) for arguments.
77720 * manual/examples/subopt.c (main): Use char **argv argument.
77721
77722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77723
77724 [BZ #5077]
77725 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77726 rounding modes.
77727
77728 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77729
77730 [BZ #6907]
77731 * manual/string.texi (strchr): Change when strchrnul is
77732 recommended.
77733
77734 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77735
77736 [BZ #174]
77737 * manual/locale.texi (setlocale): Document LOCPATH.
77738
77739 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77740
77741 [BZ #10210]
77742 * manual/process.texi (execle): Move @dots{} before last argument.
77743
77744 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77745
77746 [BZ #12047]
77747 * manual/charset.texi (Generic Charset Conversion): Fix typo
77748 (LC_TYPE -> LC_CTYPE).
77749
77750 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77751
77752 [BZ #5805]
77753 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77754 (scalbnf): Likewise.
77755 (scalbnl): Likewise.
77756 (scalbln): Likewise.
77757 (scalblnf): Likewise.
77758 (scalblnl): Likewise.
77759 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77760 (vwarnx): Likewise.
77761 (verr): Likewise.
77762 (verrx): Likewise.
77763 * manual/filesys.texi (telldir): Use braces around return type.
77764 * manual/llio.texi (mmap): Add space after comma.
77765 (mmap64): Likewise.
77766 * manual/math.texi (jn): Use @var{} on parameter names.
77767 (jnf): Likewise.
77768 (jnl): Likewise.
77769 (yn): Likewise.
77770 (ynf): Likewise.
77771 (ynl): Likewise.
77772 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77773 line.
77774 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77775 "...".
77776 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77777 (sched_get_priority_max): Likewise.
77778 * manual/signal.texi (sigvec): Add space after comma.
77779 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77780 names.
77781 (if_indextoname): Likewise.
77782 (if_freenameindex): Likewise.
77783 (sendto): Use ',' instead of '.' in prototype.
77784 * manual/startup.texi (syscall): Use @dots{} instead of literal
77785 "...".
77786 * manual/stdio.texi (__fpending): Separate initial words of
77787 paragraph from @deftypefun line.
77788 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77789 "...".
77790 (vsyslog): Use @var{} on parameter names.
77791 * manual/terminal.texi (stty): Use @var{} on parameter names.
77792 * manual/users.texi (getutmp): Use @var{} on parameter names.
77793 (getutmpx): Likewise.
77794
77795 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77796
77797 [BZ #6884]
77798 * manual/stdio.texi (fopen): Fix typos in description of
77799 ",ccs=STRING".
77800
77801 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77802
77803 [BZ #4026]
77804 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77805 get clock_id definition.
77806
77807 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77808
77809 [BZ #4822]
77810 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77811 (madvise): Cast every argument to void on its own.
77812
77813 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77814
77815 [BZ #9902]
77816 * manual/startup.texi (Exit Status): Fix typo.
77817
77818 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77819
77820 [BZ #10140]
77821 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77822 * manual/examples/argp-ex2.c: Likewise.
77823 * manual/examples/argp-ex3.c: Likewise.
77824
77825 2012-02-16 Richard Henderson <rth@redhat.com>
77826
77827 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77828 * sysdeps/s390/s390-32/initfini.c: Remove.
77829 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77830 * sysdeps/s390/s390-64/initfini.c: Remove.
77831
77832 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77833
77834 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77835 compiler output for sysdeps/generic/initfini.c.
77836 * sysdeps/sh/elf/initfini.c: Remove file.
77837
77838 2012-02-16 David S. Miller <davem@davemloft.net>
77839
77840 [BZ #11494]
77841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77842
77843 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77844 * sysdeps/sparc/crti.S: New file.
77845 * sysdeps/sparc/crtn.S: New file.
77846 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77847 * sysdeps/sparc/sparc64/Makefile: Likewise.
77848
77849 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77850
77851 [BZ #3335]
77852 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77853
77854 2012-02-15 Roland McGrath <roland@hack.frob.com>
77855
77856 [BZ #4822]
77857 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77858
77859 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77860 (write, read, close): Likewise.
77861 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77862
77863 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77864
77865 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77866 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77867 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77868 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77869 <bits/signalfd.h>.
77870 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77872 bits/signalfd.h.
77873
77874 2012-02-14 Marek Polacek <polacek@redhat.com>
77875
77876 * sysdeps/x86_64/crti.S: New file.
77877 * sysdeps/x86_64/crtn.S: New file.
77878 * sysdeps/x86_64/elf/initfini.c: Remove file.
77879
77880 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77881
77882 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77883 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77884 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77885 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77886 <bits/inotify.h>.
77887 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77889 bits/inotify.h.
77890
77891 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77892
77893 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77894 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77895 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77896 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77897 <bits/eventfd.h>.
77898 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77900 bits/eventfd.h.
77901
77902 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77903
77904 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77905 __feraiseexcept instead of feraiseexcept.
77906
77907 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77908 nanosleep invocations.
77909 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77910 strings, and add error checking for a nanosleep invocations.
77911
77912 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77913
77914 Replace FSF snail mail address with URLs, as per GNU coding standards.
77915 Most of the snail mail addresses were wrong anyway, and omitting
77916 them makes the source code easier to maintain. Almost all of the
77917 changes are to license notices and to locale LC_IDENTIFICATION
77918 addresses, except for this one:
77919 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77920 not its snail mail address.
77921
77922 2012-02-09 Richard Henderson <rth@twiddle.net>
77923
77924 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77925 of kernel-features.h.
77926
77927 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77928
77929 2012-02-08 Marek Polacek <polacek@redhat.com>
77930
77931 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77932 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77933 * sysdeps/gnu/_G_config.h: Likewise.
77934 * sysdeps/generic/_G_config.h: Likewise.
77935
77936 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77937
77938 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77939 tests.
77940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77941
77942 * sysdeps/powerpc/powerpc32/crti.S: New file.
77943 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77944 * sysdeps/powerpc/powerpc64/crti.S: New file.
77945 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77946
77947 * Makeconfig (have-initfini): Don't set.
77948 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77949 * configure.in (nopic_initfini): Don't substitute.
77950 * config.h.in (HAVE_INITFINI): Don't #undef.
77951 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77952 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77953
77954 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77955
77956 Support crti.S and crtn.S provided directly by architectures.
77957 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77958 [crti.S in sysdirs] (omit-deps): Likewise.
77959 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77960 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77961 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77962 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77963 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77964 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77965 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77966 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77967 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77968 compiler output for sysdeps/generic/initfini.c.
77969 * sysdeps/i386/elf/Makefile: Remove file.
77970 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77971
77972 2012-02-07 Marek Polacek <polacek@redhat.com>
77973
77974 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77975 * sysdeps/gnu/_G_config.h: Likewise.
77976 * sysdeps/mach/hurd/_G_config.h: Likewise.
77977
77978 2012-02-07 Marek Polacek <polacek@redhat.com>
77979
77980 * math/Makefile (tests): Add tst-CMPLX2.
77981 * math/tst-CMPLX2.c: New file.
77982
77983 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77984
77985 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77986
77987 * math/libm-test.inc (jn_test): Add missing L suffix.
77988
77989 2012-02-06 Marek Polacek <polacek@redhat.com>
77990
77991 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77992 * sysdeps/i386/fpu/e_powf.S: Likewise.
77993 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77994 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77995 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77996 * sysdeps/i386/fpu/e_pow.S: Likewise.
77997 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77998 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77999 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78000 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78001 * sysdeps/i386/fpu/e_log2.S: Likewise.
78002 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78003 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78004 * sysdeps/i386/fpu/e_powl.S: Likewise.
78005 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78006 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78007 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78008 * sysdeps/i386/fpu/e_logl.S: Likewise.
78009 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78010 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78011 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78012 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78013 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78015 * sysdeps/i386/fpu/e_log.S: Likewise.
78016 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78017 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78018 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78019 * sysdeps/i386/fpu/e_logf.S: Likewise.
78020 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78021 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78022 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78023 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78024 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78025 * sysdeps/i386/fpu/e_log10.S: Likewise.
78026 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78027 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78028 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78029 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78030 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78031 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78032 * sysdeps/i386/asm-syntax.h: Likewise.
78033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78034 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78036 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78037 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78038 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78039 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78040 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78041 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78042 * sysdeps/powerpc/sysdep.h: Likewise.
78043 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78045
78046 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78047
78048 [BZ #411]
78049 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78050
78051 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78052
78053 * sysdeps/i386/sysdep.h: Include <features.h>.
78054 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78055 version.
78056
78057 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78058
78059 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78060 Define.
78061 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78062 LOAD_PIC_REG_STR.
78063
78064 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78065
78066 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78067 (SETUP_PIC_REG): Use GET_PC_THUNK.
78068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78069 macro.
78070
78071 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78072
78073 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78074 for non-PIC compilation.
78075 (SETUP_PIC_REG): Add .p2align directive.
78076 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78077 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78078 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78079 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78080 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78090 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78091 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78092 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78093 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78094 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78095 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78098 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78099 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78104 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78105 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78106 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78107 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78108 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78109 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78110 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78111 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78112 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78113 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78114 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78115 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78116 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78117
78118 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78119
78120 * math/tst-CMPLX.c: Include <stdio.h>.
78121
78122 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78123
78124 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78125 float.
78126 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78127 * sysdeps/sparc/bits/mathdef.h: Likewise.
78128
78129 2012-01-31 Marek Polacek <polacek@redhat.com>
78130
78131 * libio/libio.h: Don't define _PARAMS.
78132 * locale/programs/config.h: Don't define PARAMS.
78133 * stdlib/strtol_l.c: Likewise.
78134 (__strtol_l): Remove PARAMS from the prototype.
78135
78136 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78137
78138 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78139 names. Just use the correct names. Remove unnecessary wrapper
78140 functions.
78141 * malloc/arena.c: Likewise.
78142 * malloc/hooks.c: Likewise.
78143
78144 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78145 ARENA_TEST says not to. Simplify test for creation of a new arena.
78146 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78147
78148 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78149
78150 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78151 into tail calls.
78152 (update_get_addr): New function.
78153 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78154 GET_ADDR_MODULE parameter.
78155
78156 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78157
78158 * crypt/cert.c: Remove __STDC__ conditionals.
78159 * crypt/crypt-entry.c: Likewise.
78160 * crypt/crypt_util.c: Likewise.
78161 * libio/filedoalloc.c: Likewise.
78162 * libio/fileops.c: Likewise.
78163 * libio/genops.c: Likewise.
78164 * libio/iofclose.c: Likewise.
78165 * libio/iofdopen.c: Likewise.
78166 * libio/iofopen.c: Likewise.
78167 * libio/iofopen64.c: Likewise.
78168 * libio/iogetdelim.c: Likewise.
78169 * libio/iopopen.c: Likewise.
78170 * libio/obprintf.c: Likewise.
78171 * libio/oldfileops.c: Likewise.
78172 * libio/oldiofclose.c: Likewise.
78173 * libio/oldiofdopen.c: Likewise.
78174 * libio/oldiofopen.c: Likewise.
78175 * libio/oldiopopen.c: Likewise.
78176 * libio/wfiledoalloc.c: Likewise.
78177 * libio/wgenops.c: Likewise.
78178 * locale/programs/xmalloc.c: Likewise.
78179 * misc/syslog.c: Likewise.
78180 * stdio-common/xbug.c: Likewise.
78181 * string/memchr.c: Likewise.
78182 * string/memcmp.c: Likewise.
78183 * string/memrchr.c: Likewise.
78184 * string/rawmemchr.c: Likewise.
78185 * sysdeps/posix/getcwd.c: Likewise.
78186 * time/strftime_l.c: Likewise.
78187
78188 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78189
78190 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78191 * config.make.in (config-cflags-sse2avx): Define.
78192 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78193 Fix typo.
78194
78195 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78196
78197 * scripts/config.guess: Update from upstream config git repository.
78198 * scripts/config.sub: Likewise.
78199
78200 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78201
78202 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78203 (EM_NUM): Update.
78204 (R_TILEPRO_*, R_TILEGX_*): New macros.
78205
78206 * scripts/firstversions.awk: Fix bug in version range handling.
78207
78208 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78209
78210 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78211
78212 * include/sys/epoll.h: New file.
78213 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78214 libc_hidden_def.
78215
78216 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78217
78218 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78219 Avoid unnecessary __WORDSIZE == 64 test.
78220 (fmaxf): Use VEX format if possible.
78221 (fmax): Likewise.
78222 (fminf): Likewise.
78223 (fmin): Likewise.
78224
78225 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78226 * math/math_private.h: Remove libc_fegetround* and
78227 libc_fesetround*.
78228 * sysdeps/i386/configure.in: Check for -msse2avx.
78229 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78230 also if SSE2AVX is defined.
78231 Remove libc_fegetround* and libc_fesetround*.
78232 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78233 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78235 of HAS_YMM_USABLE.
78236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78237 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78238 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78240 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78241
78242 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78243
78244 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78245
78246 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78247 size is not set.
78248 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78249
78250 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78251
78252 [BZ #13618]
78253 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78254 relocation.
78255 * Makeconfig (libm): Define.
78256 * elf/Makefile: Add rules to build and run tst-relsort1.
78257 * elf/tst-relsort1.c: New file.
78258 * elf/tst-relsort1mod1.c: New file.
78259 * elf/tst-relsort1mod2.c: New file.
78260
78261 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78262
78263 * math/s_ldexp.c: Remove __STDC__ conditionals.
78264 * math/s_ldexpf.c: Likewise.
78265 * math/s_ldexpl.c: Likewise.
78266 * math/s_nextafter.c: Likewise.
78267 * math/s_nexttowardf.c: Likewise.
78268 * math/s_significand.c: Likewise.
78269 * math/s_significandf.c: Likewise.
78270 * math/s_significandl.c: Likewise.
78271 * math/w_jnl.c: Likewise.
78272 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78273 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78274 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78275 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78276 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78277 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78278 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78279 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78286 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78287 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78288 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78289 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78291 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78292 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78293 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78294 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78295 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78296 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78297 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78298 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78299 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78300 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78301 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78302 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78303 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78305 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78306 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78307 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78308 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78309 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78310 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78311 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78312 * sysdeps/ieee754/k_standard.c: Likewise.
78313 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78314 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78315 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78316 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78317 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78318 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78320 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78321 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78322 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78323 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78325 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78326 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78327 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78330 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78331 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78332 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78333 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78335 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78336 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78337 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78338 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78342 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78344 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78345 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78346 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78349 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78352 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78353 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78357 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78358 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78360 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78361 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78362 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78363 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78367 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78371 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78372 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78373 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78374 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78375 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78377 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78378 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78379 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78383 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78388 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78389 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78390 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78391 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78392 * sysdeps/ieee754/s_matherr.c: Likewise.
78393 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78394 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78397
78398 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78399
78400 * crypt/md5.h: Remove __STDC__ conditionals.
78401 * libio/libioP.h: Likewise.
78402 * locale/programs/config.h: Likewise.
78403 * sysdeps/generic/sysdep.h: Likewise.
78404 * sysdeps/i386/asm-syntax.h: Likewise.
78405 * sysdeps/s390/asm-syntax.h: Likewise.
78406 * sysdeps/unix/sysdep.h: Likewise.
78407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78409
78410 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78411
78412 * libio/libio.h: Remove __STDC__ conditionals.
78413 * malloc/obstack.h: Likewise.
78414 * math/complex.h: Likewise.
78415 * math/math.h: Likewise.
78416 * sysdeps/generic/_G_config.h: Likewise.
78417 * sysdeps/gnu/_G_config.h: Likewise.
78418 * sysdeps/mach/hurd/_G_config.h: Likewise.
78419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78420 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78421 * sysdeps/sparc/bits/mathdef.h: Likewise.
78422
78423 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78424
78425 [BZ #13583]
78426 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78427 Clean up HAS_* macros.
78428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78429 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78430 possible.
78431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78432 HAS_AVX.
78433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78434 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78435 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78437 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78438
78439 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78440
78441 * elf/tst-unique3.cc (gets): Remove declaration.
78442 * elf/tst-unique3lib.cc (gets): Likewise.
78443 * elf/tst-unique3lib2.cc (gets): Likewise.
78444 * elf/tst-unique4.cc (gets): Likewise.
78445
78446 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78447
78448 * include/stdio.h: Add C++ protection. Add gets declarations and
78449 definitions.
78450 * debug/tst-chk1.c: Don't declare gets here.
78451 * stdio-common/tst-gets.c: Likewise.
78452
78453 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78454
78455 * posix/glob: Remove directory.
78456
78457 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78458
78459 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78460
78461 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78462
78463 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78464 of the non-standard EPFNOSUPPORT.
78465
78466 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78467
78468 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78469 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78470 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78471
78472 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78473
78474 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78475
78476 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78477
78478 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78479 transient errors.
78480 * nscd/grpcache.c (cache_addgr): Likewise.
78481 * nscd/hstcache.c (cache_addhst): Likewise.
78482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78483 * nscd/pwdcache.c (cache_addpw): Likewise.
78484 * nscd/servicescache.c (cache_addserv): Likewise.
78485
78486 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78487
78488 * malloc/malloc.c: Various cleanups.
78489 * malloc/hooks.c: Likewise.
78490
78491 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78492 * stdlib/bug-fmtmsg1.c: New file.
78493
78494 * stdlib/fmtmsg.c (init): Add missing unlock.
78495 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78496
78497 2012-01-12 Marek Polacek <polacek@redhat.com>
78498
78499 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78500 and _GNU_SOURCE.
78501
78502 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78503
78504 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78505 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78506 macro to ensure uniqueness of label name.
78507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78509
78510 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78511
78512 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78513
78514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78515 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78516 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78518
78519 2012-01-10 Ulrich Drepper <drepper@gmail.com>
78520
78521 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78522
78523 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78524 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78525 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78526
78527 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78528
78529 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78530 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78531 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78533
78534 * math/bits/math-finite.h: Add ldexp support.
78535
78536 2012-01-10 Marek Polacek <polacek@redhat.com>
78537
78538 * locale/programs/localedef.h (show_archive_content): Add noreturn
78539 attribute.
78540
78541 2012-01-09 Ulrich Drepper <drepper@gmail.com>
78542
78543 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78544
78545 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78546
78547 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78548
78549 * io/Makefile (headers): Add bits/poll2.h.
78550
78551 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78552
78553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78554 typo #include statement.
78555
78556 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78557
78558 * include/sys/cdefs.h: Define __attribute_alloc_size.
78559 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78560 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78561 * elf/pldd.c: Likewise.
78562 * iconv/iconv_charmap.c: Likewise.
78563 * iconv/iconvconfig.c: Likewise.
78564 * iconv/strtab.c: Likewise.
78565 * locale/programs/locale.c: Likewise.
78566 * locale/programs/localedef.h: Likewise.
78567 * locale/programs/simple-hash.c: Likewise.
78568 * nscd/nscd.h: Likewise.
78569 * nss/makedb.c: Likewise.
78570 * sysdeps/generic/ldconfig.h: Likewise.
78571 * locale/programs/localedef.c: Remove xmalloc prototype.
78572 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78573
78574 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78575
78576 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78577 appropriate.
78578
78579 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78580
78581 * math/Makefile (tests): Add tst-CMPLX.
78582 * math/tst-CMPLX.c: New file.
78583
78584 * math/complex.h (CMPLXL): Fix typo.
78585
78586 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78587 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78588 GLIBC_2.16.
78589 * debug/tst-chk1.c: Add poll and ppoll tests.
78590 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78591 * include/sys/poll.h: Add hidden proto for ppoll.
78592 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78593 * sysdeps/mach/hurd/ppoll.c: Likewise.
78594 * io/ppoll.c: Likewise.
78595 * debug/poll_chk.c: New file.
78596 * debug/ppoll_chk.c: New file.
78597 * include/bits/poll2.h: New file.
78598 * io/bits/poll2.h: New file.
78599
78600 [BZ #1350]
78601 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78602
78603 * configure.in: static is always set to yes. Remove.
78604 * config.make.in: Don't set build-static.
78605 * Makeconfig: Remove use of build-static.
78606 * dlfcn/Makefile: Likewise.
78607 * elf/Makefile: Likewise.
78608 * math/Makefile: Likewise.
78609 * misc/Makefile: Likewise.
78610 * nptl/Makefile: Likewise.
78611 * sysdeps/mach/hurd/Makefile: Likewise.
78612
78613 * configure.in: PWD_P is not used anymore.
78614 * config.make.in: Remove PWD_P entry.
78615
78616 * configure.in: Remove last remnants of RANLIB.
78617 No need to check for signed size_t anymore.
78618 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78619 and IA-64.
78620 Remove __builtin_expect test because we require at least gcc 3.4.
78621 * aclocal.m4: Likewise.
78622
78623 * wcsmbs/mbrtoc16.c: Implement using towc function.
78624 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78625 * wcsmbs/wcsmbsload.c: Likewise.
78626 * iconv/gconv_simple.c: Likewise.
78627 * iconv/gconv_int.h: Likewise.
78628 * iconv/gconv_builtin.h: Likewise.
78629 * iconv/iconv_prog.c: Remove CHAR16 handling.
78630
78631 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78632
78633 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78634
78635 * configure.in: Remove --with-elf and --enable-bounded options.
78636 Dont set base_machine for ia64. More non-ELF conditions removed.
78637 Remove testing and setting of leading underscore information.
78638 * config.make.in (build-bounded): Set to no.
78639 * config.h.in: Remove NO_UNDERSCORES entry.
78640 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78641 them.
78642 * csu/start.c: Remove !NO_UNDERSCORE code.
78643 * locale/localeinfo.h: Likewise.
78644 * sysdeps/generic/machine-gmon.h: Likewise.
78645 * sysdeps/generic/sysdep.h: Likewise.
78646 * sysdeps/i386/sysdep.h: Likewise.
78647 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78648 * sysdeps/mach/sysdep.h: Likewise.
78649 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78651 * sysdeps/sh/sysdep.h: Likewise.
78652 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78653 * sysdeps/unix/i386/sysdep.S: Likewise.
78654 * sysdeps/unix/sparc/start.c: Likewise.
78655 * sysdeps/unix/sparc/sysdep.S: Likewise.
78656 * sysdeps/unix/sparc/sysdep.h: Likewise.
78657 * sysdeps/unix/start.c: Likewise.
78658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78659 * sysdeps/x86_64/sysdep.h: Likewise.
78660
78661 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78662
78663 [BZ #13553]
78664 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78665 for non-gcc.
78666 * argp/argp-fmtstream.h: Use const instead __const.
78667 * argp/argp.h: Likewise.
78668 * assert/assert.h: Likewise.
78669 * bits/fenv.h: Likewise.
78670 * bits/sched.h: Likewise.
78671 * bits/sigset.h: Likewise.
78672 * bits/sigthread.h: Likewise.
78673 * catgets/nl_types.h: Likewise.
78674 * conform/data/pthread.h-data: Likewise.
78675 * crypt/crypt-private.h: Likewise.
78676 * crypt/crypt.h: Likewise.
78677 * crypt/crypt_util.c: Likewise.
78678 * ctype/ctype.h: Likewise.
78679 * debug/execinfo.h: Likewise.
78680 * debug/mbsnrtowcs_chk.c: Likewise.
78681 * debug/mbsrtowcs_chk.c: Likewise.
78682 * debug/wcsnrtombs_chk.c: Likewise.
78683 * debug/wcsrtombs_chk.c: Likewise.
78684 * debug/wcstombs_chk.c: Likewise.
78685 * dirent/dirent.h: Likewise.
78686 * dlfcn/dlfcn.h: Likewise.
78687 * elf/neededtest4.c: Likewise.
78688 * grp/grp.h: Likewise.
78689 * gshadow/gshadow.h: Likewise.
78690 * iconv/gconv.h: Likewise.
78691 * iconv/gconv_int.h: Likewise.
78692 * iconv/gconv_simple.c: Likewise.
78693 * iconv/iconv.h: Likewise.
78694 * iconv/loop.c: Likewise.
78695 * iconv/skeleton.c: Likewise.
78696 * include/aio.h: Likewise.
78697 * include/aliases.h: Likewise.
78698 * include/argz.h: Likewise.
78699 * include/arpa/inet.h: Likewise.
78700 * include/assert.h: Likewise.
78701 * include/dirent.h: Likewise.
78702 * include/dlfcn.h: Likewise.
78703 * include/execinfo.h: Likewise.
78704 * include/fcntl.h: Likewise.
78705 * include/fenv.h: Likewise.
78706 * include/glob.h: Likewise.
78707 * include/grp.h: Likewise.
78708 * include/libintl.h: Likewise.
78709 * include/mntent.h: Likewise.
78710 * include/netdb.h: Likewise.
78711 * include/pwd.h: Likewise.
78712 * include/rpc/netdb.h: Likewise.
78713 * include/sched.h: Likewise.
78714 * include/search.h: Likewise.
78715 * include/shadow.h: Likewise.
78716 * include/signal.h: Likewise.
78717 * include/stdio.h: Likewise.
78718 * include/stdlib.h: Likewise.
78719 * include/string.h: Likewise.
78720 * include/sys/socket.h: Likewise.
78721 * include/sys/stat.h: Likewise.
78722 * include/sys/statfs.h: Likewise.
78723 * include/sys/statvfs.h: Likewise.
78724 * include/sys/syslog.h: Likewise.
78725 * include/sys/time.h: Likewise.
78726 * include/sys/uio.h: Likewise.
78727 * include/time.h: Likewise.
78728 * include/unistd.h: Likewise.
78729 * include/utmp.h: Likewise.
78730 * include/wchar.h: Likewise.
78731 * include/wctype.h: Likewise.
78732 * inet/aliases.h: Likewise.
78733 * inet/arpa/inet.h: Likewise.
78734 * inet/netinet/ether.h: Likewise.
78735 * inet/netinet/in.h: Likewise.
78736 * intl/libintl.h: Likewise.
78737 * io/bits/fcntl2.h: Likewise.
78738 * io/fcntl.h: Likewise.
78739 * io/ftw.h: Likewise.
78740 * io/sys/poll.h: Likewise.
78741 * io/sys/stat.h: Likewise.
78742 * io/sys/statfs.h: Likewise.
78743 * io/sys/statvfs.h: Likewise.
78744 * io/utime.h: Likewise.
78745 * libio/bits/stdio.h: Likewise.
78746 * libio/bits/stdio2.h: Likewise.
78747 * libio/libio.h: Likewise.
78748 * libio/libioP.h: Likewise.
78749 * libio/stdio.h: Likewise.
78750 * locale/lc-ctype.c: Likewise.
78751 * locale/locale.h: Likewise.
78752 * login/utmp.h: Likewise.
78753 * malloc/arena.c: Likewise.
78754 * malloc/malloc.c: Likewise.
78755 * malloc/malloc.h: Likewise.
78756 * malloc/mcheck.c: Likewise.
78757 * malloc/mtrace.c: Likewise.
78758 * math/bits/mathcalls.h: Likewise.
78759 * math/fenv.h: Likewise.
78760 * math/math_private.h: Likewise.
78761 * misc/bits/error.h: Likewise.
78762 * misc/bits/syslog.h: Likewise.
78763 * misc/err.h: Likewise.
78764 * misc/error.h: Likewise.
78765 * misc/fstab.h: Likewise.
78766 * misc/mntent.h: Likewise.
78767 * misc/regexp.h: Likewise.
78768 * misc/search.h: Likewise.
78769 * misc/sgtty.h: Likewise.
78770 * misc/sys/mman.h: Likewise.
78771 * misc/sys/syslog.h: Likewise.
78772 * misc/sys/uio.h: Likewise.
78773 * misc/sys/xattr.h: Likewise.
78774 * misc/ttyent.h: Likewise.
78775 * nis/rpcsvc/ypclnt.h: Likewise.
78776 * nss/nss.h: Likewise.
78777 * posix/bits/unistd.h: Likewise.
78778 * posix/fnmatch.h: Likewise.
78779 * posix/glob.h: Likewise.
78780 * posix/sched.h: Likewise.
78781 * posix/spawn.h: Likewise.
78782 * posix/sys/wait.h: Likewise.
78783 * posix/unistd.h: Likewise.
78784 * posix/wordexp.h: Likewise.
78785 * pwd/pwd.h: Likewise.
78786 * resolv/netdb.h: Likewise.
78787 * resource/sys/resource.h: Likewise.
78788 * rt/aio.h: Likewise.
78789 * rt/bits/mqueue2.h: Likewise.
78790 * rt/mqueue.h: Likewise.
78791 * shadow/shadow.h: Likewise.
78792 * signal/signal.h: Likewise.
78793 * socket/send.c: Likewise.
78794 * socket/sendto.c: Likewise.
78795 * socket/sys/socket.h: Likewise.
78796 * stdio-common/printf.h: Likewise.
78797 * stdlib/bits/stdlib.h: Likewise.
78798 * stdlib/fmtmsg.h: Likewise.
78799 * stdlib/monetary.h: Likewise.
78800 * stdlib/stdlib.h: Likewise.
78801 * stdlib/ucontext.h: Likewise.
78802 * streams/stropts.h: Likewise.
78803 * string/argz.h: Likewise.
78804 * string/bits/string2.h: Likewise.
78805 * string/string.h: Likewise.
78806 * string/strings.h: Likewise.
78807 * sunrpc/rpc/auth.h: Likewise.
78808 * sunrpc/rpc/auth_des.h: Likewise.
78809 * sunrpc/rpc/clnt.h: Likewise.
78810 * sunrpc/rpc/netdb.h: Likewise.
78811 * sunrpc/rpc/pmap_clnt.h: Likewise.
78812 * sunrpc/rpc/xdr.h: Likewise.
78813 * sysdeps/generic/inttypes.h: Likewise.
78814 * sysdeps/generic/net/if.h: Likewise.
78815 * sysdeps/generic/sys/swap.h: Likewise.
78816 * sysdeps/gnu/net/if.h: Likewise.
78817 * sysdeps/gnu/utmpx.h: Likewise.
78818 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78819 * sysdeps/i386/i486/bits/string.h: Likewise.
78820 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78821 * sysdeps/s390/bits/string.h: Likewise.
78822 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78823 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78824 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78825 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78826 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78827 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78828 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78829 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78830 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78831 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78832 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78833 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78834 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78835 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78836 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78837 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78838 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78843 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78844 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78845 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78846 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78847 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78848 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78849 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78850 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78851 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78852 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78853 * sysvipc/sys/ipc.h: Likewise.
78854 * sysvipc/sys/msg.h: Likewise.
78855 * sysvipc/sys/sem.h: Likewise.
78856 * sysvipc/sys/shm.h: Likewise.
78857 * termios/termios.h: Likewise.
78858 * time/sys/time.h: Likewise.
78859 * time/time.h: Likewise.
78860 * wcsmbs/bits/wchar2.h: Likewise.
78861 * wcsmbs/uchar.h: Likewise.
78862 * wcsmbs/wchar.h: Likewise.
78863 * wctype/wctype.h: Likewise.
78864
78865 [BZ #13551]
78866 * Makeconfig: Remove all but ELF support including AIX support.
78867 * Makerules: Likewise.
78868 * config.h.in: Likewise.
78869 * config.make.in: Likewise.
78870 * configure: Likewise.
78871 * configure.in: Likewise.
78872 * csu/Makefile: Likewise.
78873 * csu/version.c: Likewise.
78874 * debug/Makefile: Likewise.
78875 * dlfcn/Makefile: Likewise.
78876 * elf/Makefile: Likewise.
78877 * extra-lib.mk: Likewise.
78878 * iconv/Makefile: Likewise.
78879 * include/libc-symbols.h: Likewise.
78880 * include/shlib-compat.h: Likewise.
78881 * resolv/Makefile: Likewise.
78882 * resolv/res_libc.c: Likewise.
78883 * rt/Makefile: Likewise.
78884 * sysdeps/i386/asm-syntax.h: Likewise.
78885 * sysdeps/i386/sysdep.h: Likewise.
78886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78887 * sysdeps/mach/sysdep.h: Likewise.
78888 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78889 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78890 * sysdeps/s390/asm-syntax.h: Likewise.
78891 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78893 * sysdeps/sh/sysdep.h: Likewise.
78894 * sysdeps/unix/sparc/sysdep.h: Likewise.
78895 * sysdeps/wordsize-32/divdi3.c: Likewise.
78896 * sysdeps/x86_64/sysdep.h: Likewise.
78897
78898 * argp/Versions: Remove _argp_unlock_xxx.
78899
78900 [BZ #13559]
78901 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78902 * abilist/libBrokenLocale.abilist: Likewise.
78903 * abilist/libanl.abilist: Likewise.
78904 * abilist/libc.abilist: Likewise.
78905 * abilist/libcrypt.abilist: Likewise.
78906 * abilist/libdl.abilist: Likewise.
78907 * abilist/libm.abilist: Likewise.
78908 * abilist/libnsl.abilist: Likewise.
78909 * abilist/libpthread.abilist: Likewise.
78910 * abilist/libresolv.abilist: Likewise.
78911 * abilist/librt.abilist: Likewise.
78912 * abilist/libthread_db.abilist: Likewise.
78913 * abilist/libutil.abilist: Likewise.
78914 * abilist/libnss_db.abilist: New file.
78915
78916 * scripts/abilist.awk: Add support for indirect functions.
78917
78918 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78919
78920 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78921
78922 * shlib-versions: Remove entries for ports architectures.
78923
78924 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78925 files in ports.
78926 * elf/stackguard-macros.h: Remove support for IA-64.
78927 * elf/tst-auditmod1.c: Likewise.
78928 * sysdeps/generic/ldsodefs.h: Likewise.
78929
78930 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78931 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78932 configure files.
78933
78934 [BZ #13552]
78935 * configure.in: Remove --enable-omitfp support.
78936 * FAQ.in: Adjust.
78937 * config.make.in: Likewise.
78938 * Makeconfig: Likewise.
78939 * manual/install.texi: Likewise.
78940
78941 In case anyone cares, the IA-64 architecture could move to ports.
78942 * sysdeps/ia64/*: Removed.
78943 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78944 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78945
78946 [BZ #13555]
78947 * configure.in: Remove entries for unsupported architectures.
78948
78949 [BZ #13533]
78950 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78951 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78952 routines.
78953 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78954 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78955 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78956 fall back to using wcrtomb.
78957 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78958 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78959 renaming.
78960 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78961 * wcsmbs/tst-c16c32-1.c: New file.
78962
78963 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78964 local variable.
78965
78966 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78967
78968 * elf/tst-unique3.cc: Add explicit declaration of gets.
78969 * elf/tst-unique3lib.cc: Likewise.
78970 * elf/tst-unique3lib2.cc: Likewise.
78971 * elf/tst-unique4.cc: Likewise.
78972
78973 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78974
78975 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78976
78977 [BZ #13566]
78978 * assert/assert.h (static_assert): Don't define for C++.
78979 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78980 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78981
78982 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78983
78984 * iconv/loop.c (single loop): Fix assertion in storing of
78985 remaining bytes.
78986
78987 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78988
78989 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78990
78991 * posix/getconf.c: Update copyright year.
78992 * nss/getent.c: Likewise.
78993 * nss/makedb.c: Likewise.
78994 * iconv/iconvconfig.c: Likewise.
78995 * iconv/iconv_prog.c: Likewise.
78996 * elf/ldconfig.c: Likewise.
78997 * elf/pldd.c: Likewise.
78998 * elf/sotruss.ksh: Likewise.
78999 * catgets/gencat.c: Likewise.
79000 * csu/version.c: Likewise.
79001 * elf/ldd.bash.in: Likewise.
79002 * elf/sprof.c (print_version): Likewise.
79003 * locale/programs/locale.c: Likewise.
79004 * locale/programs/localedef.c: Likewise.
79005 * login/programs/pt_chown.c: Likewise.
79006 * nscd/nscd.c (print_version): Likewise.
79007 * debug/xtrace.sh: Likewise.
79008 * malloc/memusage.sh: Likewise.
79009 * malloc/mtrace.pl: Likewise.
79010 * debug/catchsegv.sh: Likewise.
79011
79012 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79013
79014 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79015 pure attribute.
79016
79017 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79018
79019 [BZ #13533]
79020 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79021 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79022 transformations.
79023 * iconv/gconv_int.h: Likewise.
79024 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79025 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79026 from libc for GLIBC_2.16.
79027 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79028 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79029 * wcsmbs/uchar.h: Really define mbstate_t.
79030 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79031 * wcsmbs/c16rtomb.c: New file.
79032 * wcsmbs/mbrtoc16.c: New file.
79033 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79034 for C/POSIX locale.
79035 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79036 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79037
79038 * wcsmbs/wchar.h: Add missing __restrict.
79039
79040 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79041
79042 [BZ #13532]
79043 * time/Makefile (routines): Add timespec_get.
79044 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79045 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79046 timespec for ISO C11.
79047 * time/timespec_get.c: New file.
79048 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79049 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79050
79051 [BZ #13531]
79052 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79053 * stdlib/stdlib.h: Declare aligned_alloc.
79054 * Versions.def: Add GLIBC_2.16 for libc.
79055 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79056
79057 [BZ 13527]
79058 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79059 ISO C11.
79060
79061 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79062 code.
79063
79064 [BZ #13528]
79065 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79066
79067 [BZ #13529]
79068 * assert/assert.h (static_assert): Define.
79069
79070 * version.h: Update for 2.16 development version.
79071
79072 [BZ #13526]
79073 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79074 _ISOC11_SOURCE.
79075
79076 * version.h (RELEASE): Bump for 2.15 release.
79077 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79078
79079 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79080 Patch by Marek Polacek <mpolacek@redhat.com>.
79081
79082 * bits/byteswap.h: Protect long long constants with __extension__.
79083 * sysdeps/i386/bits/byteswap.h: Likewise.
79084 * sysdeps/ia64/bits/byteswap.h: Likewise.
79085 * sysdeps/s390/bits/byteswap.h: Likewise.
79086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79087
79088 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79089
79090 [BZ #13540]
79091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79092 destination buffer.
79093 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79094
79095 2011-12-23 Marek Polacek <polacek@redhat.com>
79096
79097 * elf/dl-addr.c (determine_info): Add inline keyword.
79098 * elf/tst-auditmod4b.c (check_avx): Likewise.
79099 * elf/tst-auditmod6b.c (check_avx): Likewise.
79100 * elf/tst-auditmod6c.c (check_avx): Likewise.
79101 * elf/tst-auditmod7b.c (check_avx): Likewise.
79102
79103 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79104
79105 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79106 !__SSE_MATH__.
79107
79108 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79109
79110 [BZ #13540]
79111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79112 processing for last bytes.
79113
79114 2011-08-06 Bruno Haible <bruno@clisp.org>
79115
79116 [BZ #13061]
79117 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79118 U+0385, not to U+1FEE.
79119
79120 [BZ #13062]
79121 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79122 entry for U+00A5 U+0301.
79123
79124 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79125
79126 [BZ #13166]
79127 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79128 buffer for the output is too small.
79129
79130 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79131 optimization.
79132
79133 [BZ #13185]
79134 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79135 SSE flags if possible.
79136
79137 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79138
79139 [BZ #13540]
79140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79141 processing for last bytes.
79142
79143 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79144
79145 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79146 (syscall-list-default-options, syscall-list-default-condition)
79147 (syscall-list-includes): Define.
79148 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79149 list of ABIs and options and #if conditions for each ABI. Do not
79150 handle common syscalls between ABIs specially.
79151 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79152 Remove.
79153 (syscall-list-variants, syscall-list-32bit-options)
79154 (syscall-list-32bit-condition, syscall-list-64bit-options)
79155 (syscall-list-64bit-condition): Define.
79156 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79157 (syscall-list-variants, syscall-list-32bit-options)
79158 (syscall-list-32bit-condition, syscall-list-64bit-options)
79159 (syscall-list-64bit-condition): Define.
79160 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79161 Remove.
79162 (syscall-list-variants, syscall-list-32bit-options)
79163 (syscall-list-32bit-condition, syscall-list-64bit-options)
79164 (syscall-list-64bit-condition): Define.
79165 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79166 Remove.
79167 (syscall-list-variants, syscall-list-32bit-options)
79168 (syscall-list-32bit-condition, syscall-list-64bit-options)
79169 (syscall-list-64bit-condition): Define.
79170
79171 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79172
79173 * locale/iso-639.def: Add brx entry.
79174
79175 [BZ #13328]
79176 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79177 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79178
79179 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79180 __feraiseexcept_renamed.
79181
79182 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79183
79184 [BZ #13538]
79185 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79186 EPOLLET with unsigned values.
79187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79188 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79189
79190 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79191 to large cancellation.
79192 * math/s_cacoshf.c: Likewise.
79193 * math/s_cacoshl.c: Likewise.
79194
79195 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79196
79197 [BZ #13305]
79198 [BZ #12786]
79199 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79200 * math/s_cacoshf.c: Likewise.
79201 * math/s_cacoshl.c: Likewise.
79202
79203 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79204
79205 [BZ #13439]
79206 * iconv/gconv.h: Define __GCONV_SWAP.
79207 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79208 * iconvdata/utf-16.c: Likewise.
79209 * iconvdata/utf-32.c: Likewise.
79210
79211 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79212
79213 [BZ #13524]
79214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79215 numerator after shifting it by one limb.
79216
79217 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79218
79219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79220 under [__USE_EXTERN_INLINES].
79221
79222 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79223
79224 [BZ #13446]
79225 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79226
79227 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79228
79229 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79230 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79231 optimized code.
79232 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79234 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79235 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79236 for strncasecmp/strncasecmp_l compilation.
79237 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79238 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79239
79240 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79241
79242 [BZ #13484]
79243 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79244 of __asm__.
79245
79246 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79247
79248 [BZ #13506]
79249 * time/tzfile.c (__tzfile_read): Check values from file header.
79250
79251 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79252
79253 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79254 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79255 * powerpc/powerpc32/dl-start.S: Likewise.
79256 * powerpc/powerpc32/elf/start.S: Likewise.
79257 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79258 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79259 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79260 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79261 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79262 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79263 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79264 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79265 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79266 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79267 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79268 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79269 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79270 * powerpc/powerpc32/memset.S: Likewise.
79271 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79272 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79273 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79274 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79275 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79276 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79277 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79278 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79279 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79280 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79281 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79282 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79283 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79284
79285 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79286
79287 * math/libm-test.inc: Added more nearbyint tests.
79288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79292
79293 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79294
79295 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79296 FD_CLOEXEC.
79297
79298 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79299
79300 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79301 Add wcscpy-ssse3 wcscpy-c.
79302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79303 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79304 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79305 * sysdeps/x86_64/wcschr.S: New file.
79306 * sysdeps/x86_64/wcsrchr.S: New file.
79307 * string/test-strcmp.c: Remove checking of wcscmp function for
79308 wrong alignments.
79309 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79310 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79311 wcsrchr-sse2 wcsrchr-c.
79312 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79313 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79314 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79315 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79316 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79317 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79318 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79319 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79321 * wcsmbc/wcschr.c (WCSCHR): New macro.
79322
79323 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79324
79325 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79326 * wcsmbs/test-wcsrchr.c: New file.
79327 * string/test-strrchr.c: Add wcsrchr support.
79328 (WIDE): New macro.
79329 * wcsmbs/test-wcscpy.c: New file.
79330 * string/test-strcpy.c: Add wcscpy support.
79331 (WIDE): New macro.
79332
79333 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79334
79335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79336 the inner loop.
79337
79338 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79339
79340 [BZ #13472]
79341 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79342
79343 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79344
79345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79346 Minor optimizations.
79347
79348 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79349 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79350 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79351
79352 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79353
79354 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79355 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79356 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79357 for gcc to avoid warnings.
79358 * inet/Makefile (tests): Add tst-checks.
79359 * inet/tst-checks.c: New file.
79360
79361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79362 warning.
79363
79364 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79365 __wmemcmp_sse2.
79366
79367 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79368 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79369
79370 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79371
79372 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79373
79374 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79375 problem.
79376
79377 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79378
79379 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79380
79381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79382 conditional on GCC version.
79383 (__arch_compare_and_exchange_val_8_acq)
79384 (__arch_compare_and_exchange_val_16_acq)
79385 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79386 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79387 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79388
79389 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79390
79391 * sysdeps/sh/backtrace.c: New file.
79392
79393 2011-12-02 Andreas Schwab <schwab@redhat.com>
79394
79395 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79396 parenthesis.
79397
79398 2011-12-01 Andreas Schwab <schwab@redhat.com>
79399
79400 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79401 falling back to utime.
79402
79403 2011-11-30 Andreas Schwab <schwab@redhat.com>
79404
79405 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79406 expectations for float.
79407
79408 2011-11-29 Andreas Schwab <schwab@redhat.com>
79409
79410 * locale/weight.h (findidx): Add parameter len.
79411 * locale/weightwc.h (findidx): Likewise.
79412 * posix/fnmatch_loop.c (FCT): Adjust caller.
79413 * posix/regcomp.c (build_equiv_class): Likewise.
79414 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79415 * posix/regexec.c (check_node_accept_bytes): Likewise.
79416 * string/strcoll_l.c (STRCOLL): Likewise.
79417 * string/strxfrm_l.c (STRXFRM): Likewise.
79418
79419 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79420
79421 * Makefile.in: Remove CVSOPT handling.
79422 * configure.in: Remove use of AC_REVISION.
79423 * iconvdata/Makefile (distribute): No need to filter out CVS.
79424 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79425 handling.
79426
79427 2011-11-16 Andreas Schwab <schwab@redhat.com>
79428
79429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79430 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79431 [USE_AS_STRNCASECMP_L]: Likewise.
79432 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79433 NO_TLS_DIRECT_SEG_REFS.
79434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79435 Fix argument offsets for non-PIC.
79436 [USE_AS_STRNCASECMP_L]: Likewise.
79437 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79438 NO_TLS_DIRECT_SEG_REFS.
79439
79440 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79441
79442 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79443 O_CLOEXEC.
79444 * locale/loadlocale.c (_nl_load_locale): Likewise.
79445
79446 2011-11-15 Andreas Schwab <schwab@redhat.com>
79447
79448 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79449 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79451 (SYSCALL_GETTIME): Set errno on error.
79452
79453 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79454 count references to noai6ai_cached.
79455
79456 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79457
79458 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79459
79460 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79461 FD_CLOEXEC for /proc/self/maps.
79462
79463 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79464 FD_CLOEXEC for /proc/meminfo.
79465
79466 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79467 gai.conf.
79468
79469 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79470 FD_CLOEXEC for given file.
79471
79472 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79473
79474 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79475 FD_CLOEXEC for /etc/hosts.
79476 (_gethtent): Likewise.
79477
79478 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79479
79480 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79481 cancellation and set FD_CLOEXEC for /etc/netgroup.
79482
79483 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79484 reading /etc/publickey.
79485
79486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79487 allow cancellation when reading /etc/group.
79488
79489 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79490 cancellation.
79491 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79492
79493 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79494 when using data file.
79495
79496 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79497
79498 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79499 (write_nis_obj): Use "c" and "e" in fopen.
79500
79501 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79502
79503 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79504
79505 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79506
79507 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79508
79509 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79510 locale.alias.
79511
79512 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79513
79514 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79515
79516 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79517
79518 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79519 file parsing and set FD_CLOEXEC.
79520
79521 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79522
79523 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79524
79525 2011-11-14 Andreas Schwab <schwab@redhat.com>
79526
79527 * malloc/arena.c (arena_get2): Don't call reused_arena when
79528 _int_new_arena failed.
79529
79530 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79531
79532 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79533 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79535 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79536 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79538 to compile strcasecmp and strncasecmp.
79539 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79540 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79541
79542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79543
79544 2011-11-13 Ulrich Drepper <drepper@gmail.com>
79545
79546 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79547 locale-defines.sym to gen-as-const-headers.
79548 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79549 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79551 to compile strcasecmp and strncasecmp.
79552 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79553 strcasecmp_l and strncasecmp_l.
79554 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79555 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79556 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79557 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79558 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79559 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79560 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79561 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79562 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79563 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79564 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79565
79566 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79567
79568 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79569 result of SYSDEP_GETTIME_CPU to retval.
79570 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79571 parameter list to macro. Remove trailing semicolon. Adjust users.
79572
79573 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79574 variable.
79575
79576 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79577 mantissa words.
79578 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79579
79580 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79581 from unused variable.
79582
79583 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79584 DWARF definitions.
79585 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79586 for assembling.
79587
79588 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79589 over namespaces.
79590
79591 * sunrpc/rpc_prot.c (rejected): Fix case value.
79592
79593 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79594 unsigned long long int to avoid warnings in shift.
79595
79596 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79597 of use of trans.
79598 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79599 variable tmp.
79600
79601 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79602 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79603 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79604
79605 * nis/nis_table.c (nis_list): Use variable of correct type for
79606 result of __follow_path call.
79607
79608 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79609
79610 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79611 of math functions ceil, trunc, floor, round, and sqrt, when
79612 avaliable on the platform.
79613 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79614 name clash.
79615 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79616 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79617 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79618
79619 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79620
79621 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79622 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79623
79624 2011-11-11 Roland McGrath <roland@hack.frob.com>
79625
79626 * include/unistd.h: Fix __readlink return type.
79627 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79628
79629 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79630
79631 * stdlib/ucontext.h: Undo last change for makecontext.
79632
79633 2011-11-11 Andreas Schwab <schwab@redhat.com>
79634
79635 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79636
79637 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79638 * setjmp/setjmp.h: Mark functions as non-leaf.
79639 * setjmp/bits/setjmp2.h: Likewise.
79640 * stdlib/ucontext.h: Likewise.
79641
79642 2011-11-10 Andreas Schwab <schwab@redhat.com>
79643
79644 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79645 (reused_arena): Don't check arena limit.
79646 (arena_get2): Atomically check arena limit.
79647
79648 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79649
79650 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79651 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79652
79653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79654 instructions.
79655
79656 2011-11-07 Andreas Schwab <schwab@redhat.com>
79657
79658 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79659 handler when locking.
79660
79661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79662 Fix size of allocated buffer.
79663
79664 2011-11-04 Andreas Schwab <schwab@redhat.com>
79665
79666 [BZ #10103]
79667 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79668 declarations for long double functions.
79669 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79670
79671 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79672
79673 2011-11-03 Andreas Schwab <schwab@redhat.com>
79674
79675 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79676 installed.
79677
79678 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79679 is disabled.
79680
79681 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79682
79683 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79684
79685 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79686
79687 * include/alloca.h (stackinfo_alloca_round): Define.
79688 (extend_alloca): Use it.
79689 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79690 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79691 here.
79692
79693 * scripts/check-local-headers.sh: Ignore libaudit.h.
79694
79695 * nscd/Makefile (extra-objs): Make recursively expanded.
79696
79697 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79698
79699 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79701
79702 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79703 * posix/tst-rfc3484-2.c: Likewise.
79704 * posix/tst-rfc3484-3.c: Likewise.
79705
79706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79707 process_vm_writev.
79708 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79709 process_vm_writev.
79710 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79711 process_vm_writev from libc using GLIBC_2.15 version.
79712
79713 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79714
79715 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79716
79717 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79718 stack usage.
79719
79720 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79721
79722 [BZ #13367]
79723 * nss/getent.c (initgroups_keys): Show error message in case no group
79724 names are given.
79725
79726 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79727 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79728 __bump_nl_timestamp.
79729 * nscd/connections (nscd_init): When host database is served open
79730 netlink socket and request notification about configuration changes.
79731 (main_loop_poll): Track netlink file descriptor and bump timestamp
79732 in case data becomes available.
79733 (main_loop_epoll): Likewise.
79734 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79735 (database_pers_head): Add extra_data fileds.
79736 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79737 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79738 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79739 Adjust caller.
79740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79741 in6ai data, call __free_in6ai.
79742 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79743 Add -DHAVE_NETLINK.
79744 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79745 interface information. Reuse previous data if netlink timestamp
79746 is not changed.
79747 (__bump_nl_timestamp): New function.
79748 (__free_in6ai): New function.
79749
79750 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79751
79752 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79753 close_not_cancel_no_status here.
79754 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79755
79756 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79757
79758 [BZ #13276]
79759 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79760 return value.
79761
79762 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79763 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79764 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79765
79766 2011-07-03 Andreas Jaeger <aj@suse.de>
79767
79768 [BZ #10709]
79769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79770 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79771 * math/libm-test.inc (sin_test): Add test case.
79772
79773 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79774
79775 [BZ #13337]
79776 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79777 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79778
79779 * elf/chroot_canon.c (chroot_canon): Cleanups.
79780
79781 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79782
79783 [BZ #13335]
79784 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79785 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79786
79787 * string/test-strchr.c: Make usable for strchrnul testing.
79788 * string/test-strchrnul.c: New file.
79789 * string/Makefile (strop-tests): Add strchrnul.
79790
79791 * po/it.po: Update from translation team.
79792 * po/es.po: Likewise.
79793
79794 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79795
79796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79797 the three constants needed as parameters. Drop the others.
79798 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79799 __m128i_strloadu_tolower.
79800 Create and initialize variable zero and use it in all the places
79801 where _mm_setzero_si128 was used.
79802
79803 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79804 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79805 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79806 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79807 anymore.
79808 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79809 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79810 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79811 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79813 __mpranred, __mptan.
79814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79818 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79819 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79821 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79822 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79823
79824 2011-10-28 Andreas Schwab <schwab@redhat.com>
79825
79826 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79827 redefine if SHARED.
79828 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79829
79830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79831 wide char related routines to wcsmbs subdir.
79832
79833 2011-10-27 Andreas Schwab <schwab@redhat.com>
79834
79835 [BZ #13344]
79836 * misc/sys/cdefs.h (__THROWNL): Define.
79837 * posix/unistd.h: Use __THREADNL instead of __THREAD
79838 for memory synchronization functions.
79839
79840 2011-10-26 Roland McGrath <roland@hack.frob.com>
79841
79842 [BZ #13349]
79843 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79844 doesn't exist.
79845 * manual/stdio.texi (Obstack Streams): Node removed.
79846
79847 2011-10-26 Andreas Schwab <schwab@redhat.com>
79848
79849 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79851 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79852
79853 * math/math_private.h (math_force_eval): Allow non-addressable
79854 arguments.
79855 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79856
79857 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79858
79859 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79860 file is not needed.
79861
79862 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79869 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79870 Add AVX variants.
79871 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79872 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79873 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79874 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79875 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79876 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79877 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79878 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79879 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79880 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79881 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79882 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79884 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79885 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79886 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79887 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79888 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79889 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79890
79891 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79892 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79893
79894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79895 place. Use VEX encoding when compiling for AVX.
79896
79897 2011-10-25 Andreas Schwab <schwab@redhat.com>
79898
79899 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79900 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79901
79902 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79903
79904 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79905
79906 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79907 useless if() expression.
79908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79909 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79912 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79913 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79914 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79916 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79917 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79920 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79922 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79923 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79924 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79925 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79926 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79927
79928 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79929
79930 2011-10-25 Andreas Schwab <schwab@redhat.com>
79931
79932 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79933 condition.
79934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79935
79936 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79937
79938 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79939 .text section. Avoid duplicate constants.
79940 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79942 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79948 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79949 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79950 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79951 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79952 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79953 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79954 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79956 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79957 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79960 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79961 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79962 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79964 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79965 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79966 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79968 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79969 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79971 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79973 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79974 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79975 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79976 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79978 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79979 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79980 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79981 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79982 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79983 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79984 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79985
79986 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79987
79988 * sysdeps/x86_64/dla.h: Move to ...
79989 * sysdeps/x86_64/fpu/dla.h: ...here.
79990 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79991 situations. Use __builtin_fma only for gcc 4.6 and up.
79992
79993 * config.make.in: Add have-mfma4 entry.
79994 * configure.in: Substitute libc_cv_cc_fma4.
79995 * math/Makefile (dbl-only-routines): Add sincostab.
79996 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79997 Use __sincostab not sincos.
79998 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79999 name is a macro.
80000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80004 using __copysign.
80005 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80006 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80007 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80008 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80009 and __inv.
80010 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80011 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80012 __copysign.
80013 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80014 define aliases when function name is a macro.
80015 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80016 sysdeps/ieee754/dbl-64/sincos.tbl.
80017 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80018 fma4-enabled routines.
80019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80020 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80021 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80022 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80024 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80026 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80029 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80030 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80031 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80032 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80033 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80034 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80035 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80036 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80037 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80038 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80039 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80040 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80041 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80044 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80049
80050 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80051 rename.
80052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80060
80061 2011-10-24 Andreas Schwab <schwab@redhat.com>
80062
80063 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80064
80065 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80066
80067 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80068
80069 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80070 prediction.
80071 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80072
80073 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80074 Remove unused variable magic_bits.
80075 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80076
80077 * string/strnlen.c: Define and use STRNLEN macro.
80078 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80079 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80081 * wcsmbs/wcslen.c: Define and use WCSLEN.
80082 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80083 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80084 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80085 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80086 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80087 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80089
80090 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80091
80092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80093 strnlen-sse2-no-bsf.
80094 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80096 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80097 Add strnlen support.
80098 (USE_AS_STRNLEN): New macro.
80099 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80101 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80102 * sysdeps/x86_64/wcslen.S: New file.
80103
80104 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80105
80106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80107 XMM-moves are used for copying on small sizes.
80108
80109 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80110
80111 * wcsmbs/Makefile (strop-tests): Add wcschr.
80112 * wcsmbs/test-wcschr.c: New file.
80113 * string/test-strchr.c: Update.
80114 Add wcschr support.
80115 (WIDE): New macro.
80116
80117 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80118
80119 * wcsmbs/Makefile (strop-tests): Add wcslen.
80120 * wcsmbs/test-wcslen.c: New file.
80121 * string/test-strlen.c: Update.
80122 Add wcslen support.
80123 (WIDE): New macro.
80124
80125 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80126
80127 * po/it.po: Update from translation team.
80128
80129 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80130
80131 * sysdeps/x86_64/wcscmp.S: Update.
80132 Fix wrong comparison semantics.
80133 wcscmp shall use signed comparison not unsigned.
80134 Don't use substraction to avoid overflow bug.
80135 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80136 * wcsmbc/wcscmp.c: Likewise.
80137 * string/test-strcmp.c: Likewise.
80138 Add new tests to check cases with negative values.
80139
80140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80141
80142 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80143 * sysdeps/x86_64/dla.h: ...here. New file.
80144 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80153
80154 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80155
80156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80157 __ynl_finite aliases.
80158
80159 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80160
80161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80162
80163 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80164 define DLA_FMA.
80165 [DLA_FMA] (EMULV): Use DLA_FMA.
80166 [DLA_FMA] (MUL12): Use EMULV.
80167 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80168 that are not needed.
80169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80176
80177 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80178
80179 * math/s_nan.c: Undef __nan.
80180 * math/s_nanf.c: Undef __nanf.
80181 * math/s_nanl.c: Undef __nanl.
80182 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80183 "math_private.h".
80184
80185 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80186
80187 * math/s_catan.c: Add branch predictions.
80188 * math/s_catanf.c: Likewise.
80189 * math/s_catanh.c: Likewise.
80190 * math/s_catanhf.c: Likewise.
80191 * math/s_catanhl.c: Likewise.
80192 * math/s_catanl.c: Likewise.
80193 * math/s_cexp.c: Likewise.
80194 * math/s_cexpf.c: Likewise.
80195 * math/s_cexpl.c: Likewise.
80196 * math/s_clog.c: Likewise.
80197 * math/s_clog10.c: Likewise.
80198 * math/s_clog10f.c: Likewise.
80199 * math/s_clog10l.c: Likewise.
80200 * math/s_clogf.c: Likewise.
80201 * math/s_clogl.c: Likewise.
80202 * math/s_csqrt.c: Likewise.
80203 * math/s_csqrtf.c: Likewise.
80204 * math/s_csqrtl.c: Likewise.
80205 * math/s_ctanf.c: Likewise.
80206 * math/s_ctanh.c: Likewise.
80207 * math/s_ctanhf.c: Likewise.
80208 * math/s_ctanhl.c: Likewise.
80209 * math/s_ctanl.c: Likewise.
80210
80211 * math/math_private.h: Define __nan, __nanf, __nanl.
80212 * math/s_cacosh.c: Include <math_private.h>.
80213 * math/s_cacoshl.c: Likewise.
80214 * math/s_casinh.c: Likewise.
80215 * math/s_casinhf.c: Likewise.
80216 * math/s_casinhl.c: Likewise.
80217 * math/s_ccos.c: Rely entire on ccosh.
80218 * math/s_ccosf.c: Rely entire on ccoshf.
80219 * math/s_ccosl.c: Rely entirely on ccoshl.
80220 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80221 Remove tests for FE_INVALID.
80222 * math/s_ccoshf.c: Likewise.
80223 * math/s_ccoshl.c: Likewise.
80224 * math/s_csin.c: Likewise.
80225 * math/s_csinf.c: Likewise.
80226 * math/s_csinh.c Likewise.
80227 * math/s_csinhf.c: Likewise.
80228 * math/s_csinhl.c: Likewise.
80229 * math/s_csinl.c: Likewise.
80230 * math/s_ctan.c: Likewise.
80231 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80232 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80234
80235 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80236
80237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80238 compilation problems.
80239
80240 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80241 __builtin_expect.
80242
80243 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80244
80245 * sysdeps/i386/configure.in: Test for -mfma4 option.
80246 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80247 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80248 COMMON_CPUID_INDEX_80000001.
80249 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80250 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80251 use it if FMA3 is not supported.
80252 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80253
80254 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80256
80257 2011-10-20 Andreas Schwab <schwab@redhat.com>
80258
80259 [BZ #12892]
80260 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80261 it would create a cycle with a link time dependency.
80262
80263 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80264
80265 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80266 instruction.
80267 * string/Makefile (strop-tests): Add rawmemchr.
80268 * string/test-rawmemchr.c: New file.
80269
80270 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80272 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80273 when compiling str{,n}casecmp and when AVX is available. Hook up
80274 new optimized code in initializers.
80275
80276 2011-10-19 Andreas Schwab <schwab@redhat.com>
80277
80278 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80279 __feraiseexcept instead of feraiseexcept.
80280
80281 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80282
80283 * math/math_private.h: Define defaults for libc_fetestexcept and
80284 libc_feupdateenv.
80285 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80286 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80287 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80288 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80289 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80290 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80291 libc_fetestexcept and libc_feupdateenv.
80292
80293 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80294 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80295 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80296 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80297 libc_feholdexcept_setround.
80298
80299 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80300 Add s_nearbyint-c and s_nearbyintf-c.
80301 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80302 nearbyintf inlines.
80303 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80304 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80305 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80306 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80307
80308 * math/math_private.h: Define defaults for libc_fegetround,
80309 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80310 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80311 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80313 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80314 standard functions.
80315 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80316 Remove comments and hacks for old compiler versions.
80317 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80318 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80319 libc_feholdexceptl.
80320
80321 2011-10-18 Andreas Schwab <schwab@redhat.com>
80322
80323 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80324 (__feraiseexcept_renamed): Add __NTH.
80325 (feraiseexcept): Add __NTH. Rename local variables to fix
80326 namespace violations.
80327
80328 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80329
80330 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80331
80332 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80333
80334 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80335 recently added interfaces.
80336 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80337
80338 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80339 about macro parameter expansion.
80340
80341 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80342 __NO_MATH_INLINES is defined. Cleanups.
80343
80344 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80345 and __floorf is target has SSE4.1.
80346 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80347 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80348 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80349 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80350
80351 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80352 name.
80353 (floorf): Likewise.
80354
80355 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80356
80357 2011-10-17 Andreas Schwab <schwab@redhat.com>
80358
80359 * misc/sys/cdefs.h: Fix last change.
80360
80361 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80362 database lookup.
80363
80364 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80365
80366 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80367
80368 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80374 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80375 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80376 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80377 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80378 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80379 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80380 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80381 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80382 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80383 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80384 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80385 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80386 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80387 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80388 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80389 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80390
80391 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80392 ceil, ceilf, floor, floorf.
80393
80394 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80395 Perform IRELATIVE relocations last.
80396
80397 * elf/do-rel.h: Add another parameter nrelative, replacing the
80398 local variable with the same name. Change name of the function
80399 to end in Rel or Rela (uppercase).
80400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80401 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80402 elf_dynamic_do_##reloc function.
80403
80404 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80405
80406 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80407 is sufficient, at least on modern CPUs.
80408
80409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80410
80411 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80412 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80413
80414 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80415 __expl_finite.
80416 * math/bits/math-finite.h: Add entries for exp.
80417 * math/e_expl.c: Add __*_finite alias.
80418 * sysdeps/i386/fpu/e_exp.S: Likewise.
80419 * sysdeps/i386/fpu/e_expf.S: Likewise.
80420 * sysdeps/i386/fpu/e_expl.c: Likewise.
80421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80422 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80425 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80426 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80427 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80428
80429 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80430 is sufficient, at least on modern CPUs.
80431
80432 * ctype/ctype-info.c (__ctype_init): Define.
80433 * include/ctype.h (__ctype_init): Declare.
80434 (__ctype_b_loc): The variable is always initialized.
80435 (__ctype_toupper_loc): Likewise.
80436 (__ctype_tolower_loc): Likewise.
80437 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80438 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80439
80440 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80441
80442 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80443
80444 * configure.in: Also look in $cxxmachine/include for C++ system
80445 headers.
80446
80447 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80448
80449 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80450 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80451 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80452 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80454 (USE_AS_WMEMCMP): New macro.
80455 Fixing indents.
80456 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80457 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80458 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80459 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80461 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80462 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80464 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80465 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80466 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80467 (USE_AS_WMEMCMP): New macro.
80468 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80469 * sysdeps/string/test-memcmp.c: Update.
80470 Fix simple_wmemcmp.
80471 Add new tests.
80472 * wcsmbs/wmemcmp.c: Update.
80473 (WMEMCMP): New macro.
80474 Fix overflow bug.
80475
80476 2011-10-12 Andreas Jaeger <aj@suse.de>
80477
80478 [BZ #13268]
80479 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80480
80481 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80482
80483 * libio/iofwide.c (do_length): Avoid warning.
80484
80485 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80486
80487 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80488
80489 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80490
80491 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80492 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80493 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80494 * sysdeps/i386/i686/fpu/e_log.S: New file.
80495 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80496 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80497
80498 * ctype/ctype.h: Add support for inlined isXXX functions when
80499 compiling C++ code.
80500
80501 2011-10-14 Andreas Schwab <schwab@redhat.com>
80502
80503 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80504
80505 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80506
80507 2011-10-13 Roland McGrath <roland@hack.frob.com>
80508
80509 [BZ #13291]
80510 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80511
80512 2011-10-13 Andreas Schwab <schwab@redhat.com>
80513
80514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80515 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80516 feraiseexcept.
80517
80518 * sysdeps/x86_64/memrchr.S: Check for zero size.
80519
80520 * string/stratcliff.c: Add memrchr tests.
80521
80522 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80523
80524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80525 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80526 rawmemchr-sse2 rawmemchr-sse2-bsf.
80527 * sysdeps/i386/i686/multiarch/memchr.S: New file.
80528 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80529 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80530 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80531 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80532 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80533 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80534 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80535 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80536 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80537 * string/memrchr.c (MEMRCHR): New macro.
80538
80539 2011-10-12 Ulrich Drepper <drepper@gmail.com>
80540
80541 Add integration with gcc's -ffinite-math-only and optimize wrapper
80542 functions in libm.
80543 * Versions.def: Define GLIBC_2.15 version for libm.
80544 * math/Makefile (headers): Add bits/math-finite.h.
80545 * math/bits/math-finite.h: New file.
80546 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80547 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80548 * math/e_acoshl.c: Add __*_finite alias.
80549 * math/e_acosl.c: Likewise.
80550 * math/e_asinl.c: Likewise.
80551 * math/e_atan2l.c: Likewise.
80552 * math/e_atanhl.c: Likewise.
80553 * math/e_coshl.c: Likewise.
80554 * math/e_exp10.c: Likewise.
80555 * math/e_exp10f.c: Likewise.
80556 * math/e_exp10l.c: Likewise.
80557 * math/e_exp2l.c: Likewise.
80558 * math/e_fmodl.c: Likewise.
80559 * math/e_gammal_r.c: Likewise.
80560 * math/e_hypotl.c: Likewise.
80561 * math/e_j0l.c: Likewise.
80562 * math/e_j1l.c: Likewise.
80563 * math/e_jnl.c: Likewise.
80564 * math/e_lgammal_r.c: Likewise.
80565 * math/e_log10l.c: Likewise.
80566 * math/e_log2l.c: Likewise.
80567 * math/e_logl.c: Likewise.
80568 * math/e_powl.c: Likewise.
80569 * math/e_sinhl.c: Likewise.
80570 * math/e_sqrtl.c: Likewise.
80571 * math/e_scalb.c: Completely rewritten and optimized.
80572 * math/e_scalbf.c: Likewise.
80573 * math/e_scalbl.c: Likewise.
80574 * math/w_acos.c: Likewise.
80575 * math/w_acosf.c: Likewise.
80576 * math/w_acosl.c: Likewise.
80577 * math/w_acosh.c: Likewise.
80578 * math/w_acoshf.c: Likewise.
80579 * math/w_acoshl.c: Likewise.
80580 * math/w_asin.c: Likewise.
80581 * math/w_asinf.c: Likewise.
80582 * math/w_asinl.c: Likewise.
80583 * math/w_atan2.c: Likewise.
80584 * math/w_atan2f.c: Likewise.
80585 * math/w_atan2l.c: Likewise.
80586 * math/w_atanh.c: Likewise.
80587 * math/w_atanhf.c: Likewise.
80588 * math/w_atanhl.c: Likewise.
80589 * math/w_exp10.c: Likewise.
80590 * math/w_exp10f.c: Likewise.
80591 * math/w_exp10l.c: Likewise.
80592 * math/w_fmod.c: Likewise.
80593 * math/w_fmodf.c: Likewise.
80594 * math/w_fmodl.c: Likewise.
80595 * math/w_j0.c: Likewise.
80596 * math/w_j0f.c: Likewise.
80597 * math/w_j0l.c: Likewise.
80598 * math/w_j1.c: Likewise.
80599 * math/w_j1f.c: Likewise.
80600 * math/w_j1l.c: Likewise.
80601 * math/w_jn.c: Likewise.
80602 * math/w_jnf.c: Likewise.
80603 * math/w_log.c: Likewise.
80604 * math/w_logf.c: Likewise.
80605 * math/w_logl.c: Likewise.
80606 * math/w_log10.c: Likewise.
80607 * math/w_log10f.c: Likewise.
80608 * math/w_log10l.c: Likewise.
80609 * math/w_log2.c: Likewise.
80610 * math/w_log2f.c: Likewise.
80611 * math/w_log2l.c: Likewise.
80612 * math/w_pow.c: Likewise.
80613 * math/w_powf.c: Likewise.
80614 * math/w_powl.c: Likewise.
80615 * math/w_remainder.c: Likewise.
80616 * math/w_remainderf.c: Likewise.
80617 * math/w_remainderl.c: Likewise.
80618 * math/w_scalb.c: Likewise.
80619 * math/w_scalbf.c: Likewise.
80620 * math/w_scalbl.c: Likewise.
80621 * math/w_sqrt.c: Likewise.
80622 * math/w_sqrtf.c: Likewise.
80623 * math/w_sqrtl.c: Likewise.
80624 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80625 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80626 used.
80627 * math/math_private.h: Declare __kernel_standard_f.
80628 * math/w_cosh.c: Remove cruft and optimize a bit.
80629 * math/w_coshf.c: Likewise.
80630 * math/w_coshl.c: Likewise.
80631 * math/w_exp2.c: Likewise.
80632 * math/w_exp2f.c: Likewise.
80633 * math/w_exp2l.c: Likewise.
80634 * math/w_hypot.c: Likewise.
80635 * math/w_hypotf.c: Likewise.
80636 * math/w_hypotl.c: Likewise.
80637 * math/w_lgamma.c: Likewise.
80638 * math/w_lgamma_r.c: Likewise.
80639 * math/w_lgammaf.c: Likewise.
80640 * math/w_lgammaf_r.c: Likewise.
80641 * math/w_lgammal.c: Likewise.
80642 * math/w_lgammal_r.c: Likewise.
80643 * math/w_sinh.c: Likewise.
80644 * math/w_sinhf.c: Likewise.
80645 * math/w_sinhl.c: Likewise.
80646 * math/w_tgamma.c: Likewise.
80647 * math/w_tgammaf.c: Likewise.
80648 * math/w_tgammal.c: Likewise.
80649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80651 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80652 Minor optimizations. Pretty printing. Remove cruft.
80653 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80654 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80655 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80656 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80657 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80658 * sysdeps/i386/fpu/e_asin.S: Likewise.
80659 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80660 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80661 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80662 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80663 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80664 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80665 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80666 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80667 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80668 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80669 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80670 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80671 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80672 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80673 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80674 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80675 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80676 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80677 * sysdeps/i386/fpu/e_log.S: Likewise.
80678 * sysdeps/i386/fpu/e_log10.S: Likewise.
80679 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80681 * sysdeps/i386/fpu/e_log2.S: Likewise.
80682 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80683 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80684 * sysdeps/i386/fpu/e_logf.S: Likewise.
80685 * sysdeps/i386/fpu/e_logl.S: Likewise.
80686 * sysdeps/i386/fpu/e_pow.S: Likewise.
80687 * sysdeps/i386/fpu/e_powf.S: Likewise.
80688 * sysdeps/i386/fpu/e_powl.S: Likewise.
80689 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80690 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80691 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80692 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80693 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80695 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80696 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80697 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80698 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80699 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80701 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80702 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80703 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80704 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80705 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80707 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80708 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80709 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80712 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80714 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80715 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80719 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80722 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80723 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80725 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80726 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80727 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80732 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80733 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80734 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80735 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80736 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80738 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80739 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80740 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80741 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80743 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80744 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80745 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80746 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80747 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80748 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80753 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80754 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80755 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80756 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80757 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80758 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80763 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80769 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80772 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80774 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80779 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80782 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80783 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80784 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80785 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80786 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80787 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80791 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80793 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80794 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80795 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80796 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80797 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80798 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80799 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80800 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80801 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80802 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80804 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80806 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80808 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80809 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80810 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80811 (__isnanf): Likewise.
80812 (__isinf_ns): Likewise.
80813 (__isinf_nsf): Likewise.
80814 (__finite): Likewise.
80815 (__finitef): Likewise.
80816 (__ieee754_sqrt): Define as macro.
80817 (__ieee754_sqrtf): Define as macro.
80818 (__ieee754_sqrtl): Define as macro.
80819 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80820 inlined copy.
80821 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80822 __FINITE_MATH_ONLY__ consistent.
80823 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80824
80825 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80826
80827 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80828 of rawmemchr.
80829
80830 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80831
80832 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80833
80834 * po/ja.po: Update from translation team.
80835
80836 2011-10-08 Roland McGrath <roland@hack.frob.com>
80837
80838 * locale/programs/locarchive.c (prepare_address_space): New function.
80839 (create_archive, enlarge_archive, open_archive): Use it.
80840
80841 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80842 inside [SHARED], where it is used.
80843
80844 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80845
80846 * nss/getent.c (netgroup_keys): Remove unused variable.
80847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80848
80849 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80850
80851 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80852 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80854 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80855 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80856 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80857 * math/Makefile (libm-calls): Add s_isinf_ns.
80858 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80859 * math/multc3.c: Likewise.
80860 * math/s_casin.c: Likewise.
80861 * math/s_casinf.c: Likewise.
80862 * math/s_casinl.c: Likewise.
80863 * math/s_ccos.c: Likewise.
80864 * math/s_ccosf.c: Likewise.
80865 * math/s_ccosl.c: Likewise.
80866 * math/s_ctan.c: Likewise.
80867 * math/s_ctanf.c: Likewise.
80868 * math/s_ctanh.c: Likewise.
80869 * math/s_ctanhf.c: Likewise.
80870 * math/s_ctanhl.c: Likewise.
80871 * math/s_ctanl.c: Likewise.
80872 * math/w_fmod.c: Likewise.
80873 * math/w_fmodf.c: Likewise.
80874 * math/w_fmodl.c: Likewise.
80875 * math/w_remainder.c: Likewise.
80876 * math/w_remainderf.c: Likewise.
80877 * math/w_remainderl.c: Likewise.
80878 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80879 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80882 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80883 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80884 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80885 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80886
80887 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80888 of the number.
80889 * stdio-common/printf_fphex.c: Likewise.
80890 * stdio-common/printf_size.c: Likewise.
80891
80892 * math/e_exp10.c: Include math_private.h using <...> not "...".
80893 * math/e_exp10f.c: Likewise.
80894 * math/e_exp10l.c: Likewise.
80895 * math/e_exp2l.c: Likewise.
80896 * math/e_j0l.c: Likewise.
80897 * math/e_j1l.c: Likewise.
80898 * math/e_jnl.c: Likewise.
80899 * math/e_lgammal_r.c: Likewise.
80900 * math/e_rem_pio2l.c: Likewise.
80901 * math/e_scalb.c: Likewise.
80902 * math/e_scalbf.c: Likewise.
80903 * math/e_scalbl.c: Likewise.
80904 * math/k_cosl.c: Likewise.
80905 * math/k_sinl.c: Likewise.
80906 * math/k_tanl.c: Likewise.
80907 * math/s_cacoshf.c: Likewise.
80908 * math/s_catan.c: Likewise.
80909 * math/s_catanf.c: Likewise.
80910 * math/s_catanh.c: Likewise.
80911 * math/s_catanhf.c: Likewise.
80912 * math/s_catanhl.c: Likewise.
80913 * math/s_catanl.c: Likewise.
80914 * math/s_ccosh.c: Likewise.
80915 * math/s_ccoshf.c: Likewise.
80916 * math/s_ccoshl.c: Likewise.
80917 * math/s_cexp.c: Likewise.
80918 * math/s_cexpf.c: Likewise.
80919 * math/s_cexpl.c: Likewise.
80920 * math/s_clog.c: Likewise.
80921 * math/s_clog10.c: Likewise.
80922 * math/s_clog10f.c: Likewise.
80923 * math/s_clog10l.c: Likewise.
80924 * math/s_clogf.c: Likewise.
80925 * math/s_clogl.c: Likewise.
80926 * math/s_csin.c: Likewise.
80927 * math/s_csinf.c: Likewise.
80928 * math/s_csinh.c: Likewise.
80929 * math/s_csinhf.c: Likewise.
80930 * math/s_csinhl.c: Likewise.
80931 * math/s_csinl.c: Likewise.
80932 * math/s_csqrt.c: Likewise.
80933 * math/s_csqrtf.c: Likewise.
80934 * math/s_csqrtl.c: Likewise.
80935 * math/s_ctan.c: Likewise.
80936 * math/s_ctanf.c: Likewise.
80937 * math/s_ctanh.c: Likewise.
80938 * math/s_ctanhf.c: Likewise.
80939 * math/s_ctanhl.c: Likewise.
80940 * math/s_ctanl.c: Likewise.
80941 * math/s_ldexp.c: Likewise.
80942 * math/s_ldexpf.c: Likewise.
80943 * math/s_ldexpl.c: Likewise.
80944 * math/s_significand.c: Likewise.
80945 * math/s_significandf.c: Likewise.
80946 * math/s_significandl.c: Likewise.
80947 * math/w_acos.c: Likewise.
80948 * math/w_acosf.c: Likewise.
80949 * math/w_acosh.c: Likewise.
80950 * math/w_acoshf.c: Likewise.
80951 * math/w_acoshl.c: Likewise.
80952 * math/w_acosl.c: Likewise.
80953 * math/w_asin.c: Likewise.
80954 * math/w_asinf.c: Likewise.
80955 * math/w_asinl.c: Likewise.
80956 * math/w_atan2.c: Likewise.
80957 * math/w_atan2f.c: Likewise.
80958 * math/w_atan2l.c: Likewise.
80959 * math/w_atanh.c: Likewise.
80960 * math/w_atanhf.c: Likewise.
80961 * math/w_atanhl.c: Likewise.
80962 * math/w_cosh.c: Likewise.
80963 * math/w_coshf.c: Likewise.
80964 * math/w_coshl.c: Likewise.
80965 * math/w_dremf.c: Likewise.
80966 * math/w_exp10.c: Likewise.
80967 * math/w_exp10f.c: Likewise.
80968 * math/w_exp10l.c: Likewise.
80969 * math/w_exp2.c: Likewise.
80970 * math/w_exp2f.c: Likewise.
80971 * math/w_fmod.c: Likewise.
80972 * math/w_fmodf.c: Likewise.
80973 * math/w_fmodl.c: Likewise.
80974 * math/w_hypot.c: Likewise.
80975 * math/w_hypotf.c: Likewise.
80976 * math/w_hypotl.c: Likewise.
80977 * math/w_j0.c: Likewise.
80978 * math/w_j0f.c: Likewise.
80979 * math/w_j0l.c: Likewise.
80980 * math/w_j1.c: Likewise.
80981 * math/w_j1f.c: Likewise.
80982 * math/w_j1l.c: Likewise.
80983 * math/w_jn.c: Likewise.
80984 * math/w_jnf.c: Likewise.
80985 * math/w_jnl.c: Likewise.
80986 * math/w_lgamma.c: Likewise.
80987 * math/w_lgamma_r.c: Likewise.
80988 * math/w_lgammaf.c: Likewise.
80989 * math/w_lgammaf_r.c: Likewise.
80990 * math/w_lgammal.c: Likewise.
80991 * math/w_lgammal_r.c: Likewise.
80992 * math/w_log.c: Likewise.
80993 * math/w_log10.c: Likewise.
80994 * math/w_log10f.c: Likewise.
80995 * math/w_log10l.c: Likewise.
80996 * math/w_log2.c: Likewise.
80997 * math/w_log2f.c: Likewise.
80998 * math/w_log2l.c: Likewise.
80999 * math/w_logf.c: Likewise.
81000 * math/w_logl.c: Likewise.
81001 * math/w_pow.c: Likewise.
81002 * math/w_powf.c: Likewise.
81003 * math/w_powl.c: Likewise.
81004 * math/w_remainder.c: Likewise.
81005 * math/w_remainderf.c: Likewise.
81006 * math/w_remainderl.c: Likewise.
81007 * math/w_scalb.c: Likewise.
81008 * math/w_scalbf.c: Likewise.
81009 * math/w_scalbl.c: Likewise.
81010 * math/w_sinh.c: Likewise.
81011 * math/w_sinhf.c: Likewise.
81012 * math/w_sinhl.c: Likewise.
81013 * math/w_sqrt.c: Likewise.
81014 * math/w_sqrtf.c: Likewise.
81015 * math/w_sqrtl.c: Likewise.
81016 * math/w_tgamma.c: Likewise.
81017 * math/w_tgammaf.c: Likewise.
81018 * math/w_tgammal.c: Likewise.
81019
81020 * po/ja.po: Update from translation team.
81021
81022 2011-09-29 Andreas Jaeger <aj@suse.de>
81023
81024 [BZ #13179]
81025 * sunrpc/netname.c (netname2host): Fix logic.
81026
81027 [BZ #6779]
81028 [BZ #6783]
81029 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81030 correctly.
81031 * math/w_remainder.c (__remainder): Likewise.
81032 * math/w_remainderf.c (__remainderf): Likewise.
81033 * math/libm-test.inc (remainder_test): Add test cases.
81034
81035 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81036
81037 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81038 sdiv_qrnnd.
81039
81040 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81041
81042 * string/test-memcmp.c: Avoid unncessary #defines.
81043 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81044
81045 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81046
81047 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81048 Use new sse2 version for core i3 - i7 as it's faster
81049 than sse42 version.
81050 (bit_Prefer_PMINUB_for_stringop): New.
81051 * sysdeps/x86_64/rawmemchr.S: Update.
81052 Replace with faster SSE2 version.
81053 * sysdeps/x86_64/memrchr.S: New file.
81054 * sysdeps/x86_64/memchr.S: Update.
81055 Replace with faster SSE2 version.
81056
81057 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81058
81059 * elf/dl-load.c (lose): Add cast to avoid warning.
81060
81061 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81062
81063 * po/ca.po: Update from translation team.
81064
81065 * inet/getnetgrent_r.c: Hook up nscd.
81066 * nscd/Makefile (routines): Add nscd_netgroup.
81067 (nscd-modules): Add netgroupcache.
81068 (CFLAGS-netgroupcache.c): Define.
81069 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81070 (cache_search): Add const to second parameter.
81071 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81072 INNETGR.
81073 (dbs): Add netgrdb entry.
81074 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81075 (verify_persistent_db): Handle netgrdb.
81076 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81077 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81078 GETFDNETGR.
81079 (netgroup_response_header): Define.
81080 (innetgroup_response_header): Define.
81081 (datahead): Add netgroup_response_header and innetgroup_response_header
81082 elements.
81083 * nscd/nscd.conf: Add entries for netgroup cache.
81084 * nscd/nscd.h (dbtype): Add netgrdb.
81085 (_PATH_NSCD_NETGROUP_DB): Define.
81086 (netgroup_iov_disabled): Declare.
81087 (xmalloc, xcalloc, xrealloc): Move declarations here.
81088 (cache_search): Adjust prototype.
81089 Add netgroup-related prototypes.
81090 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81091 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81092 (__nscd_innetgr): Declare.
81093 * nscd/selinux.c (perms): Use access_vector_t as element type and
81094 add netgroup-related initializers.
81095 * nscd/netgroupcache.c: New file.
81096 * nscd/nscd_netgroup.c: New file.
81097 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81098 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81099 For four parameters use innetgr.
81100 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81101 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81102 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81103 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81104
81105 * nscd/connections.c (register_traced_file): Don't register file
81106 for disabled databases.
81107
81108 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81109
81110 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81111
81112 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81113 from tree and freeing node.
81114
81115 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81116
81117 * nss/nsswitch.c (__nss_database_lookup): Handle
81118 nss_parse_service_list out of memory case.
81119
81120 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81121
81122 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81123 out of memory case.
81124
81125 2011-10-04 Andreas Schwab <schwab@redhat.com>
81126
81127 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81128 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81129 pass it down.
81130 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81131 elf_machine_rela, elf_machine_lazy_rel.
81132 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81133 (ELF_DYNAMIC_DO_REL): Likewise.
81134 (ELF_DYNAMIC_DO_RELA): Likewise.
81135 (ELF_DYNAMIC_RELOCATE): Likewise.
81136 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81137 to ELF_DYNAMIC_DO_REL.
81138 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81139 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81140 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81141 elf_machine_rela.
81142 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81143 skip_ifunc, don't call ifunc function if non-zero.
81144 (elf_machine_rela): Likewise.
81145 (elf_machine_lazy_rel): Likewise.
81146 (elf_machine_lazy_rela): Likewise.
81147 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81148 (elf_machine_lazy_rel): Likewise.
81149 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81150 Likewise.
81151 (elf_machine_lazy_rel): Likewise.
81152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81153 Likewise.
81154 (elf_machine_lazy_rel): Likewise.
81155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81156 (elf_machine_lazy_rel): Likewise.
81157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81158 (elf_machine_lazy_rel): Likewise.
81159 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81160 (elf_machine_lazy_rel): Likewise.
81161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81162 (elf_machine_lazy_rel): Likewise.
81163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81164 (elf_machine_lazy_rel): Likewise.
81165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81166 (elf_machine_lazy_rel): Likewise.
81167
81168 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81169
81170 * nss/nss_files/files-init.c (_nss_files_init): Use static
81171 initialization for all the *_traced_file variables.
81172
81173 2011-09-28 Andreas Schwab <schwab@redhat.com>
81174
81175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81176
81177 2011-09-27 Roland McGrath <roland@hack.frob.com>
81178
81179 [BZ #13226]
81180 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81181
81182 2011-09-27 Andreas Schwab <schwab@redhat.com>
81183
81184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81185 Reread the line before reparsing it.
81186
81187 2011-09-26 Andreas Schwab <schwab@redhat.com>
81188
81189 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81190
81191 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81192 Maxim Kuvyrkov <maxim@codesourcery.com>
81193 Joseph Myers <joseph@codesourcery.com>
81194
81195 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81196 if needed for __stack_chk_guard.
81197
81198 2011-09-19 Roland McGrath <roland@hack.frob.com>
81199
81200 * sysdeps/posix/spawni.c (script_execute): Always define it.
81201 It will be optimized away if unused.
81202 (maybe_script_execute): New function.
81203 (__spawni): Call it.
81204
81205 * Makerules: Don't include tls.make.
81206 (config-tls): Always set to thread.
81207 * tls.make.c: File removed.
81208
81209 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81210
81211 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81212 * config.make.in (CPPFLAGS-config): New substituted variable.
81213
81214 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81215
81216 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81217
81218 [BZ #13192]
81219 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81220 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81221
81222 2011-09-15 Roland McGrath <roland@hack.frob.com>
81223
81224 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81225 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81227 (CALL_FAIL): Likewise.
81228 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81229 (CALL_FAIL): Macro removed.
81230 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81231
81232 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81233
81234 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81235 for __FINITE_MATH_ONLY__ == 1.
81236
81237 2011-09-15 Andreas Schwab <schwab@redhat.com>
81238
81239 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81240 __ieee754_sqrt instead of sqrt.
81241 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81242 __ieee754_sqrtf instead of sqrtf.
81243 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81244 __floorf instead of floorf.
81245 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81246 __floorf, __truncf instead of floorf, truncf.
81247
81248 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81249
81250 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81251
81252 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81253 __extern_always_inline.
81254 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81255 32-bit.
81256
81257 2011-09-14 Andreas Schwab <schwab@redhat.com>
81258
81259 * elf/rtld.c (dl_main): Also relocate in dependency order when
81260 doing symbol dependency testing.
81261
81262 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81263
81264 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81265 Always define `refsym'.
81266
81267 2011-09-13 Andreas Schwab <schwab@redhat.com>
81268
81269 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81270 (__FD_ELT): Renamed from __FDELT.
81271 * misc/bits/select2.h (__FD_ELT): Likewise.
81272 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81273 __FD_MASK instead of __FDELT, __FDMASK.
81274 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81275 Likewise.
81276 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81277 Likewise.
81278
81279 * elf/Makefile (gen-ldd): Fix pattern.
81280
81281 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81282 (init_tls): Likewise.
81283
81284 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81285
81286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81287
81288 2011-09-12 Andreas Schwab <schwab@redhat.com>
81289
81290 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81291 `struct cmsghdr *' instead of `void *'.
81292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81293 Likewise.
81294
81295 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81296
81297 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81298 if non-absolute.
81299 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81300 ldd_rewrite_script.
81301
81302 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81303
81304 * configure.in: Remove --with-tls option.
81305 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81306 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81307 out in case it is missing.
81308 * sysdeps/ia64/elf/configure.in: Likewise.
81309 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81310 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81311 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81312 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81313 * sysdeps/sh/elf/configure.in: Likewise.
81314 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81315 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81316 * sysdeps/x86_64/elf/configure.in: Likewise.
81317 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81318 * sysdeps/mach/hurd/tls.h: Likewise.
81319
81320 [BZ #13067]
81321 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81322
81323 [BZ #13090]
81324 * configure.in: Fix use of AC_INIT.
81325
81326 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81327
81328 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81329
81330 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81331 __set_errno.
81332 * malloc/hooks.c: Likewise.
81333
81334 [BZ #11929]
81335 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81336 variables statically.
81337 (narenas): Initialize.
81338 (list_lock): Initialize.
81339 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81340 initializtion of main_arena and list_lock. Small cleanups.
81341 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81342 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81343 Add initializers to main_arena and mp_.
81344 (malloc_state): Remove pagesize member. Change all users to use
81345 GLRO(dl_pagesize).
81346
81347 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81348 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81349 is always initialized.
81350
81351 * malloc/malloc.c: Removed unused configurations and dead code.
81352 * malloc/arena.c: Likewise.
81353 * malloc/hooks.c: Likewise.
81354 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81355
81356 * include/tls.h: Removed. USE___THREAD must always be defined.
81357 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81358 * elf/dl-libc.c: Likewise.
81359 * elf/dl-tsd.c: Likewise.
81360 * include/errno.h: Likewise.
81361 * include/netdb.h: Likewise.
81362 * include/resolv.h: Likewise.
81363 * inet/herrno-loc.c: Likewise.
81364 * inet/herrno.c: Likewise.
81365 * malloc/arena.c: Likewise.
81366 * malloc/hooks.c: Likewise.
81367 * malloc/malloc.c: Likewise.
81368 * resolv/res-state.c: Likewise.
81369 * resolv/res_libc.c: Likewise.
81370 * sysdeps/i386/dl-machine.h: Likewise.
81371 * sysdeps/ia64/dl-machine.h: Likewise.
81372 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81373 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81374 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81375 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81376 * sysdeps/sh/dl-machine.h: Likewise.
81377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81378 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81379 * sysdeps/unix/i386/sysdep.S: Likewise.
81380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81381 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81386 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81391 * sysdeps/x86_64/dl-machine.h: Likewise.
81392 * tls.make.c: Likewise.
81393
81394 * configure.in: Remove --with-__thread option. Make tests for
81395 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81396 tls_model attribute fail if no support is available. Remove
81397 USE_IN_LIBIO.
81398 * Makeconfig: Adjust for dropped configure option. All features are
81399 now mandatory.
81400 * Makerules: Likewise.
81401 * Versions.def: Likewise.
81402 * argp/argp-fmtstream.c: Likewise.
81403 * argp/argp-fmtstream.h: Likewise.
81404 * argp/argp-help.c: Likewise.
81405 * assert/assert.c: Likewise.
81406 * config.h.in: Likewise.
81407 * config.make.in: Likewise.
81408 * configure: Likewise.
81409 * configure.in: Likewise.
81410 * csu/Versions: Likewise.
81411 * csu/init.c: Likewise.
81412 * elf/tst-audit2.c: Likewise.
81413 * elf/tst-tls10.c: Likewise.
81414 * elf/tst-tls10.h: Likewise.
81415 * elf/tst-tls11.c: Likewise.
81416 * elf/tst-tls12.c: Likewise.
81417 * elf/tst-tls14.c: Likewise.
81418 * elf/tst-tlsmod11.c: Likewise.
81419 * elf/tst-tlsmod12.c: Likewise.
81420 * elf/tst-tlsmod13.c: Likewise.
81421 * elf/tst-tlsmod13a.c: Likewise.
81422 * elf/tst-tlsmod14a.c: Likewise.
81423 * elf/tst-tlsmod15b.c: Likewise.
81424 * elf/tst-tlsmod16a.c: Likewise.
81425 * elf/tst-tlsmod16b.c: Likewise.
81426 * elf/tst-tlsmod7.c: Likewise.
81427 * elf/tst-tlsmod8.c: Likewise.
81428 * elf/tst-tlsmod9.c: Likewise.
81429 * gmon/gmon.c: Likewise.
81430 * grp/fgetgrent_r.c: Likewise.
81431 * grp/putgrent.c: Likewise.
81432 * hurd/fopenport.c: Likewise.
81433 * include/libc-symbols.h: Likewise.
81434 * include/tls.h: Likewise.
81435 * intl/gettextP.h: Likewise.
81436 * intl/loadinfo.h: Likewise.
81437 * locale/global-locale.c: Likewise.
81438 * locale/localeinfo.h: Likewise.
81439 * mach/devstream.c: Likewise.
81440 * malloc/arena.c: Likewise.
81441 * malloc/set-freeres.c: Likewise.
81442 * misc/err.c: Likewise.
81443 * misc/getttyent.c: Likewise.
81444 * misc/mntent_r.c: Likewise.
81445 * posix/getopt.c: Likewise.
81446 * posix/wordexp.c: Likewise.
81447 * pwd/fgetpwent_r.c: Likewise.
81448 * resolv/Versions: Likewise.
81449 * resolv/res_hconf.c: Likewise.
81450 * shadow/fgetspent_r.c: Likewise.
81451 * shadow/putspent.c: Likewise.
81452 * stdio-common/printf_fphex.c: Likewise.
81453 * stdio-common/tmpfile.c: Likewise.
81454 * stdlib/abort.c: Likewise.
81455 * stdlib/fmtmsg.c: Likewise.
81456 * sunrpc/auth_unix.c: Likewise.
81457 * sunrpc/clnt_perr.c: Likewise.
81458 * sunrpc/clnt_tcp.c: Likewise.
81459 * sunrpc/clnt_udp.c: Likewise.
81460 * sunrpc/clnt_unix.c: Likewise.
81461 * sunrpc/openchild.c: Likewise.
81462 * sunrpc/svc_simple.c: Likewise.
81463 * sunrpc/svc_tcp.c: Likewise.
81464 * sunrpc/svc_udp.c: Likewise.
81465 * sunrpc/svc_unix.c: Likewise.
81466 * sunrpc/xdr.c: Likewise.
81467 * sunrpc/xdr_array.c: Likewise.
81468 * sunrpc/xdr_rec.c: Likewise.
81469 * sunrpc/xdr_ref.c: Likewise.
81470 * sunrpc/xdr_stdio.c: Likewise.
81471
81472 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81473
81474 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81475
81476 2011-07-03 Andreas Jaeger <aj@suse.de>
81477
81478 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81479 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81480 regenerate with gen-libm-tests.pl.
81481
81482 2010-05-12 Petr Baudis <pasky@suse.cz>
81483
81484 [BZ #11589]
81485 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81486 around j0() zero points by switching to j1().
81487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81491
81492 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81493
81494 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81495 instead of 0.
81496 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81497 instead of 0.
81498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81499 Patch in part by Pavel Roskin <proski@gnu.org>.
81500
81501 [BZ #13138]
81502 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81503 realloc.
81504 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81505 Free memory block if necessary.
81506
81507 [BZ #12847]
81508 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81509 be NULL. Don't lock in this case.
81510
81511 2011-09-09 Roland McGrath <roland@hack.frob.com>
81512
81513 * elf/elf.h (ELFOSABI_GNU): New macro.
81514 (ELFOSABI_LINUX): Define to that.
81515
81516 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
81517
81518 * string/strncat.c (strncat): Undef the symbol in case it has been
81519 defined in bits/string.h.
81520
81521 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81522
81523 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81524
81525 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81526 link map.
81527
81528 2011-08-17 Andreas Jaeger <aj@suse.de>
81529
81530 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81531
81532 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
81533 Ian Lance Taylor <iant@google.com>
81534
81535 * math/libm-test.inc (lround_test): New testcase.
81536 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81537
81538 2011-09-08 Ulrich Drepper <drepper@gmail.com>
81539
81540 * Makefile: Remove support for automatic cvs check-ins.
81541 * Makerules: Likewise.
81542 * config.make.in: Likewise.
81543 * configure.in: Likewise.
81544 * intl/Makefile: Likewise.
81545 * locale/Makefile: Likewise.
81546 * po/Makefile: Likewise.
81547 * posix/Makefile: Likewise.
81548 * sysdeps/gnu/Makefile: Likewise.
81549 * sysdeps/mach/hurd/Makefile: Likewise.
81550 * sysdeps/sparc/sparc32/Makefile: Likewise.
81551
81552 [BZ #13118]
81553 * posix/Makefile (bug-regex32-ENV): Define.
81554 Patch by John Stanley <jpsinthemix@verizon.net>.
81555
81556 * misc/Makefile (headers): Add bits/select2.h.
81557 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81558 * misc/bits/select2.h: New file.
81559 * include/bits/select2.h: New file.
81560 * debug/Makefile (routines): Add fdelt_chk.
81561 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81562 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81563 FD_ISSET.
81564 * debug/fdelt_chk.c: New file.
81565
81566 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81567 * wcsmbs/test-wmemcmp.c: Likewise.
81568 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81569 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81570
81571 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81572
81573 * string/Makefile (strop-tests): Add memcmp.
81574 * string/test-wmemcmp.c: New file.
81575 * string/test-memcmp.c: Add wmemcmp support.
81576
81577 2011-09-08 Roland McGrath <roland@hack.frob.com>
81578
81579 [BZ #13153]
81580 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81581 2011-07-19 change.
81582
81583 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81584 garbage value in a __mach_port_mod_refs call in the cases of the
81585 task-self and thread-self ports.
81586
81587 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81588
81589 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81590
81591 2011-09-08 Andreas Schwab <schwab@redhat.com>
81592
81593 * elf/dl-load.c (lose): Check for non-null L.
81594
81595 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81596
81597 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81598
81599 * elf/dl-libc.c (dlerror_run): Pass back error code from
81600 dl_catch_error.
81601
81602 [BZ #13123]
81603 * elf/dl-load.c (lose): Free l_origin if it is valid.
81604
81605 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81606 names.
81607 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81608 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81609 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81611 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81612 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81613
81614 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81615
81616 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81617 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81618 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81619 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81620 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81621 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81622 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81623 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81624 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81625 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81626
81627 2011-08-15 Alan Modra <amodra@gmail.com>
81628
81629 [BZ #13092]
81630 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81631 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81632 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81633 ppc_mcount to static-only-routines.
81634 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81635 __mcount_internal.
81636 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81637 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81638
81639 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81640
81641 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81642 for finite and infinity parameters.
81643
81644 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81645
81646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81647 and add nop instructions for throughput optimization.
81648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81649
81650 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81651
81652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81653 aligned copy for power7 with vector-scalar instructions.
81654 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81655
81656 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81657
81658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81659 AVX check.
81660
81661 2011-09-07 Andreas Schwab <schwab@redhat.com>
81662
81663 [BZ #13144]
81664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81665 last change.
81666
81667 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81668
81669 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81670 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81671 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81672 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81673 clock_gettime.
81674
81675 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81676
81677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81678 Forgot to demangle the pointer.
81679
81680 * sysdeps/i386/sysdep.h: Define atom_text_section.
81681 * sysdeps/x86_64/sysdep.h: Likewise.
81682 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81683 section with atom_text_section.
81684 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81686 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81687 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81688 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81689
81690 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81691 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81692 already be defined. Change to take two parameters and don't assign
81693 result to variable. Adjust all users.
81694 Define INTERNAL_GETTIME if not already defined.
81695 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81696 call.
81697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81698 HAVE_CLOCK_GETTIME_VSYSCALL.
81699 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81700
81701 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81702 gettimeofday vsyscall, just use time.
81703
81704 2011-09-06 Andreas Schwab <schwab@redhat.com>
81705
81706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81707 <errno.h>.
81708
81709 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81710
81711 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81712 syscall on x86-64.
81713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81714 syscall.
81715 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81717 syscall if possible.
81718
81719 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81720
81721 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81722 e_ident. Don't pass to find_mapsXX.
81723 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81724
81725 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81726
81727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81728 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81729 * sysdeps/x86_64/multiarch/strchr.S: Update.
81730 Check bit_slow_BSF bit.
81731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81732 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81734
81735 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81736
81737 [BZ #13134]
81738 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81739 before glibc 2.15.
81740 (tryshell): Define.
81741 (__spawni): Change last parameter to be flag. Test
81742 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81743 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81744 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81745 * posix/spawni.c: Likewise.
81746 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81747 * posix/spawnp.c: Likewise. Change normal version to use
81748 SPAWN_XFLAGS_USE_PATH.
81749 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81750 SPAWN_XFLAGS_TRY_SHELL.
81751
81752 [BZ #13150]
81753 * posix/glob.h: Remove gcc 1.x support.
81754
81755 [BZ #13068]
81756 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81757
81758 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81759
81760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81761 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81762 strrchr-sse2-bsf
81763 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81764 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81765 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81766 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81767 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81768 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81769
81770 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81771
81772 * sysdeps/x86_64/wcscmp.S: New file.
81773
81774 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81775 wcscmp-c wcscmp-sse2
81776 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81777 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81778 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81779 * wcsmbs/wcscmp.c: Allow renaming.
81780
81781 2011-09-05 David S. Miller <davem@davemloft.net>
81782
81783 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81784 stack slot, rather than the struct return pointer slot.
81785 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81786 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81788 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81789
81790 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81791
81792 * po/ja.po: Update from translation team.
81793
81794 [BZ #13144]
81795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81796 kernel in 64-bit binaries.
81797
81798 2011-09-01 David S. Miller <davem@davemloft.net>
81799
81800 * elf/elf.h (HWCAP_SPARC_*): Move to..
81801 * sysdeps/sparc/sysdep.h: this new file and add new values.
81802 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81803 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81804 _DL_HWCAP_COUNT to 24.
81805 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81806 entries.
81807 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81808 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81809 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81811 instead of magic constants.
81812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81813
81814 2011-08-31 David S. Miller <davem@davemloft.net>
81815
81816 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81818 Reimplement to do errno handling inline.
81819 (SYSCALL_ERROR_HANDLER): New macro.
81820 (__SYSCALL_STRING): Do not do errno handling in asm.
81821 (__CLONE_SYSCALL_STRING): Delete.
81822 (__INTERNAL_SYSCALL_STRING): Delete.
81823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81824 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81825 (PSEUDO): Reimplement to do errno handling inline.
81826 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81827 (SYSCALL_ERROR_HANDLER): New macro.
81828 (__SYSCALL_STRING): Do not do errno handling in asm.
81829 (__CLONE_SYSCALL_STRING): Delete.
81830 (__INTERNAL_SYSCALL_STRING): Delete.
81831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81832 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81833 i386.
81834 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81835 (inline_syscall*): Add 'err' argument.
81836 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81837 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81838 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81839 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81840
81841 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81842 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81843
81844 2011-08-30 Andreas Schwab <schwab@redhat.com>
81845
81846 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81847
81848 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81849
81850 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81851 directive.
81852
81853 2011-08-24 David S. Miller <davem@davemloft.net>
81854
81855 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81856
81857 2011-08-24 Andreas Schwab <schwab@redhat.com>
81858
81859 * elf/Makefile: Add rules to build and run unload8 test.
81860 * elf/unload8.c: New file.
81861 * elf/unload8mod1.c: New file.
81862 * elf/unload8mod1x.c: New file.
81863 * elf/unload8mod2.c: New file.
81864 * elf/unload8mod3.c: New file.
81865
81866 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81867 it wasn't used.
81868
81869 2011-08-23 David S. Miller <davem@davemloft.net>
81870
81871 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81872 subtract stack bias.
81873 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81874 %sp not %fp in calculations.
81875 (_JMPBUF_UNWINDS_ADJ): Likewise.
81876
81877 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81878 (aio_suspend): Call it to force an exception region around the
81879 AIO_MISC_WAIT() invocation.
81880
81881 2011-08-23 Andreas Schwab <schwab@redhat.com>
81882
81883 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81884 backslash.
81885
81886 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81887
81888 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81889 protection macro.
81890 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81891 and <dl-machine.h>.
81892 (Elf64_FuncDesc): Remove.
81893
81894 2011-08-22 David S. Miller <davem@davemloft.net>
81895
81896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81897 sigaltstack check, add missing cfi directives.
81898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81899 missing cfi directives, and sigaltstack handling.
81900
81901 2011-08-16 Andreas Schwab <schwab@redhat.com>
81902
81903 [BZ #11724]
81904 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81905 object is seen twice.
81906 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81907
81908 * elf/Makefile (distribute): Add tst-initorder2.c.
81909 (tests): Add tst-initorder2.
81910 (modules-names): Add tst-initorder2a tst-initorder2b
81911 tst-initorder2c tst-initorder2d. Add rules to build them.
81912 ($(objpfx)tst-initorder2.out): New rule.
81913 * elf/tst-initorder2.c: New file.
81914 * elf/tst-initorder2.exp: New file.
81915
81916 2011-08-22 Andreas Schwab <schwab@redhat.com>
81917
81918 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81919
81920 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81921 dependencies back to end of function.
81922
81923 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81924 $(elfobjdir)/ld.so.
81925
81926 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81927
81928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81929 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81931 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81932 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81933 of __vdso_gettimeofday.
81934 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81935 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81936 attribute_hidden.
81937 (_libc_vdso_platform_setup): Remove initialization of
81938 __vdso_gettimeofday and __vdso_time.
81939
81940 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81941
81942 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81943 and fgetc_unlocked.
81944 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81945 getc_unlocked.
81946
81947 * elf/dl-open.c (add_to_global): Report additions to the global scope
81948 for LD_DEBUG=scopes.
81949 (dl_open_worker): Also print scope of newly loaded dependencies.
81950 (_dl_show_scope): Indicate if there is no scope.
81951
81952 [BZ #13114]
81953 * stdio-common/Makefile (tests): Add bug24.
81954 * stdio-common/bug24.c: New file.
81955
81956 2011-08-19 Andreas Jaeger <aj@suse.de>
81957
81958 [BZ #13114]
81959 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81960 non-existant file when using close-on-exec mode.
81961
81962 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81963
81964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81965 the very first instruction.
81966
81967 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81968 the CFI state in the end.
81969 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81970 inclusion of dl-trampoline.h.
81971 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81972
81973 2011-08-19 Andreas Schwab <schwab@redhat.com>
81974
81975 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81976 expectations for long double.
81977
81978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81979 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81980
81981 2011-08-14 David S. Miller <davem@davemloft.net>
81982
81983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81984 artificual limit depends upon the system page size.
81985
81986 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81987
81988 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81989 * resolv/Makefile: Define CFLAGS-libresolv.
81990
81991 2011-08-17 Andreas Schwab <schwab@redhat.com>
81992
81993 * nss/makedb.c (compute_tables): Make variables used in nested
81994 function static.
81995
81996 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81997
81998 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81999 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82000 if buffer was too small.
82001
82002 * elf/pldd.c (main): Attach to all threads in the process.
82003 Rewrite /proc handling to use *at functions.
82004
82005 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82006
82007 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82008 specifies first scope to show.
82009 (dl_open_worker): Update callers. Move printing scope of new
82010 object to before the relocation.
82011 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82012 * sysdeps/generic/ldsodefs.h: Update declaration.
82013
82014 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82015 string for the scope number.
82016
82017 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82018
82019 * nscd/servicescache.c (cache_addserv): Make sure written is always
82020 initialized.
82021
82022 2011-08-14 Roland McGrath <roland@hack.frob.com>
82023
82024 * sysdeps/i386/i486/bits/atomic.h
82025 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82026 statement expression, so as to suppress "set but not used" warning.
82027 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82028
82029 * string/strncat.c (STRNCAT): Use prototype definition.
82030
82031 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82032 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82033 -Iprograms here.
82034 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82035 (localedef-modules): Add localedef.
82036 (locale-modules): Add locale.
82037
82038 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82039 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82040 to avoid a warning.
82041
82042 2011-08-14 David S. Miller <davem@davemloft.net>
82043
82044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82045 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82046
82047 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82048
82049 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82050 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82051 * elf/rtld.c (dl_main): Set l_name of vDSO.
82052 Call _dl_show_scope when DL_DEBUG_SCOPES.
82053 (process_dl_debug): Recognize scopes flag and also set it for all.
82054 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82055 Declare _dl_show_scope.
82056
82057 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82058 (do_dlopen): Pass caller_dlopen to dl_open.
82059 (__libc_dlopen_mode): Initialize caller_dlopen.
82060
82061 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82062 of libc. Make tolower call locale-independent. Optimize a bit by
82063 using isdigit instead of isalnum.
82064 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82065
82066 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82067
82068 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82069 was a dependency or dynamically loaded.
82070
82071 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82072
82073 * intl/l10nflist.c: Allow architecture-specific pop function.
82074 * sysdeps/x86_64/l10nflist.c: New file.
82075
82076 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82077 classification.
82078
82079 2011-08-10 Andreas Schwab <schwab@redhat.com>
82080
82081 * include/dirent.h: Add libc_hidden_proto for scandirat and
82082 scandirat64. Don't declare __scandirat64.
82083 * dirent/scandirat.c: Add libc_hidden_def.
82084 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82085 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82086
82087 2011-08-10 David S. Miller <davem@davemloft.net>
82088
82089 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82090 enum.
82091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82093 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82094
82095 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82096
82097 * Versions.def [libc]: Add GLIBC_2.15.
82098 * dirent/Makefile (routines): Add scandirat and scandirat64.
82099 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82100 GLIBC_2.15.
82101 * dirent/dirent.h: Declare scandirat and scandirat64.
82102 * dirent/scandirat.c: New file.
82103 * dirent/scandirat64.c: New file.
82104 * sysdeps/wordsize-64/scandirat.c: New file.
82105 * sysdeps/wordsize-64/scandirat64.c: New file.
82106 * dirent/opendir.c: Define opendirat.
82107 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82108 using scandirat.
82109 * dirent/scandir64.c: Adjust for scandir.c change.
82110 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82111 __scandirat64, and __scandir_cancel_handler.
82112 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82113 additional parameter and use openat instead of open (outside of ld.so).
82114 Add new __opendir as wrapper around __opendirat.
82115 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82116 here without requiring old scandirat implementation.
82117
82118 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82119
82120 * dirent/scandir.c (cancel_handler): Renamed to
82121 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82122 defined. Adjust users.
82123 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82125
82126 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82127
82128 * string/test-string.h (IMPL): Use __STRING to expand name and then
82129 stringify it.
82130
82131 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82132 of cleanups.
82133
82134 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82135
82136 * string/Makefile: Update.
82137 (strop-tests): Append strncat.
82138 * string/test-wcscmp.c: New file.
82139 New comprehensive test for wcscmp.
82140 * string/test-strcmp.c: Update.
82141 (WIDE): New define.
82142
82143 2011-07-22 Andreas Schwab <schwab@redhat.com>
82144
82145 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82146 line.
82147
82148 2011-07-26 Andreas Schwab <schwab@redhat.com>
82149
82150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82151 encoding to ACE if AI_IDN.
82152
82153 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82154
82155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82156 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82157
82158 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82159
82160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82161 Fix overflow bug in strncat.
82162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82163
82164 * string/test-strncat.c: Update.
82165 Add new tests for checking overflow bugs.
82166
82167 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82168
82169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82170 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82171 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82172 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82173 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82174 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82175 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82176 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82177 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82178
82179 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82180 (USE_AS_STRCAT): Define.
82181 Add strcat and strncat support.
82182 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82183
82184 2011-07-25 Andreas Schwab <schwab@redhat.com>
82185
82186 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82187 __n bigger than INT_MAX+1.
82188 (__strncmp_g): Likewise.
82189
82190 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82191
82192 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82193 * libio/stido.h: Likewise.
82194
82195 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82196 (AF_NFC): Define.
82197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82198 (AF_NFC): Define.
82199
82200 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82201 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82202 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82205
82206 [BZ #13021]
82207 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82208 installed.
82209
82210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82211 typo.
82212 (_dl_x86_64_save_sse): Likewise.
82213
82214 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82215
82216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82217 OSXSAVE.
82218 (_dl_x86_64_save_sse): Likewise.
82219
82220 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82221
82222 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82223
82224 2011-07-21 Andreas Schwab <schwab@redhat.com>
82225
82226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82227 change.
82228 (_dl_x86_64_save_sse): Use correct AVX check.
82229
82230 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82231
82232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82233 bug in strncpy/strncat.
82234 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82235
82236 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82237
82238 * string/tester.c (test_strcat): Add tests for different alignments
82239 of source and destination.
82240 (test_strncat): Likewise.
82241
82242 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82243
82244 [BZ #12852]
82245 * posix/glob.c (glob): Check passed in values before using them in
82246 expressions to avoid some overflows.
82247 (glob_in_dir): Likewise.
82248
82249 [BZ #13007]
82250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82251 check for AVX enablement so that we don't crash with old kernels and
82252 new hardware.
82253 * elf/tst-audit4.c: Add same checks here.
82254 * elf/tst-audit6.c: Likewise.
82255
82256 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82257
82258 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82259
82260 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82261
82262 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82263
82264 * po/cs.po: Update from translation team.
82265 * po/bg.po: Likewise.
82266
82267 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82268
82269 * misc/sys/cdefs.h: Add support for const attribute.
82270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82271 to gnu_dev_{major,minor,makedev} functions.
82272
82273 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82274
82275 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82276
82277 2011-07-20 Andreas Schwab <schwab@redhat.com>
82278
82279 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82280 strlen results.
82281
82282 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82283
82284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82285 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82286 register in order to avoid conflicts with the soft frame pointer
82287 being held in r11 when necessary.
82288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82289 (INTERNAL_VSYSCALL_NCS): Likewise.
82290
82291 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82292
82293 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82294 * elf/dl-fini.c (_dl_fini): Adjust caller.
82295 * elf/dl-close.c (_dl_close_worker): Likewise.
82296 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82297
82298 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82299
82300 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82301 "aux_cache->nlibs < 0".
82302
82303 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82304 in the reload-count case.
82305
82306 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82307
82308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82309 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82310 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82311 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82312 * sysdeps/x86_64/multiarch/strcat.S: New file.
82313 * sysdeps/x86_64/multiarch/strncat.S: New file.
82314 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82315 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82316 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82317 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82319 (USE_AS_STRCAT): Define.
82320 Add strcat and strncat support.
82321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82323 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82324 * string/strncat.c: Update.
82325 (USE_AS_STRNCAT): Define.
82326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82327 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82328 and i7.
82329 * sysdeps/x86_64/multiarch/init-arch.h
82330 (bit_Prefer_PMINUB_for_stringop): New.
82331 (index_Prefer_PMINUB_for_stringop): Likewise.
82332 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82333 bit_Prefer_PMINUB_for_stringop.
82334
82335 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82336
82337 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82338 buffer64.
82339 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82340 of casting of buffer.
82341 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82342 buffer32 and buffer64.
82343 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82344 writes instead of casting of buffer.
82345 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82346 buffer32.
82347 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82348 casting of buffer.
82349
82350 2011-07-19 Andreas Schwab <schwab@redhat.com>
82351
82352 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82353
82354 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82355
82356 * nscd/nscd.c (termination_handler): Don't do anything for a database
82357 if it has not yet been initialized.
82358
82359 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82360
82361 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82362
82363 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82364
82365 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82366
82367 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82368
82369 * po/nl.po: Update from translation team.
82370 * po/sv.po: Likewise.
82371
82372 2011-07-16 Roland McGrath <roland@hack.frob.com>
82373
82374 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82375 now disallowed by GCC.
82376
82377 * configure.in (use-default-link): Default to yes if a test -shared
82378 link meets our qualifications.
82379 * configure: Regenerated.
82380
82381 * config.make.in (output-format): New variable.
82382 * configure.in: Check for ld --print-output-format support.
82383 * configure: Regenerated.
82384 * Makerules ($(common-objpfx)format.lds)
82385 [$(output-format) != unknown]: Just use $(output-format),
82386 instead of the linker-script munging.
82387
82388 2011-07-14 Roland McGrath <roland@hack.frob.com>
82389
82390 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82391 of $(common-objpfx)shlib.lds.
82392 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82393
82394 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82395 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82396
82397 * configure.in (-z relro check): Adjust test code to add a large
82398 writable data section after it.
82399 * configure: Regenerated.
82400
82401 2011-07-11 Roland McGrath <roland@hack.frob.com>
82402
82403 * configure.in (-z relro check): Fix test code to make the variable
82404 truly const.
82405 * configure: Regenerated.
82406
82407 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82408
82409 * nscd/nscd.h (struct traced_file): Define.
82410 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82411 elements. Add traced_files.
82412 (inotify_fd): Declare.
82413 (register_traced_file): Declare.
82414 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82415 (inotify_fd): Export.
82416 (resolv_conf_descr): Remove.
82417 (nscd_init): Move inotify descriptor creation to main.
82418 Don't register files for notification here.
82419 (register_traced_file): New function.
82420 (invalidate_cache): Don't use reset_res to determine whether to call
82421 res_init, go through the list of registered files.
82422 (main_loop_poll): The inotify descriptors are now stored in the
82423 structures for the traced files.
82424 (main_loop_epoll): Likewise.
82425 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82426 to __nss_disable_nscd.
82427 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82428 for a database anymore. Check the records for all the registered
82429 files instead.
82430 * nss/Makefile (libnss_files-routines): Add files-init.
82431 (libnss_db-routines): Add db-init.
82432 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82433 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82434 * nss/nss_db/db-init.c: New file.
82435 * nss/nss_files/files-init.c: New file.
82436 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82437 __nss_lookup_function.
82438 (__nss_lookup_function): Call nss_load_library.
82439 (nss_load_all_libraries): New function.
82440 (__nss_disable_nscd): Take parameter with callback function for files
82441 to register. Set is_nscd. Load all the DSOs for the NSS modules
82442 used for the cached services.
82443 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82444 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82445 options for features to all the files in nscd.
82446
82447 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82448
82449 2011-07-10 Roland McGrath <roland@hack.frob.com>
82450
82451 * csu/elf-init.c (__libc_csu_init): Comment typo.
82452
82453 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82454
82455 * po/pl.po: Update from translation team.
82456 * po/ja.po: Likewise.
82457 * po/ru.po: Likewise.
82458 * po/ko.po: Likewise.
82459 * po/fr.po: Likewise.
82460
82461 2011-07-09 Roland McGrath <roland@hack.frob.com>
82462
82463 * configure.in (.ctors/.dtors header and trailer check):
82464 Use an empirical test on a built program.
82465 * configure: Regenerated.
82466
82467 * configure.in (-z relro check): Use an empirical test on a built DSO.
82468 Detect, but do not require, on ia64.
82469 * configure: Regenerated.
82470
82471 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82472 Update tests that use readelf to use $READELF instead.
82473 * configure: Regenerated.
82474
82475 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82476
82477 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82478 if the result is not used.
82479
82480 2011-07-05 Andreas Jaeger <aj@suse.de>
82481
82482 [BZ#9696]
82483 * stdlib/tst-strtod.c: Add testcase.
82484
82485 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82486
82487 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82488 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82489 The latter has a higher limit. Take additional parameter to pass to
82490 the new function.
82491 (__pathconf): Pass file to __statfs_link_max.
82492 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82493 __statfs_link_max.
82494 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82495 __statfs_link_max.
82496
82497 [BZ #12868]
82498 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82499 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82500 Handle Lustre.
82501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82502 (__statfs_filesize_max): Likewise.
82503 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82504
82505 2011-07-05 Andreas Jaeger <aj@suse.de>
82506
82507 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82508
82509 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82510
82511 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82512 `status' variable.
82513 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82514 Likewise.
82515
82516 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
82517
82518 * Makefile (strop-tests): Add strncat.
82519 * string/test-strncat.c: New file.
82520
82521 2011-06-30 Marek Polacek <mpolacek@redhat.com>
82522
82523 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82524
82525 2011-06-21 Andreas Jaeger <aj@suse.de>
82526
82527 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82528 Copy rule from iconvdata/Makefile.
82529
82530 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82531
82532 [BZ #12922]
82533 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82534 but no long options are defined, just return 'W'.
82535
82536 2011-06-22 Marek Polacek <mpolacek@redhat.com>
82537
82538 [BZ #9696]
82539 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82540
82541 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82542
82543 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82544 netgroups to read.
82545 (innetgr): Likewise.
82546
82547 2011-07-05 Roland McGrath <roland@hack.frob.com>
82548
82549 * config.make.in (install_root): Default to $(DESTDIR).
82550
82551 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82552
82553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82554
82555 2011-07-02 Roland McGrath <roland@hack.frob.com>
82556
82557 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82558
82559 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82560 containing directory rather than embedding absolute directory names.
82561
82562 * scripts/check-local-headers.sh: Rewritten using awk.
82563 Match by word, not by line. Print error messages for matches.
82564 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82565
82566 * Makerules [shlib-lds-flags empty]:
82567 ($(common-objpfx)libc_pic.opts): New target.
82568 ($(common-objpfx)libc_pic.os.clean): New target.
82569 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82570
82571 * config.make.in (OBJCOPY): New variable.
82572 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82573 * configure: Regenerated.
82574
82575 * config.make.in (use-default-link): New variable.
82576 * configure.in (use_default_link): Grok --with-default-link to set it.
82577 * configure: Regenerated.
82578 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82579 (shlib-lds, shlib-lds-flags): Define to empty.
82580
82581 * Makerules (shlib-lds): New variable.
82582 (shlib-lds-flags): New variable.
82583 (build-shlib, build-moduile, build-module-asneeded): Use it.
82584 ($(common-objpfx)libc.so): Use $(shlib-lds).
82585 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82586 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82587
82588 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82589 DT_FLAGS/DT_FLAGS_1 with zero flags.
82590
82591 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82592 linker script munging.
82593
82594 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82595
82596 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82597 as 128-bit value.
82598 * crypt/sha512.c (sha512_process_block): Perform total addition using
82599 128-bit if possible.
82600 (__sha512_finish_ctx): Likewise.
82601 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82602 as 64-bit value.
82603 * crypt/sha256.c (SWAP64): Define.
82604 (sha256_process_block): Perform total addition using 64-bit if
82605 possible.
82606 (__sha256_finish_ctx): Likewise.
82607
82608 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82609
82610 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82611 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82612 * nscd/hstcache.c (cache_addhst): Likewise.
82613 * nscd/grpcache.c (cache_addgr): Likewise.
82614 * nscd/aicache.c (addhstaiX): Likewise.
82615 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82616
82617 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82618
82619 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82621 * nscd/hstcache.c (cache_addhst): Likewise.
82622 * nscd/grpcache.c (cache_addgr): Likewise.
82623 * nscd/aicache.c (addhstaiX): Likewise.
82624
82625 2011-07-01 Andreas Schwab <schwab@redhat.com>
82626
82627 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82628 domain only when needed.
82629
82630 2011-06-30 Andreas Schwab <schwab@redhat.com>
82631
82632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82633 is always restored.
82634
82635 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82636
82637 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82638 are re-adding the entry.
82639 * nscd/servicescache.c (cache_addserv): Likewise.
82640
82641 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82642
82643 * sysdeps/generic/dl-irel.h: fix protection against multiple
82644 inclusions.
82645 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82646
82647 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82648
82649 [BZ #12935]
82650 * malloc/memusage.sh: Fix quoting in message.
82651 * debug/xtrace.sh: Likewise.
82652
82653 * configure.in: Remove support for --experimental-malloc option, make
82654 it the default.
82655 * config.make.in: Likewise.
82656 * malloc/Makefile: Likewise.
82657
82658 2011-06-27 Andreas Schwab <schwab@redhat.com>
82659
82660 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82661 two-byte characters.
82662
82663 2011-06-27 Roland McGrath <roland@hack.frob.com>
82664
82665 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82666 AC_CACHE_CHECK invocation.
82667 * configure: Regenerated.
82668
82669 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82670
82671 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82672
82673 [BZ #12350]
82674 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82675 bit from old_res_options.
82676
82677 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82678
82679 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82680 value type for setfct.
82681
82682 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82683
82684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82685 __gettimeofday instead of gettimeofday.
82686
82687 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82688
82689 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82690
82691 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82692
82693 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82694
82695 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82696 info.
82697
82698 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82699
82700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82701 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82702 strcpy-sse2-unaligned strncpy-sse2-unaligned
82703 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82704 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82705 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82706 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82707 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82710 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82711 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82712 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82713 (STRCPY): Support SSE2 and SSSE3 versions.
82714
82715 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82716
82717 [BZ #12874]
82718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82719 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82720 kernels which artificially limit size of requests.
82721
82722 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82723
82724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82725 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82726 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82727 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82728 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82729 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82730 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82731 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82732 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82734 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82735 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82736 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82737 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82738 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82740 Enable unaligned load optimization for Intel Core i3, i5 and i7
82741 processors.
82742 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82743 Define.
82744 (index_Fast_Unaligned_Load): Define.
82745 (HAS_FAST_UNALIGNED_LOAD): Define.
82746
82747 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82748
82749 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82750
82751 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82752
82753 [BZ #12907]
82754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82755 until it is clear that the information is realy needed.
82756 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82757
82758 2011-06-22 Andreas Schwab <schwab@redhat.com>
82759
82760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82761
82762 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82763
82764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82765 /sys/devices/system/cpu/online if it is usable.
82766
82767 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82768 reading the information from the /proc filesystem to once a second.
82769
82770 2011-06-21 Andreas Jaeger <aj@suse.de>
82771
82772 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82773 NULL after inclusion of kernel headers.
82774
82775 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82776
82777 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82778 calls to internal_setent.
82779
82780 [BZ #12885]
82781 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82782 addresses using gethostbyname4_r ignore IPv4 addresses.
82783
82784 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82785 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82786
82787 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82788
82789 2011-06-20 David S. Miller <davem@davemloft.net>
82790
82791 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82792 inclusions.
82793 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82794
82795 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82796 (elf_irel): Use it.
82797 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82798 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82799 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82800 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82801 * sysdeps/x86_64/dl-irel.h: Likewise.
82802
82803 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82804 * elf/dl-sym.c: Likewise.
82805
82806 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82807
82808 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82809 need to dereference resplen2.
82810
82811 2011-06-14 Andreas Schwab <schwab@redhat.com>
82812
82813 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82814
82815 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82816
82817 * Makeconfig: Define vardbdir and inst_vardbdir.
82818 * nss/Makefile: Add rules to install db-Makefile.
82819
82820 * nss/nss_db/db-XXX.c: Cleanup.
82821
82822 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82823 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82824 GLIBC_PRIVATE.
82825 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82826 * nss/makedb.c: Implement -g option to specify that value strings
82827 are generated and should not be added to table iterated over for
82828 get*ent calls.
82829 * nss/nss_db/db-initgroups.c: New file.
82830
82831 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82832 interface.
82833
82834 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82835 (internal_getgrouplist): Adjust to name change.
82836 Update use_initgroups_entry if this is not the first call.
82837 * nss/databases.def: Add initgroups entry.
82838
82839 * nss/makedb.c (compute_tables): Check result of multiple hash table
82840 sizes to minimize maximum chain length.
82841
82842 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82843
82844 * Versions.def: Add entry for libnss_db.
82845 * shlib-versions: Likewise.
82846 * nss/Makefile: Add rules to build libnss_db.
82847 * nss/Versions: Add libnss_db information. Organize libnss_files
82848 entries better.
82849 * nss/db-Makefile: Add gshadow support. Change rules for the new
82850 makedb progra. Some minor improvements to generate smaller files.
82851 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82852 here from...
82853 * nss/makedb.c: ...here.
82854 Improve database format to be smaller and require less memory at
82855 runtime.
82856 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82857 db anymore.
82858 * nss/nss_db/db-netgrp.c: Likewise.
82859 * nss/nss_db/db-open.c: Likewise.
82860 * nss/nss_files/flies-XXX.x: Adjust comments.
82861 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82862 * nss/nss_files/files-grp.c: Likewise.
82863 * nss/nss_files/files-hosts.c: Likewise.
82864 * nss/nss_files/files-network.c: Likewise.
82865 * nss/nss_files/files-proto.c: Likewise.
82866 * nss/nss_files/files-pwd.c: Likewise.
82867 * nss/nss_files/files-rpc.c: Likewise.
82868 * nss/nss_files/files-service.c: Likewise.
82869 * nss/nss_files/files-sgrp.c: Likewise.
82870 * nss/nss_files/files-spwd.c: Likewise.
82871 * nss/nss_db/db-alias.c: Removed.
82872 * nss/nss_db/dummy-db.h: Removed.
82873
82874 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82875
82876 * nss/makedb.c: Rewritten to not use database library.
82877 * nss/Makefile: Update to build new makedb program.
82878
82879 2011-06-14 Andreas Jaeger <aj@suse.de>
82880
82881 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82882 memset declaration.
82883
82884 2011-06-10 Andreas Schwab <schwab@redhat.com>
82885
82886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82887 tmpbuf.
82888
82889 2011-06-10 Roland McGrath <roland@hack.frob.com>
82890
82891 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82892 * elf/Makefile ($(objpfx)ld.so): Likewise.
82893
82894 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82895 Don't list ld.so twice in dependencies.
82896
82897 * posix/bug-regex31.c: Include <stdlib.h>.
82898
82899 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82900
82901 * nis/nss_compat/compat-spwd.c
82902 (getspent_next_nss_netgr): Remove unused variable.
82903 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82904
82905 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82906 nonmembers" output to use the right array.
82907
82908 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82909
82910 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82911
82912 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82913 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82914 * catgets/gencat.c (read_input_file): Likewise.
82915 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82916
82917 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82918 variable definition inside #if's controlling its use.
82919
82920 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82921
82922 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82923
82924 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82925
82926 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82927 unreachable code.
82928
82929 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82930
82931 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82932 * configure: Regenerated.
82933
82934 * Makerules: Revert last change.
82935 * elf/Makefile: Likewise.
82936
82937 2011-06-09 Roland McGrath <roland@hack.frob.com>
82938
82939 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82940 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82941 (reloc-link): Likewise.
82942
82943 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82944
82945 * elf/Makefile: Add rules to build pldd.
82946 * elf/pldd.c: New file.
82947 * elf/pldd-xx.c: New file.
82948
82949 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82950
82951 * version.h: Update for 2.15 development version.
82952
82953 2011-06-07 David S. Miller <davem@davemloft.net>
82954
82955 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82956 ifuncs.
82957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82958 elf_machine_lazy_rel): Likewise.
82959 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82961 elf_machine_lazy_rel): Likewise.
82962 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82963 dl_hwcap via passed in argument.
82964 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82965 Likewise.
82966
82967 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82968
82969 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82970
82971 2011-06-06 Roland McGrath <roland@hack.frob.com>
82972
82973 [BZ #12849]
82974 * manual/fdl-1.1.texi: New file, verbatim from:
82975 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82976 * manual/lgpl-2.1.texi: New file, verbatim from:
82977 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82978 * manual/Makefile (licenses): New variable, list those new file names.
82979 (texis): Use it.
82980 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82981
82982 * manual/fdl.texi: File removed.
82983 * manual/lesser.texi: File removed.
82984 * manual/libc.texinfo (Copying, Documentation License):
82985 Use new @include file names, put @appendix directive before @include.
82986
82987 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82988
82989 [BZ #12841]
82990 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82991 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82992 (mq_open): Add __NTH.
82993
82994 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82995
82996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82997 Assume Intel Core i3/i5/i7 processor if AVX is available.
82998
82999 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83000
83001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83002 typo.
83003
83004 2011-05-31 Andreas Schwab <schwab@redhat.com>
83005
83006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83007 memory. Use alloca_account. Fix memory leak when retrying.
83008
83009 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83010
83011 * version.h (RELEASE): Bump for 2.14 release.
83012 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83013
83014 * config.make.in (RANLIB): Remove entry.
83015
83016 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83017
83018 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83019 (libc.pot): Work around missing support for .ksh extension in xgettext.
83020
83021 [BZ #12684]
83022 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83023 if both request failed.
83024 (send_dg): In case of server errors clear resplen or *resplen2.
83025
83026 [BZ #12454]
83027 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83028 when there are multiple maps.
83029 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83030 (_dl_fini): Remove test here.
83031
83032 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83033
83034 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83035
83036 [BZ #12350]
83037 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83038 bit from old_res_options.
83039 (gaih_inet): Likewise.
83040
83041 [BZ #11099]
83042 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83043 as signed.
83044
83045 * resolv/res_init.c (res_setoptions): Make the code more compact.
83046
83047 [BZ #11558]
83048 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83049 set RES_USEVC.
83050
83051 [BZ #11634]
83052 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83053
83054 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83055
83056 [BZ #11781]
83057 * malloc/malloc.h: Declare malloc hook variables as volatile.
83058
83059 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83060 in last patch.
83061
83062 [BZ #11799]
83063 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83064 raise in the comment.
83065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83066 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83067 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83068
83069 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83070
83071 [BZ #12811]
83072 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83073 grow the buffers more if it already has to be sufficient.
83074 (build_wcs_upper_buffer): Likewise.
83075 * posix/regexec.c (check_matching): Likewise.
83076 (clean_state_log_if_needed): Likewise.
83077 (extend_buffers): Don't enlarge buffers beyond size of the input
83078 buffer.
83079 Patches mostly by Emil Wojak <emil@wojak.eu>.
83080 * posix/bug-regex32.c: New file.
83081 * posix/Makefile (tests): Add bug-regex32.
83082
83083 * locale/findlocale.c (_nl_find_locale): Return right away if
83084 _nl_explode_name failed.
83085 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83086
83087 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83088
83089 * debug/xtrace.sh: Unify messages.
83090 * malloc/memusage.sh: Likewise.
83091
83092 [BZ #12813]
83093 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83094 time symbol from vDSO. Substitute with vsyscall if not available.
83095 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83096 __vdso_time.
83097
83098 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83099 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83100 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83101 Add sendmmsg and internal_sendmmsg.
83102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83103 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83104 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83105
83106 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83107 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83109
83110 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83111
83112 [BZ #12813]
83113 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83114 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83115 available.
83116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83117 __vdso_getcpu.
83118
83119 [BZ #12814]
83120 * iconvdata/Makefile (tests): Add bug-iconv9.
83121 * iconvdata/bug-iconv9.c: New file.
83122
83123 2011-05-27 Andreas Schwab <schwab@redhat.com>
83124
83125 [BZ #12814]
83126 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83127
83128 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83129
83130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83131 (struct user_regs_struct): Change intcs field back to cs.
83132
83133 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83134
83135 * po/ja.po: Update from translation team.
83136
83137 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83138
83139 [BZ #12795]
83140 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83141 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83142
83143 2011-05-20 Andreas Schwab <schwab@redhat.com>
83144
83145 * stdlib/longlong.h: Update from GCC.
83146
83147 2011-05-23 Andreas Schwab <schwab@redhat.com>
83148
83149 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83150 parameter name.
83151 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83152 Add parameter name.
83153 (__sysconf): Pass it down.
83154
83155 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83156
83157 [BZ #12671]
83158 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83159 some situations.
83160 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83161 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83162 add in in __libc_use_alloca calls. Adjust callers.
83163 (glob): Use malloc in some situations.
83164
83165 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83166 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83167 pltexit.
83168
83169 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83170
83171 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83172 and CLOCK_BOOTTIME_ALARM.
83173
83174 [BZ #12782]
83175 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83176 is returned.
83177
83178 * string/_strerror.c (__strerror_r): Print negative errors as signed
83179 numbers.
83180
83181 [BZ #12777]
83182 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83183 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83184 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83185
83186 * configure.in: Fix typo in redirection and correct removal of test
83187 files in two cases.
83188
83189 [BZ #12788]
83190 * locale/setlocale.c (new_composite_name): Fix test to check for
83191 identical name of all categories.
83192
83193 [BZ #12792]
83194 * libio/filedoalloc.c (local_isatty): New function.
83195 (_IO_file_doallocate): Use local_isatty.
83196 * stdio-common/perror.c (perror): In case a new stream is used
83197 forward the stream error.
83198 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83199 error flag.
83200
83201 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83202
83203 [BZ #11884]
83204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83205 alloca.
83206 * include/alloca.h (extend_alloca_account): Define.
83207
83208 [BZ #11857]
83209 * posix/regex.h: Fix comments with documentation of user-accessible
83210 fields after compilation and describe correct free'ing of pattern
83211 after re_compile_pattern.
83212 Patch by Reuben Thomas <rrt@sc3d.org>.
83213
83214 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83215
83216 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83217 and -mno-altivec to prevent the compiler from using Altivec and/or
83218 VSX instructions when the corresponding registers are not available.
83219
83220 2011-05-19 Andreas Schwab <schwab@redhat.com>
83221
83222 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83223
83224 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83225
83226 * libio/freopen.c (freopen): Use __dup2, not dup2.
83227 * libio/freopen64.c (freopen64): Likewise.
83228
83229 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83230
83231 [BZ #12775]
83232 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83233 * math/Makefile (tests): Add test-powl.
83234 (CFLAGS-test-powl.c): Define.
83235 * math/test-powl.c: New file.
83236
83237 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83238
83239 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83240
83241 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83242
83243 [BZ #11837]
83244 * iconvdata/gb18030.c: Update to GB18020-2005.
83245
83246 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83247
83248 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83249 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83250 Patch by Aharon Robbins <arnold@skeeve.com>.
83251
83252 [BZ #11892]
83253 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83254 on the stack.
83255
83256 [BZ #11895]
83257 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83258 through underflows.
83259
83260 [BZ #12766]
83261 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83262 point to strings before performing equality test for error_one_per_line
83263 mode.
83264
83265 [BZ #11697]
83266 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83267
83268 [BZ #11820]
83269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83270 (struct user_fpregs_struct): Avoid __uint*_t types.
83271
83272 [BZ #6420]
83273 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83274 symbol info. Use it instead of calling _dl_addr locally.
83275 (lock_and_info): New function.
83276 (tr_freehook): Call lock_and_info and pass symbol info as additional
83277 parameter to tr_where.
83278 (tr_mallochook): Likewise.
83279 (tr_reallochook): Likewise.
83280 (tr_memalignhook): Likewise.
83281
83282 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83283 used and couldn't be at all thread-safe.
83284
83285 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83286
83287 * libio/freopen.c (freopen): Don't close old file descriptor
83288 before the new one is opened. Instead dup the new file descriptor
83289 to the old one after the new stream is created.
83290 * libio/freopen64.c (freopen64): Likewise.
83291 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83292 * libio/fileops.c (_IO_new_file_close_it): Handle new
83293 _IO_FLAGS2_NOCLOSE flag.
83294 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83295 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83296 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83297 _IO_FLAGS2_NOCLOSE flag.
83298 * include/unistd.h: Add hidden_proto for dup3.
83299 Define __have_dup3.
83300 * io/dup3.c: Define hidden symbol.
83301 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83302
83303 [BZ #7101]
83304 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83305 when an incomplete long option is used.
83306 * posix/tst-getopt_long1.c: New file.
83307 * posix/Makefile (tests): Add tst-getopt_long1.
83308
83309 [BZ #10138]
83310 * scripts/config.guess: Update from autoconf-2.68.
83311 * scripts/config.sub: Likewise.
83312
83313 [BZ #10157]
83314 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83315 tests into ...
83316 (has_cpuclock): ...this. New function.
83317 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83318 macro here based on has_cpuclock code.
83319
83320 [BZ #10149]
83321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83322 First byte (not low byte) is now always NUL.
83323 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83324
83325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83326 Use non-cancelable interfaces.
83327
83328 [BZ #9809]
83329 * locale/iso-639.def: Add entry for Sorani.
83330
83331 [BZ #11901]
83332 * include/stdlib.h: Move include protection to the right place.
83333 Define abort_msg_s. Declare __abort_msg with it.
83334 * stdlib/abort.c (__abort_msg): Adjust type.
83335 * assert/assert.c (__assert_fail_base): New function. Majority
83336 of code from __assert_fail. Allocate memory for __abort_msg with
83337 mmap.
83338 (__assert_fail): Now call __assert_fail_base.
83339 * assert/assert-perr.c: Remove bulk of implementation. Use
83340 __assert_fail_base.
83341 * include/assert.hL Declare __assert_fail_base.
83342 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83343 mmap.
83344 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83345
83346 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83347
83348 [BZ #11952]
83349 [BZ #12453]
83350 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83351 until all modules are registered in the DTV.
83352 * elf/Makefile: Add rules to build and run tst-tls19.
83353 * elf/tst-tls19.c: New file.
83354 * elf/tst-tls19mod1.c: New file.
83355 * elf/tst-tls19mod2.c: New file.
83356 * elf/tst-tls19mod3.c: New file.
83357 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83358
83359 [BZ #12083]
83360 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83361 correctly.
83362
83363 [BZ #12601]
83364 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83365 two-byte sequence errors.
83366 * iconvdata/Makefile (tests): Add bug-iconv8.
83367 * iconvdata/bug-iconv8.c: New file.
83368
83369 [BZ #12626]
83370 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83371 buf2 definition.
83372
83373 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83374
83375 [BZ #12432]
83376 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83377 (dummy_getcfa): New function.
83378 (init): Get _Unwind_GetCFA address, use dummy if not found.
83379 (backtrace_helper): In recursion check, also check whether CFA changes.
83380 (__backtrace): Completely initialize arg.
83381
83382 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83383 storing incomplete byte sequence in state object. Avoid testing for
83384 guaranteed too small input if we know there is enough data available.
83385
83386 2011-05-11 Andreas Schwab <schwab@redhat.com>
83387
83388 * Makeconfig (+link-pie): Indent.
83389 * Rules (binaries-pie): Define if $(have-fpie) and
83390 $(build-shared).
83391 (binaries-shared): Also filter out $(binaries-pie).
83392 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83393 * nscd/Makefile (others-pie): Add nscd.
83394 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83395 ($(objpfx)nscd): Remove command override.
83396 * login/Makefile (others-pie): Add pt_chown.
83397 ($(objpfx)pt_chown): Remove command override.
83398 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83399 remove command overrides.
83400
83401 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83402
83403 * libio/tst_putwc.c: Fix error messages.
83404
83405 [BZ #12724]
83406 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83407 currently writing and seek to current position when not.
83408 * libio/Makefile (tests): Add bug-fclose1.
83409 * libio/bug-fclose1.c: New file.
83410
83411 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83412
83413 [BZ #12511]
83414 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83415 don't set DF_1_NODELETE here.
83416 (do_lookup_x): When entering new entry test for copy relocation
83417 and if necessary set DF_1_NODELETE flag.
83418 * elf/tst-unique4.cc: New file.
83419 * elf/tst-unique4.h: New file.
83420 * elf/tst-unique4lib.cc: New file.
83421 * elf/Makefile: Add rules to build and run tst-unique4.
83422 Patch by Piotr Bury <pbury@goahead.com>.
83423
83424 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83425
83426 [BZ #12052]
83427 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83428
83429 [BZ #12625]
83430 * misc/mntent_r.c (addmntent): Flush the stream after the output
83431
83432 [BZ #12393]
83433 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83434 (is_trusted_path_normalize): Skip initial colon. Append slash
83435 to empty buffer. Duplicate is_trusted_path code but allow
83436 constructed patch to be prefix.
83437 (is_dst): Allow $ORIGIN followed by /.
83438 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83439 Correct testing of result of is_trusted_path_normalize
83440 (decompose_rpath): Fix warning.
83441
83442 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83443
83444 [BZ #11257]
83445 * grp/initgroups.c (internal_getgrouplist): When we found the service
83446 list through the initgroups entry in nsswitch.conf do not always
83447 continue on a successful lookup. Don't always use the
83448 __nss_group_database value if it is set.
83449 * nss/nsswitch.conf (initgroups): Change action for successful db
83450 lookup to continue for compatibility.
83451
83452 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83453
83454 [BZ #11532]
83455 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83456 and CP774 modules.
83457 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83458 and CP774 modules.
83459 * iconvdata/tst-tables.sh: Likewise.
83460 * iconvdata/cp770.c: New file.
83461 * iconvdata/cp771.c: New file.
83462 * iconvdata/cp772.c: New file.
83463 * iconvdata/cp773.c: New file.
83464 * iconvdata/cp774.c: New file.
83465 * iconvdata/testdata/CP770: New file.
83466 * iconvdata/testdata/CP770..UTF8: New file.
83467 * iconvdata/testdata/CP771: New file.
83468 * iconvdata/testdata/CP771..UTF8: New file.
83469 * iconvdata/testdata/CP772: New file.
83470 * iconvdata/testdata/CP772..UTF8: New file.
83471 * iconvdata/testdata/CP773: New file.
83472 * iconvdata/testdata/CP773..UTF8: New file.
83473 * iconvdata/testdata/CP774: New file.
83474 * iconvdata/testdata/CP774..UTF8: New file.
83475
83476 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83477 END CHARMAP line.
83478 * iconvdata/gen-8bit-gap.sh: Likewise.
83479 * iconvdata/gen-8bit.sh: Likewise.
83480
83481 * locale/iso-639.def: Add ary entry.
83482
83483 [BZ #11258]
83484 * locale/C-translit.h.in: Add U20A1 transliteration.
83485
83486 [BZ #12178]
83487 * locale/iso-639.def: Add wae entry.
83488 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83489
83490 [BZ #12545]
83491 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83492 for n.
83493
83494 [BZ #12711]
83495 * locale/C-translit.h.in: Add entry for U20B9.
83496 Patch by pravin.d.s@gmail.com.
83497
83498 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83499
83500 [BZ #12713]
83501 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83502 ENAMETOOLONG use generic getcwd.
83503 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83504 in rtld. Use *stat64.
83505 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83506 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83507 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83508 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83509 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83510 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83511 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83512 __fstatat64 macros.
83513 * include/dirent.h: Add libc_hidden_proto for rewinddir.
83514 * dirent/rewinddir.c: Add libc_hidden_def.
83515 * sysdeps/mach/hurd/rewinddir.c: Likewise.
83516 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
83517
83518 * include/dirent.h (__alloc_dir): Add flags parameter.
83519 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83520 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83521 __alloc_dir.
83522 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
83523 from fdopendir if O_CLOEXEC is already set.
83524
83525 2011-03-15 Alan Modra <amodra@gmail.com>
83526
83527 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83528 l_tls_firstbyte_offset non-zero. Save padding offset in
83529 l_tls_firstbyte_offset for later use.
83530 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83531 freeing static tls block.
83532
83533 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83534
83535 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83536 where #ifdef was intended. The intent is to prevent ARG_MAX from
83537 being defined by the kernel headers.
83538
83539 2011-05-07 Ulrich Drepper <drepper@gmail.com>
83540
83541 [BZ #12734]
83542 * resolv/resolv.h: Define RES_NOTLDQUERY.
83543 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83544 no-tld-query and set RES_NOTLDQUERY.
83545 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83546 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83547 modern BIND to search name as TLD unless forbidden.
83548
83549 2011-05-07 Petr Baudis <pasky@suse.cz>
83550 Ulrich Drepper <drepper@gmail.com>
83551
83552 [BZ #12393]
83553 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83554 (is_trusted_path): ...to here.
83555 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83556 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83557 using is_trusted_path_normalize() in setuid scripts.
83558
83559 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83560
83561 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83562 __BEGIN/__END_DECLS.
83563
83564 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83565
83566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83567 NSS_STATUS_NOTFOUND if no record was found.
83568
83569 2011-05-05 Andreas Schwab <schwab@redhat.com>
83570
83571 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83572 (headers-not-in-tirpc): Remove rpc/netdb.h
83573 * resolv/netdb.h: Revert last change.
83574
83575 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83576
83577 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83578 circular dependency between libgcc.a and libc.a.
83579
83580 2011-05-05 Andreas Schwab <schwab@redhat.com>
83581
83582 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83583 * nis/Makefile: Don't install rpcsvc/*.
83584 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83585 instead of <rpc/types.h>.
83586 (MAXHOSTNAMELEN): Define.
83587
83588 2011-05-03 Andreas Schwab <schwab@redhat.com>
83589
83590 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83591
83592 2011-04-28 Maciej Babinski <mbabinski@google.com>
83593
83594 [BZ #12714]
83595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83596 gethostbyname4_r when IPv6 results are possible.
83597
83598 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83599
83600 [BZ #12723]
83601 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83602 _PC_PIPE_BUF handling.
83603
83604 2011-04-30 Bruno Haible <bruno@clisp.org>
83605
83606 [BZ #12717]
83607 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83608 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83609 to 'int'.
83610 * inet/getnameinfo.c (getnameinfo): Likewise.
83611
83612 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83613
83614 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83615 to groups setting in database lookup.
83616 * nss/nsswitch.conf: Add initgroups entry.
83617
83618 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83619
83620 [BZ #12685]
83621 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83622 mode string.
83623 Patch by Eric Blake <eblake@redhat.com>.
83624
83625 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83626
83627 * sunrpc/Makefile (need-export-routines): Add svc_run.
83628 (routines): Remove svc_run.
83629 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83630 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83631 * sunrpc/svc_run.c (svc_run): Likewise.
83632 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83633
83634 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83635
83636 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83637 problem in reallocation in last patch.
83638
83639 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83640
83641 * sunrpc/Makefile: Move inclusion of Rules.
83642
83643 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83644
83645 * nss/nss_files/files-initgroups.c: New file.
83646 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83647 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83648 _nss_files_initgroups_dyn.
83649
83650 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83651
83652 * elf/elf.h (R_ARM_IRELATIVE): Define.
83653
83654 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83655
83656 * po/ru.po: Update from translation team.
83657
83658 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83659
83660 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83661 dependencies.
83662
83663 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83664
83665 [BZ #12653]
83666 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83667 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83671
83672 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83673
83674 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83675 differing bytes.
83676 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83679
83680 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83681
83682 [BZ #12420]
83683 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83684 storing it.
83685 * stdlib/bug-getcontext.c: New file.
83686 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83687
83688 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83689
83690 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83691 instructions into .machine "z9-109".
83692 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83693 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83694
83695 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83696
83697 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83698 between environment variables and auxiliary vector.
83699
83700 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83701
83702 * Makefile: Add rules to build linkobj/libc.so.
83703 * include/libc-symbols.h: Define libc_hidden_nolink.
83704 * include/rpc/auth.h: Mark functions which are to be hidden.
83705 * include/rpc/auth_des.h: Likewise.
83706 * include/rpc/auth_unix.h: Likewise.
83707 * include/rpc/clnt.h: Likewise.
83708 * include/rpc/des_crypt.h: Likewise.
83709 * include/rpc/key_prot.h: Likewise.
83710 * include/rpc/pmap_clnt.h: Likewise.
83711 * include/rpc/pmap_prot.h: Likewise.
83712 * include/rpc/pmap_rmt.h: Likewise.
83713 * include/rpc/rpc_msg.h: Likewise.
83714 * include/rpc/svc.h: Likewise.
83715 * include/rpc/svc_auth.h: Likewise.
83716 * include/rpc/xdr.h: Likewise.
83717 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83718 * nss/Makefile: Likewise.
83719 * sunrpc/Makefile: Don't install headers. Build library with normal
83720 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83721 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83722 for the compat linking library. Remove use of INTDEF/INTUSE.
83723 * sunrpc/auth_none.c: Likewise.
83724 * sunrpc/auth_unix.c: Likewise.
83725 * sunrpc/authdes_prot.c: Likewise.
83726 * sunrpc/authuxprot.c: Likewise.
83727 * sunrpc/clnt_gen.c: Likewise.
83728 * sunrpc/clnt_perr.c: Likewise.
83729 * sunrpc/clnt_raw.c: Likewise.
83730 * sunrpc/clnt_simp.c: Likewise.
83731 * sunrpc/clnt_tcp.c: Likewise.
83732 * sunrpc/clnt_udp.c: Likewise.
83733 * sunrpc/clnt_unix.c: Likewise.
83734 * sunrpc/des_crypt.c: Likewise.
83735 * sunrpc/des_soft.c: Likewise.
83736 * sunrpc/get_myaddr.c: Likewise.
83737 * sunrpc/key_call.c: Likewise.
83738 * sunrpc/key_prot.c: Likewise.
83739 * sunrpc/netname.c: Likewise.
83740 * sunrpc/pm_getmaps.c: Likewise.
83741 * sunrpc/pm_getport.c: Likewise.
83742 * sunrpc/pmap_clnt.c: Likewise.
83743 * sunrpc/pmap_prot.c: Likewise.
83744 * sunrpc/pmap_prot2.c: Likewise.
83745 * sunrpc/pmap_rmt.c: Likewise.
83746 * sunrpc/publickey.c: Likewise.
83747 * sunrpc/rpc_cmsg.c: Likewise.
83748 * sunrpc/rpc_common.c: Likewise.
83749 * sunrpc/rpc_dtable.c: Likewise.
83750 * sunrpc/rpc_prot.c: Likewise.
83751 * sunrpc/rpc_thread.c: Likewise.
83752 * sunrpc/rtime.c: Likewise.
83753 * sunrpc/svc.c: Likewise.
83754 * sunrpc/svc_auth.c: Likewise.
83755 * sunrpc/svc_authux.c: Likewise.
83756 * sunrpc/svc_raw.c: Likewise.
83757 * sunrpc/svc_run.c: Likewise.
83758 * sunrpc/svc_simple.c: Likewise.
83759 * sunrpc/svc_tcp.c: Likewise.
83760 * sunrpc/svc_udp.c: Likewise.
83761 * sunrpc/svc_unix.c: Likewise.
83762 * sunrpc/svcauth_des.c: Likewise.
83763 * sunrpc/xcrypt.c: Likewise.
83764 * sunrpc/xdr.c: Likewise.
83765 * sunrpc/xdr_array.c: Likewise.
83766 * sunrpc/xdr_float.c: Likewise.
83767 * sunrpc/xdr_intXX_t.c: Likewise.
83768 * sunrpc/xdr_mem.c: Likewise.
83769 * sunrpc/xdr_rec.c: Likewise.
83770 * sunrpc/xdr_ref.c: Likewise.
83771 * sunrpc/xdr_sizeof.c: Likewise.
83772 * sunrpc/xdr_stdio.c: Likewise.
83773
83774 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83775
83776 [BZ #12650]
83777 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83778 * sysdeps/ia64/dl-tls.h: Likewise.
83779 * sysdeps/powerpc/dl-tls.h: Likewise.
83780 * sysdeps/s390/dl-tls.h: Likewise.
83781 * sysdeps/sh/dl-tls.h: Likewise.
83782 * sysdeps/sparc/dl-tls.h: Likewise.
83783 * sysdeps/x86_64/dl-tls.h: Likewise.
83784 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83785
83786 2011-03-14 Andreas Schwab <schwab@redhat.com>
83787
83788 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83789 rpath element also skip the following colon.
83790 (expand_dynamic_string_token): Add is_path parameter and pass
83791 down to DL_DST_REQUIRED and _dl_dst_substitute.
83792 (decompose_rpath): Call expand_dynamic_string_token with
83793 non-zero is_path. Ignore empty rpaths.
83794 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83795 with zero is_path.
83796
83797 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83798
83799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83800 Make cancelable.
83801
83802 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83803
83804 [BZ #12655]
83805 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83806 Patch by Filipe David Manana <fdmanana@apache.org>.
83807
83808 2011-04-07 Andreas Schwab <schwab@redhat.com>
83809
83810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83811 Maintain aligned stack.
83812 (CHECK_RSP): Remove unused macro.
83813
83814 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83815
83816 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83818
83819 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83820
83821 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83822
83823 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83824
83825 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83826
83827 [BZ #12518]
83828 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83829 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83830 * sysdeps/x86_64/memmove.c: New file.
83831 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83832 (memcpy): Renamed to ...
83833 (__new_memcpy): This.
83834 (memcpy): Provide GLIBC_2_14 memcpy.
83835 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83836 (memcpy): Provide GLIBC_2_2_5 memcpy.
83837
83838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83839
83840 [BZ #12631]
83841 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83842
83843 2011-03-30 Andreas Schwab <schwab@redhat.com>
83844
83845 * misc/syncfs.c: New file.
83846 * misc/Makefile (routines): Add syncfs.
83847 * posix/unistd.h: Declare syncfs.
83848 * sysdeps/unix/syscalls.list: Add syncfs.
83849
83850 2011-04-01 Andreas Schwab <schwab@redhat.com>
83851
83852 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83853 open_by_handle_at.
83854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83859 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83861
83862 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83863
83864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83866 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83871
83872 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83873 sync_file_range.c with -fexceptions.
83874 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83875 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83876 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83877 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83878 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83879 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83881 sync_file_range as cancellation point
83882 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83883 now a wrapper around __call_sync_file_range with cancellation handling.
83884 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83885 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83886 function name to __call_sync_file_range.
83887 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83888 Add call_sync_file_range.
83889
83890 2011-04-01 Andreas Schwab <schwab@redhat.com>
83891
83892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83893 bits/timex.h.
83894
83895 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83896
83897 * iconv/iconv.h: Fix typo in comment.
83898 * io/fcntl.h: Likewise.
83899 * libio/stdio.h: Likewise.
83900 * posix/spawn.h: Likewise.
83901 * posix/unistd.h: Likewise.
83902 * stdlib/stdlib.h: Likewise.
83903 * time/time.h: Likewise.
83904 * wcsmbs/wchar.h: Likewise.
83905
83906 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83907 open_by_handle): Add.
83908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83909 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83910 Augment a few comments.
83911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83916 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83917 open_by_handle.
83918
83919 * io/fcntl.h (AT_EMPTY_PATH): Define.
83920
83921 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83922
83923 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83924 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83925 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83926 to...
83927 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83928 * Versions.def: Add GLIBC_2.14.
83929 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83930 Export.
83931
83932 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83933
83934 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83935 round counter.
83936 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83937
83938 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83939
83940 [BZ #12597]
83941 * string/test-strncmp.c (do_page_test): New function.
83942 (check2): Likewise.
83943 (test_main): Call check2.
83944 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83945
83946 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83947
83948 [BZ #12587]
83949 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83950 Handle cache information in CPU leaf 4.
83951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83952
83953 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83954
83955 [BZ #12583]
83956 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83957 character representation.
83958 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83959
83960 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83961
83962 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83963 END(__isnan) to END(__isnanf) to match function entry point/label
83964 EALIGN(__isnanf,...).
83965
83966 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83967
83968 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83969
83970 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83971
83972 [BZ #12510]
83973 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83974 copy from the symbol referenced in the relocation to initialize the
83975 used variable.
83976 Patch by Piotr Bury <pbury@goahead.com>.
83977 * elf/Makefile: Add rules to build and tst-unique3.
83978 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83979 * elf/tst-unique3.cc: New file.
83980 * elf/tst-unique3.h: New file.
83981 * elf/tst-unique3lib.cc: New file.
83982 * elf/tst-unique3lib2.cc: New file.
83983
83984 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83985
83986 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83987
83988 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83989 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83990 to _start.
83991
83992 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83993
83994 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83995 to-be-loaded object along a path to loader is ld.so.
83996
83997 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83998 Ulrich Drepper <drepper@gmail.com>
83999
84000 * sysdeps/x86_64/memset.S: After aligning destination, code
84001 branches to different locations depending on the value of
84002 misalignment, when multiarch is enabled. Fix this.
84003
84004 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84005
84006 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84007 Set _x86_64_preferred_memory_instruction for AMD processsors.
84008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84009 Set bit_Prefer_SSE_for_memop for AMD processors.
84010
84011 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84012
84013 * libio/fmemopen.c (fmemopen): Optimize a bit.
84014
84015 2011-03-03 Andreas Schwab <schwab@redhat.com>
84016
84017 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84018
84019 2011-03-03 Roland McGrath <roland@redhat.com>
84020
84021 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84022
84023 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84024
84025 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84026 __bzero_ultra1 instead of __memset_ultra1.
84027
84028 2011-02-23 Andreas Schwab <schwab@redhat.com>
84029 Ulrich Drepper <drepper@gmail.com>
84030
84031 [BZ #12509]
84032 * include/link.h (struct link_map): Add l_orig_initfini.
84033 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84034 returning unsuccessfully.
84035 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84036 close of a file loaded at startup, restore the original l_initfini
84037 list.
84038 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84039 list, store the pointer.
84040 * elf/Makefile ($(objpfx)noload-mem): New rule.
84041 (noload-ENV): Define.
84042 (tests): Add $(objpfx)noload-mem.
84043 * elf/noload.c: Include <memcheck.h>.
84044 (main): Call mtrace. Close all opened handles.
84045
84046 2011-02-17 Andreas Schwab <schwab@redhat.com>
84047
84048 [BZ #12454]
84049 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84050 dependencies are missing.
84051
84052 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84053
84054 Fix __if_freereq crash: Unlike the generic version which uses free,
84055 Hurd needs munmap.
84056 * sysdeps/mach/hurd/ifreq.h: New file.
84057
84058 2011-01-27 Petr Baudis <pasky@suse.cz>
84059 Ulrich Drepper <drepper@gmail.com>
84060
84061 [BZ 12445]#
84062 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84063 to extend_alloca().
84064 * stdio-common/bug23.c: New file.
84065 * stdio-common/Makefile (tests): Add bug23.
84066
84067 2010-09-28 Andreas Schwab <schwab@redhat.com>
84068 Ulrich Drepper <drepper@gmail.com>
84069
84070 [BZ #12489]
84071 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84072 before performing relro protection. At old place add assertion
84073 to make sure nothing changed.
84074
84075 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84076 Glauber de Oliveira Costa <glommer@gmail.com>
84077
84078 * elf/elf.h: Add new ARM TLS relocs.
84079
84080 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84081
84082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84083 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84084 cast from r3.
84085 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84086 'tests' variable.
84087 * sysdeps/wordsize-64/tst-writev.c: New file.
84088
84089 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84090
84091 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84092 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84093 insns in _dl_start to prevent a TOC reference before relocs are
84094 resolved.
84095
84096 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84097
84098 [BZ #12469]
84099 * Makeconfig: Remove RANLIB definition.
84100 * Makerules: Don't use RANLIB.
84101 * aclocal.m4: Remove ranlib test.
84102 * configure.in: No need to check for ranlib.
84103 * elf/rtld-Rules: Don't use RANLIB.
84104
84105 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84106
84107 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84108 protection macro.
84109 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84110 inclusion protection macro.
84111
84112 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84113 SIGRTMIN and SIGRTMAX and print information in that case only when
84114 SIGRTMIN is defined.
84115
84116 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84117
84118 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84119 arginfo fn returning -1.
84120
84121 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84122 and thousands string is zero terminated.
84123
84124 2011-02-03 Andreas Schwab <schwab@redhat.com>
84125
84126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84127 sysdeps/unix/sysv/linux/bits/socket.h.
84128
84129 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84130
84131 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84132 (__CPU_COUNT): Remove old macros.
84133 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84134 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84135 (__CPU_ALLOC, __CPU_FREE): Add macros.
84136 (__sched_cpualloc, __sched_cpufree): Add declarations.
84137
84138 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84139
84140 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84141 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84142 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84143 (readdhstai): Return value of addhstaiX call.
84144 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84145 (addgrbyX): Return value returned by cache_addgr.
84146 (readdgrbyname): Return value returned by addgrbyX.
84147 (readdgrbygid): Likewise.
84148 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84149 (addpwbyX): Return value returned by cache_addpw.
84150 (readdpwbyname): Return value returned by addhstbyX.
84151 (readdpwbyuid): Likewise.
84152 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84153 (addservbyX): Return value returned by cache_addserv.
84154 (readdservbyname): Return value returned by addservbyX:
84155 (readdservbyport): Likewise.
84156 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84157 (addhstbyX): Return value returned by cache_addhst.
84158 (readdhstbyname): Return value returned by addhstbyX.
84159 (readdhstbyaddr): Likewise.
84160 (readdhstbynamev6): Likewise.
84161 (readdhstbyaddrv6): Likewise.
84162 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84163 (readdinitgroups): Return value returned by addinitgroupsX.
84164 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84165 (prune_cache): Keep track of timeout value of re-added entries.
84166 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84167 * nscd/nscd.h: Adjust prototypes of readd* functions.
84168
84169 2011-02-04 Roland McGrath <roland@redhat.com>
84170
84171 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84172 (nis_stats): Likewise.
84173 * nis/nis_modify.c (nis_modify): Likewise.
84174 * nis/nis_remove.c (nis_remove): Likewise.
84175 * nis/nis_add.c (nis_add): Likewise.
84176
84177 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84178
84179 * posix/fnmatch_loop.c: Add some consts.
84180
84181 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84182
84183 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84184
84185 [BZ #12460]
84186 * config.make.in (config-cflags-novzeroupper): Define.
84187 * configure.in: Substitute libc_cv_cc_novzeroupper.
84188 * elf/Makefile (AVX-CFLAGS): Define.
84189 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84190 (CFLAGS-tst-auditmod4a.c): Likewise.
84191 (CFLAGS-tst-auditmod4b.c): Likewise.
84192 (CFLAGS-tst-auditmod6b.c): Likewise.
84193 (CFLAGS-tst-auditmod6c.c): Likewise.
84194 (CFLAGS-tst-auditmod7b.c): Likewise.
84195 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84196
84197 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84198
84199 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84200 function to the callback.
84201 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84202
84203 2011-02-02 Andreas Schwab <schwab@redhat.com>
84204
84205 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84206 of errno.
84207
84208 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84209
84210 [BZ #11724]
84211 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84212 of constructors.
84213 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84214 of destructors.
84215 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84216
84217 [BZ #11724]
84218 * elf/Makefile: Add rules to build and run new test.
84219 * elf/tst-initorder.c: New file.
84220 * elf/tst-initorder.exp: New file.
84221 * elf/tst-initordera1.c: New file.
84222 * elf/tst-initordera2.c: New file.
84223 * elf/tst-initordera3.c: New file.
84224 * elf/tst-initordera4.c: New file.
84225 * elf/tst-initorderb1.c: New file.
84226 * elf/tst-initorderb2.c: New file.
84227 * elf/tst-order-a1.c: New file.
84228 * elf/tst-order-a2.c: New file.
84229 * elf/tst-order-a3.c: New file.
84230 * elf/tst-order-a4.c: New file.
84231 * elf/tst-order-b1.c: New file.
84232 * elf/tst-order-b2.c: New file.
84233 * elf/tst-order-main.c: New file.
84234 New test case by George Gensure <werkt0@gmail.com>.
84235
84236 2010-10-01 Andreas Schwab <schwab@redhat.com>
84237
84238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84239 decoding ACE if AI_CANONIDN.
84240
84241 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84242
84243 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84244
84245 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84246
84247 * version.h (RELEASE): Bump for 2.13 release.
84248 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84249
84250 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84251
84252 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84253 MADV_NOHUGEPAGE.
84254 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84255 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84260
84261 * posix/getconf.c: Update copyright year.
84262 * catgets/gencat.c: Likewise.
84263 * csu/version.c: Likewise.
84264 * debug/catchsegv.sh: Likewise.
84265 * debug/xtrace.sh: Likewise.
84266 * elf/ldconfig.c: Likewise.
84267 * elf/ldd.bash.in: Likewise.
84268 * elf/sprof.c (print_version): Likewise.
84269 * iconv/iconv_prog.c: Likewise.
84270 * iconv/iconvconfig.c: Likewise.
84271 * locale/programs/locale.c: Likewise.
84272 * locale/programs/localedef.c: Likewise.
84273 * malloc/memusage.sh: Likewise.
84274 * malloc/mtrace.pl: Likewise.
84275 * nscd/nscd.c (print_version): Likewise.
84276 * nss/getent.c: Likewise.
84277
84278 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84279 PF_CAIF, and PF_ALG.
84280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84281
84282 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84283
84284 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84285 (modules-names): Use them.
84286 (ifunc-test-modules, ifunc-pie-tests): Define.
84287 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84288 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84289 (test-extras): Likewise.
84290 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84291 $(compile-command.c).
84292 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84293 (all-built-dso): Define.
84294 (check-textrel.out, check-execstack.out): Depend on it.
84295
84296 * configure.in: Don't override --enable-multi-arch.
84297
84298 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84299
84300 [BZ #6812]
84301 * nscd/hstcache.c (tryagain): Define.
84302 (cache_addhst): Return tryagain not notfound for temporary errors.
84303 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84304 failed.
84305
84306 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84307
84308 [BZ #10563]
84309 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84310 to make the syscall.
84311 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84312
84313 [BZ #12378]
84314 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84315 and fall back to matching as normal character if the string ends before
84316 the matching ']' is found. This is what POSIX requires.
84317 * posix/testfnm.c: Adjust test result.
84318 * posix/globtest.sh: Adjust test result. Add new test.
84319 * posix/tst-fnmatch.input: Likewise.
84320 * posix/tst-fnmatch2.c: Add new test.
84321
84322 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84323
84324 * elf/Makefile (check-execstack): Revert last change. Depend on
84325 check-execstack.h.
84326 (check-execstack.h): New target.
84327 (generated): Add check-execstack.h.
84328 * elf/check-execstack.c: Include "check-execstack.h".
84329 (main): Revert last change.
84330 (handle_file): Return zero if GNU_STACK is absent and
84331 DEFAULT_STACK_PERMS doesn't include PF_X.
84332
84333 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84334
84335 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84336 in child fails because the descriptor is already closed.
84337 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84338 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84340
84341 [BZ #12397]
84342 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84343 syscall.
84344
84345 [BZ #10484]
84346 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84347 temporary buffer used to handle multi lookups locally.
84348 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84349
84350 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84351
84352 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84353 loader is ld.so.
84354
84355 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84356
84357 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84358 alignment for SSE2.
84359
84360 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84361
84362 [BZ #12394]
84363 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84364 characters. When rounding increased number of integer digits recompute
84365 number of groups.
84366 * stdio-common/tst-grouping.c: New file.
84367 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84368
84369 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84370
84371 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84372 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84373
84374 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84375 void.
84376 * bits/select.h: Likewise.
84377
84378 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84379
84380 * po/ja.po: Update from translation team.
84381
84382 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84383
84384 [BZ #11155]
84385 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84386 implementation just like for lxstat, fxstatat, et al.
84387
84388 2010-12-27 Jim Meyering <meyering@redhat.com>
84389
84390 [BZ #12348]
84391 * posix/regexec.c (build_trtable): Return failure indication upon
84392 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84393
84394 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84395
84396 [BZ #12201]
84397 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84398 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84399 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84400 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84401
84402 [BZ #12207]
84403 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84404
84405 [BZ #12204]
84406 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84407 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84408
84409 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84410
84411 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84412 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84413 script has SORT_BY_INIT_PRIORITY.
84414 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84415 NO_CTORS_DTORS_SECTIONS is defined.
84416 * elf/soinit.c: Likewise.
84417 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84418 NO_CTORS_DTORS_SECTIONS is defined.
84419 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84420 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84421 * sysdeps/sh/init-first.c: Likewise.
84422 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84423
84424 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84425
84426 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84427 always use the slow path.
84428
84429 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84430
84431 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84432 similar rule which adds the sysdep directories to the header search in
84433 order to pick up the correct platform stackinfo.h.
84434 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84435 perform test if it is, otherwise return successfully without testing.
84436 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84437 DEFAULT_STACK_PERMS define in stackinfo.h.
84438 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84439 defined in stackinfo.h.
84440 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84441 DEFAULT_STACK_PERMS defined in stackinfo.h.
84442 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84443 * sysdeps/ia64/stackinfo.h: Likewise.
84444 * sysdeps/s390/stackinfo.h: Likewise.
84445 * sysdeps/sh/stackinfo.h: Likewise.
84446 * sysdeps/sparc/stackinfo.h: Likewise.
84447 * sysdeps/x86_64/stackinfo.h: Likewise.
84448 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84449 PF_X for powerpc64. Retain PF_X for powerpc32.
84450
84451 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84452
84453 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84454 accurately.
84455 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84456 GETDENTS_64BIT_ALIGNED.
84457
84458 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84459
84460 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84461
84462 2010-12-10 Andreas Schwab <schwab@redhat.com>
84463
84464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84465 _GNU_SOURCE.
84466
84467 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84468 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84469 Remove __restrict.
84470 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84471 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84472
84473 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84474
84475 [BZ #11655]
84476 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84477 are initialized.
84478
84479 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84480
84481 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84482
84483 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84484
84485 * po/it.po: Update from translation team.
84486
84487 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84488
84489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84490 unused codes.
84491
84492 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84493
84494 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84495
84496 2010-11-24 Andreas Schwab <schwab@redhat.com>
84497
84498 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84499 specially.
84500 (gaih_getanswer_slice): Likewise.
84501
84502 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84503
84504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84505
84506 2010-05-31 Petr Baudis <pasky@suse.cz>
84507
84508 [BZ #11149]
84509 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84510 silently even in the chroot mode.
84511
84512 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84513
84514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84515 last patch a bit. Pretty printing
84516
84517 2010-05-31 Petr Baudis <pasky@suse.cz>
84518
84519 [BZ #10085]
84520 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84521 initialization of skip_initgroups_dyn.
84522
84523 2010-11-19 Ulrich Drepper <drepper@gmail.com>
84524
84525 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84526 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84527
84528 2010-11-16 Ulrich Drepper <drepper@gmail.com>
84529
84530 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84531
84532 2010-11-11 Andreas Schwab <schwab@redhat.com>
84533
84534 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84535 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84536 (tst-fnmatch-ENV): Set MALLOC_TRACE.
84537 ($(objpfx)tst-fnmatch-mem): New rule.
84538 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84539 * posix/tst-fnmatch.c (main): Call mtrace.
84540
84541 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
84542
84543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84544 Support Intel processor model 6 and model 0x2c.
84545
84546 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
84547
84548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84549 signed comparison.
84550
84551 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84552
84553 [BZ #12205]
84554 * string/test-strncasecmp.c (check_result): New function.
84555 (do_one_test): Use it.
84556 (check1): New function.
84557 (test_main): Use it.
84558 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84559 Support strcasecmp and strncasecmp.
84560
84561 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84562
84563 [BZ #12194]
84564 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84566
84567 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84568
84569 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84570 IFUNC support.
84571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84572 memset-x86-64.
84573 * sysdeps/x86_64/multiarch/bzero.S: New file.
84574 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84575 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84576 * sysdeps/x86_64/multiarch/memset.S: New file.
84577 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84579 Set bit_Prefer_SSE_for_memop for Intel processors.
84580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84581 Define.
84582 (index_Prefer_SSE_for_memop): Define.
84583 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84584
84585 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84586
84587 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84588 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84589
84590 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84591
84592 [BZ #12191]
84593 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84594 (__x86_64_raw_data_cache_size_half): Likewise.
84595 (__x86_64_raw_shared_cache_size): Likewise.
84596 (__x86_64_raw_shared_cache_size_half): Likewise.
84597
84598 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84599 (__x86_64_raw_data_cache_size_half): Likewise.
84600 (__x86_64_raw_shared_cache_size): Likewise.
84601 (__x86_64_raw_shared_cache_size_half): Likewise.
84602 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84603 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84604 and __x86_64_raw_shared_cache_size_half. Round
84605 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84606 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84607 to multiple of 256 bytes.
84608
84609 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84610
84611 [BZ #12167]
84612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84613 of inacessible symlinks. Verify result of symlink before returning it.
84614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84615 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84616
84617 2010-10-28 Erich Ritz <erichritz@gmail.com>
84618
84619 * math/math.h (isinf): Fix typo in comment.
84620
84621 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84622
84623 * po/da.po: Update from translation team.
84624
84625 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84626
84627 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84628 is added to the list.
84629
84630 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84631 Ulrich Drepper <drepper@gmail.com>
84632
84633 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84634 the global list here. Move code to...
84635 (_dl_add_to_namespace_list): ...here. New function.
84636 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84637 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84638 * elf/dl-load.c (lose): Don't remove the element from the list.
84639 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84640 (_dl_map_object): Likewise.
84641
84642 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84643
84644 [BZ #12159]
84645 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84646 into all bytes of SSE register.
84647 Patch by Richard Li <richardpku@gmail.com>.
84648
84649 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84650
84651 [BZ #12140]
84652 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84653 perturbing.
84654
84655 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84656
84657 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84658 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84659 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84660 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84662 submachine.
84663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84664
84665 2010-10-22 Andreas Schwab <schwab@redhat.com>
84666
84667 * include/dlfcn.h (__RTLD_SECURE): Define.
84668 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84669 mode & __RTLD_SECURE instead.
84670 (open_path): Rename preloaded parameter to secure.
84671 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84672 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84673 * elf/dl-deps.c (openaux): Likewise.
84674 * elf/rtld.c (struct map_args): Remove is_preloaded.
84675 (map_doit): Don't use it.
84676 (dl_main): Likewise.
84677 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84678 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84679
84680 2010-09-09 Andreas Schwab <schwab@redhat.com>
84681
84682 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84683 (sysd-rules-targets): Remove duplicates.
84684 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84685 rtld-%.$o dependency.
84686
84687 2010-10-18 Andreas Schwab <schwab@redhat.com>
84688
84689 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84690 _dl_map_object do it.
84691
84692 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84693
84694 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84695 fast fma builtins, define the macros in the C99 standard.
84696 (FP_FAST_FMAF): Likewise.
84697 (FP_FAST_FMAL): Likewise.
84698 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84699
84700 * bits/mathdef.h: Update copyright year.
84701 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84702
84703 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84704
84705 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84706 builtins, define the macros in the C99 standard.
84707 (FP_FAST_FMAF): Likewise.
84708 (FP_FAST_FMAL): Likewise.
84709 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84710 multiply/add.
84711 (FP_FAST_FMAF): Likewise.
84712
84713 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84714
84715 [BZ #3268]
84716 * math/libm-test.inc (fma_test): Some new testcases.
84717 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84719 y and infinite z. Do multiplication by C already in long double.
84720 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84722 y and infinite z. Do bitwise or of inexact bit into u.d.
84723 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84724 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84725 * sysdeps/i386/fpu/s_fma.S: Removed.
84726 * sysdeps/i386/fpu/s_fmal.S: Removed.
84727
84728 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84729
84730 [BZ #3268]
84731 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84733 computation is not scheduled after fetestexcept. Fix value
84734 of minimum denormal long double.
84735
84736 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84737
84738 [BZ #3268]
84739 * math/libm-test.inc (fma_test): Add some more tests.
84740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84741 correctly.
84742
84743 2010-10-15 Andreas Schwab <schwab@redhat.com>
84744
84745 * scripts/data/localplt-s390-linux-gnu.data: New file.
84746 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84747
84748 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84749
84750 [BZ #3268]
84751 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84752 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84753 instead of dbl-64.
84754 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84755 inlines.
84756 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84758 if one of x and y is very large and the other is subnormal.
84759 * sysdeps/s390/fpu/s_fmaf.c: New file.
84760 * sysdeps/s390/fpu/s_fma.c: New file.
84761 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84762 * sysdeps/powerpc/fpu/s_fma.S: New file.
84763 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84764 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84765 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84766
84767 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84768
84769 [BZ #3268]
84770 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84771 fma tests.
84772 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84773 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84774 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84775 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84776 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84777 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84778 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84779
84780 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84781
84782 [BZ #12078]
84783 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84784 * posix/bug-regex31.input: Add test case.
84785
84786 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84787
84788 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84789 * posix/bug-regex31.input: New file.
84790
84791 [BZ #12078]
84792 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84793 (parse_sub_exp): Fix last change, use postorder.
84794
84795 * posix/bug-regex31.c: New file.
84796 * posix/Makefile: Add rules to build and run bug-regex31.
84797
84798 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84799
84800 [BZ #12078]
84801 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84802
84803 [BZ #12108]
84804 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84805 to have entries in sys_siglist.
84806
84807 [BZ #12093]
84808 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84809 be NULL.
84810
84811 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84812
84813 [BZ #3268]
84814 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84815 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84816 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84817 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84818 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84819 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84820 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84821 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84822 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84823 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84824 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84825 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84826 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84827 * math/ftestexcept.c (fetestexcept): Likewise.
84828 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84829 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84830 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84831 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84832 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84833 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84835
84836 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84837
84838 [BZ #12107]
84839 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84840 newline.
84841
84842 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84843
84844 * string/bug-strstr1.c: New file.
84845 * string/Makefile: Add rules to build and run bug-strstr1.
84846
84847 2010-10-05 Eric Blake <eblake@redhat.com>
84848
84849 [BZ #12092]
84850 * string/str-two-way.h (two_way_long_needle): Always clear memory
84851 when skipping input due to the shift table.
84852
84853 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84854
84855 [BZ #12005]
84856 * malloc/mcheck.c: Handle large requests.
84857
84858 [BZ #12077]
84859 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84860 for strncmp and strncasecmp.
84861 * string/stratcliff.c: Add tests for strcmp and strncmp.
84862 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84863
84864 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84865
84866 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84867 __set_fpscr.
84868
84869 2010-09-30 Andreas Jaeger <aj@suse.de>
84870
84871 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84872 (CGROUP_SUPER_MAGIC): Define.
84873 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84874 Handle btrfs and cgroup file systems.
84875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84876 Likewise.
84877
84878 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84879
84880 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84881 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84882
84883 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84884
84885 [BZ #12067]
84886 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84887 trying to locate the ELF header.
84888
84889 2010-09-27 Andreas Schwab <schwab@redhat.com>
84890
84891 [BZ #11611]
84892 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84893 Mask out sign-bit copies when constructing f_fsid.
84894
84895 2010-09-24 Petr Baudis <pasky@suse.cz>
84896
84897 * debug/stack_chk_fail_local.c: Add missing licence exception.
84898 * debug/warning-nop.c: Likewise.
84899
84900 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84901
84902 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84903 implementing getdents64 using getdents syscall, set d_type if
84904 __ASSUME_GETDENTS32_D_TYPE.
84905
84906 2010-09-16 Andreas Schwab <schwab@redhat.com>
84907
84908 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84909 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84910
84911 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84912
84913 [BZ #12037]
84914 * posix/unistd.h: Undo change of feature selection for ftruncate from
84915 2010-01-11.
84916
84917 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84918
84919 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84920 detection.
84921
84922 2010-09-20 Andreas Schwab <schwab@redhat.com>
84923
84924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84925 fanotify_mark.
84926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84927
84928 2010-09-14 Andreas Schwab <schwab@redhat.com>
84929
84930 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84931 variables after CHECK_SP call.
84932 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84933
84934 2010-09-13 Andreas Schwab <schwab@redhat.com>
84935 Ulrich Drepper <drepper@redhat.com>
84936
84937 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84938 re-relocationg ld.so.
84939 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84940 _dl_init_paths call.
84941 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84942 here anymore.
84943
84944 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84945
84946 * resolv/res_init.c (__res_vinit): Count the default server we added.
84947
84948 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84949 Ulrich Drepper <drepper@redhat.com>
84950
84951 [BZ #11968]
84952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84953 (____longjmp_chk): Use %ebx for saving value across system call.
84954 Add unwind info.
84955
84956 2010-09-06 Andreas Schwab <schwab@redhat.com>
84957
84958 * manual/Makefile: Don't mix pattern rules with normal rules.
84959
84960 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84961
84962 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84963 operation.
84964 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84965 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84966 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84967 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84969 Likewise.
84970
84971 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84972
84973 [BZ #11979]
84974 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84975 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84976
84977 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84978
84979 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84980 * sysdeps/x86_64/addmul_1.S: Likewise.
84981 * sysdeps/x86_64/lshift.S: Likewise.
84982 * sysdeps/x86_64/mul_1.S: Likewise.
84983 * sysdeps/x86_64/rshift.S: Likewise.
84984 * sysdeps/x86_64/sub_n.S: Likewise.
84985 * sysdeps/x86_64/submul_1.S: Likewise.
84986
84987 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84988
84989 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84990 Define __sched_param instead of SCHED_* and sched_param when
84991 <bits/sched.h> is included with __need_schedparam defined.
84992 * bits/sched.h [__need_schedparam]
84993 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84994 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84995 (__defined_schedparam): Define to 1.
84996 (__sched_param): New structure, identical to sched_param.
84997 (__need_schedparam): Undefine.
84998
84999 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85000
85001 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85002 (epoll_create1): Declare.
85003
85004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85005
85006 2010-08-31 Andreas Schwab <schwab@redhat.com>
85007
85008 [BZ #7066]
85009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85010 shifting retval into place.
85011
85012 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85013
85014 * nis/rpcsvc/nis.h: Update copyright notice.
85015 * nis/rpcsvc/nis.x: Likewise.
85016 * nis/rpcsvc/nis_callback.h: Likewise.
85017 * nis/rpcsvc/nis_callback.x: Likewise.
85018 * nis/rpcsvc/nis_object.x: Likewise.
85019 * nis/rpcsvc/nis_tags.h: Likewise.
85020 * nis/rpcsvc/yp.h: Likewise.
85021 * nis/rpcsvc/yp.x: Likewise.
85022 * nis/rpcsvc/ypupd.h: Likewise.
85023 * nis/yp_xdr.c: Likewise.
85024 * nis/ypupdate_xdr.c: Likewise.
85025
85026 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85027 mainly the body of pmap_getport. Add parameters to specify timeouts.
85028 (pmap_getport): Use __libc_rpc_getport.
85029 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85030 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85031 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85032
85033 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85034
85035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85036 fanotify_mark.
85037
85038 2010-08-27 Roland McGrath <roland@redhat.com>
85039
85040 * sysdeps/i386/i686/multiarch/Makefile
85041 (CFLAGS-varshift.c): New variable.
85042
85043 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85044
85045 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85046 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85047
85048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85049
85050 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85051
85052 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85053
85054 * sysdeps/x86_64/strlen.S: Unroll the loop.
85055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85056 strlen-sse2 strlen-sse2-bsf.
85057 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85058 __strlen_no_bsf if bit_Slow_BSF is set.
85059 (__strlen_sse42): Removed.
85060 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85061 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85062
85063 2010-08-25 Roland McGrath <roland@redhat.com>
85064
85065 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85066 * sysdeps/x86_64/multiarch/varshift.c: New file.
85067 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85068 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85069 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85070 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85071
85072 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85073
85074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85075 strlen-sse2 strlen-sse2-bsf.
85076 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85077 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85078 (__strlen_sse2): Removed.
85079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85082 bit_Slow_BSF for Atom.
85083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85084 (index_Slow_BSF): Define.
85085 (HAS_SLOW_BSF): Define.
85086
85087 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85088
85089 [BZ #10851]
85090 * resolv/res_init.c (__res_vinit): When no server address at all
85091 is given default to loopback.
85092
85093 2010-08-24 Roland McGrath <roland@redhat.com>
85094
85095 * configure.in: Remove config-name.h generation.
85096 * configure: Regenerated.
85097 * config-name.in: File removed.
85098 * scripts/config-uname.sh: New file.
85099 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85100 ($(objdir)config-name.h): New target.
85101
85102 * sunrpc/rpc_parse.h: Avoid nested comment.
85103
85104 2010-08-24 Richard Henderson <rth@redhat.com>
85105 Ulrich Drepper <drepper@redhat.com>
85106 H.J. Lu <hongjiu.lu@intel.com>
85107
85108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85110 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85111 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85112 _mm_alignr_epi8 with _mm_loadu_si128.
85113 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85114 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85115 (__m128i_shift_right): Removed.
85116 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85117 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85118 * sysdeps/x86_64/multiarch/varshift.h: New file.
85119 * sysdeps/x86_64/multiarch/varshift.S: New file.
85120
85121 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85122
85123 * configure.in: Move assembler checks to before sysdep dir checking.
85124
85125 2010-08-20 Petr Baudis <pasky@suse.cz>
85126
85127 * LICENSES: Sync the sunrpc license.
85128
85129 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85130
85131 * sunrpc/auth_des.c: Update copyright notice once again.
85132 * sunrpc/auth_none.c: Likewise.
85133 * sunrpc/auth_unix.c: Likewise.
85134 * sunrpc/authdes_prot.c: Likewise.
85135 * sunrpc/authuxprot.c: Likewise.
85136 * sunrpc/bindrsvprt.c: Likewise.
85137 * sunrpc/clnt_gen.c: Likewise.
85138 * sunrpc/clnt_perr.c: Likewise.
85139 * sunrpc/clnt_raw.c: Likewise.
85140 * sunrpc/clnt_simp.c: Likewise.
85141 * sunrpc/clnt_tcp.c: Likewise.
85142 * sunrpc/clnt_udp.c: Likewise.
85143 * sunrpc/clnt_unix.c: Likewise.
85144 * sunrpc/des_crypt.c: Likewise.
85145 * sunrpc/des_soft.c: Likewise.
85146 * sunrpc/get_myaddr.c: Likewise.
85147 * sunrpc/getrpcport.c: Likewise.
85148 * sunrpc/key_call.c: Likewise.
85149 * sunrpc/key_prot.c: Likewise.
85150 * sunrpc/openchild.c: Likewise.
85151 * sunrpc/pm_getmaps.c: Likewise.
85152 * sunrpc/pm_getport.c: Likewise.
85153 * sunrpc/pmap_clnt.c: Likewise.
85154 * sunrpc/pmap_prot.c: Likewise.
85155 * sunrpc/pmap_prot2.c: Likewise.
85156 * sunrpc/pmap_rmt.c: Likewise.
85157 * sunrpc/rpc/auth.h: Likewise.
85158 * sunrpc/rpc/auth_unix.h: Likewise.
85159 * sunrpc/rpc/clnt.h: Likewise.
85160 * sunrpc/rpc/des_crypt.h: Likewise.
85161 * sunrpc/rpc/key_prot.h: Likewise.
85162 * sunrpc/rpc/netdb.h: Likewise.
85163 * sunrpc/rpc/pmap_clnt.h: Likewise.
85164 * sunrpc/rpc/pmap_prot.h: Likewise.
85165 * sunrpc/rpc/pmap_rmt.h: Likewise.
85166 * sunrpc/rpc/rpc.h: Likewise.
85167 * sunrpc/rpc/rpc_des.h: Likewise.
85168 * sunrpc/rpc/rpc_msg.h: Likewise.
85169 * sunrpc/rpc/svc.h: Likewise.
85170 * sunrpc/rpc/svc_auth.h: Likewise.
85171 * sunrpc/rpc/types.h: Likewise.
85172 * sunrpc/rpc/xdr.h: Likewise.
85173 * sunrpc/rpc_clntout.c: Likewise.
85174 * sunrpc/rpc_cmsg.c: Likewise.
85175 * sunrpc/rpc_common.c: Likewise.
85176 * sunrpc/rpc_cout.c: Likewise.
85177 * sunrpc/rpc_dtable.c: Likewise.
85178 * sunrpc/rpc_hout.c: Likewise.
85179 * sunrpc/rpc_main.c: Likewise.
85180 * sunrpc/rpc_parse.c: Likewise.
85181 * sunrpc/rpc_parse.h: Likewise.
85182 * sunrpc/rpc_prot.c: Likewise.
85183 * sunrpc/rpc_sample.c: Likewise.
85184 * sunrpc/rpc_scan.c: Likewise.
85185 * sunrpc/rpc_scan.h: Likewise.
85186 * sunrpc/rpc_svcout.c: Likewise.
85187 * sunrpc/rpc_tblout.c: Likewise.
85188 * sunrpc/rpc_util.c: Likewise.
85189 * sunrpc/rpc_util.h: Likewise.
85190 * sunrpc/rpcinfo.c: Likewise.
85191 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85192 * sunrpc/rpcsvc/key_prot.x: Likewise.
85193 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85194 * sunrpc/rpcsvc/mount.x: Likewise.
85195 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85196 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85197 * sunrpc/rpcsvc/rex.x: Likewise.
85198 * sunrpc/rpcsvc/rstat.x: Likewise.
85199 * sunrpc/rpcsvc/rusers.x: Likewise.
85200 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85201 * sunrpc/rpcsvc/spray.x: Likewise.
85202 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85203 * sunrpc/rtime.c: Likewise.
85204 * sunrpc/svc.c: Likewise.
85205 * sunrpc/svc_auth.c: Likewise.
85206 * sunrpc/svc_authux.c: Likewise.
85207 * sunrpc/svc_raw.c: Likewise.
85208 * sunrpc/svc_run.c: Likewise.
85209 * sunrpc/svc_simple.c: Likewise.
85210 * sunrpc/svc_tcp.c: Likewise.
85211 * sunrpc/svc_udp.c: Likewise.
85212 * sunrpc/svc_unix.c: Likewise.
85213 * sunrpc/svcauth_des.c: Likewise.
85214 * sunrpc/xcrypt.c: Likewise.
85215 * sunrpc/xdr.c: Likewise.
85216 * sunrpc/xdr_array.c: Likewise.
85217 * sunrpc/xdr_float.c: Likewise.
85218 * sunrpc/xdr_mem.c: Likewise.
85219 * sunrpc/xdr_rec.c: Likewise.
85220 * sunrpc/xdr_ref.c: Likewise.
85221 * sunrpc/xdr_sizeof.c: Likewise.
85222 * sunrpc/xdr_stdio.c: Likewise.
85223
85224 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85225 handling.
85226
85227 2010-08-19 Andreas Schwab <schwab@redhat.com>
85228
85229 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85230
85231 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85232
85233 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85236 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85237 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85238 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85239 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85240 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85241 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85242 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85243 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85244 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85245 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85246 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85247
85248 2010-07-26 Anton Blanchard <anton@samba.org>
85249
85250 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85251 * malloc/arena.c (heap_trim): Likewise.
85252
85253 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85254
85255 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85256 here. Not...
85257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85258 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85259
85260 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85261
85262 * sysdeps/i386/elf/Makefile: New file.
85263
85264 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85265
85266 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85267 from fanotify_init.
85268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85270
85271 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85272
85273 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85274 of strncasecmp_l.
85275 * sysdeps/multiarch/strcmp.S: Likewise.
85276
85277 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85278
85279 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85280 strncase_l-nonascii.
85281 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85282 Add strncase_l-ssse3.
85283 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85284 * sysdeps/x86_64/strcmp.S: Likewise.
85285 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85286 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85287 * sysdeps/x86_64/strncase.S: New file.
85288 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85289 * sysdeps/x86_64/strncase_l.S: New file.
85290 * string/Makefile (strop-tests): Add strncasecmp.
85291 * string/test-strncasecmp.c: New file.
85292
85293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85294 warning.
85295
85296 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85297 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85298
85299 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85300
85301 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85302
85303 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85304
85305 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85306 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85307 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85308
85309 2010-05-01 Alan Modra <amodra@gmail.com>
85310
85311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85312 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85313 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85314 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85315 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85316 tidying. Don't tail-call __sigjmp_save for static lib.
85317 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85318 save location.
85319 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85320 (CALL_MCOUNT): Add eh info, and nop after bl.
85321 (TAIL_CALL_SYSCALL_ERROR): New macro.
85322 (PSEUDO_RET): Use it.
85323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85324 Correct save location of integer regs and cr.
85325 (_dl_profile_resolve): Correct cr save location. Delete nops
85326 after bl when SHARED. Reduce cfi size a little by better
85327 placement of cfi directives.
85328 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85329 make a stack frame. Instead use parm save area as a temp.
85330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85331 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85333 Don't make a stack frame for parent, use parm save area.
85334 Increase child stack frame to 112 bytes. Don't save unused reg,
85335 and adjust reg usage. Set up cfi on error recovery and
85336 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85338 (__makecontext): Add dummy nop after jump to exit.
85339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85340 Use correct parm save area and cr save, reduce stack frame.
85341 Correct cfi for possible PSEUDO_RET frame setup.
85342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85343 Branch to local label emitted by PSEUDO_RET rather than
85344 __syscall_error.
85345
85346 2010-08-12 Andreas Schwab <schwab@redhat.com>
85347
85348 [BZ #11904]
85349 * locale/programs/locale.c (print_assignment): New function.
85350 (show_locale_vars): Use it.
85351
85352 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85353
85354 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85355 field.
85356 (struct statfs64): Likewise.
85357 (_STATFS_F_FLAGS): Define.
85358 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85360 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85361 (ST_VALID): Define locally.
85362 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85363 __statvfs_getflags, use the provided value.
85364 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85365 __ASSUME_STATFS_F_FLAGS.
85366
85367 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85368
85369 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85370 Add sys/fanotify.h.
85371 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85372 fanotify_mask for GLIBC_2.13.
85373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85374 fanotify_init and fanotify_mark.
85375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85376 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85377
85378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85379 Add prlimit.
85380 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85381 prlimit64 for GLIBC_2.13.
85382 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85383 prlimit64.
85384 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85385 syscall.
85386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85388 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85389 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85391 add prlimit alias.
85392 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85393
85394 [BZ #11903]
85395 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85396 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85397
85398 * nss/Makefile: Add rules to build and run tst-nss-test1.
85399 * shlib-versions: Add entry for libnss_test1.
85400 * nss/nss_test1.c: New file.
85401 * nss/tst-nss-test1.c: New file.
85402
85403 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85404 (__nss_configure_lookup): Set appropriate entry in
85405 __nss_configure_lookup to true.
85406 * nss/nsswitch.h: Define enum with indeces of databases in
85407 databases and __nss_database_custom arrays. Declare
85408 __nss_database_custom.
85409 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85410 to avoid using nscd when custom rules are installed.
85411 * nss/getXXbyYY_r.c: Likewise.
85412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85413
85414 * nss/nss_files/files-parse.c: Whitespace fixes.
85415
85416 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85417
85418 [BZ #11883]
85419 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85420 * posix/fnmatch_loop.c: Likewise.
85421
85422 2010-07-17 Andi Kleen <ak@linux.intel.com>
85423
85424 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85425 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85426 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85427 * Versions.def [GLIBC_2.13]: Add.
85428
85429 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85430
85431 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85432 Also fail if tpwd after pwuid call is NULL.
85433
85434 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85435
85436 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85437 when converting to ms.
85438
85439 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85440
85441 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85442 EOPNOTSUPP errors with ENOTTY.
85443 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85444 EOPNOTSUPP errors with ENOTTY.
85445
85446 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85447
85448 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85449 Add strcasecmp_l-ssse3.
85450 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85451 strcasecmp.
85452 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85453 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85454 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85455
85456 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85457
85458 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85459
85460 * string/Makefile (strop-tests): Add strcasecmp.
85461 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85462 strcasecmp_l-nonascii.
85463 (gen-as-const-headers): Add locale-defines.sym.
85464 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85465 * sysdeps/x86_64/strcasecmp.S: New file.
85466 * sysdeps/x86_64/strcasecmp_l.S: New file.
85467 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85468 * sysdeps/x86_64/locale-defines.sym: New file.
85469 * string/test-strcasecmp.c: New file.
85470
85471 * string/test-strcasestr.c: Test both ends of the range of characters.
85472 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85473
85474 2010-07-29 Roland McGrath <roland@redhat.com>
85475
85476 [BZ #11856]
85477 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85478
85479 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85480
85481 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85482 for ld.so.
85483
85484 2010-07-27 Andreas Schwab <schwab@redhat.com>
85485
85486 * manual/memory.texi (Malloc Tunable Parameters): Document
85487 M_PERTURB.
85488
85489 2010-07-26 Roland McGrath <roland@redhat.com>
85490
85491 [BZ #11840]
85492 * configure.in (-fgnu89-inline check): Set and substitute
85493 gnu89_inline, not libc_cv_gnu89_inline.
85494 * configure: Regenerated.
85495 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85496
85497 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85498
85499 * string/test-strnlen.c: New file.
85500 * string/Makefile (strop-tests): Add strnlen.
85501 * string/tester.c (test_strnlen): Add a few more test cases.
85502 * string/tst-strlen.c: Better error reporting.
85503
85504 * sysdeps/x86_64/strnlen.S: New file.
85505
85506 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85507
85508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85509 lower-latency instructions.
85510
85511 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85512
85513 * string/test-strcasestr.c: New file.
85514 * string/test-strstr.c: New file.
85515 * string/Makefile (strop-tests): Add strstr and strcasestr.
85516 * string/str-two-way.h: Don't undefine MAX.
85517 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85518
85519 2010-07-21 Andreas Schwab <schwab@redhat.com>
85520
85521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85522 strcasestr-nonascii.
85523 (CFLAGS-strcasestr-nonascii.c): Define.
85524 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85525 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85526 Remove unused attribute.
85527
85528 2010-07-20 Roland McGrath <roland@redhat.com>
85529
85530 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85531 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
85532 ld.so.cache was broken. With it, there is no way to disable dsocaps
85533 like LD_HWCAP_MASK can disable hwcaps.
85534
85535 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85536
85537 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85538
85539 2010-07-16 Ulrich Drepper <drepper@redhat.com>
85540
85541 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85542 call in strcasestr.
85543 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85544 __strcasestr_sse42_nonascii.
85545 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85546 strcasestr-nonascii.c.
85547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85548
85549 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
85550
85551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85554 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85555
85556 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85557
85558 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85559 fcntl.
85560
85561 2010-07-06 Andreas Schwab <schwab@redhat.com>
85562
85563 [BZ #11577]
85564 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85565 dl_signal_cerror.
85566
85567 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85568
85569 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85570 _PC_PIPE_BUF using F_GETPIPE_SZ.
85571
85572 2010-07-05 Roland McGrath <roland@redhat.com>
85573
85574 * manual/arith.texi (Rounding Functions): Fix rint description
85575 implicit in round description.
85576
85577 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85578
85579 * elf/Makefile: Fix linking for a few tests to make recent linker
85580 happy.
85581
85582 2010-06-30 Andreas Schwab <schwab@redhat.com>
85583
85584 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85585 $(common-objpfx)libc_nonshared.a.
85586
85587 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85588
85589 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85590 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85591 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85592 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85593 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85594 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85595 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85596 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85611 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85612 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85613 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85614 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85615 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85616 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85617 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85618 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85619 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85620 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85621 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85622 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85637
85638 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85639
85640 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85641 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85642 * string/memmove.c (memmove): Renamed to ...
85643 (MEMMOVE): ...this. Default to memmove.
85644 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85645 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85646 (END_CHK): Define.
85647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85648 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85649 mempcpy-ssse3-back memmove-ssse3-back.
85650 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85653 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85654 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85655 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85656 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85657 * sysdeps/x86_64/multiarch/memmove.c: New file.
85658 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85659 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85660 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85661 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85662 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85664 Define.
85665 (index_Fast_Copy_Backward): Define.
85666 (HAS_ARCH_FEATURE): Define.
85667 (HAS_FAST_REP_STRING): Define.
85668 (HAS_FAST_COPY_BACKWARD): Define.
85669
85670 2010-06-21 Andreas Schwab <schwab@redhat.com>
85671
85672 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85673 Restore proper fallback handling.
85674
85675 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85676
85677 [BZ #11701]
85678 * posix/group_member.c (__group_member): Correct checking loop.
85679
85680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85681 OOM in getpwuid_r correctly. Return error number when the caller
85682 should return, otherwise -1.
85683 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85684 call returning > 0 value.
85685 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85686
85687 2010-06-07 Andreas Schwab <schwab@redhat.com>
85688
85689 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85690 libc_nonshared.a from targets in modules-names.
85691
85692 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85693
85694 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85695 requires it.
85696
85697 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85698
85699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85700 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85703
85704 2010-06-02 Andreas Schwab <schwab@redhat.com>
85705
85706 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85707
85708 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85709
85710 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85711 and F_GETPIPE_SZ.
85712 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85718
85719 2010-06-14 Roland McGrath <roland@redhat.com>
85720
85721 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85722
85723 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85724
85725 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85726 __REDIRECT followed by __THROW.
85727 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85728 * posix/getopt.h (getopt): Likewise.
85729
85730 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85731
85732 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85733 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85734 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85735 in AT_FLAGS.
85736 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85737 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85738
85739 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85740
85741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85742
85743 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85744
85745 [BZ #11640]
85746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85747 Properly check family and model.
85748
85749 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85750
85751 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85752
85753 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85754
85755 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85756
85757 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85758
85759 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85760 symbol reference.
85761
85762 2010-05-19 Andreas Schwab <schwab@redhat.com>
85763
85764 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85765 symbol reference.
85766
85767 2010-05-21 Andreas Schwab <schwab@redhat.com>
85768
85769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85770 and internal_recvmmsg.
85771 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85772 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85773 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85774 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85775
85776 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85777 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85778 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85779
85780 2010-05-20 Andreas Schwab <schwab@redhat.com>
85781
85782 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85783
85784 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85785
85786 POWER7 optimizations.
85787 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85788 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85789
85790 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85791
85792 * version.h: Update for 2.13 development version.
85793
85794 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85795
85796 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85797 exceptions. Return 0.
85798
85799 2010-05-07 Roland McGrath <roland@redhat.com>
85800
85801 * elf/ldconfig.c (main): Add a const.
85802
85803 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85804
85805 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85806 (args_options): Add no-idn option.
85807 (ahosts_keys_int): Add idn_flags to ai_flags.
85808 (parse_option): Handle 'i' option to clear idn_flags.
85809
85810 * malloc/malloc.c (_int_free): Possible race in the most recently
85811 added check. Only act on the data if no current modification
85812 happened.
85813
85814 See ChangeLog.17 for earlier changes.