]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix ld-address format-truncation error.
[thirdparty/glibc.git] / ChangeLog
1 2017-01-11 Joseph Myers <joseph@codesourcery.com>
2
3 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4 buffer used to print long int value.
5
6 * elf/sotruss-lib.c (init): Increase space allocated for pid by
7 one byte. Print it with %ld, cast to long int.
8
9 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10
11 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
12 (re.fullmatch, subprocess.run): Likewise.
13
14 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15
16 * po/libc.pot: Regenerate.
17
18 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
19
20 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
21 (min_strlen): Likewise.
22 (disable_tunable): Likewise.
23 (maybe_disable_malloc_check): Rename to
24 maybe_enable_malloc_check.
25 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
26 if /etc/suid-debug file exists.
27 (__tunables_init): Update caller.
28 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
29 secure.
30
31 2016-01-10 Torvald Riegel <triegel@redhat.com>
32
33 * nptl/DESIGN-rwlock.txt: Remove.
34 * nptl/lowlevelrwlock.sym: Remove.
35 * nptl/Makefile: Add new tests.
36 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
37 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
38 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
39 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
40 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
41 PTHREAD_RWLOCK_FUTEX_USED): New.
42 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
43 implementation.
44 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
45 (__pthread_rwlock_rdlock): Adapt.
46 * nptl/pthread_rwlock_timedrdlock.c
47 (pthread_rwlock_timedrdlock): Adapt.
48 * nptl/pthread_rwlock_timedwrlock.c
49 (pthread_rwlock_timedwrlock): Adapt.
50 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
51 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
52 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
53 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
54 (__pthread_rwlock_wrlock): Adapt.
55 * nptl/tst-rwlock10.c: Adapt.
56 * nptl/tst-rwlock11.c: Adapt.
57 * nptl/tst-rwlock17.c: New file.
58 * nptl/tst-rwlock18.c: New file.
59 * nptl/tst-rwlock19.c: New file.
60 * nptl/tst-rwlock2b.c: New file.
61 * nptl/tst-rwlock8.c: Adapt.
62 * nptl/tst-rwlock9.c: Adapt.
63 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
64 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
65 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
66 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
67 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
68 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
69 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
70 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
71 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
72 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
73 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
74 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
75 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
76 (pthread_rwlock_t): Adapt.
77 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
78 (pthread_rwlock_t): Adapt.
79 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
80 * nptl/nptl-printers.py (): Adapt.
81 * nptl/nptl_lock_constants.pysym: Adapt.
82 * nptl/test-rwlock-printers.py: Adapt.
83 * nptl/test-rwlockattr-printers.c: Adapt.
84 * nptl/test-rwlockattr-printers.py: Adapt.
85
86 2017-01-10 Joseph Myers <joseph@codesourcery.com>
87
88 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
89 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
90 (fma_test_data): Likewise.
91 (hypot_test_data): Likewise.
92 (log1p_test_data): Likewise.
93 (modf_test_data): Likewise.
94 (pow_test_data): Likewise.
95 (remainder_test_data): Likewise.
96 (remquo_test_data): Likewise.
97 (scalb_test_data): Likewise.
98 (scalbn_test_data): Likewise.
99 (scalbln_test_data): Likewise.
100 * math/gen-libm-test.pl (parse_args): Transform
101 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
102 on the rounding mode.
103
104 2017-01-09 Joseph Myers <joseph@codesourcery.com>
105
106 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
107 xfail-rounding:ibm128-libgcc automatically to tests overflowing
108 and those that can underflow to zero.
109 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
110 add others.
111 * math/auto-libm-test-out: Regenerated.
112
113 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
114 supported.
115 (feholdexcept_tests): Skip tests requiring exceptions or rounding
116 modes support if not supported.
117
118 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
119 Add libc.so PLT entry.
120 (__tls_get_addr): Make ld.so PLT entry optional.
121
122 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
123
124 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
125 * string/bits/string3.h: ... here.
126
127 2017-01-05 Joseph Myers <joseph@codesourcery.com>
128
129 [BZ #21028]
130 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
131 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
132 if EXCEPTION_TESTS returns false.
133
134 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
135
136 [BZ #20558]
137 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
138 strings_fortified.h.
139 [__USE_MISC] (bzero): Likewise.
140 [__USE_MISC] (explicit_bzero): Likewise.
141 * string/strings.h: Include strings_fortified.h.
142 * string/Makefile (headers): Add strings_fortified.h.
143 * string/bits/strings_fortified.h: New file.
144 * include/bits/strings_fortified.h: Likewise.
145
146 2017-01-05 Joseph Myers <joseph@codesourcery.com>
147
148 * elf/tst-tls13.c (TIMEOUT): Remove.
149 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
150 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
151 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
152 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
153 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
154
155 [BZ #21026]
156 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
157 (readahead): New syscall entry.
158
159 2017-01-04 Joseph Myers <joseph@codesourcery.com>
160
161 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
162 around tests of strncat with large sizes.
163
164 * malloc/tst-malloc.c: Include <libc-internal.h>.
165 (do_test): Disable -Walloc-size-larger-than= around tests of
166 malloc with negative sizes.
167 * malloc/tst-mcheck.c: Include <libc-internal.h>.
168 (do_test): Disable -Walloc-size-larger-than= around tests of
169 malloc and realloc with negative sizes.
170 * malloc/tst-realloc.c: Include <libc-internal.h>.
171 (do_test): Disable -Walloc-size-larger-than= around tests of
172 realloc with negative sizes.
173
174 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
175 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
176 allowed to 16 ulps.
177 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
178 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
179 * math/auto-libm-test-out: Regenerated.
180
181 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
182
183 * math/Makefile (libm-calls): Move wrappers...
184 (libm-compat-call-auto): Here.
185 (libm-routines): Add items in libm-compat-calls-auto.
186 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
187 the filenames of the wrappers that have been renamed.
188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
190
191 * math/w_acos.c: Add _compat suffix to filename.
192 * math/w_acosf.c: Likewise.
193 * math/w_acosh.c: Likewise.
194 * math/w_acoshf.c: Likewise.
195 * math/w_acoshl.c: Likewise.
196 * math/w_acosl.c: Likewise.
197 * math/w_asin.c: Likewise.
198 * math/w_asinf.c: Likewise.
199 * math/w_asinl.c: Likewise.
200 * math/w_atan2.c: Likewise.
201 * math/w_atan2f.c: Likewise.
202 * math/w_atan2l.c: Likewise.
203 * math/w_atanh.c: Likewise.
204 * math/w_atanhf.c: Likewise.
205 * math/w_atanhl.c: Likewise.
206 * math/w_cosh.c: Likewise.
207 * math/w_coshf.c: Likewise.
208 * math/w_coshl.c: Likewise.
209 * math/w_exp10.c: Likewise.
210 * math/w_exp10f.c: Likewise.
211 * math/w_exp10l.c: Likewise.
212 * math/w_exp2.c: Likewise.
213 * math/w_exp2f.c: Likewise.
214 * math/w_exp2l.c: Likewise.
215 * math/w_fmod.c: Likewise.
216 * math/w_fmodf.c: Likewise.
217 * math/w_fmodl.c: Likewise.
218 * math/w_hypot.c: Likewise.
219 * math/w_hypotf.c: Likewise.
220 * math/w_hypotl.c: Likewise.
221 * math/w_j0.c: Likewise.
222 * math/w_j0f.c: Likewise.
223 * math/w_j0l.c: Likewise.
224 * math/w_j1.c: Likewise.
225 * math/w_j1f.c: Likewise.
226 * math/w_j1l.c: Likewise.
227 * math/w_jn.c: Likewise.
228 * math/w_jnf.c: Likewise.
229 * math/w_jnl.c: Likewise.
230 * math/w_log10.c: Likewise.
231 * math/w_log10f.c: Likewise.
232 * math/w_log10l.c: Likewise.
233 * math/w_log2.c: Likewise.
234 * math/w_log2f.c: Likewise.
235 * math/w_log2l.c: Likewise.
236 * math/w_log.c: Likewise.
237 * math/w_logf.c: Likewise.
238 * math/w_logl.c: Likewise.
239 * math/w_pow.c: Likewise.
240 * math/w_powf.c: Likewise.
241 * math/w_powl.c: Likewise.
242 * math/w_remainder.c: Likewise.
243 * math/w_remainderf.c: Likewise.
244 * math/w_remainderl.c: Likewise.
245 * math/w_scalb.c: Likewise.
246 * math/w_scalbf.c: Likewise.
247 * math/w_scalbl.c: Likewise.
248 * math/w_sinh.c: Likewise.
249 * math/w_sinhf.c: Likewise.
250 * math/w_sinhl.c: Likewise.
251 * math/w_sqrt.c: Likewise.
252 * math/w_sqrtf.c: Likewise.
253 * math/w_sqrtl.c: Likewise.
254 * math/w_tgamma.c: Likewise.
255 * math/w_tgammaf.c: Likewise.
256 * math/w_tgammal.c: Likewise.
257
258 * math/w_acos_compat.c: New file copied from above and
259 adjusted for new #includes path
260 * math/w_acosf_compat.c: Likewise.
261 * math/w_acosh_compat.c: Likewise.
262 * math/w_acoshf_compat.c: Likewise.
263 * math/w_acoshl_compat.c: Likewise.
264 * math/w_acosl_compat.c: Likewise.
265 * math/w_asin_compat.c: Likewise.
266 * math/w_asinf_compat.c: Likewise.
267 * math/w_asinl_compat.c: Likewise.
268 * math/w_atan2_compat.c: Likewise.
269 * math/w_atan2f_compat.c: Likewise.
270 * math/w_atan2l_compat.c: Likewise.
271 * math/w_atanh_compat.c: Likewise.
272 * math/w_atanhf_compat.c: Likewise.
273 * math/w_atanhl_compat.c: Likewise.
274 * math/w_cosh_compat.c: Likewise.
275 * math/w_coshf_compat.c: Likewise.
276 * math/w_coshl_compat.c: Likewise.
277 * math/w_exp10_compat.c: Likewise.
278 * math/w_exp10f_compat.c: Likewise.
279 * math/w_exp10l_compat.c: Likewise.
280 * math/w_exp2_compat.c: Likewise.
281 * math/w_exp2f_compat.c: Likewise.
282 * math/w_exp2l_compat.c: Likewise.
283 * math/w_fmod_compat.c: Likewise.
284 * math/w_fmodf_compat.c: Likewise.
285 * math/w_fmodl_compat.c: Likewise.
286 * math/w_hypot_compat.c: Likewise.
287 * math/w_hypotf_compat.c: Likewise.
288 * math/w_hypotl_compat.c: Likewise.
289 * math/w_j0_compat.c: Likewise.
290 * math/w_j0f_compat.c: Likewise.
291 * math/w_j0l_compat.c: Likewise.
292 * math/w_j1_compat.c: Likewise.
293 * math/w_j1f_compat.c: Likewise.
294 * math/w_j1l_compat.c: Likewise.
295 * math/w_jn_compat.c: Likewise.
296 * math/w_jnf_compat.c: Likewise.
297 * math/w_jnl_compat.c: Likewise.
298 * math/w_log10_compat.c: Likewise.
299 * math/w_log10f_compat.c: Likewise.
300 * math/w_log10l_compat.c: Likewise.
301 * math/w_log2_compat.c: Likewise.
302 * math/w_log2f_compat.c: Likewise.
303 * math/w_log2l_compat.c: Likewise.
304 * math/w_log_compat.c: Likewise.
305 * math/w_logf_compat.c: Likewise.
306 * math/w_logl_compat.c: Likewise.
307 * math/w_pow_compat.c: Likewise.
308 * math/w_powf_compat.c: Likewise.
309 * math/w_powl_compat.c: Likewise.
310 * math/w_remainder_compat.c: Likewise.
311 * math/w_remainderf_compat.c: Likewise.
312 * math/w_remainderl_compat.c: Likewise.
313 * math/w_scalb_compat.c: Likewise.
314 * math/w_scalbf_compat.c: Likewise.
315 * math/w_scalbl_compat.c: Likewise.
316 * math/w_sinh_compat.c: Likewise.
317 * math/w_sinhf_compat.c: Likewise.
318 * math/w_sinhl_compat.c: Likewise.
319 * math/w_sqrt_compat.c: Likewise.
320 * math/w_sqrtf_compat.c: Likewise.
321 * math/w_sqrtl_compat.c: Likewise.
322 * math/w_tgamma_compat.c: Likewise.
323 * math/w_tgammaf_compat.c: Likewise.
324 * math/w_tgammal_compat.c: Likewise.
325
326 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
327 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
328 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
329 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
330 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
331 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
332 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
333 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
334 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
335 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
336 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
337 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
338 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
339 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
340 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
341 * sysdeps/ia64/fpu/w_powl.c: Likewise.
342 * sysdeps/ia64/fpu/w_powf.c: Likewise.
343 * sysdeps/ia64/fpu/w_pow.c: Likewise.
344 * sysdeps/ia64/fpu/w_logl.c: Likewise.
345 * sysdeps/ia64/fpu/w_logf.c: Likewise.
346 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
347 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
348 * sysdeps/ia64/fpu/w_log2.c: Likewise.
349 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
350 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
351 * sysdeps/ia64/fpu/w_log10.c: Likewise.
352 * sysdeps/ia64/fpu/w_log.c: Likewise.
353 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
354 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
355 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
356 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
357 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
358 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
359 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
360 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
361 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
362 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
363 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
364 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
365 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
366 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
367 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
368 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
369 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
370 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
371 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
372 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
373 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
374 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
375 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
376 * sysdeps/ia64/fpu/w_asin.c: Likewise.
377 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
378 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
379 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
380 * sysdeps/ia64/fpu/w_acos.c: Likewise.
381 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
382 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
383 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
384 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
385 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
386 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
387 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
388 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
389 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
390 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
391 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
392 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
393 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
394 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
395 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
396 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
397 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
398 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
399 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
400 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
401 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
402 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
403 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
404 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
405 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
406 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
407 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
408 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
409 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
410 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
411 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
412 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
413 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
414 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
415 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
416 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
417 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
418 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
419 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
420 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
421 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
422 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
423 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
424 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
425 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
427 Likewise.
428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
429 Likewise.
430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
432 Likewise.
433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
434 Likewise.
435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
438 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
440 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
441 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
448 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
449 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
450
451 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
452 and adjusted for new #includes path
453 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
454 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
455 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
456 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
457 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
458 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
459 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
460 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
461 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
462 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
463 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
464 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
465 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
466 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
467 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
468 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
469 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
470 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
471 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
472 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
473 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
474 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
475 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
476 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
477 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
478 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
479 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
480 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
481 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
482 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
483 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
484 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
485 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
486 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
487 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
488 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
489 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
490 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
491 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
492 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
493 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
494 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
495 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
496 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
497 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
498 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
499 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
500 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
501 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
502 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
503 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
504 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
505 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
506 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
507 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
508 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
509 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
510 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
511 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
512 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
513 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
514 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
515 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
516 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
517 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
518 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
519 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
520 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
521 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
522 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
523 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
524 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
525 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
526 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
527 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
528 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
529 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
530 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
531 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
532 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
533 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
534 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
535 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
536 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
537 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
538 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
539 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
540 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
541 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
542 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
543 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
544 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
545 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
546 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
547 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
548 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
549 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
550 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
551 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
553 Likewise.
554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
555 Likewise.
556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
557 Likewise.
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
559 Likewise.
560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
561 Likewise.
562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
563 Likewise.
564 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
565 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
566 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
567 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
568 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
569 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
571 Likewise.
572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
573 Likewise.
574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
575 Likewise.
576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
577 Likewise.
578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
580 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
581 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
582
583 2017-01-04 Joseph Myers <joseph@codesourcery.com>
584
585 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
586 __jmp_buf_internal_tag.
587
588 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
589 preserve NaN payload if [__mips_nan2008].
590 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
591
592 [BZ #21022]
593 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
594
595 2017-01-03 Joseph Myers <joseph@codesourcery.com>
596
597 * sysdeps/i386/fpu/libm-test-ulps: Update.
598
599 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
600
601 * sysdeps/ia64/strcat.c: Remove file.
602 * sysdeps/powerpc/strcat.c: Likewise.
603 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
604 C implementation.
605 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
606 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
607
608 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
609 Steven Munroe <sjmunroe@us.ibm.com>
610 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
611
612 [BZ #20822]
613 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
614 (__lll_lock_elision): Access adapt_count via C11 atomics.
615 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
616 (__lll_trylock_elision): Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
618 (__lll_unlock_elision): Update adapt_count variable inside the
619 critical section using C11 atomics.
620
621 2017-01-03 Joseph Myers <joseph@codesourcery.com>
622
623 * math/test-fenvinline.c (do_test): Disable tests of raised
624 exceptions if !EXCEPTION_TESTS (FLOAT).
625
626 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
627
628 [BZ #19390]
629 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
630 maximum string size.
631 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
632 in pointer addition.
633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
634 Likewise.
635
636 2017-01-03 Joseph Myers <joseph@codesourcery.com>
637
638 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
639 passed to tst-ldconfig-X.sh.
640
641 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
642
643 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
644
645 2017-01-02 Joseph Myers <joseph@codesourcery.com>
646
647 [BZ #21019]
648 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
649 New syscall entry.
650 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
651 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
652 lseek.
653
654 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
655 power4 glibc for powerpc-linux-gnu.
656
657 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
658
659 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
660 semctl.
661
662 2017-01-02 Joseph Myers <joseph@codesourcery.com>
663
664 * math/test-nearbyint-except.c: Include <stdbool.h>.
665 (any_supported): New variable.
666 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
667 set any_supported.
668 (do_test): Return 77 if no floating-point type supported
669 exceptions.
670
671 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
672 condition on [__mips_hard_float].
673
674 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
675
676 [BZ #21014]
677 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
678 in pointer addition.
679 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
680
681 2017-01-02 Torvald Riegel <triegel@redhat.com>
682
683 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
684 new condvar.
685
686 2017-01-02 Joseph Myers <joseph@codesourcery.com>
687
688 * scripts/build-many-glibcs.py (Context.checkout): Default
689 binutils version to 2.28 branch.
690
691 2017-01-01 Florian Weimer <fweimer@redhat.com>
692
693 * support/support_format_netent.c (support_format_netent): Work
694 around alpha struct netent definition difference.
695
696 2017-01-01 Florian Weimer <fweimer@redhat.com>
697
698 * support/xwrite.c (xwrite): Use %td for pointer difference.
699
700 2017-01-01 Florian Weimer <fweimer@redhat.com>
701
702 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
703 have-tunables only.
704 (tests-static): Add tst-malloc-usable-static-tunables for
705 have-tunables only.
706
707 2017-01-01 Joseph Myers <joseph@codesourcery.com>
708
709 * scripts/config.guess: Update to version 2017-01-01.
710 * scripts/config.sub: Update to version 2017-01-01.
711
712 * NEWS: Update copyright dates.
713 * catgets/gencat.c (print_version): Likewise.
714 * csu/version.c (banner): Likewise.
715 * debug/catchsegv.sh: Likewise.
716 * debug/pcprofiledump.c (print_version): Likewise.
717 * debug/xtrace.sh (do_version): Likewise.
718 * elf/ldconfig.c (print_version): Likewise.
719 * elf/ldd.bash.in: Likewise.
720 * elf/pldd.c (print_version): Likewise.
721 * elf/sotruss.sh: Likewise.
722 * elf/sprof.c (print_version): Likewise.
723 * iconv/iconv_prog.c (print_version): Likewise.
724 * iconv/iconvconfig.c (print_version): Likewise.
725 * locale/programs/locale.c (print_version): Likewise.
726 * locale/programs/localedef.c (print_version): Likewise.
727 * login/programs/pt_chown.c (print_version): Likewise.
728 * malloc/memusage.sh (do_version): Likewise.
729 * malloc/memusagestat.c (print_version): Likewise.
730 * malloc/mtrace.pl: Likewise.
731 * manual/libc.texinfo: Likewise.
732 * nptl/version.c (banner): Likewise.
733 * nscd/nscd.c (print_version): Likewise.
734 * nss/getent.c (print_version): Likewise.
735 * nss/makedb.c (print_version): Likewise.
736 * posix/getconf.c (main): Likewise.
737 * scripts/test-installation.pl: Likewise.
738 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
739
740 * All files with FSF copyright notices: Update copyright dates
741 using scripts/update-copyrights.
742 * intl/plural.c: Regenerated.
743 * locale/programs/charmap-kw.h: Likewise.
744 * locale/programs/locfile-kw.h: Likewise.
745
746 2016-12-31 Florian Weimer <fweimer@redhat.com>
747
748 [BZ #20593]
749 Update DNS RR type definitions.
750 * scripts/gen-rrtypes.py: New file.
751 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
752 BIND-internal RR type not used on the Internet. Add ns_t_ds,
753 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
754 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
755 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
756 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
757 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
758 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
759 ns_t_ta, ns_t_dlv.
760 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
761 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
762 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
763 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
764 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
765 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
766 Define.
767 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
768 entry for ns_t_zxfr.
769
770 2016-12-31 Florian Weimer <fweimer@redhat.com>
771
772 [BZ #18784]
773 CVE-2015-5180
774 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
775 T_UNSPEC. Adjust value.
776 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
777 * resolv/res_query.c (__libc_res_nquery): Likewise.
778 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
779 QTYPEs.
780 * resolv/tst-resolv-qtypes.c: New file.
781 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
782 (tst-resolv-qtypes): Link against libresolv and libpthread.
783
784 2016-12-31 Florian Weimer <fweimer@redhat.com>
785
786 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
787
788 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
789
790 * manual/tunables.texi: New chapter.
791 * manual/Makefile (chapters): Add it.
792 * manual/probes.texi (@node): Point to the Tunables chapter.
793
794 * Makeconfig (have-tunables): Check for non-negative instead
795 of positive.
796 * configure.ac: Add 'valstring' as a valid value for
797 --enable-tunables.
798 * configure: Regenerate.
799 * elf/Makefile (have-tunables): Check for non-negative instead
800 of positive.
801 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
802 dl-tunables.c.
803 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
804 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
805 (tunables_strdup): Likewise.
806 (disable_tunables): Likewise.
807 (parse_tunables): Likewise.
808 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
809 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
810 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
811 (TUNABLES_FRONTEND_yes): New macro, define as
812 TUNABLES_FRONTEND_valstring by default.
813 * manual/install.texi: Document new acceptable values for
814 --enable-tunables.
815 * INSTALL: Regenerate.
816
817 * config.make.in (have-loop-to-function): Define.
818 * elf/Makefile (CFLAGS-dl-tunables.c): Add
819 -fno-tree-loop-distribute-patterns.
820 * elf/dl-tunables.c: Include libc-internals.h.
821 (GLIBC_TUNABLES): New macro.
822 (tunables_strdup): New function.
823 (parse_tunables): New function.
824 (min_strlen): New function.
825 (__tunables_init): Use the new functions and macro.
826 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
827 * malloc/tst-malloc-usable-tunables.c: New test case.
828 * malloc/tst-malloc-usable-static-tunables.c: New test case.
829 * malloc/Makefile (tests, tests-static): Add tests.
830
831 * manual/install.texi: Add --enable-tunables option.
832 * INSTALL: Regenerate.
833 * README.tunables: New file.
834 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
835 (before-compile): Generate dl-tunable-list.h early.
836 * config.h.in: Add HAVE_TUNABLES.
837 * config.make.in: Add have-tunables.
838 * configure.ac: Add --enable-tunables option.
839 * configure: Regenerate.
840 * csu/init-first.c (__libc_init_first): Move
841 __libc_init_secure earlier...
842 * csu/init-first.c (LIBC_START_MAIN):... to here.
843 Include dl-tunables.h, libc-internal.h.
844 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
845 binaries.
846 * elf/Makefile (dl-routines): Add dl-tunables.
847 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
848 namespace.
849 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
850 only when !HAVE_TUNABLES.
851 * elf/rtld.c (process_envvars): Likewise.
852 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
853 (_dl_sysdep_start): Call __tunables_init.
854 * elf/dl-tunable-types.h: New file.
855 * elf/dl-tunables.c: New file.
856 * elf/dl-tunables.h: New file.
857 * elf/dl-tunables.list: New file.
858 * malloc/tst-malloc-usable-static.c: New test case.
859 * malloc/Makefile (tests-static): Add it.
860 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
861 Define TUNABLE_NAMESPACE.
862 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
863 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
864 callback functions.
865 (ptmalloc_init): Set tunable values.
866 * scripts/gen-tunables.awk: New file.
867 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
868 (_dl_sysdep_start): Call __tunables_init.
869
870 2016-12-31 Florian Weimer <fweimer@redhat.com>
871
872 * resolv/resolv.h (RES_BLAST): Deprecate.
873 * resolv/res_debug.c (p_option): Remove RES_BLAST.
874 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
875 to RES_BLAST.
876
877 2016-12-27 Florian Weimer <fweimer@redhat.com>
878
879 [BZ #19582]
880 Deprecate RES_USE_INET6.
881 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
882 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
883 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
884 RES_USE_INET6.
885 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
886 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
887 (_nss_nisplus_gethostbyaddr_r): Likewise.
888 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
889 of res_use_inet6.
890 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
891 instead of RES_USE_INET6.
892 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
893 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
894 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
895 Likewise.
896 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
897 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
898 Likewise.
899 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
900 (_nss_dns_gethostbyname_r): Likewise.
901 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
902 alternate RES_USE_INET6 handling.
903 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
904 instead of RES_USE_INET6.
905 * resolv/res_init.c (res_setoptions): Likewise.
906 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
907 * resolv/resolv-internal.h: New file.
908 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
909 make the deprecation warning non-fatal.
910 * resolv/README (Using the resolver in multi-threaded code): Drop
911 reference to RES_USE_INET6.
912 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
913 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
914
915 2016-12-31 Florian Weimer <fweimer@redhat.com>
916
917 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
918 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
919 tst-resolv-search.
920 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
921 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
922 with libresolv and libpthread.
923 * resolv/tst-bug18665.c: New file.
924 * resolv/tst-bug18665-tcp: Likewise.
925 * resolv/tst-res_use_inet6: Likewise.
926 * resolv/tst-resolv-basic: Likewise.
927 * resolv/tst-resolv-network: Likewise.
928 * resolv/tst-resolv-search: Likewise.
929 * support/Makefile (libsupport-routines): Add check_addrinfo,
930 check_dns_packet, check_hostent, check_netent, resolv_test,
931 support_format_address_family, support_format_addrinfo,
932 support_format_dns_packet, support_format_herrno,
933 support_format_hostent, support_format_netent, support_run_diff,
934 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
935 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
936 xstrdup, xwrite.
937 * support/check_addrinfo.c: New file.
938 * support/check_dns_packet.c: Likewise.
939 * support/check_hostent.c: Likewise.
940 * support/check_netent.c: Likewise.
941 * support/check_nss.h: Likewise.
942 * support/format_nss.h: Likewise.
943 * support/resolv_test.c: Likewise.
944 * support/resolv_test.h: Likewise.
945 * support/run_diff.h: Likewise.
946 * support/support_format_address_family.c: Likewise.
947 * support/support_format_addrinfo.c: Likewise.
948 * support/support_format_dns_packet.c: Likewise.
949 * support/support_format_herrno.c: Likewise.
950 * support/support_format_hostent.c: Likewise.
951 * support/support_format_netent.c: Likewise.
952 * support/support_run_diff.c: Likewise.
953 * support/xaccept.c: Likewise.
954 * support/xbind.c: Likewise.
955 * support/xconnect.c: Likewise.
956 * support/xfclose.c: Likewise.
957 * support/xfopen.c: Likewise.
958 * support/xgetsockname.c: Likewise.
959 * support/xlisten.c: Likewise.
960 * support/xmemstream.c: Likewise.
961 * support/xmemstream.h: Likewise.
962 * support/xpoll.c: Likewise.
963 * support/xpthread_once.c: Likewise.
964 * support/xrecvfrom.c: Likewise.
965 * support/xsendto.c: Likewise.
966 * support/xsetsockopt.c: Likewise.
967 * support/xstdio.h: Likewise.
968 * support/xstrdup.c: Likewise.
969 * support/support.h (xstrdup): Declare.
970 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
971 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
972 * support/xthread.h (xpthread_once): Likwise.
973 * support/xunistd.h (xwrite): Declare.
974
975 2016-12-31 Florian Weimer <fweimer@redhat.com>
976
977 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
978 (test_verbose): Declare.
979 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
980 * support/support_test_main.c (default_options): Likewise.
981 (usage, support_test_main): Handle 'v'.
982 (test_verbose): Define.
983 * support/tst-support_record_failure.c (do_test): Use
984 test_verbose.
985 * support/tst-support_record_failure-2.sh (different_status): Add
986 --verbose test.
987
988 2016-12-31 Florian Weimer <fweimer@redhat.com>
989
990 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
991 test failures are recorded.
992 * support/check.c (support_print_failure_impl): Call
993 support_record_failure.
994 (support_exit_failure_impl): Call support_record_failure if status
995 indicates failure.
996 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
997 * support/xasprintf.c (xasprintf): Likewise.
998 * support/xfork.c (xfork): Likewise.
999 * support/xpthread_check_return.c (xpthread_check_return):
1000 Likewise.
1001 * support/xsocket.c (xsocket): Likeweise.
1002 * support/xwaitpid.c (xwaitpid): Likewise.
1003 * support/support_record_failure.c (struct test_failures): Adjust
1004 to coding style.
1005 * support/support_test_verify_impl.c (support_test_verify_impl):
1006 Adjust error messages.
1007 * support/tst-support_record_failure-2.sh (different_status):
1008 Adjust error messages.
1009
1010 2016-12-31 Florian Weimer <fweimer@redhat.com>
1011
1012 * support/namespace.h: New file.
1013 * support/support_become_root.c: Likewise.
1014 * support/support_enter_network_namespace.c: Likewise.
1015 * support/tst-support-namespace.c: Likewise.
1016 * support/xsocket.c: Likewise.
1017 * support/xsocket.h: Likewise.
1018 * support/Makefile (libsupport-routines): Add support_become_root,
1019 support_enter_network_namespace, xsocket.
1020 (tests): Add tst-support-namespace.
1021
1022 2016-12-31 Florian Weimer <fweimer@redhat.com>
1023
1024 [BZ #17252]
1025 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1026 __USE_GNU.
1027
1028 2016-12-31 Torvald Riegel <triegel@redhat.com>
1029
1030 [BZ #13165]
1031 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1032 use new algorithm.
1033 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1034 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1035 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1036 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1037 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1038 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1039 __condvar_cleanup_waiting, __condvar_dec_grefs,
1040 __pthread_cond_wait_common): New.
1041 (__condvar_cleanup): Remove.
1042 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1043 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1044 Likewise.
1045 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1046 Likewise.
1047 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1048 * nptl/tst-cond1.c: Add comment.
1049 * nptl/tst-cond20.c (do_test): Adapt.
1050 * nptl/tst-cond22.c (do_test): Likewise.
1051 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1052 structure.
1053 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1054 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1055 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1056 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1057 Likewise.
1058 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1059 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1060 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1061 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1062 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1063 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1064 Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1066 Likewise.
1067 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1068 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1069 (COND_CLOCK_BITS): Adapt.
1070 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1071 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1072 __PTHREAD_COND_SHARED_MASK): New.
1073 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1074 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1075 * nptl/nptl_lock_constants.pysym: Adapt.
1076 * nptl/test-cond-printers.py: Adapt.
1077 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1078 cond_compat_check_and_clear): Adapt.
1079 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1080 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1081 (__pthread_cond_timedwait): ... and move here.
1082 * nptl/DESIGN-condvar.txt: Remove file.
1083 * nptl/lowlevelcond.sym: Likewise.
1084 * nptl/pthread_cond_timedwait.c: Likewise.
1085 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1086 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1087 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1088 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1089 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1090 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1091 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1092 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1093 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1094 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1095 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1096 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1097 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1098 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1099 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1100 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1101
1102 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1103
1104 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1105 (fromfp): New declaration.
1106 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1107 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1108 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1109 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1110 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1111 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1112 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1113 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1114 * math/math.h: Include <bits/types.h>.
1115 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1116 constant and macro.
1117 (FP_INT_DOWNWARD): Likewise.
1118 (FP_INT_TOWARDZERO): Likewise.
1119 (FP_INT_TONEARESTFROMZERO): Likewise.
1120 (FP_INT_TONEAREST): Likewise.
1121 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1122 (fromfpf): Likewise.
1123 (fromfpl): Likewise.
1124 (ufromfp): Likewise.
1125 (ufromfpf): Likewise.
1126 (ufromfpl): Likewise.
1127 (fromfpx): Likewise.
1128 (fromfpxf): Likewise.
1129 (fromfpxl): Likewise.
1130 (ufromfpx): Likewise.
1131 (ufromfpxf): Likewise.
1132 (ufromfpxl): Likewise.
1133 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1134 s_fromfpxF and s_ufromfpxF.
1135 * math/gen-fromfp-tests.py: New file.
1136 * math/gen-fromfp-tests-inputs: Likewise.
1137 * math/libm-test.inc: Include <stdint.h>
1138 (check_intmax_t): New function.
1139 (check_uintmax_t): Likewise.
1140 (struct test_fiu_M_data): New type.
1141 (struct test_fiu_U_data): Likewise.
1142 (RUN_TEST_fiu_M): New macro.
1143 (RUN_TEST_LOOP_fiu_M): Likewise.
1144 (RUN_TEST_fiu_U): Likewise.
1145 (RUN_TEST_LOOP_fiu_U): Likewise.
1146 (fromfp_test_data): New array.
1147 (fromfp_test): New function.
1148 (fromfpx_test_data): New array.
1149 (fromfpx_test): New function.
1150 (ufromfp_test_data): New array.
1151 (ufromfp_test): New function.
1152 (ufromfpx_test_data): New array.
1153 (ufromfpx_test): New function.
1154 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1155 ufromfpx_test.
1156 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1157 characters.
1158 * math/test-tgmath-ret.c: Include <stdint.h>.
1159 (rm): New variable.
1160 (width): Likewise.
1161 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1162 called function.
1163 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1164 CHECK_RET_CONST_TYPE.
1165 (CHECK_RET_CONST_DOUBLE): Likewise.
1166 (CHECK_RET_CONST_LDOUBLE): Likewise.
1167 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1168 macros.
1169 (fromfp): New CHECK_RET_CONST call.
1170 (ufromfp): Likewise.
1171 (fromfpx): Likewise.
1172 (ufromfpx): Likewise.
1173 (do_test): Call check_return_fromfp, check_return_ufromfp,
1174 check_return_fromfpx and check_return_ufromfpx.
1175 * math/test-tgmath.c: Include <stdint.h>
1176 (NCALLS): Increase to 138.
1177 (F(compile_test)): Initialize i. Call fromfp functions.
1178 (F(fromfp)): New function.
1179 (F(fromfpx)): Likewise.
1180 (F(ufromfp)): Likewise.
1181 (F(ufromfpx)): Likewise.
1182 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1183 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1184 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1185 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1186 ufromfpxl.
1187 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1188 ufromfp and ufromfpx.
1189 * math/fromfp.h: New file.
1190 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1192 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1193 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1194 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1195 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1196 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1197 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1198 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1199 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1212 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1216 ufromfp, fromfpx and ufromfpx.
1217 (CFLAGS-nldbl-fromfp.c): New variable.
1218 (CFLAGS-nldbl-fromfpx.c): Likewise.
1219 (CFLAGS-nldbl-ufromfp.c): Likewise.
1220 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1221 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1222 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1223 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1224 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1225 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1226 * sysdeps/nacl/libm.abilist: Update.
1227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1230 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1231 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1233 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1234 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1248 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1249 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1253 Likewise.
1254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1255 Likewise.
1256 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1258 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1259
1260 2016-12-30 Florian Weimer <fweimer@redhat.com>
1261
1262 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1263 compat-gethnamaddr.
1264 (CPPFLAGS): Remove.
1265 * resolv/gethnamaddr.c: Rename ...
1266 * resolv/compat-gethnamaddr.c: ... to this file.
1267 (_endhtent): Make static.
1268 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1269 symbol.
1270 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1271 compat symbol.
1272 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1273 symbol.
1274 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1275 Turn into compat symbol.
1276 * include/resolv.h (_endhtent): Remove declaration.
1277
1278 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1279
1280 * bits/types.h (__intmax_t): New typedef.
1281 (__uintmax_t): Likewise.
1282 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1283 (intmax_t): Define using __intmax_t.
1284 (uintmax_t): Define using __uintmax_t.
1285
1286 * support/Makefile (tests-special): Make definition conditional on
1287 [$(run-built-tests) = yes].
1288 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1289 on [$(run-built-tests) = yes].
1290
1291 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1292
1293 * Rules (tests): Add tests-printers-programs to tests to be
1294 built.
1295
1296 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1297
1298 * sysvipc/Makefile (tests): Add test-sysvshm.
1299 * sysvipc/test-sysvshm.c: New file.
1300
1301 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1302 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1303 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1304 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1305 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1306 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1307 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1308 Likewise.
1309 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1310 Likewise.
1311 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1312 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1313 is defined.
1314
1315 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1316 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1317 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1318 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1319 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1320 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1321 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1322 Likewise.
1323 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1324 Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1326 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1327 defined.
1328
1329 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1330 oldshmctl.
1331 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1332 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1333 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1334 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1335 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1336 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1337 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1338 Likewise.
1339 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1340 Likewise.
1341 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1342 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1343 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1344 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1346 implementation.
1347 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1348 if it is defined.
1349
1350 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1351 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1352 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1353 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1354 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1355 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1356 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1357 Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1359 Likewise.
1360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1362 Define to __NR_osf_shmat.
1363 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1364 defined.
1365
1366 * sysvipc/Makefile (tests): Add test-sysvsem.
1367 * sysvipc/test-sysvsem.c: New file.
1368
1369 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1370 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1371 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1372 Likewise.
1373 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1374 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1375 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1376 Likewise.
1377 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1378 Likewise.
1379 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1380 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1381 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1382 add a comment about s390 syscall difference from default one.
1383 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1384 syscall if it is defined.
1385
1386 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1387 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1388 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1389 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1390 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1391 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1392 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1393 Likewise.
1394 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1397 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1398 defined.
1399
1400 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1401 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1402 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1403 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1404 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1405 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1406 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1411 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1412 if it is defined.
1413
1414 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1415 oldsemctl.
1416 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1417 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1418 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1419 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1420 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1421 implementation.
1422 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1423 syscall if it is defined.
1424 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1425 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1426 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1427 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1428 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1431
1432 * sysvipc/Makefile (tests): Add test-sysvmsg.
1433 * sysvipc/test-sysvmsg.c: New file.
1434 * support/check.h (FAIL_UNSUPPORTED): New define.
1435
1436 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1437 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1438 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1439 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1440 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1441 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1443 Likewise.
1444 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1445 Likewise.
1446 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1447 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1448 define.
1449
1450 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1451 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1452 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1453 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1454 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1455 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1456 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1457 Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1459 Likewise.
1460 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1461 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1462 if defined.
1463
1464 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1465 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1466 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1467 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1468 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1469 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1471 Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1473 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1476 if defined.
1477 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1478
1479 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1480 oldmsgctl.
1481 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1482 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1483 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1484 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1485 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1486 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1487 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1488 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1489 Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1491 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1492 implementation.
1493 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1494 if defined.
1495
1496 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1497 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1498 definition and define its own.
1499 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1500 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1501 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1502 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1503 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1504 definitions to common header.
1505 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1506 operation from ipc_ops.h.
1507
1508 * sysdeps/unix/sysv/linux/kernel-features.h
1509 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1510 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1511 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1512 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1513 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1514 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1515 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1517 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1518 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1519 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1520 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1521 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1522 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1523 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1524
1525 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1526
1527 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1528 overflow in pointer addition.
1529
1530 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1531
1532 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1533 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1535 (strchr): Add __strchr_power8 to list of strchr functions.
1536 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1537 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1538 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1539 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1540 (strchr): Add __strchr_power8 to ifunc list.
1541 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1542 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1543 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1544 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1545
1546 2016-12-28 Florian Weimer <fweimer@redhat.com>
1547
1548 * support/Makefile (libsupport-routines): Add
1549 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1550 (tests): Add tst-support_record_failure.
1551 (tests-special): tst-support_record_failure-2.
1552 (tst-support_record_failure-2.out): Depend on
1553 tst-support_record_failure-2.sh and tst-support_record_failure.
1554 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1555 (support_test_verify_impl, support_record_failure)
1556 (support_report_failure, support_report_failure_reset): Declare.
1557 * support/support_test_main.c (adjust_exit_status): New function.
1558 (support_test_main): Call it to incorporate record test failures.
1559 * support/support_test_verify_impl.c: New file.
1560 * support/support_record_failure.c: Likewise.
1561 * support/tst-support_record_failure.c: Likewise.
1562 * support/tst-support_record_failure-2.sh: Likewise.
1563 * support/xunistd.h: Likewise.
1564 * support/xfork.c: Likewise.
1565 * support/xwaitpid.c: Likewise.
1566
1567 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
1568
1569 * scripts/check-c++-types.sh: Add comments.
1570
1571 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
1572
1573 [BZ #19514]
1574 * resolv/res_send.c: Fix typo in comment.
1575 * sysdeps/i386/i386-mcount.S: Likewise.
1576 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1577 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1578 * sysdeps/sparc/sparc-mcount.S: Likewise.
1579
1580 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1581
1582 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1583 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1584 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1585 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1586 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1587 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1588 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1590
1591 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1592
1593 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1594
1595 2016-12-27 Florian Weimer <fweimer@redhat.com>
1596
1597 [BZ #17252]
1598 * posix/unistd.h (getentropy): Declare.
1599
1600 2016-12-27 Florian Weimer <fweimer@redhat.com>
1601
1602 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1603 Remove.
1604 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1605 (cmd): Remove spoof, nospoof, spoofalert.
1606 (parse_line): Ignore spoof-related lines.
1607 (do_init): Do not process RESOLV_SPOOF_CHECK.
1608
1609 2016-12-27 Florian Weimer <fweimer@redhat.com>
1610
1611 [BZ #20964]
1612 sunrpc: Always obtain AF_INET addresses from NSS.
1613 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1614 * sunrpc/rpc_gethostbyname.c: New file.
1615 * sunrpc/Makefile (routines): Add it.
1616 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1617 * sunrpc/clnt_simp.c (callrpc): Likewise.
1618 * sunrpc/getrpcport.c (getrpcport): Likewise.
1619
1620 2016-12-27 Florian Weimer <fweimer@redhat.com>
1621
1622 * sunrpc/rpcinfo.c: Remove.
1623 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1624
1625 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1626
1627 [BZ# 19387]
1628 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1629 addition.
1630 * string/test-memchr.c (do_test): Remove alignment limitation.
1631 (test_main): Add test that trigger BZ# 19387.
1632
1633 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1634
1635 [BZ #7065]
1636 Enable stack protectore if requested by ./configure.
1637 * Makeconfig (+stack-protector): New variable.
1638 (+cflags): Use it.
1639
1640 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1641
1642 [BZ #7065]
1643 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1645 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1647 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1648
1649 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1650
1651 [BZ #7065]
1652 * login/Makefile (pt_chown-cflags): Remove.
1653 * nscd/Makefile (CFLAGS-nscd): Likewise.
1654 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1655
1656 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1657
1658 [BZ #7065]
1659 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1660 non-libc-linking testcase.
1661
1662 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1663 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1664 Florian Weimer <fweimer@redhat.com>
1665
1666 [BZ #7065]
1667 PLT avoidance for __stack_chk_fail*.
1668 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1669 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1670 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1671 __stack_chk_fail_local alias.
1672 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1673 (__stack_chk_fail): Turn into hidden reference to
1674 __stack_chk_fail_local.
1675
1676 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1677
1678 [BZ #7065]
1679 * configure.ac: Add check for unsupported stack-protection level.
1680 (libc_cv_predef_stack_protector): Remove.
1681 (no_ssp): New variable.
1682 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1683 (stack_protector): Set to -fno-stack-protector similarly.
1684 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1685 (libc_cv_asm_set_directive): Likewise.
1686 (libc_cv_protected_data): Likewise.
1687 (libc_cv_z_combreloc): Likewise.
1688 (libc_cv_hashstyle): Likewise.
1689 (libc_cv_has_glob_dat): Likewise.
1690 (libc_cv_output_format): Likewise.
1691 (libc_cv_output_format): Likewise.
1692 (libc_cv_ehdr_start): Likewise.
1693 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1694 (LIBC_LINKER_FEATURE): Likewise.
1695 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1696
1697 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1698
1699 [BZ #7065]
1700 * elf/Makefile (dummy-stack-chk-fail): New.
1701 (librtld.map): Use it.
1702
1703 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1704
1705 [BZ #7065]
1706 Compile the dynamic linker without stack protection.
1707 * elf/Makefile (elide-stack-protector): New.
1708 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1709 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1710 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1711 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1712
1713 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1714
1715 [BZ #7065]
1716 * config.make.in (have-ssp, no-stack-protector): New.
1717 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1718 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1719 (CFLAGS-sbrk.op): Likewise.
1720 (CFLAGS-brk.o): Likewise.
1721 (CFLAGS-brk.op): Likewise.
1722 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1723 (CFLAGS-wordcopy.c): Likewise.
1724
1725 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1726
1727 [BZ #7065]
1728 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1729 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1730 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1731 (__ifunc_resolver): Use it.
1732 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1733 inhibit_stack_protector.
1734 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1735 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1736 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1737 (foo_protected_ifunc): Likewise.
1738 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1739 (foo_protected_ifunc): Likewise.
1740 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1741 * sysdeps/nacl/nacl_interface_query.c
1742 (nacl_interface_query_ifunc): Likewise.
1743 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1744 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1745 Likewise.
1746 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1747 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1748 the generated vDSO syscall resolver.
1749
1750 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1751 Florian Weimer <fweimer@redhat.com>
1752
1753 [BZ #7065]
1754 Initialize the stack guard earlier when linking statically.
1755 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1756 (__pthread_initialize_minimal): Declare.
1757 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1758 declaration.
1759 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1760 stack canary and apply_irel initialization up. Call
1761 __pthread_initialize_minimal only if linked in.
1762 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1763 constant values.
1764 (__pthread_initialize_minimal): Remove.
1765 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1766 (__pthread_initialize_minimal_internal): Do not call
1767 __libc_setup_tls.
1768
1769 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1770
1771 [BZ #7065]
1772 * configure.ac (libc_cv_ssp): Move up.
1773 (libc_cv_ssp_strong): Likewise.
1774 (libc_cv_ssp_all): New.
1775 (stack_protector): Augment, adding -fstack-protector-all.
1776 (no_stack_protector): New.
1777 (STACK_PROTECTOR_LEVEL): New.
1778 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1779 * manual/install.texi (--enable-stack-protector): Document it.
1780 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1781
1782 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1783
1784 * README.pretty-printers: Must specify CPPFLAGS-* also.
1785 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1786 (CPPFLAGS-test-mutex-printers.c): Define.
1787 (CPPFLAGS-test-condattr-printers.c): Define.
1788 (CPPFLAGS-test-cond-printers.c): Define.
1789 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1790 (CPPFLAGS-test-rwlock-printers.c): Define.
1791
1792 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1793 (tests): Add tst-cancel-getpwuid_r.
1794 * nss/tst-cancel-getpwuid_r.c: New file.
1795
1796 [BZ #11941]
1797 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1798 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1799 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1800 tst-nodelete-dlclose.
1801 (modules-names): Add tst-nodelete-dlclose-dso and
1802 tst-nodelete-dlclose-plugin.
1803 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1804 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1805 ($(objpfx)tst-nodelete-dlclose): Define.
1806 ($(objpfx)tst-nodelete-dlclose.out): Define.
1807
1808 2016-12-23 Florian Weimer <fweimer@redhat.com>
1809
1810 * scripts/test_printers_common.py: Log GDB output in case of
1811 Python detection failure.
1812
1813 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1814
1815 * configure.ac: Check for python3 or python.
1816 * configure: Regenerated.
1817 * config.make.in (PYTHON): New variable.
1818 * benchtests/Makefile: Don't define PYTHON.
1819 (bench): Define target only if PYTHON was defined.
1820 * Rules: Don't define PYTHON.
1821 Define pretty printer targets only if PYTHON was defined.
1822 (tests-printers): Add to tests-unsupported if PYTHON is not
1823 found.
1824 (python-flags, python-invoke): Remove.
1825 (tests-printers-out): Use PYTHON instead of python-invoke.
1826
1827 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1828
1829 [BZ #20978]
1830 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1831 Compare name == NULL, not name != NULL.
1832
1833 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1834 trailing whitespace removed.
1835 * scripts/config.guess: Update to version 2016-10-02.
1836 * scripts/config.sub: Update to version 2016-11-19.
1837 * scripts/install-sh: Update to version 2016-01-11.22.
1838 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1839 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1840
1841 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1842
1843 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1844 (do_one_test) Restore original string so iteration works.
1845 * string/string-inlines.c (do_test): Create better input strings.
1846 (test_main) Reduce number of testruns.
1847 * string/string-inlines.c (__old_strsep_1c): New function.
1848 (__old_strsep_2c): Likewise.
1849 (__old_strsep_3c): Likewise.
1850 * string/strsep.c (__strsep): Remove case of small delim string.
1851 Call strcspn directly rather than strpbrk.
1852 * string/bits/string2.h (__strsep): Remove define.
1853 (__strsep_1c): Remove.
1854 (__strsep_2c): Remove.
1855 (__strsep_3c): Remove.
1856 (strsep): Remove.
1857 * sysdeps/unix/sysv/linux/internal_statvfs.c
1858 (__statvfs_getflags): Rename to __strsep.
1859
1860 2016-12-21 Florian Weimer <fweimer@redhat.com>
1861
1862 * csu/libc-tls.c (_dl_tls_setup): Remove.
1863 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1864 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1865 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1866
1867 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1868
1869 [BZ #7065]
1870 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1871 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1872
1873 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1874 Florian Weimer <fweimer@redhat.com>
1875
1876 [BZ #7065]
1877 * csu/Makefile (tests): Empty assignment and document it.
1878 (tests-static): Remove.
1879 * csu/tst-empty.c: Move to...
1880 * misc/tst-empty.c: ... here. Switch to new test driver.
1881 * csu/tst-atomic.c: Move to...
1882 * misc/tst-atomic.c: ... here. Switch to new test driver.
1883 * csu/tst-atomic-long.c: Move to...
1884 * misc/tst-atomic-long.c: ... here.
1885 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1886 tst-atomic-long.
1887 (tests-static): Add tst-empty.
1888
1889 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1890
1891 * manual/nss.texi: Change incorrect @vtable to @table.
1892 * manual/arith.texi: Convert @tables of variables to @vtables
1893 and remove unnecessary indexing.
1894 * manual/filesys.texi: Likewise.
1895 * manual/llio.texi: Likewise.
1896 * manual/memory.texi: Likewise.
1897 * manual/process.texi: Likewise.
1898 * manual/resource.texi: Likewise.
1899 * manual/search.texi: Likewise.
1900 * manual/signal.texi: Likewise.
1901 * manual/socket.texi: Likewise.
1902 * manual/stdio.texi: Likewise.
1903 * manual/sysinfo.texi: Likewise.
1904 * manual/syslog.texi: Likewise.
1905 * manual/terminal.texi: Likewise.
1906 * manual/time.texi: Likewise.
1907 * manual/users.texi: Likewise.
1908
1909 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1910
1911 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1912 (roundeven): New declaration.
1913 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1914 macro.
1915 * math/Versions (roundeven): New libm symbol at version
1916 GLIBC_2.25.
1917 (roundevenf): Likewise.
1918 (roundevenl): Likewise.
1919 * math/Makefile (libm-calls): Add s_roundevenF.
1920 * math/libm-test.inc (roundeven_test_data): New array.
1921 (roundeven_test): New function.
1922 (main): Call roundeven_test.
1923 * math/test-tgmath.c (NCALLS): Increase to 134.
1924 (F(compile_test)): Call roundeven.
1925 (F(roundeven)): New function.
1926 * manual/arith.texi (Rounding Functions): Document roundeven,
1927 roundevenf and roundevenl.
1928 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1929 * include/math.h (roundeven): Use libm_hidden_proto.
1930 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1931 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1932 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1937 roundeven.
1938 (CFLAGS-nldbl-roundeven.c): New variable.
1939 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1940 * sysdeps/nacl/libm.abilist: Update.
1941 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1944 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1945 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1946 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1947 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1948 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1949 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1950 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1951 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1952 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1960 Likewise.
1961 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1962 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1963 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1964 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1965 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1967 Likewise.
1968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1971 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1972 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1973
1974 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1975
1976 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1977 preprocessor indentation inside #if.
1978
1979 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1980
1981 * math/libm-test.inc (fmt_ftostr): New function.
1982 (print_float, check_float_internal): Replace some uses of
1983 FTOSTR with uses of fmt_ftostr.
1984 (print_max_error, print_complex_max_error, print_function_ulps)
1985 (print_complex_function_ulps): Remove uses of the macros
1986 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1987 * math/test-double.h (FTOSTR): Define to strfromd.
1988 (PRINTF_EXPR): Delete.
1989 (PRINTF_XEXPR): Likewise.
1990 (PRINTF_NEXPR): Likewise.
1991 * math/test-float.h (FTOSTR): Define to strfromf.
1992 (PRINTF_EXPR): Delete.
1993 (PRINTF_XEXPR): Likewise.
1994 (PRINTF_NEXPR): Likewise.
1995 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1996 (PRINTF_EXPR): Delete.
1997 (PRINTF_XEXPR): Likewise.
1998 (PRINTF_NEXPR): Likewise.
1999
2000 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2001
2002 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2003 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2004 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2005 (__lll_lock_elision): Decrement adapt_count while unlocking
2006 instead of before locking.
2007 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2008 (__lll_trylock_elision): Likewise.
2009 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2010 (__lll_unlock_elision): Likewise.
2011
2012 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2013
2014 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2015 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2016 Use __libc_tbegin_retry macro.
2017
2018 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2019
2020 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2021 Add -msoft-float.
2022 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2023 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2024 Use __libc_t* transaction macros instead of __builtin_t*.
2025 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2026 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2027
2028 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2029
2030 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2031 (__lll_lock_elision): Use atomics to load / store adapt_count.
2032 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2033 (__lll_trylock_elision): Likewise.
2034
2035 2016-12-20 Florian Weimer <fweimer@redhat.com>
2036
2037 Do not require memset elimination in explicit_bzero test.
2038 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2039 (enum test_expectation): Add NO_EXPECTATIONS.
2040 (subtests): NO_EXPECTATIONS for ordinary clear.
2041 (check_test_buffer): Handle NO_EXPECTATIONS.
2042 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2043
2044 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2045
2046 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2047 (fmaxmag): New declaration.
2048 (fminmag): Likewise.
2049 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2050 macro.
2051 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2052 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2053 (fmaxmagf): Likewise.
2054 (fmaxmagl): Likewise.
2055 (fminmag): Likewise.
2056 (fminmagf): Likewise.
2057 (fminmagl): Likewise.
2058 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2059 * math/s_fmaxmag_template.c: New file.
2060 * math/s_fminmag_template.c: Likewise.
2061 * math/libm-test.inc (fmaxmag_test_data): New array.
2062 (fmaxmag_test): New function.
2063 (fminmag_test_data): New array.
2064 (fminmag_test): New function.
2065 (main): Call fmaxmag_test and fminmag_test.
2066 * math/test-tgmath.c (NCALLS): Increase to 132.
2067 (F(compile_test)): Call fmaxmag and fminmag.
2068 (F(fminmag)): New function.
2069 (F(fmaxmag)): Likewise.
2070 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2071 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2072 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2073 fminmag.
2074 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2075 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2076 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2079 and fminmag.
2080 (CFLAGS-nldbl-fmaxmag.c): New variable.
2081 (CFLAGS-nldbl-fminmag.c): Likewise.
2082 * sysdeps/nacl/libm.abilist: Update.
2083 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2084 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2085 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2086 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2087 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2088 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2089 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2090 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2091 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2092 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2093 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2094 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2096 Likewise.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2098 Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2100 Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2102 Likewise.
2103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2104 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2105 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2109 Likewise.
2110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2111 Likewise.
2112 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2113 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2114 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2115
2116 2016-12-19 Torvald Riegel <triegel@redhat.com>
2117
2118 [BZ #20973]
2119 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2120 wake-up in robust mutexes.
2121 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2122
2123 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2124
2125 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2126 (CFLAGS-bench-fmaxf.c): New rule.
2127 (CFLAGS-bench-fminf.c): Likewise.
2128 * benchtests/fmaxf-inputs: New file.
2129 * benchtests/fminf-inputs: Likewise.
2130
2131 * benchtests/Makefile (bench-math): Add fmin and fmax.
2132 (CFLAGS-bench-fmax.c): New rule.
2133 (CFLAGS-bench-fmin.c): Likewise.
2134 * benchtests/fmax-inputs: New file.
2135 * benchtests/fmin-inputs: Likewise.
2136
2137 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2138 parenthesis.
2139 (CMDLINE_PROCESS): Define using function instead of macro.
2140 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2141 of test-skeleton.
2142 * benchtests/bench-memchr.c: Likewise.
2143 * benchtests/bench-memcmp.c: Likewise.
2144 * benchtests/bench-memcpy-large.c: Likewise.
2145 * benchtests/bench-memcpy.c: Likewise.
2146 * benchtests/bench-memmem.c: Likewise.
2147 * benchtests/bench-memmove-large.c: Likewise.
2148 * benchtests/bench-memmove.c: Likewise.
2149 * benchtests/bench-memset-large.c: Likewise.
2150 * benchtests/bench-memset.c: Likewise.
2151 * benchtests/bench-rawmemchr.c: Likewise.
2152 * benchtests/bench-strcasecmp.c: Likewise.
2153 * benchtests/bench-strcasestr.c: Likewise.
2154 * benchtests/bench-strcat.c: Likewise.
2155 * benchtests/bench-strchr.c: Likewise.
2156 * benchtests/bench-strcmp.c: Likewise.
2157 * benchtests/bench-strcpy.c: Likewise.
2158 * benchtests/bench-strcpy_chk.c: Likewise.
2159 * benchtests/bench-strlen.c: Likewise.
2160 * benchtests/bench-strncasecmp.c: Likewise.
2161 * benchtests/bench-strncmp.c: Likewise.
2162 * benchtests/bench-strncpy.c: Likewise.
2163 * benchtests/bench-strnlen.c: Likewise.
2164 * benchtests/bench-strpbrk.c: Likewise.
2165 * benchtests/bench-strrchr.c: Likewise.
2166 * benchtests/bench-strsep.c: Likewise.
2167 * benchtests/bench-strspn.c: Likewise.
2168 * benchtests/bench-strstr.c: Likewise.
2169 * benchtests/bench-strtok.c: Likewise.
2170
2171 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2172
2173 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2174 stepping identification.
2175 (init_cpu_features): Add handle of Haswell.
2176
2177 2016-11-25 Jim Meyering <meyering@fb.com>
2178
2179 [BZ #20386]
2180 Let gcc detect assert(a = 1) errors.
2181 * assert/assert.h (assert): Rewrite, retaining the old definintion
2182 when required, but otherwise putting the expression as-is in an "if"
2183 expression (hence, with no added parentheses) within a statement
2184 expression.
2185
2186 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2187
2188 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2189 DSO.
2190
2191 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2192
2193 * Rules (python-flags, python-invoke): New.
2194 ($(test-printers-out)): Use $(python-flags).
2195
2196 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2197
2198 * manual/arith.texi (Math Error Reporting): Document that sNaN
2199 arguments are not considered domain errors.
2200
2201 2016-12-16 Zack Weinberg <zackw@panix.com>
2202 Florian Weimer <fweimer@redhat.com>
2203 Nick Mathewson <nickm@torproject.org>
2204
2205 * string/explicit_bzero.c: New routine.
2206 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2207 * string/Makefile (routines, strop-tests, tests): Add them.
2208 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2209 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2210
2211 * debug/explicit_bzero_chk.c: New routine.
2212 * debug/Makefile (routines): Add it.
2213 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2214 * string/bits/string3.h: Fortify explicit_bzero.
2215
2216 * manual/string.texi: Document explicit_bzero.
2217 * NEWS: Mention addition of explicit_bzero.
2218
2219 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2220 data before returning, using explicit_bzero.
2221 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2222 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2223 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2224
2225 * include/string.h: Redirect internal uses of explicit_bzero
2226 to __explicit_bzero_chk[_internal].
2227 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2228 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2229 * sysdeps/arm/nacl/libc.abilist
2230 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2231 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2232 * sysdeps/unix/sysv/linux/arm/libc.abilist
2233 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2234 * sysdeps/unix/sysv/linux/i386/libc.abilist
2235 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2236 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2237 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2238 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2240 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2241 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2242 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2243 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2248 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2250 * sysdeps/unix/sysv/linux/sh/libc.abilist
2251 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2252 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2255 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2258 Add entries for explicit_bzero and __explicit_bzero_chk.
2259
2260 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2261
2262 * math/fenv.h
2263 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2264 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2265 * math/test-fe-snans-always-signal.c: New file.
2266 * math/Makefile (tests): Add test-fe-snans-always-signal.
2267 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2268 * manual/arith.texi (Infinity and NaN): Document
2269 FE_SNANS_ALWAYS_SIGNAL.
2270
2271 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2272
2273 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2274 bracket.
2275
2276 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2277
2278 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2279 before calling execv.
2280
2281 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2282
2283 [BZ# 20971]
2284 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2285 overflow in pointer addition.
2286 * string/test-memchr.c (do_test): Add an argument to pass as
2287 the size on memchr.
2288 (test_main): Add check for SIZE_MAX.
2289
2290 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2291
2292 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2293 (libm-calls): Add w_scalblnF.
2294 * math/w_scalbln.c: Remove.
2295 * math/w_scalblnf.c: Likewise.
2296 * math/w_scalblnl.c: Likewise.
2297 * math/w_scalbln_template.c: New file with type-generic
2298 implementation based on math/w_scalbln.c.
2299 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2300 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2301
2302 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2303
2304 [BZ #20947]
2305 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2306 either is a signaling NaN.
2307 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2308 follow fmaxl more closely.
2309 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2310 when either is a signaling NaN.
2311 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2312 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2313 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2314 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2315 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2316 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2317 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2318 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2319 (fmin_test_data): Likewise.
2320
2321 2016-12-15 Andreas Schwab <schwab@suse.de>
2322
2323 * support/support_test_main.c (support_test_main): Don't shadow
2324 file-local variable test_pid.
2325
2326 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2327
2328 [BZ #20947]
2329 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2330 either is a signaling NaN.
2331 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2332
2333 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2334
2335 [BZ #20947]
2336 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2337 when either is a signaling NaN.
2338 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2339
2340 * bits/long-double.h: New file.
2341 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2342 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2343 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2344 * sysdeps/mips/bits/long-double.h: Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2346 * math/Makefile (headers): Add bits/long-double.h.
2347 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2348 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2349 <bits/wordsize.h>.
2350 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2351 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2352 * math/math.h: Do not include <bits/mathdef.h>.
2353 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2354 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2355 inclusion.
2356 * sysdeps/ia64/bits/mathdef.h: Remove file.
2357 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2358 * sysdeps/mips/bits/mathdef.h: Likewise.
2359 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2360 * sysdeps/s390/bits/mathdef.h: Likewise.
2361 * sysdeps/sparc/bits/mathdef.h: Likewise.
2362 * sysdeps/x86/bits/mathdef.h: Likewise.
2363 * sysdeps/s390/s390-32/bits/wordsize.h
2364 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2365 conditional code.
2366 * sysdeps/s390/s390-64/bits/wordsize.h
2367 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2368 Likewise.
2369 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2370 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2371 Likewise.
2372 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2373 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2374 Likewise.
2375 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2376 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2377 Likewise.
2378
2379 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2380 <linux/falloc.h>.
2381 (FALLOC_FL_KEEP_SIZE): Remove.
2382 (FALLOC_FL_PUNCH_HOLE): Likewise.
2383 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2384 (FALLOC_FL_ZERO_RANGE): Likewise.
2385
2386 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2387
2388 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2389
2390 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2391
2392 * sysdeps/unix/sysv/linux/renameat.c: New file.
2393 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2394
2395 * sysdeps/unix/sysv/linux/rename.c: New file.
2396 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2397
2398 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2399
2400 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2401 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2402 * string/strtok_r.c (__strtok_r): Optimize for performance.
2403 * string/string-inlines.c (__old_strtok_r_1c): New function.
2404 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2405
2406 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2407
2408 * math/Makefile (gen-libm-calls): Add w_log1pF.
2409 (libm-calls): Remove w_log1pF.
2410 * math/w_log1p.c: Remove.
2411 * math/w_log1pf.c: Likewise.
2412 * math/w_log1pl.c: Likewise.
2413 * math/w_log1p_template.c: New file with type-generic
2414 implementation based on math/w_log1p.c.
2415 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2416 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2417
2418 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2419
2420 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2421
2422 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2423
2424 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2425 kernel version to 4.9.
2426
2427 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2428
2429 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2430 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2431
2432 2016-12-13 Andreas Schwab <schwab@suse.de>
2433
2434 * sysdeps/powerpc/dl-procinfo.c: Don't define
2435 _dl_powerpc_platforms.
2436 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2437 constants instead of referencing _dl_powerpc_platforms.
2438 (_dl_platform_string): Remove.
2439
2440 2016-12-13 Florian Weimer <fweimer@redhat.com>
2441
2442 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2443
2444 2016-12-13 Florian Weimer <fweimer@redhat.com>
2445
2446 * Rules (binaries-shared-tests, binaries-pie-tests)
2447 (binaries-static-tests): Link with $(link-extra-libs-tests).
2448 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2449 Remove $(link-extra-libs-tests).
2450
2451 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2452
2453 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2454 (sysdep_routines): Add strncmp_power9.
2455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2456 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2458 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2459 (strncmp): Add __strncmp_power9 to ifunc list.
2460 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2461
2462 2016-12-12 Florian Weimer <fweimer@redhat.com>
2463
2464 [BZ #17252]
2465 Add getentropy, getrandom.
2466 * stdlib/sys/random.h: New file.
2467 (headers): Add it.
2468 * stdlib/Makefile (routines): Add getentropy, getrandom.
2469 (tests): Add tst-getrandom.
2470 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2471 * stdlib/getentropy.c: New file.
2472 * stdlib/getrandom.c: Likewise.
2473 * stdlib/tst-getrandom.c: Likewise.
2474 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2475 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2476 * manual/crypt.texi (Unpredictable Bytes): New section.
2477 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2478 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2479 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2480 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2481 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2482 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2483 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2485 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2486 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2487 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2488 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2490 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2491 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2492 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2494 Likewise.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2496 Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2499 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2500 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2501 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2502 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2503 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2506 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2507 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2508 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2509
2510 2016-12-10 Florian Weimer <fweimer@redhat.com>
2511
2512 [BZ #20956]
2513 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2514 as additional compiler barriers.
2515 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2516 (fn2, do_test): Declare with external linkage.
2517 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2518 (do_test): Declare with external linkage.
2519 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2520 (do_test): Declare with external linkage.
2521 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2522 (do_test): Declare with external linkage.
2523
2524 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2525
2526 * support/support_test_main.c (support_test_main): Use correct
2527 timeout.
2528
2529 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2530 Florian Weimer <fweimer@redhat.com>
2531
2532 [BZ #16421]
2533 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2534 and __u6_addr32 members.
2535 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2536 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2537 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2538 Use __u6_addr32.
2539 * inet/tst-checks.c: Use <support/test-driver.c>
2540 * inet/tst-checks-posix.c: New file.
2541 * inet/Makefile (tests): Add it.
2542 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2543
2544 2016-12-09 Florian Weimer <fweimer@redhat.com>
2545
2546 New subdirectory support for build and test infrastructure.
2547 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
2548 setting install-lib.
2549 * Makeconfig (link-extra-libs-tests): Define.
2550 (+link-pie-tests, +link-static-tests, +link-tests): Use
2551 link-extra-libs-tests.
2552 (rpath-dirs, all-subdirs): Add support.
2553 (built-modules): Add libsupport.
2554 (libsupport): Define.
2555 * support: New directory.
2556 * support/Makefile: New file.
2557 * support/check.c: Likewise.
2558 * support/check.h: Likewise.
2559 * support/delayed_exit.c: Likewise.
2560 * support/ignore_stderr.c: Likewise.
2561 * support/oom_error.c: Likewise.
2562 * support/set_fortify_handler.c: Likewise.
2563 * support/support.h: Likewise.
2564 * support/temp_file-internal.h: Likewise.
2565 * support/temp_file.c: Likewise.
2566 * support/test-driver.c: Likewise.
2567 * support/test-driver.h: Likewise.
2568 * support/test_main.c: Likewise.
2569 * support/write_message.c: Likewise.
2570 * support/xasprintf.c: Likewise.
2571 * support/xcalloc.c: Likewise.
2572 * support/xmalloc.c: Likewise.
2573 * support/xpthread_barrier_destroy.c: Likewise.
2574 * support/xpthread_barrier_init.c: Likewise.
2575 * support/xpthread_barrier_wait.c: Likewise.
2576 * support/xpthread_cancel.c: Likewise.
2577 * support/xpthread_check_return.c: Likewise.
2578 * support/xpthread_cond_wait.c: Likewise.
2579 * support/xpthread_create.c: Likewise.
2580 * support/xpthread_detach.c: Likewise.
2581 * support/xpthread_join.c: Likewise.
2582 * support/xpthread_mutex_lock.c: Likewise.
2583 * support/xpthread_mutex_unlock.c: Likewise.
2584 * support/xpthread_sigmask.c: Likewise.
2585 * support/xpthread_spin_lock.c: Likewise.
2586 * support/xpthread_spin_unlock.c: Likewise.
2587 * support/xrealloc.c: Likewise.
2588 * support/xsignal.h: Likewise.
2589 * support/xthread.h: Likewise.
2590 * support_tempfile.h: Likewise.
2591 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2592 (TEST_DATA_LIMIT): Remove unused macro.
2593 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2594 <support/check.h>.
2595 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2596 (ignore_stderr, set_fortify_handler): Remove. Now in
2597 <support/support.h>.
2598 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2599 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2600 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2601 (xpthread_join): Remove. Now in <support/xthread.h>.
2602 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2603 Introduce legacy wrappers.
2604 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2605 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2606 (write_message): Remove.
2607 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2608 test-skeleton.c.
2609 * io/test-open-tmpfile: Likewise.
2610 * io/tst-posix_fallocate-common.c: Likewise.
2611 * libio/tst-fseek.c: Likewise.
2612 * malloc/tst-malloc-backtrace.c: Likewise.
2613 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2614 * malloc/tst-malloc-thread-exit.c: Likewise.
2615 * nptl/tst-cancel7.c: Likewise.
2616 * nptl/tst-cleanup0.c: Likewise.
2617 * posix/tst-posix_fadvise-common.c: Likewise.
2618 * rt/tst-shm.c: Likewise.
2619 * time/bug-getdate1.c: Likewise.
2620 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2621 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2622 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2623
2624 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2625
2626 * Rules [$(run-built-tests) != no] (tests-expected): Add
2627 $(tests-printers).
2628 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2629
2630 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2631
2632 [BZ #20539]
2633 * math/Makefile (install-lib-ldscripts): Add libm.a.
2634 (install_subdir): Remove.
2635 (install-others): Add.
2636 ($(inst_libdir)/libm.a): Add rule for installation as
2637 linker script.
2638 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2639
2640 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2641
2642 * INSTALL: Regenerated.
2643 * Makeconfig: Add comments and whitespace to make the control flow
2644 clearer.
2645 (+link-printers-tests, +link-pie-printers-tests,
2646 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2647 built-rtld-LDFLAGS, link-libc-rpath,
2648 link-libc-tests-after-rpath-link,
2649 link-libc-printers-tests): New.
2650 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2651 link-libc-tests): Use the new variables as required.
2652 * Makerules ($(py-const)): New rule.
2653 generated: Add $(py-const).
2654 * README.pretty-printers: New file.
2655 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2656 (others): Depend on $(py-const).
2657 (tests): Depend on $(tests-printers-programs) or
2658 $(tests-printers-out),
2659 as required. Pass $(tests-printers) to merge-test-results.sh.
2660 * manual/install.texi: Add requirements for testing the pretty
2661 printers.
2662 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2663 tests-printers, CFLAGS-test-mutexattr-printers.c
2664 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2665 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2666 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2667 * nptl/nptl-printers.py: New file.
2668 * nptl/nptl_lock_constants.pysym: Likewise.
2669 * nptl/test-cond-printers.c: Likewise.
2670 * nptl/test-cond-printers.py: Likewise.
2671 * nptl/test-condattr-printers.c: Likewise.
2672 * nptl/test-condattr-printers.py: Likewise.
2673 * nptl/test-mutex-printers.c: Likewise.
2674 * nptl/test-mutex-printers.py: Likewise.
2675 * nptl/test-mutexattr-printers.c: Likewise.
2676 * nptl/test-mutexattr-printers.py: Likewise.
2677 * nptl/test-rwlock-printers.c: Likewise.
2678 * nptl/test-rwlock-printers.py: Likewise.
2679 * nptl/test-rwlockattr-printers.c: Likewise.
2680 * nptl/test-rwlockattr-printers.py: Likewise.
2681 * scripts/gen-py-const.awk: Likewise.
2682 * scripts/test_printers_common.py: Likewise.
2683 * scripts/test_printers_exceptions.py: Likewise.
2684
2685 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2686
2687 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2688 argument.
2689 (Glibc.build_glibc): Strip installed shared libraries if
2690 requested.
2691 (get_parser): Add --strip option.
2692 (main): Update Context call.
2693
2694 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2695 Dominik Vogt <vogt@linux.vnet.ibm.com>
2696
2697 [BZ #20847]
2698 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2699 array bounds for else branch.
2700 (__execvpe): Style fixes.
2701 * posix/tst-vfork3.c (run_script): New function.
2702 (create_script): Likewise.
2703 (do_test): Use run_script internal function.
2704 (do_prepare): Use create_script internal function.
2705
2706 2016-12-07 Andreas Schwab <schwab@suse.de>
2707
2708 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2709 (__elision_available): Don't declare.
2710 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2711 (__elision_available): Don't define.
2712 (elision_init): Don't set __elision_available.
2713
2714 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2715
2716 [BZ #20940]
2717 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2718 return Inf for arguments Inf and sNaN.
2719 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2720 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2721 Likewise.
2722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2723 Likewise.
2724 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2725 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2726 for arguments Inf and sNaN. When returning a NaN, compute it by
2727 arithmetic on the arguments.
2728 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2729 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2730 arguments.
2731
2732 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2733
2734 [BZ #20916]
2735 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2736 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2737 to compute result.
2738 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2739 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2740
2741 2016-12-05 Torvald Riegel <triegel@redhat.com>
2742
2743 * include/atomic.h (__atomic_check_size_ls): New.
2744 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2745 atomic_store_release): Use it.
2746 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2747 (elision_adapt, ELIDE_LOCK): Use atomics.
2748 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2749 atomics and improve code comments.
2750 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2751 (__lll_trylock_elision): Likewise.
2752
2753 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2754
2755 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2756 programs.
2757
2758 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2759
2760 [BZ #20916]
2761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2762 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2763 arguments to compute result.
2764 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2765 1 for arguments (sNaN, 0) or (1, sNaN).
2766 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2768
2769 [BZ #20919]
2770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2771 NaN first argument when raised to power 0.
2772 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2773 raising to power zero.
2774 * math/w_powf.c (__powf): Likewise.
2775 * math/w_powl.c (__powl): Likewise.
2776 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2777 pow (0, 0) or pow (NaN, 0).
2778
2779 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2780
2781 [BZ #20918]
2782 * configure.ac: Test for static NSS cryptographic libraries and set
2783 libc_cv_static_nss_crypt.
2784 * configure: Regenerate.
2785 * config.make.in (static-nss-crypt): Define.
2786 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2787 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2788 (CFLAGS-tst-linkall-static.c): Define.
2789 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2790 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2791 ($(objpfx)tst-linkall-static): Define.
2792 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2793 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2794
2795 2016-12-02 Florian Weimer <fweimer@redhat.com>
2796
2797 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2798 (one-hundred, tst-tls-many-dynamic-modules): Define.
2799 (modules-names): Add $(tst-tls-many-dynamic-modules).
2800 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2801 macros.
2802 (tst-tls-manydynamic): Link against libdl, libpthread.
2803 (tst-tls-manydynamic.out): The test needs the test modules at run
2804 time.
2805 * elf/tst-tls-manydynamic.c: New file.
2806 * elf/tst-tls-manydynamic.h: Likewise.
2807 * elf/tst-tls-manydynamicmod.c: Likewise.
2808
2809 2016-12-02 Florian Weimer <fweimer@redhat.com>
2810
2811 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2812 (TLS_DTV_UNALLOCATED): Add.
2813 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2814 offsets.
2815
2816 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2817
2818 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2819
2820 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2821
2822 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2823 Add -fno-optimize-sibling-calls.
2824
2825 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2826
2827 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2828 New declaration.
2829 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2830 macro.
2831 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2832 New macro.
2833 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2834 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2835 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2836 (llogbf): Likewise.
2837 (llogbl): Likewise.
2838 * math/Makefile (gen-libm-calls): Add w_llogbF.
2839 (tests): Add test-fp-llogb-constants.
2840 * math/w_llogb_template.c: New file. Based on
2841 math/w_ilogb_template.c.
2842 * math/libm-test.inc (llogb_test_data): New array.
2843 (llogb_test): New function.
2844 (main): Call llogb_test.
2845 * math/test-fp-llogb-constants.c: New file. Based on
2846 math/test-fp-ilogb-constants.c.
2847 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2848 (do_test): Call check_return_llogb.
2849 * math/test-tgmath.c (NCALLS): Increase to 126.
2850 (F(compile_test)): Call llogb.
2851 (F(llogb)): New function.
2852 * manual/math.texi (Exponents and Logarithms): Document llogb,
2853 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2854 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2855 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2856 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2858 (CFLAGS-nldbl-llogb.c): New variable.
2859 * sysdeps/nacl/libm.abilist: Update.
2860 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2862 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2863 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2864 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2865 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2868 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2870 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2871 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2873 Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2875 Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2879 Likewise.
2880 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2881 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2882 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2886 Likewise.
2887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2888 Likewise.
2889 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2890 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2891 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2892
2893 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2894
2895 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2896 _Float128 instead of long double.
2897 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2898
2899 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2900 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2901 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2902 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2903 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2904 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2905 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2906 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2908 Likewise.
2909
2910 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2911
2912 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2913 Remove redirection to __strrchr_ppc.
2914
2915 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2916
2917 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2918 (sysdep_routines): Add strcmp_power9.
2919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2920 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2921 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2923 (strcmp): Add __strcmp_power9 to ifunc list.
2924 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2925
2926 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2927
2928 * bits/fp-logb.h: New file.
2929 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2930 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2931 * sysdeps/x86/bits/fp-logb.h: Likewise.
2932 * math/Makefile (headers): Add bits/fp-logb.h.
2933 * math/math.h: Include <bits/fp-logb.h>.
2934 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2935 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2936 * bits/mathdef.h (FP_ILOGB0): Remove.
2937 (FP_ILOGBNAN): Likewise.
2938 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2939 (FP_ILOGBNAN): Likewise.
2940 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2941 (FP_ILOGBNAN): Likewise.
2942 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2943 (FP_ILOGBNAN): Likewise.
2944 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2945 (FP_ILOGBNAN): Likewise.
2946 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2947 (FP_ILOGBNAN): Likewise.
2948 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2949 (FP_ILOGBNAN): Likewise.
2950 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2951 (FP_ILOGBNAN): Likewise.
2952 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2953 (FP_ILOGBNAN): Likewise.
2954 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2955 (FP_ILOGBNAN): Likewise.
2956
2957 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2958 time module.
2959 (Context.__init__): Initialize self.logsdir_old.
2960 (Context.run_builds): Handle bot action.
2961 (Context.bot_cycle): Copy logs directory before running builds.
2962 (Context.bot_run_self): Take argument for whether to check
2963 subprocess result. Flush stdout before running subprocess.
2964 (Context.bot): New function.
2965 (get_parser): Allow bot action.
2966
2967 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2968
2969 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2970 Import email.mime.text, email.utils and smtplib modules.
2971 (Context.__init__): Initialize self.bot_config_json.
2972 (Context.run_builds): Handle bot-cycle action.
2973 (Context.load_bot_config_json): New function.
2974 (Context.part_build_old): Likewise.
2975 (Context.bot_cycle): Likewise.
2976 (Context.bot_build_mail): Likewise.
2977 (Context.bot_run_self): Likewise.
2978 (get_parser): Allow bot-cycle action.
2979
2980 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2981
2982 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2983 Remove redirection to __stpcpy_ppc.
2984
2985 2016-11-30 Florian Weimer <fweimer@redhat.com>
2986
2987 Remove __libc_memalign from ld.so because it is unused.
2988 * elf/dl-minimal.c: Update comment on the malloc implementation.
2989 (malloc): Renamed from __libc_memalign, replacing the original
2990 malloc implementation. Replace the align parameter with
2991 MALLOC_ALIGNMENT.
2992 * elf/Versions (ld): Update comment and remove __libc_memalign.
2993 * sysdeps/nacl/ld.abilist: Likewise.
2994 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2995 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2996 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2997 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2998 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2999 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3005 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3006 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3010 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3011 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3012 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3013 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3014 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3018 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3019 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3020 * sysdeps/generic/localplt.data (ld.so): Likewise.
3021 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3022 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3023 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3024 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3025 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3026 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3027 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3028 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3029 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3031 (ld.so): Likewise.
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3033 (ld.so): Likewise.
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3035 Likewise.
3036 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3037 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3040 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3041
3042 2016-11-30 Florian Weimer <fweimer@redhat.com>
3043
3044 [BZ #16628]
3045 Implement _dl_catch_error, _dl_signal_error in libc.so.
3046 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3047 (catch_hook): Define as thread-local or regular variable,
3048 depending on DL_ERROR_BOOTSTRAP.
3049 (CATCH_HOOK): Remove.
3050 (dl_signal_error, _dl_catch_error): Use
3051 catch_hook. Add hidden definition for libc.
3052 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3053 for DL_ERROR_BOOTSTRAP only.
3054 * elf/dl-error.c: New file.
3055 * elf/dl-error-minimal.c: Likewise.
3056 * elf/tst-latepthread.c: Likewise.
3057 * elf/tst-latepthreadmod.c: Likewise.
3058 * elf/Makefile (routines): Add dl-error.
3059 (dl-routines): Remove dl-error.
3060 (rtld-routines): Add dl-error-minimal.
3061 [build-shared] (tests): Add tst-latepthread.
3062 (module-names): Add tst-latepthreadmod.
3063 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3064 symbol.
3065 (tst-latepthreadmod.so): Link against libpthread.
3066 (tst-latepthread): Link against libdbl.
3067 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3068 _dl_catch_error.
3069 [ld] (GLIBC_PRIVATE): Likewise.
3070 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3071 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3072 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3073 directly.
3074 * elf/dl-tsd.c: Remove file.
3075 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3076 _dl_catch_error, _dl_signal_error.
3077 (_dl_initial_error_catch_tsd): Remove definition.
3078 (do_preload): Remove initialization of dl_error_catch_tsd.
3079 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3080 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3081 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3082 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3083 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3084 set dl_error_catch_tsd.
3085 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3086 _dl_error_catch_tsd member.
3087 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3088 members.
3089 (_dl_initial_error_catch_tsd): Remove declaration.
3090 (_dl_dprintf): Provide definition for use outside of ld.so.
3091 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3092 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3093 prototype for libc.
3094 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3095 _dl_catch_error.
3096 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3097 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3098 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3099 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3100 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3101 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3102 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3103 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3104 Likewise.
3105 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3107 (ld.so): Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3109 (ld.so): Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3113 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3114 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3115 Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3117 Likewise.
3118 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3119
3120 2016-11-30 Florian Weimer <fweimer@redhat.com>
3121
3122 [BZ #4099]
3123 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3124 _IO_BUFSIZ (8192).
3125
3126 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3127
3128 * PROJECTS: Remove file.
3129
3130 2016-11-29 Florian Weimer <fweimer@redhat.com>
3131
3132 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3133
3134 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3135 Steve Ellcey <sellcey@caviumnetworks.com>
3136
3137 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3138 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3139 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3140 fxstatat.
3141 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3142 lxstat.
3143 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3144 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3145 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3146 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3147 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3148 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3149 __xstat.
3150
3151 2016-11-29 Florian Weimer <fweimer@redhat.com>
3152
3153 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3154 Define.
3155 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3156 definition.
3157
3158 2016-11-29 Florian Weimer <fweimer@redhat.com>
3159
3160 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3161 version and turn into strong alias. Remove compat symbol.
3162
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3164 (__longjmp): Remove.
3165
3166 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3167
3168 * bits/fp-fast.h: New file.
3169 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3170 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3171 * math/Makefile (headers): Add bits/fp-fast.h.
3172 * math/math.h: Include <bits/fp-fast.h>.
3173 * bits/mathdef.h (FP_FAST_FMA): Remove.
3174 (FP_FAST_FMAF): Likewise.
3175 (FP_FAST_FMAL): Likewise.
3176 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3177 (FP_FAST_FMAF): Likewise.
3178 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3179 (FP_FAST_FMAF): Likewise.
3180 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3181 (FP_FAST_FMAF): Likewise.
3182 (FP_FAST_FMAL): Likewise.
3183 * sysdeps/arm/bits/mathdef.h: Remove file.
3184 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3185 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3186 * sysdeps/tile/bits/mathdef.h: Likewise.
3187
3188 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3189
3190 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3191 * math/w_ilogb.c: Remove.
3192 * math/w_ilogbf.c: Likewise.
3193 * math/w_ilogbl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3195 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3196 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3197 (libm-calls): Remove w_ilogbF.
3198 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3199 (LDOUBLE_ilogbl_libm_version): New macro.
3200
3201 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3202
3203 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3204 [!__STRICT_ANSI__ && !__cplusplus].
3205
3206 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 [BZ #20750]
3209 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3210 of PIC.
3211
3212 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3213 Yury Norov <ynorov@caviumnetworks.com>
3214 Steve Ellcey <sellcey@caviumnetworks.com>
3215
3216 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3217 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3218 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3219 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3220 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3221 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3222 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3223 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3224 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3225 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3226 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3227 to get correct reg name for ILP32.
3228 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3229 (RELA_SIZE): New Macro.
3230 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3231 to support ILP32.
3232 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3233 cast for ILP32 mode.
3234 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3235 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3236 * sysdeps/aarch64/memset.S (__memset): Ditto.
3237 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3238 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3239 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3240 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3241 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3242 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3243 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3244 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3245 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3246 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3247 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3248 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3249 change PTR_MANGLE call to use register numbers instead of names.
3250 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3251 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3252 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3253 * sysdeps/aarch64/start.S (_start): Ditto.
3254 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3255 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3256 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3257 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3258 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3259 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3260 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3261 Make defined values dependent on __ILP32__.
3262 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3263 (sem_t): Change __align type.
3264 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3265 PTR_SIZE): New Macros.
3266 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3267 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3268 Set when in ILP32 mode.
3269 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3270 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3271 Set elf flags for ILP32.
3272 (add_system_dir): Set ILP32 library directories.
3273 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3274 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3275 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3276 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3277 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3278 New Macros.
3279 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3280
3281 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3282
3283 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3284 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3285 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3286
3287 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3288
3289 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3290 <asm/cachectl.h>.
3291
3292 2016-11-27 Zack Weinberg <zackw@panix.com>
3293
3294 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3295 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3296
3297 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3298
3299 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3300 error_t to fix usage in C++ programs.
3301
3302 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3303
3304 * scripts/build-many-glibcs.py: Import datetime module.
3305 (Context.__init__): Load JSON build state. Initialize list of
3306 status logs.
3307 (Context.run_builds): Update saved build state.
3308 (Context.add_makefile_cmdlist): Update list of status logs.
3309 (Context.load_build_state_json): New function.
3310 (Context.store_build_state_json): Likewise.
3311 (Context.clear_last_build_state): Likewise.
3312 (Context.update_build_state): Likewise.
3313 (CommandList.status_logs): Likewise.
3314
3315 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3316
3317 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3318 script being executed.
3319 (Context.get_script_text): New function.
3320 (Context.exec_self): Likewise.
3321 (Context.checkout): Re-exec script if changed by checkout process.
3322
3323 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3324
3325 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3326 (setpayloadsig): New declaration.
3327 * math/Versions (setpayloadsig): New libm symbol at version
3328 GLIBC_2.25.
3329 (setpayloadsigf): Likewise.
3330 (setpayloadsigl): Likewise.
3331 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3332 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3333 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3334 (setpayloadsig_test_data): New array.
3335 (setpayloadsig_test): New function.
3336 (main): Call setpayloadsig_test.
3337 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3338 setpayloadsigf and setpayloadsigl.
3339 * manual/libm-err-tab.pl: Update comment on interfaces without
3340 ulps tabulated.
3341 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3342 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3347 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3348 setpayloadsig.
3349 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3350 * sysdeps/nacl/libm.abilist: Update.
3351 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3352 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3353 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3354 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3355 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3356 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3357 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3358 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3359 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3360 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3361 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3362 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3364 Likewise.
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3366 Likewise.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3368 Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3370 Likewise.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3373 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3374 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3375 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3377 Likewise.
3378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3379 Likewise.
3380 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3382 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3383
3384 * scripts/build-many-glibcs.py: Import json module.
3385 (Context.__init__): Take replace_sources argument. Load
3386 versions.json.
3387 (Context.load_versions_json): New function.
3388 (Context.store_json): Likewise.
3389 (Context.store_versions_json): Likewise.
3390 (Context.set_component_version): Likewise.
3391 (Context.checkout): Update versions.json. Check for and handle
3392 changes of version. Prefer previously explicitly specified
3393 version to default version.
3394 (Context.checkout_vcs): Return a revision identifier.
3395 (Context.git_checkout): Likewise.
3396 (Context.gcc_checkout): Likewise.
3397 (get_parser): Add --replace-sources option.
3398 (main): Pass replace_sources argument to Context call.
3399
3400 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3401
3402 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3403 * nptl/allocatestack.c (allocate_stack): Likewise.
3404 (__reclaim_stacks): Likewise.
3405 (setxid_signal_thread): Obtain pid through syscall.
3406 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3407 (sighandle_setxid): Likewise.
3408 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3409 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3410 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3411 Likewise.
3412 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3413 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3414 comment.
3415 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3416 * nptl/descr.h (struct pthread): Change comment about pid value.
3417 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3418 pid assert.
3419 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3420 Do not set pid value.
3421 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3422 pid cache check.
3423 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3424 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3425 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3426 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3427 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3428 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3429 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3430 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3431 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3432 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3433 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3434 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3435 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3436 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3437 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3438 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3439 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3440 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3441 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3442 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3443 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3444 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3445 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3446 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3447 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3450 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3451 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3452 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3453 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3454 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3455 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3457 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3458 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3459 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3460 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3461 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3462 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3463 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3464 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3465 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3468 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3469 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3470 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3471 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3472 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3473 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3475 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3476 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3477 struct access.
3478 (clone_test): Remove function.
3479 (do_test): Rewrite to take in consideration pid is not cached anymore.
3480
3481 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3482
3483 * bits/flt-eval-method.h: New file.
3484 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3485 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3486 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3487 * math/Makefile (headers): Add bits/flt-eval-method.h.
3488 * math/math.h: Include <bits/flt-eval-method.h>.
3489 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3490 [__USE_ISOC99] (double_t): Likewise.
3491 * bits/mathdef.h (float_t): Remove.
3492 (double_t): Likewise.
3493 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3494 (double_t): Likewise.
3495 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3496 (double_t): Likewise.
3497 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3498 (double_t): Likewise.
3499 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3500 (double_t): Likewise.
3501 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3502 (double_t): Likewise.
3503 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3504 (double_t): Likewise.
3505 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3506 (double_t): Likewise.
3507 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3508 (double_t): Likewise.
3509 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3510 (double_t): Likewise.
3511 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3512 (double_t): Likewise.
3513 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3514 (double_t): Likewise.
3515 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3516 (double_t): Likewise.
3517 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3518 (double_t): Likewise.
3519
3520 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3521
3522 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3523 instead of PIC.
3524
3525 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3526
3527 [BZ #20859]
3528 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3529 (-0x7fffffff) instead of 0x80000001.
3530 * math/test-fp-ilogb-constants.c: New file.
3531 * math/Makefile (tests): Add test-fp-ilogb-constants.
3532
3533 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3534
3535 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3536 (_init): Use it in place of hardcoded R_MIPS_JALR.
3537 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3538 (_init): Use it in place of hardcoded R_MIPS_JALR.
3539 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3540 (_init): Use it in place of hardcoded R_MIPS_JALR.
3541
3542 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3543
3544 [BZ #20787]
3545 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3546 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3547 (double_t): Do not define to double if [__x86_64__] when
3548 __FLT_EVAL_METHOD__ is nonzero.
3549 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3550 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3551 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3552 test-flt-eval-method-387 and test-flt-eval-method-sse.
3553 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3554 variable.
3555 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3556
3557 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
3558
3559 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3560 use of -fno-isolate-erroneous-paths options for tilepro.
3561
3562 2016-11-23 Florian Weimer <fweimer@redhat.com>
3563
3564 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3565 structure initialization is no longer needed.
3566
3567 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3568
3569 [BZ #20855]
3570 * bits/mathdef.h (float_t): Define to float.
3571 * math/test-flt-eval-method.c: New file.
3572 * math/Makefile (tests): Add test-flt-eval-method.
3573 (CFLAGS-test-flt-eval-method.c): New variable.
3574
3575 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
3576
3577 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3578 and __fstatfs. Make them aliases of __fstatfs64 if
3579 STATFS_IS_STATFS64 is set to non-zero.
3580 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3581 and __statfs64.
3582 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3583 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3584 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3585 for __statfs and statfs.
3586 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3587 to 0.
3588 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3589 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3590 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3591 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3592 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3593 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3596 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3597 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3599 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3600
3601 2016-11-22 Andreas Schwab <schwab@suse.de>
3602
3603 * misc/mkstemp.c: Include <fcntl.h>.
3604 * misc/mkstemps.c: Likewise.
3605 * misc/mkostemp.c: Likewise.
3606 * misc/mkostemps.c: Likewise.
3607
3608 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3609
3610 [BZ #20847]
3611 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3612 array bounds.
3613 (__execvpe): Likewise.
3614
3615 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3616
3617 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3618 -fno-isolate-erroneous-paths options for tilepro.
3619
3620 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3621
3622 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3623 to 0 when in 32 bit mode.
3624 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3625 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3626 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3627 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3629 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3630 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3631 XSTAT_IS_XSTAT64 test.
3632 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3633 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3634 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3635 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3636 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3637 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3638 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3639 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3640 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3641 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3642 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3643
3644 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3645
3646 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3647 (setpayload): New declaration.
3648 * math/Versions (setpayload): New libm symbol at version
3649 GLIBC_2.25.
3650 (setpayloadf): Likewise.
3651 (setpayloadl): Likewise.
3652 * math/Makefile (libm-calls): Add s_setpayloadF.
3653 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3654 test_Ff_b1_data.
3655 (RUN_TEST_Ff_b1): New macro.
3656 (RUN_TEST_LOOP_Ff_b1): Likewise.
3657 (canonicalize_test_data): Update type.
3658 (setpayload_test_data): New array.
3659 (setpayload_test): New function.
3660 (main): Call setpayload_test.
3661 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3662 setpayloadf and setpayloadl.
3663 * manual/libm-err-tab.pl: Update comment on interfaces without
3664 ulps tabulated.
3665 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3666 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3668 Likewise.
3669 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3675 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3677 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3678 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3679 setpayload.
3680 (CFLAGS-nldbl-setpayload.c): New variable.
3681 * sysdeps/nacl/libm.abilist: Update.
3682 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3684 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3685 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3686 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3690 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3691 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3693 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3695 Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3697 Likewise.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3699 Likewise.
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3701 Likewise.
3702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3705 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3708 Likewise.
3709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3710 Likewise.
3711 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3712 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3713 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3714
3715 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3716
3717 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3718 * include/unistd.h: Extend comment about __access_noerrno return
3719 semantics.
3720 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3721 (access_common): Correct typo for EACCES.
3722
3723 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3724
3725 * sysdeps/tile/math-tests.h: New file.
3726
3727 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3728 (__old_set_dataplane): Rename from set_dataplane and make a
3729 compatibility symbol.
3730 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3731 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3732 sys/dataplane.h.
3733
3734 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3735
3736 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3737 script quote words in command output to log suitably for input to
3738 the shell.
3739
3740 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3741 Maciej W. Rozycki <macro@imgtec.com>
3742
3743 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3744 `.Lno_weak_fn' label.
3745 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3746 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3747
3748 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3749 Yury Norov <ynorov@caviumnetworks.com>
3750
3751 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3752 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3753 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3754 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3755 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3757 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3759 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3761 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3762 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3763 (sysdep_routines): Remove oldgetrlimit64.
3764 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3765 (sysdep_routines): Likewise.
3766 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3767 (sysdep_routines): Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3769 [$(subdir) = resource] (sysdep_routines): Likewise.
3770 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3771 [$(subdir) = resource] (sysdep_routines): Likewise.
3772 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3773 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3774 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3775 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3776 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3777 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3778 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3779 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3780 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3782 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3783 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3784 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3785 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3786 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3787 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3788 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3789 setrlimit and getrlimit.
3790 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3792 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3797 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3798 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3799 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3800 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3802 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3803 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3804 (__old_getrlimit64): Add compatibility symbol.
3805 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3806
3807 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3808
3809 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3810 newly built gmp, mpfr and mpc.
3811
3812 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3813
3814 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3815
3816 * conform/Makefile (linknamespace-libs): Rename to
3817 linknamespace-libs-thr.
3818 (linknamespace-libs-posix): New variable.
3819 (linknamespace-libs-xsi): Likewise.
3820 (linknamespace-libs-XPG3): Include libcrypt.a.
3821 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3822 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3823 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3824 (linknamespace-libs-XOPEN2K): Likewise.
3825 (linknamespace-libs-XOPEN2K8): Likewise.
3826 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3827
3828 [BZ #20829]
3829 * stdio-common/Versions (__snprintf): Add to version
3830 GLIBC_PRIVATE.
3831 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3832 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3833 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3834 of snprintf.
3835 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3836
3837 2016-11-16 Zack Weinberg <zackw@panix.com>
3838
3839 * string/string.h: Remove obsolete comment stating that
3840 strcoll_l and strxfrm_l have not yet been standardized.
3841
3842 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3843
3844 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3845 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3846 __access_noerrno.
3847 * io/access.c (__access_noerrno): New function.
3848 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3849 (hurd_fail_seterrno): Likewise.
3850 (access_common): Likewise.
3851 (__access_noerrno): Likewise.
3852 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3853 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3854 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3855 macro.
3856
3857 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3858
3859 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3860 Only declare fpregs if [__SH_FPU_ANY__].
3861
3862 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3863
3864 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3865 Make code unconditional.
3866 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3867
3868 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3869
3870 * manual/sysinfo.texi (S_APPEND): Delete.
3871 (S_IMMUTABLE): Likewise.
3872
3873 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3874 Magnus Granberg <zorry@gentoo.org>
3875 Mike Frysinger <vapier@gentoo.org>
3876
3877 [BZ #20662]
3878 * configure.ac (libc_cv_predef_stack_protector): Also check for
3879 __stack_chk_fail_local symbols.
3880 * configure: Regenerated.
3881
3882 2016-11-15 Florian Weimer <fweimer@redhat.com>
3883
3884 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3885 (libc_hidden_def): Remove redefinition.
3886 (__sigsetjmp): Add hidden definition.
3887 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3888 (libc_hidden_def): Remove redefinition.
3889 (__sigsetjmp): Add hidden definition.
3890
3891 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3892
3893 * scripts/build-many-glibcs.py (os.path): Do not import.
3894 (Context): Inherit explicitly from object. Remove blank line
3895 between class and docstring.
3896 (Config): Likewise.
3897 (Glibc): Likewise.
3898 (Command): Likewise.
3899 (CommandList): Likewise.
3900 (Context.write_files): Store chmod mode in a variable.
3901
3902 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3903 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3904 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3905
3906 2016-11-14 Zack Weinberg <zackw@panix.com>
3907
3908 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3909 creating or re-creating it.
3910
3911 * string/bits/string2.h: Fix typo in comment.
3912
3913 2016-11-14 Zack Weinberg <zackw@panix.com>
3914
3915 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3916 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3917 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3918 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3919 of redirected function names.
3920
3921 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3922 as well. Document that MESSAGE must be a single string literal.
3923
3924 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3925
3926 * scripts/build-many-glibcs.py: New file.
3927
3928 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3929 (do_test): Disable -Wmaybe-uninitialized around uses of
3930 except_mask.
3931
3932 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3933
3934 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3935
3936 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3937 (atomic_store_release): Provide tilepro-specific implementations.
3938
3939 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3940
3941 * math/math.h (__MATH_TG): New macro.
3942 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3943 [__USE_ISOC99] (signbit): Likewise.
3944 [__USE_ISOC99] (isfinite): Likewise.
3945 [__USE_ISOC99] (isnan): Likewise.
3946 [__USE_ISOC99] (isinf): Likewise.
3947 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3948 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3950 __MATH_TG and __MATH_EVAL_FMT2.
3951 * sysdeps/generic/math_private.h (fabs_tg): Define using
3952 __MATH_TG.
3953 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3954 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3955 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3956 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3957 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3958 macro.
3959 (__iscanonical): Likewise.
3960 (iscanonical): Define using __MATH_TG.
3961
3962 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3963
3964 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3965 guards.
3966
3967 * sysdeps/unix/sysv/linux/access.c: New file.
3968 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3969
3970 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3971
3972 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3973 and __WORDSIZE32_PTRDIFF_LONG.
3974
3975 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3976
3977 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3978
3979 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3980
3981 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3982 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3983 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3984 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3985 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3987 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3988 * sysdeps/unix/sysv/linux/truncate.c: New file.
3989 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3990 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3991 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3992 Remove.
3993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3994 Likewise.
3995
3996 * posix/tst-truncate-common.c: New file.
3997 * posix/tst-truncate.c: Use tst-truncate-common.c.
3998 * posix/tst-truncate64.c: Likewise and add LFS tests.
3999 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4000 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4001 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4002 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4003 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4005 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4006 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4007 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4008 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4009 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4010 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4011 Remove.
4012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4013 Likewise.
4014
4015 2016-11-08 Joseph Myers <joseph@codesourcery.com>
4016
4017 [BZ #20790]
4018 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4019 to MAXLINESIZE.
4020 * sunrpc/bug20790.x: New file.
4021 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4022 variable.
4023 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4024 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4025
4026 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4027
4028 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4029
4030 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4031 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4032 calloc, realloc, free, memalign and __libc_memalign rather than
4033 making them optional.
4034
4035 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4036 for libc.so.
4037
4038 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4039
4040 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4041 ptw-lseek64.
4042 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4043 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4044 Likewise.
4045 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4046 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4047 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4048 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4049 * sysdeps/unix/sysv/linux/lseek.c: New file.
4050 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4051 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4052 __libc_lseek64 from auto-generation.
4053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4055
4056 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4057
4058 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4059 * nptl/tst-cleanup1.c (do_test): Likewise.
4060 * nptl/tst-cleanup3.c (do_test): Likewise.
4061 * nptl/tst-key1.c (do_test): Likewise.
4062 * nptl/tst-key2.c (tf, do_test): Likewise.
4063 * nptl/tst-key3.c (tf, do_test): Likewise.
4064 * nptl/tst-stdio1.c (do_test): Likewise.
4065 * nptl/tst-stdio2.c (do_test): Likewise.
4066
4067 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4068 * nptl/tst-kill6.c (handler): Likewise.
4069 * nptl/tst-tls2.c (CB): Likewise.
4070 * nptl/tst-tls3.c (CB): Likewise.
4071
4072 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4073
4074 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4075
4076 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4077 Steve Ellcey <sellcey@caviumnetworks.com>
4078
4079 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4080 __ASSUME_ST_INO_64_BIT as 0
4081 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4082 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4083 over the code where __ASSUME_ST_INO_64_BIT is used.
4084 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4085 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4086 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4087
4088 2016-11-07 Florian Weimer <fweimer@redhat.com>
4089
4090 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4091 Document ABI exposure of the __kind offset.
4092 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4093 Mention reason for the __kind offset exposure in the ABI.
4094 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4095 Likewise.
4096 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4097 Likewise.
4098 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4099 Likewise.
4100 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4101 (struct __pthread_mutex_s): Likewise.
4102 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4103 Likewise.
4104 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4105 Likewise.
4106 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4107 Likewise.
4108 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4109 Likewise.
4110 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4111 Likewise.
4112 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4113 Likewise.
4114 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4115 (struct __pthread_mutex_s): Likewise.
4116 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4117 (struct __pthread_mutex_s): Likewise.
4118 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4119 Likewise.
4120
4121 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4122
4123 * test-skeleton.c: Document do_test usage.
4124
4125 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4126
4127 * iconv/gconv.h (__gconv_info): Define __data element using a
4128 zero-length array.
4129
4130 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4131
4132 * math/test-tgmath2.c: Split up test function.
4133
4134 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4135
4136 * Rules (tests-expected): New variable, depending on
4137 $(run-built-tests).
4138 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4139 $(tests).
4140
4141 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4142 $(tests-unsupported).
4143
4144 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4145
4146 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4147 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4148
4149 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4150
4151 [BZ #20768]
4152 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4153 __fegetenv instead of fegetenv.
4154
4155 [BZ #14139]
4156 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4157 (find_files): Obtain platform name from libm-test-ulps-name and
4158 store in %pplatforms.
4159 (canonicalize_platform): Remove.
4160 (print_platforms): Use $pplatforms directly.
4161 (by_platforms): Do not allow for platforms missing from
4162 %pplatforms.
4163 * sysdeps/aarch64/libm-test-ulps-name: New file.
4164 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4165 * sysdeps/arm/libm-test-ulps-name: Likewise.
4166 * sysdeps/generic/libm-test-ulps-name: Likewise.
4167 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4168 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4169 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4170 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4171 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4172 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4173 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4174 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4175 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4176 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4177 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4178 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4179 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4180 * sysdeps/sh/libm-test-ulps-name: Likewise.
4181 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4182 * sysdeps/tile/libm-test-ulps-name: Likewise.
4183 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4184
4185 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4186
4187 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4188 (test-xfail-check-execstack): New variable.
4189
4190 * sysdeps/mips/localplt.data: New file.
4191
4192 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4193 Steve Ellcey <sellcey@caviumnetworks.com>
4194
4195 * bits/wordsize.h: Add documentation.
4196 * sysdeps/aarch64/bits/wordsize.h : New file
4197 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4198 definitions.
4199 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4200 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4201 with #if instead of #ifdef.
4202 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4203 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4204 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4205 Add or change defines.
4206 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4207 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4208 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4209 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4210 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4211 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4212 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4213 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4214 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4215 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4216 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4217 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4218 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4219 * sysdeps/x86/bits/wordsize.h: Likewise.
4220
4221 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4222 Kevin Petit <kevin.petit@arm.com>
4223
4224 * sysdeps/aarch64/memchr.S (__memchr): New file.
4225
4226 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4227
4228 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4229
4230 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4231
4232 [BZ #19398]
4233 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4234 $(linknamespace-symlists-tests).
4235
4236 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4237
4238 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4239
4240 2016-11-02 Florian Weimer <fweimer@redhat.com>
4241 Carlos O'Donell <carlos@redhat.com>
4242
4243 [Bug #20729]
4244 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4245 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4246 for -Os related change.
4247
4248 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4249
4250 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4251
4252 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4253
4254 [BZ #19673]
4255 * manual/math.texi (Exponents and Logarithms): Correct description
4256 of clog10.
4257
4258 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4259
4260 [Bz #20729]
4261 * locale/weight.h: Include libc-internal.h.
4262 * locale/weightwc.h: Likewise.
4263 * nptl/nptl_dbP.h: Likewise.
4264
4265 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4266
4267 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4268 when it is MACH_PORT_NULL.
4269
4270 2016-10-31 Andreas Schwab <schwab@suse.de>
4271
4272 [BZ #20707]
4273 * posix/glob.c (glob): Initialize pglob before checking for
4274 GLOB_BRACE. Don't call glob recursively if pattern contains no
4275 valid brace expression despite GLOB_BRACE.
4276 * posix/globtest.sh: Test it.
4277
4278 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4279
4280 [BZ #20729]
4281 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4282 Define.
4283 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4284 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4285 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4286 for seq2.back_us and seq1.back_us only for -Os compiles.
4287 * locale/weightwc.h (findix): Likewise.
4288 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4289 DB_GET_FIELD_ADDRESS only for -Os compiles.
4290 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4291 for slen only for -Os compiles.
4292 * string/strcoll_l.c (get_next_seq): Ignore
4293 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4294 for -Os compiles.
4295
4296 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4297 * include/crypt.h: New file.
4298
4299 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4300
4301 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4302 from test-skeleton.c.
4303 (statclass): Replace calls to write with calls to write_message.
4304
4305 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4306
4307 * math/math.h
4308 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4309 New macro.
4310 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4311 Likewise.
4312 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4313 Likewise.
4314 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4315 SNANL.
4316 * math/test-double.h (snan_value_MACRO): New macro.
4317 * math/test-float.h (snan_value_MACRO): Likewise.
4318 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4319 * math/libm-test.inc (issignaling_test_data): Add tests of
4320 snan_value_MACRO.
4321
4322 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4323
4324 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4325 behavior when eliding a lock not held by the current thread.
4326 * sysdeps/powerpc/nptl/elide.h: Likewise.
4327
4328 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4329
4330 [BZ #20728]
4331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4332 branch to _exit() by a function call.
4333
4334 2016-10-28 Florian Weimer <fweimer@redhat.com>
4335
4336 * malloc/malloc.c: Update chunk layout comments.
4337 (chunk_main_arena): Update comment.
4338
4339 2016-10-28 Florian Weimer <fweimer@redhat.com>
4340
4341 * crypt/sha256.c, crypt/sha256-block.c,
4342 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4343 sha256_process_block to __sha256_process_block.
4344 * crypt/sha512.c, crypt/sha512-block.c,
4345 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4346 sha512_process_block to __sha512_process_block.
4347
4348 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4349
4350 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4351
4352 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4353
4354 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 [BZ #20019]
4357 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4358 definition in unrelocated shared library.
4359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4360
4361 2016-10-28 Florian Weimer <fweimer@redhat.com>
4362
4363 [BZ #20729]
4364 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4365 * sysdeps/unix/sysv/linux/i386/Makefile
4366 (uses-6-syscall-arguments): Define.
4367 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4368 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4369 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4370 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4371 Likewise.
4372 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4373 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4374 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4375 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4376 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4377 (CFLAGS-fallocate64.os): Likewise.
4378 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4379 (CFLAGS-pthread_rwlock_timedrdlock.os)
4380 (CFLAGS-pthread_rwlock_timedwrlock.o)
4381 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4382 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4383 (CFLAGS-sem_timedwait.os): Likewise.
4384
4385 2016-10-28 Florian Weimer <fweimer@redhat.com>
4386
4387 * elf/tst-linkall-static.c: New file.
4388 * elf/Makefile (tests-static): Add tst-linkall-static.
4389 (tst-linkall-static): Link against static libraries.
4390
4391 2016-10-27 Florian Weimer <fweimer@redhat.com>
4392
4393 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4394 mmaped chunks.
4395
4396 2016-10-28 Florian Weimer <fweimer@redhat.com>
4397
4398 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4399 members to mchunk_prev_size, mchunk_size.
4400 (chunk_main_arena): Reverse sense and rename from
4401 chunk_non_main_arena.
4402 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4403 mchunk_size instead of size.
4404 (set_non_main_arena): Define.
4405 (chunksize): Use chunksize_nomask instead of direct member access.
4406 (chunksize_nomask): Define.
4407 (next_chunk): Use chunksize instead of direct member access.
4408 (prev_size, set_prev_size): Define.
4409 (prev_chunk): Use prev_size instead of direct member access.
4410 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4411 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4412 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4413 (mchunk_prev_size, mchunk_size): Poison tokens.
4414 (unlink): Use chunksize_nomask, prev_size accessors.
4415 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4416 (do_check_free_chunk): Use prev_size accessor.
4417 (sysmalloc): Use set_prev_size, set_head accessors.
4418 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4419 (__libc_free): Use chunksize_nomask accessor.
4420 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4421 chunk_main_arena accessors.
4422 (_int_free): Use chunksize_nomask, prev_size accessors.
4423 (malloc_consolidate): Use chunksize, prev_size accessors.
4424 (_int_realloc): Use chunksize_nomask accessor.
4425 (_int_memalign): Use set_prev_size accessor.
4426 (__malloc_info): Use chunksize_nomask accessor.
4427 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4428 accessors.
4429 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4430 (heap_trim): Use chunksize_nomask, prev_size accessors.
4431
4432 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4433
4434 [BZ #19380]
4435 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4436 for inexact results.
4437 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4438 of inexact result where mpfr_subnormalize is the only inexact
4439 step.
4440 * stdlib/tst-strtod-round-data.h: Regenerated.
4441 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4442 Define to 0.
4443 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4444
4445 2016-10-27 David S. Miller <davem@davemloft.net>
4446
4447 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4448
4449 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4450
4451 * malloc/malloc.c (do_set_mallopt_check): New function.
4452 (do_set_mmap_threshold): Likewise.
4453 (do_set_mmaps_max): Likewise.
4454 (do_set_top_pad): Likewise.
4455 (do_set_perturb_byte): Likewise.
4456 (do_set_trim_threshold): Likewise.
4457 (do_set_arena_max): Likewise.
4458 (do_set_arena_test): Likewise.
4459 (__libc_mallopt): Use them.
4460
4461 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4462
4463 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4464 (canonicalize): New declaration.
4465 * math/Versions (canonicalize): New libm symbol at version
4466 GLIBC_2.25.
4467 (canonicalizef): Likewise.
4468 (canonicalizel): Likewise.
4469 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4470 * math/s_canonicalize_template.c: New file.
4471 * math/libm-test.inc: Update comment on functions tested and
4472 testing of NaN payloads.
4473 (TEST_NAN_PAYLOAD): New macro.
4474 (NO_TEST_INLINE): Update value.
4475 (XFAIL_TEST): Likewise.
4476 (ERRNO_UNCHANGED): Likewise.
4477 (ERRNO_EDOM): Likewise.
4478 (ERRNO_ERANGE): Likewise.
4479 (IGNORE_RESULT): Likewise.
4480 (NON_FINITE): Likewise.
4481 (TEST_SNAN): Likewise.
4482 (NO_TEST_MATHVEC): Likewise.
4483 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4484 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4485 (struct test_Ffp_b1_data): New type.
4486 (RUN_TEST_Ffp_b1): New macro.
4487 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4488 (canonicalize_test_data): New array.
4489 (canonicalize_test): New function.
4490 (main): Call canonicalize_test.
4491 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4492 canonicalizef and canonicalizel.
4493 * manual/libm-err-tab.pl: Update comment on interfaces without
4494 ulps tabulated.
4495 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4496 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4497 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4498 canonicalize.
4499 (CFLAGS-nldbl-canonicalize.c): New variable.
4500 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4501 to ...
4502 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4503 ... here.
4504 (do_test): Also test canonicalizel.
4505 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4506 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4507 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4508 file.
4509 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4510 Use libm_hidden_def.
4511 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4512 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4513 (do_test): Also test canonicalizel.
4514 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4515 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4516 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4517 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4518 libm_hidden_def.
4519 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4520 macro.
4521 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4522 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4523 * sysdeps/nacl/libm.abilist: Update.
4524 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4525 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4526 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4527 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4528 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4529 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4530 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4531 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4532 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4533 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4534 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4535 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4537 Likewise.
4538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4539 Likewise.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4541 Likewise.
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4543 Likewise.
4544 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4545 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4546 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4547 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4550 Likewise.
4551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4552 Likewise.
4553 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4554 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4555 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4556
4557 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4558 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4559 getpayload.
4560 (CFLAGS-nldbl-getpayload.c): New variable.
4561
4562 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4563
4564 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4565 integer from the format string.
4566
4567 2016-10-26 Florian Weimer <fweimer@redhat.com>
4568
4569 [BZ #19473]
4570 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4571 declarations.
4572 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4573 weak aliases.
4574 * malloc/hooks.c (__malloc_get_state): Remove definition.
4575 (malloc_get_state): New stub implementation as
4576 compatibility symbol.
4577 (malloc_set_state): Rename from __malloc_set_state. Turn into
4578 compat symbol.
4579 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4580 malloc_set_state.
4581 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4582
4583 2016-10-26 Florian Weimer <fweimer@redhat.com>
4584
4585 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4586 (names): Turn into concatenation of strings.
4587 (gconv_init): Adapt iteration over names.
4588
4589 2016-10-26 Florian Weimer <fweimer@redhat.com>
4590
4591 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4592 make const.
4593 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4594 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4595 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4596 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4597 character in sbconv.
4598 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4599 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4600 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4601
4602 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4603
4604 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4605
4606 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4607 (M_TRIM_THRESHOLD): Likewise.
4608
4609 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4610 (M_ARENA_MAX): Likewise.
4611 * malloc/malloc.c: Remove obsolete comment.
4612
4613 * manual/memory.texi: Add environment variable alternatives to
4614 setting mallopt parameters.
4615
4616 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4617
4618 * include/atomic.h
4619 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4620 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4621
4622 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4623
4624 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4625 * stdlib/tst-strfrom.h: New file.
4626 * stdlib/tst-strfrom.c: New file.
4627 * stdlib/tst-strfrom-locale.c: New file.
4628
4629 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4630 * stdlib/bug-strtod2.c: Likewise.
4631 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4632 * stdlib/tst-strtod6.c: Likewise.
4633 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4634
4635 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4636
4637 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4638 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4639 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4640 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4641 * stdlib/stdlib.h (strfromd): New declaration.
4642 (strfromf): Likewise.
4643 (strfroml): Likewise.
4644 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4645 strfrom.
4646 * stdlib/strfromd.c: New file.
4647 * stdlib/strfromf.c: Likewise.
4648 * stdlib/strfroml.c: Likewise.
4649 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4650 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4651 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4652 * sysdeps/arm/nacl/libc.abilist: Update.
4653 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4654 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4655 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4656 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4657 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4658 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4659 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4660 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4661 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4662 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4664 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4671 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4673 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4678 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4680 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4681
4682 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4683
4684 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4685 instead of cmpli.
4686 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4687 instead of cmpli.
4688
4689 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4690
4691 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4692 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4693 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4694 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4695 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4696 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4697
4698 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4699
4700 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4701 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4702 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4703 SYSCALL_LL64_PRW.
4704 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4705 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4706 __ASSUME_PRW_DUMMY_ARG.
4707 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4708 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4709 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4710 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4711 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4712 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4713
4714 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4715
4716 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4717
4718 2016-10-22 Florian Weimer <fweimer@redhat.com>
4719
4720 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4721 "C++", to override a potential extern "C" directive around the
4722 header file inclusion.
4723
4724 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4725
4726 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4727
4728 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4729
4730 * sysdeps/powerpc/fpu/fenv_private.h:
4731 (_FPU_MASK_ALL): Rename to...
4732 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4733 XE FPSCR bits.
4734
4735 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4736
4737 (_FPU_MASK_ROUNDING): Rename to...
4738 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4739 NI bits.
4740
4741 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4742 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4743 bits and rounding bits.
4744
4745 (__libc_feholdbits_ppc): New inline function to mask, set,
4746 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4747 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4748 (libc_feholdexcept_setround_ppc): Likewise.
4749
4750 (__libc_femergeenv_ppc): New function to dynamically mask both
4751 old and new FP environments and merge.
4752 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4753 (libc_feresetround_ppc): Likewise.
4754 (libc_feupdateenv_test_ppc): Likewise.
4755 (libc_feupdateenv_ppc): Likewise.
4756
4757 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4758 of ISA RN bits, and update macro names.
4759 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4760 effectively the same as the previously mentioned function.
4761
4762 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4763 usage with fe_resetround_ppc.
4764
4765 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4766 to be used.
4767 (libc_feholdexcept_setround_ctxf): Likewise.
4768 (libc_feholdexcept_setround_ctxl): Likewise.
4769
4770 2016-10-21 Florian Weimer <fweimer@redhat.com>
4771
4772 [BZ #20715]
4773 * math/math.h [__cplusplus] (iszero): Define as function template.
4774 * math/Makefile [CXX] (tests): Add test-math-iszero.
4775 (CFLAGS-test-math-iszero.cc): Set.
4776 * math/test-math-iszero.cc: New file.
4777
4778 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4779
4780 [BZ #20660]
4781 * sysdeps/arm/e_sqrt.c: New file.
4782 * sysdeps/arm/e_sqrtf.c: Likewise.
4783
4784 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4785
4786 [BZ #20718]
4787 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4788 not use floating-point comparisons to test sign.
4789 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4790 Likewise.
4791
4792 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4793 (getpayload): New declaration.
4794 * math/Versions (getpayload): New libm symbol at version
4795 GLIBC_2.25.
4796 (getpayloadf): Likewise.
4797 (getpayloadl): Likewise.
4798 * math/Makefile (libm-calls): Add s_getpayloadF.
4799 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4800 (struct test_f_f_data): Add comment.
4801 (RUN_TEST_fp_f): New macro.
4802 (RUN_TEST_LOOP_fp_f): Likewise.
4803 (getpayload_test_data): New array.
4804 (getpayload_test): New function.
4805 (main): Call getpayload_test.
4806 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4807 descriptor.
4808 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4809 getpayloadf and getpayloadl.
4810 * manual/libm-err-tab.pl: Update comment on interfaces without
4811 ulps tabulated.
4812 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4813 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4814 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4818 * sysdeps/nacl/libm.abilist: Update.
4819 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4822 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4824 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4825 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4832 Likewise.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4834 Likewise.
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4836 Likewise.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4838 Likewise.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4840 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4841 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4845 Likewise.
4846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4847 Likewise.
4848 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4849 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4851
4852 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4853
4854 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4855 tst-fallocate{64}.
4856 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4857 on syscall return.
4858
4859 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4860
4861 [BZ #20689]
4862 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4863 usable.
4864
4865 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4866
4867 * sysdeps/generic/nan-high-order-bit.h: New file.
4868 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4869 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4870 * sysdeps/hppa/math_private.h: Remove file.
4871 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4872 not define here.
4873 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4874 <nan-high-order-bit.h>.
4875 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4876 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4877 <nan-high-order-bit.h>.
4878 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4879 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4880 <nan-high-order-bit.h>.
4881 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4882 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4883 <nan-high-order-bit.h>.
4884 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4885 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4886 <nan-high-order-bit.h>.
4887 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4888 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4889 <nan-high-order-bit.h>.
4890 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4891 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4892 <nan-high-order-bit.h>.
4893 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4894 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4895 <nan-high-order-bit.h>.
4896 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4897 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4898 <nan-high-order-bit.h>.
4899 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4900 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4901 <nan-high-order-bit.h>.
4902 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4903 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4904 <nan-high-order-bit.h>.
4905 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4906 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4907 <nan-high-order-bit.h>.
4908 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4909 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4910 <nan-high-order-bit.h>.
4911 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4912 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4913 <nan-high-order-bit.h>.
4914 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4915 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4916 <nan-high-order-bit.h>.
4917 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4918 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4919 <nan-high-order-bit.h>.
4920 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4921 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4922 <nan-high-order-bit.h>.
4923 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4924 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4925 <nan-high-order-bit.h>.
4926 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4927
4928 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4929
4930 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4931
4932 2016-09-22 John David Anglin <dave.anglin@bell.net>
4933
4934 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4935 abort-instr.h.
4936 (EFAULT): Remove conditional define.
4937 (ENOSYS): Likewise.
4938 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4939 instead of conditional branch instructions.
4940
4941 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4942
4943 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4944 (totalordermag): New declaration.
4945 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4946 New macro.
4947 * math/Versions (totalordermag): New libm symbol at version
4948 GLIBC_2.25.
4949 (totalordermagf): Likewise.
4950 (totalordermagl): Likewise.
4951 * math/Makefile (libm-calls): Add s_totalordermagF.
4952 * math/libm-test.inc (totalordermag_test_data): New array.
4953 (totalordermag_test): New function.
4954 (main): Call totalordermag_test.
4955 * math/test-tgmath.c (NCALLS): Increase to 125.
4956 (F(compile_test)): Call totalordermag.
4957 (F(totalordermag)): New function.
4958 * manual/arith.texi (FP Comparison Functions): Document
4959 totalordermag, totalordermagf and totalordermagl.
4960 * manual/libm-err-tab.pl: Update comment on interfaces without
4961 ulps tabulated.
4962 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4963 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4964 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4969 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4970 totalordermag.
4971 (CFLAGS-nldbl-totalordermag.c): New variable.
4972 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4973 (do_test): Also test totalordermagl.
4974 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4975 Likewise.
4976 * sysdeps/nacl/libm.abilist: Update.
4977 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4978 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4979 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4987 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4988 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4990 Likewise.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4992 Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4994 Likewise.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4996 Likewise.
4997 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5003 Likewise.
5004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5005 Likewise.
5006 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5007 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5009
5010 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
5011
5012 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5013 boolean.
5014
5015 2016-10-13 Joseph Myers <joseph@codesourcery.com>
5016
5017 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5018 raising FE_INVALID with feraisexcept in case where part of
5019 argument is infinite, subtract that part of argument from itself.
5020 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5021 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5022 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5023
5024 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5025
5026 * math/libm-test.inc (totalorder_test_data): Add more tests.
5027
5028 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
5029
5030 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5031 Undefine weak_alias and add a comment why mips64 require
5032 versioning.
5033
5034 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5035
5036 [BZ #20647]
5037 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5038 maximum CPUID level is less than 2.
5039
5040 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5041
5042 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5043 (totalorder): New declaration.
5044 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5045 New macro.
5046 * math/Versions (totalorder): New libm symbol at version
5047 GLIBC_2.25.
5048 (totalorderf): Likewise.
5049 (totalorderl): Likewise.
5050 * math/Makefile (libm-calls): Add s_totalorderF.
5051 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5052 string.
5053 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5054 (qnan_value_pl): Likewise.
5055 (snan_value_pl): Likewise.
5056 (qnan_value): Define using qnan_value_pl.
5057 (snan_value): Define using snan_value_pl.
5058 (struct test_ff_i_data): Add comment about which tests use this
5059 structure.
5060 (RUN_TEST_ff_b): New macro.
5061 (RUN_TEST_LOOP_ff_b): Likewise.
5062 (totalorder_test_data): New array.
5063 (totalorder_test): New function.
5064 (main): Call totalorder_test.
5065 * math/test-tgmath.c (NCALLS): Increase to 122.
5066 (F(compile_test)): Call totalorder.
5067 (F(totalorder)): New function.
5068 * manual/arith.texi (FP Comparison Functions): Document
5069 totalorder, totalorderf and totalorderl.
5070 * manual/libm-err-tab.pl: Update comment on interfaces without
5071 ulps tabulated.
5072 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5073 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5074 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5075 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5079 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5080 totalorder.
5081 (CFLAGS-nldbl-totalorder.c): New variable.
5082 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5083 file.
5084 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5085 Add test-totalorderl-ldbl-128ibm.
5086 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5087 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5088 test-totalorderl-ldbl-96.
5089 * sysdeps/nacl/libm.abilist: Update.
5090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5092 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5094 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5097 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5103 Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5105 Likewise.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5107 Likewise.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5109 Likewise.
5110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5111 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5112 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5113 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5116 Likewise.
5117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5118 Likewise.
5119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5122
5123 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5124
5125 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5126 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5127 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5128 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5129 remove ENOSYS implementation.
5130 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5131 Consolidate all Linux implementations.
5132
5133 2016-10-11 Florian Weimer <fweimer@redhat.com>
5134
5135 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5136 * resolv/herror.c (herror): Cast away const-ness.
5137 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5138 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5139
5140 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5141
5142 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5143 instead of M_NAN + M_NAN.
5144 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5145
5146 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5147
5148 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5149 unused variable 'p'.
5150
5151 2016-10-09 Alan Modra <amodra@gmail.com>
5152 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 [BZ #20554]
5155 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5156 [PIC && !SHARED]: Set up PIC register for PLT call.
5157
5158 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5159
5160 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5161 conditional on value of [__FLT_EVAL_METHOD__].
5162 * math/test-iseqsig-excess-precision.c: New file.
5163 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5164
5165 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5166
5167 * math/s_iseqsig_template.c: Include math-private.h.
5168
5169 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5170 * posix/tst-posix_fadvise.c: New file.
5171 * posix/tst-posix_fadvise64.c: Likewise.
5172 * posix/tst-posix_fadvise-common.c: Likewise.
5173 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5174 (__ASSUME_FADVISE64_64_6ARG): Define.
5175 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5176 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5178 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5179 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5180 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5181 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5182 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5183 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5184 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5185 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5186 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5189 Likewise.
5190 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5191 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5192 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5193 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5194 Alias to __posix_fadvise64_l32.
5195 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5196 Add compat definition to posix_fadvise64.
5197 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5198 Add versioned definition to posix_fadvise64.
5199 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5200 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5201 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5202 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5203 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5204
5205 * io/Makefile (tests): Add tst-posix_fallocate and
5206 tst-posix_fallocate64.
5207 * io/tst-posix_fallocate-common.c: New file.
5208 * io/tst-posix_fallocate.c: Likewise.
5209 * io/tst-posix_fallocate64.c: Likewise.
5210 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5211 file.
5212 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5213 Likewise.
5214 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5215 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5216 Likewise.
5217 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5218 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5219 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5220 SYSCALL_LL to pass both offset and len arguments.
5221 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5224 __libc_pwrite64 alias used by posix_fallocate64.
5225
5226 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5227 tst-fallocate64.
5228 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5229 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5230 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5231 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5232 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5233 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5234 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5235 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5236 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5237 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5238 macro on offset argument.
5239 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5240 SYSCALL_LL64 on offset argument.
5241
5242 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5243 tst-fallocate64.
5244 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5245 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5246 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5247 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5248 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5249 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5250 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5251 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5252 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5253 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5254 macro on offset argument.
5255 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5256 SYSCALL_LL64 on offset argument.
5257 * test-skeleton.c (FAIL_RET): Add macro.
5258 (FAIL_EXIT): Likewise.
5259 (FAIL_EXIT1): Likewise.
5260 (_FAIL): Likewise.
5261
5262 2016-10-07 Florian Weimer <fweimer@redhat.com>
5263
5264 [BZ #20629]
5265 resolv: Remove RES_USEBSTRING and its implementation.
5266 * resolv/resolv.h (RES_USEBSTRING): Remove.
5267 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5268 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5269 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5270 (labellen): Remove extended label types support.
5271 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5272 * resolv/res_init.c (res_setoptions): Likewise.
5273 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5274
5275 2016-10-07 Florian Weimer <fweimer@redhat.com>
5276
5277 resolv: Remove RES_NOIP6DOTINT and its implementation.
5278 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5279 (RES_NOIP6DOTINT): Remove.
5280 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5281 handling.
5282 * resolv/res_debug.c (p_option): Likewise.
5283 * resolv/res_init.c (res_setoptions): Likewise.
5284 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5285
5286 2016-10-07 Florian Weimer <fweimer@redhat.com>
5287
5288 resolv: Deprecate unimplemented flags.
5289 * misc/sys/cdefs.h (__glibc_macro_warning1)
5290 (__glibc_macro_warning): Define.
5291 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5292 (RES_KEEPTSIG): Mark as deprecated.
5293 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5294 RES_NOCHECKNAME, RES_KEEPTSIG.
5295 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5296
5297 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5298
5299 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5300 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5301 Use strong_alias to create symbols for glibc verison 2.19.
5302
5303 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5304
5305 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5306
5307 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5308
5309 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5310
5311 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5312
5313 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5314
5315 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5316
5317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5318 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5319 in header for using it as type for ifunc function because __GI_* symbols
5320 for ppc32 do not target the ifunc symbols.
5321 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5322
5323 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5324
5325 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5326 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5327 libc_ifunc_hidden_def.
5328 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5329 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5330 Redirect ifunced function in header for using it as type of ifunc'ed
5331 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5332 function for __GI_* symbol.
5333 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5334 * include/libc-symbols.h
5335 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5336
5337 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5338
5339 [BZ #20478]
5340 * sysdeps/s390/multiarch/ifunc-resolve.h
5341 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5342 to create ifunc symbols.
5343 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5344 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5345 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5346 for using it as type for ifunc function.
5347 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5348 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5349 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5350 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5351 * sysdeps/s390/multiarch/strcat.c: Likewise.
5352 * sysdeps/s390/multiarch/strchr.c: Likewise.
5353 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5354 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5355 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5356 * sysdeps/s390/multiarch/strlen.c: Likewise.
5357 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5358 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5359 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5360 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5361 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5362 * sysdeps/s390/multiarch/strspn.c: Likewise.
5363 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5364 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5365 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5366 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5367 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5368 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5369 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5370 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5371 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5372 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5373 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5374 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5375
5376 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5377
5378 * include/libc-symbols.h (__ifunc_resolver):
5379 New macro is used by __ifunc* macros.
5380 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5381 depending on HAVE_GCC_IFUNC.
5382 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5383 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5385 Redirect ifunced function in header for using as type for ifunc function.
5386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5390 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5392 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5393 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5394 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5395 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5396 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5399 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5405 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5406 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5407 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5408 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5409 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5410 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5411 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5412 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5413 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5414 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5415 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5416 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5417 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5418 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5420 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5421 instead of libc_ifunc() macro.
5422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5423 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5424
5425 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5426
5427 * config.h.in (HAVE_GCC_IFUNC): New undef.
5428 * configure.ac: Add check if gcc supports attribute ifunc feature.
5429 * configure: Regenerated.
5430 * manual/install.texi: Add recommendation for gcc with
5431 indirect-function support.
5432 * INSTALL: Regenerated.
5433
5434 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5435
5436 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5437 macro.
5438 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5439 (__iseqsig): New declaration.
5440 * math/s_iseqsig_template.c: New file.
5441 * math/Versions (__iseqsigf): New libm symbol at version
5442 GLIBC_2.25.
5443 (__iseqsig): Likewise.
5444 (__iseqsigl): Likewise.
5445 * math/libm-test.inc (iseqsig_test_data): New array.
5446 (iseqsig_test): New function.
5447 (main): Call iseqsig_test.
5448 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5449 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5450 * manual/libm-err-tab.pl: Update comment on interfaces without
5451 ulps tabulated.
5452 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5453 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5454 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5455 * sysdeps/nacl/libm.abilist: Update.
5456 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5457 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5458 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5459 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5460 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5461 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5462 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5463 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5464 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5465 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5466 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5467 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5469 Likewise.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5471 Likewise.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5473 Likewise.
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5475 Likewise.
5476 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5477 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5478 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5480 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5482 Likewise.
5483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5484 Likewise.
5485 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5488
5489 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5490
5491 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5492 do_sincos_2, sloww, sloww1): Update comments.
5493
5494 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5495 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5496
5497 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5498 K boolean and rename it.
5499 (__sin): Adjust.
5500 (__cos): Adjust.
5501
5502 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5503 Siddhesh Poyarekar <siddhesh@sourceware.org>
5504
5505 * manual/nss.texi: Fix typos in the manual.
5506
5507 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5508
5509 * manual/contrib.texi: Fix typos in the manual.
5510
5511 * manual/maint.texi: Fix typos in the manual.
5512
5513 * manual/install.texi: Fix typos in the manual.
5514 * INSTALL: Regenerated.
5515
5516 * manual/lang.texi: Fix typos in the manual.
5517
5518 * manual/probes.texi: Fix typos in the manual.
5519
5520 * manual/threads.texi: Fix typos in the manual.
5521
5522 * manual/debug.texi: Fix typos in the manual.
5523
5524 * manual/crypt.texi: Fix typos in the manual.
5525
5526 * manual/conf.texi: Fix typos in the manual.
5527
5528 * manual/sysinfo.texi: Fix typos in the manual.
5529
5530 * manual/users.texi: Fix typos in the manual.
5531
5532 * manual/job.texi: Fix typos in the manual.
5533
5534 * manual/process.texi: Fix typos in the manual.
5535
5536 * manual/argp.texi: Fix typos in the manual.
5537 * manual/getopt.texi: Likewise.
5538 * manual/startup.texi: Likewise.
5539
5540 * manual/signal.texi: Fix typos in the manual.
5541
5542 * manual/setjmp.texi: Fix typos in the manual.
5543
5544 * manual/resource.texi: Fix typos in the manual.
5545
5546 * manual/time.texi: Fix typos in the manual.
5547
5548 * manual/arith.texi: Fix typos in the manual.
5549
5550 * manual/math.texi: Fix typos in the manual.
5551
5552 * manual/syslog.texi: Fix typos in the manual.
5553
5554 * manual/terminal.texi: Fix typos in the manual.
5555
5556 * manual/socket.texi: Fix typos in the manual.
5557
5558 * manual/filesys.texi: Fix typos in the manual.
5559
5560 * manual/llio.texi: Fix typos in the manual.
5561
5562 * manual/stdio.text: Fix typos in the manual.
5563
5564 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
5565
5566 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5567 instead of K1.
5568
5569 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5570 SHIFT_QUADRANT and make it bool.
5571 (do_sincos_2): Likewise.
5572 (sloww): Likewise.
5573 (sloww1): Likewise.
5574 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5575 (__cos): Likewise.
5576
5577 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5578
5579 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5580
5581 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5582
5583 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5584 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5585 0x7fffffffL].
5586 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5587
5588 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5589
5590 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5591 inline by __inline__.
5592 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5593 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5594 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5595 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5596 sigset_t from signal.h.
5597 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5598 which is already required.
5599
5600 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5601
5602 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5603
5604 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5605
5606 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5607 (struct tcp_repair_window): New type.
5608
5609 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5610
5611 * libio/tst-memstream3.c: Include string.h.
5612
5613 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5614
5615 [BZ #18241]
5616 [BZ #20181]
5617 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5618 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5619 write position is at the end the buffer.
5620 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5621 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5622 (_IO_str_seekoff): Set correct offset from negative displacement and
5623 set EINVAL for invalid ones.
5624 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5625 buffer length.
5626 (_IO_wstr_switch_to_get_mode): New function.
5627 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5628 set EINVAL for invalid ones.
5629 * libio/tst-memstream3.c: New file.
5630 * libio/tst-wmemstream3.c: Likewise.
5631 * manual/examples/memstrm.c: Remove warning when priting size_t.
5632
5633 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5634
5635 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5636 macro to use __builtin_fma.
5637 * sysdeps/x86_64/fpu/dla.h: Remove file.
5638
5639 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5640 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5641 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5642
5643 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5644
5645 [BZ #20292]
5646 * elf/Makefile (routines): Add dl-addr-obj.
5647 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5648 tst-_dl_addr_inside_object.
5649 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5650 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5651 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5652 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5653 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5654 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5655 * elf/dl-open.c: Likewise.
5656 * elf/dl-addr-obj.c: New file.
5657 * elf/tst-_dl_addr_inside_object.c: New file.
5658
5659 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5660
5661 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5662 <bits/iscanonical.h>.
5663 * bits/iscanonical.h: New file.
5664 * math/s_iscanonicall.c: Likewise.
5665 * math/Versions (__iscanonicall): New libm symbol at version
5666 GLIBC_2.25.
5667 * math/libm-test.inc (iscanonical_test_data): New array.
5668 (iscanonical_test): New function.
5669 (main): Call iscanonical_test.
5670 * math/Makefile (headers): Add bits/iscanonical.h.
5671 (type-ldouble-routines): Add s_iscanonicall.
5672 * manual/arith.texi (Floating Point Classes): Document
5673 iscanonical.
5674 * manual/libm-err-tab.pl: Update comment on interfaces without
5675 ulps tabulated.
5676 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5677 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5679 Likewise.
5680 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5681 test-iscanonical-ldbl-128ibm.
5682 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5683 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5684 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5685 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5686 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5688 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5690 Likewise.
5691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5694 Likewise.
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5696 Likewise.
5697 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5698 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5699
5700 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5701
5702 * string/bits/string3.h: Remove C++ style comments.
5703
5704 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5705
5706 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5707 instead of ternary condition.
5708 (do_sincos_2): Likewise.
5709 (__sin): Likewise.
5710 (__cos): Likewise.
5711 (slow): Likewise.
5712 (sloww): Likewise.
5713 (sloww1): Likewise.
5714 (bsloww): Likewise.
5715 (bsloww1): Likewise.
5716
5717 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5718 instead of ternary condition.
5719 (do_sin_slow): Likewise.
5720 (do_sincos_1): Likewise.
5721 (do_sincos_2): Likewise.
5722 (__cos): Likewise.
5723 (sloww): Likewise.
5724 (sloww1): Likewise.
5725 (sloww2): Likewise.
5726 (bsloww): Likewise.
5727 (bsloww1): Likewise.
5728 (bsloww2): Likewise.
5729
5730 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5731 check from here...
5732 (slow2): ... and here...
5733 (__sin): ... to here.
5734
5735 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5736
5737 * math/math.h
5738 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5739 Cast argument to its own type.
5740 * math/test-iszero-excess-precision.c: New file.
5741 * math/Makefile (tests): Add test-iszero-excess-precision.
5742 (CFLAGS-test-iszero-excess-precision.c): New variable.
5743
5744 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5745
5746 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5747 field, add err field.
5748 (__spawni_child): Report error through err member instead of pipe.
5749 (__spawnix): Likewise.
5750
5751 2016-09-28 Zack Weinberg <zackw@panix.com>
5752
5753 * scripts/check-installed-headers.sh: Generalize treatment of
5754 sys/elf.h to all target architectures.
5755
5756 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5757 deleted typedef ucontext_t.
5758
5759 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5760
5761 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5762 (__INTERNAL_SYSCALL1): Likewise.
5763 (__INTERNAL_SYSCALL2): Likewise.
5764 (__INTERNAL_SYSCALL3): Likewise.
5765 (__INTERNAL_SYSCALL4): Likewise.
5766 (__INTERNAL_SYSCALL5): Likewise.
5767 (__INTERNAL_SYSCALL6): Likewise.
5768 (__INTERNAL_SYSCALL7): Likewise.
5769 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5770 (__INTERNAL_SYSCALL_NARGS): Likewise.
5771 (__INTERNAL_SYSCALL_DISP): Likewise.
5772 (INTERNAL_SYSCALL_CALL): Likewise.
5773 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5774 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5775 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5776 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5777 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5778 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5779 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5780 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5781 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5782 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5783 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5784 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5785 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5786
5787 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5788
5789 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5790 macro.
5791 * math/libm-test.inc (iszero_test_data): New array.
5792 (iszero_test): New function.
5793 (main): Call iszero_test.
5794 * manual/arith.texi (Floating Point Classes): Document iszero.
5795 * manual/libm-err-tab.pl: Update comment on interfaces without
5796 ulps tabulated.
5797
5798 2016-09-23 Zack Weinberg <zackw@panix.com>
5799
5800 * scripts/check-installed-headers.sh: New script.
5801 * Rules: In each directory that defines header files to be installed,
5802 run check-installed-headers.sh on them as a special test.
5803 * Makefile: Likewise for the headers installed at top level.
5804
5805 * include/aliases.h, include/alloca.h, include/argz.h
5806 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5807 * include/elf.h, include/envz.h, include/err.h
5808 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5809 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5810 * include/link.h, include/malloc.h, include/mcheck.h
5811 * include/mntent.h, include/netinet/ether.h
5812 * include/nss.h, include/obstack.h, include/printf.h
5813 * include/pty.h, include/resolv.h, include/rpc/auth.h
5814 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5815 * include/rpc/clnt.h, include/rpc/des_crypt.h
5816 * include/rpc/key_prot.h, include/rpc/netdb.h
5817 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5818 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5819 * include/rpc/rpc_msg.h, include/rpc/svc.h
5820 * include/rpc/svc_auth.h, include/rpc/xdr.h
5821 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5822 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5823 * include/rpcsvc/ypupd.h, include/shadow.h
5824 * include/stdio_ext.h, include/sys/epoll.h
5825 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5826 * include/sys/prctl.h, include/sys/profil.h
5827 * include/sys/statfs.h, include/sys/sysctl.h
5828 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5829 * sysdeps/arm/nacl/include/bits/setjmp.h
5830 * sysdeps/mips/include/sys/asm.h
5831 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5832 * sysdeps/unix/sysv/linux/include/sys/timex.h
5833 * sysdeps/x86/fpu/include/bits/fenv.h:
5834 Add #ifndef _ISOMAC guard around internal declarations.
5835 Add multiple-inclusion guard if not already present.
5836
5837 2016-09-23 Zack Weinberg <zackw@panix.com>
5838
5839 * sysdeps/generic/sys/ucontext.h
5840 * sysdeps/arm/sys/ucontext.h
5841 * sysdeps/i386/sys/ucontext.h
5842 * sysdeps/m68k/sys/ucontext.h
5843 * sysdeps/mips/sys/ucontext.h
5844 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5845 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5846 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5847 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5848 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5849 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5850 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5851 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5852 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5853 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5854 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5855 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5856 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5857 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5858 Include both bits/sigcontext.h and bits/sigstack.h.
5859 Fix grammar error in comment, if present.
5860
5861 * bits/sigstack.h
5862 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5863 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5864 * sysdeps/unix/sysv/linux/bits/sigstack.h
5865 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5866 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5867 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5868 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5869 * bits/sigcontext.h
5870 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5871 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5872 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5873 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5874 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5875 as well as signal.h, if this was not already allowed. Request
5876 definition of size_t if necessary. Minimize semantically-null
5877 differences across files.
5878
5879 2016-09-23 Zack Weinberg <zackw@panix.com>
5880
5881 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5882 Remove all logic conditional on __need macros. Move all the
5883 conditionally defined types to their own headers...
5884 * time/bits/types/clock_t.h: Define clock_t here.
5885 * time/bits/types/clockid_t.h: Define clockid_t here.
5886 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5887 * time/bits/types/struct_timespec.h: Define struct timespec here.
5888 * time/bits/types/struct_timeval.h: Define struct timeval here.
5889 * time/bits/types/struct_tm.h: Define struct tm here.
5890 * time/bits/types/time_t.h: Define time_t here.
5891 * time/bits/types/timer_t.h: Define timer_t here.
5892 * time/Makefile: Install the new headers.
5893
5894 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5895 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5896 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5897 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5898 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5899 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5900 * sysdeps/unix/sysv/linux/bits/resource.h
5901 * sysdeps/unix/sysv/linux/bits/timex.h
5902 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5903 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5905 * sysdeps/unix/sysv/linux/sys/acct.h
5906 * sysdeps/unix/sysv/linux/sys/timerfd.h
5907 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5908 * time/sys/time.h, time/sys/timeb.h
5909 Use the new bits/types headers.
5910
5911 * include/time.h: Remove __need logic.
5912 * include/bits/time.h
5913 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5914 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5915 * include/bits/types/struct_itimerspec.h
5916 * include/bits/types/struct_timespec.h
5917 * include/bits/types/struct_timeval.h
5918 * include/bits/types/struct_tm.h:
5919 New wrapper headers.
5920
5921 2016-09-23 Zack Weinberg <zackw@panix.com>
5922
5923 * sysdeps/mach/hurd/net/if_ppp.h
5924 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5925 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5926 if __USE_MISC is defined, to ensure struct ifreq is declared.
5927
5928 * inet/netinet/ether.h: Condition all function prototypes
5929 on __USE_MISC, to ensure struct ether_addr is declared.
5930
5931 * socket/bits/types/struct_osockaddr.h: New header.
5932 * include/bits/types/struct_osockaddr.h: New wrapper.
5933 * socket/Makefile: Install the new header.
5934 * socket/sys/socket.h, inet/protocols/talkd.h:
5935 Refer to bits/types/struct_osockaddr.h for the definition of
5936 struct osockaddr.
5937
5938 2016-09-23 Zack Weinberg <zackw@panix.com>
5939
5940 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5941 * inet/protocols/routed.h, inet/protocols/talkd.h
5942 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5943 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5944 * sysdeps/generic/netinet/if_ether.h
5945 * sysdeps/generic/netinet/in_systm.h
5946 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5947 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5948 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5949 * sysdeps/mach/hurd/net/if_arp.h
5950 * sysdeps/mach/hurd/net/if_ppp.h
5951 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5952 * sysdeps/unix/sysv/linux/bits/in.h
5953 * sysdeps/unix/sysv/linux/net/ethernet.h
5954 * sysdeps/unix/sysv/linux/net/if_arp.h
5955 * sysdeps/unix/sysv/linux/net/if_ppp.h
5956 * sysdeps/unix/sysv/linux/net/if_shaper.h
5957 * sysdeps/unix/sysv/linux/net/route.h
5958 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5959 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5960 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5961 * sysdeps/unix/sysv/linux/netipx/ipx.h
5962 * sysdeps/unix/sysv/linux/sys/acct.h
5963 * include/arpa/nameser.h, include/resolv.h:
5964 Change all uses of u_char to unsigned char,
5965 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5966 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5967 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5968 and u_int64_t and u_quad_t to uint64_t.
5969
5970 * mach/sys/reboot.h: Remove two casts of integer literals
5971 to the types they already have.
5972
5973 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5974 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5975 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5976 from referring to 'unsigned char' to 'uint8_t' for consistency with
5977 the macro definition below.
5978
5979 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5980 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5981 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5982 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5983 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5984 * sysdeps/unix/sysv/linux/sys/acct.h
5985 * include/arpa/nameser.h, include/resolv.h:
5986 Fix indentation disrupted by mechanical edits.
5987
5988 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5989 * sysdeps/generic/netinet/in_systm.h
5990 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5991 * sysdeps/gnu/netinet/udp.h
5992 * sysdeps/unix/sysv/linux/net/ethernet.h
5993 * sysdeps/unix/sysv/linux/net/if_arp.h
5994 * sysdeps/unix/sysv/linux/net/if_ppp.h
5995 * sysdeps/unix/sysv/linux/net/if_shaper.h
5996 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5997 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5998 * sysdeps/unix/sysv/linux/netipx/ipx.h
5999 * sysdeps/unix/sysv/linux/sys/acct.h
6000 Include stdint.h for uintNN_t definitions.
6001 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6002
6003 2016-09-23 Zack Weinberg <zackw@panix.com>
6004
6005 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6006 * sysdeps/unix/sysv/linux/netrose/rose.h:
6007 Include sys/socket.h and netax25/ax25.h.
6008
6009 * inet/netinet/icmp6.h, inet/netinet/ip6.h
6010 * resolv/arpa/nameser_compat.h:
6011 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6012
6013 * sysdeps/unix/sysv/linux/sys/quota.h:
6014 Use __caddr_t instead of caddr_t.
6015 * sysdeps/unix/sysv/linux/sys/timerfd.h:
6016 Use __clockid_t instead of clockid_t.
6017
6018 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6019
6020 * argp/argp.h: Check whether _LIBC is defined before expanding it.
6021 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6022 expanding it.
6023
6024 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6025 Define __glibc_c99_flexarr_available to 1 when the compiler
6026 supports C99-compatible flexible array members, 0 otherwise.
6027 * sysdeps/unix/sysv/linux/bits/socket.h
6028 * sysdeps/mach/hurd/bits/socket.h
6029 * bits/socket.h: Use __glibc_c99_flexarr_available in
6030 definitions of struct cmsghdr and CMSG_DATA.
6031
6032 2016-09-23 Florian Weimer <fweimer@redhat.com>
6033
6034 * manual/nss.texi (NSS Modules Interface): Adjust function return
6035 type to enum nss_status. Document errnop argument. Clarify
6036 h_errnop semantics. Fix cross-reference formatting.
6037 (NSS Module Function Internals): Mention that *errnop needs to be
6038 set on failure, but not to zero.
6039
6040 2016-09-23 Florian Weimer <fweimer@redhat.com>
6041
6042 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6043 (get_random_name): New functions.
6044 (check_wrapper_flags_mode): Use linkat to give the new file a name
6045 determined by get_random_name.
6046 (do_test): Add calls to test open64 and openat64.
6047
6048 2016-09-23 Florian Weimer <fweimer@redhat.com>
6049
6050 * test-skeleton.c: Remove #include <stdarg.h>.
6051
6052 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6053
6054 [BZ #19826]
6055 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6056 initialization of static TLS entries.
6057 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6058 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6059
6060 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6061
6062 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6063 _hurd_malloc_fork_prepare.
6064 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6065 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6066 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6067 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6068 (_hurd_fork_child_hook): Drop malloc_fork_child.
6069 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6070 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6071 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6072 after locking locks (notably hurd_dtable_lock). Call
6073 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6074 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6075 __malloc_fork_unlock_child.
6076 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6077
6078 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6079
6080 * soft-fp/extendhftf2.c: New.
6081 * soft-fp/fixhfti.c: Likewise.
6082 * soft-fp/fixunshfti.c: Likewise.
6083 * soft-fp/floattihf.c: Likewise.
6084 * soft-fp/floatuntihf.c: Likewise.
6085 * soft-fp/half.h: Likewise.
6086 * soft-fp/trunctfhf2.c: Likewise.
6087
6088 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6089
6090 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6091 macro.
6092 * math/libm-test.inc (issubnormal_test_data): New array.
6093 (issubnormal_test): New function.
6094 * manual/arith.texi (Floating Point Classes): Document
6095 issubnormal.
6096 * manual/libm-err-tab.pl: Update comment on interfaces without
6097 ulps tabulated.
6098
6099 * sysdeps/generic/stdint.h: Define
6100 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6101 <bits/libc-header-start.h> instead of including <features.h>.
6102 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6103 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6104 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6105 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6106 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6107 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6108 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6109 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6110 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6111 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6112 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6113 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6114 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6115 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6116 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6117 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6118 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6119 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6120 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6121 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6122 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6123 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6124 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6125 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6126 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6127 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6128 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6129 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6130 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6131 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6132 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6133 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6134 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6135 * manual/arith.texi (Integers): Document these macros for types
6136 specified by width properties.
6137 * manual/lang.texi (Width of Type): Document these macros for
6138 other standard typedefs.
6139 * stdlib/tst-width-stdint.c: New file.
6140 * stdlib/Makefile (tests): Add tst-width-stdint.
6141
6142 2016-09-21 Florian Weimer <fweimer@redhat.com>
6143
6144 [BZ #20016]
6145 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6146 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6147 Move ...
6148 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6149 ... here, as compatibility symbols in a new file.
6150 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6151 * resolv/res_init.c (__res_vinit): Adjust member names.
6152 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6153 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6154 (res_send_rhook): Remove.
6155 (struct __res_state): Rename qhook, rhook members.
6156
6157 2016-09-21 Florian Weimer <fweimer@redhat.com>
6158
6159 malloc: Use __libc_lock wrappers.
6160 * malloc/arena.c (list_lock, free_list_lock): Define using
6161 __libc_lock_define_initialized.
6162 (arena_lock): Adjust formatting.
6163 * malloc/malloc.c (struct malloc_state): Define mutex using
6164 __libc_lock_define.
6165 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6166 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6167 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6168 (mutex_unlock, mutex_trylock): Remove.
6169 (__pthread_initialize): Remove unused macro.
6170 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6171 (mutex_unlock, mutex_trylock): Remove.
6172
6173 2016-09-21 Florian Weimer <fweimer@redhat.com>
6174
6175 [BZ #20592]
6176 Remove RR type classification macros.
6177 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6178 (ns_t_udp_p, ns_t_xfr_p): Remove.
6179
6180 2016-09-21 Florian Weimer <fweimer@redhat.com>
6181
6182 Remove misleading version information.
6183 * resolv/arpa/nameser.h (__NAMESER): Remove.
6184 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6185
6186 2016-09-21 Florian Weimer <fweimer@redhat.com>
6187
6188 Remove the always-defined BIND_4_COMPAT macro.
6189 * resolv/arpa/nameser.h: Unconditionally include
6190 <arpa/nameser_compat.h>.
6191 (BIND_4_COMPAT): Remove.
6192 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6193
6194 2016-09-21 Florian Weimer <fweimer@redhat.com>
6195
6196 [BZ #20591]
6197 Remove obsolete DNSSEC support.
6198 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6199 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6200 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6201 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6202 (ns_cert_types): Add comment.
6203 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6204 separately.
6205 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6206 (dst_s_dns_key_id): Remove.
6207 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6208 variables.
6209
6210 2016-09-21 Florian Weimer <fweimer@redhat.com>
6211
6212 [BZ #20524]
6213 * manual/string.texi (String/Array Comparison): Clarify the
6214 strverscmp behavior.
6215
6216 2016-09-21 Florian Weimer <fweimer@redhat.com>
6217
6218 * test-skeleton.c (xasprintf): Add function.
6219 * io/tst-open-tmpfile.c: New test.
6220 * io/Makefile (tests): Add it.
6221
6222 2016-09-21 Florian Weimer <fweimer@redhat.com>
6223
6224 Avoid running $(CXX) during build to obtain header file paths.
6225 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6226 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6227 * Makerules (cstdlib, cmath): Remove variables. Use
6228 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6229 * configure: Regenerate.
6230
6231 2016-09-21 Florian Weimer <fweimer@redhat.com>
6232
6233 * Makeconfig (all-object-suffixes): Include .op only if
6234 $(build-profile).
6235
6236 2016-09-21 Florian Weimer <fweimer@redhat.com>
6237
6238 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6239 conditionals. Do not define PATH_MAX.
6240
6241 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6242
6243 * posix/Makefile (tests): Add tst-spawn3.
6244 * posix/tst-spawn3.c: New file.
6245 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6246 if it is already opened for open action.
6247
6248 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6249 all signals when executing the clone vfork child.
6250 (SIGALL_SET): Remove macro.
6251
6252 * nptl/Makefile (tests): Add tst-exec5.
6253 * nptl/tst-exec5.c: New file.
6254 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6255 asynchronous cancellation.
6256
6257 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6258
6259 * hurd/exc2signal.c: #include <hurd/signal.h>
6260 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6261 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6262 accordingly.
6263 * mach/mach_error.c (mach_error): Fix old-style function definition.
6264 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6265
6266 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6267
6268 * math/Makefile (libm-calls): Remove s_nanF.
6269 (gen-libm-calls): Add s_nanF.
6270
6271 * math/s_nan.c: Refactor into ...
6272 * math/s_nan_template.c: New file.
6273
6274 * math/s_nanf.c: Removed.
6275 * math/s_nanl.c: Removed.
6276 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6277 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6278
6279 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6280 (LDOUBLE_nanl_libm_version): New macro.
6281
6282 * sysdeps/generic/math-type-macros-double.h:
6283 (M_STRTO_NAN): New macro.
6284 * sysdeps/generic/math-type-macros-float.h: Likewise.
6285 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6286
6287 * sysdeps/generic/math-type-macros.h: Document
6288 M_STRTO_NAN.
6289
6290 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6291
6292 * math/s_nanf.c: Remove __nanf undef.
6293 * math/s_nan.c: Remove __nan undef.
6294 * math/s_nanl.c: Remove __nanl undef.
6295
6296 * sysdeps/generic/math_private.h (__nan): Remove macro
6297 override.
6298 (__nanf): Likewise.
6299 (__nanl): Likewise.
6300
6301 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6302
6303 * math/Makefile (gen-all-calls): New variable.
6304 (generated): Replace gen-libm-calls with gen-all-calls.
6305 (gen-libm-templates.stmp): Likewise. Also, ensure
6306 the output directory exists or is created and add
6307 dependency on the Makefile.
6308 (calls): Move s_ldexpF into gen-calls.
6309 (gen-calls): New variable.
6310
6311 * math/s_ldexpf.c: Removed.
6312 * math/s_ldexpl.c: Removed.
6313 * math/s_ldexp.c: Refactored into ...
6314 * math/s_ldexp_template.c: New file.
6315
6316 * sysdeps/generic/math-type-macros-double.h: Remove
6317 redundant fall-through definition of declare_mgen_alias.
6318 (declare_mgen_alias_2): New macro.
6319
6320 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6321 New macro for function aliased to two exported symbols.
6322
6323 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6324 new template file.
6325 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6326
6327 2016-09-20 Florian Weimer <fweimer@redhat.com>
6328
6329 * Makeconfig (all-object-suffixes): Remove .og.
6330 * Makerules (elide-routines.og): Remove.
6331 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6332 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6333 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6334
6335 2016-09-20 Florian Weimer <fweimer@redhat.com>
6336
6337 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6338 .os objects.
6339
6340 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6341
6342 [BZ #20615]
6343 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6344 fpu directory by non-fpu.
6345 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6346 on non-fpu directory from a fpu directory.
6347
6348 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6349
6350 * include/limits.h: Define
6351 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6352 <bits/libc-header-start.h> instead of including <features.h>.
6353 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6354 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6355 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6356 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6357 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6358 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6359 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6360 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6361 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6362 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6363 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6364 * manual/lang.texi (Width of Type): Document these macros.
6365 * stdlib/tst-width.c: New file.
6366 * stdlib/Makefile (tests): Add tst-width.
6367
6368 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6369
6370 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6371 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6372
6373 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6374
6375 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6376 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6377 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6378
6379 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6380
6381 [BZ #18243]
6382 * rt/Makefile (test): Add tst-shm-cancel.
6383 * rt/tst-shm-cancel.c: New file.
6384 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6385
6386 [BZ #18243]
6387 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6388 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6389 definition.
6390 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6391 uncontended case.
6392 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6393 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6394 (tf): Fix check for uncontended case.
6395 (do_test): Likewise.
6396 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6397 (tf): Fix check for uncontended case.
6398 (do_test): Likewise.
6399 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6400 (tf): Fix check for uncontended case.
6401 (do_test): Likewise.
6402 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6403 (tf): Fix check for uncontended case.
6404 (do_test): Likewise.
6405
6406 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6407 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6408
6409 [BZ #15765]
6410 * nptl/Makefile (tests): Add tst-sem16.
6411 * nptl/tst-sem16.c: New file.
6412 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6413
6414 * nptl/sem_open.c (sem_open): Init pad value to 0.
6415 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6416 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6417
6418 2016-09-15 Florian Weimer <fweimer@redhat.com>
6419
6420 [BZ #20611]
6421 * inet/Makefile (routines): Add inet6_scopeid_pton.
6422 (tests): Add tst-inet6_scopeid_pton.
6423 * inet/inet6_scopeid_pton.c: New file.
6424 * inet/net-internal.h: Likewise.
6425 * inet/tst-inet6_scopeid_pton.c: New test.
6426 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6427 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6429
6430 2016-09-14 Florian Weimer <fweimer@redhat.com>
6431
6432 Remove support for compiling wrappers with PTW.
6433 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6434 * nptl/Makefile (pthread-compat-wrappers): Define.
6435 (libpthread-routines): Use pthread-compat-wrappers.
6436 * sysdeps/unix/sysv/linux/alpha/Makefile
6437 (libpthread-routines, libpthread-shared-only-routines): Remove
6438 ptw- prefix.
6439 * sysdeps/s390/nptl/Makefile
6440 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6441 * sysdeps/ia64/nptl/Makefile
6442 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6443 * sysdeps/nacl/Makefile (libpthread-routines): Use
6444 pthread-compat-wrappers to filter the routines list instead of the
6445 ptw- prefix.
6446
6447 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6448
6449 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6450 with L() and remove explicit suffix, convert real literals
6451 which can be equivalentally substituted with integers, and
6452 transform -L(x) to L(-x).
6453
6454 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6502 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6504
6505 2016-09-13 Florian Weimer <fweimer@redhat.com>
6506
6507 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6508
6509 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6510
6511 * malloc/Makefile (tests): Remove individual static test names
6512 and just add all of tests-static.
6513
6514 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6515
6516 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6517
6518 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6519 file.
6520
6521 * sysdeps/sparc/fpu/fegetmode.c: New file.
6522 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6523
6524 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6525 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6526
6527 * sysdeps/s390/fpu/fegetmode.c: New file.
6528 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6529
6530 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6531 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6532 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6533 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6534 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6535 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6536
6537 * sysdeps/mips/fpu/fegetmode.c: New file.
6538 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6539
6540 * sysdeps/m68k/fpu/fegetmode.c: New file.
6541 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6542
6543 * sysdeps/ia64/fpu/fegetmode.c: New file.
6544 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6545
6546 * sysdeps/hppa/fpu/fegetmode.c: New file.
6547 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6548
6549 * sysdeps/arm/fegetmode.c: New file.
6550 * sysdeps/arm/fesetmode.c: Likewise.
6551
6552 * sysdeps/alpha/fpu/fegetmode.c: New file.
6553 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6554
6555 * sysdeps/aarch64/fpu/fegetmode.c: New file.
6556 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6557
6558 * math/fegetmode.c: New file.
6559 * math/fesetmode.c: Likewise.
6560 * sysdeps/i386/fpu/fegetmode.c: Likewise.
6561 * sysdeps/i386/fpu/fesetmode.c: Likewise.
6562 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6563 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6564 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6565 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6566 declaration.
6567 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6568 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6569 typedef.
6570 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6571 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6572 (femode_t): New typedef.
6573 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6574 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6575 (femode_t): New typedef.
6576 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6577 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6578 (femode_t): New typedef.
6579 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6580 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6581 (femode_t): New typedef.
6582 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6583 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6584 (femode_t): New typedef.
6585 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6586 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6587 (femode_t): New typedef.
6588 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6589 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6590 (femode_t): New typedef.
6591 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6592 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6593 (femode_t): New typedef.
6594 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6595 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6596 (femode_t): New typedef.
6597 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6598 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6599 (femode_t): New typedef.
6600 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6601 declaration.
6602 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6603 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6604 (femode_t): New typedef.
6605 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6606 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6607 (femode_t): New typedef.
6608 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6609 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6610 (femode_t): New typedef.
6611 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6612 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6613 (femode_t): New typedef.
6614 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6615 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6616 (femode_t): New typedef.
6617 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6618 * manual/arith.texi (FE_DFL_MODE): Document macro.
6619 (fegetmode): Document function.
6620 (fesetmode): Likewise.
6621 * math/Versions (fegetmode): New libm symbol at version
6622 GLIBC_2.25.
6623 (fesetmode): Likewise.
6624 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6625 (tests): Add test-femode and test-femode-traps.
6626 * math/test-femode-traps.c: New file.
6627 * math/test-femode.c: Likewise.
6628 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6629 alias for __fe_dfl_env.
6630 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6631 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6632 (__fe_dfl_mode): Likewise.
6633 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6634 version GLIBC_2.25.
6635 * sysdeps/nacl/libm.abilist: Update.
6636 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6638 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6639 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6640 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6641 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6642 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6643 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6644 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6645 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6646 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6647 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6649 Likewise.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6651 Likewise.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6653 Likewise.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6655 Likewise.
6656 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6657 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6658 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6659 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6660 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6662 Likewise.
6663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6664 Likewise.
6665 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6666 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6667 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6668
6669 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6670
6671 [BZ #20495]
6672 [BZ #20508]
6673 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6674 processors, set Use_dl_runtime_resolve_slow and set
6675 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6676 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6677 New.
6678 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6679 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6680 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6681 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6682 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6683 if Use_dl_runtime_resolve_opt is set. Use
6684 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6685 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6686 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6687 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6688 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6689 New.
6690 (_dl_runtime_resolve_opt): Likewise.
6691 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6692 defined.
6693
6694 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6695
6696 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6697 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6698
6699 2016-09-06 Florian Weimer <fweimer@redhat.com>
6700
6701 Convert malloc to __libc_lock. Automated part, using this Perl
6702 s/// command:
6703 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6704 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6705 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6706 conversion.
6707
6708 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6709
6710 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6711 (linknamespace-symlists-tests): Likewise.
6712 (linknamespace-header-tests): Likewise.
6713
6714 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6715
6716 [BZ #19810]
6717 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6718 * elf/tst-noload.c: New test case.
6719 * elf/Makefile (tests): Add tst-noload.
6720
6721 2016-09-02 Roland McGrath <roland@hack.frob.com>
6722
6723 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6724
6725 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6726 not any more.
6727
6728 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6729
6730 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6731
6732 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6733 (do_cos_slow): Likewise.
6734 (do_sin): Likewise.
6735 (do_sin_slow): Likewise.
6736 (slow): Likewise.
6737 (slow1): Likewise.
6738 (slow2): Likewise.
6739 (sloww): Likewise.
6740 (sloww1): Likewise.
6741 (sloww2): Likewise.
6742 (bsloww): Likewise.
6743 (bsloww1): Likewise.
6744 (bsloww2): Likewise.
6745 (cslow2): Likewise.
6746
6747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6748
6749 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6750 arguments. Consolidate input partitioning from callers here.
6751 (do_cos_slow): Likewise.
6752 (do_sin): Likewise.
6753 (do_sin_slow): Likewise.
6754 (do_sincos_1): Remove the no longer necessary input partitioning.
6755 (do_sincos_2): Likewise.
6756 (__sin): Likewise.
6757 (__cos): Likewise.
6758 (slow1): Likewise.
6759 (slow2): Likewise.
6760 (sloww1): Likewise.
6761 (sloww2): Likewise.
6762 (bsloww1): Likewise.
6763 (bsloww2): Likewise.
6764 (cslow2): Likewise.
6765
6766 2016-09-02 Florian Weimer <fweimer@redhat.com>
6767
6768 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6769 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6770 outside of allocated array.
6771
6772 2016-09-02 Florian Weimer <fweimer@redhat.com>
6773
6774 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6775 instead of MB_CUR_MAX to avoid variable-length array.
6776
6777 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6778
6779 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6780 (type-double-routines): Add k_rem_pio2.
6781 (type-float-routines): Add k_rem_pio2f.
6782
6783 * sysdeps/generic/math_private.h:
6784 (__kernel_rem_pio2l): Removed.
6785
6786 * math/k_rem_pio2l.c: Removed.
6787 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6788 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6789 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6790 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6791
6792 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6793
6794 * math/Makefile (gen-libm-calls): Add s_fmin
6795 (libm-calls): Remove above.
6796
6797 * math/s_fmin.c: Refactor into ...
6798 * math/s_fmin_template.c: New file.
6799
6800 * math/s_fminf.c: Removed.
6801 * math/s_fminl.c: Removed.
6802 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6803 (LDOUBLE_fmin_libm_version): New macro.
6804
6805 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6806 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6807
6808 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6809
6810 * math/Makefile: (gen-libm-calls): Add s_fmax.
6811 (libm-calls): Remove above.
6812
6813 * math/s_fmax.c: Refactor into ...
6814 * math/s_fmax_template.c: New file.
6815 * math/s_fmaxf.c: Removed.
6816 * math/s_fmaxl.c: Removed.
6817
6818 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6819 (LDOUBLE_fmaxl_libm_version): New macro.
6820
6821 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6822 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6823
6824 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6825 s_fmin.c to pick the aarch64 version of the file.
6826 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6827 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6828
6829 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6830
6831 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6832 (libm-calls): Remove above.
6833
6834 * math/s_nextdown.c: Refactor into ...
6835 * math/s_nextdown_template.c: New file.
6836 * math/s_nextdownf.c: Removed.
6837 * math/s_nextdownl.c: Removed.
6838
6839 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6840
6841 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6842
6843 * math/Makefile (gen-libm-calls): Add s_fdim.
6844 (libm-calls): Move to above.
6845
6846 * math/s_fdim.c: Renamed and refactored into to ...
6847 * math/s_fdim_template.c: New file.
6848 * math/s_fdiml.c: Removed.
6849 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6850 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6851
6852 * sysdeps/generic/math-type-macros-double.h:
6853 (declare_mgen_alias): Don't declare if already declared.
6854 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6855 Likewise.
6856
6857 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6858 (declare_mgen_alias): Don't declare if already declared.
6859 (M_LIBM_NEED_COMPAT): Likewise.
6860 (declare_mgen_libm_compat): Likewise.
6861 (LDOUBLE_fdiml_libm_version): New macro.
6862
6863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6864 Include math/s_fdim.c now that ldbl-opt version is not needed.
6865 (declare_mgen_alias): New macro to disable aliasing.
6866
6867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6868 (declare_mgen_alias): Likewise.
6869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6870 (declare_mgen_alias): Likewise.
6871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6872 (declare_mgen_alias): Likewise.
6873 (M_LIBM_NEED_COMPAT): Likewise.
6874
6875 2016-09-01 Florian Weimer <fweimer@redhat.com>
6876
6877 [BZ #20525]
6878 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6879 Include <linux/quota.h>.
6880 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6881 and btodb.
6882 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6883 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6884 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6885 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6886 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6887 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6888 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6889 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6890 types.
6891 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6892 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6893
6894 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6895
6896 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6897 (gammal_positive): Fix spacing.
6898 (__ieee754_gammal_r): Likewise.
6899
6900 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6901
6902 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6903 (_Float128): Define as long double, always.
6904 (L): Apply long double type suffix, always.
6905
6906 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6907 _Float128, excepting comments.
6908
6909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6975 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6977
6978 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6979 _Float128, and include math_private.h.
6980 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6981
6982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6983 long double semantics.
6984 (_Float128): Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6986 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6989
6990 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6991
6992 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6993 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6994 * sysdeps/s390/configure: Regenerated.
6995 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6996 instruction for raising over-/underflow if z196 zarch is supported
6997 by default.
6998 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6999
7000 2016-08-30 Svante Signell <svante.signell@gmail.com>
7001
7002 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7003 it point to a dumb buffer for RPC to fill it.
7004
7005 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
7006
7007 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7008 instead of if/else.
7009 (do_sin_slow): Likewise.
7010 (do_sincos_1): Use fabs instead of if/else.
7011 (do_sincos_2): Likewise.
7012 (__sin): Likewise.
7013 (__cos): Likewise.
7014 (slow2): Likewise.
7015 (sloww): Likewise.
7016 (sloww1): Likewise. Drop argument M.
7017 (sloww2): Use fabs instead of if/else.
7018 (bsloww): Likewise.
7019 (bsloww1): Likewise.
7020 (bsloww2): Likewise.
7021
7022 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7023 fall through comment.
7024 (do_sincos_1): Likewise.
7025
7026 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7027 Consolidate switch cases 0 and 2.
7028
7029 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7030
7031 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7032 (libm-calls): Remove the above.
7033
7034 * math/s_cexp_template.c: Update using type-generic macros.
7035 * math/s_clog10_template.c: Likewise.
7036 * math/s_cpow_template.c: Likewise.
7037 * math/s_clog_template.c: Likewise.
7038 * math/s_cproj_template.c: Likewise.
7039 * math/s_csqrt_template.c: Likewise.
7040
7041 * math/s_cexp.c: Removed.
7042 * math/s_cexpf.c: Removed.
7043 * math/s_cexpl.c: Removed.
7044 * math/s_clog10.c: Removed.
7045 * math/s_clog10f.c: Removed.
7046 * math/s_clog10l.c: Removed.
7047 * math/s_cpow.c: Removed.
7048 * math/s_cpowf.c: Removed.
7049 * math/s_cpowl.c: Removed.
7050 * math/s_clog.c: Removed.
7051 * math/s_clogf.c: Removed.
7052 * math/s_clogl.c: Removed.
7053 * math/s_cproj.c: Removed.
7054 * math/s_cprojf.c: Removed.
7055 * math/s_cprojl.c: Removed.
7056 * math/s_csqrt.c: Removed.
7057 * math/s_csqrtf.c: Removed.
7058 * math/s_csqrtl.c: Removed.
7059
7060 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7061 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7062 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7063 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7064 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7065 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7066
7067 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7068 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7069 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7070 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7071 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7072 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7073 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7074 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7075 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7076 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7077 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7078
7079 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7080 version.
7081
7082 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7083 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7084 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7085 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7086
7087 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7088
7089 * s_cexp_template.c: Copy of s_cexp.c.
7090 * s_clog_template.c: Copy of s_clog.c.
7091 * s_clog10_template.c: Copy of s_clog10.c.
7092 * s_cpow_template.c: Copy of s_cpow.c.
7093 * s_cproj_template.c: Copy of s_cproj.c.
7094 * s_csqrt_template.c: Copy of s_csqrt.c.
7095
7096 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7097
7098 [BZ #20517]
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7100 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7101 exported.
7102
7103 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7104
7105 * math/fetestexceptflag.c: New file.
7106 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7107 Stefan Liebler.
7108 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7109 (fetestexceptflag): New function declaration.
7110 * manual/arith.texi (fetestexceptflag): Document function.
7111 * math/Versions (fetestexceptflag): New libm symbol at version
7112 GLIBC_2.25.
7113 * math/Makefile (libm-support): Add fetestexceptflag.
7114 (tests): Add test-fetestexceptflag.
7115 * math/test-fetestexceptflag.c: New file.
7116 * sysdeps/nacl/libm.abilist: Update.
7117 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7118 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7119 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7120 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7121 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7122 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7123 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7124 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7125 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7126 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7127 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7128 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7130 Likewise.
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7132 Likewise.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7134 Likewise.
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7136 Likewise.
7137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7138 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7139 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7143 Likewise.
7144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7145 Likewise.
7146 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7147 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7148 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7149
7150 2016-08-26 Florian Weimer <fweimer@redhat.com>
7151
7152 [BZ #20432]
7153 Avoid strong references to malloc-internal symbols when linking
7154 statically, to support statically interposed mallocs.
7155 * include/libc-symbols.h (call_function_static_weak): New macro.
7156 * malloc/Makefile (tests): Add tst-interpose-nothread,
7157 tst-interpose-thread, tst-interpose-static-nothread,
7158 tst-interpose-static-thread.
7159 (tests-static): Add tst-interpose-static-nothread,
7160 tst-interpose-static-thread.
7161 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7162 tst-interpose-aux-thread.o.
7163 (test-extras): Add tst-interpose-aux-nothread,
7164 tst-interpose-aux-thread.
7165 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7166 tst-interpose-aux-nothread.o.
7167 (tst-interpose-thread, tst-interpose-static-thread): Link with
7168 tst-interpose-aux-thread.o and libthread.
7169 * malloc/tst-interpose-aux-nothread.c: New file.
7170 * malloc/tst-interpose-aux-thread.c: Likewise.
7171 * malloc/tst-interpose-aux.c: Likewise.
7172 * malloc/tst-interpose-aux.h: Likewise.
7173 * malloc/tst-interpose-nothread.c: Likewise.
7174 * malloc/tst-interpose-skeleton.c: Likewise.
7175 * malloc/tst-interpose-static-nothread.c: Likewise.
7176 * malloc/tst-interpose-static-thread.c: Likewise.
7177 * malloc/tst-interpose-thread.c: Likewise.
7178 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7179 * sysdeps/mach/hurd/fork.c (__fork): Only call
7180 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7181 __malloc_fork_unlock_child if defined.
7182 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7183
7184 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7185
7186 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7187 timespec C99 designated initialization.
7188
7189 2016-08-26 Florian Weimer <fweimer@redhat.com>
7190
7191 [BZ #19946]
7192 Avoid expected SIGALRM signals.
7193 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7194 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7195 (xpthread_create, xpthread_detach, xpthread_join)
7196 (delayed_exit_thread, delayed_exit): New functions.
7197 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7198 (tf): Use xpthread_cond_wait.
7199 (do_test): Likewise. Replace alarm with delayed_exit.
7200 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7201 (do_test): Call delayed_exit. Report failure.
7202 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7203 (do_test): Call delayed_exit.
7204 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7205 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7206 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7207 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7208 error.
7209 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7210 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7211 error.
7212 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7213 (do_test): Call delayed_exit.
7214 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7215 (do_test): Call delayed_exit.
7216 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7217 (do_test): Call delayed_exit instead of alarm. Use
7218 xpthread_mutex_lock.
7219 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7220 (do_test): Call delayed_exit instead of alarm. Use
7221 xpthread_mutex_lock.
7222 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7223 (do_test): Call delayed_exit instead of alarm.
7224 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7225 (do_test): Call delayed_exit instead of alarm. Use
7226 xpthread_spin_lock.
7227 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7228 (do_test): Call delayed_exit instead of alarm. Use
7229 xpthread_join.
7230
7231 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7234 adjust CFA when allocating register save area on re-aligned
7235 stack.
7236
7237 2016-08-26 Florian Weimer <fweimer@redhat.com>
7238
7239 * string/tst-cmp.c: New test.
7240 * string/Makefile (tests): Add it.
7241
7242 2016-08-25 Mark Wielaard <mark@klomp.org>
7243
7244 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7245 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7246 (check_tree_recurse): Use newly defined accessors.
7247 (check_tree): Likewise.
7248 (maybe_split_for_insert): Likewise.
7249 (__tfind): Likewise.
7250 (__tdelete): Likewise.
7251 (trecurse): Likewise.
7252 (tdestroy_recurse): Likewise.
7253 (__tsearch): Likewise. And add asserts for malloc alignment.
7254 (__twalk): Cast root to node in case CHECK_TREE is defined.
7255
7256 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7257
7258 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7259
7260 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7261
7262 * math/Makefile (libm-gen-calls): Add
7263 catan, catanh, ctan, ctanh.
7264 (libm-calls): Remove the above.
7265
7266 * math/s_catan_template.c: Update using type-generic macros.
7267 * math/s_catanh_template.c: Likewise.
7268 * math/s_ctan_template.c: Likewise.
7269 * math/s_ctanh_template.c: Likewise.
7270
7271 * math/s_catanf.c: Removed.
7272 * math/s_catan.c: Removed.
7273 * math/s_catanl.c: Removed.
7274 * math/s_catanhf.c: Removed.
7275 * math/s_catanh.c: Removed.
7276 * math/s_catanhl.c: Removed.
7277 * math/s_ctanf.c: Removed.
7278 * math/s_ctan.c: Removed.
7279 * math/s_ctanl.c: Removed.
7280 * math/s_ctanhf.c: Removed.
7281 * math/s_ctanh.c: Removed.
7282 * math/s_ctanhl.c: Removed.
7283
7284 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7285 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7286 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7287 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7288 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7289 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7290
7291 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7292 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7293 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7294 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7295
7296 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7297
7298 * s_catan_template.c: Copy of s_catan.c.
7299 * s_catanh_template.c: Copy of s_catanh.c.
7300 * s_ctan_template.c: Copy of s_ctan.c.
7301 * s_ctanh_template.c: Copy of s_ctanh.c.
7302
7303 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7304
7305 * math/Makefile (gen-libm-calls): Move
7306 casin, casinh, csin, csinh here.
7307 (libm-calls): Remove the above.
7308
7309 * math/s_casin_template.c: Update using type-generic macros.
7310 * math/s_casinh_template.c: Likewise.
7311 * math/s_csin_template.c: Likewise.
7312 * math/s_csinh_template.c: Likewise.
7313 * math/k_casinh_template.c: Likewise.
7314
7315 * math/s_casinf.c: Removed.
7316 * math/s_casin.c: Removed.
7317 * math/s_casinl.c: Removed.
7318 * math/s_casinh.c: Removed.
7319 * math/s_casinhf.c: Removed.
7320 * math/s_casinhl.c: Removed.
7321 * math/s_csin.c: Removed.
7322 * math/s_csinf.c: Removed.
7323 * math/s_csinl.c: Removed.
7324 * math/s_csinh.c: Removed.
7325 * math/s_csinhf.c: Removed.
7326 * math/s_csinhl.c: Removed.
7327 * math/k_casinh.c: Removed.
7328 * math/k_casinhf.c: Removed.
7329 * math/k_casinhl.c: Removed.
7330
7331 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7332 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7333 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7334 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7335
7336 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7337 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7338 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7339 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7340 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7341 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7342 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7343 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7344
7345 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7346 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7347 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7348 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7349
7350 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7351 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7352 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7353 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7354
7355 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7356
7357 * s_casin_template.c: Copy of s_casin.c.
7358 * s_casinh_template.c: Copy of s_casinh.c.
7359 * s_csin_template.c: Copy of s_csin.c.
7360 * s_csinh_template.c: Copy of s_csinh.c.
7361 * k_casinh_template.c: Copy of k_casinh.c.
7362
7363 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7364
7365 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7366
7367 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7368
7369 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7370 (mul_split) Remove, rename as mul_splitl, remove
7371 redundant float.h include, and include via mul_splitl.h
7372
7373 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7378
7379 * math/mul_splitl.h: New file.
7380
7381 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7382 Move into mul_split.h, and remove redundant float.h include.
7383
7384 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7388
7389 * math/mul_split.h: New file.
7390
7391 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7392
7393 * math/Makefile (libm-gen-calls): Move
7394 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7395 (libm-calls): Remove above.
7396
7397 * math/s_cacos_template.c: Update using type-generic macros.
7398 * math/s_cacosh_template.c: Likewise.
7399 * math/s_ccos_template.c: Likewise.
7400 * math/s_ccosh_template.c: Likewise.
7401
7402 * math/s_cacosf.c: Removed.
7403 * math/s_cacos.c: Removed.
7404 * math/s_cacosl.c: Removed.
7405 * math/s_cacoshf.c: Removed.
7406 * math/s_cacosh.c: Removed.
7407 * math/s_cacoshl.c: Removed.
7408 * math/s_ccosf.c: Removed.
7409 * math/s_ccos.c: Removed.
7410 * math/s_ccosl.c: Removed.
7411 * math/s_ccoshf.c: Removed.
7412 * math/s_ccosh.c: Removed.
7413 * math/s_ccoshl.c: Removed.
7414
7415 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7416 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7417 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7418 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7419 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7420 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7421
7422 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7423 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7424 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7425 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7426
7427 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7428 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7429 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7430 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7431
7432 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7433
7434 * s_cacos_template.c: Copy of s_cacos.c.
7435 * s_cacosh_template.c: Copy of s_cacosh.c.
7436 * s_ccos_template.c: Copy of s_ccos.c.
7437 * s_ccosh_template.c: Copy of s_ccosh.c.
7438
7439 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7440
7441 * stdlib/tst-strtod-round-skeleton.c:
7442 Refactored from tst-strtod-round.c.
7443
7444 (L_): New macro to apply literal modifier.
7445 (FNPFX): New macro to select str or wcs prefix.
7446 (CHAR): New macro to choose wchar_t or char.
7447 (STRM): New macro to choose printf for tested character type.
7448
7449 (STRTO): New macro to choose appropriate string -> real function.
7450 (FNPFXS): Stringitized version of FNPFX.
7451 (STR): Support for above macro.
7452 (STRX): Likewise.
7453
7454 (TEST): Update with above macros.
7455 (test): Likewise.
7456 (GEN_ONE_TEST): Likewise.
7457 (test_in_one_mode): Likewise.
7458
7459 * stdlib/tst-strtod-round.c: New file.
7460 * wcsmbs/tst-wcstod-round.c: New file.
7461
7462 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7463 (tst-wcstod-round): Add libm depencency for fesetround.
7464
7465 2016-08-19 Zack Weinberg <zackw@panix.com>
7466
7467 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7468
7469 2016-08-18 Torvald Riegel <triegel@redhat.com>
7470
7471 [BZ #20477]
7472 * resolv/res_hconf.c (do_init): Use atomic access.
7473 * resolv/res_hconf.h: Add comments.
7474 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7475 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7477
7478 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7479
7480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7481 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7483 Likewise.
7484
7485 2016-08-18 Florian Weimer <fweimer@redhat.com>
7486
7487 [BZ #16907]
7488 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7489 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7490 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7491 (__attribute__): Remove definition.
7492
7493 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7494
7495 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7496 Remove unused sqrtl declaration.
7497
7498 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7499
7500 * math/Makefile: (gen-libm-templates.stmp): New rule.
7501 (libm-calls): Move carg conj cimag and cabs into ...
7502 (gen-libm-calls): New variable.
7503 (generated): Inform Make objects from gen-libm-calls
7504 may be generated.
7505
7506 * sysdeps/generic/math-type-macros.h: New file.
7507 * sysdeps/generic/math-type-macros-float.h: Likewise.
7508 * sysdeps/generic/math-type-macros-double.h: Likewise.
7509 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7510 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7511 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7512
7513 * math/cabs.c: Refactor into
7514 * math/cabs_template.c: new file.
7515 * math/cabsf.c: Removed.
7516 * math/cabsl.c: Removed.
7517 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7518 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7519
7520 * math/carg.c: Refactor into
7521 * math/carg_template.c: new file.
7522 * math/cargf.c: Removed.
7523 * math/cargl.c: Removed.
7524 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7525 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7526
7527 * math/conj.c: Refactor into
7528 * math/conj_template.c: new file.
7529 * math/conjf.c: Removed.
7530 * math/conjl.c: Removed.
7531 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7532 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7533
7534 * math/cimag.c: Refactor into
7535 * math/cimag_template.c: new file.
7536 * math/cimagf.c: Removed.
7537 * math/cimagl.c: Removed.
7538 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7539 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7540
7541 * math/cimag.c: Refactor into
7542 * math/cimag_template.c: new file.
7543 * math/cimagf.c: Removed.
7544 * math/cimagl.c: Removed.
7545 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7546 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7547
7548 2016-08-17 Florian Weimer <fweimer@redhat.com>
7549
7550 Reduce time to expected nptl/tst-once5 failure.
7551 * nptl/tst-once5.cc (TIMEOUT): Define.
7552
7553 2016-08-17 Florian Weimer <fweimer@redhat.com>
7554
7555 [BZ #20452]
7556 Avoid additional copies of objects in libc.a in static libraries.
7557 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7558 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7559 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7560 rt-sysdep.
7561 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7562 Add nptl-sysdep.
7563 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7564 Add ptw-sysdep.
7565 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7566 rt-sysdep.
7567 * sysdeps/unix/sysv/linux/alpha/Makefile
7568 (libpthread-shared-only-routines): Add ptw-sysdep,
7569 ptw-sigprocmask, ptw-rt_sigaction.
7570 * sysdeps/unix/sysv/linux/ia64/Makefile
7571 (librt-shared-only-routines): Add rt-sysdep.
7572 * sysdeps/unix/sysv/linux/i386/Makefile
7573 (libpthread-shared-only-routines): Add libc-do-syscall.
7574 * sysdeps/unix/sysv/linux/microblaze/Makefile
7575 (libpthread-shared-only-routines): Add sysdep.
7576 * sysdeps/unix/sysv/linux/powerpc/Makefile
7577 (librt-shared-only-routines): Add rt-sysdep.
7578 (libpthread-shared-only-routines): Add sysdep.
7579 * sysdeps/unix/sysv/linux/s390/Makefile
7580 (librt-shared-only-routines): Add rt-sysdep.
7581 * sysdeps/unix/sysv/linux/sparc/Makefile
7582 (librt-shared-only-routines): Add rt-sysdep.
7583 (libpthread-shared-only-routines): Add sysdep.
7584 * sysdeps/unix/sysv/linux/tile/Makefile
7585 (libpthread-shared-only-routines): Likewise.
7586
7587 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7588
7589 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7590 Mask implicit bit out of unpacked value.
7591 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7594
7595 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7596
7597 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7598
7599 * sysdeps/s390/fpu/fesetexcept.c: New file.
7600
7601 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7602 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7603 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7604
7605 * sysdeps/mips/fpu/fesetexcept.c: New file.
7606
7607 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7608
7609 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7610
7611 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7612
7613 * sysdeps/arm/fesetexcept.c: New file.
7614
7615 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7616
7617 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7618
7619 * math/fesetexcept.c: New file.
7620 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7621 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7622 * math/fenv.h: Define
7623 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7624 <bits/libc-header-start.h> instead of including <features.h>.
7625 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7626 declaration.
7627 * manual/arith.texi (fesetexcept): Document function.
7628 * math/Versions (fesetexcept): New libm symbol at version
7629 GLIBC_2.25.
7630 * math/Makefile (libm-support): Add fesetexcept.
7631 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7632 * math/test-fesetexcept.c: New file.
7633 * math/test-fesetexcept-traps.c: Likewise.
7634 * sysdeps/nacl/libm.abilist: Update.
7635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7637 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7639 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7640 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7641 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7642 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7643 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7645 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7646 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7648 Likewise.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7650 Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7652 Likewise.
7653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7654 Likewise.
7655 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7656 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7657 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7658 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7661 Likewise.
7662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7663 Likewise.
7664 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7667
7668 2016-08-16 Florian Weimer <fweimer@redhat.com>
7669
7670 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7671 New.
7672 (do_test): Apply default_stack_size_in_mb if not set.
7673 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7674
7675 2016-08-15 Andreas Schwab <schwab@suse.de>
7676
7677 [BZ #20435]
7678 CVE-2016-6323
7679 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7680 as .cantunwind.
7681
7682 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7683
7684 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7685 comment from fraiseexcpt.c.
7686
7687 * math/test-fexcept.c (feraiseexcept_exact): New function.
7688 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7689 (test_except): Likewise.
7690
7691 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7692
7693 [BZ #20455]
7694 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7695 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7696 to be restored.
7697
7698 * math/test-fexcept-traps.c: New file.
7699 * math/test-fexcept.c: Likewise.
7700 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7701 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7702 macro.
7703 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7704 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7705
7706 2016-08-09 Torvald Riegel <triegel@redhat.com>
7707
7708 * include/atomic.h (atomic_fetch_and_relaxed,
7709 atomic_fetch_and_release, atomic_fetch_or_release,
7710 atomic_fetch_xor_release): New.
7711
7712 2016-08-06 Christian Seiler <christian@iwakd.de>
7713
7714 [BZ #20444]
7715 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7716 MACH_PORT_NULL.
7717
7718 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7719
7720 * math/s_fdim.c: Avoid alias renamed.
7721 * math/s_fdimf.c: Likewise.
7722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7723 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7724 Add s_fdimf-vis3, s_fdim-vis3.
7725 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7726 (CFLAGS-s_fdim-vis3.c): Likewise.
7727 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7728 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7729
7730 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7731
7732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7733 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7734 Remove s_fdimf-vis3, s_fdim-vis3.
7735 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7736 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7743 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7744 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7745
7746 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7747
7748 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7749 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7750 -Wa,-Av9a -mvis.
7751
7752 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7753
7754 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7755 LIT() to individual constants in simple expressions
7756 after splitting on spaces.
7757 (_apply_lit): Rename replaced version, and use it to
7758 apply to what appears to be a token.
7759
7760 * math/libm-test.inc: Fix many, many issues with
7761 spacing.
7762
7763 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7764
7765 * math/math.h: Move comment about <bits/mathdef.h> definitions
7766 above inclusion of <bits/mathdef.h>. Do not mention
7767 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7768
7769 2016-08-05 Torvald Riegel <triegel@redhat.com>
7770
7771 * include/atomic.h (atomic_exchange_relaxed): New.
7772
7773 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7774
7775 * math/e_scalb.c: Do not include <fenv.h>.
7776 (invalid_fn): Do calculation resulting in NaN instead of raising
7777 FE_INVALID and returning a NaN explicitly.
7778 * math/e_scalbf.c: Do not include <fenv.h>.
7779 (invalid_fn): Do calculation resulting in NaN instead of raising
7780 FE_INVALID and returning a NaN explicitly.
7781 * math/e_scalbl.c: Do not include <fenv.h>.
7782 (invalid_fn): Do calculation resulting in NaN instead of raising
7783 FE_INVALID and returning a NaN explicitly.
7784
7785 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7786
7787 * po/de.po: Updated from Translation Project.
7788 * po/fi.po: Likewise.
7789 * po/sv.po: Likewise.
7790
7791 2016-08-04 Florian Weimer <fweimer@redhat.com>
7792
7793 [BZ #20452]
7794 Use sysdep.o from libc.a in static libraries.
7795 * sysdeps/unix/sysv/linux/i386/Makefile
7796 (libpthread-shared-only-routines): Add sysdep.
7797 (librt-shared-only-routines): Likewise.
7798
7799 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7800
7801 * math/tgmath.h (nextdown): Define if
7802 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7803 (nextup): Likewise.
7804
7805 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7806 macro.
7807 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7808 Document.
7809 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7810 Document macro.
7811 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7812 (exp10f): Likewise.
7813 (exp10l): Likewise.
7814 * math/bits/mathcalls.h (exp10): Declare if
7815 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7816
7817 * manual/arith.texi (nextup): Fix typo in last change.
7818
7819 2016-08-03 Zack Weinberg <zackw@panix.com>
7820
7821 [BZ #19239]
7822 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7823 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7824 define major, minor, and makedev to issue deprecation warnings on use.
7825 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7826 previously-activated deprecation warnings for these macros and prevent
7827 subsequent inclusions of this header from having any effect.
7828 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7829 including <sys/sysmacros.h>, and undefine it again afterward.
7830
7831 2016-08-03 Zack Weinberg <zackw@panix.com>
7832
7833 * sysdeps/generic/sys/sysmacros.h: Delete file.
7834 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7835 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7836 * bits/sysmacros.h: ... here; this encoding is now the generic
7837 encoding. Now defines only the following macros:
7838 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7839 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7840 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7841
7842 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7843 bits/sysmacros.h and the above new macros to generate the
7844 public implementations of major, minor, and makedev.
7845 * misc/tst-makedev.c: New test.
7846 * include/sys/sysmacros.h: New wrapper.
7847
7848 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7849 (routines): Add makedev.
7850 (tests): Add tst-makedev.
7851 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7852 gnu_dev_makedev.
7853 * posix/Makefile (headers): Remove sys/sysmacros.h.
7854 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7855
7856 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7857 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7858 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7859 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7860 * sysdeps/unix/sysv/linux/arm/libc.abilist
7861 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7862 * sysdeps/unix/sysv/linux/i386/libc.abilist
7863 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7864 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7865 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7866 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7867 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7868 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7869 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7870 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7871 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7877 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7878 * sysdeps/unix/sysv/linux/sh/libc.abilist
7879 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7883 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7884 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7885 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7886 Add GLIBC_2.25.
7887
7888 * include/features.h (__glibc_clang_prereq): New macro.
7889 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7890 (__attribute_deprecated_msg__): New macros.
7891
7892 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7893
7894 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7895 macro.
7896 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7897 * manual/arith.texi (issignaling): Document as ISO from TS
7898 18661-1:2014.
7899 (nextup): Likewise.
7900 (nextupf): Likewise.
7901 (nextupl): Likewise.
7902 (nextdown): Likewise.
7903 (nextdownf): Likewise.
7904 (nextdownl): Likewise.
7905 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7906 macro.
7907 * math/math.h: Define
7908 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7909 <bits/libc-header-start.h> instead of including <features.h>.
7910 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7911 [__USE_GNU].
7912 * math/bits/mathcalls.h (nextdown): Declare if
7913 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7914 (nextup): Likewise.
7915 (__issignaling): Likewise.
7916
7917 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7918
7919 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7920 check, and remove __glibc_likely hint
7921 from FP_INFINITE check.
7922 * s_csinhf.c (__csinhf): Likewise.
7923
7924 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7925 hint from FP_INFINITE check.
7926 * s_csinhl.c (__csinhl): Likewise.
7927
7928 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7929
7930 * math/Makefile (libm-calls): Insert F placeholder into
7931 object names. Move w_lgamma_compat* routines into
7932 (libm-compat-calls): New variable.
7933 (libm-compat-calls-ldouble-yes): New variable.
7934 (calls): Insert F placeholder.
7935 (generated): Redefine using new type-foreach macro call.
7936 (routines): Likewise.
7937
7938 (types): New variable to hold a list of symbolic names
7939 for each type supported by the target machine.
7940 (libm-routines): Redefine using new types variable.
7941 (type-foreach): macro to replace fooF with the
7942 appropriately suffixed foo for each types.
7943
7944 (type-ldouble-suffix): New variable.
7945 (type-ldouble-routines): Likewise.
7946 (type-ldouble-yes): Likewise.
7947 (type-double-suffix): Likewise.
7948 (type-double-routines): Likewise.
7949 (type-float-suffix): Likewise.
7950 (type-float-routines): Likewise.
7951
7952 (dbl-only-routines): Remove.
7953 (long-c-yes): Likewise.
7954 (long-m-routines): Likewise.
7955 (long-m-support): Likewise.
7956 (long-m-yes): Likewise.
7957 (test-longdouble-yes): Likewise.
7958
7959 (test-float.o): Simplify by increasing the scope of the
7960 recipe which adds libm-test.stmp to the vector types.
7961 (test-ifloat.o): Likewise.
7962 (test-float-finite.o): Likewise.
7963 (test-double.o): Likewise
7964 (test-idouble.o): Likewise.
7965 (test-double-finite.o): Likewise.
7966 (test-ldouble.o): Likewise
7967 (test-ildoubl.o): Likewise.
7968 (test-ldouble-finite.o): Likewise.
7969
7970 (libm-tests): Redefine type tests using foreach and the
7971 list of types in types.
7972
7973 (CPPFLAGS-test-ildoubl.c): Rename to
7974 (CPPFLAGS-test-ildouble.c): New variable
7975
7976 * math/test-ildoubl.c: Rename to
7977 * math/test-ildouble.c: New file.
7978
7979 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7980
7981 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7982 Use fabsl instead of fabs.
7983 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7984 Likewise.
7985 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7986 Add long double suffix to constant to ensure proper
7987 promotion to long double.
7988
7989 2016-08-03 Tom Tromey <tom@tromey.com>
7990
7991 [BZ #20311]
7992 * nptl_db/Makefile (headers): Add proc_service.h.
7993 * nptl_db/proc_service.h: Add include guard. Use
7994 __BEGIN/__END_DECLS.
7995 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7996 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7997 arguments.
7998
7999
8000 2016-08-03 Florian Weimer <fweimer@redhat.com>
8001
8002 [BZ #17730]
8003 Avoid using memalign for TCB allocations.
8004 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8005 (_dl_allocate_tls_storage): Use malloc and manual alignment.
8006 Avoid alignment gap in the TLS_DTV_AT_TP case.
8007 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8008 determine the pointer to free.
8009 * nptl/tst-tls3-malloc.c: New test.
8010 * nptl/Makefile (tests): Add it.
8011 (tst-tls3-malloc): Link with libdl, libpthread.
8012 (LDFLAGS-tst-tls3-malloc): Set.
8013 (tst-tls3-malloc.out): Depend on DSO used in test.
8014
8015 2016-08-03 Florian Weimer <fweimer@redhat.com>
8016
8017 [BZ #17730]
8018 Avoid using memalign for TLS allocations.
8019 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
8020 is_static member with to_free member.
8021 (union dtv): Use struct dtv_pointer.
8022 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8023 dtv_pointer instead of is_static.
8024 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8025 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8026 instead of val.
8027 (allocate_dtv_entry): New function.
8028 (allocate_and_init): Return struct dtv_pointer. Call
8029 allocate_dtv_entry instead of __libc_memalign.
8030 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8031 instead of val.
8032 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8033 instead of is_static. Adjust call to allocate_and_init.
8034 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8035 struct dtv_pointer instead of val.
8036
8037 2016-08-03 Florian Weimer <fweimer@redhat.com>
8038
8039 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8040 (MALLOC_ALIGN_MASK): Move ...
8041 * malloc/malloc-internal.h: ... to here.
8042 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8043
8044 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8045
8046 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8047 (UDP_ENCAP_GTP1U): Likewise.
8048
8049 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8050 (PF_MAX): Update value.
8051 (AF_QIPCRTR): New macro.
8052
8053 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8054
8055 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8056 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8057 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8059 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8060 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8061 s_truncf-vis3, s_trunc-vis3.
8062 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8063 (CFLAGS-s_ceil-vis3.c): Likewise.
8064 (CFLAGS-s_floorf-vis3.c): Likewise.
8065 (CFLAGS-s_floor-vis3.c): Likewise.
8066 (CFLAGS-s_truncf-vis3.c): Likewise.
8067 (CFLAGS-s_trunc-vis3.c): Likewise.
8068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8076 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8077 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8080
8081 2016-08-02 David S. Miller <davem@davemloft.net>
8082
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8084 (__nearbyint_vis3): Don't check for sNaN before float register is
8085 loaded with the incoming argument.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8087 (__nearbyintf_vis3): Likewise.
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8089 Likewise.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8091 Likewise.
8092
8093 * string/test-strncmp.c (do_test_limit): Make sure the test data
8094 stream is aligned as required for the type "CHAR".
8095 (do_test): Likewise.
8096
8097 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8098
8099 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8100 by beq instructions jumping to the end of the function.
8101 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8102 clobber list. Use "i" constraint instead of "X".
8103 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8104 of "X".
8105
8106 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8107
8108 * bits/libc-header-start.h: New file.
8109 * Makefile (headers): Add bits/libc-header-start.h.
8110 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8111 (__GLIBC_USE): New macro.
8112 * libio/stdio.h: Define
8113 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8114 <bits/libc-header-start.h> instead of including <features.h>.
8115 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8116 (open_memstream): Likewise.
8117 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8118 (__asprintf): Likewise.
8119 (asprintf): Likewise.
8120 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8121 (getdelim): Likewise.
8122 (getline): Likewise.
8123 * string/string.h: Define
8124 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8125 <bits/libc-header-start.h> instead of including <features.h>.
8126 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8127 (strndup): Likewise.
8128 * wcsmbs/wchar.h: Define
8129 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8130 <bits/libc-header-start.h> instead of including <features.h>.
8131 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8132 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8133
8134 2016-08-02 Florian Weimer <fweimer@redhat.com>
8135
8136 Support linking against compatibility symbols, for use in tests.
8137 * include/libc-symbols.h (symbol_version_reference): New macro.
8138 (symbol_version): Use it.
8139 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8140 (compat_symbol): Use compat_symbol_reference.
8141 (compat_symbol_1, compat_symbol_2): Remove.
8142 (compat_symbol_reference, compat_symbol_reference_1)
8143 (compat_symbol_reference_2): New macro. Use
8144 symbol_version_reference.
8145
8146 2016-08-02 Florian Weimer <fweimer@redhat.com>
8147
8148 [BZ #19469]
8149 * malloc/Makefile (CPPFLAGS): Compile tests with
8150 -DTEST_NO_MALLOPT.
8151 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8152
8153 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8154
8155 [BZ #20033]
8156 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8157 finite version.
8158 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8159 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8160 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8161 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8162 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8163 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8164 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8165 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8166 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8167 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8168 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8169 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8170 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8171 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8172 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8173 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8174 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8175 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8176 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8177 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8178 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8179 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8180 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8181 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8182 in zero power.
8183
8184 2016-08-02 Florian Weimer <fweimer@redhat.com>
8185
8186 [BZ #20370]
8187 * malloc/arena.c (get_free_list): Update comment. Assert that
8188 arenas on the free list have no attached threads.
8189 (remove_from_free_list): New function.
8190 (reused_arena): Call it.
8191
8192 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8193
8194 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8195 when it is a NaN.
8196 [_IEEE_FP_INEXACT] Remove.
8197 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8198 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8199 when it is a NaN.
8200 [_IEEE_FP_INEXACT] Remove.
8201 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8202 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8203 when it is a NaN.
8204 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8205 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8206 when its absolute value is greater than 0x1.0p52.
8207 [_IEEE_FP_INEXACT] Remove.
8208 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8209 when its absolute value is greater than 0x1.0p23.
8210 [_IEEE_FP_INEXACT] Remove.
8211
8212 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8213
8214 * version.h (RELEASE): Set to "development"
8215 (VERSION): Set to 2.24.90.
8216 * NEWS: Add 2.25 section.
8217
8218 * version.h (RELEASE): Set to "stable"
8219 (VERSION): Set to 2.24.
8220 * include/features.h (__GLIBC_MINOR__): Set to 24.
8221
8222 * NEWS: Add 2.24 fixed bugs.
8223 * po/libc.pot: Regenerate.
8224
8225 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8226
8227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8228 [$(subdir) = math] (libm-sysdep_routines): Remove.
8229 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8230 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8231 s_truncf-vis3, s_trunc-vis3.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8234 file.
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8268 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8272 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8273 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8274 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8275 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8276 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8277 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8278
8279 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 [BZ #20384]
8282 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8283 test-double-libmvec-sincos-avx-main.o,
8284 test-double-libmvec-sincos-avx2-main.o,
8285 test-double-libmvec-sincos-main.o,
8286 test-float-libmvec-sincosf-avx-main.o,
8287 test-float-libmvec-sincosf-avx2-main.o and
8288 test-float-libmvec-sincosf-main.o.
8289 test-float-libmvec-sincosf-avx512-main.o.
8290 ($(objpfx)test-double-libmvec-sincos): Also link with
8291 $(objpfx)test-double-libmvec-sincos-main.o.
8292 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8293 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8294 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8295 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8296 ($(objpfx)test-float-libmvec-sincosf): Also link with
8297 $(objpfx)test-float-libmvec-sincosf-main.o.
8298 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8299 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8300 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8301 test-double-libmvec-sincos-avx512-main.o and
8302 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8303 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8304 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8305 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8306 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8307 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8308 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8309 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8310 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8311 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8312 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8313 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8314 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8315 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8316 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8317 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8318 -DREQUIRE_AVX2.
8319 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8320 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8321 -DREQUIRE_AVX512F.
8322 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8323 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8324 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8325 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8326 file.
8327 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8328 Likewise.
8329 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8330 Likewise.
8331 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8332 Likewise.
8333 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8334 Likewise.
8335 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8336 Likewise.
8337 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8338 Likewise.
8339 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8340 Likewise.
8341
8342 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8343
8344 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8345
8346 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8347
8348 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8349 and typo in a comment about AT_HWCAP entry.
8350
8351 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8352
8353 * sysdeps/aarch64/libm-test-ulps: Updated.
8354
8355 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8356
8357 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8358 of r13 as it is not restored in mvcle case.
8359
8360 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8361
8362 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8363 Rename "ret" to "__ret".
8364 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8365 inline_syscall5, inline_syscall6): Likewise.
8366
8367 2016-07-19 Will Newton <will.newton@gmail.com>
8368
8369 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8370 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8371 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8372 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8373 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8374
8375 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8378 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8379 -mfpmath=387 with $(rtld-CFLAGS).
8380 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8381 $(rtld-CFLAGS).
8382
8383 2016-07-18 Ross Burton <ross.burton@intel.com>
8384 Khem Raj <raj.khem@gmail.com>
8385
8386 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8387 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8388 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8389 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8390 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8391 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8392 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8393 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8394 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8395 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8396 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8397 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8398 R_METAG_TLS_DTPOFF): New.
8399
8400 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8401 Matt Clay <mclay@lycos.com>
8402
8403 [BZ #20357]
8404 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8405 to call __mpsin/__mpcos and to negate values.
8406 * math/auto-libm-test-in: Add test.
8407 * math/auto-libm-test-out: Regenerate.
8408
8409 2016-07-18 Zack Weinberg <zackw@panix.com>
8410
8411 * grp/Makefile: Don't install the internal header grp-merge.h.
8412
8413 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8414
8415 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8416
8417 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8418
8419 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8420
8421 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8422
8423 [BZ #15368]
8424 * sysdeps/unix/sysv/linux/nptl-signals.h
8425 (__nptl_clear_internal_signals): New function.
8426 (__libc_signal_block_all): Likewise.
8427 (__libc_signal_block_app): Likewise.
8428 (__libc_signal_restore_set): Likewise.
8429 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8430 implementation.
8431 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8432 the cached pid/tid value in pthread structure.
8433
8434 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8435
8436 [BZ #20347]
8437 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8438
8439 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 [BZ #20348]
8442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8443 preadv64, pwrite64 and pwritev64.
8444
8445 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8446
8447 [BZ #20350]
8448 * posix/tst-preadwrite.c: Renamed to ...
8449 * posix/tst-preadwrite-common.c: This.
8450 (PREAD): Removed.
8451 (PWRITE): Likewise.
8452 (STRINGIFY): Likewise.
8453 (STRINGIFY2): Likewise.
8454 (do_prepare): Make it static and remove function arguments.
8455 (do_test): Likewise.
8456 (PREPARE): Updated.
8457 (TEST_FUNCTION): New.
8458 (name): Make it static.
8459 (fd): Likewise.
8460 (do_prepare): Use create_temp_file.
8461 (do_test): Renamed to ...
8462 (do_test_with_offset): This. Make it static and accept offset.
8463 Properly check return value of PWRITE and PREAD. Return bytes
8464 read. Don't close fd nor unlink name.
8465 * posix/tst-preadwrite.c: Rewrite.
8466 * posix/tst-preadwrite64.c: Likewise.
8467
8468 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 [BZ #20309]
8471 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8472 -mtls-dialect=gnu2 works.
8473 * configure: Regenerated.
8474 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8475 (tests): Add tst-gnu2-tls1.
8476 (modules-names): Add tst-gnu2-tls1mod.
8477 ($(objpfx)tst-gnu2-tls1): New.
8478 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8479 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8480 * elf/tst-gnu2-tls1.c: New file.
8481 * elf/tst-gnu2-tls1mod.c: Likewise.
8482 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8483 bytes for push in the PLT entry to align the stack.
8484
8485 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 [BZ #20349]
8488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8489
8490 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8491
8492 [BZ #18707]
8493 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8494 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8495
8496 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8497
8498 * sysdeps/unix/sysv/linux/sysdep.h
8499 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8500 guards.
8501 * misc/tst-preadvwritev-common.c: New file.
8502 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8503 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8504 a check for files larger than 2GB.
8505
8506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8507 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8508 * sysdeps/unix/sysv/linux/pread.c
8509 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8510 __OFF_T_MATCHES_OFF64_T.
8511 * sysdeps/unix/sysv/linux/pread64.c
8512 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8513 * sysdeps/unix/sysv/linux/preadv.c
8514 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8515 * sysdeps/unix/sysv/linux/preadv64.c
8516 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8517 * sysdeps/unix/sysv/linux/pwrite.c
8518 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8519 * sysdeps/unix/sysv/linux/pwrite64.c
8520 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8521 * sysdeps/unix/sysv/linux/pwritev.c
8522 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8523 * sysdeps/unix/sysv/linux/pwritev64.c
8524 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8525
8526 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8527
8528 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8529 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8530
8531 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8532
8533 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8534
8535 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8536
8537 [BZ #20240]
8538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8539 (CFLAGS-s_modf-ppc32.c): New variable.
8540 (CFLAGS-s_modff-ppc32.c): Likewise.
8541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8542 (CFLAGS-s_modf-ppc64.c): Likewise.
8543 (CFLAGS-s_modff-ppc64.c): Likewise.
8544
8545 2016-07-07 Andreas Schwab <schwab@suse.de>
8546
8547 [BZ #20263]
8548 * nptl/tst-robust10.c: New test.
8549 * nptl/Makefile (tests): Add tst-robust10.
8550
8551 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
8552
8553 [BZ #20263]
8554 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8555
8556 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8557
8558 * sysdeps/s390/linkmap.h (struct link_map_machine):
8559 Remove member gotplt and add member jmprel.
8560 * sysdeps/s390/s390-32/dl-machine.h
8561 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8562 instead of gotplt with &got[3].
8563 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8564 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8565
8566 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
8567
8568 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8569
8570 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8571
8572 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8573 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8574 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8575 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8576 * libio/vtables.c (_IO_vtable_check)
8577 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8578 * libio/libioP.h (IO_set_accept_foreign_vtables)
8579 [!PTR_MANGLE]: Do not call PTR_MANGLE.
8580
8581 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 [BZ #20314]
8584 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8585 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8586 $(common-objpfx)cmath.
8587 ($(common-objpfx)cstdlib): New target.
8588 ($(common-objpfx)cmath): Likewise.
8589
8590 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8591
8592 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8593
8594 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8595
8596 [BZ #20327]
8597 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8598 are not part of the string.
8599
8600 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8601
8602 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8603 * nptl/tst-cancel4-common.h (fifoname): New variable.
8604 (fifofd): Likewise.
8605 (cl_fifo): New function.
8606 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8607 SIGINT.
8608 (tf_open): Add early cancel test.
8609
8610 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8611
8612 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8613
8614 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8615
8616 * sysdeps/generic/ldsodefs.h
8617 (dl_symbol_visibility_binds_local_p): New inline function.
8618 * elf/dl-addr.c (determine_info): Treat hidden and internal
8619 symbols as local.
8620 * elf/dl-lookup.c (do_lookup_x): Likewise.
8621 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8622
8623 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8624
8625 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8626 invalid exception for a sNaN input.
8627 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8628 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8629 (__nearbyint_vis3): Likewise
8630 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8631 (__nearbyintf_vis3): Likewise
8632 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8633 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8634 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8635 Likewise.
8636 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8637 Likewise.
8638
8639 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8640
8641 [BZ #20139]
8642 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8643 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8644 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8645 2.24 or above.
8646 (HAVE_AVX512_ASM_SUPPORT): Removed.
8647 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8648 * sysdeps/x86_64/configure: Regenerated.
8649 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8650 check unconditional.
8651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8652 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8653 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8654 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8655 Likewise.
8656 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8657 Likewise.
8658 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8659 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8660 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8661 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8662 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8663 Likewise.
8664 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8665 Likewise.
8666 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8667 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8668 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8669 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8671 Likewise.
8672 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8673 Likewise.
8674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8675 Likewise.
8676 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8677 Likewise.
8678 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8679 Likewise.
8680 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8681 Likewise.
8682 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8683 Likewise.
8684 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8685 Likewise.
8686 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8687 Likewise.
8688 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8689 Likewise.
8690 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8691 Likewise.
8692
8693 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8694
8695 [BZ #20024]
8696 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8697 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8698 of this implementation of vector function.
8699 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8700 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8701 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8702 Likewise.
8703 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8704 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8705 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8706 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8707 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8708 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8709 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8710 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8711 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8712 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8713 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8714 for testing vector sincos with fixed ABI.
8715 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8716 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8717 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8718 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8719 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8720 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8721 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8722 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8723 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8724 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8725 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8726 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8727 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8728 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8729 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8730 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8731
8732 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8733
8734 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8735
8736 2016-06-30 Anton Blanchard <anton@samba.org>
8737
8738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8739 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8740 s_sinf-ppc64.
8741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8744 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8745
8746 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8747
8748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8750 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8751 e_expf-ppc64.
8752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8754 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8755 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8756
8757 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8758
8759 [BZ #20277]
8760 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8761 when SHARED is defined.
8762
8763 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8764
8765 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8766 (index_arch_Prefer_ERMS): Likewise.
8767 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8768 __memcpy_erms for Prefer_ERMS.
8769 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8770 (__memmove_erms): Enabled for libc.a.
8771 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8772 __memmove_erms or Prefer_ERMS.
8773 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8774 __mempcpy_erms for Prefer_ERMS.
8775 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8776 __memset_erms for Prefer_ERMS.
8777
8778 2016-06-30 Andreas Schwab <schwab@suse.de>
8779
8780 [BZ #20262]
8781 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8782 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8783 of memory.
8784
8785 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8786
8787 [BZ #18645]
8788 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8789 (test-extras): Add tst-cleanupx4aux.
8790 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8791 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8792 tst-cleanupx4aux.o.
8793 * nptl/tst-cleanupx4aux.c: New file.
8794
8795 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8796
8797 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8798
8799 2016-06-29 Andreas Schwab <schwab@suse.de>
8800
8801 [BZ #20260]
8802 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8803 address before the beginning of the string as an integer to avoid
8804 array-bounds warning.
8805
8806 2016-06-28 Richard Henderson <rth@redhat.com>
8807
8808 * elf/elf.h (EM_BPF): New.
8809 (EM_NUM): Update.
8810 (R_BPF_NONE, R_BPF_MAP_FD): New.
8811
8812 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8813 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8814 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8815 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8816 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8817 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8818 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8819 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8820 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8821 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8822 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8823 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8824 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8825 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8826 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8827 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8828 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8829 (EM_NUM): Update.
8830
8831 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8832
8833 [BZ #18960]
8834 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8835 Set _nl_current_LC_CATEGORY_used to two instead of one.
8836
8837 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8838
8839 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8840 (do_test): ... this.
8841 (TEST_FUNCTION): New macro.
8842 Include test-skeleton.c.
8843 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8844 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8845
8846 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8847
8848 [BZ #15479]
8849 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8850 floating-point environment rather than just control word.
8851 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8852 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8853 floating-point environment, with "invalid" exceptions merged in,
8854 rather than just control word.
8855 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8856 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8857 "inexact" exceptions.
8858
8859 [BZ #15479]
8860 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8861 floating-point environment rather than just control word.
8862 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8863 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8864 floating-point environment, with "invalid" exceptions merged in,
8865 rather than just control word.
8866 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8867 * math/libm-test.inc (floor_test_data): Do not allow spurious
8868 "inexact" exceptions.
8869
8870 [BZ #15479]
8871 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8872 floating-point environment rather than just control word.
8873 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8874 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8875 floating-point environment, with "invalid" exceptions merged in,
8876 rather than just control word.
8877 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8878 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8879 "inexact" exceptions.
8880
8881 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8882
8883 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8884 __libc_vfork.
8885 (__vfork) [IS_IN (libc)]: Remove alias.
8886 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8887 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8888 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8889
8890 2016-06-24 Torvald Riegel <triegel@redhat.com>
8891
8892 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8893 of atomic_compare_and_exchange_bool_rel.
8894 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8895 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8896 catomic_compare_and_exchange_bool_rel): Remove.
8897 * sysdeps/aarch64/atomic-machine.h
8898 (atomic_compare_and_exchange_bool_rel): Likewise.
8899 * sysdeps/alpha/atomic-machine.h
8900 (atomic_compare_and_exchange_bool_rel): Likewise.
8901 * sysdeps/arm/atomic-machine.h
8902 (atomic_compare_and_exchange_bool_rel): Likewise.
8903 * sysdeps/mips/atomic-machine.h
8904 (atomic_compare_and_exchange_bool_rel): Likewise.
8905 * sysdeps/microblaze/atomic-machine.h
8906 ( __arch_compare_and_exchange_bool_8_rel,
8907 __arch_compare_and_exchange_bool_16_rel): Likewise.
8908 * sysdeps/powerpc/atomic-machine.h
8909 ( __arch_compare_and_exchange_bool_8_rel,
8910 __arch_compare_and_exchange_bool_16_rel): Likewise.
8911 * sysdeps/powerpc/powerpc32/atomic-machine.h
8912 ( __arch_compare_and_exchange_bool_32_rel,
8913 __arch_compare_and_exchange_bool_64_rel): Likewise.
8914 * sysdeps/powerpc/powerpc64/atomic-machine.h
8915 ( __arch_compare_and_exchange_bool_32_rel,
8916 __arch_compare_and_exchange_bool_64_rel): Likewise.
8917 * sysdeps/tile/atomic-machine.h
8918 (atomic_compare_and_exchange_bool_rel): Likewise.
8919
8920 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8921
8922 [BZ #20296]
8923 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8924 when either argument is a NaN.
8925 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8926 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8927
8928 * math/libm-test.inc (snan_value_ld): New macro.
8929 (isgreater_test_data): Add sNaN tests.
8930 (isgreaterequal_test_data): Likewise.
8931 (isless_test_data): Likewise.
8932 (islessequal_test_data): Likewise.
8933 (islessgreater_test_data): Likewise.
8934 (isunordered_test_data): Likewise.
8935 (nextafter_test_data): Likewise.
8936 (nexttoward_test_data): Likewise.
8937 (remainder_test_data): Likewise.
8938 (remquo_test_data): Likewise.
8939 (significand_test_data): Likewise.
8940 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8941
8942 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8943
8944 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8945 environment macros are defined.
8946 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8947
8948 2016-06-23 Florian Weimer <fweimer@redhat.com>
8949
8950 [BZ #20191]
8951 Implement vtable verification in libio.
8952 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8953 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8954 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8955 _IO_new_file_init_internal instead of _IO_file_init.
8956 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8957 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8958 * libio/Makefile (routines): Add vtables.
8959 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8960 (_IO_init): Remove, not for internal use.
8961 (_IO_init_internal): Declare, internal replacement for _IO_init.
8962 (_IO_file_init): Remove, not for internal use.
8963 (_IO_new_file_init): Remove, not for internal use.
8964 (_IO_new_file_init_internal): Declare, internal replacement for
8965 _IO_new_file_init.
8966 (_IO_old_file_init): Remove, not for internal use.
8967 (_IO_old_file_init_internal): Declare, internal replacement for
8968 _IO_old_file_init.
8969 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8970 internal use.
8971 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8972 Declare.
8973 (libio_vtable): New macro.
8974 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8975 functions.
8976 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8977 _IO_new_file_init.
8978 (_IO_new_file_init): New externally visible wrapper which disables
8979 vtable verification.
8980 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8981 Define as vtables.
8982 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8983 (_IO_init): New externally visible wrapper which disables
8984 vtable verification.
8985 * libio/iofdopen.c (_IO_new_fdopen): Call
8986 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8987 comment.
8988 * libio/iofopen.c (__fopen_internal): Call
8989 _IO_new_file_init_internal instead of _IO_file_init.
8990 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8991 Define as vtables.
8992 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8993 _IO_new_file_init_internal instead of _IO_file_init.
8994 * libio/iopopen.c (_IO_new_popen): Likewise.
8995 (_IO_proc_jumps): Define as vtable.
8996 * libio/iovdprintf.c (_IO_vdprintf): Call
8997 _IO_new_file_init_internal instead of _IO_file_init.
8998 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8999 (__open_memstream): Call _IO_init_internal instead of _IO_init.
9000 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9001 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9002 _IO_old_file_init.
9003 (_IO_old_file_init): New externally visible wrapper which disables
9004 vtable verification.
9005 (_IO_old_file_jumps): Define as vtable.
9006 * libio/oldiofdopen.c (_IO_old_fdopen): Call
9007 _IO_old_file_init_internal instead of _IO_old_file_init.
9008 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9009 * libio/oldiopopen.c (_IO_old_popen): Likewise.
9010 (_IO_old_proc_jumps): Define as vtable.
9011 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9012 Define as vtables.
9013 * libio/vtables.c: New file.
9014 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9015 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9016 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9017 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9018 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9019 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9020 instead of _IO_init.
9021
9022 2016-06-23 Florian Weimer <fweimer@redhat.com>
9023
9024 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9025
9026 2016-06-23 Florian Weimer <fweimer@redhat.com>
9027
9028 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9029 potentially unused.
9030
9031 2016-06-22 Florian Weimer <fweimer@redhat.com>
9032
9033 * test-skeleton.c (write_message): New function.
9034 * malloc/tst-mallocfork2.c (write_message): Remove.
9035 * debug/tst-longjmp_chk2.c (write_indented): New function.
9036 (write_message): Remove.
9037 (stackoverflow_handler): Call write_indented.
9038
9039 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9040
9041 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9042 "inexact" exceptions after fnstenv.
9043 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9044 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9045 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9046
9047 2015-06-22 Zack Weinberg <zackw@panix.com>
9048
9049 * sysdeps/generic/bits/hwcap.h: Moved to ...
9050 * bits/hwcap.h: Here.
9051
9052 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9053
9054 * sysdeps/aarch64/memcpy.S (memcpy):
9055 Further tuning for performance.
9056
9057 2016-06-21 Florian Weimer <fweimer@redhat.com>
9058
9059 [BZ #20284]
9060 * malloc/arena.c (reused_arena): Do not return NULL if we start
9061 out with a non-corrupted arena.
9062
9063 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9064
9065 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9066 * misc/tst-preadvwritev.c: New file.
9067 * misc/tst-preadvwritev64.c: Likewise.
9068 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9069 usage.
9070 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9071 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9072 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9073 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9074
9075 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9076
9077 [BZ #19654]
9078 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9079 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9080 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9081 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9082 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9083 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9084 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9085 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9086 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9087 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9088 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9089 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9090 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9091 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9092 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9093 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9094 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9095 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9096 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9097 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9098 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9099 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9100 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9101 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9102 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9103 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9104
9105 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9106
9107 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9108 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9109
9110 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9111
9112 * sysdeps/aarch64/memcpy.S (memcpy):
9113 Rewrite of optimized memcpy and memmove.
9114 * sysdeps/aarch64/memmove.S (memmove): Remove
9115 memmove code (merged into memcpy.S).
9116
9117 2016-06-20 Florian Weimer <fweimer@redhat.com>
9118
9119 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9120 * sysdeps/generic/dl-dtv.h: New file.
9121 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9122 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9123 (dtv_t): Remove.
9124 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9125 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9126 (dtv_t): Remove.
9127 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9128 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9129 (dtv_t): Remove.
9130 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9131 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9132 (dtv_t): Remove.
9133 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9134 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9135 (dtv_t): Remove.
9136 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9137 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9138 (dtv_t): Remove.
9139 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9140 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9141 (dtv_t): Remove.
9142 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9143 (dtv_t): Remove.
9144 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9145 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9146 (dtv_t): Remove.
9147 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9148 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9149 (dtv_t): Remove.
9150 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9151 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9152 (dtv_t): Remove.
9153 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9154 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9155 (dtv_t): Remove.
9156 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9157 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9158 (dtv_t): Remove.
9159 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9160 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9161 (dtv_t): Remove.
9162 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9163 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9164 (dtv_t): Remove.
9165 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9166 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9167 (dtv_t): Remove.
9168
9169 2016-06-20 Florian Weimer <fweimer@redhat.com>
9170
9171 Revert symbol poisoning of __malloc_initialize_hook.
9172 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9173 poisoning.
9174 * malloc/Makefile: Remove un-poisoning.
9175 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9176 instead of old__malloc_initialize_hook.
9177 * malloc/malloc-hooks.h: Likewise.
9178 * malloc/malloc.c: Likewise.
9179 * malloc/mcheck-init.c: Likewise.
9180
9181 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9182
9183 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9184
9185 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9186
9187 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9188 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9189 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9190 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9191
9192 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9193
9194 * NEWS: Mention addition of nextup and nextdown.
9195 * manual/arith.texi: Document nextup and nextdown.
9196 * manual/libm-err-tab.pl: Add nextup and nextdown.
9197 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9198 * math/Versions (libm): Add GLIBC_2.24.
9199 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9200 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9201 Add new test.
9202 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9203 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9204 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9205 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9206 (nextup_test_data): Likewise.
9207 (nextdown_test_data): Likewise.
9208 * math/s_nextdown.c: New file.
9209 * math/s_nextdownf.c: Likewise.
9210 * math/s_nextdownl.c: Likewise.
9211 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9212 F(nextup): New function.
9213 F(nextdown): Likewise.
9214 * math/tgmath.h: Add nextup and nextdown.
9215 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9216 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9221 Add nextup and nextdown.
9222 (CFLAGS-nldbl-nextup.c): New variable.
9223 (CFLAGS-nldbl-nextdown.c): Likewise.
9224 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9225 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9226 * sysdeps/nacl/libm.abilist: Update.
9227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9228 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9230 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9231 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9233 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9234 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9237 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9238 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9241 Likewise.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9244 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9246 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9251 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9253 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9254 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9255
9256 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9257
9258 * manual/pattern.texi: Fix typos & grammar errors.
9259
9260 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9261
9262 * manual/search.texi: Fix typos & grammar errors.
9263
9264 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9265
9266 * manual/message.texi: Fix typos & grammar errors.
9267
9268 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9269
9270 * manual/contrib.texi: Fix spelling typos.
9271 * manual/crypt.texi: Likewise.
9272 * manual/filesys.texi: Likewise.
9273 * manual/locale.texi: Likewise.
9274 * manual/message.texi: Likewise.
9275 * manual/nss.texi: Likewise.
9276 * manual/string.texi: Likewise.
9277
9278 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9279
9280 * manual/locale.texi: Fix typos & grammar errors.
9281
9282 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9283
9284 * manual/charset.texi: Fix typos & grammar errors.
9285
9286 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9287
9288 * manual/string.texi: Fix typos.
9289
9290 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9291
9292 * manual/ctype.texi: Fix typos.
9293
9294 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9295
9296 * manual/memory.texi: Fix various typos & grammar errors.
9297
9298 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9299
9300 [BZ #20255]
9301 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9302 * math/libm-test.inc (fdim_test_data): Add another test.
9303
9304 [BZ #6796]
9305 [BZ #20255]
9306 [BZ #20256]
9307 * math/s_fdim.c: Include <math_private.h>.
9308 (__fdim): Use math_narrow_eval on result.
9309 * math/s_fdimf.c: Include <math_private.h>.
9310 (__fdimf): Use math_narrow_eval on result.
9311 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9312 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9313 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9314 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9315 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9316 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9317 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9318 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9319 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9320 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9321 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9322 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9323 overflow. Add sNaN tests.
9324
9325 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9326 fpclassify.
9327 * math/s_fdimf.c (__fdimf): Likewise.
9328 * math/s_fdiml.c (__fdiml): Likewise.
9329
9330 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9331
9332 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9333 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9335 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9336 ifunc'ed strcasecmp/strncasecmp.
9337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9338 [EALIGN]: Removed.
9339 [END]: Likewise.
9340 [__strcasecmp]: Define instead of the above to control symbol name.
9341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9342 for __strcasecmp_power8.
9343 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9344 for __strncasecmp_power8.
9345 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9346 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9347 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9348 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9349 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9350 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9351
9352 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9353
9354 [BZ #20252]
9355 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9356 arguments when second argument is a NaN.
9357 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9358 qNaN tests.
9359
9360 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9361 (conj_test_data): Likewise.
9362 (copysign_test_data): Likewise.
9363 (creal_test_data): Likewise.
9364 (fma_test_data): Likewise.
9365 (fmod_test_data): Likewise.
9366
9367 [BZ #20250]
9368 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9369 itself.
9370 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9371 zero input to itself.
9372 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9373 Likewise.
9374 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9375 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9378 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9379
9380 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9381
9382 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9383 * nptl/tst-cancel4-common.c: New file.
9384 * nptl/tst-cancel4-common.h: Likewise.
9385 * nptl/tst-cancel4.c: Move common definitions to
9386 tst-cancel4-common.{c,h} file.
9387 * nptl/tst-cancel4_1.c: New test.
9388 * nptl/tst-cancel4_2.c: New test.
9389
9390 2016-06-13 Florian Weimer <fweimer@redhat.com>
9391
9392 [BZ #20248]
9393 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9394 (write_message): New function.
9395 (stackoverflow_handler): Call it instead of printf, to avoid
9396 excessive stack usage by printf.
9397 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9398
9399 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9400
9401 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9402 (prio_inherit_missing): Remove define.
9403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9404 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9406 Likewise.
9407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9408 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9409 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9410 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9411 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9412 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9413
9414 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9415
9416 [BZ #19670]
9417 [BZ #19672]
9418
9419 * io/test-lfs.c (do_prepare): Use xmalloc.
9420 * io/tst-fcntl.c (do_prepare): Likewise.
9421 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9422 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9423 * login/tst-utmp.c (do_prepare): Likewise.
9424 * posix/tst-exec.c (do_prepare): Likewise.
9425 * posix/tst-pathconf.c (prepare): Likewise.
9426 * posix/tst-spawn.c (do_prepare): Likewise.
9427 * posix/tst-truncate.c (do_prepare): Likewise.
9428 * rt/tst-aio.c (do_prepare): Likewise.
9429 * rt/tst-aio64.c (do_prepare): Likewise.
9430
9431 2016-06-11 Florian Weimer <fweimer@redhat.com>
9432
9433 [BZ #20237]
9434 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9435 (get*ent): Set entidx to NULL during initialization. If entidx is
9436 NULL, start iteration from the beginning.
9437
9438 2016-06-11 Florian Weimer <fweimer@redhat.com>
9439
9440 * malloc/malloc.c (musable): Return correct size for dumped fake
9441 mmapped chunk.
9442
9443 2016-06-11 Florian Weimer <fweimer@redhat.com>
9444
9445 [BZ #20222]
9446 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9447 (_IO_cookie_write): Likewise.
9448 (_IO_cookie_seek): Likewise.
9449 (_IO_cookie_close): Likewise.
9450 (_IO_old_cookie_seek): Likewise.
9451 (set_callbacks): New function.
9452 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9453
9454 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9455
9456 * locale/programs/localedef.c (oldstyle_tables): Remove.
9457 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9458
9459 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9460
9461 [BZ #20240]
9462 * math/Makefile (CFLAGS-s_modf.c): New variable.
9463 (CFLAGS-s_modff.c): Likewise.
9464 (CFLAGS-s_modfl.c): Likewise.
9465 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9466
9467 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9468
9469 [BZ #20215]
9470 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9471 [!__GNUC_PREREQ (3,2)]: Likewise.
9472
9473 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9474
9475 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9476 (msghdr.msg_controllen): Likewise.
9477 (cmsghdr.cmsg_len): Likewise.
9478 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9479 ptw-oldsendmsg.
9480 (CFLAGS-oldrecvmsg.c): Remove rule.
9481 (CFLAGS-oldsendmsg.c): Likewise.
9482 (CFLAGS-recvmsg.c): Add rule.
9483 (CFLAGS-sendmsg.c): Likewise.
9484 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9485 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9486 (CFLAGS-recvmsg.c): Remove rule.
9487 (CFLAGS-sendmsg.c): Likewise.
9488 (CFLAGS-oldrecvmsg.c): Likewise.
9489 (CFLAGS-oldsendmsg.c): Likewise.
9490 (CFLAGS-recvmmsg.c): Likewise.
9491 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9492 to kernel defined interfaces.
9493 (msghdr.msg_controllen): Likewise.
9494 (cmsghdr.cmsg_len): Likewise.
9495 (msghdr.__glibc_reserved1): Remove member.
9496 (msghdr.__glibc_reserved2): Likewise.
9497 (cmsghdr.__glibc_reserved1): Likewise.
9498 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9499 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9500 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9501 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9502 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9503 version.
9504 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9505 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9506 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9507 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9508 Remove recvmsg and sendmsg.
9509 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9510 Likewise.
9511 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9512 Likewise.
9513 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9514 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9515 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9516 Likewise.
9517 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9518 Likewise.
9519 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9520 [libc] (GLIBC_2.24): Likewise.
9521 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9522 Likewise.
9523 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9524 Likewise.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9526 [libc] (GLIBC_2.24): Likewise.
9527 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9528 Likewise.
9529 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9530 Likewise.
9531 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9532 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9533 Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9535 Likewise.
9536 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9537 Likewise.
9538 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9539 Likewise.
9540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9541 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9542 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9543 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9544 version for {recv,send,recm,sendm}msg.
9545 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9546 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9547 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9548 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9549 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9550 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9551 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9552 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9553 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9554 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9555 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9556 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9558 Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9560 Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9563 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9564 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9565 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9566 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9567 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9568 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9571 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9572 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9574
9575 2016-06-10 Florian Weimer <fweimer@redhat.com>
9576
9577 [BZ #19564]
9578 Remove __malloc_initialize_hook from the API.
9579 * malloc/malloc.h (__malloc_initialize_hook): Remove.
9580 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9581 #pragma GCC poison.
9582 * malloc/malloc-hooks.h: New file.
9583 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9584 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9585 (old__malloc_initialize_hook): Rename from
9586 __malloc_initialize_hook to evade poisoning. Turn into compat
9587 symbol.
9588 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9589 __malloc_initialize_hook.
9590 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9591 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9592 * manual/memory.texi (Hooks for Malloc): Remove
9593 __malloc_initialize_hook. Adjust hook example.
9594
9595 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9596
9597 [BZ #20235]
9598 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9599 itself.
9600 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9601 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9602
9603 [BZ #20234]
9604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9605 infinity or NaN input to itself.
9606
9607 [BZ #20233]
9608 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9609 to itself.
9610
9611 [BZ #20232]
9612 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9613 itself.
9614
9615 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9616
9617 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9618 __libc_start_main via GOT.
9619
9620 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9621
9622 * sysdeps/x86_64/memcopy.h: New file.
9623 * sysdeps/x86_64/wordcopy.c: Likewise.
9624
9625 2016-06-09 Florian Weimer <fweimer@redhat.com>
9626
9627 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9628 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9629 <cstdlib>.
9630 (optimization_barrier): New.
9631 (do_test): Use it. Call quick_exit in the global namespace.
9632 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9633 instead of <cstdlib>, <thread>.
9634 (optimization_barrier): New.
9635 (non_main_thread): Adjust declaration. Call optimization_barrier.
9636 Call quick_exit in the global namespace.
9637 (do_test): Call optimization_barrier. Use pthread_create,
9638 pthread_join instead of std::thread.
9639
9640 2016-06-09 Andreas Schwab <schwab@suse.de>
9641
9642 [BZ #19755]
9643 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9644 new entries in auto-propagate mode.
9645 * nscd/grpcache.c (cache_addgr): Likewise.
9646
9647 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9648
9649 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9650 New functions.
9651 (add_temp_file): Use them.
9652
9653 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9654
9655 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9656
9657 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9658
9659 [BZ #20229]
9660 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9661 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9662 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9663
9664 [BZ #20228]
9665 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9666 itself.
9667 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9668 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9669
9670 [BZ #20227]
9671 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9672 itself.
9673 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9674 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9675 * math/libm-test.inc (log_test_data): Add sNaN tests.
9676
9677 [BZ #20226]
9678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9679 itself.
9680 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9681 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9682 (exp10_test_data): Likewise.
9683 (expm1_test_data): Likewise.
9684
9685 [BZ #20225]
9686 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9687 itself.
9688 * math/s_ldexpf.c (__ldexpf): Likewise.
9689 * math/s_ldexpl.c (__ldexpl): Likewise.
9690 * math/w_scalbln.c (__w_scalbln): Likewise.
9691 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9692 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9693 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9694 (scalbln_test_data): Likewise.
9695
9696 [BZ #20224]
9697 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9698 argument to itself.
9699 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9700
9701 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9702
9703 [BZ #19776]
9704 * sysdeps/x86_64/memcpy.S: Make it dummy.
9705 * sysdeps/x86_64/mempcpy.S: Likewise.
9706 * sysdeps/x86_64/memmove.S: New file.
9707 * sysdeps/x86_64/memmove_chk.S: Likewise.
9708 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9709 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9710 * sysdeps/x86_64/memmove.c: Removed.
9711 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9712 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9713 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9714 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9715 Likewise.
9716 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9717 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9719 memcpy-sse2-unaligned, memmove-avx-unaligned,
9720 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9722 (__libc_ifunc_impl_list): Replace
9723 __memmove_chk_avx512_unaligned_2 with
9724 __memmove_chk_avx512_unaligned. Remove
9725 __memmove_chk_avx_unaligned_2. Replace
9726 __memmove_chk_sse2_unaligned_2 with
9727 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9728 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9729 with __memmove_avx512_unaligned. Replace
9730 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9731 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9732 with __memcpy_chk_avx512_unaligned. Remove
9733 __memcpy_chk_avx_unaligned_2. Replace
9734 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9735 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9736 Replace __memcpy_avx512_unaligned_2 with
9737 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9738 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9739 with __mempcpy_chk_avx512_unaligned. Remove
9740 __mempcpy_chk_avx_unaligned_2. Replace
9741 __mempcpy_chk_sse2_unaligned_2 with
9742 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9743 Replace __mempcpy_avx512_unaligned_2 with
9744 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9745 Replace __mempcpy_sse2_unaligned_2 with
9746 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9747 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9748 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9749 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9750 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9751 (ENTRY): Removed.
9752 (END): Likewise.
9753 (ENTRY_CHK): Likewise.
9754 (libc_hidden_builtin_def): Likewise.
9755 Don't include ../memcpy.S.
9756 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9757 __memcpy_chk_avx512_unaligned_erms and
9758 __memcpy_chk_avx512_unaligned. Use
9759 __memcpy_chk_avx_unaligned_erms and
9760 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9761 Default to __memcpy_chk_sse2_unaligned.
9762 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9763 Change function suffix from unaligned_2 to unaligned.
9764 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9765 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9766 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9767 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9768 (ENTRY): Removed.
9769 (END): Likewise.
9770 (ENTRY_CHK): Likewise.
9771 (libc_hidden_builtin_def): Likewise.
9772 Don't include ../mempcpy.S.
9773 (mempcpy): New. Add a weak alias.
9774 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9775 __mempcpy_chk_avx512_unaligned_erms and
9776 __mempcpy_chk_avx512_unaligned. Use
9777 __mempcpy_chk_avx_unaligned_erms and
9778 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9779 Default to __mempcpy_chk_sse2_unaligned.
9780
9781 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9782
9783 [BZ #19881]
9784 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9785 into ...
9786 * sysdeps/x86_64/memset.S: This.
9787 (__bzero): Removed.
9788 (__memset_tail): Likewise.
9789 (__memset_chk): Likewise.
9790 (memset): Likewise.
9791 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9792 defined.
9793 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9794 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9795 (__memset_zero_constant_len_parameter): Check SHARED instead of
9796 PIC.
9797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9798 memset-avx2 and memset-sse2-unaligned-erms.
9799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9800 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9801 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9802 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9803 (__bzero): Enabled.
9804 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9805 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9806 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9807 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9808 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9809 (memset): Removed.
9810 (__memset_chk): Likewise.
9811 (MEMSET_SYMBOL): New.
9812 (libc_hidden_builtin_def): Replace __memset_sse2 with
9813 __memset_sse2_unaligned.
9814 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9815 __memset_chk_sse2 and __memset_chk_avx2 with
9816 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9817 Use __memset_chk_sse2_unaligned_erms or
9818 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9819 __memset_chk_avx512_unaligned_erms and
9820 __memset_chk_avx512_unaligned.
9821
9822 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9823
9824 * math/gen-auto-libm-test.c (fp_format_desc): remove
9825 suffix member.
9826 (output_generic_value): Remove usage of suffix member,
9827 and the resulting unuse of the fp_format argument.
9828 (output_for_one_input_case): Remove unused fp_format
9829 parameter.
9830
9831 * math/auto-libm-test-out: Regenerate.
9832
9833 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9834 usage with TEST_COND_ibm128.
9835 (TEST_COND_flt_32): Remove.
9836 (TEST_COND_dbl_64): Remove.
9837 (TEST_COND_ldbl_96_intel): Remove.
9838 (TEST_COND_ldbl_96_m68k): Remove.
9839 (TEST_COND_ldbl_128): Remove.
9840
9841 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9842
9843 * auto-libm-test-in:
9844 Replace flt-32 usage with binary32.
9845 Replace dbl-64 usage with binary64.
9846 Replace ldbl-intel-96 usage with intel96.
9847 Replace ldbl-m68k-96 usage with m68k96.
9848 Replace ldbl-128ibm usage with ibm128.
9849 Replace ldbl-128 usage with binary128.
9850
9851 * auto-libm-test-out: Regenerate.
9852
9853 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9854
9855 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9856 (parse_ulps): Dynamically generate type name matching
9857 string from all_floats.
9858 (get_ulps): Generate the ulps as an array instead.
9859 (output_ulps): Dynamically compose the type based
9860 on the number of supported formats, and print
9861 the indices as type specific helper macros.
9862
9863 * math/libm-test.inc: Remove comment about CHOOSE.
9864 (ulp_data): Generate the type in libm-test-ulps.h.
9865 (ULP_IDX): New macro.
9866 (find_ulps): Update usage of max_ulp.
9867
9868 * math/test-double-vlen2.h (CHOOSE): Remove.
9869 * math/test-double-vlen4.h (CHOOSE): Likewise.
9870 * math/test-double-vlen8.h (CHOOSE): Likewise.
9871 * math/test-float.c (CHOOSE): Likewise.
9872 * math/test-float-finite.c (CHOOSE): Likewise.
9873 * math/test-double.c (CHOOSE): Likewise.
9874 * math/test-double-finite.c (CHOOSE): Likewise.
9875 * math/test-idouble.c (CHOOSE): Likewise.
9876 * math/test-ifloat.c (CHOOSE): Likewise.
9877 * math/test-ildoubl.c (CHOOSE): Likewise.
9878 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9879 * math/test-ldouble.c (CHOOSE): Likewise.
9880
9881 * math/test-float.h (TEST_FLOAT): Remove.
9882 * math/test-double.h (TEST_DOUBLE): Likewise.
9883 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9884
9885 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9886
9887 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9888 (parse_args): Strip C suffix from floating point literals
9889 typed with 'f' and wrap them with LIT().
9890
9891 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9892 (test_ff_f_data_nexttoward): Rename to
9893 (test_fj_f_data): New struct.
9894 (nexttoward_test_data): Relabel tests as
9895 TEST_fj_f instead of TEST_ff_f.
9896
9897 2016-06-08 Florian Weimer <fweimer@redhat.com>
9898
9899 Emacs bug 23726.
9900 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9901 (__libc_realloc): Correct size computation for dumped fake mmapped
9902 chunks.
9903
9904 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9905
9906 [BZ #20219]
9907 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9908 to itself.
9909 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9910
9911 [BZ #20218]
9912 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9913 to itself.
9914 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9915
9916 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 [BZ #20195]
9919 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9920 check to ...
9921 (init_cpu_features): Here.
9922
9923 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9924
9925 [BZ #20214]
9926 * sysdeps/unix/sysv/linux/bits/in.h
9927 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9928 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9929 Define to 1.
9930 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9931 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9932 Define to 0.
9933 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9934 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9935
9936 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9937
9938 [BZ #20198]
9939 * stdlib/Makefile (tests): Add tst-quick_exit, and
9940 tst-thread-quick_exit.
9941 [ifeq ($(have-cxx-thread_local),yes)]
9942 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9943 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9944 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9945 (LDLIBS-tst-thread-quick_exit): Likewise.
9946 [ifneq ($(have-cxx-thread_local),yes)]
9947 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9948 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9949 If run_dtors is true call __call_tls_dtors.
9950 (exit): Call __run_exit_handlers with run_dtors set to true.
9951 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9952 definition.
9953 * stdlib/quick_exit.c (quick_exit): Remove function.
9954 (__new_quick_exit): New function.
9955 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9956 function.
9957 * stdlib/tst-quick_exit.cc: New file.
9958 * stdlib/tst-thread-quick_exit.cc: New file.
9959 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9960 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9961 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9962 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9963 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9964 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9965 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9966 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9967 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9968 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9969 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9970 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9971 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9972 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9973 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9974 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9979 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9980 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9981 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9982 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9983 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9986 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9987 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9988 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9989
9990 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9991
9992 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9993 a typo in comments.
9994
9995 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9996
9997 [BZ #20213]
9998 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9999 argument to itself.
10000 * math/libm-test.inc (asin_test_data): Add sNaN tests.
10001
10002 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10003
10004 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10005 required flags.
10006 (CFLAGS-pwritev64.c): Likewise.
10007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10009 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10010 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10011 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10013 syscall from auto-generation.
10014 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10015 [WORDSIZE == 64] (pwritev64): Remove macro.
10016 [!PWRITEV] (PWRITEV): Likewise.
10017 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10018 [!PWRITEV] (PWRITE): Likewise.
10019 [!PWRITEV] (OFF_T): Likewise.
10020 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10021 (LO_HI_LONG): Remove macro.
10022 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10023 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10024 (PWRITEV): Remove macro.
10025 (PWRITEV_REPLACEMENTE): Likewise.
10026 (PWRITE): Likewise.
10027 (OFF_T): Likewise.
10028 (pwritev64): New function.
10029 * nptl/tst-cancel4.c (tf_writev): Add test.
10030
10031 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10032 required flags.
10033 (CFLAGS-preadv64.c): Likewise.
10034 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10035 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10036 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10037 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10038 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10039 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10040 syscall from auto-generation.
10041 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10042 [WORDSIZE == 64] (preadv64): Remove macro.
10043 [!PREADV] (PREADV): Likewise.
10044 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10045 [!PREADV] (PREAD): Likewise.
10046 [!PREADV] (OFF_T): Likewise.
10047 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10048 (LO_HI_LONG): Remove macro.
10049 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10050 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10051 (PREADV): Remove macro.
10052 (PREADV_REPLACEMENTE): Likewise.
10053 (PREAD): Likewise.
10054 (OFF_T): Likewise.
10055 (preadv64): New function.
10056 * nptl/tst-cancel4.c (tf_preadv): Add test.
10057
10058 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10059
10060 [BZ #20212]
10061 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10062 argument to itself.
10063 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10064
10065 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10066
10067 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10068 New symbol defined as libc_hidden_def.
10069 (strcasestr): Became a weak alias to __strcasestr.
10070 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10071 according to multi-arch support. Move __stpncpy hidden
10072 definition from here to...
10073 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10074 symbol stpncpy.
10075 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10076 libc_hidden_builtin_def.
10077 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10078 memset symbol to use when multi-arch support is available.
10079
10080 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10081
10082 * dlfcn/tst-rec-dlopen.c: Include string.h.
10083
10084 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10085
10086 * manual/install.texi: Remove mention of --without-tls
10087 * INSTALL: Regenerate.
10088
10089 2016-06-05 Florian Weimer <fweimer@redhat.com>
10090
10091 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10092 Remove.
10093 (call_function, interposed_malloc_called): New variables.
10094 (malloc): New function.
10095 (do_test): Do not change malloc hooks. Initialize malloc. Set
10096 and clear call_function as needed.
10097
10098 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10099
10100 * include/wchar.h (__wmemset): Use __typeof.
10101
10102 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10103
10104 * include/wchar.h (__wmemset): Declare function without typeof.
10105
10106 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10107
10108 [BZ #20205]
10109 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10110 exponent when incrementing negative subnormal with low mantissa
10111 word zero.
10112 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10113 Add another test.
10114
10115 2016-06-03 Florian Weimer <fweimer@redhat.com>
10116
10117 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10118 __wmemset instead of wmemset.
10119
10120 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10121
10122 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10123 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10124 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10125 __USE_KERNEL_IPV6_DEFS to 0.
10126 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10127 Update comment.
10128
10129 2016-06-01 Florian Weimer <fweimer@redhat.com>
10130
10131 [BZ #19861]
10132 Do not use IFUNC resolver with potentially unrelocated symbol.
10133 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10134 (DEFINE_FORK): Remove macro and inline definition.
10135 (fork_alias): Renamed from fork_ifunc.
10136 (__fork_alias): Renamed from __fork_ifunc.
10137
10138 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10139
10140 [BZ 19653]
10141 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10142 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10143
10144 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10145
10146 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10147 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10148 i386-linux-gnu).
10149 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10150 Set to no.
10151 * sysdeps/mach/hurd/configure: Refresh.
10152
10153 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10154
10155 [BZ #20178]
10156 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10157 on failure instead of exit.
10158
10159 2016-05-30 Roland McGrath <roland@hack.frob.com>
10160
10161 [BZ #3629]
10162 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10163 of POSIX.1-2008.
10164
10165 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10166
10167 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10168 Use PLT entry for calling _hurd_self_sigstate.
10169
10170 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10171
10172 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10173 available logical processors with SMT level type sharing L2
10174 cache for Intel processors.
10175
10176 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10177
10178 [BZ #20160]
10179 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10180 argument to itself before returning the result.
10181 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10182 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10183 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10185 Likewise.
10186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10187 Likewise.
10188 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10189 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10190 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10191 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10192 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10193 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10194
10195 [BZ #20160]
10196 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10197 argument to itself before returning the result.
10198 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10199 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10200 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10202 Likewise.
10203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10204 Likewise.
10205 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10206 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10207 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10208 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10209 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10210 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10211
10212 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10213
10214 * libm-test.inc: Replace usage of M_El with
10215 (lit_e): New macro.
10216
10217 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10218
10219 * libm-test.inc: Replace usage of M_PI_4l with
10220 (lit_pi_4_d): New macro.
10221
10222 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10223
10224 * libm-test.inc: Replace usage of M_PIl with
10225 (lit_pi): New macro.
10226
10227 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10228
10229 * libm-test.inc: Replace usage of M_PI2l with
10230 (lit_pi_2_d): New macro.
10231
10232 * math/test-double.h (LITM): New macro.
10233 * math/test-float.h (LITM): Likewise.
10234 * math/test-ldouble.h (LITM): Likewise.
10235
10236 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10237
10238 * libm-test.inc (M_PI_34l): Rename to
10239 (lit_pi_3_m_4_d): New Macro.
10240 (M_PI_34_LOG10El): Rename to
10241 (lit_pi_3_m_4_ln10_m_d): New Macro.
10242 (M_PI2_LOG10El): Rename to
10243 (lit_pi_2_ln10_m_d): New Macro.
10244 (M_PI4_LOG10El): Rename to
10245 (lit_pi_4_ln10_m_d): New Macro.
10246 (M_PI_LOG10El): Rename to
10247 (lit_pi_ln10_d): New Macro.
10248
10249 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10250
10251 [BZ #20157]
10252 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10253 determine whether to negate low half if [_ARCH_PPCGR], and integer
10254 comparison otherwise.
10255 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10256 determine whether to negate low half.
10257
10258 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10259 (NO_TEST_INLINE_DOUBLE): Likewise.
10260 (TEST_COND_x86_64): Likewise.
10261 (TEST_COND_x86): Likewise.
10262 (M_PI_6l): Likewise.
10263
10264 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10265
10266 * math/libm-test.inc:
10267 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10268 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10269 (TEST_LDOUBLE): Update usage to evaluate as true if
10270 the guarded tests match the property being tested.
10271 (LDBL_MAX_EXP): Change to MAX_EXP.
10272 (LDBL_MIN_EXP): Change to MIN_EXP.
10273 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10274 nexttoward tests.
10275
10276 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10277
10278 * math/libm-test.inc:
10279 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10280 (TYPE_MIN): Likewise.
10281 (TYPE_TRUE_MIN): Likewise.
10282 (TYPE_MAX): Likewise.
10283 (MIN_EXP): Likewise.
10284 (MAX_EXP): Likewise.
10285 (MANT_DIG): Likewise.
10286
10287 (FSTR_MAX): New macro.
10288 (__CONCATX): Likewise.
10289 (QTYPE_STR): Likewise.
10290 (TEST_COND_binary32): Likewise.
10291 (TEST_COND_binary64): Likewise.
10292 (TEST_COND_binary128): Likewise.
10293 (TEST_COND_ibm128): Likewise.
10294 (TEST_COND_intel96): Likewise.
10295 (TEST_COND_m68k96): Likewise.
10296
10297 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10298 (TEST_COND_dbl_64): Likewise.
10299 (TEST_COND_ldbl_96_intel): Likewise.
10300 (TEST_COND_ldbl_96_m68k): Likewise.
10301 (TEST_COND_ldbl_128): Likewise.
10302 (TEST_COND_ldbl_128ibm): Likewise.
10303
10304 (plus_zero): Redefine using LIT macro.
10305 (minus_zero): Likewise.
10306 (plus_infty): Redefine as (INF).
10307 (minux_infty): Redefine as (-INF).
10308 (max_value): Redefine as TYPE_MAX.
10309 (min_value): Redefine as TYPE_MIN.
10310 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10311
10312 (print_float): Refactor to use snprintf to convert FLOAT values
10313 to string. This brings it closer to dropin replacement of strtof
10314 for the TS 18661 defined types.
10315 (update_stats): Likewise.
10316 (print_complex_function_ulps): Likewise.
10317 (print_max_error): Likewise.
10318 (print_complex_max_error): Likewise.
10319 (check_float_internal): Likewise.
10320
10321 * math/test-float.h (PREFIX): New macro.
10322 (LIT): Likewise.
10323 (TYPE_STR): Likewise.
10324 (FTOSTR): Likewise.
10325
10326 * math/test-double.h (PREFIX): New macro.
10327 (LIT): Likewise.
10328 (TYPE_STR): Likewise.
10329 (FTOSTR): Likewise.
10330
10331 * math/test-ldouble.h (PREFIX): New macro.
10332 (LIT): Likewise.
10333 (TYPE_STR): Likewise.
10334 (FTOSTR): Likewise.
10335
10336 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10337
10338 [BZ #20156]
10339 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10340 to itself when zero or not finite.
10341 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10345
10346 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10347
10348 [BZ #20153]
10349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10350 x * x + x for infinities and NaNs.
10351
10352 [BZ #20151]
10353 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10354 argument to itself before returning result.
10355 (__ieee754_y0l): Likewise.
10356 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10357 (__ieee754_y1l).
10358
10359 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10360 (atan_test_data): Likewise.
10361 (ceil_test_data): Likewise.
10362 (cos_test_data): Likewise.
10363 (cosh_test_data): Likewise.
10364 (erf_test_data): Likewise.
10365 (exp2_test_data): Likewise.
10366 (fabs_test_data): Likewise.
10367 (floor_test_data): Likewise.
10368 (ilogb_test_data): Likewise.
10369 (j0_test_data): Likewise.
10370 (j1_test_data): Likewise.
10371 (jn_test_data): Likewise.
10372 (lgamma_test_data): Likewise.
10373 (lrint_test_data): Likewise.
10374 (llrint_test_data): Likewise.
10375 (logb_test_data): Likewise.
10376 (lround_test_data): Likewise.
10377 (llround_test_data): Likewise.
10378 (nearbyint_test_data): Likewise.
10379 (rint_test_data): Likewise.
10380 (round_test_data): Likewise.
10381 (sin_test_data): Likewise.
10382 (sincos_test_data): Likewise.
10383 (sinh_test_data): Likewise.
10384 (sqrt_test_data): Likewise.
10385 (tan_test_data): Likewise.
10386 (tanh_test_data): Likewise.
10387 (tgamma_test_data): Likewise.
10388 (trunc_test_data): Likewise.
10389 (y0_test_data): Likewise.
10390 (y1_test_data): Likewise.
10391 (yn_test_data): Likewise.
10392
10393 * math/libm-test.inc: Update comment about NaN testing.
10394 (TEST_SNAN): New macro.
10395 (snan_value): Likewise.
10396 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10397 (fpclassify_test_data): Add sNaN tests.
10398 (isfinite_test_data): Likewise.
10399 (isinf_test_data): Likewise.
10400 (isnan_test_data): Likewise.
10401 (isnormal_test_data): Likewise.
10402 (issignaling_test_data): Likewise.
10403 (signbit_test_data): Likewise.
10404 * math/gen-libm-test.pl (%beautify): Add snan_value.
10405 (show_exceptions): Add argument $test_snan.
10406 (parse_args): Handle snan_value as non-finite. Update call to
10407 show_exceptions.
10408 * math/Makefile (libm-test-no-inline-cflags): Add
10409 -fsignaling-nans.
10410
10411 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10412
10413 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10414 (CFLAGS-oldsendmsg.c): Add rule.
10415 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10416 Correct recvmsg symbol name.
10417 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10418 Likewise.
10419
10420 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10421
10422 * sysdeps/unix/sysv/linux/Makefile
10423 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10424 oldsendmmsg.
10425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10426 sendmmsg.
10427 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10430 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10435 Likewise.
10436 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10438 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10439 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10440 iovlen and controllen fields to adjust to POSIX specification.
10441 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10442
10443 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10444 and change to correct expected type.
10445 (msghdr.msg_controllen): Likewise.
10446 (cmsghdr.cmsg_len): Likewise.
10447 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10448 expected POSIX assumption about the size.
10449 (msghdr.msg_controllen): Likewise.
10450 (msghdr.__glibc_reserved1): Likewise.
10451 (msghdr.__glibc_reserved2): Likewise.
10452 (cmsghdr.cmsg_len): Likewise.
10453 (cmsghdr.__glibc_reserved1): Likewise.
10454 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10455 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10456 (CFLAGS-sendmsg.c): Remove rule.
10457 (CFLAGS-recvmsg.c): Likewise.
10458 (CFLAGS-oldsendmsg.c): Add rule.
10459 (CFLAGS-oldrecvmsg.c): Likewise.
10460 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10461 recvmsg and sendmsg.
10462 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10463 Likewise.
10464 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10465 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10466 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10467 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10468 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10469 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10470 Likewise.
10471 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10472 Likewise.
10473 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10474 Likewise.
10475 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10476 Likewise.
10477 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10478 Likewise.
10479 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10480 Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10482 (GLIBC_2.24): Likewise.
10483 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10484 Likewise.
10485 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10486 Likewise.
10487 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10488 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10489 Likewise.
10490 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10491 Likewise.
10492 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10493 Likewise.
10494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10495 (GLIBC_2.24): Likewise.
10496 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10497 Likewise.
10498 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10499 Likewise.
10500 * sysdeps/unix/sysv/linux/Makefile
10501 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10502 (CFLAGS-sendmsg.c): Add rule.
10503 (CFLAGS-recvmsg.c): Likewise.
10504 (CFLAGS-oldsendmsg.c): Likewise.
10505 (CFLAGS-oldrecvmsg.c): Likewise.
10506 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10507 initialization.
10508 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10509 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10510 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10511 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10512 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10513 iovlen and controllen fields to adjust to POSIX specification.
10514 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10515 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10516 added recvmsg and sendmsg.
10517 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10518 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10523 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10524 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10525 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10526 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10527 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10530 Likewise.
10531 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10533 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10534 Likewise.
10535 Likewise.
10536 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10538 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10540 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10541 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10543 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10545 Likewise.
10546 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10547 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10548
10549 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10550 from auto-generation.
10551 (sendmsg): Likewise.
10552 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10553 (sendmsg): Likewise.
10554 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10555 (sendmsg): Likewise.
10556 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10557 (sendmsg): Likewise.
10558 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10559 (sendmsg): Likewise.
10560 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10561 (sendmsg): Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10563 Likewise.
10564 (sendmsg): Likewise.
10565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10566 (sendmsg): Likewise.
10567 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10568 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10569 Remove.
10570 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10571 Likewise.
10572 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10573 Undefine.
10574 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10575 Likewise.
10576 * sysdeps/unix/sysv/linux/kernel-features.h
10577 (__ASSUME_SENDMSG_SYSCALL): Define.
10578 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10580 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10581 Remove.
10582 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10583 Likewise.
10584 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10585 Undefine.
10586 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10587 Likewise.
10588 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10589 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10590 Remove.
10591 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10592 Likewise.
10593 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10594 Undefine.
10595 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10596 Likewise.
10597 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10598 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10599 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10600 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10601 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10602 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10603 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10604 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10605 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10606
10607 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10608
10609 * stdlib/gen-tst-strtod-round.c: Add backslash to
10610 compile command in comment.
10611 (printfp): Remove the literal suffix, and define an infinite
10612 value as INF to avoid expansion clash with INFINITY.
10613 (round_str): Remove the literal suffix.
10614 (round_for_all): Likewise, remove the now duplicate ldbl-64
10615 entry, and remove some magic constants.
10616
10617 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10618 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10619 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10620 (_CONCAT): New macro.
10621 (CONCAT): Likewise.
10622 (CHOOSE_ld): Likewise.
10623 (CHOOSE_f): Likewise.
10624 (CHOOSE_d): Likewise.
10625 (FTYPE_MEMBER): Likewise.
10626 (BOOL_MEMBER): Likewise.
10627 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10628 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10629 (_XNTRY): Likewise.
10630 (XNTRY): Likewise.
10631 (_ENTRY): Likewise.
10632 (ENTRY): Likewise.
10633 (test_exactness): Generate members via macro.
10634 (test_results): Likewise.
10635 (test): Update members.
10636 (TEST): Redefine using new macros.
10637 (INF): New macro.
10638 (fetestmodes): New structure.
10639 (do_test): Refactor to be type generic.
10640 (test_in_one_mode): Refactor duplicate code into
10641 (GEN_ONE_TEST): New macro.
10642
10643 * stdlib/tst-strtod-round-data.h: Regenerate.
10644
10645 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10646 Extend to pass additional arbitrary parameters to
10647 generators.
10648
10649 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10650
10651 [BZ #15479]
10652 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10653 floating-point state after first floating-point operation on
10654 input. Restore full floating-point state instead of just rounding
10655 mode.
10656 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10657 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10658 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10659 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10660 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10661
10662 [BZ #15479]
10663 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10664 floating-point state after first floating-point operation on
10665 input. Restore full floating-point state instead of just rounding
10666 mode.
10667 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10668 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10669 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10670 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10671 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10672
10673 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10674
10675 [BZ #19727]
10676 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10677 valid high surrogate.
10678 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10679 of an utf16 surrogate.
10680 * iconv/gconv_simple.c (BODY): Likewise.
10681 * iconvdata/bug-iconv12.c: New file.
10682 * iconvdata/Makefile (tests): Add bug-iconv12.
10683
10684 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10685
10686 [BZ #19726]
10687 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10688 outptrp in case of an illegal input.
10689 * iconv/tst-iconv6.c: New file.
10690 * iconv/Makefile (tests): Add tst-iconv6.
10691
10692 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10693
10694 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10695 an error in case of a value in range of an utf16 low surrogate.
10696
10697 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10698
10699 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10700 an error in case of a value in range of an utf16 low surrogate.
10701
10702 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10703
10704 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10705 Move to ...
10706 * sysdeps/s390/Makefile: ... here.
10707 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10708 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10709 (BRANCH_ON_COUNT): New define.
10710 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10711 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10712 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10713 run on s390-32, too.
10714 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10715 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10716 run on s390-32, too.
10717 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10718 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10719 run on s390-32, too.
10720
10721 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10722
10723 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10724 etf3eh or new vector loop-variant.
10725
10726 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10727
10728 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10729 etf3eh or new vector loop-variant.
10730
10731 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10732
10733 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10734 or new vector loop-variant.
10735
10736 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10737
10738 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10739 Rename to TR_LOOP and usage of tr instead of troo instruction.
10740
10741 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10742
10743 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10744 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10745
10746 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10747
10748 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10749 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10750 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10751 New override define.
10752 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10753
10754 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10755
10756 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10757 * sysdeps/s390/configure.ac: Add test for S390 vector register
10758 support in gcc.
10759 * sysdeps/s390/configure: Regenerated.
10760
10761 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10762
10763 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10764 Install file from $(objpfx)gconv-modules.
10765 ($(objpfx)gconv-modules): Concatenate architecture specific file
10766 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10767 * sysdeps/s390/gconv-modules: New file.
10768 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10769 Deleted.
10770 ($(objpfx)gconv-modules-s390): Deleted.
10771 (sysdeps-gconv-modules): New variable.
10772
10773 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10774
10775 [BZ #15479]
10776 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10777 of immediate operand to rounding instruction.
10778 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10779 Likewise.
10780 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10781 Likewise.
10782 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10783 Likewise.
10784
10785 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10786
10787 * math/libm-test.inc (MIN_EXP): Directly define as
10788 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10789
10790 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10791
10792 * math/libm-test.inc (MANT_DIG): Directly define as
10793 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10794
10795 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10796
10797 * stdlib/gen-tst-strtod-round.c (main):
10798 Change usage to more closely match the generated
10799 output. Add usage and compilation instructions.
10800 (string_to_fp): Add and use FILE* parameter as
10801 output target.
10802 (print_fp): Likewise.
10803 (round_str): Likewise.
10804 (round_for_all): Likewise.
10805 * stdlib/tst-strtod-round.c (tests): Move into
10806 * stdlib/tst-strtod-round-data.h: New file.
10807
10808 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10809
10810 [BZ #15479]
10811 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10812 (__round): Do not force "inexact" exception.
10813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10814 variable.
10815 (__round): Do not force "inexact" exception.
10816 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10817 (__roundf): Do not force "inexact" exception.
10818 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10819 (__roundl): Do not force "inexact" exception.
10820 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10821 (__roundl): Do not force "inexact" exception.
10822 * math/libm-test.inc (round_test_data): Do not allow spurious
10823 "inexact" exceptions.
10824
10825 [BZ #15479]
10826 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10827 exception in comment.
10828 (huge): Remove variable.
10829 (__floor): Do not force "inexact" exception.
10830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10831 "inexact" exception in comment.
10832 (huge): Remove variable.
10833 (__floor): Do not force "inexact" exception.
10834 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10835 exception in comment.
10836 (huge): Remove variable.
10837 (__floorf): Do not force "inexact" exception.
10838 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10839 exception in comment.
10840 (huge): Remove variable.
10841 (__floorl): Do not force "inexact" exception.
10842
10843 [BZ #15479]
10844 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10845 exception in comment.
10846 (huge): Remove variable.
10847 (__ceil): Do not force "inexact" exception.
10848 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10849 "inexact" exception in comment.
10850 (huge): Remove variable.
10851 (__ceil): Do not force "inexact" exception.
10852 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10853 (__ceilf): Do not force "inexact" exception.
10854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10855 exception in comment.
10856 (huge): Remove variable.
10857 (__ceill): Do not force "inexact" exception.
10858
10859 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * config.h.in (BIND_NOW): New.
10862 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10863 * configure: Regenerated.
10864 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10865 indirect branch via the GOT slot.
10866
10867 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10868
10869 [BZ #19765]
10870 * sysdeps/s390/mempcpy.S: New File.
10871 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10872 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10873 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10874 Add mempcpy variants.
10875 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10876 (memcpy): Adjust to be usable from mempcpy entry point.
10877 (__memcpy_mvcle): Likewise.
10878 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10879 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10880 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10881 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10882 (__memcpy_z10): Likewise.
10883 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10884
10885 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10886
10887 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10888 Remove __GI_ symbol.
10889 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10890 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10891 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10892 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10893 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10894 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10895
10896 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10897
10898 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10899 Use cghi instead of chi to compare 64bit value.
10900
10901 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10902
10903 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10904 Jump to 1MB check before executing mvc-loop.
10905
10906 2016-05-24 Florian Weimer <fweimer@redhat.com>
10907
10908 [BZ #6527]
10909 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10910 unconditionally.
10911 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10912
10913 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10914
10915 * stdlib/tst-strtod6.c (do_test): Use new type generic
10916 invocation of the test function.
10917 (test): Refactor into ...
10918 (TEST_STRTOD): New macro base function.
10919
10920 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10921
10922 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10923 (TEST_STRTOD): New macro.
10924 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10925
10926 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10927
10928 * stdlib/tst-strtod6.c (do_test): Use new type generic
10929 invocation of the test function.
10930 (test): Refactor into ...
10931 (TEST_STRTOD): New macro base function.
10932
10933 2016-05-23 Florian Weimer <fweimer@redhat.com>
10934
10935 CVE-2016-4429
10936 [BZ #20112]
10937 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10938 payload.
10939
10940 2016-05-23 Florian Weimer <fweimer@redhat.com>
10941
10942 [BZ #20111]
10943 * bits/sockaddr.h (_SS_SIZE): Define.
10944 * bits/socket.h (_SS_SIZE): Remove.
10945 (_SS_PADSIZE): Adjust to account for all padding.
10946 (struct sockaddr_storage): Update comment. Avoid implicit
10947 padding.
10948 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10949 (_SS_PADSIZE): Adjust to account for all padding.
10950 (struct sockaddr_storage): Update comment. Avoid implicit
10951 padding.
10952 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10953 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10954 (_SS_PADSIZE): Adjust to account for all padding.
10955 (struct sockaddr_storage): Update comment. Avoid implicit
10956 padding.
10957 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10958 __SS_SIZE is 126 in this version.
10959 * inet/tst-sockaddr.c: New file.
10960 * inet/Makefile (tests): Add tst-sockaddr.c
10961 (tst-sockaddr.c): Compile with non-strict aliasing.
10962
10963 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10964
10965 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10966 [XPG3 || XPG4].
10967 (NL_ARGMAX): Also expect for [XPG3].
10968 (NL_LANGMAX): Likewise.
10969 (NL_MSGMAX): Likewise.
10970 (NL_NMAX): Likewise.
10971 (NL_SETMAX): Likewise.
10972 (NL_TEXTMAX): Likewise.
10973 (NZERO): Likewise.
10974 (TMP_MAX): Likewise.
10975 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10976 variable.
10977
10978 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10979 (PF_MAX): Update value.
10980 (AF_KCM): New macro.
10981 (SOL_NETBEUI): Likewise.
10982 (SOL_LLC): Likewise.
10983 (SOL_DCCP): Likewise.
10984 (SOL_NETLINK): Likewise.
10985 (SOL_TIPC): Likewise.
10986 (SOL_RXRPC): Likewise.
10987 (SOL_PPPOL2TP): Likewise.
10988 (SOL_BLUETOOTH): Likewise.
10989 (SOL_PNPIPE): Likewise.
10990 (SOL_RDS): Likewise.
10991 (SOL_IUCV): Likewise.
10992 (SOL_CAIF): Likewise.
10993 (SOL_ALG): Likewise.
10994 (SOL_NFC): Likewise.
10995 (SOL_KCM): Likewise.
10996 (MSG_BATCH): New enum value and macro.
10997
10998 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10999
11000 [BZ #18185]
11001 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11002 sharing L2 cache to 2 for Knights Landing.
11003
11004 2016-05-20 Joseph Myers <joseph@codesourcery.com>
11005
11006 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11007 (FTW_DP): Do not expect for [XPG3 || XPG4].
11008 (FTW_SL): Do not expect for [XPG3].
11009 (FTW_SLN): Likewise.
11010 (FTW_PHYS): Likewise.
11011 (FTW_MOUNT): Likewise.
11012 (FTW_DEPTH): Likewise.
11013 (FTW_CHDIR): Likewise.
11014 (nftw): Likewise.
11015 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11016 variable.
11017
11018 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11019
11020 * manual/errno.texi: Fix various typos & grammar errors.
11021
11022 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11023
11024 * manual/intro.texi: Fix duplicated typo.
11025
11026 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11027
11028 [BZ #13304]
11029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11030 <float.h>, <math_private.h> and <stdlib.h>.
11031 (add_split): New function.
11032 (mul_split): Likewise.
11033 (ext_val): New typedef.
11034 (store_ext_val): New function.
11035 (mul_ext_val): New function.
11036 (compare): New function.
11037 (add_split_ext): New function.
11038 (__fmal): After checking for Inf, NaN and zero, compute result as
11039 an exact sum of scaled double values in round-to-nearest before
11040 adding those up and adjusting for other rounding modes.
11041 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11042 tests of fma.
11043 * math/auto-libm-test-out: Regenerated.
11044
11045 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11046
11047 [BZ #20119]
11048 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11049 processor level type mask for CPUID with EAX == 11.
11050
11051 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11054 logical threads if the HTT bit is 0.
11055 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11056 (index_cpu_HTT): Likewise.
11057 (reg_HTT): Likewise.
11058
11059 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11060
11061 [BZ #20115]
11062 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11063 Remove alignments on jump targets.
11064
11065 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11066
11067 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11068 (getpwent): Likewise.
11069 (setpwent): Likewise.
11070 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11071 variable.
11072
11073 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11074 (remque): Likewise.
11075 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11076 variable.
11077
11078 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11079
11080 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11081 not being tested.
11082
11083 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11084
11085 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11086 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11087 call.
11088 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11089 (__condvar_cleanup1): Likewise.
11090
11091 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11094 New
11095 (__pthread_unwind): Renamed to ...
11096 (PTHREAD_UNWIND): This.
11097 (__pthread_enable_asynccancel): Replace
11098 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11099
11100 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11101
11102 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11103 (CLONE_NEWCGROUP): New macro.
11104
11105 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11106 (Q_GETNEXTQUOTA): New macro.
11107
11108 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 [BZ #19907]
11111 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11112 buffer updated by the previous run.
11113 * string/test-memcpy.c (do_one_test): Likewise.
11114 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11115 * string/test-memmove.c (do_one_test): Likewise.
11116
11117 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11118
11119 [BZ #20094]
11120 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11121 not [__USE_XOPEN].
11122 (unlockpt): Likewise.
11123 (ptsname): Likewise.
11124 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11125 variable.
11126
11127 [BZ #20076]
11128 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11129 instead of [__USE_UNIX98].
11130 (S_ISSOCK): Likewise.
11131 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11132 variable.
11133
11134 [BZ #20074]
11135 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11136 [__USE_POSIX].
11137 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11138 variable.
11139
11140 [BZ #20051]
11141 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11142 (ttyslot): Do not declare.
11143 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11144 (ttyslot): New prototype.
11145 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11146 variable.
11147 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11148
11149 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11150
11151 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11152
11153 2016-05-13 Florian Weimer <fweimer@redhat.com>
11154
11155 Fix race condition in tst-mallocfork2, use fewer resources.
11156 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11157 to current process group.
11158 (signal_sender): Yield in the non-sleeping case.
11159
11160 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11161
11162 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11163 (ecvt): Likewise.
11164 (fcvt): Likewise.
11165 (gcvt): Likewise.
11166 (getsubopt): Likewise.
11167 (grantpt): Likewise.
11168 (initstate): Likewise.
11169 (l64a): Likewise.
11170 (mktemp): Likewise.
11171 (mkstemp): Likewise.
11172 (ptsname): Likewise.
11173 (random): Likewise.
11174 (realpath): Likewise.
11175 (setstate): Likewise.
11176 (srandom): Likewise.
11177 (ttyslot): Likewise.
11178 (unlockpt): Likewise.
11179 (valloc): Likewise.
11180
11181 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11182 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11183 variable.
11184
11185 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11186
11187 [BZ #20072]
11188 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11189 init_cpu_features only if SHARED is defined.
11190 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11191
11192 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11193
11194 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11195 non-inclusive caches on Intel processors.
11196
11197 2016-05-13 Florian Weimer <fweimer@redhat.com>
11198
11199 * malloc/malloc.c (dumped_main_arena_start)
11200 (dumped_main_arena_end): New variables.
11201 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11202 (do_check_chunk): Skip dumped fake mmapped chunks.
11203 (munmap_chunk): Likewise.
11204 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11205 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11206 mmapped chunks.
11207 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11208 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11209 and dumped_main_arena_end to cover the dumped heap.
11210
11211 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11212
11213 * conform/data/time.h-data (getdate_err): Do not expect for
11214 [XPG3].
11215 (getdate): Likewise.
11216 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11217 variable.
11218
11219 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11220 (F_ULOCK): Likewise.
11221 (F_TEST): Likewise.
11222 (F_TLOCK): Likewise.
11223 (useconds_t): Likewise.
11224 (intptr_t): Do not expect for [XPG3] or [XPG4].
11225 (brk): Do not expect for [XPG3]
11226 (fchown): Likewise.
11227 (fchdir): Likewise.
11228 (ftruncate): Likewise.
11229 (getdtablesize): Likewise.
11230 (gethostid): Likewise.
11231 (getpagesize): Likewise.
11232 (getpgid): Likewise.
11233 (getsid): Likewise.
11234 (getwd): Likewise.
11235 (lchown): Likewise.
11236 (lockf): Likewise.
11237 (readlink): Likewise.
11238 (sbrk): Likewise.
11239 (setpgrp): Likewise.
11240 (setregid): Likewise.
11241 (setreuid): Likewise.
11242 (symlink): Likewise.
11243 (sync): Likewise.
11244 (truncate): Likewise.
11245 (ualarm): Likewise.
11246 (usleep): Likewise.
11247 (vfork): Likewise.
11248 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11249 variable.
11250
11251 [BZ #20054]
11252 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11253 not [__USE_UNIX98].
11254 * conform/data/unistd.h-data (gethostname): Do not expect for
11255 [XPG3].
11256
11257 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11258 [!POSIX] (S_IFBLK): Likewise.
11259 [!POSIX] (S_IFCHR): Likewise.
11260 [!POSIX] (S_IFIFO): Likewise.
11261 [!POSIX] (S_IFREG): Likewise.
11262 [!POSIX] (S_IFDIR): Likewise.
11263 [!POSIX] (S_IFLNK): Likewise.
11264 [!POSIX] (S_IFSOCK): Likewise.
11265 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11266 variable.
11267 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11268
11269 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11270
11271 * sysdeps/aarch64/memset.S (__memset):
11272 Rewrite of optimized memset.
11273
11274 2016-05-12 Florian Weimer <fweimer@redhat.com>
11275
11276 [BZ #19703]
11277 Partially async-signal-safe fork for single-threaded processes.
11278 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11279 variable. Do not acquire and reset/release malloc and libio locks
11280 in single-threaded processes.
11281 * malloc/tst-mallocfork2.c: New file.
11282 * malloc/Makefile (tests): Add it.
11283
11284 2016-05-12 Florian Weimer <fweimer@redhat.com>
11285
11286 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11287 argument. Use scratch buffer instead of extend_alloca.
11288 (gethosts): Use scratch buffer instead of extend_alloca.
11289 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11290 extend_alloca.
11291 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11292
11293 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11294
11295 [BZ #20055]
11296 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11297 instead of [__USE_UNIX98].
11298 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11299 [__USE_UNIX98].
11300 * conform/data/termios.h-data (tcgetsid): Do not expect for
11301 [XPG3].
11302 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11303 variable.
11304 (test-xfail-XPG4/termios.h/conform): Likewise.
11305
11306 2016-05-11 Florian Weimer <fweimer@redhat.com>
11307
11308 Do not use mcheck in localedef.
11309 * locale/programs/localedef.c (turn_on_mcheck)
11310 (__malloc_initialize_hook): Remove.
11311
11312 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11313
11314 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11315 * sysdeps/s390/s390-64/Makefile: Likewise.
11316
11317 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11318
11319 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11320 Remove ifunc-defines.sym.
11321 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11322 Likewise.
11323 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11324 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11325 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11326 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11327 rtld-global-offsets.sym.
11328 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11329 * sysdeps/x86/cpu-features-offsets.sym: This.
11330 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11331 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11332
11333 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11334
11335 [BZ #20073]
11336 * io/sys/stat.h (fchmod): Declare for
11337 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11338 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11339 variable.
11340
11341 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11342 [XPG3] (S_IFSOCK): Likewise.
11343 [XPG3] (S_ISVTX): Likewise.
11344 [XPG3] (S_ISLNK): Likewise.
11345 [XPG3] (S_ISSOCK): Likewise.
11346 [XPG3] (fchmod): Likewise.
11347 [XPG3] (lstat): Likewise.
11348 [XPG3] (mknod): Likewise.
11349
11350 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11351 [XPG3]. Expect type long and XFAIL for [XPG4].
11352 (st_blocks): Likewise.
11353
11354 [BZ #20044]
11355 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11356 (pthread_atfork): New prototype.
11357 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11358 variable.
11359
11360 [BZ #20043]
11361 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11362 prototype.
11363
11364 2016-05-10 Florian Weimer <fweimer@redhat.com>
11365
11366 [BZ #20017]
11367 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11368 gmtime.
11369
11370 2016-05-10 Florian Weimer <fweimer@redhat.com>
11371
11372 [BZ #19994]
11373 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11374 flag in _res.options.
11375
11376 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11377
11378 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11379 [XPG3 || XPG4].
11380 (blksize_t): Likewise.
11381 (clockid_t): Likewise.
11382 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11383 variable.
11384 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11385
11386 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11387
11388 * sysdeps/unix/sysv/linux/s390/init-first.c:
11389 Add VDSO_SYMBOL(getcpu).
11390 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11391 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11392 Add VDSO_SYMBOL(getcpu).
11393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11394 New define HAVE_GETCPU_VSYSCALL.
11395 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11396
11397 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11398
11399 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11400 instead of <sysdeps/x86_64/cacheinfo.c>.
11401 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11402 * sysdeps/x86/cacheinfo.c: Here.
11403
11404 2016-05-04 Florian Weimer <fweimer@redhat.com>
11405
11406 * malloc/malloc-internal.h: Adjust header file guard.
11407
11408 2016-05-04 Florian Weimer <fweimer@redhat.com>
11409
11410 [BZ #19787]
11411 * inet/getnameinfo.c (check_sprintf_result): New function.
11412 (CHECKED_SNPRINTF): New macro.
11413 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11414 to the host buffer.
11415 (gni_host_local): Use checked_copy to copy the host name.
11416 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11417 (gni_serv_local): Use checked_copy to copy the service name.
11418 (getnameinfo): Remove unnecessary truncation of result buffers.
11419
11420 2016-05-04 Florian Weimer <fweimer@redhat.com>
11421
11422 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11423 in case of inet_ntop failure.
11424
11425 2016-05-04 Florian Weimer <fweimer@redhat.com>
11426
11427 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11428 avoid long lines.
11429 (gni_host_inet_numeric): Likewise. Reduce scope of local
11430 variables.
11431 (gni_host_inet, gni_host_local): Add comment.
11432 (gni_host): Add comment. Use temporary to avoid long lines.
11433
11434 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11435
11436 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11437 registers specifiers where general purpose registers specifiers should
11438 have been used.
11439
11440 2016-05-04 Florian Weimer <fweimer@redhat.com>
11441
11442 [BZ #19779]
11443 CVE-2016-1234
11444 Avoid copying names of directory entries.
11445 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11446 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11447 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11448 (struct readdir_result): New type.
11449 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11450 (GL_READDIR): New macros.
11451 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11452 (convert_dirent, convert_dirent64): New functions.
11453 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11454 convert_dirent64. Adjust references to the readdir result.
11455 * sysdeps/unix/sysv/linux/i386/glob64.c:
11456 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11457 * posix/bug-glob2.c (LONG_NAME): Define.
11458 (filesystem): Add LONG_NAME.
11459 (my_DIR): Increase the size of room_for_dirent.
11460
11461 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11462
11463 [BZ #20041]
11464 * misc/sys/select.h (__need_timespec): Only define if
11465 [__USE_XOPEN2K].
11466 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11467 variable.
11468 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11469 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11470 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11471
11472 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11473 Segher Boessenkool <segher@gcc.gnu.org>
11474
11475 [BZ #20004]
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11477 (__novec_swapcontext): Add missing load.
11478
11479 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11480
11481 [BZ #20023]
11482 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11483 <time.h>.
11484 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11485 variable.
11486 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11487
11488 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11489
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11491 flags CLONE_VM compare.
11492
11493 2016-05-02 Florian Weimer <fweimer@redhat.com>
11494
11495 [BZ #20031]
11496 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11497 completely empty.
11498
11499 2016-05-02 Florian Weimer <fweimer@redhat.com>
11500
11501 [BZ #19573]
11502 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11503 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11504 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11505 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11506 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11507 (hesiod_free_list): Mark as hidden.
11508 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11509 res_set, res_get.
11510 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11511 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11512 (hesiod_init): Remove obsolete res_ninit call.
11513 (hesiod_end): Do not free resolver state. Do not invoke callback.
11514 (hesiod_bind): Do not call init.
11515 (get_txt_records): Use res_mkquery, res_send instead of
11516 res_nmkquery, res_nsend.
11517 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11518 instead of _nss_hesiod_init.
11519 (_nss_hesiod_initgroups_dyn): Likewise.
11520 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11521 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11522 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11523
11524 2016-05-02 Florian Weimer <fweimer@redhat.com>
11525
11526 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11527 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11528
11529 2016-05-02 Florian Weimer <fweimer@redhat.com>
11530
11531 * hesiod/hesiod.h: Remove RCS keyword.
11532 * hesiod/hesiod_p.h: Likewise.
11533
11534 * hesiod/hesiod.c: Likewise.
11535
11536 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11537
11538 [BZ #12450]
11539 * locale/iso-639.def: Add Samogitian/sgs.
11540
11541 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11542
11543 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11544
11545 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11546
11547 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
11548 Carlos O'Donell <carlos@redhat.com>
11549
11550 [BZ #19072]
11551 * grp/Makefile (headers): Add grp-merge.h
11552 (routines): Add grp-merge.
11553 * grp/getgrgid_r.c: Include grp-merge.h.
11554 (DEEPCOPY_FN): Define.
11555 (MERGE_FN): Define.
11556 * grp/getgrname_r.c: Include grp-merge.h.
11557 (DEEPCOPY_FN): Define.
11558 (MERGE_FN): Define.
11559 * grp/grp-merge.c: New file.
11560 * grp/grp-merge.h: New file.
11561 * include/grp-merge.h: New file.
11562 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11563 __copy_grp@GLIBC_PRIVATE.
11564 * manual/nss.texi (Actions in the NSS configuration): Describe
11565 return, continue, and merge.
11566 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11567 (DEEPCOPY_FN): Define.
11568 (MERGE_FN): Define.
11569 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11570 (DEEPCOPY_FN): Define.
11571 (MERGE_FN): Define.
11572 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11573 [!MERGE_FN]: Define __merge_einval.
11574 (CHECK_MERGE): Define.
11575 (REENTRANT_NAME): Process merge if do_merge is true.
11576 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11577 (__nss_getent_r): Likewise.
11578 * nss/nsswitch.c (nss_parse_service_list): Likewise.
11579 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11580
11581 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11582
11583 [BZ #20012]
11584 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11585 length to calculate the buffer to read.
11586 (fmemopen_write): Set the buffer position based on bytes written.
11587 (fmemopen_seek): Return EINVAL for invalid whence modes.
11588
11589 [BZ #19957]
11590 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11591 tst-getpid2.
11592 (test): Add tst-clone2.
11593 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11594 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11595 pid/tid fields for CLONE_VM.
11596 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11597 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11598 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11599 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11600 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11601 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11602 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11603 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11605 Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11607 Likewise.
11608 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11609 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11610 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11611 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11612 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11613 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11614 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11615 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11616
11617 2016-04-29 Florian Weimer <fweimer@redhat.com>
11618
11619 [BZ #19642]
11620 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11621 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11622 (gni_serv_local, gni_serv): New functions extracted from
11623 getnameinfo.
11624 (getnameinfo): Call gni_host and gni_serv to perform the
11625 processing. Always free scratch buffer.
11626
11627 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11628
11629 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11630 remaining bytes in the dest string, with zeros.
11631
11632 2016-04-29 Florian Weimer <fweimer@redhat.com>
11633
11634 [BZ #20010]
11635 CVE-2016-3706
11636 * sysdeps/posix/getaddrinfo.c
11637 (convert_hostent_to_gaih_addrtuple): New function.
11638 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11639 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11640 AF_INET data.
11641
11642 2016-04-29 Florian Weimer <fweimer@redhat.com>
11643
11644 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11645 callback function gl_readdir.
11646 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11647 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11648 (glob_in_dir): Remove len. Use strdup instead of malloc and
11649 memcpy to copy the name.
11650 * manual/pattern.texi (Calling Glob): Document requirements for
11651 implementations of the gl_readdir callback function.
11652 * manual/examples/mkdirent.c: New example.
11653 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11654 per the manual guidance.
11655 * posix/tst-gnuglob.c (my_readdir): Likewise.
11656
11657 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11658
11659 [BZ #20014]
11660 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11661 not [__USE_POSIX].
11662 (getchar_unlocked): Likewise.
11663 (putc_unlocked): Likewise.
11664 (putchar_unlocked): Likewise.
11665 (flockfile): Likewise.
11666 (ftrylockfile): Likewise.
11667 (funlockfile): Likewise.
11668 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11669 variable.
11670 (test-xfail-XPG4/stdio.h/conform): Likewise.
11671
11672 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11673 Expect constant.
11674 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11675 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11676 variable.
11677 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11678 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11679
11680 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11681 [__USE_LARGEFILE64] (off64_t): Likewise.
11682 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11683 variable.
11684
11685 2016-04-28 Florian Weimer <fweimer@redhat.com>
11686
11687 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11688
11689 2016-04-28 Florian Weimer <fweimer@redhat.com>
11690
11691 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11692 * resolv/res_init.c: Likewise.
11693 * resolv/res_mkquery.c: Likewise.
11694
11695 2016-04-28 Florian Weimer <fweimer@redhat.com>
11696
11697 * resolv/res_init.c (isascii): Do not define. Use definition in
11698 <ctype.h>.
11699 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11700 (LOG_AUTH): Remove.
11701 (SPRINTF): Remove, adjust caller.
11702 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11703
11704 2016-04-28 Florian Weimer <fweimer@redhat.com>
11705
11706 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11707 SUNSECURITY conditional.
11708 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11709
11710 2016-04-28 Florian Weimer <fweimer@redhat.com>
11711
11712 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11713 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11714 Remove BSD-related preprocessor conditionals.
11715 * conf/portability.h: Remove.
11716
11717 2016-04-28 Florian Weimer <fweimer@redhat.com>
11718
11719 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11720 * resolv/res_data.c: Likewise.
11721
11722 2016-04-28 Florian Weimer <fweimer@redhat.com>
11723
11724 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11725 * resolv/res_data.c: Remove code conditional on ultrix.
11726
11727 2016-04-28 Florian Weimer <fweimer@redhat.com>
11728
11729 * resolv/res_init.c (RFC1535): Do not define. Remove
11730 RFC1535 preprocessor conditionals.
11731 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11732 because there configuration options which make the resolver
11733 behavior different.
11734
11735 2016-04-28 Florian Weimer <fweimer@redhat.com>
11736
11737 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11738 RESOLVSORT preprocessor conditionals.
11739 * resolv/nss_dns/dns-host.c: Likewise.
11740 * resolv/res_init.c: Likewise.
11741
11742 2016-04-28 Florian Weimer <fweimer@redhat.com>
11743
11744 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11745 is never defined.
11746
11747 2016-04-28 Florian Weimer <fweimer@redhat.com>
11748
11749 * inet/inet_lnaof.c: Remove SCSS keyword.
11750 * inet/inet_mkadr.c: Likewise.
11751 * inet/inet_net.c: Likewise.
11752 * inet/inet_netof.c: Likewise.
11753 * inet/rcmd.c: Likewise.
11754 * inet/rexec.c: Likewise.
11755 * inet/ruserpass.c: Likewise.
11756
11757 2016-04-28 Florian Weimer <fweimer@redhat.com>
11758
11759 * resolv/inet_addr.c: Remove _LIBC conditionals.
11760 * resolv/res_data.c: Likewise.
11761 * resolv/res_init.c: Likewise.
11762 * resolv/res_mkquery.c: Likewise.
11763 * resolv/res_libc.c: Update comment.
11764 * resolv/README: Update.
11765
11766 2016-04-28 Florian Weimer <fweimer@redhat.com>
11767
11768 * resolv/gethnamaddr.c: Remove SCSS keyword.
11769 * resolv/herror.c: Likewise.
11770 * resolv/inet_addr.c: Likewise.
11771 * resolv/inet_net_ntop.c: Likewise.
11772 * resolv/inet_net_pton.c: Likewise.
11773 * resolv/inet_neta.c: Likewise.
11774 * resolv/inet_ntop.c: Likewise.
11775 * resolv/inet_pton.c: Likewise.
11776 * resolv/ns_date.c: Remove RCS keyword.
11777 * resolv/ns_name.c: Likewise.
11778 * resolv/ns_netint.c: Likewise.
11779 * resolv/ns_parse.c: Likewise.
11780 * resolv/ns_print.c: Likewise.
11781 * resolv/ns_samedomain.c: Likewise.
11782 * resolv/ns_ttl.c: Likewise.
11783 * resolv/nsap_addr.c: Likewise.
11784 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11785 * resolv/res_data.c: Remove RCS keyword.
11786 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11787 * resolv/res_init.c: Likewise.
11788 * resolv/res_mkquery.c: Likewise.
11789 * resolv/res_query.c: Likewise.
11790 * resolv/res_send.c: Likewise.
11791
11792 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11793
11794 * conform/data/stdio.h-data (fdopen): Expect also for
11795 [XPG3 || XPG4].
11796
11797 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11798 (fseeko): Likewise.
11799 (ftello): Likewise.
11800 (ftrylockfile): Likewise.
11801 (funlockfile): Likewise.
11802 (getc_unlocked): Likewise.
11803 (getchar_unlocked): Likewise.
11804 (putc_unlocked): Likewise.
11805 (putchar_unlocked): Likewise.
11806
11807 2016-04-27 Florian Weimer <fweimer@redhat.com>
11808
11809 [BZ #19868]
11810 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11811 DNS packet syntax checks (which were not needed before). Skip
11812 over non-PTR records.
11813
11814 2016-04-27 Florian Weimer <fweimer@redhat.com>
11815
11816 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11817 definition. Include <stddef.h> instead.
11818
11819 2016-04-27 Florian Weimer <fweimer@redhat.com>
11820
11821 [BZ #19831]
11822 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11823 function.
11824 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11825 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11826
11827 2016-04-27 Florian Weimer <fweimer@redhat.com>
11828
11829 [BZ #19862]
11830 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11831 (getanswer_r): Do not call syslog.
11832 (gaih_getanswer_slice): Likewise.
11833 * resolv/gethnamaddr.c (AskedForGot): Remove.
11834 (getanswer): Do not call syslog.
11835 (gethostbyaddr): Likewise.
11836
11837 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11838
11839 * conform/data/signal.h-data (union sigval): Expect also if
11840 [XOPEN2K].
11841 (struct sigevent): Likewise.
11842 (SIGEV_NONE): Likewise.
11843 (SIGEV_SIGNAL): Likewise.
11844 (SIGEV_THREAD): Likewise.
11845 (SIGRTMIN): Likewise.
11846 (SIGRTMAX): Likewise.
11847 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11848 variable.
11849 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11850
11851 2016-04-27 Florian Weimer <fweimer@redhat.com>
11852
11853 [BZ #19830]
11854 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11855 (gaih_getanswer_slice): Likewise.
11856 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11857 Also check for availability of RR metadata.
11858
11859 2016-04-27 Florian Weimer <fweimer@redhat.com>
11860
11861 [BZ #19825]
11862 * resolv/res_send.c (send_vc): Remove early *resplen2
11863 initialization. Set *resplen2 on socket error. Call
11864 close_and_return_error for other errors.
11865
11866 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11867
11868 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11869 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11870 (SCM_IUCV_TRGCLS): New define.
11871
11872 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11873
11874 [BZ #20005]
11875 * libio/fmemopen.c (fmemopen_write): Update internal position after
11876 write.
11877 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11878 * stdio-common/tst-fmemopen4.c: New file..
11879
11880 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11881
11882 [BZ #19996]
11883 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11884 not [__USE_XOPEN2K].
11885 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11886 variable.
11887
11888 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11889 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11890 variable.
11891
11892 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11893 [__USE_XOPEN2K8].
11894 [__USE_LARGEFILE64] (off64_t): Likewise.
11895 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11896 variable.
11897
11898 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11899
11900 [BZ #19989]
11901 * libio/stdio.h (cuserid): Do not declare if
11902 [__USE_XOPEN2K && !__USE_GNU].
11903 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11904 variable.
11905
11906 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11907
11908 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11909 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11911 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11912 ifunc'ed strcspn.
11913 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11914 [EALIGN]: Removed.
11915 [END]: Likewise
11916 [STRSPN]: Define instead of the above to control symbol name.
11917 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11918 New file.
11919 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11920 Likewise.
11921 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11922 Likewise.
11923 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11924 Likewise.
11925 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11926 [INITIAL_MASK]: New macro.
11927 [STRCSPN]: Likewise.
11928 [UPDATE_MASK]: Likewise.
11929 [USE_AS_STRCSPN]: Likewise.
11930
11931 2016-04-25 Florian Weimer <fweimer@redhat.com>
11932
11933 [BZ #19931]
11934 * stdio-common/tst-vfprintf-width-prec.c: New file.
11935 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11936 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11937 (generated): Add mtrace-related files.
11938 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11939 (tst-%-mem.out): New pattern rule, replaces
11940 tst-printf-bz18872-mem.out.
11941 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11942 specifier, deallocate any previously allocated work buffer.
11943
11944 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11945
11946 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11947 Add nop before __startcontext, add explaining comments.
11948
11949 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11950
11951 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11952 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11953 completely different API.
11954
11955 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11956 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11957 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11958 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11959 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11960 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11961 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11962 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11963 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11964 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11965
11966 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11969
11970 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11971
11972 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11973 when it is the default of 0.
11974
11975 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11976
11977 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11978 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11979 (sysdep_routines): Add new strcasestr targets.
11980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11981 (__libc_ifunc_impl_list): Likewise.
11982 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11983 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11984 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11985 * sysdeps/powerpc/powerpc64/power8/Makefile:
11986 New file to add strcasestr-ppc64 to sysdep_routines.
11987 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11988 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11989
11990 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11991
11992 * benchtests/Makefile (wcsmbs-benchset): Include only for
11993 native builds and runs.
11994 (LOCALES): Likewise.
11995 (bench-build): Build timing-type here instead of the bench
11996 target. Generate locale only for native builds.
11997 * benchtests/README: Add note for cross-building.
11998
11999 * benchtests/Makefile (bench-clean): Clean up extra-objs.
12000
12001 * benchtests/README: Update README to include instructions on
12002 using bench-build.
12003
12004 * Makefile.in (bench-build): New target.
12005 * Rules (PHONY): Add bench-build target.
12006 * benchtests/Makefile (bench): Depend on bench-build.
12007 (bench-build): New target.
12008
12009 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12010
12011 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12012 profil_reply_port.
12013 (profile_waiter): Do not initialize profil_reply_port.
12014 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12015 frequency instead of tick length in us.
12016
12017 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
12018
12019 [BZ #18712]
12020 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12021 (__old_mempcpy_small): Likewise.
12022 (__old_strcpy_small): Likewise.
12023 (__old_stpcpy_small): Likewise.
12024 (__old_strpbrk_c2): Fix compat symbol name.
12025 (__old_strpbrk_c3): Likewise.
12026 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12027 (__mempcpy_small): Remove.
12028 (__strcpy_small): Remove.
12029 (__stpcpy_small): Remove.
12030
12031 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12032
12033 [BZ #19400]
12034 * locale/iso-639.def: Add the Talossan/tzl language.
12035
12036 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12037
12038 [BZ #16983]
12039 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12040 comment. Add "ln" to strchr check on postal_fmt.
12041
12042 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12043
12044 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12045 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12046 tel_dom_fmt.
12047
12048 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12049
12050 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12051 (sysdep_routines): Added __strlen_power8.
12052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12053 __strlen_power8 entry.
12054 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12055 Implementation for POWER8.
12056 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12057 for __strlen_power8.
12058 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12059 Implementation for POWER8.
12060
12061 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12062
12063 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12064
12065 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12066
12067 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12068 Goldmont and Airmont processors.
12069
12070 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12071
12072 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12073 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12074 (__STRING2_SMALL_GET32): Remove.
12075 (memset): Remove.
12076 (__memset_1): Remove.
12077 (__memset_gc): Remove.
12078 (__mempcpy): Remove.
12079 (mempcpy): Remove.
12080 (__mempcpy_args): Remove.
12081 (strchr): Remove.
12082 (strcpy): Remove.
12083 (strcpy_args): Remove.
12084 (__stpcpy_args): Remove.
12085 (__strcmp_cc): Remove.
12086 (__strcmp_gc): Remove.
12087 (strstr): Remove.
12088
12089 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12090
12091 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12092 * nis/nis_call.c (nis_server_cache_add): Likewise.
12093
12094 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12095
12096 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12097
12098 2016-04-14 Florian Weimer <fweimer@redhat.com>
12099
12100 * malloc/arena.c (__malloc_fork_lock_parent)
12101 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12102 internal_function attribute.
12103
12104 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12105
12106 * stdio-common/printf_fp.c (__printf_fp_l):
12107 Rename ___printf_fp_l to __printf_fp_l and
12108 remove strong alias. Use libc_hidden_def instead
12109 of ldbl_hidden_def macro.
12110
12111 2016-04-14 Florian Weimer <fweimer@redhat.com>
12112
12113 Remove malloc hooks from fork handler. They are no longer needed
12114 because malloc runs right before fork, and no malloc calls from
12115 other fork handlers are not possible anymore.
12116 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12117 declarations.
12118 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12119 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12120 (atfork_recursive_cntr): Remove.
12121 (__malloc_fork_lock_parent): Do not override malloc hooks and
12122 thread_arena.
12123 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12124 thread_arena.
12125 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12126 thread_arena instead of save_arena.
12127
12128 2016-04-14 Florian Weimer <fweimer@redhat.com>
12129
12130 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12131 (thread_atfork, thread_atfork_static): Remove.
12132 * sysdeps/mach/hurd/malloc-machine.h:
12133 (thread_atfork, thread_atfork_static): Remove.
12134
12135 2016-04-14 Florian Weimer <fweimer@redhat.com>
12136
12137 [BZ #19431]
12138 Run the malloc fork handler as late as possible to avoid deadlocks.
12139 * malloc/malloc-internal.h: New file.
12140 * malloc/malloc.c: Include it.
12141 * malloc/arena.c (ATFORK_MEM): Remove.
12142 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12143 Update comment.
12144 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12145 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12146 Remove outdated comment.
12147 (ptmalloc_init): Do not call thread_atfork. Remove
12148 thread_atfork_static.
12149 * malloc/tst-malloc-fork-deadlock.c: New file.
12150 * Makefile (tests): Add tst-malloc-fork-deadlock.
12151 (tst-malloc-fork-deadlock): Link against libpthread.
12152 * manual/memory.texi (Aligned Memory Blocks): Update safety
12153 annotation comments.
12154 * sysdeps/nptl/fork.c (__libc_fork): Call
12155 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12156 __malloc_fork_unlock_child.
12157 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12158
12159 2016-04-14 Florian Weimer <fweimer@redhat.com>
12160
12161 [BZ #19613]
12162 Remove union wait.
12163 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12164 (w_stopsig, w_stopval): Remove.
12165 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12166 stat_loc argument.
12167 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12168 (__WAIT_STATUS_DEFN): Remove.
12169 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12170 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12171 (wait, wait3, wait4): Use int * for the stat_loc argument.
12172 * posix/wait.c (__wait): Likewise.
12173 * posix/wait3.c (__wait3): Likewise.
12174 * posix/wait4.c (__wait4): Likewise.
12175 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12176 (__WAIT_STATUS_DEFN): Remove.
12177 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12178 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12179 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12180 argument.
12181 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12182 * sysdeps/posix/wait3.c (__wait3): Likewise.
12183 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12184 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12185 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12186 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12187 stat_loc argument.
12188 * manual/process.texi (BSD Wait Functions): Remove union wait.
12189
12190 2016-04-13 Andreas Schwab <schwab@suse.de>
12191
12192 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12193 (test-extras): Add tst-tlsalign-vars.
12194 * math/Makefile: Wrap long lines.
12195 (libm-vec-test-wrappers): Define.
12196 (test-extras): Add $(libm-vec-test-wrappers).
12197 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12198 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12199 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12200 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12201 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12202 (extra-test-objs): Add corresponding objects.
12203
12204 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12205
12206 [BZ #19928]
12207 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12208 New.
12209 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12210 times of shared cache size.
12211 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12212 (VMOVNT): New.
12213 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12214 (VMOVNT): Likewise.
12215 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12216 (VMOVNT): Likewise.
12217 (VMOVU): Changed to movups for smaller code sizes.
12218 (VMOVA): Changed to movaps for smaller code sizes.
12219 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12220 comments.
12221 (PREFETCH): New.
12222 (PREFETCH_SIZE): Likewise.
12223 (PREFETCHED_LOAD_SIZE): Likewise.
12224 (PREFETCH_ONE_SET): Likewise.
12225 Rewrite to use forward and backward loops, which move 4 vector
12226 registers at a time, to support overlapping addresses and use
12227 non temporal store if size is above the threshold and there is
12228 no overlap between destination and source.
12229
12230 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12231
12232 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12233 Include dl-vdso.
12234 * sysdeps/unix/sysv/linux/mips/Versions: Add
12235 __vdso_clock_gettime.
12236 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12237 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12238 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12239 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12240 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12241 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12242 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12243 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12244 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12245
12246 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12247
12248 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12249 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12250 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12252 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12253 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12256 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12258 syscalls generation.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12260 [__NR_pwrite64] (__NR_write): Remove define.
12261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12262 [__NR_pwrite64] (__NR_write): Remove define.
12263 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12264 Remove define.
12265 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12266 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12267 Remove define.
12268 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12269 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12270 Linux implementation as base.
12271 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12272
12273 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12274 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12275 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12279 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12281 syscall generation.
12282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12283 [__NR_pread64] (__NR_pread): Remove define.
12284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12285 [__NR_pread64] (__NR_pread): Likewise.
12286 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12287 define.
12288 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12289 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12290 Remove define.
12291 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12292 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12293 Linux implementation as base.
12294 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12295 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12296 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12297
12298 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12299 definition.
12300 (__ALIGNMENT_COUNT): Likewise.
12301 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12302 (__ALIGNMENT_COUNT): Likewise.
12303 (SYSCALL_LL): New define.
12304 (SYSCALL_LL64): Likewise.
12305 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12306 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12307 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12308 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12309
12310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12311 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12312 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12313 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12314 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12315 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12316
12317 2016-04-11 Florian Weimer <fweimer@redhat.com>
12318
12319 [BZ #19865]
12320 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12321 original buffer before retry.
12322
12323 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12324
12325 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12326 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12327 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12328 GLRO(dl_auxv) list.
12329 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12330 including <ldsodefs.h>.
12331 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12332
12333 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12334
12335 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12336 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12337 $(CPPFLAGS).
12338
12339 2016-04-09 Khem Raj <raj.khem@gmail.com>
12340
12341 [BZ #17950]
12342 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12343 Add -mfpmath=387.
12344
12345 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12346
12347 * sysdeps/i386/configure.ac: Change == to = when calling test.
12348 * sysdeps/x86_64/configure.ac: Likewise.
12349 * sysdeps/i386/configure: Regenerated.
12350 * sysdeps/x86_64/configure: Likewise.
12351
12352 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12353
12354 [BZ #16137]
12355 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12356 * benchtests/bench-strcoll.c (input_files): Likewise.
12357 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12358 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12359 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12360
12361 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12362
12363 [BZ #19929]
12364 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12365 [__USE_XOPEN2K8 && !__USE_GNU].
12366 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12367 variable.
12368
12369 [BZ #19925]
12370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12371 define if [!__USE_MISC && __USE_XOPEN2K].
12372 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12373 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12375 Likewise.
12376 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12377 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12378 variable.
12379 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12380
12381 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12382
12383 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12384 (sysdep_routines): Add new strspn targets.
12385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12386 (__libc_ifunc_impl_list): Add strspn.
12387 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12388 New file.
12389 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12390 Likewise.
12391 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12392 Likewise.
12393 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12394 Likewise.
12395
12396 2016-04-07 Florian Weimer <fweimer@redhat.com>
12397
12398 * misc/hsearch_r.c: Include <limits.h>.
12399
12400 2016-04-07 Florian Weimer <fweimer@redhat.com>
12401
12402 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12403
12404 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12405
12406 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12407 (MEMCPY_SYMBOL): New.
12408 (MEMPCPY_SYMBOL): Likewise.
12409 (MEMMOVE_CHK_SYMBOL): Likewise.
12410 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12411 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12412 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12413 Provide alias for memcpy in libc.a and ld.so.
12414
12415 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12416
12417 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12418 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12419 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12420 Disabled fro now.
12421 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12422 symbols. Properly check USE_MULTIARCH on __memset symbols.
12423
12424 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 * benchtests/Makefile (string-benchset): Add memcpy-large,
12427 memmove-large and memset-large.
12428 * benchtests/bench-memcpy-large.c: New file.
12429 * benchtests/bench-memmove-large.c: Likewise.
12430 * benchtests/bench-memmove-large.c: Likewise.
12431 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12432
12433 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12434
12435 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12436 32-bit displacement to avoid long nop between instructions.
12437
12438 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12441 a comment on VMOVU and VMOVA.
12442
12443 2016-04-04 Florian Weimer <fweimer@redhat.com>
12444
12445 [BZ #19633]
12446 Use specified locale for number formatting in strfmon_l.
12447 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12448 (__nl_lookup_word): New inline functions.
12449 * include/printf.h (__print_fp_l): Declare.
12450 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12451 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12452 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12453 (___printf_fp): New function.
12454 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12455 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12456 * stdlib/tst-strfmon_l.c (do_test): New test.
12457 * stdlib/Makefile (tests): Add kt.
12458 (LOCALES): Build additional locales.
12459 (tst-strfmon_l.out): Require locales.
12460
12461 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12462
12463 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12464 if not in libc.
12465 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12466 Likewise.
12467 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12468 Likewise.
12469 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12470 Likewise.
12471
12472 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12473
12474 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12475 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12476 with unaligned_erms.
12477 (__memmove_erms): Skip if source == destination.
12478 (__memmove_unaligned_erms): Don't check source == destination
12479 first.
12480
12481 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12484 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12485
12486 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12487
12488 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12489 * string/strspn.c (strspn): Likewise.
12490
12491 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12492
12493 * benchtests/bench-memset.c (do_test): Support 64-byte
12494 alignment.
12495 (test_main): Test 64-byte alignment.
12496
12497 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * benchtests/bench-memmove.c (test_main): Test 64-byte
12500 alignment.
12501
12502 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12503
12504 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12505
12506 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12507
12508 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12509 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12510 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12511
12512 * string/strpbrk.c (strpbrk): Rewrite function.
12513 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12514 (__strpbrk_c2): Likewise.
12515 (__strpbrk_c3): Likewise.
12516 * string/string-inlines.c
12517 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12518 Likewise.
12519 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12520 Likewise.
12521
12522 * string/strspn.c (strcspn): Rewrite function.
12523 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12524 (__strspn_c1): Remove inline function.
12525 (__strspn_c2): Likewise.
12526 (__strspn_c3): Likewise.
12527 * string/string-inlines.c
12528 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12529 compatibility symbol.
12530 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12531 Likewise.
12532 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12533 Likewise.
12534 * string/string-inlines.c: Include generic version.
12535
12536 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12537 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12538
12539 * string/Version (libc): Add GLIBC_2.24.
12540 * string/strcspn.c (strcspn): Rewrite function.
12541 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12542 (__strcspn_c1): Remove inline function.
12543 (__strcspn_c2): Likewise.
12544 (__strcspn_c3): Likewise.
12545 * string/string-inline.c
12546 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12547 compatibility symbol.
12548 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12549 Likewise.
12550 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12551 Likewise.
12552 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12553
12554 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12555
12556 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12557 Use ahi instead of aghi to adjust stack pointer.
12558
12559 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12560
12561 [BZ #19853]
12562 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12563 TEST to take significant digits as second parameter.
12564 [TEST]: Redefine in terms of TEST_N taking 30
12565 significant digits.
12566 (do_test): Add test case to demonstrate precision
12567 failure in the ldbl-128ibm printf.
12568 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12569 (__mpn_extract_long_double): Carry 7 extra intermediate
12570 bits of precision to aide computing difference when
12571 signs differ.
12572
12573 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 [BZ #19881]
12576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12577 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12578 memset-avx512-unaligned-erms.
12579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12580 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12581 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12582 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12583 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12584 __memset_sse2_unaligned_erms, __memset_erms,
12585 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12586 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12587 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12588 file.
12589 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12590 Likewise.
12591 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12592 Likewise.
12593 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12594 Likewise.
12595
12596 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12597
12598 [BZ #19776]
12599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12600 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12601 memmove-avx512-unaligned-erms.
12602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12603 (__libc_ifunc_impl_list): Test
12604 __memmove_chk_avx512_unaligned_2,
12605 __memmove_chk_avx512_unaligned_erms,
12606 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12607 __memmove_chk_sse2_unaligned_2,
12608 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12609 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12610 __memmove_avx512_unaligned_erms, __memmove_erms,
12611 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12612 __memcpy_chk_avx512_unaligned_2,
12613 __memcpy_chk_avx512_unaligned_erms,
12614 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12615 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12616 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12617 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12618 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12619 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12620 __mempcpy_chk_avx512_unaligned_erms,
12621 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12622 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12623 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12624 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12625 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12626 __mempcpy_erms.
12627 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12628 file.
12629 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12630 Likewise.
12631 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12632 Likewise.
12633 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12634 Likewise.
12635
12636 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12637
12638 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12639 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12640 (La_s390_64_regs): Likewise.
12641 (La_s390_32_retval): Append vector register lrv_v24.
12642 (La_s390_64_retval): Likeweise.
12643 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12644 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12645 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12646 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12647
12648 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12649
12650 [BZ #19916]
12651 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12652 to create a non-vector/vector version for _dl_runtime_resolve and
12653 _dl_runtime_profile. Move implementation to ...
12654 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12655 (_dl_runtime_resolve) Save and restore fpr/vrs.
12656 (_dl_runtime_profile) Save and restore vrs and fix some issues
12657 if _dl_call_pltexit is called.
12658 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12659 Choose the correct resolver function if running on a machine with vx.
12660 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12661 to create a non-vector/vector version for _dl_runtime_resolve and
12662 _dl_runtime_profile. Move implementation to ...
12663 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12664 (_dl_runtime_resolve) Save and restore fpr/vrs.
12665 (_dl_runtime_profile) Save and restore vrs and fix some issues
12666 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12667 Choose the correct resolver function if running on a machine with vx.
12668
12669 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12670
12671 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12672
12673 2016-03-31 Florian Weimer <fweimer@redhat.com>
12674
12675 [BZ #19509]
12676 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12677 skip_map != NULL.
12678 * elf/tst-dlsym-error.c: New file.
12679 * elf/Makefile (tests): Add tst-dlsym-error.
12680 (tst-dlsym-error): Link against libdl.
12681
12682 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12683
12684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12685 (__ASSUME_FUTIMESAT): Remove macro.
12686 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12687
12688 2016-03-29 Florian Weimer <fweimer@redhat.com>
12689
12690 [BZ #19879]
12691 CVE-2016-3075
12692 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12693 copy name.
12694
12695 2016-03-29 Florian Weimer <fweimer@redhat.com>
12696
12697 [BZ #19837]
12698 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12699 error if parse_line fails.
12700
12701 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12704 (index_cpu_ERMS): Likewise.
12705 (reg_ERMS): Likewise.
12706
12707 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12708
12709 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12710 PER_LINUX_FDPIC): Add.
12711
12712 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12713
12714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12715 memcpy-avx512-no-vzeroupper.
12716 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12717 to ...
12718 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12719 (MEMCPY): Don't define.
12720 (MEMCPY_CHK): Likewise.
12721 (MEMPCPY): Likewise.
12722 (MEMPCPY_CHK): Likewise.
12723 (MEMPCPY_CHK): Renamed to ...
12724 (__mempcpy_chk_avx512_no_vzeroupper): This.
12725 (MEMPCPY_CHK): Renamed to ...
12726 (__mempcpy_chk_avx512_no_vzeroupper): This.
12727 (MEMCPY_CHK): Renamed to ...
12728 (__memmove_chk_avx512_no_vzeroupper): This.
12729 (MEMCPY): Renamed to ...
12730 (__memmove_avx512_no_vzeroupper): This.
12731 (__memcpy_avx512_no_vzeroupper): New alias.
12732 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12733
12734 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12735
12736 [BZ #18858]
12737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12738 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12739 and mempcpy-avx512-no-vzeroupper.
12740 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12741 New.
12742 (MEMPCPY): Likewise.
12743 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12744 (MEMPCPY_CHK): New.
12745 (MEMPCPY): Likewise.
12746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12747 (MEMPCPY): Likewise.
12748 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12749 (MEMPCPY): Likewise.
12750 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12751 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12752 Likewise.
12753 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12754 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12755
12756 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12757 Amit Pawar <Amit.Pawar@amd.com>
12758
12759 [BZ #19583]
12760 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12761 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12762 processors. Set Fast_Copy_Backward for AMD Excavator
12763 processors.
12764 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12765 New.
12766 (index_arch_Fast_Unaligned_Copy): Likewise.
12767 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12768 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12769
12770 2016-03-25 Florian Weimer <fweimer@redhat.com>
12771
12772 [BZ #19791]
12773 * resolv/res_send.c (close_and_return_error): New function.
12774 (send_dg): Initialize *resplen2 after reopen failure. Call
12775 close_and_return_error for error returns. On error paths without
12776 __res_iclose, initialze *resplen2 explicitly. Update comment for
12777 successful return.
12778
12779 2016-03-25 Florian Weimer <fweimer@redhat.com>
12780
12781 [BZ# 19860]
12782 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12783 zero if the compiler does not provide the AVX512F bit.
12784
12785 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12786
12787 [BZ #19848]
12788 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12789 from 8 to 4.
12790 (__ieee754_powl): Compare integer exponent against 4 not 8.
12791 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12792 from 8 to 4.
12793 (__ieee754_powl): Compare integer exponent against 4 not 8.
12794 * math/auto-libm-test-in: Add more tests of pow.
12795 * math/auto-libm-test-out: Regenerated.
12796 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798
12799 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12800
12801 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12802 Make code unconditional.
12803 [!__NR_utimensat]: Remove conditional code.
12804 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12805 Make code unconditional.
12806 [!__NR_utimensat]: Remove conditional code.
12807 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12808 Make code unconditional.
12809 [!__NR_utimensat]: Remove conditional code.
12810
12811 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12812
12813 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12814 Make code unconditional.
12815
12816 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12817
12818 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12819 call-clobbered %eax on retry path.
12820 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12821
12822 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12823
12824 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12825 Don't set %rcx twice before "rep movsb".
12826
12827 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 [BZ #19583]
12830 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12831 inline. Check family before setting family, model and
12832 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12833 bits here.
12834 (init_cpu_features): Replace HAS_CPU_FEATURE and
12835 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12836 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12837 for Intel processors with usable AVX2. Call get_common_indeces
12838 for other processors with family == NULL.
12839 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12840 (CPU_FEATURES_ARCH_P): Likewise.
12841 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12842 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12843
12844 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12845
12846 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12847 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12848 $(shared-thread-library) instead of hardcoding the path to libpthread.
12849
12850 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12851
12852 * sysdeps/unix/sysv/linux/kernel-features.h
12853 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12854 * sysdeps/unix/sysv/linux/getdents.c
12855 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12856 [!have_no_getdents64_defined]: Likewise.
12857 (__GETDENTS): Remove __have_no_getdents64 conditional.
12858
12859 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12860
12861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12862 Remove macro.
12863 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12864 <kernel-features.h>.
12865 (signalfd) [__NR_signalfd4]: Make code unconditional.
12866 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12867
12868 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12869
12870 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12871 style.
12872
12873 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12876 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12877 __pthread_unwind.
12878 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12879 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12880 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12881 (__condvar_cleanup1): Likewise.
12882
12883 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12884
12885 [BZ #19822]
12886 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12887 move it to the final $@ location.
12888
12889 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12890
12891 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12892 access where posix_spawn success and pid argument is null.
12893 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12894 success case.
12895
12896 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12897
12898 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12899
12900 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12901
12902 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12903 and __fcntl.
12904 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12905 __fcntl only.
12906 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12907 adding attribute_hidden to __open and __fcntl.
12908
12909 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12910 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12911 depend on libc-modules.h,
12912 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12913
12914 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12915
12916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12917 Remove macro.
12918 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12919 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12920 entry.
12921
12922 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12923 Remove macro.
12924 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12925 include <kernel-features.h>.
12926 [!__ASSUME_FALLOCATE]: Remove conditional code.
12927 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12928
12929 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12930
12931 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12932 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12933 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12934 (_ZGVdN4v_cos_avx2): Likewise.
12935 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12936 (_ZGVdN4v_cos): Likewise.
12937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12938 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12939 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12940 (_ZGVdN4v_exp_avx2): Likewise.
12941 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12942 (_ZGVdN4v_exp): Likewise.
12943 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12944 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12945 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12946 (_ZGVdN4v_log_avx2): Likewise.
12947 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12948 (_ZGVdN4v_log): Likewise.
12949 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12950 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12951 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12952 (_ZGVdN4vv_pow_avx2): Likewise.
12953 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12954 (_ZGVdN4vv_pow): Likewise.
12955 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12956 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12957 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12958 (_ZGVdN4v_sin_avx2): Likewise.
12959 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12960 (_ZGVdN4v_sin): Likewise.
12961 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12962 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12964 (_ZGVdN4vvv_sincos_avx2): Likewise.
12965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12966 (_ZGVdN4vvv_sincos): Likewise.
12967 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12968 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12969 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12970 (_ZGVbN4v_cosf_sse4): Likewise.
12971 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12972 (_ZGVdN8v_cosf_avx2): Likewise.
12973 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12974 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12975 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12976 (_ZGVbN4v_expf_sse4): Likewise.
12977 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12978 (_ZGVdN8v_expf_avx2): Likewise.
12979 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12980 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12981 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12982 (_ZGVbN4v_logf_sse4): Likewise.
12983 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12984 (_ZGVdN8v_logf_avx2): Likewise.
12985 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12986 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12987 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12988 (_ZGVbN4vv_powf_sse4): Likewise.
12989 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12990 (_ZGVdN8vv_powf_avx2): Likewise.
12991 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12992 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12993 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12994 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12995 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12996 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12997 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12998 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12999 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13000 (_ZGVbN4v_sinf_sse4): Likewise.
13001 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13002 (_ZGVdN8v_sinf_avx2): Likewise.
13003 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13004 Use JUMPTARGET to call callee.
13005 (WRAPPER_IMPL_SSE2_ff): Likewise.
13006 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13007 (WRAPPER_IMPL_AVX): Likewise.
13008 (WRAPPER_IMPL_AVX_ff): Likewise.
13009 (WRAPPER_IMPL_AVX_fFF): Likewise.
13010 (WRAPPER_IMPL_AVX512): Likewise.
13011 (WRAPPER_IMPL_AVX512_ff): Likewise.
13012 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13013 Likewise.
13014 (WRAPPER_IMPL_SSE2_ff): Likewise.
13015 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13016 (WRAPPER_IMPL_AVX): Likewise.
13017 (WRAPPER_IMPL_AVX_ff): Likewise.
13018 (WRAPPER_IMPL_AVX_fFF): Likewise.
13019 (WRAPPER_IMPL_AVX512): Likewise.
13020 (WRAPPER_IMPL_AVX512_ff): Likewise.
13021 (WRAPPER_IMPL_AVX512_fFF): Likewise.
13022
13023 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13024
13025 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13026 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13027 qualifier.
13028 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13029 internal_function qualifiers.
13030
13031 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13032
13033 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13034 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13035 * math/atest-exp.c (exp_mpn): Mark chk unused.
13036 * math/atest-exp2.c (exp_mpn): Likewise.
13037 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13038 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13039
13040 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13041
13042 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13043 Remove macro.
13044 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13045 <kernel-features.h>.
13046 [__NR_ppoll]: Make code unconditional.
13047 [!__ASSUME_PPOLL]: Remove conditional code.
13048
13049 * sysdeps/unix/sysv/linux/kernel-features.h
13050 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13051 (__ASSUME_ACCEPT4): Likewise.
13052 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13053 Define.
13054 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13055 Likewise.
13056 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13057 Likewise.
13058 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13059 Likewise.
13060 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13061 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13062 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13063 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13064 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13065 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13066 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13067 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13068 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13069 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13070 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13071 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13072 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13073 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13074 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13075 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13076 Likewise.
13077 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13078 Likewise.
13079 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13080 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13081 0x040300].
13082 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13083 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13084 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13085 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13086 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13087 0x030300].
13088 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13089 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13090 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13091 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13092 0x040300].
13093 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13094 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13096 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13097 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13098 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13099 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13100 0x030300].
13101 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13102 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13103 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13104 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13105 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13106 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13107 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13108 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13109 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13110 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13111 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13112 0x040300].
13113 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13114 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13115 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13116 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13117 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13118 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13119 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13120 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13121 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13122 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13123 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13124 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13125 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13126 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13127 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13128 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13129 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13130 Likewise.
13131 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13132 Likewise.
13133
13134 2016-03-15 Andreas Schwab <schwab@suse.de>
13135
13136 [BZ #19257]
13137 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13138 statp->_u._ext.nscount as loop count.
13139
13140 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13141
13142 * math/test-signgam-finite-c99.c: Also #undef
13143 __LIBC_INTERNAL_MATH_INLINES.
13144 * math/test-signgam-main.c: Likewise.
13145
13146 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13147
13148 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13149 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13150 (MADV_FREE): Likewise.
13151 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13152 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13153 EPOLLEXCLUSIVE.
13154
13155 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13156
13157 * timezone/README: Remove mention of checktab.awk. Mention wiki
13158 SharedSourceFiles.
13159
13160 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13161
13162 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13163 WUNTRACED.
13164
13165 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13166
13167 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13168 order to match the type of p when calling atomic_exchange_acq().
13169
13170 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13171
13172 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13173 cfi_offset calls.
13174 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13175 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13176 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13177 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13178 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13179
13180 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13181
13182 * timezone/checktab.awk: Removed.
13183
13184 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13185
13186 * manual/math.texi (Errors in Math Functions): Document relaxed
13187 accuracy goals for IBM long double.
13188 * math/libm-test.inc (test_exceptions): Always allow spurious
13189 "underflow" and "inexact" exceptions for IBM long double.
13190
13191 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13192
13193 [BZ #19762]
13194 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13195 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13196 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13197 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13198 (bit_arch_*): This for feature array.
13199 (bit_*): Renamed to ...
13200 (bit_cpu_*): This for cpu array.
13201 (index_*): Renamed to ...
13202 (index_arch_*): This for feature array.
13203 (index_*): Renamed to ...
13204 (index_cpu_*): This for cpu array.
13205 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13206 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13207 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13208 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13209 bit_##name with index_cpu_##name and bit_cpu_##name.
13210 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13211 bit_##name with index_arch_##name and bit_arch_##name.
13212
13213 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13214
13215 [BZ #19792]
13216 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13217 Terminate FDE before return label.
13218
13219 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13220
13221 [BZ #19790]
13222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13223 (rintl): Define as macro.
13224 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13225 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13226 of fesetround. Ensure results are evaluated before end of scope.
13227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13228 USE_AS_NEARBYINTL and include s_rintl.c.
13229 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13230 Disable exception traps in new environment.
13231 (libc_feholdsetround_ppc_ctx): Likewise.
13232
13233 2016-03-08 Roland McGrath <roland@hack.frob.com>
13234
13235 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13236 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13237 (tst_audit10_aux) [__AVX512F__]: ... here.
13238
13239 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13240
13241 * include/sys/auxv.h: New file.
13242
13243 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13244
13245 [BZ #19759]
13246 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13247
13248 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13249
13250 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13251 operand modifier.
13252 (feclearexcept): Likewise.
13253
13254 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13255
13256 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13257 to reflect the entire 32-bit HWCAP.
13258 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13259 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13260
13261 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13262
13263 [BZ #19783]
13264 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13265 $(test-via-rtld-prefix).
13266 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13267
13268 2016-03-08 Florian Weimer <fweimer@redhat.com>
13269
13270 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13271 union wait. Report any non-zero exit status as error.
13272
13273 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13274
13275 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13276 configured with --enable-hardcoded-path-in-tests.
13277
13278 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13279
13280 [BZ #19677]
13281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13282 (__ieee754_remainderl): Put zero low parts in canonical form.
13283 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13284 file. Based on
13285 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13286 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13287 with wrapper round test-fmodrem-ldbl-128ibm.c.
13288 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13289 file.
13290 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13291 Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13293 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13294
13295 2016-03-07 Florian Weimer <fweimer@redhat.com>
13296
13297 [BZ #19610]
13298 * elf/ldconfig.c (opt_link): Update comment.
13299 (options): Update help string for option -X.
13300 (search_dir): Unlink stale symbolic link only if updating symbolic
13301 links.
13302 * elf/tst-ldconfig-X.sh: New file.
13303 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13304 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13305
13306 2016-03-07 Andreas Schwab <schwab@suse.de>
13307
13308 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13309 needed arguments.
13310
13311 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13312
13313 [BZ #15333]
13314 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13315 to lstat64.
13316
13317 2016-03-07 Florian Weimer <fweimer@redhat.com>
13318
13319 * libio/filedoalloc.c (isatty): Remove.
13320 (local_isatty): Add comment. Call __isatty directly.
13321 (_IO_file_doallocate): Update comment. Assume _LIBC.
13322 * libio/wfiledoalloc.c (isatty): Remove.
13323 (_IO_wfile_doallocate): Update comment.
13324
13325 2016-03-07 Florian Weimer <fweimer@redhat.com>
13326
13327 [BZ #19269]
13328 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13329 tst-audit4-aux.o.
13330 (tst-audit10): Depend on tst-audit10-aux.o.
13331 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13332 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13333 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13334 instead of inline AVX code.
13335 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13336 instead of inline AVX512 code.
13337 * sysdeps/x86_64/tst-audit4-aux.c: New file
13338 * sysdeps/x86_64/tst-audit10-aux.c: New file
13339
13340 [BZ #19648]
13341 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13342
13343 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13344
13345 [BZ #14750]
13346 [BZ #10354]
13347 [BZ #18433]
13348 * include/sched.h (__clone): Add hidden prototype.
13349 (__clone2): Likewise.
13350 * include/unistd.h (__dup): Likewise.
13351 * posix/Makefile (tests): Add tst-spawn2.
13352 * posix/tst-spawn2.c: New file.
13353 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13354 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13355 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13356 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13357 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13358 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13359 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13360 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13361 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13362 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13363 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13365 Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13367 Likewise.
13368 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13369 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13370 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13371 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13372 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13373 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13374 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13375 * sysdeps/unix/sysv/linux/nptl-signals.h
13376 (____nptl_is_internal_signal): New function.
13377 * sysdeps/unix/sysv/linux/spawni.c: New file.
13378
13379 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13380 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13381 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13382 * posix/tst-execvp2.c (do_test): Likewise.
13383 * posix/tst-execvp3.c (do_test): Likewise.
13384 * posix/tst-execvp4.c (do_test): Likewise.
13385 * posix/tst-execvpe1.c: New file.
13386 * posix/tst-execvpe2.c: Likewise.
13387 * posix/tst-execvpe3.c: Likewise.
13388 * posix/tst-execvpe4.c: Likewise.
13389 * posix/tst-execvpe5.c: Likewise.
13390 * posix/tst-execvpe6.c: Likewise.
13391
13392 [BZ #19534]
13393 * posix/execl.c (execl): Remove dynamic memory allocation.
13394 * posix/execle.c (execle): Likewise.
13395 * posix/execlp.c (execlp): Likewise.
13396
13397 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13400 Replace .text with .text.avx512.
13401 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13402 Likewise.
13403
13404 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13405
13406 * sysdeps/generic/libnsl.abilist: New file.
13407 * sysdeps/generic/libutil.abilist: New file.
13408
13409 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 [BZ #19762]
13412 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13413 HAS_ARCH_FEATURE with Fast_Rep_String.
13414 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13415 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13416 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13417 Likewise.
13418 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13419 Likewise.
13420 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13421 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13422 Likewise.
13423 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13424 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13425 Likewise.
13426
13427 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13428
13429 [BZ #19745]
13430 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13431 with *%rax in call.
13432
13433 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 [BZ #19745]
13436 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13437 with *__libc_start_main@GOTPCREL(%rip) in call.
13438
13439 2016-03-04 Roland McGrath <roland@hack.frob.com>
13440
13441 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13442 inside conditional for nonempty $(CXX).
13443
13444 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13445 nonempty.
13446
13447 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13448 to test for empty $(CXX) rather than $(CXX) of "no".
13449
13450 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13451
13452 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13453
13454 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13455 H.J. Lu <hongjiu.lu@intel.com>
13456
13457 [BZ #18880]
13458 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13459 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13460 enable __memcpy_ssse3_back.
13461
13462 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13463
13464 [BZ #19758]
13465 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13466 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13467
13468 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13469
13470 [BZ #19490]
13471 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13472 (__fentry__): Likewise.
13473
13474 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13475
13476 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13477 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13478
13479 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13482 __mcount_internal directly.
13483 (C_LABEL(__fentry__)): Likewise.
13484 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13485 directly.
13486
13487 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13490 (__start_context): Call __setcontext directly.
13491
13492 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13493
13494 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13495 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13496 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13497 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13498 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13499 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13500 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13501 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13502 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13503 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13504 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13505 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13506 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13507 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13508 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13509 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13510 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13511 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13512 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13513 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13514 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13515 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13516 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13517 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13518 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13519 Remove conditional code.
13520 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13521 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13522 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13523 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13524 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13525 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13526 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13527 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13528 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13529 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13530 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13531 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13532
13533 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13534
13535 * NEWS (2.23): Fix typo in bug 19048 text.
13536
13537 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13538
13539 [BZ #14259]
13540 * Makeconfig: Rename msgcatdir to localedir.
13541 Rename inst_msgcatdir to inst_localedir.
13542 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13543 * config.make.in: Add localedir.
13544 * elf/Makefile ($(objpfx)sotruss): Use localedir.
13545 (ldd-rewrite): Likewise.
13546 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13547 (install-others): Use inst_localedir.
13548 (CPPFLAGS): Use localedir.
13549 * locale/Makefile (locale-CPPFLAGS): Likewise.
13550 * po/Makefile (mo-installed): Use inst_localedir.
13551
13552 [BZ #19575]
13553 * localedata/charmaps/GB18030: Update comments regarding PAU to
13554 non-PUA mappings.
13555
13556 2016-02-24 Joseph Myers <joseph@codesourcery.com>
13557
13558 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13559 test for header.
13560 * sysdeps/unix/sysv/linux/configure: Regenerated.
13561 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13562 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13563 Remove conditional code.
13564 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13565
13566 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13567 Define to 3.2.0.
13568 (arch_minimum_kernel): Likewise.
13569 * sysdeps/unix/sysv/linux/configure: Regenerated.
13570 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13571 Define to 2.6.32.
13572 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13573 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13574 (arch_minimum_kernel): Define to 2.6.32.
13575 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13576 * README: Document Linux 3.2 requirement.
13577 * manual/install.texi (Linux): Document Linux 3.2 headers
13578 requirement.
13579 * INSTALL: Regenerated.
13580
13581 2016-02-24 Andreas Schwab <schwab@suse.de>
13582
13583 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13584 if !NO_LONG_DOUBLE.
13585
13586 2016-02-22 Roland McGrath <roland@hack.frob.com>
13587
13588 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13589 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13590
13591 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13592
13593 [BZ #19512]
13594 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13595
13596 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13597
13598 * posix/tst-dir.c: Include libc-internal.h.
13599
13600 2016-02-20 Florian Weimer <fweimer@redhat.com>
13601
13602 [BZ #19056]
13603 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13604 * manual/filesys.texi (Reading/Closing Directory): Mention
13605 deprecaion.
13606 * posix/tst-dir.c (main): Disable deprecation warning in test.
13607
13608 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13609
13610 [BZ #19679]
13611 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13612 Renamed to ...
13613 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13614 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13615 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13616 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13617 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13618 * sysdeps/x86_64/dl-trampoline.h
13619 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13620 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13621
13622 2016-02-19 Mark Wielaard <mjw@redhat.com>
13623
13624 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13625
13626 2016-02-19 Mark Wielaard <mjw@redhat.com>
13627
13628 * elf/elf.h (R_386_GOT32X): New.
13629 (R_386_NUM): Update.
13630 (R_X86_64_GOTPCRELX: New.
13631 (R_X86_64_REX_GOTPCRELX): New.
13632 (R_X86_64_NUM): Update.
13633
13634 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13635
13636 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13637
13638 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13639
13640 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13641 assign attr->stackaddr to it, and adjust it down when
13642 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13643 [_STACK_GROWS_UP]: Delete assert.
13644 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13645 Implement stack grows up logic.
13646 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13647 stack grows up logic.
13648
13649 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13650
13651 * NEWS: Update with 2.24 template.
13652
13653 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13654
13655 [BZ #19678]
13656 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13657 Ensure +0.0 is returned when taking the next value below the least
13658 positive value.
13659
13660 2016-02-19 Florian Weimer <fweimer@redhat.com>
13661
13662 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13663 available. Do not define NO_THREADS.
13664 * malloc/malloc.c: Do not check NO_THREADS.
13665 * malloc/arena.c: Likewise.
13666
13667 2016-02-19 Florian Weimer <fweimer@redhat.com>
13668
13669 * malloc/malloc.c (__libc_mallinfo): Update comment.
13670 (struct malloc_par): Remove max_total_mem member, it was always 0.
13671 (int_mallinfo): Store 0 into usmblks (no functional change).
13672 * malloc/hooks.c (struct malloc_state): Document that
13673 max_total_mem is always 0.
13674 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13675 always 0.
13676 * manual/memory.texi (Statistics of Malloc): Likewise.
13677
13678 2016-02-19 Florian Weimer <fweimer@redhat.com>
13679
13680 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13681 * malloc/arena.c (arena_max): Remove.
13682 (heap_trim, _int_new_arena): Do not update arena_max.
13683
13684 2016-02-19 Florian Weimer <fweimer@redhat.com>
13685
13686 * resolv/res_init.c (res_ninit): Update comment.
13687
13688 2016-02-19 Florian Weimer <fweimer@redhat.com>
13689
13690 [BZ #19505]
13691 * posix/spawn_int.h: Add headers and include guard.
13692 (__spawn_valid_fd): New function.
13693 * posix/spawn_faction_addopen.c
13694 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13695 * posix/spawn_faction_addclose.c
13696 (posix_spawn_file_actions_addclose): Likewise.
13697 * posix/spawn_faction_adddup2.c
13698 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13699 second file descriptor.
13700 * posix/spawn_valid_fd.c: New file.
13701 * posix/tst-posix_spawn-fd.c: New file.
13702 * posix/Makefile (routines): Add spawn_valid_fd.
13703 (tests): Add tst-posix_spawn-fd.
13704
13705 2016-02-19 Florian Weimer <fweimer@redhat.com>
13706
13707 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13708 (do_test): Limit the number of arenas, so that we can use fewer
13709 outer threads. Limit timeout to 3 seconds, in preparation for a
13710 larger TIMEOUT value.
13711
13712 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13713
13714 [BZ #19674]
13715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13716 sign in overflowing and underflowing results when overflow or
13717 underflow is detected early. Include sign in result before rather
13718 than after scaling.
13719
13720 [BZ #19603]
13721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13722 (__ieee754_remainderl): Adjust sign of integer version of low part
13723 when taking absolute value of high part.
13724 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13725 * math/libm-test.inc (remainder_test_data): Add another test.
13726 (remquo_test_data): Likewise.
13727
13728 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13729
13730 [BZ #19602]
13731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13732 equal high parts and both low parts zero specially.
13733 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13734 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13735 Add test-fmodl-ldbl-128ibm.
13736
13737 [BZ #19595]
13738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13739 common logic for all cases of shifting subnormal results. Do not
13740 insert sign bit in shifted mantissa. Always pass -1023 as biased
13741 exponent to ldbl_insert_mantissa in subnormal case.
13742
13743 [BZ #19594]
13744 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13745 on high and low parts then adjust result and use
13746 ldbl_canonicalize_int if needed.
13747
13748 [BZ #19593]
13749 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13750 on high part and __floor or __ceil on low part then use
13751 ldbl_canonicalize_int if needed.
13752
13753 [BZ #19592]
13754 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13755 high and low parts then use ldbl_canonicalize_int if needed.
13756
13757 [BZ #17899]
13758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13759 New function.
13760 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13761 on high and low parts then use ldbl_canonicalize_int if needed.
13762
13763 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13764
13765 * configure: Regenerated.
13766
13767 * po/libc.pot: Regenerated.
13768
13769 * po/be.po: Updated translation.
13770 * po/bg.po: Likewise.
13771 * po/ca.po: Likewise.
13772 * po/cs.po: Likewise.
13773 * po/da.po: Likewise.
13774 * po/el.po: Likewise.
13775 * po/eo.po: Likewise.
13776 * po/es.po: Likewise.
13777 * po/fi.po: Likewise.
13778 * po/fr.po: Likewise.
13779 * po/gl.po: Likewise.
13780 * po/hr.po: Likewise.
13781 * po/hu.po: Likewise.
13782 * po/ia.po: Likewise.
13783 * po/id.po: Likewise.
13784 * po/it.po: Likewise.
13785 * po/ja.po: Likewise.
13786 * po/lt.po: Likewise.
13787 * po/nb.po: Likewise.
13788 * po/nl.po: Likewise.
13789 * po/pt_BR.po: Likewise.
13790 * po/rw.po: Likewise.
13791 * po/sk.po: Likewise.
13792 * po/sl.po: Likewise.
13793 * po/sv.po: Likewise.
13794 * po/tr.po: Likewise.
13795 * po/zh_CN.po: Likewise.
13796 * po/zh_TW.po: Likewise.
13797
13798 * version.h (RELEAES): Set to "development".
13799 (VERSION): Set to 2.23.90.
13800
13801 * version.h (RELEASE): Set to "stable".
13802 (VERSION): Set to 2.23.
13803 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13804
13805 * NEWS: Updated fixed bugs.
13806
13807 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13808 Wilco Dijkstra <wdijkstr@arm.com>
13809
13810 [BZ #19462]
13811 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13812 (_STRING_INLINE_unaligned): This.
13813 * include/string.h: Include <string_private.h>.
13814 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13815 _STRING_INLINE_unaligned.
13816 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13817 (_STRING_INLINE_unaligned): New.
13818 * sysdeps/aarch64/string_private.h: New file.
13819 * sysdeps/generic/string_private.h: Likewise.
13820 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13821 * sysdeps/s390/string_private.h: Likewise.
13822 * sysdeps/x86/string_private.h: Likewise.
13823 * sysdeps/m68k/m680x0/m68020/bits/string.h
13824 (_STRING_ARCH_unaligned): Renamed to ...
13825 (_STRING_INLINE_unaligned): This.
13826 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13827 to ...
13828 (_STRING_INLINE_unaligned): This.
13829 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13830 to ...
13831 (_STRING_INLINE_unaligned): This.
13832 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13833 to ...
13834 (_STRING_INLINE_unaligned): This.
13835
13836 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13837 H.J. Lu <hongjiu.lu@intel.com>
13838
13839 [BZ #19590]
13840 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13841 relocation.
13842
13843 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13844
13845 [BZ #18665]
13846 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13847 *herrno_p.
13848 (gaih_getanswer): Document functional behviour. Return tryagain
13849 if any result is tryagain.
13850 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13851 when freed.
13852 * resolv/res_send.c: Add copyright text.
13853 (__libc_res_nsend): Document that MAXPACKET is expected.
13854 (send_vc): Document. Remove buffer reuse.
13855 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13856 size of the buffer. Add Dprint for truncated UDP buffer.
13857
13858 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13859
13860 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13861 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13862 * INSTALL: Regenerate.
13863
13864 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13865 Jonathan Wakely <jwakely@redhat.com>
13866 Carlos O'Donell <carlos@redhat.com>
13867
13868 [BZ 19439]
13869 * math/Makefile (tests): Add test-math-isinff.
13870 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13871 * math/bits/mathcalls.h [__USE_MISC]: Use
13872 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13873 functions not in C++11 and which don't conflict e.g. isinff,
13874 isinfl etc.
13875 * math/test-math-isinff.cc: New file.
13876
13877 2016-02-12 Florian Weimer <fweimer@redhat.com>
13878
13879 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13880
13881 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13882
13883 [BZ #19529]
13884 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13885
13886 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13887
13888 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13889
13890 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13891
13892 [BZ #19550]
13893 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13894 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13895 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13896 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13897 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13898 New syscall entry.
13899 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13900 New syscall entry.
13901 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13902 syscall entry.
13903
13904 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13905
13906 [BZ #18240]
13907 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13908 unsigned int wraparound.
13909
13910 2016-01-27 Florian Weimer <fweimer@redhat.com>
13911
13912 [BZ #18240]
13913 * misc/bug18240.c: New test.
13914 * misc/Makefile (tests): Add it.
13915
13916 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13917 Joseph Myers <joseph@codesourcery.com>
13918
13919 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13920 load in branch delay slot when less than a word of input left.
13921
13922 2016-01-27 Andreas Schwab <schwab@suse.de>
13923
13924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13925 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13926 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13927 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13928
13929 2016-01-26 David S. Miller <davem@davemloft.net>
13930
13931 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13932
13933 2016-01-25 David S. Miller <davem@davemloft.net>
13934
13935 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13936 __sqrtl_finite.
13937 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13938 instead using versioned_symbol.
13939 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13940 of entries.
13941
13942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13943 __sqrtl_finite to GLIBC_2.23
13944
13945 2016-01-25 Ricchard Henderson <rth@redhat.com>
13946
13947 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13948
13949 2016-01-25 Andreas Schwab <schwab@suse.de>
13950
13951 [BZ #17514]
13952 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13953 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13954 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13955 * nptl/tst-mutex-errorcheck.c: New file.
13956
13957 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13958
13959 [BZ #18560]
13960 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13961 (IPCOP_semop): Likewise.
13962 (IPCOP_semget): Likewise.
13963 (IPCOP_semctl): Likewise.
13964 (IPCOP_msgsnd): Likewise.
13965 (IPCOP_msgrcv): Likewise.
13966 (IPCOP_msgget): Likewise.
13967 (IPCOP_msgctl): Likewise.
13968 (IPCOP_shmat): Likewise.
13969 (IPCOP_shmdt): Likewise.
13970 (IPCOP_shmget): Likewise.
13971 (IPCOP_shmctl): Likewise.
13972
13973 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13974
13975 * string/tst-endian.c: Include <libc-internal.h>.
13976 (do_test): Ignore tautological-compare warnings around
13977 "htobeXX (beXXtoh (i)) != i" and
13978 "htoleXX (leXXtoh (i)) != i" if-statements.
13979
13980 2016-01-24 David S. Miller <davem@davemloft.net>
13981
13982 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13983 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13984 alias.
13985 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13986 __sqrtl_finite.
13987
13988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13989
13990 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13991
13992 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13993 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13994 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13995
13996 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13997
13998 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13999 (thread_func): Use new function to simplify barrier check.
14000 (do_test): Use new function to simplify checking barrier exit
14001 code, and actually join the child thread.
14002
14003 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14004
14005 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14006 semicolon.
14007 (__libc_tend): Likewise.
14008 (__libc_tabort): Likewise.
14009
14010 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
14011
14012 * sysdeps/nios2/libm-test-ulps: Update.
14013 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14014 (__gtsf2): Likewise.
14015 (__unorddf2): Likewise.
14016 (__unordsf2): Likewise.
14017 (__ledf2): Likewise.
14018
14019 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
14020
14021 * nis/nis_table.c (__follow_path): Disable diagnostic for
14022 uninitialized variable that is a false positive for gcc 4.7.
14023 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14024
14025 2016-01-20 Roland McGrath <roland@hack.frob.com>
14026
14027 * sysdeps/nacl/lowlevellock-futex.h
14028 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14029 Always evaluate PRIVATE argument.
14030
14031 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14032
14033 [BZ #19490]
14034 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14035 (pthread_cond_broadcast): Use ENTRY/END
14036 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14037 (pthread_cond_signal): Likewise.
14038 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14039 Likewise.
14040 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14041 Likewise.
14042 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14043 Likewise.
14044
14045 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14046
14047 * sysdeps/ieee754/dbl-64/s_finite.c
14048 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14049 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14050 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14051 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14052 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14053
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14055 (__gtsf2): Add as optional for libc.so.
14056 (__unordsf2): Likewise.
14057 (__signbit): Remove for libc.so.
14058 (__signbitl): Likewise.
14059
14060 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14061
14062 * iconvdata/bug-iconv11.c (test_ibm93x):
14063 Use %zu printf format specifier for size_t argument.
14064
14065 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14066
14067 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14068 already-recorded ulps.
14069 * sysdeps/arm/libm-test-ulps: Regenerated.
14070 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14071 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14072 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14073
14074 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14075 Paul Pluzhnikov <ppluzhnikov@google.com>
14076
14077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14078 assembler not supporting AVX-512.
14079
14080 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14081
14082 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14083
14084 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14085
14086 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14087 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14088
14089 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14090
14091 * sysdeps/arm/libm-test-ulps: Regenerated.
14092
14093 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14094
14095 [BZ #19451]
14096 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14097
14098 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14099
14100 [BZ #19486]
14101 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14102 * sysdeps/generic/fix-fp-int-convert-overflow.h
14103 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14104 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14105 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14106 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14107 Likewise.
14108 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14109 Avoid conversions to long int where inexact exceptions
14110 could be raised.
14111 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14112 Likewise.
14113 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14114 Avoid conversions to long long int where inexact exceptions
14115 could be raised.
14116 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14117 Likewise.
14118
14119 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14120
14121 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14122 * configure: Regenerated.
14123
14124 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14125
14126 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14127
14128 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14129
14130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14131 outside of comment.
14132
14133 2016-01-15 Torvald Riegel <triegel@redhat.com>
14134
14135 * nptl/tst-barrier1.c: Add description on first line.
14136 * nptl/tst-barrier2.c: Likewise.
14137 * nptl/tst-barrier3.c: Likewise.
14138 * nptl/tst-barrier4.c: Likewise.
14139 * nptl/tst-barrier5.c: Likewise.
14140
14141 2016-01-15 Torvald Riegel <triegel@redhat.com>
14142
14143 [BZ #18868]
14144 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14145
14146 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14147
14148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14150 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14151 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14152 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14153 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14154 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14155 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14156 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14157 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14158 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14159
14160 2016-01-15 Torvald Riegel <triegel@redhat.com>
14161
14162 [BZ #13065]
14163 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14164 new implementation.
14165 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14166 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14167 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14168 (BARRIER_IN_THRESHOLD): New macro.
14169 * nptl/pthread_barrierattr_setpshared.c
14170 (pthread_barrierattr_setpshared): Clean up.
14171 * nptl/tst-barrier4.c: Correct comment.
14172 * nptl/tst-barrier5.c: New file.
14173 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14174 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14175 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14176 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14177 * nptl/lowlevelbarrier.sym: Remove.
14178 * nptl/DESIGN-barrier.txt: Remove.
14179 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14180 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14181 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14182 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14183 error.
14184 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14185 implementation.
14186
14187 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14188
14189 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14190 (do_child): Mask SIGRTMIN while thr is running.
14191
14192 2016-01-15 Martin Sebor <msebor@redhat.com>
14193
14194 [BZ #19432]
14195 * iconvdata/Makefile: Add bug-iconv11.
14196 * iconvdata/bug-iconv11.c: New test.
14197 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14198 * iconvdata/ibm933.c: Same.
14199 * iconvdata/ibm935.c: Same.
14200 * iconvdata/ibm937.c: Same.
14201 * iconvdata/ibm939.c: Same.
14202
14203 2016-01-15 Martin Sebor <msebor@redhat.com>
14204
14205 [BZ #19443]
14206 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14207 [DEBUG] (_ufc_set_bits): Declare used.
14208 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14209 [DEBUG] (print_all): Declare used.
14210 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14211 operands of the ternary ?: expression to target type.
14212 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14213 calling the undeclared abort.
14214 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14215
14216 2016-01-15 Martin Sebor <msebor@redhat.com>
14217
14218 [BZ #18755]
14219 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14220 warnings.
14221 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14222 (__gai_create_helper_thread): Same.
14223 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14224 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14225 to suppress -Wmaybe-uninitialized warnings.
14226
14227 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 [BZ #19465]
14230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14231 inside if.
14232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14235
14236 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 [BZ #19466]
14239 * time/tst-mktime2.c (time_t_max): Removed.
14240 (time_t_min): Likewise.
14241 (TYPE_SIGNED): New.
14242 (TYPE_MINIMUM): Likewise.
14243 (TYPE_MAXIMUM): Likewise.
14244 (TIME_T_MIN): Likewise.
14245 (TIME_T_MAX): Likewise.
14246 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14247 and TIME_T_MIN.
14248 (do_test): Likewise.
14249
14250 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14251
14252 [BZ #19467]
14253 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14254 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14255
14256 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14257
14258 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14259
14260 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14261
14262 * benchtests/Makefile (PYTHON): Define.
14263 (bench-func): Use $(PYTHON) to run python scripts.
14264 ($(objpfx)bench-%.c): Likewise.
14265
14266 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14267
14268 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14269 leading slash when `file_name' is "/".
14270
14271 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14272
14273 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14274 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14275 Likewise.
14276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14277 Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14279 Likewise.
14280 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14281 enum constant and macro.
14282 (PTRACE_SETSIGMASK): Likewise.
14283 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14284 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14285 (PTRACE_GETSIGMASK): Likewise.
14286 (PTRACE_SETSIGMASK): Likewise.
14287 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14288 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14289 Likewise.
14290 (PTRACE_SETSIGMASK): Likewise.
14291 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14293 (PTRACE_GETSIGMASK): Likewise.
14294 (PTRACE_SETSIGMASK): Likewise.
14295 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14297 Likewise.
14298 (PTRACE_SETSIGMASK): Likewise.
14299 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14301 Likewise.
14302 (PTRACE_SETSIGMASK): Likewise.
14303 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14304 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14305 Likewise.
14306 (PTRACE_SETSIGMASK): Likewise.
14307 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14308
14309 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14310 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14311
14312 [BZ #19439]
14313 * math/bits/mathcalls.h
14314 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14315 prototype.
14316 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14317
14318 2016-01-11 Andreas Schwab <schwab@suse.de>
14319
14320 [BZ #19253]
14321 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14322 cache when TZDEFRULES was used.
14323 * time/tst-tzname.c: New file.
14324 * time/Makefile (test): Add tst-tzname.
14325 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14326 * timezone/Makefile (test-zones): Add $(posixrules-file).
14327 ($(testdata)/$(posixrules-file)): New rule.
14328
14329 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14330
14331 Fix doc quoting problems with Texinfo 5
14332 Without this change, in the info file output, Texinfo 5 quotes code
14333 in text with undirected single quotes 'like this' and generates
14334 code examples that with many PDF readers cannot be cut out of PDFs
14335 and pasted into code.
14336 * manual/libc.texinfo: Configure the libc manual like the GNU
14337 Emacs manual, by using @documentencoding and setting
14338 txicodequoteundirected and txicodequotebacktick. This way,
14339 Texinfo 5 quotes code in text with directed single quotes ‘like
14340 this’ and produces examples that can be cut out of PDFs. This
14341 change causes Texinfo 5 to generate info files that contain UTF-8
14342 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14343 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14344
14345 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14346
14347 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14348 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14349 barriers to their respective compiler built-ins.
14350 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14351 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14352 * sysdeps/powerpc/sysdep.h: Likewise.
14353 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14354 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14355 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14356
14357 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14358
14359 * scripts/config.guess: Revert previous shebang change.
14360 * scripts/config.sub: Likewise.
14361 * scripts/mkinstalldirs: Likewise.
14362
14363 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14364
14365 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14366 PPC_FEATURE2_HAS_IEEE128.
14367 * sysdeps/powerpc/dl-procinfo.c:
14368 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14369
14370 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14371
14372 [BZ #19415]
14373 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14374 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14375 (_dl_lookup_address): Rewrite using function resolver trampoline.
14376 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14377 two bits in address.
14378
14379 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14380
14381 * longlong.h: Change !__SHMEDIA__ to
14382 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14383 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14384
14385 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14386 Joseph Myers <joseph@codesourcery.com>
14387 Mark Shinwell <shinwell@codesourcery.com>
14388 Andrew Stubbs <ams@codesourcery.com>
14389 Rich Felker <dalias@libc.org>
14390
14391 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14392
14393 2016-01-07 Richard Henderson <rth@redhat.com>
14394
14395 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14396
14397 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14398
14399 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14400 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14401 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14402 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14403 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14404
14405 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14406 Joseph Myers <joseph@codesourcery.com>
14407
14408 * timezone/private.h: Update from tzcode 2015g.
14409 * timezone/tzfile.h: Likewise.
14410 * timezone/tzselect.ksh: Likewise.
14411 * timezone/zdump.c: Likewise.
14412 * timezone/zic.c: Likewise.
14413 * timezone/ialloc.c: Remove file.
14414 * timezone/scheck.c: Likewise.
14415 * timezone/Makefile (extra-objs): Remove variable.
14416 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14417 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14418 -Wno-maybe-uninitialized.
14419 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14420 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14421 (CFLAGS-ialloc.c): Remove variable.
14422 (CFLAGS-scheck.c): Likewise.
14423 * timezone/README: Update list of files from tzcode.
14424
14425 2016-01-07 Khem Raj <raj.khem@gmail.com>
14426
14427 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14428 instead of __fxprintf when _LIBC is undefined.
14429
14430 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14431
14432 * catgets/test-gencat.sh: Remove space after shebang.
14433 * conform/GlibcConform.pm: Likewise.
14434 * conform/check-header-lists.sh: Likewise.
14435 * conform/conformtest.pl: Likewise.
14436 * conform/linknamespace.pl: Likewise.
14437 * conform/list-header-symbols.pl: Likewise.
14438 * debug/catchsegv.sh: Likewise.
14439 * elf/genrtldtbl.awk: Likewise.
14440 * elf/tst-pathopt.sh: Likewise.
14441 * elf/tst-rtld-load-self.sh: Likewise.
14442 * grp/tst_fgetgrent.sh: Likewise.
14443 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14444 * iconvdata/gen-8bit-gap.sh: Likewise.
14445 * iconvdata/gen-8bit.sh: Likewise.
14446 * iconvdata/run-iconv-test.sh: Likewise.
14447 * intl/tst-gettext.sh: Likewise.
14448 * intl/tst-gettext2.sh: Likewise.
14449 * intl/tst-gettext4.sh: Likewise.
14450 * intl/tst-gettext6.sh: Likewise.
14451 * intl/tst-translit.sh: Likewise.
14452 * io/ftwtest-sh: Likewise.
14453 * libio/test-freopen.sh: Likewise.
14454 * locale/gen-translit.pl: Likewise.
14455 * malloc/tst-mtrace.sh: Likewise.
14456 * manual/check-safety.sh: Likewise.
14457 * manual/libc-texinfo.sh: Likewise.
14458 * manual/tsort.awk: Likewise.
14459 * manual/xtract-typefun.awk: Likewise.
14460 * nptl/tst-cancel-wrappers.sh: Likewise.
14461 * nptl/tst-tls6.sh: Likewise.
14462 * posix/globtest.sh: Likewise.
14463 * posix/tst-getconf.sh: Likewise.
14464 * posix/wordexp-tst.sh: Likewise.
14465 * scripts/check-c++-types.sh: Likewise.
14466 * scripts/check-local-headers.sh: Likewise.
14467 * scripts/config.guess: Likewise.
14468 * scripts/config.sub: Likewise.
14469 * scripts/cpp: Likewise.
14470 * scripts/cross-test-ssh.sh: Likewise.
14471 * scripts/documented.sh: Likewise.
14472 * scripts/evaluate-test.sh: Likewise.
14473 * scripts/gen-libc-abis: Likewise.
14474 * scripts/gen-sorted.awk: Likewise.
14475 * scripts/list-fixed-bugs.py: Likewise.
14476 * scripts/merge-test-results.sh: Likewise.
14477 * scripts/mkinstalldirs: Likewise.
14478 * scripts/rellns-sh: Likewise.
14479 * scripts/test-installation.pl: Likewise.
14480 * scripts/update-copyrights: Likewise.
14481 * stdio-common/tst-printf.sh: Likewise.
14482 * stdio-common/tst-unbputc.sh: Likewise.
14483 * stdlib/tst-fmtmsg.sh: Likewise.
14484 * stdlib/tst-setcontext3.sh: Likewise.
14485 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14486 * sysdeps/unix/make-syscalls.sh: Likewise.
14487
14488 2016-01-06 John David Anglin <dave.anglin@bell.net>
14489
14490 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14491 asm stw with atomic_exchange_rel. Add explanatory comment.
14492 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14493 Likewise.
14494
14495 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14496
14497 [BZ #19122]
14498 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14499 * sysdeps/generic/dl-unistd.h: New file.
14500 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14501
14502 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14503
14504 [BZ #19122]
14505 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14506 * sysdeps/generic/dl-mman.h: New file.
14507 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14508
14509 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14510
14511 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14512 trailing whitespace removed.
14513 * scripts/config.guess: Update to version 2016-01-01.
14514 * scripts/config.sub: Update to version 2016-01-01.
14515 * scripts/move-if-change: Update from gnulib.
14516
14517 2016-01-04 Anton Blanchard <anton@samba.org>
14518
14519 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14520 for array indices.
14521 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14522
14523 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14524
14525 * NEWS: Update copyright dates.
14526 * catgets/gencat.c (print_version): Likewise.
14527 * csu/version.c (banner): Likewise.
14528 * debug/catchsegv.sh: Likewise.
14529 * debug/pcprofiledump.c (print_version): Likewise.
14530 * debug/xtrace.sh (do_version): Likewise.
14531 * elf/ldconfig.c (print_version): Likewise.
14532 * elf/ldd.bash.in: Likewise.
14533 * elf/pldd.c (print_version): Likewise.
14534 * elf/sotruss.sh: Likewise.
14535 * elf/sprof.c (print_version): Likewise.
14536 * iconv/iconv_prog.c (print_version): Likewise.
14537 * iconv/iconvconfig.c (print_version): Likewise.
14538 * locale/programs/locale.c (print_version): Likewise.
14539 * locale/programs/localedef.c (print_version): Likewise.
14540 * login/programs/pt_chown.c (print_version): Likewise.
14541 * malloc/memusage.sh (do_version): Likewise.
14542 * malloc/memusagestat.c (print_version): Likewise.
14543 * malloc/mtrace.pl: Likewise.
14544 * manual/libc.texinfo: Likewise.
14545 * nptl/version.c (banner): Likewise.
14546 * nscd/nscd.c (print_version): Likewise.
14547 * nss/getent.c (print_version): Likewise.
14548 * nss/makedb.c (print_version): Likewise.
14549 * posix/getconf.c (main): Likewise.
14550 * scripts/test-installation.pl: Likewise.
14551 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14552
14553 * All files with FSF copyright notices: Update copyright dates
14554 using scripts/update-copyrights.
14555 * intl/plural.c: Regenerated.
14556 * locale/programs/charmap-kw.h: Likewise.
14557 * locale/programs/locfile-kw.h: Likewise.
14558
14559 2016-01-02 Helge Deller <deller@gmx.de>
14560
14561 [BZ #19285]
14562 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14563 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14564 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14565 (MADV_xxK_PAGES): Remove.
14566
14567 2016-01-01 Mike Frysinger <vapier@gentoo.org>
14568
14569 [BZ #15421]
14570 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14571 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
14572 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14573 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14574
14575 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
14576
14577 [BZ #19408]
14578 * sysdeps/unix/sysv/linux/personality.c: New file.
14579 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14580 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14582 (sysdep_routines): Add personality.
14583 (tests): Add tst-personality.
14584 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14586 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14587 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14588 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14589 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14590 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14591 Likewise.
14592 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14593 Likewise.
14594 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14595 Likewise.
14596 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14598 Likewise.
14599
14600 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14601
14602 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14603 (PATH_ARM_SYSTYPE): Remove.
14604 (PATH_CPUINFO): Likewise.
14605 (IO_BASE_FOOTBRIDGE): Likewise.
14606 (IO_SHIFT_FOOTBRIDGE): Likewise.
14607 (struct platform): Likewise.
14608 (init_iosys): Remove compatibility code for 2.4 kernels.
14609 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14610
14611 2015-12-29 Florian Weimer <fweimer@redhat.com>
14612
14613 * malloc/tst-malloc-thread-fail.c: New file.
14614 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14615 (tst-malloc-thread-fail): Link against libpthread.
14616
14617 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14618
14619 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14620 (get_parser): New function.
14621 (main): New function.
14622
14623 2015-12-29 Rob Wu <rob@robwu.nl>
14624
14625 [BZ #19369]
14626 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14627
14628 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14629
14630 [BZ #19270]
14631 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14632
14633 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14634
14635 [BZ #15421]
14636 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14637
14638 2015-12-23 Torvald Riegel <triegel@redhat.com>
14639
14640 [BZ #13690]
14641 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14642 after releasing it.
14643 (__lll_robust_unlock): Likewise.
14644 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14645 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14646 (lll_robust_unlock): Likewise.
14647 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14648 Prevent warnings in callers.
14649
14650 2015-12-23 Florian Weimer <fweimer@redhat.com>
14651
14652 * malloc/arena.c (list_lock): Update comment.
14653
14654 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14655
14656 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14657 __parse_hwcap_and_convert_at_platform to libc.a.
14658
14659 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14660
14661 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14662 platform and feature support for POWER9.
14663 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14664 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14665 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14666 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14667 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14668 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14669 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14670 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14671
14672 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14673
14674 Harmonize generic stdio-lock support with nptl
14675
14676 This fixes build when _IO_funlockfile is a macro, fixes build where
14677 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14678 stack unwind.
14679
14680 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14681 _IO_release_lock ): Use cleanup attribute on new
14682 _IO_acquire_lock_file variable instead of assuming that
14683 _IO_release_lock will be called.
14684 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14685 _IO_acquire_lock_needs_exceptions_enabled.
14686 (_IO_acquire_lock_clear_flags2): New macro.
14687
14688 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14689
14690 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14691
14692 2015-12-21 Florian Weimer <fweimer@redhat.com>
14693
14694 [BZ #19182]
14695 * malloc/arena.c (list_lock): Document lock ordering requirements.
14696 (free_list_lock): New lock.
14697 (ptmalloc_lock_all): Comment on free_list_lock.
14698 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14699 (detach_arena): Update comment. free_list_lock is now needed.
14700 (_int_new_arena): Use free_list_lock around detach_arena call.
14701 Acquire arena lock after list_lock. Add comment, including FIXME
14702 about incorrect synchronization.
14703 (get_free_list): Switch to free_list_lock.
14704 (reused_arena): Acquire free_list_lock around detach_arena call
14705 and attached threads counter update. Add two FIXMEs about
14706 incorrect synchronization.
14707 (arena_thread_freeres): Switch to free_list_lock.
14708 * malloc/malloc.c (struct malloc_state): Update comments to
14709 mention free_list_lock.
14710
14711 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14712
14713 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14714 Remove functions.
14715 (sloww, sloww1): Accept argument to offset quadrant.
14716 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14717 quadrant.
14718 (__sin, __cos): Consolidate common code into new functions.
14719 (reduce_sincos_1, do_sincos_1): New functions.
14720 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14721
14722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14723 code to new functions.
14724 (reduce_sincos_2, do_sincos_2): New functions.
14725 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14726
14727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14728 common code for sincos.
14729 (__cos) [!IN_SINCOS]: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14731 New function.
14732 (__sincos): Use it.
14733
14734 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14735
14736 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14737 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14738 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14739
14740 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14741
14742 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14745 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14746 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14747 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14748 index_Prefer_No_VZEROUPPER): New feature.
14749 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14750 Prefer_No_VZEROUPPER for Knights Landing.
14751
14752 015-12-18 Torvald Riegel <triegel@redhat.com>
14753
14754 * math/atest-exp2.c (mp_exp_m1): Remove.
14755
14756 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14757
14758 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14759 syscalls.
14760 (__SYSCALL0): New macro.
14761 (__SYSCALL1): Likewise.
14762 (__SYSCALL2): Likewise.
14763 (__SYSCALL3): Likewise.
14764 (__SYSCALL4): Likewise.
14765 (__SYSCALL5): Likewise.
14766 (__SYSCALL6): Likewise.
14767 (__SYSCALL_CONCAT_X): Likewise.
14768 (__SYSCALL_CONCAT): Likewise.
14769 (__SYSCALL_DIST): Likewise.
14770 (__SYSCALL_CALL): Likewise.
14771
14772 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14773
14774 [BZ #19363]
14775 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14776
14777 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14778
14779 [BZ #19375]
14780 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14781 negative subnormals.
14782
14783 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14784
14785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14786 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14787 (INTERNAL_SYSCALL_NCS): Use it.
14788 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14789
14790 2015-12-16 Florian Weimer <fweimer@redhat.com>
14791
14792 [BZ #19243]
14793 * malloc/arena.c (get_free_list): Remove assert and adjust
14794 reference count handling. Add comment about reused_arena
14795 interaction.
14796 (reused_arena): Add comments abount get_free_list interaction.
14797 * malloc/tst-malloc-thread-exit.c: New file.
14798 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14799 (tst-malloc-thread-exit): Link against libpthread.
14800
14801 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14802
14803 [BZ #19367]
14804 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14805 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14806 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14807 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14808 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14809
14810 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14811
14812 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14813 Silvermont optimizations for Knights Landing.
14814
14815 2015-12-15 Andreas Schwab <schwab@suse.de>
14816
14817 [BZ #17197]
14818 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14819 immediately after emitting SI.
14820 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14821 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14822 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14823 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14824 * iconvdata/bug-iconv10.c: New file.
14825 * iconvdata/Makefile (tests): Add bug-iconv10.
14826 ($(objpfx)bug-iconv10.out): New rule.
14827
14828 2015-12-15 Florian Weimer <fweimer@redhat.com>
14829
14830 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14831 aliasing violation.
14832
14833 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14834
14835 [BZ #18472]
14836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14837 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14838 conditionals for them.
14839 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14840 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14842 sys/kdaemon.h.
14843 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14844 compat-only syscall, obsoleted in glibc 2.23.
14845 (create_module): Likewise.
14846 (get_kernel_syms): Likewise.
14847 (query_module): Likewise.
14848 (uselib): Likewise.
14849 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14850
14851 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14852
14853 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14854 <linux/version.h>.
14855 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14856 conditional code.
14857 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14858 and ioshift_name initialization.
14859
14860 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14861
14862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14863 Fix indentation.
14864
14865 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14866
14867 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14868
14869 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14870
14871 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14872
14873 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14874 Jakub Wilk <jwilk@debian.org>
14875
14876 [BZ #19347]
14877 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14878 to change the group of the device to the tty group.
14879
14880 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14881
14882 Split large string section; add truncation advice
14883 * manual/examples/strncat.c: Remove.
14884 This example was misleading, as the code would have undefined
14885 behavior if "hello" was longer than SIZE. Anyway, the manual
14886 shouldn't encourage strncpy+strncat for this sort of thing.
14887 * manual/string.texi (Copying Strings and Arrays): Split into
14888 three sections Copying Strings and Arrays, Concatenating Strings,
14889 and Truncating Strings, as this section was way too long. All
14890 cross-referenced changed. Add advice about string-truncation
14891 functions. Remove misleading strncat example.
14892
14893 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14894
14895 * manual/nss.texi (NSS Modules Interface): Document
14896 NSS_STATUS_NOTFOUND and SUCCESS.
14897
14898 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14899
14900 [BZ 18568]
14901 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14902 201505L, for Unicode 8.
14903
14904 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14905
14906 * locale/C-translit.h: Regenerate.
14907
14908 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14909
14910 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14911 and U+0153.
14912
14913 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14914
14915 [BZ #19351]
14916 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14917 expanding log(1+z), compare z rather than its square with epsilon
14918 to determine when to avoid evaluating the expansion.
14919
14920 [BZ #19350]
14921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14922 Increase overflow threshold.
14923
14924 [BZ #19349]
14925 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14926 when small.
14927
14928 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14929 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14930 New macro.
14931 [__LINUX_KERNEL_VERSION >= 0x040300]
14932 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14933 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14934 Likewise.
14935 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14936 Likewise.
14937 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14938 Likewise.
14939 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14940 Likewise.
14941 [__LINUX_KERNEL_VERSION >= 0x040300]
14942 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14943 [__LINUX_KERNEL_VERSION >= 0x040300]
14944 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14945 [__LINUX_KERNEL_VERSION >= 0x040300]
14946 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14947 [__LINUX_KERNEL_VERSION >= 0x040300]
14948 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14949 [__LINUX_KERNEL_VERSION >= 0x040300]
14950 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14951 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14952 Likewise.
14953 [__LINUX_KERNEL_VERSION >= 0x040300]
14954 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14955 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14956 Likewise.
14957 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14958 Likewise.
14959 [__LINUX_KERNEL_VERSION >= 0x040300]
14960 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14961 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14962 Likewise.
14963 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14964 Likewise.
14965 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14966 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14967 Likewise.
14968 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14969 Likewise.
14970 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14971 Likewise.
14972 [__LINUX_KERNEL_VERSION >= 0x040300]
14973 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14974 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14975 Likewise.
14976 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14977 Likewise.
14978 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14979 Likewise.
14980 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14981 Likewise.
14982 [__LINUX_KERNEL_VERSION >= 0x040300]
14983 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14984 [__LINUX_KERNEL_VERSION >= 0x040300]
14985 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14986 [__LINUX_KERNEL_VERSION >= 0x040300]
14987 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14988 [__LINUX_KERNEL_VERSION >= 0x040300]
14989 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14990 [__LINUX_KERNEL_VERSION >= 0x040300]
14991 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14992 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14993 Likewise.
14994 [__LINUX_KERNEL_VERSION >= 0x040300]
14995 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14996 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14997 Likewise.
14998 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14999 Likewise.
15000 [__LINUX_KERNEL_VERSION >= 0x040300]
15001 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15002 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15003 Likewise.
15004 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15005 Likewise.
15006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15007 (__ASSUME_SOCKET_SYSCALL): Likewise.
15008 (__ASSUME_BIND_SYSCALL): Likewise.
15009 (__ASSUME_CONNECT_SYSCALL): Likewise.
15010 (__ASSUME_LISTEN_SYSCALL): Likewise.
15011 (__ASSUME_ACCEPT_SYSCALL): Likewise.
15012 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15013 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15014 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15015 (__ASSUME_SEND_SYSCALL): Likewise.
15016 (__ASSUME_SENDTO_SYSCALL): Likewise.
15017 (__ASSUME_RECV_SYSCALL): Likewise.
15018 (__ASSUME_RECVFROM_SYSCALL): Likewise.
15019 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15020 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15021 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15022 (__ASSUME_SENDMSG_SYSCALL): Likewise.
15023 (__ASSUME_RECVMSG_SYSCALL): Likewise.
15024 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15025 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15026 Likewise.
15027 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15028 Likewise.
15029 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15030 Likewise.
15031 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15032 Likewise.
15033 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15034 Likewise.
15035 [__LINUX_KERNEL_VERSION >= 0x020625]
15036 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15037 [__LINUX_KERNEL_VERSION >= 0x020625]
15038 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15039 [__LINUX_KERNEL_VERSION >= 0x020625]
15040 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15041 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15042 Likewise.
15043 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15044 Likewise.
15045 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15046 Likewise.
15047 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15048 Likewise.
15049 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15050 Likewise.
15051 [__LINUX_KERNEL_VERSION >= 0x020625]
15052 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15053 [__LINUX_KERNEL_VERSION >= 0x020625]
15054 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15055 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15056 Likewise.
15057 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15058 Likewise.
15059
15060 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15061
15062 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15063 record the current if the current ABI and CPU support the FP64
15064 extension.
15065 (has-modd-spreg): Define to record the current if the current ABI and
15066 CPU support 32-bit floating point values in odd FPU registers.
15067 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15068 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15069 $(has-modd-spreg) equals yes.
15070 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15071 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15072 $(has-modd-spreg) equal yes.
15073
15074 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15075
15076 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15077 basename.
15078
15079 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15080
15081 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15082 (bench-string): ... here.
15083 (bench): Add bench-string.
15084 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15085 to *-benchset to reflect what they are.
15086 (benchset): Adjust.
15087
15088 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15089 cos-inputs.
15090
15091 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15092
15093 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15094 __attribute__ ((__simd__)) for vector math function declarations.
15095
15096 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15097
15098 Fix typo in strncat, wcsncat manual entries
15099 * manual/string.texi (Copying and Concatenation): Fix typos in
15100 sample implementations of strncat and wcsncat, by having them use
15101 the old value of the destination length, not the new one.
15102
15103 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15104
15105 [BZ #16961]
15106 [BZ #16962]
15107 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15108 string on the stack for strtod.
15109 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15110 a string on the stack for strtof.
15111 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15112 constructing a string on the stack for strtold.
15113 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15114 __strtold_nan to GLIBC_PRIVATE.
15115 * math/test-nan-overflow.c: New file.
15116 * math/test-nan-payload.c: Likewise.
15117 * math/Makefile (tests): Add test-nan-overflow and
15118 test-nan-payload.
15119
15120 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15121
15122 Consistency about byte vs character in string.texi
15123 * manual/string.texi (String and Array Utilities):
15124 Distinguish more carefully among bytes, multibyte characters,
15125 and wide characters. Use "byte" when talking about C 'char',
15126 to distinguish it more clearly from multibyte characters.
15127 Say "wide character" or "multibyte character" instead of
15128 "character", when a wide or multibyte character is intended.
15129 Similarly for "multibyte string" versus "string".
15130 Define these terms more carefully.
15131
15132 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15133
15134 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15135 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15136 Likewise.
15137 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15138 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15139 * sysdeps/sh/math_private.h: New file.
15140 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15141 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15142 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15143 long double function name.
15144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15150 Remove __finitel, __isinfl, and __isnanl.
15151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15152 Likewise.
15153 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15155 Remove __finitel.
15156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15157 Likewise.
15158 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15159
15160 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15161
15162 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15163 installed libmvec_nonshared.a.
15164
15165 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15166
15167 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15168 (sysdep_routines): Likewise.
15169 (sysdep-rtld-routines): Likewise.
15170 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15171 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15172 * sysdeps/powerpc/Versions: Added new
15173 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15174 * sysdeps/powerpc/hwcapinfo.c: New file.
15175 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15176 and parse hwcap, hwcap2 and platform number information.
15177 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15178 to store HWCAP+HWCAP2 and platform number.
15179 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15180 for HWCAP+HWCAP2 and platform number in the TCB.
15181 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15182 the HWCAP, HWCAP2 and platform number in the TCB.
15183 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15184 (TLS_INIT_TP): Included calls to add the hwcap and
15185 at_platform values in the TCB in TP initialization.
15186 (TLS_DEFINE_INIT_TP): Likewise.
15187 (THREAD_GET_HWCAP): New macro.
15188 (THREAD_SET_HWCAP): Likewise.
15189 (THREAD_GET_AT_PLATFORM): Likewise.
15190 (THREAD_SET_AT_PLATFORM): Likewise.
15191 * sysdeps/powerpc/powerpc32/dl-machine.h:
15192 (dl_platform_init): New function that calls
15193 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15194 powerpc32.
15195 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15196 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15197 this functionality, static linking case.
15198 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15199 linking case.
15200 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15201 __parse_hwcap_and_convert_at_platform for the static linking case.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15203 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15204 ABI list for GLIBC 2.23.
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15206 Likewise.
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15208 Likewise.
15209
15210 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15211
15212 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15213 * configure: Regenerate.
15214 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15215 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15216
15217 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15218
15219 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15220 * iconvdata/ibm933.c: Likewise.
15221 * iconvdata/ibm935.c: Likewise.
15222 * iconvdata/ibm937.c: Likewise.
15223 * iconvdata/ibm939.c: Likewise.
15224
15225 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15226
15227 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15228 pthread_join.
15229 * nptl/tst-cancel21.c (tf): Likewise.
15230
15231 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 [BZ #19313]
15234 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15235 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15236 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15237 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15238 Likewise.
15239 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15240 Likewise.
15241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15242 Likewise.
15243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15244 Likewise.
15245 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15246 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15247 unsigned long int with __CPU_MASK_TYPE.
15248
15249 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15250
15251 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15252
15253 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15254
15255 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15256 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15257 t512.x.
15258 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15259
15260 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15261
15262 [BZ #19214]
15263 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15264 argument to return extended model. Update family and model
15265 with extended family and model when family == 0x0f.
15266 (init_cpu_features): Updated.
15267
15268 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15269
15270 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15271 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15272
15273 * sysdeps/mach/hurd/mmap64.c: New file.
15274
15275 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15276
15277 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15278 rights for its main user thread in NEWTASK.
15279
15280 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15281
15282 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15283 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15284
15285 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15286
15287 [BZ #14259]
15288 * Makeconfig: Rename localedir to complocaledir.
15289 Rename inst_localedir to inst_complocaledir.
15290 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15291 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15292 * configure.ac: Use libc_cv_complocaledir.
15293 * configure: Regenerate.
15294 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15295 -DCOMPLOCALEDIR.
15296 * locale/findlocale.c: Use COMPLOCALEDIR.
15297 * locale/loadarchive.c: Likewise.
15298 * locale/programs/locale.c: Likewise.
15299 * locale/programs/localedef.c: Likewise.
15300 * locale/programs/locarchive.c: Likewise.
15301 * localedata/Makefile: Use inst_complocaledir.
15302 * sysdeps/gnu/configure: Regenerate.
15303 * sysdeps/hppa/configure: Regenerate.
15304 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15305 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15307 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15308 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15309 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15310 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15311
15312 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15313
15314 [BZ #19058]
15315 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15316 AS_NEEDED.
15317 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15318 workaround.
15319 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15320 libmvec-static-only-routines): Added new file.
15321 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15322
15323 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15324
15325 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15326 of interrupted RPC instead of restoring it.
15327
15328 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15329 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15330 libc_hidden_def.
15331 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15332 into initialized data instead of common. Define rtld_hidden_data_def.
15333 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15334 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15335 libc_hidden_def.
15336 (if_freenameindex): Add libc_hidden_weak.
15337 (if_nameindex): Add libc_hidden_weak.
15338 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15339 __open64.
15340 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15341 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15342 * sysdeps/mach/nanosleep.c: Include <time.h>
15343 (__nanosleep): Rename to __libc_nanosleep.
15344 (__nanosleep): Add weak_alias.
15345 (nanosleep): Update alias.
15346
15347 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15348
15349 * stdlib/strtod_nan.c: New file.
15350 * stdlib/strtod_nan_double.h: Likewise.
15351 * stdlib/strtod_nan_float.h: Likewise.
15352 * stdlib/strtod_nan_main.c: Likewise.
15353 * stdlib/strtod_nan_narrow.h: Likewise.
15354 * stdlib/strtod_nan_wide.h: Likewise.
15355 * stdlib/strtof_nan.c: Likewise.
15356 * stdlib/strtold_nan.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15359 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15360 * wcsmbs/wcstod_nan.c: Likewise.
15361 * wcsmbs/wcstof_nan.c: Likewise.
15362 * wcsmbs/wcstold_nan.c: Likewise.
15363 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15364 strtold_nan.
15365 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15366 wcstof_nan.
15367 * include/stdlib.h (__strtof_nan): Declare and use
15368 libc_hidden_proto.
15369 (__strtod_nan): Likewise.
15370 (__strtold_nan): Likewise.
15371 (__wcstof_nan): Likewise.
15372 (__wcstod_nan): Likewise.
15373 (__wcstold_nan): Likewise.
15374 * include/wchar.h (____wcstoull_l_internal): Declare.
15375 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15376 (____strtoull_l_internal): Remove declaration.
15377 (STRTOF_NAN): Define macro.
15378 (SET_MANTISSA): Remove macro.
15379 (STRTOULL): Likewise.
15380 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15381 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15382 (STRTOF_NAN): Define macro.
15383 (SET_MANTISSA): Remove macro.
15384 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15385 (SET_MANTISSA): Remove macro.
15386 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15387 macro.
15388 (SET_MANTISSA): Remove macro.
15389 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15390 macro.
15391 (SET_MANTISSA): Remove macro.
15392 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15393 (SET_MANTISSA): Remove macro.
15394 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15395 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15396 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15397
15398 [BZ #19266]
15399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15400 upper case and lower case letters inside NAN(), not using TOLOWER.
15401 * stdlib/tst-strtod-nan-locale-main.c: New file.
15402 * stdlib/tst-strtod-nan-locale.c: Likewise.
15403 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15404 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15405 Depend on $(gen-locales).
15406 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15407 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15408 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15409 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15410 Depend on $(gen-locales).
15411 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15412
15413 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15414
15415 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15416
15417 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15419 __finitel, __isinfl, and __isnanl.
15420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15421 Likewise.
15422 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15424 __finitel.
15425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15426 Likewise.
15427 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15428
15429 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15430
15431 * malloc/memusage.c (me): Remove redundant getenv call.
15432
15433 2015-10-24 Florian Weimer <fweimer@redhat.com>
15434
15435 [BZ #19143]
15436 [BZ #19164]
15437 * nptl/check-cpuset.h: Remove.
15438 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15439 Remove CPU set size check.
15440 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15441 Likewise.
15442 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15443 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15444 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15445 (__pthread_setaffinity_new): Remove CPU set size check.
15446 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15447 (__kernel_cpumask_size): Remove.
15448 (__sched_setaffinity_new): Remove CPU set size check.
15449 * manual/threads.texi (Default Thread Attributes): Remove stale
15450 reference to check_cpuset_attr, determine_cpumask_size in comment.
15451 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15452 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15453 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15454 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15455 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15456 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15457 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15458 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15459 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15460 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15461 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15462 skeleton test file.
15463 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15464 tst-affinity-pid.
15465
15466 2015-11-24 Florian Weimer <fweimer@redhat.com>
15467
15468 * scripts/update-abilist.sh: New file.
15469 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15470 * Makerules (update-all-abi-%, update-all-abi)
15471 (subdir_update-all-abi): New targets.
15472 * elf/Makefile (update-all-abi): New target.
15473
15474 2015-11-24 Florian Weimer <fweimer@redhat.com>
15475
15476 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15477 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15478 (__libc_lock_define_initialized): Use it.
15479 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15480 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15481 * malloc/malloc.c (main_arena): Likewise.
15482 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15483 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15484
15485 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15486
15487 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15488 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15489 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15490 (PTRACE_O_MASK): Update value.
15491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15492 New value in enum __ptrace_setoptions.
15493 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15494 (PTRACE_O_MASK): Update value.
15495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15496 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15497 (PTRACE_O_MASK): Update value.
15498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15499 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15500 (PTRACE_O_MASK): Update value.
15501 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15502 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15503 (PTRACE_O_MASK): Update value.
15504 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15505 New value in enum __ptrace_setoptions.
15506 (PTRACE_O_MASK): Update value.
15507 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15508 New value in enum __ptrace_setoptions.
15509 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15510 (PTRACE_O_MASK): Update value.
15511
15512 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15513 New macro.
15514 (PACKET_AUXDATA): Likewise.
15515 (PACKET_ORIGDEV): Likewise.
15516 (PACKET_VERSION): Likewise.
15517 (PACKET_HDRLEN): Likewise.
15518 (PACKET_RESERVE): Likewise.
15519 (PACKET_TX_RING): Likewise.
15520 (PACKET_LOSS): Likewise.
15521 (PACKET_VNET_HDR): Likewise.
15522 (PACKET_TX_TIMESTAMP): Likewise.
15523 (PACKET_TIMESTAMP): Likewise.
15524 (PACKET_FANOUT): Likewise.
15525 (PACKET_TX_HAS_OFF): Likewise.
15526 (PACKET_QDISC_BYPASS): Likewise.
15527 (PACKET_ROLLOVER_STATS): Likewise.
15528 (PACKET_FANOUT_DATA): Likewise.
15529 (PACKET_MR_UNICAST): Likewise.
15530
15531 [BZ #19242]
15532 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15533 (TOUPPER): Likewise.
15534 * stdlib/tst-strtol-locale-main.c: New file.
15535 * stdlib/tst-strtol-locale.c: Likewise.
15536 * stdlib/Makefile (tests): Add tst-strtol-locale.
15537 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15538 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15539 Depend on $(gen-locales).
15540 * wcsmbs/tst-wcstol-locale.c: New file.
15541 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15542 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15543 tr_TR.ISO-8859-9.
15544 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15545 Depend on $(gen-locales).
15546
15547 2015-11-20 Roland McGrath <roland@hack.frob.com>
15548
15549 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15550 __glibc_likely instead of __builtin_expect. After falling back to
15551 dyncode_create in a non-ET_DYN case, use the allocate_code_data
15552 system interface to register the code pages as occupied.
15553
15554 2015-11-20 Joseph Myers <joseph@codesourcery.com>
15555
15556 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15557 [!ARM_MATH_PRIVATE_H].
15558 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15559 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15560 [!HPPA_MATH_PRIVATE_H].
15561 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15562 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15563 to [!I386_MATH_PRIVATE_H].
15564 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15565 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15566 Change guard to [!M68K_MATH_PRIVATE_H].
15567 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15568 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15569 guard to [!MICROBLAZE_MATH_PRIVATE_H].
15570 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15571 macro.
15572 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15573 [!MIPS_MATH_PRIVATE_H].
15574 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15575 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15576 [!NIO2_MATH_PRIVATE_H].
15577 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15578 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15579 [!TILE_MATH_PRIVATE_H].
15580 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15581
15582 [BZ #15421]
15583 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15584 initialize with 0 and define as weak alias of __signgam.
15585 * include/math.h [!_ISOMAC] (__signgam): Declare.
15586 * math/Makefile (libm-calls): Add w_lgamma_compat.
15587 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15588 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15589 test-signgam-ullong-init.
15590 (tests-static): Add test-signgam-uchar-static,
15591 test-signgam-uchar-init-static, test-signgam-uint-static,
15592 test-signgam-uint-init-static, test-signgam-ullong-static and
15593 test-signgam-ullong-init-static.
15594 (CFLAGS-test-signgam-uchar.c): New variable.
15595 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15596 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15597 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15598 (CFLAGS-test-signgam-uint.c): Likewise.
15599 (CFLAGS-test-signgam-uint-init.c): Likewise.
15600 (CFLAGS-test-signgam-uint-static.c): Likewise.
15601 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15602 (CFLAGS-test-signgam-ullong.c): Likewise.
15603 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15604 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15605 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15606 * math/Versions (libm): Add GLIBC_2.23.
15607 * math/lgamma-compat.h: New file.
15608 * math/test-signgam-main.c: Likewise.
15609 * math/test-signgam-uchar-init-static.c: Likewise.
15610 * math/test-signgam-uchar-init.c: Likewise.
15611 * math/test-signgam-uchar-static.c: Likewise.
15612 * math/test-signgam-uchar.c: Likewise.
15613 * math/test-signgam-uint-init-static.c: Likewise.
15614 * math/test-signgam-uint-init.c: Likewise.
15615 * math/test-signgam-uint-static.c: Likewise.
15616 * math/test-signgam-uint.c: Likewise.
15617 * math/test-signgam-ullong-init-static.c: Likewise.
15618 * math/test-signgam-ullong-init.c: Likewise.
15619 * math/test-signgam-ullong-static.c: Likewise.
15620 * math/test-signgam-ullong.c: Likewise.
15621 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15622 wrapper of w_lgamma_main.c.
15623 * math/w_lgamma_compat.c: New file.
15624 * math/w_lgamma_compatf.c: Likewise.
15625 * math/w_lgamma_compatl.c: Likewise.
15626 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15627 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15628 defining compatibility symbols.
15629 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15630 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15631 wrapper of w_lgammaf_main.c.
15632 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15633 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15634 defining compatibility symbols.
15635 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15636 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15637 wrapper of w_lgammal_main.c.
15638 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15639 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15640 defining compatibility symbols.
15641 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15642 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15643 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15644 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15645 <lgamma-compat.h>.
15646 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15647 (__ieee754_gamma): Define as alias.
15648 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15649 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15650 <lgamma-compat.h>.
15651 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15652 (__ieee754_gammaf): Define as alias.
15653 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15654 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15655 <lgamma-compat.h>.
15656 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15657 (__ieee754_gammal): Define as alias.
15658 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15659 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15660 <math/w_lgamma_compat.c>.
15661 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15662 Define as alias of __lgamma_compat and use in defining lgammal.
15663 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15664 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15665 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15666 (USE_AS_COMPAT): New macro.
15667 (LGAMMA_OLD_VER): Undefine and redefine.
15668 (lgammal): Do not define here.
15669 (gammal): Only define here if [GAMMA_ALIAS].
15670 * conform/linknamespace.pl (@whitelist): Remove signgam.
15671 * sysdeps/nacl/libm.abilist: Update.
15672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15673 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15674 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15675 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15677 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15679 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15681 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15683 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15685 Likewise.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15687 Likewise.
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15689 Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15691 Likewise.
15692 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15700 Likewise.
15701 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15704
15705 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15706
15707 [BZ #16364]
15708 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15709 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15710
15711 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15712
15713 * sysdeps/s390/fpu/bits/mathinline.h:
15714 Use __asm__ [__volatile__] instead of asm [volatile].
15715 * sysdeps/s390/abort-instr.h: Likewise.
15716 * sysdeps/s390/atomic-machine.h: Likewise.
15717 * sysdeps/s390/bits/string.h: Likewise.
15718 * sysdeps/s390/dl-tls.h: Likewise.
15719 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15720 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15721 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15722 * sysdeps/s390/fpu/fesetround.c: Likewise.
15723 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15724 * sysdeps/s390/fpu/s_fma.c: Likewise.
15725 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15726 * sysdeps/s390/memusage.h: Likewise.
15727 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15728 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15729 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15730 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15731 * sysdeps/s390/nptl/tls.h: Likewise.
15732 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15733 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15734 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15735 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15736 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15737 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15738 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15739 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15740 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15741 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15742 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15743 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15744 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15745 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15746 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15747 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15748 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15749 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15750 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15752 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15754 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15755
15756 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15757 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15758
15759 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15760 Add lwarx hint, and use macro for acquire instruction.
15761 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15762 Likewise.
15763 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15764 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15765 update to use new atomic macros.
15766
15767 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15768
15769 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15770 (__lll_trylock_elision): Fix setting of adapt_count.
15771 * sysdeps/unix/sysv/linux/powerpc/htm.h
15772 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15773 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15774 (_ABORT_SYSCALL): Renumber, and clarify definition.
15775 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15776
15777 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15778
15779 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15780 after system headers to prevent MIN/MAX redefinition. Define
15781 HAVE_ALLOCA to preserve builtin alloca usage.
15782
15783 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15784
15785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15786 static and don't set or restore rounding.
15787 (__cos)[IN_SINCOS]: Likewise.
15788 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15789 (__sincos): Set and restore rounding mode. Remove check for infinite
15790 or NaN input.
15791
15792 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15793
15794 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15795 as used.
15796
15797 2015-11-16 Florian Weimer <fweimer@redhat.com>
15798
15799 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15800
15801 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15802
15803 * config.make.in (have-glob-dat-reloc): New.
15804 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15805 target supports GLOB_DAT relocaton. AC_SUBST.
15806 * configure: Regenerated.
15807 * elf/Makefile (tests): Add tst-prelink.
15808 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15809 (tst-prelink-ENV): New.
15810 ($(objpfx)tst-prelink-conflict.out): Likewise.
15811 ($(objpfx)tst-prelink-cmp.out): Likewise.
15812 * sysdeps/x86/tst-prelink.c: Moved to ...
15813 * elf/tst-prelink.c: Here.
15814 * sysdeps/x86/tst-prelink.exp: Moved to ...
15815 * elf/tst-prelink.exp: Here.
15816 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15817 (tst-prelink-ENV): Removed.
15818 ($(objpfx)tst-prelink-conflict.out): Likewise.
15819 ($(objpfx)tst-prelink-cmp.out): Likewise.
15820 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15821
15822 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15823
15824 [BZ #14551]
15825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15826 (__mpn_construct_long_double): If high part overflows to infinity,
15827 set errno and recompute overflowed result of the correct sign.
15828 * sysdeps/ieee754/ldbl-128ibm/Makefile
15829 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15830 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15831 $(libm).
15832 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15833
15834 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15835
15836 [BZ #15479]
15837 [BZ #19238]
15838 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15839 floating-point state after first operation on input. Restore full
15840 state rather than just rounding mode.
15841 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15842 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15843 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15844
15845 [BZ #19235]
15846 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15847 add 0.5 to integer arguments.
15848 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15849 Likewise.
15850 (.LC2): New object.
15851
15852 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15853
15854 * scripts/pylintrc (reports): Set to no.
15855
15856 2015-11-10 Roland McGrath <roland@hack.frob.com>
15857
15858 * elf/dl-load.c (open_verify): Take new argument FD.
15859 Skip __open call if passed FD is not -1.
15860 (_dl_map_object, open_path): Update callers.
15861 * elf/dl-sysdep-open.h: New file.
15862 * elf/dl-load.c: Include it.
15863 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15864 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15865 * sysdeps/nacl/dl-sysdep-open.h: New file.
15866 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15867 from libc to rtld.
15868
15869 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15870
15871 [BZ #19228]
15872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15873 and restore full floating-point state.
15874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15875 Likewise.
15876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15877 Likewise.
15878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15879 Likewise.
15880 * math/test-nearbyint-except-2.c: New file.
15881 * math/Makefile (tests): Add test-nearbyint-except-2.
15882
15883 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15884
15885 [BZ #19178]
15886 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15887 (tst-prelink-ENV): New.
15888 ($(objpfx)tst-prelink-conflict.out): Likewise.
15889 ($(objpfx)tst-prelink-cmp.out): Likewise.
15890 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15891 * sysdeps/x86/tst-prelink.c: New file.
15892 * sysdeps/x86/tst-prelink.exp: Likewise.
15893
15894 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15895
15896 * math/auto-libm-test-in: Add another test of pow.
15897 * math/auto-libm-test-out: Regenerated.
15898 * math/libm-test.inc (pow_test_data): Add another test.
15899
15900 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15901
15902 [BZ #19219]
15903 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15904 weak_alias to nearbyintl.
15905
15906 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15907
15908 * sysdeps/aarch64/bits/string.h: New file.
15909 (_STRING_ARCH_unaligned): Define.
15910
15911 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15912
15913 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15914 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15915 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15916 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15918
15919 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15920
15921 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15922 for original name of the DSO. Add it to the name list of the DSO
15923 if it is actually given.
15924 (_dl_map_object): Keep track of whether an audit module rewrote
15925 the file name. If yes, pass the original name to
15926 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15927 debugging is enabled, log the change of the file name.
15928 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15929 _dl_map_object_from_fd.
15930 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15931 * elf/tst-audit11.c: New file
15932 * elf/tst-auditmod11.c: New file.
15933 * elf/tst-audit11mod1.c: New file.
15934 * elf/tst-audit11mod2.c: New file.
15935 * elf/tst-audit11mod2.map: New file.
15936 * elf/tst-audit12.c: New file
15937 * elf/tst-auditmod12.c: New file.
15938 * elf/tst-audit12mod1.c: New file.
15939 * elf/tst-audit12mod2.c: New file.
15940 * elf/tst-audit12mod2.map: New file.
15941 * elf/tst-audit12mod3.c: New file.
15942
15943 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15944
15945 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15946 Don't create weak aliases,
15947 because versioned symbols are created later.
15948 * sysdeps/s390/s390-32/setjmp.S
15949 (setjmp, _setjmp): Remove weak and rename to an unique name
15950 in SHARED case due to existing versioned symbols.
15951 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15952 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15953 (getcontext): Create weak alias only in non SHARED case.
15954 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15955
15956 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15957
15958 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15959 (__ASSUME_*_SYSCALL) Define new macros.
15960 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15961 Remove socketcall syscalls.
15962 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15963 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15964 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15965 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15966 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15967 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15968
15969 2015-11-09 Florian Weimer <fweimer@redhat.com>
15970
15971 [BZ #12926]
15972 Terminate process on invalid netlink response.
15973 * sysdeps/unix/sysv/linux/netlinkaccess.h
15974 (__netlink_assert_response): Declare.
15975 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15976 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15977 (sysdep_routines): Add netlink_assert_response.
15978 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15979 __netlink_assert_response.
15980 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15981 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15982 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15983 __netlink_assert_response.
15984
15985 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15986
15987 [BZ #19178]
15988 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15989 (RTYPE_CLASS_PLT): Likewise.
15990 (RTYPE_CLASS_COPY): Likewise.
15991 (RTYPE_CLASS_TLS): Likewise.
15992 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15993 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15994 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15995 DL_DEBUG_PRELINK.
15996
15997 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15998
15999 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16000 calls with argument -0.5.
16001 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16002
16003 * configure.ac (libc_cv_z_nodelete): Remove configure test.
16004 (libc_cv_z_nodlopen): Likewise.
16005 (libc_cv_z_initfirst): Likewise.
16006 * configure: Regenerated.
16007
16008 2015-11-06 Florian Weimer <fweimer@redhat.com>
16009
16010 Simplify abilist format to be line-based.
16011 * scripts/abilist.awk: Collect descriptors in the descs variable.
16012 (emit): Write descs variable and sort it
16013 externally, with sort.
16014 * sysdeps/**/*.abilist: Convert to new format.
16015
16016 2015-11-06 Mark Wielaard <mjw@redhat.com>
16017
16018 [BZ #11460]
16019 * io/Makefile (routines): Add fts64.
16020 (tests): Add tst-fts and tst-fts-lfs.
16021 (CFLAGS-fts64.c): New.
16022 * io/Versions (GLIBC_2.23): New.
16023 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16024 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16025 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16026 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16027 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16028 (FTSENT64): Likewise.
16029 (fts64_children): Likewise.
16030 (fts64_close): Likewise.
16031 (fts64_open): Likewise.
16032 (fts64_read): Likewise.
16033 (fts64_set): Likewise.
16034 * io/fts64.c: New file.
16035 * io/tst-fts.c: New test.
16036 * io/tst-fts-lfs.c: Likewise.
16037 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16038 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16039 fts64_set.
16040 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16054 Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16056 Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16069 * sysdeps/wordsize-64/fts.c: New file.
16070 * sysdeps/wordsize-64/fts64.c: Likewise.
16071 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16072 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16073 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16075
16076 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16077
16078 * math/libm-test.inc (NON_FINITE): New macro.
16079 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16080 * math/gen-libm-test.pl (show_exceptions): Add argument
16081 $non_finite.
16082 (parse_args): Update call to show_exceptions.
16083 * math/test-math-finite.h: New file.
16084 * math/test-math-no-finite.h: Likewise.
16085 * math/test-double-finite.c: Likewise.
16086 * math/test-float-finite.c: Likewise.
16087 * math/test-ldouble-finite.c: Likewise.
16088 * math/test-double.c: Include "test-math-no-finite.h".
16089 * math/test-float.c: Include "test-math-no-finite.h".
16090 * math/test-ldouble.c: Include "test-math-no-finite.h".
16091 * math/test-math-inline.h (TEST_FINITE): New macro.
16092 * math/test-math-vector.h (TEST_FINITE): Likewise.
16093 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16094 (libm-tests): Add test-float-finite and test-double-finite.
16095 ($(objpfx)test-float-finite.o): New dependency on
16096 $(objpfx)libm-test.stmp.
16097 ($(objpfx)test-double-finite.o): Likewise.
16098 ($(objpfx)test-ldouble-finite.o): Likewise.
16099 (libm-test-no-inline-cflags): New variable.
16100 (libm-test-finite-cflags): Likewise.
16101 (CFLAGS-test-float-finite.c): Likewise.
16102 (CFLAGS-test-double-finite.c): Likewise.
16103 (CFLAGS-test-ldouble-finite.c): Likewise.
16104 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16105 (CFLAGS-test-double.c): Likewise.
16106 (CFLAGS-test-ldouble.c): Likewise.
16107
16108 2015-11-05 Roland McGrath <roland@hack.frob.com>
16109
16110 * io/fcntl.c (__fcntl): Add ... to prototype.
16111 * misc/ioctl.c (__ioctl): Likewise.
16112 * misc/syscall.c (syscall): Likewise.
16113
16114 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16115
16116 * scripts/list-fixed-bugs.py: New file.
16117
16118 [BZ #19213]
16119 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16120 returned for argument 1.
16121 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16122 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16123 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16124 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16125 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16126 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16127
16128 [BZ #19211]
16129 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16130 __USE_XOPEN], not if [!__USE_ISOC99].
16131 (lgammaf): Likewise.
16132 (lgammal): Likewise.
16133 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16134 (gammaf): Likewise.
16135 (gammal): Likewise.
16136 * math/test-signgam-finite-c11.c: New file.
16137 * math/test-signgam-finite-c99.c: Likewise.
16138 * math/test-signgam-finite.c: Likewise.
16139 * math/Makefile (tests): Add test-signgam-finite,
16140 test-signgam-finite-c99 and test-signgam-finite-c11.
16141 (CFLAGS-test-signgam-finite.c): New variable.
16142 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16143 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16144
16145 [BZ #19212]
16146 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16147 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16148 500].
16149 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16150 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16151 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16152 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16153 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16154 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16155 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16156 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16157 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16158 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16159
16160 [BZ #19209]
16161 * math/bits/math-finite.h (ldexp): Remove declaration.
16162 (ldexpf): Likewise.
16163 (ldexpl): Likewise.
16164
16165 [BZ #19205]
16166 * math/bits/math-finite.h (acosf): Condition declaration on
16167 [__USE_ISOC99].
16168 (acosl): Likewise.
16169 (acoshf): Likewise.
16170 (acoshl): Likewise.
16171 (asinf): Likewise.
16172 (asinl): Likewise.
16173 (atan2f): Likewise.
16174 (atan2l): Likewise.
16175 (atanhf): Likewise.
16176 (atanhl): Likewise.
16177 (coshf): Likewise.
16178 (coshl): Likewise.
16179 (expf): Likewise.
16180 (expl): Likewise.
16181 (fmodf): Likewise.
16182 (fmodl): Likewise.
16183 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16184 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16185 (j0l): Likewise.
16186 (y0f): Likewise.
16187 (y0l): Likewise.
16188 (j1f): Likewise.
16189 (j1l): Likewise.
16190 (y1f): Likewise.
16191 (y1l): Likewise.
16192 (jnf): Likewise.
16193 (jnl): Likewise.
16194 (ynf): Likewise.
16195 (ynl): Likewise.
16196 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16197 (lgammal_r): Likewise.
16198 (__lgamma_r_finite): New declaration.
16199 (__lgammaf_r_finite): Likewise.
16200 (__lgammal_r_finite): Likewise.
16201 (lgamma): Use __lgamma_r_finite.
16202 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16203 __lgammaf_r_finite.
16204 (lgammal): Condition definition on [__USE_ISOC99]. Use
16205 __lgammal_r_finite.
16206 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16207 __lgamma_r_finite.
16208 (gammaf): Condition definition on [__USE_ISOC99]. Use
16209 __lgammaf_r_finite.
16210 (gammal): Condition definition on [__USE_ISOC99]. Use
16211 __lgammal_r_finite.
16212 (logf): Condition declaration on [__USE_ISOC99].
16213 (logl): Likewise.
16214 (log10f): Likewise.
16215 (log10l): Likewise.
16216 (ldexpf): Likewise.
16217 (ldexpl): Likewise.
16218 (powf): Likewise.
16219 (powl): Likewise.
16220 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16221 __USE_ISOC99].
16222 (remainderf): Condition declaration on [__USE_ISOC99].
16223 (remainderl): Likewise.
16224 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16225 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16226 (scalbl): Likewise.
16227 (sinhf): Condition declaration on [__USE_ISOC99].
16228 (sinhl): Likewise.
16229 (sqrtf): Likewise.
16230 (sqrtl): Likewise.
16231
16232 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16233
16234 * sysdeps/arm/atomic-machine.h
16235 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16236 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16237 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16238 Remove conditional code.
16239 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16240 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16241 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16242 Change conditional to [__ASSEMBLER__].
16243 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16244 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16245 [!__ASSEMBLER__].
16246 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16247 code.
16248 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16249 conditional macro definitions.
16250 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16251 (__arch_compare_and_exchange_val_16_acq): Likewise.
16252 (__arch_compare_and_exchange_val_32_acq): Likewise.
16253 (atomic_exchange_and_add): Likewise.
16254 (atomic_add): Likewise.
16255 (atomic_add_negative): Likewise.
16256 (atomic_add_zero): Likewise.
16257 (atomic_bit_set): Likewise.
16258 (atomic_bit_test_set): Likewise.
16259 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16260 code unconditional.
16261 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16262
16263 * math/test-math-errno.h: New file.
16264 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16265 empty.
16266 (TEST_ERRNO): New macro.
16267 (TEST_EXCEPTIONS): Likewise.
16268 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16269 (TEST_EXCEPTIONS): Likewise.
16270 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16271 * math/test-double.c: Include "test-math-errno.h".
16272 * math/test-float.c: Likewise.
16273 * math/test-ldouble.c: Likewise.
16274 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16275 code unconditional.
16276 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16277 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16278 unconditional.
16279 (test_errno): Only run code if TEST_ERRNO.
16280 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16281
16282 2015-11-04 Florian Weimer <fweimer@redhat.com>
16283
16284 * nptl/tst-once5.cc: Remove attribution.
16285
16286 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16287
16288 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16289 sqrt, tan, tanh, y0, y1 and yn.
16290 * math/auto-libm-test-out: Regenerated.
16291 * math/libm-test.inc (scalb_test_data): Add more tests.
16292 (scalbn_test_data): Likewise.
16293 (scalbln_test_data): Likewise.
16294 (signbit_test_data): Likewise.
16295 (sin_test_data): Likewise.
16296 (sincos_test_data): Likewise.
16297 (sinh_test_data): Likewise.
16298 (sqrt_test_data): Likewise.
16299 (tan_test_data): Likewise.
16300 (tanh_test_data): Likewise.
16301 (tgamma_test_data): Likewise.
16302 (y0_test_data): Likewise.
16303 (y1_test_data): Likewise.
16304 (yn_test_data): Likewise.
16305 (significand_test_data): Likewise.
16306 * sysdeps/i386/fpu/libm-test-ulps: Update.
16307
16308 2015-11-03 David Kastrup <dak@gnu.org>
16309
16310 [BZ #18604]
16311 * assert/assert.h (assert): Don't macro-expand failed assertion
16312 expression in error message.
16313 * malloc/malloc.c (assert): Likewise.
16314
16315 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16316
16317 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16318 test.
16319 * configure: Regenerated.
16320
16321 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16322
16323 * math/libm-test.inc (modf_test_data): Add more tests.
16324 (nearbyint_test_data): Likewise.
16325 (nextafter_test_data): Likewise.
16326 (nexttoward_test_data): Likewise.
16327 (pow_test_data): Likewise.
16328 (remainder_test_data): Likewise.
16329 (remquo_test_data): Likewise.
16330 (rint_test_data): Likewise.
16331
16332 [BZ #19201]
16333 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16334 Check for zero remainder in case of large exponents and ensure
16335 correct sign of result in that case.
16336 * math/libm-test.inc (remainder_test_data): Add more tests.
16337
16338 [BZ #6799]
16339 * math/s_nextafter.c: Include <errno.h>.
16340 (__nextafter): Set errno on overflow and underflow.
16341 * math/s_nexttowardf.c: Include <errno.h>.
16342 (__nexttowardf): Set errno on overflow and underflow.
16343 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16344 (__nextafterl): Set errno on overflow and underflow.
16345 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16346 (__nexttoward): Set errno on overflow and underflow.
16347 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16348 (__nexttowardf): Set errno on overflow and underflow.
16349 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16350 (__nextafterf): Set errno on overflow and underflow.
16351 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16352 (__nextafterl): Set errno on overflow and underflow.
16353 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16354 (__nexttoward): Set errno on overflow and underflow.
16355 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16356 (__nexttowardf): Set errno on overflow and underflow.
16357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16358 (__nextafterl): Set errno on overflow and underflow.
16359 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16360 (__nexttoward): Set errno on overflow and underflow.
16361 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16362 (__nexttowardf): Set errno on overflow and underflow.
16363 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16364 (__nexttoward): Set errno on overflow and underflow.
16365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16366 (__nexttowardf): Set errno on overflow and underflow.
16367 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16368 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16369 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16370 (__nextafterl): Set errno on overflow and underflow.
16371 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16372 setting to be missing on overflow. Add more tests.
16373 (nexttoward_test_data): Likewise.
16374
16375 * configure.ac (libc_cv_initfini_array): Remove configure test.
16376 * configure: Regenerated.
16377
16378 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16379
16380 [BZ #19189]
16381 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16382 non-finite argument handle arguments with negative sign.
16383
16384 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16385 result from infinite argument.
16386 (j1_test_data): Likewise.
16387 (jn_test_data): Likewise.
16388 (y0_test_data): Likewise.
16389 (y1_test_data): Likewise.
16390 (yn_test_data): Likewise.
16391
16392 [BZ #16171]
16393 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16394 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16395 * math/w_remainderf.c (dremf): Define as weak alias of
16396 __remainderf.
16397 * math/w_remainderl.c (dreml): Define as weak alias of
16398 __remainderl.
16399 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16400 __remainder.
16401 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16402 __remainderf.
16403 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16404 __remainderl.
16405 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16406 weak alias of remainderl.
16407 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16408 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16409 alias of __remainder.
16410 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16411 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16412 strong alias of __remainderl.
16413 (dreml): Use long_double_symbol.
16414 * math/Makefile (libm-calls): Remove w_drem.
16415 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16416 (CFLAGS-nldbl-drem.c): Remove variable.
16417 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16418 * math/w_drem.c: Remove file.
16419 * math/w_dremf.c: Likewise.
16420 * math/w_dreml.c: Likewise.
16421 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16422 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16423 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16424
16425 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16426 * sysdeps/i386/configure: Regenerated.
16427 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16428 * sysdeps/x86_64/configure: Regenerated.
16429
16430 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16431 test.
16432 (libc_cv_visibility_attribute): Likewise.
16433 (libc_cv_protected_data): Test unconditionally.
16434 (libc_cv_broken_visibility_attribute): Remove configure test.
16435 (libc_cv_have_sdata_section): Test unconditionally.
16436 * configure: Regenerated.
16437
16438 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16439 * include/scratch_buffer.h: Include <stddef.h> instead of
16440 <libc-internal.h>.
16441 (struct scratch_buffer): Use max_align_t instead of
16442 libc_max_align_t.
16443
16444 2015-10-29 Florian Weimer <fweimer@redhat.com>
16445
16446 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16447 instead of extend_alloca. Change control flow to avoid a goto.
16448 Remove assert which is trivially always true.
16449
16450 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16451
16452 [BZ #16068]
16453 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16454 (FE_ALL_EXCEPT_X86): New macro.
16455 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16456 FE_ALL_EXCEPT. Ensure precision control is included in
16457 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16458 handle "denormal operand exception" and clear FZ and DAZ bits.
16459 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16460 (FE_ALL_EXCEPT_X86): New macro.
16461 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16462 FE_ALL_EXCEPT. Ensure precision control is included in
16463 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16464 handle "denormal operand exception" and clear FZ and DAZ bits.
16465 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16466 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16467 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16468 test-fenv-x87 and test-fenv-sse-2.
16469 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16470
16471 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16472 * math/test-double.h (BUILD_COMPLEX): New macro.
16473 * math/test-float.h (BUILD_COMPLEX): Likewise.
16474 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16475
16476 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16477 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16478 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16480 instead of DBL_DENORM_MIN in comment.
16481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16482 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16483 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16484 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16486 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16487
16488 2015-10-28 Florian Weimer <fweimer@redhat.com>
16489
16490 [BZ# 19048]
16491 * malloc/malloc.c (struct malloc_state): Update comment. Add
16492 attached_threads member.
16493 (main_arena): Initialize attached_threads.
16494 * malloc/arena.c (list_lock): Update comment.
16495 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16496 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16497 (deattach_arena): New function.
16498 (_int_new_arena): Initialize arena reference count and deattach
16499 replaced arena.
16500 (get_free_list, reused_arena): Update reference count and deattach
16501 replaced arena.
16502 (arena_thread_freeres): Update arena reference count and only put
16503 unreferenced arenas on the free list.
16504
16505 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16506
16507 [BZ #19181]
16508 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16509 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16510 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16511 * math/test-fenv-clear-main.c: New file.
16512 * math/test-fenv-clear.c: Likewise.
16513 * math/Makefile (tests): Add test-fenv-clear.
16514 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16515 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16516 test-fenv-clear-sse.
16517 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16518
16519 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16520 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16521 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16522
16523 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16524
16525 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16526 static libc.
16527
16528 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16529
16530 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16531 test.
16532 * sysdeps/i386/configure: Regenerated.
16533 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16534 test.
16535 * sysdeps/x86_64/configure: Regenerated.
16536 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16538 memset-avx2 unconditionally instead of conditionally on
16539 [$(config-cflags-avx2) = yes].
16540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16541 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16542 unconditional.
16543 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16544 * sysdeps/x86_64/multiarch/memset_chk.S
16545 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16546 to [IS_IN (libc) && SHARED].
16547
16548 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16549
16550 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16551 configure test.
16552 * sysdeps/arm/configure: Regenerated.
16553 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16554 Define variable if not already defined.
16555
16556 [BZ #17404]
16557 * sysdeps/mips/atomic-machine.h
16558 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16559 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16560 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16561
16562 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16563 unconditional.
16564 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16565 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16566 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16567 unconditional.
16568 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16569 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16570 unconditional.
16571 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16572 * stdlib/setenv.c
16573 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16574 code unconditional.
16575 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16576 Remove conditional code.
16577 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16578 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16579 unconditional.
16580 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16581 code.
16582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16583 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16584 unconditional.
16585 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16586 code.
16587 * sysdeps/ieee754/ldbl-128/k_tanl.c
16588 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16589 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16590 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16591 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16592 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16593 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16594 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16595 unconditional.
16596 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16597 code.
16598 * sysdeps/ieee754/ldbl-96/k_tanl.c
16599 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16600 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16601
16602 * nptl/tst-initializers1-c11.c: New file.
16603 * nptl/tst-initializers1-gnu11.c: Likewise.
16604 * nptl/Makefile (tests): Add these new tests.
16605 (CFLAGS-tst-initializers1-c11.c): New variable.
16606 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16607
16608 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16609 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16610 instead of -std=gnu99.
16611 * configure.ac (systemtap): Test with -std=gnu11 instead of
16612 -std=gnu99.
16613 * configure: Regenerated.
16614 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16615 in compilation command in comment.
16616
16617 * sysdeps/nptl/configure.ac: Remove file.
16618 * sysdeps/nptl/configure: Remove generated file.
16619 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16620 * configure: Regenerated.
16621 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16622 * config.make.in (have-forced-unwind): Remove variable.
16623 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16624 unconditional.
16625 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16626 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16627 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16628 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16629 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16630 unconditional.
16631
16632 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16633
16634 [BZ #19174]
16635 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16636 .skip_lock_out_of_tbegin_retries.
16637 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16638 (__lll_lock_elision): Likewise, and respect a value of
16639 try_tbegin <= 0.
16640
16641 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16642
16643 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16644 statement.
16645
16646 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16647
16648 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16649 variable.
16650 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16651 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16652
16653 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16654 of -std=c1x -D_ISOC11_SOURCE.
16655
16656 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16657 * configure: Regenerated.
16658 * manual/install.texi (Tools for Compilation): Document
16659 requirement for GCC 4.7 or later.
16660 * INSTALL: Regenerated.
16661
16662 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16663
16664 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16665 on CNT to a conditional jump to 'puntdata'.
16666
16667 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16668
16669 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16670 (libc_cv_gcc_tls_model_attr): Likewise.
16671 * configure: Regenerated.
16672
16673 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16674 * configure: Regenerated.
16675 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16676
16677 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16678
16679 * configure.ac (old_glibc_headers): Remove configure test.
16680 * configure: Regenerated.
16681 * config.make.in (old-glibc-headers): Remove variable.
16682 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16683 (install): Remove dependency on remove-old-headers.
16684 (headers2_0): Remove variable.
16685 (remove-old-headers): Remove rule.
16686
16687 * configure.ac (libc_cv_dot_text): Remove configure test.
16688 (libc_cv_asm_set_directive): Use .text instead of
16689 ${libc_cv_dot_text} in configure test.
16690 * configure: Regenerated.
16691
16692 2015-10-26 Florian Weimer <fweimer@redhat.com>
16693
16694 [BZ #19168]
16695 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16696
16697 2015-10-26 Florian Weimer <fweimer@redhat.com>
16698
16699 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16700 not support static linking.
16701 * configure: Regenerate.
16702
16703 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16704
16705 * math/libm-test.inc (check_float_internal): Do not special-case
16706 errors up to 0.5 ulp.
16707
16708 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16709 log2.
16710 * math/auto-libm-test-out: Regenerated.
16711 * math/libm-test.inc (MAX_EXP): New macro.
16712 (ilogb_test_data): Add more tests.
16713 (isfinite_test_data): Likewise.
16714 (isgreater_test_data): Likewise.
16715 (isgreaterequal_test_data): Likewise.
16716 (isinf_test_data): Likewise.
16717 (isless_test_data): Likewise.
16718 (islessequal_test_data): Likewise.
16719 (islessgreater_test_data): Likewise.
16720 (isnan_test_data): Likewise.
16721 (isnormal_test_data): Likewise.
16722 (issignaling_test_data): Likewise.
16723 (isunordered_test_data): Likewise.
16724 (j0_test_data): Likewise.
16725 (j1_test_data): Likewise.
16726 (jn_test_data): Likewise.
16727 (lgamma_test_data): Likewise.
16728 (log_test_data): Likewise.
16729 (log10_test_data): Likewise.
16730 (log1p_test_data): Likewise.
16731 (log2_test_data): Likewise.
16732 (logb_test_data): Likewise.
16733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16734
16735 [BZ #18611]
16736 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16737 avoid excess range and precision on underflow.
16738 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16739 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16740 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16741 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16742 underflow.
16743 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16745 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16746 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16747 * math/auto-libm-test-in: Do not allow missing errno setting for
16748 tests of j1 and jn.
16749 * math/auto-libm-test-out: Regenerated.
16750
16751 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16752
16753 [BZ #15491]
16754 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16755 floating-point environment instead of clearing all exceptions.
16756 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16757 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16758 merging in "invalid" exceptions from frndint.
16759 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16760 * math/test-nearbyint-except.c: New file.
16761 * math/Makefile (tests): Add test-nearbyint-except.
16762
16763 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16764
16765 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16766
16767 * sysdeps/tile/libm-test-ulps: Regenerated.
16768
16769 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16770
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16772 (__NR_sync_file_range2): Assume it is always defined.
16773 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16774 (__NR_sync_file_range): Assume it is always defined.
16775
16776 2015-10-22 Andreas Schwab <schwab@suse.de>
16777
16778 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16779 INTERNAL_SYSCALL_ERRNO.
16780 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16781 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16782 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16783 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16784 Likewise.
16785 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16786
16787 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16788
16789 * io/tst-fcntl.c (fd): New static variable.
16790 (do_prepare): Open temporary file here....
16791 (do_test): ...not here.
16792
16793 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16794
16795 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16796
16797 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16798 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16799 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16800 Moved before "#ifdef __ASSEMBLER__".
16801
16802 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16803
16804 [BZ #19156]
16805 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16806 arguments very close to 0.
16807
16808 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16809
16810 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16811 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16812
16813 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16814
16815 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16816 New. Defined for GCC 5 and above when not compiling for
16817 profiling.
16818 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16819
16820 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16821 Renamed to ...
16822 (CFLAGS-epoll_pwait.o): This.
16823 (CFLAGS-mmap.c): Renamed to ...
16824 (CFLAGS-mmap.o): This.
16825 (CFLAGS-mmap64.c): Renamed to ...
16826 (CFLAGS-mmap64.o): This.
16827 (CFLAGS-epoll_pwait.os): New.
16828 (CFLAGS-mmap.os): Likewise.
16829 (CFLAGS-mmap64.os): Likewise.
16830 (CFLAGS-semtimedop.os): Likewise.
16831 (CFLAGS-semtimedop.c): Renamed to ...
16832 (CFLAGS-semtimedop.o): This.
16833
16834 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16835
16836 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16837 warning message.
16838
16839 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16840
16841 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16842 * Makefile ($(objpfx)c++-types-check.out): Filter out
16843 $(+gccwarn-c) instead of -Wstrict-prototypes.
16844
16845 * io/fts.c (fts_open): Convert to prototype-style function
16846 definition.
16847 * malloc/mcheck.c (mcheck): Likewise.
16848 (mcheck_pedantic): Likewise.
16849 * posix/regexec.c (re_search_2_stub): Likewise. Use
16850 internal_function.
16851 (re_search_internal): Likewise.
16852 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16853 prototype-style function definition.
16854 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16855 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16856 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16857 (xdr_utmpptr): Likewise.
16858 (xdr_utmparr): Likewise.
16859 (xdr_utmpidle): Likewise.
16860 (xdr_utmpidleptr): Likewise.
16861 (xdr_utmpidlearr): Likewise.
16862
16863 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16864 log, log10 and log2.
16865 * math/auto-libm-test-out: Regenerated.
16866 * math/libm-test.inc (fmod_test_data): Add more tests.
16867 (fpclassify_test_data): Likewise.
16868 (frexp_test_data): Likewise.
16869 (hypot_test_data): Likewise.
16870 (ilogb_test_data): Likewise.
16871
16872 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16873
16874 * debug/fortify_fail.c (__fortify_fail): Convert to
16875 prototype-style function definition. Use internal_function.
16876 * libio/genops.c (save_for_backup): Convert to prototype-style
16877 function definition.
16878 * libio/wgenops.c (save_for_wbackup): Likewise.
16879 * login/grantpt.c (grantpt): Likewise.
16880 * login/ptsname.c (ptsname): Likewise.
16881 (__ptsname_r): Likewise.
16882 * login/unlockpt.c (unlockpt): Likewise.
16883 * mach/msgserver.c (__mach_msg_server): Likewise.
16884 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16885 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16886 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16887 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16888 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16889 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16890 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16891 Likewise.
16892 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16893 internal_function.
16894 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16895 prototype-style function definition.
16896 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16897 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16898 (__pthread_create_2_0): Likewise.
16899 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16900 * nptl/register-atfork.c (__register_atfork): Likewise.
16901 * posix/glob.c (glob): Likewise.
16902 * posix/regcomp.c (re_comp): Likewise.
16903 * posix/regexec.c (re_exec): Likewise.
16904 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16905 [!__STDC__]: Remove conditional code.
16906 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16907 [!__STDC__]: Remove conditional code.
16908 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16909 [!__STDC__]: Remove conditional code.
16910 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16911 [!__STDC__]: Remove conditional code.
16912 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16913 [!__STDC__]: Remove conditional code.
16914 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16915 [!__STDC__]: Remove conditional code.
16916 * stdlib/mul.c [__STDC__]: Make code unconditional.
16917 [!__STDC__]: Remove conditional code.
16918 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16919 [!__STDC__]: Remove conditional code.
16920 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16921 [!__STDC__]: Remove conditional code.
16922 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16923 function definition.
16924 (STRTOF): Likewise.
16925 * stdlib/strtod_l.c (__STRTOF): Likewise.
16926 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16927 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16928 (__strtol_l): Likewise.
16929 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16930 [!__STDC__]: Remove conditional code.
16931 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16932 definition.
16933 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16934 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16935 type.
16936 (__strcasecmp): Convert to prototype-style function definition.
16937 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16938 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16939 type.
16940 (__strncasecmp): Convert to prototype-style function definition.
16941 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16942 * sunrpc/xdr.c (xdr_union): Likewise.
16943 * sunrpc/xdr_array.c (xdr_array): Likewise.
16944 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16945 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16946 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16947 Likewise.
16948 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16949 Likewise.
16950 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16951 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16952 Likewise.
16953 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16954 (LOCALE_PARAM_PROTO): Likewise.
16955 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16956 argument type.
16957 (ut_argument_spec): Remove macro.
16958 (ut_argument_spec_iso): Rename to ut_argument_spec.
16959 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16960 prototype-style function definition.
16961 (memcpy_uppcase): Likewise.
16962 (__strftime_internal): Likewise.
16963 (my_strftime): Likewise.
16964 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16965 (LOCALE_PARAM_DECL): Likewise.
16966 [_LIBC] (LOCALE_PARAM): Include argument type.
16967 (__strptime_internal): Convert to prototype-style function
16968 definition.
16969 (strptime): Likewise.
16970 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16971 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16972 type.
16973 (__wcscasecmp): Convert to prototype-style function definition.
16974 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16975 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16976 type.
16977 (__wcsncasecmp): Convert to prototype-style function definition.
16978
16979 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16980 function definition.
16981 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16982 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16983 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16984 * elf/dl-minimal.c (_itoa): Likewise.
16985 * hurd/hurdmalloc.c (malloc): Likewise.
16986 (free): Likewise.
16987 (realloc): Likewise.
16988 * inet/inet6_option.c (inet6_option_space): Likewise.
16989 (inet6_option_init): Likewise.
16990 (inet6_option_append): Likewise.
16991 (inet6_option_alloc): Likewise.
16992 (inet6_option_next): Likewise.
16993 (inet6_option_find): Likewise.
16994 * io/ftw.c (FTW_NAME): Likewise.
16995 (NFTW_NAME): Likewise.
16996 (NFTW_NEW_NAME): Likewise.
16997 (NFTW_OLD_NAME): Likewise.
16998 * libio/iofwide.c (_IO_fwide): Likewise.
16999 * libio/strops.c (_IO_str_init_static_internal): Likewise.
17000 (_IO_str_init_static): Likewise.
17001 (_IO_str_init_readonly): Likewise.
17002 (_IO_str_overflow): Likewise.
17003 (_IO_str_underflow): Likewise.
17004 (_IO_str_count): Likewise.
17005 (_IO_str_seekoff): Likewise.
17006 (_IO_str_pbackfail): Likewise.
17007 (_IO_str_finish): Likewise.
17008 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17009 (_IO_wstr_overflow): Likewise.
17010 (_IO_wstr_underflow): Likewise.
17011 (_IO_wstr_count): Likewise.
17012 (_IO_wstr_seekoff): Likewise.
17013 (_IO_wstr_pbackfail): Likewise.
17014 (_IO_wstr_finish): Likewise.
17015 * locale/programs/localedef.c (normalize_codeset): Likewise.
17016 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17017 (add_locales_to_archive): Likewise.
17018 (delete_locales_from_archive): Likewise.
17019 * malloc/malloc.c (__libc_mallinfo): Likewise.
17020 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17021 * misc/tsearch.c (__tfind): Likewise.
17022 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17023 * nptl/pthread_attr_getdetachstate.c
17024 (__pthread_attr_getdetachstate): Likewise.
17025 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17026 Likewise.
17027 * nptl/pthread_attr_getinheritsched.c
17028 (__pthread_attr_getinheritsched): Likewise.
17029 * nptl/pthread_attr_getschedparam.c
17030 (__pthread_attr_getschedparam): Likewise.
17031 * nptl/pthread_attr_getschedpolicy.c
17032 (__pthread_attr_getschedpolicy): Likewise.
17033 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17034 Likewise.
17035 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17036 Likewise.
17037 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17038 Likewise.
17039 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17040 Likewise.
17041 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17042 (__pthread_attr_init_2_0): Likewise.
17043 * nptl/pthread_attr_setdetachstate.c
17044 (__pthread_attr_setdetachstate): Likewise.
17045 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17046 Likewise.
17047 * nptl/pthread_attr_setinheritsched.c
17048 (__pthread_attr_setinheritsched): Likewise.
17049 * nptl/pthread_attr_setschedparam.c
17050 (__pthread_attr_setschedparam): Likewise.
17051 * nptl/pthread_attr_setschedpolicy.c
17052 (__pthread_attr_setschedpolicy): Likewise.
17053 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17054 Likewise.
17055 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17056 Likewise.
17057 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17058 Likewise.
17059 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17060 Likewise.
17061 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17062 Likewise.
17063 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17064 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17065 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17066 use internal_function.
17067 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17068 prototype-style function definition.
17069 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17070 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17071 internal_function.
17072 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17073 Convert to prototype-style function definition.
17074 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17075 Likewise.
17076 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17077 Likewise.
17078 (__pthread_mutex_unlock): Likewise.
17079 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17080 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17081 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17082 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17083 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17084 * nss/makedb.c (process_input): Likewise.
17085 * posix/fnmatch.c (__strchrnul): Likewise.
17086 (__wcschrnul): Likewise.
17087 (fnmatch): Likewise.
17088 * posix/fnmatch_loop.c (FCT): Likewise.
17089 * posix/glob.c (globfree): Likewise.
17090 (__glob_pattern_type): Likewise.
17091 (__glob_pattern_p): Likewise.
17092 * posix/regcomp.c (re_compile_pattern): Likewise.
17093 (re_set_syntax): Likewise.
17094 (re_compile_fastmap): Likewise.
17095 (regcomp): Likewise.
17096 (regerror): Likewise.
17097 (regfree): Likewise.
17098 * posix/regexec.c (regexec): Likewise.
17099 (re_match): Likewise.
17100 (re_search): Likewise.
17101 (re_match_2): Likewise.
17102 (re_search_2): Likewise.
17103 (re_search_stub): Likewise. Use internal_function
17104 (re_copy_regs): Likewise.
17105 (re_set_registers): Convert to prototype-style function
17106 definition.
17107 (prune_impossible_nodes): Likewise. Use internal_function.
17108 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17109 prototype-style function definition.
17110 (inet_net_pton_ipv4): Likewise.
17111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17112 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17113 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17114 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17115 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17116 Make variadic.
17117 * time/strptime_l.c (localtime_r): Convert to prototype-style
17118 function definition.
17119 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17120 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17121 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17122 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17123
17124 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17125 definition.
17126 (_ufc_doit_r): Likewise.
17127 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17128 (_ufc_output_conversion_r): Likewise.
17129 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17130 * inet/rcmd.c (rcmd_af): Likewise.
17131 (rcmd): Likewise.
17132 (ruserok_af): Likewise.
17133 (ruserok): Likewise.
17134 (ruserok2_sa): Likewise.
17135 (ruserok_sa): Likewise.
17136 (iruserok_af): Likewise.
17137 (iruserok): Likewise.
17138 (__ivaliduser): Likewise.
17139 (__validuser2_sa): Likewise.
17140 * inet/rexec.c (rexec_af): Likewise.
17141 (rexec): Likewise.
17142 * inet/ruserpass.c (ruserpass): Likewise.
17143 * locale/programs/xmalloc.c (xcalloc): Likewise.
17144 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17145 * math/w_drem.c (__drem): Likewise.
17146 * math/w_dremf.c (__dremf): Likewise.
17147 * math/w_dreml.c (__dreml): Likewise.
17148 * misc/daemon.c (daemon): Likewise.
17149 * resolv/res_debug.c (p_fqnname): Likewise.
17150 * stdlib/div.c (div): Likewise.
17151 * string/memcmp.c (memcmp_bytes): Likewise.
17152 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17153 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17154
17155 * crypt/cert.c (main): Convert to prototype-style function
17156 definition.
17157 * io/pipe.c (__pipe): Likewise.
17158 * io/pipe2.c (__pipe2): Likewise.
17159 * misc/futimesat.c (futimesat): Likewise.
17160 * misc/utimes.c (__utimes): Likewise.
17161 * posix/execve.c (__execve): Likewise.
17162 * posix/execvp.c (execvp): Likewise.
17163 * posix/execvpe.c (__execvpe): Likewise.
17164 * posix/fexecve.c (fexecve): Likewise.
17165 * socket/socketpair.c (socketpair): Likewise.
17166 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17167 * stdlib/erand48.c (erand48): Likewise.
17168 * stdlib/erand48_r.c (__erand48_r): Likewise.
17169 * stdlib/jrand48.c (jrand48): Likewise.
17170 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17171 * stdlib/lcong48.c (lcong48): Likewise.
17172 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17173 * stdlib/nrand48.c (nrand48): Likewise.
17174 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17175 * stdlib/seed48.c (seed48): Likewise.
17176 * stdlib/seed48_r.c (__seed48_r): Likewise.
17177 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17178 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17179 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17180
17181 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17182
17183 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17184 * configure: Regenerated.
17185 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17186 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17187 unconditional.
17188 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17189 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17190 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17191 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17192 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17193 unconditional.
17194 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17195
17196 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17197 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17198
17199 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17200 function definition.
17201 * crypt/crypt_util.c (__encrypt_r): Likewise.
17202 * libio/genops.c (_IO_no_init): Likewise.
17203 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17204 (_IO_old_fopencookie): Likewise.
17205 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17206 * libio/iogetline.c (_IO_getline): Likewise.
17207 (_IO_getline_info): Likewise.
17208 * libio/iogetwline.c (_IO_getwline): Likewise.
17209 (_IO_getwline_info): Likewise.
17210 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17211 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17212 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17213 (find_entry): Likewise.
17214 (iterate_table): Likewise.
17215 (lookup): Likewise.
17216 * login/forkpty.c (forkpty): Likewise.
17217 * misc/hsearch_r.c (__hsearch_r): Likewise.
17218 * misc/select.c (__select): Likewise.
17219 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17220 Likewise.
17221 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17222 Likewise.
17223 * nptl/old_pthread_cond_timedwait.c
17224 (__pthread_cond_timedwait_2_0): Likewise.
17225 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17226 * nptl/pthread_barrierattr_getpshared.c
17227 (pthread_barrierattr_getpshared): Likewise.
17228 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17229 Likewise.
17230 * nptl/pthread_mutex_setprioceiling.c
17231 (pthread_mutex_setprioceiling): Likewise.
17232 * nptl/pthread_mutexattr_getprioceiling.c
17233 (pthread_mutexattr_getprioceiling): Likewise.
17234 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17235 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17236 Likewise.
17237 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17238 Likewise.
17239 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17240 Likewise.
17241 * socket/recvfrom.c (__recvfrom): Likewise.
17242 * socket/sendto.c (__sendto): Likewise.
17243 * socket/setsockopt.c (__setsockopt): Likewise.
17244 * stdio-common/_itoa.c (_itoa): Likewise.
17245 * stdio-common/_itowa.c (_itowa): Likewise.
17246 * stdio-common/reg-printf.c (__register_printf_specifier):
17247 Likewise.
17248 (__register_printf_function): Likewise.
17249 * stdio-common/tempname.c (__path_search): Likewise.
17250 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17251 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17252 * stdlib/random_r.c (__initstate_r): Likewise.
17253 * stdlib/setenv.c (__add_to_environ): Likewise.
17254 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17255 * streams/getpmsg.c (getpmsg): Likewise.
17256 * streams/putmsg.c (putmsg): Likewise.
17257 * streams/putpmsg.c (putpmsg): Likewise.
17258 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17259 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17260 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17261 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17262 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17263 * sunrpc/svc_udp.c (cache_get): Likewise.
17264 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17265 * sysdeps/mach/hurd/getcwd.c
17266 (__canonicalize_directory_name_internal): Likewise.
17267 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17268 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17269 * sysdeps/mach/hurd/select.c (__select): Likewise.
17270 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17271 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17272 * sysdeps/sparc/nptl/pthread_barrier_init.c
17273 (__pthread_barrier_init): Likewise.
17274 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17275 (__pthread_cond_timedwait): Likewise.
17276 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17277 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17278 Likewise.
17279 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17280 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17281 Likewise.
17282 * sysvipc/semtimedop.c (semtimedop): Likewise.
17283 * time/setitimer.c (__setitimer): Likewise.
17284 * time/strftime_l.c (emacs_strftime): Likewise.
17285
17286 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17287
17288 * config.make.in (have-ssp): Delete.
17289 (stack-protector): New variable.
17290 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17291 cache test for -fstack-protector-strong. Export stack_protector to
17292 the best ssp flag.
17293 * configure: Regenerated.
17294 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17295 * nscd/Makefile (CFLAGS-nscd): Likewise.
17296 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17297
17298 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 [BZ #19122]
17301 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17302 attribute_hidden.
17303
17304 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17305
17306 [BZ #18743]
17307 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17308 code to...
17309 (ELIDE_LOCK): ...here.
17310 (__get_new_count): New function with part of the code from
17311 __elide_lock that updates the value of adapt_count after a
17312 transaction abort.
17313 (__elided_trylock): Moved this code to...
17314 (ELIDE_TRYLOCK): ...here.
17315
17316 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17317
17318 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17319 * configure: Regenerate.
17320 * INSTALL: Regenerate.
17321 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17322 and tweak grammar.
17323
17324 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17325
17326 * login/programs/pt_chown.c: Include signal.h
17327 (main): Clear any signal mask from the parent process.
17328
17329 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17330
17331 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17332 * configure: Regenerated.
17333 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17334 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17335 $(gnu89-inline-CFLAGS).
17336
17337 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17338 test.
17339 (libc_cv_asm_weakext_directive): Likewise.
17340 * configure: Regenerated.
17341 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17342 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17343 * include/libc-symbols.h
17344 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17345 #error.
17346 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17347 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17348
17349 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17350 prototype-style function definition.
17351 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17352 * sysdeps/i386/ffs.c (__ffs): Likewise.
17353 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17354 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17355 Likewise.
17356 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17357 Likewise.
17358 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17360 Likewise.
17361 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17362 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17363 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17364 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17365 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17366 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17367 * sysdeps/mach/hurd/access.c (__access): Likewise.
17368 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17369 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17370 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17371 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17372 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17373 (cthread_getspecific): Likewise.
17374 (cthread_setspecific): Likewise.
17375 (__libc_getspecific): Likewise.
17376 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17377 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17378 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17379 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17380 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17381 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17382 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17383 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17384 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17385 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17386 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17387 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17388 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17389 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17390 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17391 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17392 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17393 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17394 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17395 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17396 * sysdeps/mach/hurd/link.c (__link): Likewise.
17397 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17398 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17399 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17400 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17401 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17402 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17403 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17404 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17405 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17406 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17407 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17408 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17409 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17410 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17411 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17412 * sysdeps/mach/hurd/send.c (__send): Likewise.
17413 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17414 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17415 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17416 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17417 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17418 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17419 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17420 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17421 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17422 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17423 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17424 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17425 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17426 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17427 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17428 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17429 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17430 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17431 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17432 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17433 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17434 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17435 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17436 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17437 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17438 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17439 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17440 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17441 * sysdeps/posix/alarm.c (alarm): Likewise.
17442 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17443 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17444 * sysdeps/posix/dup.c (__dup): Likewise.
17445 * sysdeps/posix/dup2.c (__dup2): Likewise.
17446 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17447 (main): Likewise.
17448 * sysdeps/posix/flock.c (__flock): Likewise.
17449 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17450 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17451 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17452 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17453 * sysdeps/posix/isatty.c (__isatty): Likewise.
17454 * sysdeps/posix/killpg.c (killpg): Likewise.
17455 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17456 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17457 * sysdeps/posix/raise.c (raise): Likewise.
17458 * sysdeps/posix/remove.c (remove): Likewise.
17459 * sysdeps/posix/rename.c (rename): Likewise.
17460 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17461 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17462 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17463 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17464 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17465 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17466 * sysdeps/posix/sigset.c (sigset): Likewise.
17467 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17468 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17469 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17470 * sysdeps/posix/time.c (time): Likewise.
17471 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17472 (ttyname): Likewise.
17473 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17474 * sysdeps/posix/utime.c (utime): Likewise.
17475 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17476 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17477 Likewise.
17478 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17479 (pthread_spin_trylock): Likewise.
17480 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17481 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17482 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17483 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17484 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17485 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17486 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17487 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17488 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17489 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17490 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17491 * sysdeps/s390/ffs.c (__ffs): Likewise.
17492 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17493 Likewise.
17494 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17495 Likewise.
17496 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17497 Likewise.
17498 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17499 (pthread_barrier_destroy): Likewise.
17500 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17501 (__pthread_barrier_wait): Likewise.
17502 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17503 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17504 (__pthread_barrier_wait): Likewise.
17505 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17506 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17507 (memcmp_not_common_alignment): Likewise.
17508 (MEMCMP): Likewise.
17509 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17510 (_wordcopy_fwd_dest_aligned): Likewise.
17511 (_wordcopy_bwd_aligned): Likewise.
17512 (_wordcopy_bwd_dest_aligned): Likewise.
17513 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17514 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17515 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17516 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17517 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17518 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17519 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17520 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17521 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17522 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17523 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17524 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17525 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17526 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17527 * sysdeps/unix/stime.c (stime): Likewise.
17528 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17529 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17530 Likewise. Use internal_function.
17531 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17532 Convert to prototype-style function definition.
17533 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17534 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17535 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17536 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17537 Likewise. Use internal_function.
17538 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17539 prototype-style function definition
17540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17541 Likewise.
17542 (__getlogin_r): Likewise.
17543 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17544 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17545 (__pthread_cond_broadcast): Likewise.
17546 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17547 (__pthread_cond_destroy): Likewise.
17548 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17549 (__pthread_cond_init): Likewise.
17550 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17551 (__pthread_cond_signal): Likewise.
17552 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17553 (__pthread_cond_wait): Likewise.
17554 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17555 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17556 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17557 Likewise.
17558 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17559 Likewise.
17560 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17561 Likewise.
17562 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17563 Likewise.
17564 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17566 (__ftruncate64): Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17568 (truncate64): Likewise.
17569 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17570 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17571 (pthread_getcpuclockid): Likewise.
17572 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17573 Likewise.
17574 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17575 Likewise.
17576 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17577 Likewise.
17578 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17579 Likewise.
17580 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17581 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17582 (__libc_sigaction): Likewise.
17583 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17584 Likewise.
17585 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17586 (__sigprocmask): Likewise.
17587 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17588 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17589 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17590 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17591 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17592 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17593 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17594 Likewise.
17595 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17596 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17597 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17598 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17600 Likewise.
17601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17602 (__sigprocmask): Likewise.
17603 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17604 (cfgetispeed): Likewise.
17605 (cfsetospeed): Likewise.
17606 (cfsetispeed): Likewise.
17607 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17608 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17609 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17610 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17611 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17612 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17613 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17614 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17615 Likewise.
17616 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17617 Likewise.
17618 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17619 Likewise.
17620 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17621 Likewise.
17622 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17623
17624 2015-10-17 Florian Weimer <fweimer@redhat.com>
17625
17626 sunrpc: Rewrite with explicit TLS access using __thread.
17627 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17628 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17629 directly.
17630 (__rpc_thread_variables): Access thread_rpc_vars directly.
17631 Eliminate redundant assignment of the tvp variable.
17632
17633 2015-10-17 Florian Weimer <fweimer@redhat.com>
17634
17635 malloc: Rewrite with explicit TLS access using __thread.
17636 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17637 (tsd_setspecific, tsd_getspecific): Remove.
17638 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17639 (tsd_setspecific, tsd_getspecific): Likewise.
17640 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17641 (tsd_setspecific, tsd_getspecific): Likewise.
17642 * malloc/arena.c (thread_arena): New TLS variable.
17643 (arena_key): Remove variable.
17644 (arena_get): Use thread_arena.
17645 (arena_lookup): Remove macro.
17646 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17647 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17648 (_int_new_arena, get_free_list, reused_arena)
17649 (arena_thread_freeres): Use thread_arena.
17650 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17651 tsd_getspecific, tsd_setspecific from safety annotations.
17652 (Allocating Cleared Space): Remove arena_lookup from safety
17653 annotations.
17654
17655 2015-10-17 Florian Weimer <fweimer@redhat.com>
17656
17657 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17658 struct scratch_buffer instead of extend_alloca.
17659
17660 2015-10-17 Florian Weimer <fweimer@redhat.com>
17661
17662 * sysdeps/unix/sysv/linux/kernel-features.h
17663 (__ASSUME_SOCK_CLOEXEC): Remove.
17664 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17665 (__have_paccept): Remove unused macro.
17666 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17667 * misc/syslog.c (openlog_internal): Remove fallback code for
17668 !__ASSUME_SOCK_CLOEXEC.
17669 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17670 missing SOCK_CLOEXEC.
17671 * nscd/connections.c (have_sock_cloexec): Remove definition.
17672 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17673 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17674 !__ASSUME_SOCK_CLOEXEC.
17675 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17676 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17677 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17678 definition.
17679 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17680 code for !__ASSUME_SOCK_CLOEXEC.
17681
17682 2015-10-17 Florian Weimer <fweimer@redhat.com>
17683
17684 [BZ #18982]
17685 * manual/stdio.texi (Variable Arguments Output): Add portability
17686 note, explaining that vfprintf clobbers the va_list pointer.
17687
17688 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17689
17690 * math/libm-test.inc (fabs_test_data): Add more tests.
17691 (fdim_test_data): Likewise.
17692 (fma_test_data): Likewise.
17693 (fmax_test_data): Likewise.
17694 (fmin_test_data): Likewise.
17695 (fmod_test_data): Likewise.
17696
17697 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17698
17699 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17700 data.
17701
17702 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17703
17704 * math/libm-test.inc (ceil_test_data): Add more tests and more
17705 expectations for "inexact".
17706 (floor_test_data): Add more tests.
17707 (round_test_data): Likewise.
17708 (trunc_test_data): Likewise.
17709
17710 * crypt/cert.c (good_bye): Convert to prototype-style function
17711 definition.
17712 (get8): Likewise.
17713 (put8): Likewise.
17714 * crypt/crypt-entry.c (crypt): Likewise.
17715 (__fcrypt): Likewise.
17716 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17717 (_ufc_set_bits): Likewise.
17718 (_ufc_clearmem): Likewise.
17719 (__init_des_r): Likewise.
17720 (shuffle_sb): Likewise.
17721 (shuffle_sb): Likewise.
17722 (_ufc_setup_salt_r): Likewise.
17723 (_ufc_mk_keytab_r): Likewise.
17724 (_ufc_dofinalperm_r): Likewise.
17725 (encrypt): Likewise.
17726 (__setkey_r): Likewise.
17727 (setkey): Likewise.
17728 * crypt/md5.c (md5_init_ctx): Likewise.
17729 (md5_read_ctx): Likewise.
17730 (md5_finish_ctx): Likewise.
17731 (md5_stream): Likewise.
17732 (md5_buffer): Likewise.
17733 (md5_process_bytes): Likewise.
17734 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17735 (__sha256_finish_ctx): Likewise.
17736 (__sha256_process_bytes): Likewise.
17737 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17738 (__sha512_finish_ctx): Likewise.
17739 (__sha512_process_bytes): Likewise.
17740 * ctype/isctype.c (__isctype): Likewise.
17741 * debug/backtrace.c (__backtrace): Likewise.
17742 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17743 * debug/fgets_chk.c (__fgets_chk): Likewise.
17744 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17745 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17746 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17747 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17748 * debug/memset_chk.c (__memset_chk): Likewise.
17749 * debug/strcat_chk.c (__strcat_chk): Likewise.
17750 * debug/strncat_chk.c (__strncat_chk): Likewise.
17751 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17752 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17753 * dirent/dirfd.c (dirfd): Likewise.
17754 * dirent/getdents.c (__getdirentries): Likewise.
17755 * dirent/getdents64.c (getdirentries64): Likewise.
17756 * dirent/rewinddir.c (__rewinddir): Likewise.
17757 * dirent/seekdir.c (seekdir): Likewise.
17758 * dirent/telldir.c (telldir): Likewise.
17759 * elf/sln.c (makesymlinks): Likewise.
17760 (makesymlink): Likewise.
17761 * gmon/gmon.c (__moncontrol): Likewise.
17762 (__monstartup): Likewise.
17763 (write_hist): Likewise.
17764 (write_call_graph): Likewise.
17765 (write_bb_counts): Likewise.
17766 * grp/setgroups.c (setgroups): Likewise.
17767 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17768 * inet/inet_net.c (inet_network): Likewise.
17769 * inet/inet_netof.c (inet_netof): Likewise.
17770 * inet/rcmd.c (rresvport_af): Likewise.
17771 (rresvport): Likewise.
17772 * io/access.c (__access): Likewise.
17773 * io/chdir.c (__chdir): Likewise.
17774 * io/chmod.c (__chmod): Likewise.
17775 * io/chown.c (__chown): Likewise.
17776 * io/close.c (__close): Likewise.
17777 * io/creat.c (creat): Likewise.
17778 * io/creat64.c (creat64): Likewise.
17779 * io/dup.c (__dup): Likewise.
17780 * io/dup2.c (__dup2): Likewise.
17781 * io/dup3.c (__dup3): Likewise.
17782 * io/euidaccess.c (__euidaccess): Likewise.
17783 * io/faccessat.c (faccessat): Likewise.
17784 * io/fchmod.c (__fchmod): Likewise.
17785 * io/fchmodat.c (fchmodat): Likewise.
17786 * io/fchown.c (__fchown): Likewise.
17787 * io/fchownat.c (fchownat): Likewise.
17788 * io/fcntl.c (__fcntl): Likewise.
17789 * io/flock.c (__flock): Likewise.
17790 * io/fts.c (fts_load): Likewise.
17791 (fts_close): Likewise.
17792 (fts_read): Likewise.
17793 (fts_set): Likewise.
17794 (fts_children): Likewise.
17795 (fts_build): Likewise.
17796 (fts_stat): Likewise.
17797 (fts_sort): Likewise.
17798 (fts_alloc): Likewise.
17799 (fts_lfree): Likewise.
17800 (fts_palloc): Likewise.
17801 (fts_padjust): Likewise.
17802 (fts_maxarglen): Likewise.
17803 (fts_safe_changedir): Likewise.
17804 * io/getwd.c (getwd): Likewise.
17805 * io/isatty.c (__isatty): Likewise.
17806 * io/lchown.c (__lchown): Likewise.
17807 * io/link.c (__link): Likewise.
17808 * io/linkat.c (linkat): Likewise.
17809 * io/lseek.c (__libc_lseek): Likewise.
17810 * io/mkdir.c (__mkdir): Likewise.
17811 * io/mkdirat.c (mkdirat): Likewise.
17812 * io/mkfifo.c (mkfifo): Likewise.
17813 * io/mkfifoat.c (mkfifoat): Likewise.
17814 * io/open.c (__libc_open): Likewise.
17815 * io/open64.c (__libc_open64): Likewise.
17816 * io/readlink.c (__readlink): Likewise.
17817 * io/readlinkat.c (readlinkat): Likewise.
17818 * io/rmdir.c (__rmdir): Likewise.
17819 * io/symlink.c (__symlink): Likewise.
17820 * io/symlinkat.c (symlinkat): Likewise.
17821 * io/ttyname.c (ttyname): Likewise.
17822 * io/ttyname_r.c (__ttyname_r): Likewise.
17823 * io/umask.c (__umask): Likewise.
17824 * io/unlink.c (__unlink): Likewise.
17825 * io/unlinkat.c (unlinkat): Likewise.
17826 * io/utime.c (utime): Likewise.
17827 * libio/clearerr.c (clearerr): Likewise.
17828 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17829 * libio/feof.c (_IO_feof): Likewise.
17830 * libio/feof_u.c (feof_unlocked): Likewise.
17831 * libio/ferror.c (_IO_ferror): Likewise.
17832 * libio/ferror_u.c (ferror_unlocked): Likewise.
17833 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17834 * libio/fileno.c (__fileno): Likewise.
17835 * libio/fputc.c (fputc): Likewise.
17836 * libio/fputc_u.c (fputc_unlocked): Likewise.
17837 * libio/fputwc.c (fputwc): Likewise.
17838 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17839 * libio/freopen.c (freopen): Likewise.
17840 * libio/freopen64.c (freopen64): Likewise.
17841 * libio/fseek.c (fseek): Likewise.
17842 * libio/fseeko.c (fseeko): Likewise.
17843 * libio/fseeko64.c (fseeko64): Likewise.
17844 * libio/ftello.c (__ftello): Likewise.
17845 * libio/ftello64.c (ftello64): Likewise.
17846 * libio/fwide.c (fwide): Likewise.
17847 * libio/genops.c (_IO_un_link): Likewise.
17848 (_IO_link_in): Likewise.
17849 (_IO_least_marker): Likewise.
17850 (_IO_switch_to_main_get_area): Likewise.
17851 (_IO_switch_to_backup_area): Likewise.
17852 (_IO_switch_to_get_mode): Likewise.
17853 (_IO_free_backup_area): Likewise.
17854 (_IO_switch_to_put_mode): Likewise.
17855 (__overflow): Likewise.
17856 (__underflow): Likewise.
17857 (__uflow): Likewise.
17858 (_IO_setb): Likewise.
17859 (_IO_doallocbuf): Likewise.
17860 (_IO_default_underflow): Likewise.
17861 (_IO_default_uflow): Likewise.
17862 (_IO_default_xsputn): Likewise.
17863 (_IO_sgetn): Likewise.
17864 (_IO_default_xsgetn): Likewise.
17865 (_IO_sync): Likewise.
17866 (_IO_default_setbuf): Likewise.
17867 (_IO_default_seekpos): Likewise.
17868 (_IO_default_doallocate): Likewise.
17869 (_IO_init): Likewise.
17870 (_IO_old_init): Likewise.
17871 (_IO_default_sync): Likewise.
17872 (_IO_default_finish): Likewise.
17873 (_IO_default_seekoff): Likewise.
17874 (_IO_sputbackc): Likewise.
17875 (_IO_sungetc): Likewise.
17876 (_IO_set_column): Likewise.
17877 (_IO_set_column): Likewise.
17878 (_IO_adjust_column): Likewise.
17879 (_IO_get_column): Likewise.
17880 (_IO_init_marker): Likewise.
17881 (_IO_remove_marker): Likewise.
17882 (_IO_marker_difference): Likewise.
17883 (_IO_marker_delta): Likewise.
17884 (_IO_seekmark): Likewise.
17885 (_IO_unsave_markers): Likewise.
17886 (_IO_nobackup_pbackfail): Likewise.
17887 (_IO_default_pbackfail): Likewise.
17888 (_IO_default_seek): Likewise.
17889 (_IO_default_stat): Likewise.
17890 (_IO_default_read): Likewise.
17891 (_IO_default_write): Likewise.
17892 (_IO_default_showmanyc): Likewise.
17893 (_IO_default_imbue): Likewise.
17894 (_IO_iter_next): Likewise.
17895 (_IO_iter_file): Likewise.
17896 * libio/getc.c (_IO_getc): Likewise.
17897 * libio/getwc.c (_IO_getwc): Likewise.
17898 * libio/iofclose.c (_IO_new_fclose): Likewise.
17899 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17900 * libio/iofflush.c (_IO_fflush): Likewise.
17901 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17902 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17903 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17904 * libio/iofgets.c (_IO_fgets): Likewise.
17905 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17906 * libio/iofgetws.c (fgetws): Likewise.
17907 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17908 * libio/iofopen64.c (_IO_fopen64): Likewise.
17909 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17910 (_IO_cookie_write): Likewise.
17911 (_IO_cookie_seek): Likewise.
17912 (_IO_cookie_close): Likewise.
17913 (_IO_cookie_seekoff): Likewise.
17914 (_IO_old_cookie_seek): Likewise.
17915 * libio/iofputs.c (_IO_fputs): Likewise.
17916 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17917 * libio/iofputws.c (fputws): Likewise.
17918 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17919 * libio/iofread.c (_IO_fread): Likewise.
17920 * libio/iofread_u.c (__fread_unlocked): Likewise.
17921 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17922 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17923 * libio/ioftell.c (_IO_ftell): Likewise.
17924 * libio/iofwrite.c (_IO_fwrite): Likewise.
17925 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17926 * libio/iogets.c (_IO_gets): Likewise.
17927 * libio/iopadn.c (_IO_padn): Likewise.
17928 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17929 (_IO_new_popen): Likewise.
17930 (_IO_new_proc_close): Likewise.
17931 * libio/ioputs.c (_IO_puts): Likewise.
17932 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17933 (_IO_seekoff): Likewise.
17934 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17935 (_IO_seekpos): Likewise.
17936 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17937 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17938 * libio/ioungetc.c (_IO_ungetc): Likewise.
17939 * libio/ioungetwc.c (ungetwc): Likewise.
17940 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17941 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17942 * libio/iowpadn.c (_IO_wpadn): Likewise.
17943 * libio/libc_fatal.c (__libc_fatal): Likewise.
17944 * libio/memstream.c (__open_memstream): Likewise.
17945 (_IO_mem_sync): Likewise.
17946 (_IO_mem_finish): Likewise.
17947 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17948 (_IO_old_file_close_it): Likewise.
17949 (_IO_old_file_finish): Likewise.
17950 (_IO_old_file_fopen): Likewise.
17951 (_IO_old_file_attach): Likewise.
17952 (_IO_old_file_setbuf): Likewise.
17953 (_IO_old_do_write): Likewise.
17954 (old_do_write): Likewise.
17955 (_IO_old_file_underflow): Likewise.
17956 (_IO_old_file_overflow): Likewise.
17957 (_IO_old_file_sync): Likewise.
17958 (_IO_old_file_seekoff): Likewise.
17959 (_IO_old_file_write): Likewise.
17960 (_IO_old_file_xsputn): Likewise.
17961 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17962 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17963 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17964 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17965 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17966 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17967 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17968 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17969 (_IO_old_popen): Likewise.
17970 (_IO_old_proc_close): Likewise.
17971 * libio/oldpclose.c (__old_pclose): Likewise.
17972 * libio/pclose.c (__new_pclose): Likewise.
17973 * libio/peekc.c (_IO_peekc_locked): Likewise.
17974 * libio/putc.c (_IO_putc): Likewise.
17975 * libio/putc_u.c (putc_unlocked): Likewise.
17976 * libio/putchar.c (putchar): Likewise.
17977 * libio/putchar_u.c (putchar_unlocked): Likewise.
17978 * libio/putwc.c (putwc): Likewise.
17979 * libio/putwc_u.c (putwc_unlocked): Likewise.
17980 * libio/putwchar.c (putwchar): Likewise.
17981 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17982 * libio/rewind.c (rewind): Likewise.
17983 * libio/setbuf.c (setbuf): Likewise.
17984 * libio/setlinebuf.c (setlinebuf): Likewise.
17985 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17986 * libio/vscanf.c (_IO_vscanf): Likewise.
17987 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17988 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17989 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17990 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17991 (_IO_switch_to_main_wget_area): Likewise.
17992 (_IO_switch_to_wbackup_area): Likewise.
17993 (_IO_wsetb): Likewise.
17994 (_IO_wdefault_pbackfail): Likewise.
17995 (_IO_wdefault_finish): Likewise.
17996 (_IO_wdefault_uflow): Likewise.
17997 (__woverflow): Likewise.
17998 (__wuflow): Likewise.
17999 (__wunderflow): Likewise.
18000 (_IO_wdefault_xsputn): Likewise.
18001 (_IO_wdefault_xsgetn): Likewise.
18002 (_IO_wdoallocbuf): Likewise.
18003 (_IO_wdefault_doallocate): Likewise.
18004 (_IO_switch_to_wget_mode): Likewise.
18005 (_IO_free_wbackup_area): Likewise.
18006 (_IO_switch_to_wput_mode): Likewise.
18007 (_IO_sputbackwc): Likewise.
18008 (_IO_sungetwc): Likewise.
18009 (_IO_adjust_wcolumn): Likewise.
18010 (_IO_init_wmarker): Likewise.
18011 (_IO_wmarker_delta): Likewise.
18012 (_IO_seekwmark): Likewise.
18013 (_IO_unsave_wmarkers): Likewise.
18014 * libio/wmemstream.c (open_wmemstream): Likewise.
18015 (_IO_wmem_sync): Likewise.
18016 (_IO_wmem_finish): Likewise.
18017 * locale/nl_langinfo.c (nl_langinfo): Likewise.
18018 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18019 * locale/programs/simple-hash.c (init_hash): Likewise.
18020 (delete_hash): Likewise.
18021 (insert_entry): Likewise.
18022 (set_entry): Likewise.
18023 (next_prime): Likewise.
18024 (is_prime): Likewise.
18025 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18026 (xmalloc): Likewise.
18027 (xrealloc): Likewise.
18028 * locale/programs/xstrdup.c (xstrdup): Likewise.
18029 * localedata/collate-test.c (xstrcoll): Likewise.
18030 * localedata/xfrm-test.c (xstrcmp): Likewise.
18031 * login/getlogin_r.c (__getlogin_r): Likewise.
18032 * login/getpt.c (__posix_openpt): Likewise.
18033 * login/login_tty.c (login_tty): Likewise.
18034 * login/setlogin.c (setlogin): Likewise.
18035 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18036 (mach_msg_destroy_port): Likewise.
18037 (mach_msg_destroy_memory): Likewise.
18038 * malloc/mcheck.c (flood): Likewise.
18039 * misc/acct.c (acct): Likewise.
18040 * misc/brk.c (__brk): Likewise.
18041 * misc/chflags.c (chflags): Likewise.
18042 * misc/chroot.c (chroot): Likewise.
18043 * misc/fchflags.c (fchflags): Likewise.
18044 * misc/fstab.c (getfsspec): Likewise.
18045 (getfsfile): Likewise.
18046 * misc/fsync.c (fsync): Likewise.
18047 * misc/ftruncate.c (__ftruncate): Likewise.
18048 * misc/ftruncate64.c (__ftruncate64): Likewise.
18049 * misc/getdomain.c (getdomainname): Likewise.
18050 (getdomainname): Likewise.
18051 * misc/gethostname.c (__gethostname): Likewise.
18052 * misc/getpass.c (getpass): Likewise.
18053 * misc/getttyent.c (skip): Likewise.
18054 (value): Likewise.
18055 * misc/gtty.c (gtty): Likewise.
18056 * misc/hsearch.c (hsearch): Likewise.
18057 (hcreate): Likewise.
18058 * misc/hsearch_r.c (__hcreate_r): Likewise.
18059 (__hdestroy_r): Likewise.
18060 * misc/ioctl.c (__ioctl): Likewise.
18061 * misc/mkdtemp.c (mkdtemp): Likewise.
18062 * misc/mkostemp.c (mkostemp): Likewise.
18063 * misc/mkostemp64.c (mkostemp64): Likewise.
18064 * misc/mkostemps.c (mkostemps): Likewise.
18065 * misc/mkostemps64.c (mkostemps64): Likewise.
18066 * misc/mkstemp.c (mkstemp): Likewise.
18067 * misc/mkstemp64.c (mkstemp64): Likewise.
18068 * misc/mkstemps.c (mkstemps): Likewise.
18069 * misc/mkstemps64.c (mkstemps64): Likewise.
18070 * misc/mktemp.c (__mktemp): Likewise.
18071 * misc/preadv.c (preadv): Likewise.
18072 * misc/preadv64.c (preadv64): Likewise.
18073 * misc/pwritev.c (pwritev): Likewise.
18074 * misc/pwritev64.c (pwritev64): Likewise.
18075 * misc/readv.c (__readv): Likewise.
18076 * misc/revoke.c (revoke): Likewise.
18077 * misc/setdomain.c (setdomainname): Likewise.
18078 * misc/setegid.c (setegid): Likewise.
18079 * misc/seteuid.c (seteuid): Likewise.
18080 * misc/sethostid.c (sethostid): Likewise.
18081 * misc/sethostname.c (sethostname): Likewise.
18082 * misc/setregid.c (__setregid): Likewise.
18083 * misc/setreuid.c (__setreuid): Likewise.
18084 * misc/sstk.c (sstk): Likewise.
18085 * misc/stty.c (stty): Likewise.
18086 * misc/syscall.c (syscall): Likewise.
18087 * misc/syslog.c (setlogmask): Likewise.
18088 * misc/truncate.c (__truncate): Likewise.
18089 * misc/truncate64.c (truncate64): Likewise.
18090 * misc/ualarm.c (ualarm): Likewise.
18091 * misc/usleep.c (usleep): Likewise.
18092 * misc/ustat.c (ustat): Likewise.
18093 * misc/writev.c (__writev): Likewise.
18094 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18095 * nptl/old_pthread_cond_broadcast.c
18096 (__pthread_cond_broadcast_2_0): Likewise.
18097 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18098 Likewise.
18099 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18100 Likewise.
18101 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18102 Likewise.
18103 * nptl/pt-raise.c (raise): Likewise.
18104 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18105 Likewise.
18106 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18107 * nptl/pthread_barrierattr_destroy.c
18108 (pthread_barrierattr_destroy): Likewise.
18109 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18110 Likewise.
18111 * nptl/pthread_barrierattr_setpshared.c
18112 (pthread_barrierattr_setpshared): Likewise.
18113 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18114 Likewise.
18115 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18116 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18117 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18118 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18119 Likewise.
18120 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18121 Likewise.
18122 * nptl/pthread_condattr_getpshared.c
18123 (pthread_condattr_getpshared): Likewise.
18124 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18125 Likewise.
18126 * nptl/pthread_condattr_setpshared.c
18127 (pthread_condattr_setpshared): Likewise.
18128 * nptl/pthread_detach.c (pthread_detach): Likewise.
18129 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18130 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18131 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18132 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18133 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18134 Likewise.
18135 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18136 Likewise.
18137 * nptl/pthread_mutex_getprioceiling.c
18138 (pthread_mutex_getprioceiling): Likewise.
18139 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18140 Likewise.
18141 * nptl/pthread_mutexattr_getprotocol.c
18142 (pthread_mutexattr_getprotocol): Likewise.
18143 * nptl/pthread_mutexattr_getpshared.c
18144 (pthread_mutexattr_getpshared): Likewise.
18145 * nptl/pthread_mutexattr_getrobust.c
18146 (pthread_mutexattr_getrobust): Likewise.
18147 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18148 Likewise.
18149 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18150 Likewise.
18151 * nptl/pthread_mutexattr_setprioceiling.c
18152 (pthread_mutexattr_setprioceiling): Likewise.
18153 * nptl/pthread_mutexattr_setprotocol.c
18154 (pthread_mutexattr_setprotocol): Likewise.
18155 * nptl/pthread_mutexattr_setpshared.c
18156 (pthread_mutexattr_setpshared): Likewise.
18157 * nptl/pthread_mutexattr_setrobust.c
18158 (pthread_mutexattr_setrobust): Likewise.
18159 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18160 Likewise.
18161 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18162 Likewise.
18163 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18164 Likewise.
18165 * nptl/pthread_rwlockattr_getkind_np.c
18166 (pthread_rwlockattr_getkind_np): Likewise.
18167 * nptl/pthread_rwlockattr_getpshared.c
18168 (pthread_rwlockattr_getpshared): Likewise.
18169 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18170 Likewise.
18171 * nptl/pthread_rwlockattr_setkind_np.c
18172 (pthread_rwlockattr_setkind_np): Likewise.
18173 * nptl/pthread_rwlockattr_setpshared.c
18174 (pthread_rwlockattr_setpshared): Likewise.
18175 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18176 Likewise.
18177 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18178 Likewise.
18179 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18180 Likewise.
18181 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18182 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18183 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18184 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18185 * nptl/sem_close.c (sem_close): Likewise.
18186 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18187 * nptl/sem_init.c (__old_sem_init): Likewise.
18188 * nptl/sigaction.c (__sigaction): Likewise.
18189 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18190 * posix/_exit.c (_exit): Likewise.
18191 * posix/alarm.c (alarm): Likewise.
18192 * posix/confstr.c (confstr): Likewise.
18193 * posix/fpathconf.c (__fpathconf): Likewise.
18194 * posix/getgroups.c (__getgroups): Likewise.
18195 * posix/getpgid.c (__getpgid): Likewise.
18196 * posix/group_member.c (__group_member): Likewise.
18197 * posix/pathconf.c (__pathconf): Likewise.
18198 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18199 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18200 * posix/setgid.c (__setgid): Likewise.
18201 * posix/setpgid.c (__setpgid): Likewise.
18202 * posix/setuid.c (__setuid): Likewise.
18203 * posix/sleep.c (__sleep): Likewise.
18204 * posix/sysconf.c (__sysconf): Likewise.
18205 * posix/times.c (__times): Likewise.
18206 * posix/uname.c (__uname): Likewise.
18207 * posix/waitid.c (__waitid): Likewise.
18208 * pwd/getpw.c (__getpw): Likewise.
18209 * resolv/base64.c (b64_pton): Likewise.
18210 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18211 * resolv/gethnamaddr.c (Dprintf): Likewise.
18212 (gethostbyname): Likewise.
18213 (gethostbyname2): Likewise.
18214 (gethostbyaddr): Likewise.
18215 (_sethtent): Likewise.
18216 (_gethtbyname): Likewise.
18217 (_gethtbyname2): Likewise.
18218 (_gethtbyaddr): Likewise.
18219 (map_v4v6_address): Likewise.
18220 (map_v4v6_hostent): Likewise.
18221 (addrsort): Likewise.
18222 (ht_sethostent): Likewise.
18223 (ht_gethostbyname): Likewise.
18224 (ht_gethostbyaddr): Likewise.
18225 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18226 (inet_net_ntop_ipv4): Likewise.
18227 * resolv/inet_neta.c (inet_neta): Likewise.
18228 * resolv/inet_ntop.c (inet_ntop): Likewise.
18229 (inet_ntop4): Likewise.
18230 (inet_ntop6): Likewise.
18231 * resolv/inet_pton.c (__inet_pton): Likewise.
18232 (inet_pton4): Likewise.
18233 (inet_pton6): Likewise.
18234 * resolv/res_debug.c (loc_aton): Likewise.
18235 (loc_ntoa): Likewise.
18236 * resource/getpriority.c (__getpriority): Likewise.
18237 * resource/getrusage.c (__getrusage): Likewise.
18238 * resource/nice.c (nice): Likewise.
18239 * resource/setpriority.c (__setpriority): Likewise.
18240 * resource/setrlimit64.c (setrlimit64): Likewise.
18241 * resource/vlimit.c (vlimit): Likewise.
18242 * resource/vtimes.c (vtimes): Likewise.
18243 * rt/aio_error.c (aio_error): Likewise.
18244 * rt/aio_return.c (aio_return): Likewise.
18245 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18246 * signal/kill.c (__kill): Likewise.
18247 * signal/killpg.c (killpg): Likewise.
18248 * signal/raise.c (raise): Likewise.
18249 * signal/sigaction.c (__sigaction): Likewise.
18250 * signal/sigaddset.c (sigaddset): Likewise.
18251 * signal/sigaltstack.c (sigaltstack): Likewise.
18252 * signal/sigandset.c (sigandset): Likewise.
18253 * signal/sigblock.c (__sigblock): Likewise.
18254 * signal/sigdelset.c (sigdelset): Likewise.
18255 * signal/sigempty.c (sigemptyset): Likewise.
18256 * signal/sigfillset.c (sigfillset): Likewise.
18257 * signal/sighold.c (sighold): Likewise.
18258 * signal/sigignore.c (sigignore): Likewise.
18259 * signal/sigintr.c (siginterrupt): Likewise.
18260 * signal/sigisempty.c (sigisemptyset): Likewise.
18261 * signal/sigismem.c (sigismember): Likewise.
18262 * signal/signal.c (signal): Likewise.
18263 * signal/sigorset.c (sigorset): Likewise.
18264 * signal/sigpause.c (__sigpause): Likewise.
18265 * signal/sigpending.c (sigpending): Likewise.
18266 * signal/sigprocmask.c (__sigprocmask): Likewise.
18267 * signal/sigrelse.c (sigrelse): Likewise.
18268 * signal/sigreturn.c (__sigreturn): Likewise.
18269 * signal/sigset.c (sigset): Likewise.
18270 * signal/sigsetmask.c (__sigsetmask): Likewise.
18271 * signal/sigstack.c (sigstack): Likewise.
18272 * signal/sigsuspend.c (__sigsuspend): Likewise.
18273 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18274 * signal/sysv_signal.c (__sysv_signal): Likewise.
18275 * socket/accept.c (accept): Likewise.
18276 * socket/accept4.c (__libc_accept4): Likewise.
18277 * socket/bind.c (__bind): Likewise.
18278 * socket/connect.c (__connect): Likewise.
18279 * socket/getpeername.c (getpeername): Likewise.
18280 * socket/getsockname.c (__getsockname): Likewise.
18281 * socket/getsockopt.c (getsockopt): Likewise.
18282 * socket/listen.c (__listen): Likewise.
18283 * socket/recv.c (__recv): Likewise.
18284 * socket/recvmsg.c (__recvmsg): Likewise.
18285 * socket/send.c (__send): Likewise.
18286 * socket/sendmsg.c (__sendmsg): Likewise.
18287 * socket/shutdown.c (shutdown): Likewise.
18288 * socket/sockatmark.c (sockatmark): Likewise.
18289 * socket/socket.c (__socket): Likewise.
18290 * stdio-common/ctermid.c (ctermid): Likewise.
18291 * stdio-common/cuserid.c (cuserid): Likewise.
18292 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18293 * stdio-common/remove.c (remove): Likewise.
18294 * stdio-common/rename.c (rename): Likewise.
18295 * stdio-common/renameat.c (renameat): Likewise.
18296 * stdio-common/tempname.c (__gen_tempname): Likewise.
18297 * stdio-common/xbug.c (InitBuffer): Likewise.
18298 (AppendToBuffer): Likewise.
18299 (ReadFile): Likewise.
18300 * stdlib/a64l.c (a64l): Likewise.
18301 * stdlib/drand48_r.c (drand48_r): Likewise.
18302 * stdlib/getcontext.c (getcontext): Likewise.
18303 * stdlib/getenv.c (getenv): Likewise.
18304 * stdlib/l64a.c (l64a): Likewise.
18305 * stdlib/llabs.c (llabs): Likewise.
18306 * stdlib/lldiv.c (lldiv): Likewise.
18307 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18308 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18309 * stdlib/putenv.c (putenv): Likewise.
18310 * stdlib/random.c (__srandom): Likewise.
18311 (__initstate): Likewise.
18312 (__setstate): Likewise.
18313 * stdlib/random_r.c (__srandom_r): Likewise.
18314 (__setstate_r): Likewise.
18315 (__random_r): Likewise.
18316 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18317 * stdlib/setcontext.c (setcontext): Likewise.
18318 * stdlib/setenv.c (setenv): Likewise.
18319 (unsetenv): Likewise.
18320 * stdlib/srand48.c (srand48): Likewise.
18321 * stdlib/srand48_r.c (__srand48_r): Likewise.
18322 * stdlib/swapcontext.c (swapcontext): Likewise.
18323 * stdlib/system.c (__libc_system): Likewise.
18324 * stdlib/tst-strtod.c (expand): Likewise.
18325 * stdlib/tst-strtol.c (expand): Likewise.
18326 * stdlib/tst-strtoll.c (expand): Likewise.
18327 * streams/fattach.c (fattach): Likewise.
18328 * streams/fdetach.c (fdetach): Likewise.
18329 * streams/getmsg.c (getmsg): Likewise.
18330 * streams/isastream.c (isastream): Likewise.
18331 * string/ffs.c (__ffs): Likewise.
18332 * string/ffsll.c (ffsll): Likewise.
18333 * string/memcmp.c (memcmp_common_alignment): Likewise.
18334 (memcmp_not_common_alignment): Likewise.
18335 (MEMCMP): Likewise.
18336 * string/memcpy.c (memcpy): Likewise.
18337 * string/memmove.c (MEMMOVE): Likewise.
18338 * string/memset.c (memset): Likewise.
18339 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18340 * string/strchrnul.c (STRCHRNUL): Likewise.
18341 * string/strerror.c (strerror): Likewise.
18342 * string/strndup.c (__strndup): Likewise.
18343 * string/strverscmp.c (__strverscmp): Likewise.
18344 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18345 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18346 (clnttcp_freeres): Likewise.
18347 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18348 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18349 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18350 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18351 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18352 (xdr_callhdr): Likewise.
18353 * sunrpc/rpcinfo.c (udpping): Likewise.
18354 (tcpping): Likewise.
18355 (pstatus): Likewise.
18356 (pmapdump): Likewise.
18357 (brdcst): Likewise.
18358 (deletereg): Likewise.
18359 (getprognum): Likewise.
18360 (getvers): Likewise.
18361 (get_inet_address): Likewise.
18362 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18363 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18364 (svcudp_stat): Likewise.
18365 (svcudp_recv): Likewise.
18366 (svcudp_reply): Likewise.
18367 (svcudp_getargs): Likewise.
18368 (svcudp_freeargs): Likewise.
18369 (svcudp_destroy): Likewise.
18370 * sunrpc/xdr.c (xdr_bytes): Likewise.
18371 (xdr_netobj): Likewise.
18372 (xdr_string): Likewise.
18373 (xdr_wrapstring): Likewise.
18374 * sunrpc/xdr_float.c (xdr_float): Likewise.
18375 (xdr_double): Likewise.
18376 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18377 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18378 * sysvipc/ftok.c (ftok): Likewise.
18379 * sysvipc/msgctl.c (msgctl): Likewise.
18380 * sysvipc/msgget.c (msgget): Likewise.
18381 * sysvipc/msgrcv.c (msgrcv): Likewise.
18382 * sysvipc/msgsnd.c (msgsnd): Likewise.
18383 * sysvipc/semget.c (semget): Likewise.
18384 * sysvipc/semop.c (semop): Likewise.
18385 * sysvipc/shmat.c (shmat): Likewise.
18386 * sysvipc/shmctl.c (shmctl): Likewise.
18387 * sysvipc/shmdt.c (shmdt): Likewise.
18388 * sysvipc/shmget.c (shmget): Likewise.
18389 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18390 * termios/speed.c (cfgetospeed): Likewise.
18391 (cfgetispeed): Likewise.
18392 (cfsetospeed): Likewise.
18393 (cfsetispeed): Likewise.
18394 * termios/tcflow.c (tcflow): Likewise.
18395 * termios/tcflush.c (tcflush): Likewise.
18396 * termios/tcgetattr.c (__tcgetattr): Likewise.
18397 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18398 * termios/tcgetsid.c (tcgetsid): Likewise.
18399 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18400 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18401 * time/adjtime.c (__adjtime): Likewise.
18402 * time/dysize.c (dysize): Likewise.
18403 * time/ftime.c (ftime): Likewise.
18404 * time/getitimer.c (__getitimer): Likewise.
18405 * time/gettimeofday.c (__gettimeofday): Likewise.
18406 * time/gmtime.c (__gmtime_r): Likewise.
18407 (gmtime): Likewise.
18408 * time/localtime.c (__localtime_r): Likewise.
18409 (localtime): Likewise.
18410 * time/offtime.c (__offtime): Likewise.
18411 * time/settimeofday.c (__settimeofday): Likewise.
18412 * time/stime.c (stime): Likewise.
18413 * time/strftime_l.c (tm_diff): Likewise.
18414 (iso_week_days): Likewise.
18415 * time/strptime.c (strptime): Likewise.
18416 * time/time.c (time): Likewise.
18417 * time/timespec_get.c (timespec_get): Likewise.
18418 * time/tzset.c (tzset_internal): Likewise.
18419 (compute_change): Likewise.
18420 (__tz_compute): Likewise.
18421 * wcsmbs/btowc.c (__btowc): Likewise.
18422 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18423 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18424 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18425 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18426 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18427 * wcsmbs/wcscat.c (__wcscat): Likewise.
18428 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18429 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18430 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18431 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18432 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18433 * wcsmbs/wcslen.c (__wcslen): Likewise.
18434 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18435 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18436 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18437 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18438 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18439 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18440 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18441 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18442 * wcsmbs/wcstok.c (wcstok): Likewise.
18443 * wcsmbs/wctob.c (wctob): Likewise.
18444 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18446 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18447 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18448 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18449 * wcsmbs/wmemset.c (__wmemset): Likewise.
18450 * wctype/wcfuncs.c (__towlower): Likewise.
18451 (__towupper): Likewise.
18452
18453 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18454 (lll_unlock_elision): Add adapt_count parameter.
18455
18456 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18457
18458 * sysdeps/nptl/configure.ac: Do not give errors based on the
18459 results of top-level configure tests.
18460 * sysdeps/nptl/configure: Regenerated.
18461
18462 * configure.ac (libc_cv_Bgroup): Remove configure test.
18463 * configure: Regenerated.
18464 * config.make.in (have-Bgroup): Remove variable.
18465
18466 * configure.ac (sizeof_long_double): Remove configure test.
18467 * configure: Regenerated.
18468 * config.make.in (sizeof-long-double): Remove variable.
18469
18470 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18471 * configure: Regenerated.
18472 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18473 variable.
18474 (exceptions): Likewise.
18475 * sysdeps/arm/configure: Regenerated.
18476 * config.make.in (exceptions): Remove variable.
18477 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18478 $(exceptions).
18479 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18480 (CFLAGS-vdprintf_chk.c): Likewise.
18481 (CFLAGS-printf_chk.c): Likewise.
18482 (CFLAGS-fprintf_chk.c): Likewise.
18483 (CFLAGS-vprintf_chk.c): Likewise.
18484 (CFLAGS-vfprintf_chk.c): Likewise.
18485 (CFLAGS-gets_chk.c): Likewise.
18486 (CFLAGS-fgets_chk.c): Likewise.
18487 (CFLAGS-fgets_u_chk.c): Likewise.
18488 (CFLAGS-fread_chk.c): Likewise.
18489 (CFLAGS-fread_u_chk.c): Likewise.
18490 (CFLAGS-wprintf_chk.c): Likewise.
18491 (CFLAGS-fwprintf_chk.c): Likewise.
18492 (CFLAGS-vwprintf_chk.c): Likewise.
18493 (CFLAGS-vfwprintf_chk.c): Likewise.
18494 (CFLAGS-fgetws_chk.c): Likewise.
18495 (CFLAGS-fgetws_u_chk.c): Likewise.
18496 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18497 (CFLAGS-fputc.c): Likewise.
18498 (CFLAGS-fputwc.c): Likewise.
18499 (CFLAGS-freopen64.c): Likewise.
18500 (CFLAGS-freopen.c): Likewise.
18501 (CFLAGS-fseek.c): Likewise.
18502 (CFLAGS-fseeko64.c): Likewise.
18503 (CFLAGS-fseeko.c): Likewise.
18504 (CFLAGS-ftello64.c): Likewise.
18505 (CFLAGS-ftello.c): Likewise.
18506 (CFLAGS-fwide.c): Likewise.
18507 (CFLAGS-genops.c): Likewise.
18508 (CFLAGS-getc.c): Likewise.
18509 (CFLAGS-getchar.c): Likewise.
18510 (CFLAGS-getwc.c): Likewise.
18511 (CFLAGS-getwchar.c): Likewise.
18512 (CFLAGS-iofclose.c): Likewise.
18513 (CFLAGS-iofflush.c): Likewise.
18514 (CFLAGS-iofgetpos64.c): Likewise.
18515 (CFLAGS-iofgetpos.c): Likewise.
18516 (CFLAGS-iofgets.c): Likewise.
18517 (CFLAGS-iofgetws.c): Likewise.
18518 (CFLAGS-iofputs.c): Likewise.
18519 (CFLAGS-iofputws.c): Likewise.
18520 (CFLAGS-iofread.c): Likewise.
18521 (CFLAGS-iofsetpos64.c): Likewise.
18522 (CFLAGS-iofsetpos.c): Likewise.
18523 (CFLAGS-ioftell.c): Likewise.
18524 (CFLAGS-iofwrite.c): Likewise.
18525 (CFLAGS-iogetdelim.c): Likewise.
18526 (CFLAGS-iogetline.c): Likewise.
18527 (CFLAGS-iogets.c): Likewise.
18528 (CFLAGS-iogetwline.c): Likewise.
18529 (CFLAGS-ioputs.c): Likewise.
18530 (CFLAGS-ioseekoff.c): Likewise.
18531 (CFLAGS-ioseekpos.c): Likewise.
18532 (CFLAGS-iosetbuffer.c): Likewise.
18533 (CFLAGS-iosetvbuf.c): Likewise.
18534 (CFLAGS-ioungetc.c): Likewise.
18535 (CFLAGS-ioungetwc.c): Likewise.
18536 (CFLAGS-oldfileops.c): Likewise.
18537 (CFLAGS-oldiofclose.c): Likewise.
18538 (CFLAGS-oldiofgetpos64.c): Likewise.
18539 (CFLAGS-oldiofgetpos.c): Likewise.
18540 (CFLAGS-oldiofsetpos64.c): Likewise.
18541 (CFLAGS-oldiofsetpos.c): Likewise.
18542 (CFLAGS-peekc.c): Likewise.
18543 (CFLAGS-putc.c): Likewise.
18544 (CFLAGS-putchar.c): Likewise.
18545 (CFLAGS-putwc.c): Likewise.
18546 (CFLAGS-putwchar.c): Likewise.
18547 (CFLAGS-rewind.c): Likewise.
18548 (CFLAGS-wfileops.c): Likewise.
18549 (CFLAGS-wgenops.c): Likewise.
18550 (CFLAGS-oldiofopen.c): Likewise.
18551 (CFLAGS-iofopen.c): Likewise.
18552 (CFLAGS-iofopen64.c): Likewise.
18553 (CFLAGS-oldtmpfile.c): Likewise.
18554 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18555 (CFLAGS-fprintf.c): Likewise.
18556 (CFLAGS-printf.c): Likewise.
18557 (CFLAGS-vfwprintf.c): Likewise.
18558 (CFLAGS-vfscanf.c): Likewise.
18559 (CFLAGS-vfwscanf.c): Likewise.
18560 (CFLAGS-fscanf.c): Likewise.
18561 (CFLAGS-scanf.c): Likewise.
18562 (CFLAGS-isoc99_vfscanf.c): Likewise.
18563 (CFLAGS-isoc99_vscanf.c): Likewise.
18564 (CFLAGS-isoc99_fscanf.c): Likewise.
18565 (CFLAGS-isoc99_scanf.c): Likewise.
18566 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18567 (CFLAGS-isoc99_fwscanf.c): Likewise.
18568 (CFLAGS-isoc99_vwscanf.c): Likewise.
18569 (CFLAGS-isoc99_vfwscanf.c): Likewise.
18570
18571 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18572 after mkstemp64.
18573 * login/tst-utmp.c (do_prepare): Likewise.
18574 * rt/tst-aio.c (do_prepare): Likewise.
18575 * rt/tst-aio64.c (do_prepare): Likewise.
18576
18577 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18578
18579 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18580 (__lll_lock_elision): Remove adapt_count decrement...
18581 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18582 (__lll_trylock_elision): Likewise.
18583 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18584 (__lll_unlock_elision): ... to here. And utilize
18585 new adapt_count parameter.
18586 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18587 (__lll_unlock_elision): Update to include adapt_count
18588 parameter.
18589 (lll_unlock_elision): Pass pointer to adapt_count
18590 variable.
18591
18592 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18593
18594 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18595 Add elision adapt_count parameter to list of arguments.
18596 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18597 (lll_unlock_elision): Update with new parameter list
18598 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18599 (lll_unlock_elision): Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18601 (lll_unlock_elision): Likewise.
18602
18603 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18604
18605 [BZ #19122]
18606 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18607 attribute_hidden.
18608
18609 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18610 attribute_hidden.
18611 [IS_IN (rtld)] (__strdup): Likewise.
18612 [IS_IN (rtld)] (__strerror_r): Likewise.
18613 [IS_IN (rtld)] (__strsep_g): Likewise.
18614 [IS_IN (rtld)] (memchr): Likewise.
18615 [IS_IN (rtld)] (memcmp): Likewise.
18616 [IS_IN (rtld)] (memcpy): Likewise.
18617 [IS_IN (rtld)] (memmove): Likewise.
18618 [IS_IN (rtld)] (memset): Likewise.
18619 [IS_IN (rtld)] (rawmemchr): Likewise.
18620 [IS_IN (rtld)] (stpcpy): Likewise.
18621 [IS_IN (rtld)] (strchr): Likewise.
18622 [IS_IN (rtld)] (strcmp): Likewise.
18623 [IS_IN (rtld)] (strlen): Likewise.
18624 [IS_IN (rtld)] (strnlen): Likewise.
18625 [IS_IN (rtld)] (strsep): Likewise.
18626
18627 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18628 attribute_hidden.
18629 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18630
18631 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18632 attribute_hidden.
18633 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18634
18635 * include/setjmp.h (__longjmp): Add attribute_hidden.
18636 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18637
18638 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18639 Add attribute_hidden.
18640
18641 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18642 [IS_IN (rtld)] (__open): Likewise.
18643 [IS_IN (rtld)] (__fcntl): Likewise.
18644
18645 * include/dirent.h (__opendirat): Add attribute_hidden.
18646 (__getdents): Likewise.
18647 (__getdents64): Likewise.
18648 (__alloc_dir): Likewise.
18649 [IS_IN (rtld)] (__closedir): Likewise.
18650 [IS_IN (rtld)] (__fdopendir): Likewise.
18651 [IS_IN (rtld)] (__readdir): Likewise.
18652 [IS_IN (rtld)] (__readdir64): Likewise.
18653 [IS_IN (rtld)] (__rewinddir): Likewise.
18654
18655 * include/dlfcn.h (_dl_catch_error): Moved to ...
18656 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18657 attribute_hidden.
18658
18659 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18660 (_itoa_word): Likewise.
18661
18662 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18663 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18664 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18665 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18666 (_dl_higher_prime_number): Likewise.
18667 (_dl_debug_printf_c): Likewise.
18668 (_dl_signal_cerror): Likewise.
18669 (_dl_receive_error): Likewise.
18670 (_dl_reloc_bad_type): Likewise.
18671 (_dl_resolve_conflicts): Likewise.
18672 (_dl_check_all_versions): Likewise.
18673 (_dl_check_map_versions): Likewise.
18674 (_dl_sort_fini): Likewise.
18675 (_dl_debug_initialize): Likewise.
18676 (_dl_init_paths): Likewise.
18677 (_dl_show_auxv): Likewise.
18678 (_dl_next_ld_env_entry): Likewise.
18679 (_dl_important_hwcaps): Likewise.
18680 (_dl_load_cache_lookup): Likewise.
18681 (_dl_update_slotinfo): Likewise.
18682 (_dl_show_scope): Likewise.
18683
18684 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18685 attribute_hidden.
18686 (_wordcopy_fwd_dest_aligned): Likewise.
18687 (_wordcopy_bwd_aligned): Likewise.
18688 (_wordcopy_bwd_dest_aligned): Likewise.
18689
18690 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18691 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18692 Likewise.
18693 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18694 Likewise.
18695 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18696
18697 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18698
18699 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18700 GCC 5 requirement.
18701
18702 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18703
18704 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18705 test.
18706 * sysdeps/i386/configure: Regenerated.
18707 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18708 code unconditional.
18709
18710 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18711 test.
18712 (libc_cv_asm_popsection_directive): Likewise.
18713 * configure: Regenerated.
18714 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18715 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18716 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18717 (__make_section_unallocated): Make definition unconditional.
18718 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18719 Remove conditional definition.
18720 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18721 (__make_section_unallocated): Likewise.
18722
18723 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18724 * configure: Regenerated.
18725 * config.make.in (static-libgcc): Remove variable.
18726 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18727 $(static-libgcc).
18728 (build-module-helper): Likewise.
18729
18730 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18731 * configure: Regenerated.
18732
18733 2015-10-15 Florian Weimer <fweimer@redhat.com>
18734
18735 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18736 (struct char_buffer): New type.
18737 (char_buffer_start, char_buffer_size, char_buffer_error)
18738 (char_buffer_rewind, char_buffer_add): New functions.
18739 (ADDW): Remove macro, replaced by the char_buffer_add function.
18740 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18741 of extend_alloca. Make control flow more explicit.
18742
18743 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18744
18745 [BZ #19137]
18746 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18747 Add -fomit-frame-pointer.
18748 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18749
18750 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18751
18752 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18753 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18754 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18755 only if !__GNUC_PREREQ (5,0).
18756 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18757 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18758 (INTERNAL_SYSCALL_NCS): Likewise.
18759 (LOADREGS_0): New macro for GCC 5.
18760 (ASMARGS_0): Likewise.
18761 (LOADREGS_1): Likewise.
18762 (ASMARGS_1): Likewise.
18763 (LOADREGS_2): Likewise.
18764 (ASMARGS_2): Likewise.
18765 (LOADREGS_3): Likewise.
18766 (ASMARGS_3): Likewise.
18767 (LOADREGS_4): Likewise.
18768 (ASMARGS_4): Likewise.
18769 (LOADREGS_5): Likewise.
18770 (ASMARGS_5): Likewise.
18771 (LOADREGS_6): Likewise.
18772 (ASMARGS_6): Likewise.
18773
18774 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18775
18776 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18777 -fomit-frame-pointer.
18778 (CFLAGS-mmap64.c): Likewise.
18779 (CFLAGS-semtimedop.c): Likewise.
18780 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18781 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18782 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18783 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18784
18785 2015-10-15 Florian Weimer <fweimer@redhat.com>
18786
18787 [BZ #18928]
18788 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18789 _dl_pointer_guard member.
18790 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18791 initializer.
18792 (security_init): Always set up pointer guard.
18793 (process_envvars): Do not process LD_POINTER_GUARD.
18794
18795 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18796
18797 [BZ #19134]
18798 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18799 (.LC2): Likewise.
18800 (.LC3): Likewise.
18801 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18802
18803 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18804
18805 [BZ #19129]
18806 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18807 r0 and r1.
18808
18809 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18810
18811 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18812
18813 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18814
18815 * include/stap-probe.h: Fix macro definition formatting.
18816
18817 2015-10-14 Florian Weimer <fweimer@redhat.com>
18818
18819 [BZ #19074]
18820 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18821 load and store num_ifs.
18822
18823 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 [BZ #18822]
18826 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18827 (__sched_getaffinity_new): Add libc_hidden_proto and
18828 libc_hidden_def.
18829
18830 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18831
18832 [BZ #19007]
18833 * scripts/localplt.awk: Also allow GOT references.
18834 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18835 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18836 with "+ REL R_386_GLOB_DAT".
18837 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18838 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18839
18840 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18841
18842 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18843 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18844 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18845 Likewise.
18846 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18847 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18848 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18849 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18850 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18851 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18852 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18853 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18854 Likewise.
18855 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18856
18857 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18858
18859 [BZ #19125]
18860 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18861 <math_private.h> and <stdint.h>.
18862 (__llround): Avoid conversions to and from long long int, and
18863 subtractions, where those might raise spurious exceptions.
18864 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18865 <math_private.h> and <stdint.h>.
18866 (__llroundf): Avoid conversions to and from long long int, and
18867 subtractions, where those might raise spurious exceptions.
18868
18869 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18872 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18873 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18874 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18875 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18876 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18877 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18878 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18879 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18880 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18881 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18882 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18883 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18884 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18885 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18886 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18887 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18888 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18889 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18890 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18891 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18892 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18893 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18894 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18895 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18896 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18897 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18898 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18899 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18900 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18901 (__xstat64_conv): Likewise.
18902 (__xstat32_conv): Likewise.
18903
18904 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18907 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18908 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18909 <sysdeps/unix/sysv/linux/sysdep.h>.
18910 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18911 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18912 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18913 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18914 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18915 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18916 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18917 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18918 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18923 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18924 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18926 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18927 (sysdep-dl-routines): Add sysdep.
18928 [$(subdir) == nptl] (libpthread-routines): Likewise.
18929 [$(subdir) == rt] (librt-routines): Likewise.
18930 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18931 PIC when branching to SYSCALL_ERROR_LABEL.
18932 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18934 <sysdeps/unix/sysv/linux/sysdep.h>.
18935 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18936 (SYSCALL_ERROR_ERRNO): Removed.
18937 (SYSCALL_ERROR_HANDLER): Changed to empty.
18938 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18939 (__syscall_error): New prototype.
18940 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18941 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18942
18943 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18944
18945 [BZ #19124]
18946 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18947 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18948 _dl_runtime_resolve_avx.
18949 (_dl_runtime_profile_avx512): Make it a hidden alias of
18950 _dl_runtime_profile_avx.
18951
18952 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18953
18954 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18955 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18956 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18957 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18958
18959 [BZ #16422]
18960 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18961 New configure test.
18962 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18963 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18964 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18965 <math_private.h> and <stdint.h>.
18966 (__llrint): Avoid conversions to long long int where those might
18967 raise spurious exceptions.
18968 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18969 <math_private.h> and <stdint.h>.
18970 (__llrintf): Avoid conversions to long long int where those might
18971 raise spurious exceptions.
18972
18973 2015-10-12 Andreas Schwab <schwab@suse.de>
18974
18975 [BZ #18969]
18976 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18977 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18978 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18979 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18980 $(gen-locales).
18981 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18982 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18983 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18984 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18985 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18986 $(gen-locales).
18987 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18988 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18989 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18990 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18991 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18992 ($(objpfx)tst-ftell-active-handler.out)
18993 ($(objpfx)tst-ftell-append.out)
18994 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18995 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18996 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18997 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18998 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18999 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19000 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19001 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19002 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19003 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19004 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19005 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19006 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19007 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19008 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19009 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19010 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19011 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19012 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
19013 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19014 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19015 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19016 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19017 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
19018 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19019 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19020 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19021 $(gen-locales).
19022 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
19023 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19024 $(gen-locales).
19025 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
19026 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19027 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19028 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19029 $(gen-locales).
19030 * libio/tst_wprintf2.c (main): Use explicit locale.
19031 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19032
19033 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19034
19035 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19036 __msg_sig_post.
19037 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19038
19039 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19040
19041 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19042 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19043
19044 * sysdeps/arm/libm-test-ulps: Regenerated.
19045
19046 [BZ #15470]
19047 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19048
19049 [BZ #16399]
19050 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19051 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19052 and <fix-fp-int-convert-overflow.h>.
19053 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19054 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19055 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19056 and <fix-fp-int-convert-overflow.h>.
19057 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19058 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19059 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19060 <fix-fp-int-convert-overflow.h>.
19061 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19062 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19063 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19064 <fix-fp-int-convert-overflow.h>.
19065 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19066 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19067 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19068 and <fix-fp-int-convert-overflow.h>.
19069 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19070 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19071 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19072 <limits.h> and <fix-fp-int-convert-overflow.h>.
19073 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19074 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19075 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19076 and <fix-fp-int-convert-overflow.h>.
19077 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19078 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19079 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19080 and <fix-fp-int-convert-overflow.h>.
19081 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19082 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19083 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19084
19085 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19086
19087 [BZ #18589]
19088 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19089 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19090 $(gen-locales).
19091
19092 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19093 Phil Blundell <pb@pbcl.net>
19094
19095 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19096 * nptl/tst-cancel26.c: New file.
19097 * nptl/tst-cancel27.c: Likewise.
19098
19099 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19100
19101 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19102 __ILP32__ isn't defined.
19103 (lrint): Likewise.
19104 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19105 (lrintf): Likewise.
19106 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19107 (lrintl): Likewise.
19108 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19109 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19110 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19111
19112 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19113
19114 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19115 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19116
19117 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19118 file.
19119 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19120 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19121
19122 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19123
19124 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19125 configure test.
19126 * sysdeps/i386/configure: Regenerated.
19127 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19128 configure test.
19129 * sysdeps/x86_64/configure: Regenerated.
19130 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19131 Make code unconditional.
19132
19133 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19134 test.
19135 * sysdeps/i386/configure: Regenerated.
19136 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19137 test.
19138 * sysdeps/x86_64/configure: Regenerated.
19139 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19140 Make code unconditional.
19141 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19142 Likewise.
19143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19144 Likewise.
19145 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19146 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19147 code unconditional.
19148 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19149 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19150 code unconditional.
19151 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19152 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19153 code unconditional.
19154 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19155 code unconditional.
19156 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19157 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19158 code unconditional.
19159 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19160 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19161 code unconditional.
19162 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19163 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19164 code unconditional.
19165 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19166 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19167 code unconditional.
19168 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19169 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19170
19171 [BZ #19095]
19172 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19173 mantissa to long int before shifting left.
19174
19175 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19176
19177 [BZ #19094]
19178 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19179 <limits.h>.
19180 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19181 when result overflows but exception would not result from cast.
19182 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19183 <limits.h>.
19184 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19185 when result overflows but exception would not result from cast.
19186 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19187 <limits.h>.
19188 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19189 when result overflows but exception would not result from cast.
19190 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19191 <limits.h>.
19192 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19193 when result overflows but exception would not result from cast.
19194 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19195 <limits.h>.
19196 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19197 when result overflows but exception would not result from cast.
19198 * math/libm-test.inc (lrint_test_data): Add more tests.
19199 (llrint_test_data): Likewise.
19200
19201 2015-10-08 Roland McGrath <roland@hack.frob.com>
19202
19203 [BZ #18872]
19204 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19205 Move out from under [$(run-built-tests) = yes] conditional.
19206 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19207 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19208
19209 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19210
19211 [BZ #18589]
19212 * string/Makefile (tests): Add bug-strcoll2.
19213 (LOCALES): Add cs_CZ.UTF-8.
19214 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19215
19216 [BZ #18589]
19217 * string/bug-strcoll2.c: New file.
19218 * locale/categories.def: Revert commit
19219 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19220 * locale/langinfo.h: Likewise.
19221 * locale/localeinfo.h: Likewise.
19222 * locale/C-collate.c: Likewise.
19223 * locale/programs/ld-collate.c (collate_output): Likewise.
19224 * string/strcoll_l.c (STRDIFF): Likewise.
19225 (STRCOLL): Likewise.
19226 * wcsmbs/wcscoll_l.c: Likewise.
19227
19228 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19229
19230 * math/libm-test.inc (lround_test_data): Do not expect the absence
19231 of "inexact" for some tests with non-integer arguments.
19232 (llround_test_data): Likewise.
19233
19234 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19235 test.
19236 (libc_cv_cc_sse2avx): Likewise.
19237 * sysdeps/i386/configure: Regenerated.
19238 * sysdeps/i386/i686/multiarch/Makefile
19239 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19240 [$(subdir) = math].
19241 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19242 code unconditional.
19243 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19244 Likewise.
19245 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19246 Likewise.
19247 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19248 Likewise.
19249 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19250 test.
19251 (libc_cv_cc_sse2avx): Likewise.
19252 * sysdeps/x86_64/configure: Regenerated.
19253 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19254 unconditional.
19255 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19256 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19257 unconditional.
19258 (_dl_runtime_profile)
19259 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19260 conditional code.
19261 * sysdeps/x86_64/fpu/multiarch/Makefile
19262 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19263 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19264 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19265 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19266 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19267 * sysdeps/x86_64/fpu/multiarch/e_log.c
19268 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19269 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19270 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19271 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19272 Likewise.
19273 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19274 Likewise.
19275 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19276 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19277 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19279 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19280 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19281 (HAVE_SSE2AVX_SUPPORT): Likewise.
19282
19283 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19284
19285 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19286 instead of #pragma optimize.
19287
19288 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19289
19290 [BZ #17195]
19291 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19292 as is similarly done in systrim and _int_free already.
19293
19294 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19295
19296 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19297
19298 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19299
19300 [BZ #19088]
19301 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19302 <limits.h>.
19303 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19304 overflows but exception would not result from cast.
19305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19306 and <limits.h>.
19307 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19308 overflows but exception would not result from cast.
19309 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19310 <limits.h>.
19311 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19312 overflows but exception would not result from cast.
19313 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19314 <limits.h>.
19315 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19316 overflows but exception would not result from cast.
19317 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19318 <limits.h>.
19319 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19320 overflows but exception would not result from cast.
19321 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19322 <limits.h>.
19323 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19324 overflows but exception would not result from cast.
19325 * math/libm-test.inc (lround_test_data): Add more tests.
19326 (llround_test_data): Likewise.
19327
19328 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19329
19330 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19331 (CFLAGS-ialloc.c): Ditto.
19332 (CFLAGS-scheck.c): Ditto.
19333
19334 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19335
19336 [BZ #19086]
19337 * manual/filesys.texi (Storage Allocation): Fix argument order for
19338 posix_fallocate64.
19339
19340 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19341
19342 [BZ #19085]
19343 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19344 exponent below 48 inside case for non-overflowing exponent.
19345 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19346
19347 2015-10-07 Florian Weimer <fweimer@redhat.com>
19348
19349 * iconvdata/cp737.h (from_idx): Add const.
19350 * iconvdata/cp775.h (from_idx): Likewise.
19351
19352 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19353
19354 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19355 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19356 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19357
19358 [BZ #19079]
19359 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19360 file, conditioned on [!_LP64].
19361 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19362 [!_LP64] (__lround): Do not define as function or alias.
19363 [!_LP64] (lround): Likewise.
19364 [!_LP64] (__lroundl): Likewise.
19365 [!_LP64] (lroundl): Likewise.
19366 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19367 macro.
19368 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19369 Likewise.
19370
19371 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19372
19373 * math/libm-test.inc (lrint_test_data): Add more tests.
19374 (llrint_test_data): Likewise.
19375 (lround_test_data): Likewise.
19376 (llround_test_data): Likewise.
19377
19378 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19379 (llrint_test_data): Add tests used for lrint.
19380
19381 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19382 test.
19383 * sysdeps/i386/configure: Regenerated.
19384 * sysdeps/i386/i686/multiarch/Makefile
19385 [$(config-cflags-sse4) = yes]: Make code unconditional.
19386 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19387 Likewise.
19388 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19389 Likewise.
19390 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19391 test.
19392 * sysdeps/x86_64/configure: Regenerated.
19393 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19394 Make code unconditional.
19395 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19396 Likewise.
19397 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19398 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19399
19400 * scripts/rpm2dynsym.sh: Remove file.
19401
19402 2015-10-06 Florian Weimer <fweimer@redhat.com>
19403
19404 * configure.ac (libc_cv_cxx_thread_local): Define.
19405 * configure: Regenerate.
19406 * config.make.in (have-cxx-thread_local): Define.
19407 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19408 (LDLIBS-tst-thread_local1): Define.
19409 (tests): Add tst-thread_local1.
19410 [have-cxx-thread_local != yes] (tests-unsupported): Add
19411 tst-thread_local1.
19412 * nptl/tst-thread_local1.cc: New file.
19413
19414 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19415
19416 [BZ #19078]
19417 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19418 (u_thres): Likewise.
19419 (__expl): Determine whether to call __kernel_standard_l based on
19420 value of result, not argument.
19421
19422 * math/libm-test.inc (scalb_test_data): Add more expectations for
19423 the "inexact" exception.
19424
19425 [BZ #19077]
19426 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19427 0.0L for argument 1.0L.
19428
19429 [BZ #19076]
19430 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19431 constant 0.0L when computing infinite result.
19432
19433 2015-10-06 Florian Weimer <fweimer@redhat.com>
19434
19435 [BZ #10432]
19436 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19437 malloc_usable_size.
19438
19439 2015-10-06 Florian Weimer <fweimer@redhat.com>
19440
19441 [BZ #19018]
19442 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19443 Mangle function pointer before storing it.
19444 (__call_tls_dtors): Demangle function pointer before calling it.
19445
19446 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19447
19448 [BZ #19012]
19449 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19450 Clean up on failure.
19451
19452 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19453
19454 [BZ #19071]
19455 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19456 long int variable to store possibly incremented high part of
19457 mantissa.
19458 * math/libm-test.inc (lround_test_data): Add tests used for
19459 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19460 for tests requiring 64-bit long. Do not condition tests on
19461 [TEST_FLOAT] unnecessarily.
19462 (llround_test_data): Add tests used for lround. Add another
19463 expectation for the "inexact" exception. Do not condition tests
19464 on [TEST_FLOAT] unnecessarily.
19465
19466 [BZ #887]
19467 [BZ #19049]
19468 [BZ #19050]
19469 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19470 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19471 <fix-int-fp-convert-zero.h>.
19472 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19473 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19474 <fix-int-fp-convert-zero.h>.
19475 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19476 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19477 <fix-int-fp-convert-zero.h>.
19478 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19479 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19480 <fix-int-fp-convert-zero.h>.
19481 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19482 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19483 <fix-int-fp-convert-zero.h>.
19484 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19485 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19486 <fix-int-fp-convert-zero.h>.
19487 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19488 * sysdeps/ieee754/flt-32/s_erff.c: Include
19489 <fix-int-fp-convert-zero.h>.
19490 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19491 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19492 <fix-int-fp-convert-zero.h>.
19493 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19495 <fix-int-fp-convert-zero.h>.
19496 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19498 <fix-int-fp-convert-zero.h>.
19499 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19500 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19501 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19502 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19503 file.
19504 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19505
19506 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19507
19508 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19509
19510 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19511
19512 [BZ #19059]
19513 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19514 overflowing computation.
19515 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19516 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19518 Likewise.
19519 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19520 Likewise.
19521 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19522 Likewise.
19523 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19524 Likewise.
19525 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19527 Likewise.
19528 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19529 Likewise.
19530 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19531
19532 * nss/rewrite_field.c (__nss_rewrite_field): Use
19533 internal_function.
19534 * nss/valid_field.c (__nss_valid_field): Likewise.
19535 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19536
19537 2015-10-02 Florian Weimer <fweimer@redhat.com>
19538
19539 [BZ #18724]
19540 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19541 (__nss_invalid_field_characters, __nss_valid_field)
19542 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19543 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19544 tst-field.c: New file.
19545 * nss/Makefile (routines): Add valid_field, rewrite_field.
19546 (tests-static): Define unconditionally.
19547 (tests): Include tests-static.
19548 [build-static-nss] (tests-static): Use append.
19549 [build-static-nss] (tests): Remove modification.
19550 * nss/getent.c (print_group): Call putgrent. Report error.
19551 (print_gshadow): Call putsgent. Report error.
19552 (print_passwd): Call putpwent. Report error.
19553 (print_shadow): Call putspent. Report error.
19554 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19555 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19556 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
19557 name, password, directory, shell fields for valid syntax. Rewrite
19558 GECOS field to match syntax.
19559 * pwd/Makefile (tests): Add tst-putpwent.
19560 * pwd/tst-putpwent.c: New file.
19561 * grp/putgrent.c (putgrent): Convert to ISO function definition.
19562 Check grName, grpasswd, gr_mem fields for valid syntax.
19563 Change loop variable i to size_t.
19564 * grp/Makefile (tests): Add tst-putgrent.
19565 * grp/tst-putgrent.c: New file.
19566 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19567 valid syntax.
19568 * shadow/Makefile (tests): Add tst-putspent.
19569 * shadow/tst-putspent.c: New file.
19570 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19571 sg_mem fields for valid syntax.
19572 * gshadow/Makefile (tests): Add tst-putsgent.
19573 * gshadow/tst-putsgent.c: New file.
19574
19575 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19576
19577 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19578 assembly instructions.
19579
19580 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19581
19582 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19583 prefix from operands.
19584
19585 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19586
19587 [BZ #16347]
19588 [BZ #19046]
19589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19590 <libc-internal.h>.
19591 (MAXLGM): Do not use diagnostic control macros.
19592 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19593 threshold for ldbl-128ibm.
19594 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19595 instead of multiplying by log then subtracting.
19596 * math/auto-libm-test-in: Add more tests of lgamma.
19597 * math/auto-libm-test-out: Regenerated.
19598
19599 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19600 (TYPE_HEX_DIG): Likewise.
19601 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19602 precisions when printing floating-point numbers.
19603 (check_float_internal): Likewise.
19604
19605 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19606
19607 [BZ #16620]
19608 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19609 of log (10) rounded downward to 48 bits.
19610 (log10_low): Use corresponding low part of log (10).
19611
19612 [BZ #19032]
19613 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19614 compute result as (x - x) / (x - x) not as 0 / 0.
19615 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19616 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19617
19618 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19619 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19620 and expm1.
19621 * math/auto-libm-test-out: Regenerated.
19622 * math/libm-test.inc (acos_test_data): Add more tests.
19623 (asin_test_data): Likewise.
19624 (asinh_test_data): Likewise.
19625 (atan_test_data): Likewise.
19626 (atanh_test_data): Likewise.
19627 (atan2_test_data): Likewise.
19628 (cbrt_test_data): Likewise.
19629 (ceil_test_data): Likewise.
19630 (copysign_test_data): Likewise.
19631 (cos_test_data): Likewise.
19632 (cosh_test_data): Likewise.
19633 (erf_test_data): Likewise.
19634 (erfc_test_data): Likewise.
19635 (exp_test_data): Likewise.
19636 (exp10_test_data): Likewise.
19637 (exp2_test_data): Likewise.
19638 (expm1_test_data): Likewise.
19639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19640
19641 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19642
19643 [BZ #19006]
19644 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19645 to ...
19646 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19647 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19648 to ...
19649 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19650 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19651 to ...
19652 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19653 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19654 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19655 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19656 to ...
19657 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19658 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19659 Moved to ...
19660 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19661 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19662 Moved to ...
19663 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19664 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19665 to ...
19666 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19667 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19668 Moved to ...
19669 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19670 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19671 to ...
19672 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19673 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19674 Removed.
19675 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19676 Likewise.
19677 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19678 Likewise.
19679 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19680 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19681 Likewise.
19682 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19683 Likewise.
19684 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19685 Likewise.
19686 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19687 Likewise.
19688 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19689 Likewise.
19690 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19691 Likewise.
19692 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19693 Likewise.
19694 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19695 Likewise.
19696 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19697 Likewise.
19698 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19699 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19700 Likewise.
19701 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19702 Likewise.
19703 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19704 Likewise.
19705 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19706 Likewise.
19707 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19708 Likewise.
19709 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19710 Replace ../i486/pthread_cond_timedwait.S with
19711 ../pthread_cond_timedwait.S.
19712
19713 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19714
19715 * math/libm-test.inc (acos_test_data): Refine expectations for
19716 errno and "inexact" exceptions.
19717 (acosh_test_data): Likewise.
19718 (asin_test_data): Likewise.
19719 (asinh_test_data): Likewise.
19720 (atan_test_data): Likewise.
19721 (atanh_test_data): Likewise.
19722 (atan2_test_data): Likewise.
19723 (cbrt_test_data): Likewise.
19724 (ceil_test_data): Likewise.
19725 (copysign_test_data): Likewise.
19726 (cosh_test_data): Likewise.
19727 (erf_test_data): Likewise.
19728 (erfc_test_data): Likewise.
19729 (exp_test_data): Likewise.
19730 (exp10_test_data): Likewise.
19731 (exp2_test_data): Likewise.
19732 (expm1_test_data): Likewise.
19733 (fabs_test_data): Likewise.
19734 (floor_test_data): Likewise.
19735 (fma_test_data): Likewise.
19736 (fmax_test_data): Likewise.
19737 (fmin_test_data): Likewise.
19738 (fmod_test_data): Likewise.
19739 (fpclassify_test_data): Likewise.
19740 (frexp_test_data): Likewise.
19741 (hypot_test_data): Likewise.
19742 (ilogb_test_data): Likewise.
19743 (isgreater_test_data): Likewise.
19744 (isgreaterequal_test_data): Likewise.
19745 (isinf_test_data): Likewise.
19746 (isless_test_data): Likewise.
19747 (islessequal_test_data): Likewise.
19748 (islessgreater_test_data): Likewise.
19749 (isnan_test_data): Likewise.
19750 (isnormal_test_data): Likewise.
19751 (issignaling_test_data): Likewise.
19752 (isunordered_test_data): Likewise.
19753 (j0_test_data): Likewise.
19754 (j1_test_data): Likewise.
19755 (jn_test_data): Likewise.
19756 (lgamma_test_data): Likewise.
19757 (lrint_test_data): Likewise.
19758 (llrint_test_data): Likewise.
19759 (log_test_data): Likewise.
19760 (log10_test_data): Likewise.
19761 (log1p_test_data): Likewise.
19762 (log2_test_data): Likewise.
19763 (logb_test_data): Likewise.
19764 (lround_test_data): Likewise.
19765 (llround_test_data): Likewise.
19766 (modf_test_data): Likewise.
19767 (nearbyint_test_data): Likewise.
19768 (nextafter_test_data): Likewise.
19769 (nexttoward_test_data): Likewise.
19770 (pow_test_data): Likewise.
19771 (remainder_test_data): Likewise.
19772 (remquo_test_data): Likewise.
19773 (rint_test_data): Likewise.
19774 (round_test_data): Likewise.
19775 (signbit_test_data): Likewise.
19776 (sinh_test_data): Likewise.
19777 (sqrt_test_data): Likewise.
19778 (tanh_test_data): Likewise.
19779 (tgamma_test_data): Likewise.
19780 (trunc_test_data): Likewise.
19781 (y0_test_data): Likewise.
19782 (y1_test_data): Likewise.
19783 (yn_test_data): Likewise.
19784 (significand_test_data): Likewise.
19785
19786 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19787
19788 * manual/filesys.texi (Storage Allocation): Document that
19789 posix_fallocate emulation fails when fd is open with O_WRONLY.
19790
19791 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19792
19793 [BZ #19016]
19794 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19795 allow more cases with X^2 + Y^2 >= 0.5.
19796 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19797 normal element in sum instead of special-casing based on values of
19798 arguments.
19799 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19800 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19801 -1 as normal element in sum instead of special-casing based on
19802 values of arguments.
19803 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19804 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19805 (__x2y2m1): Update comment.
19806 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19807 as normal element in sum instead of special-casing based on values
19808 of arguments.
19809 * math/s_clog.c (__clog): Handle more cases using log1p without
19810 hypot.
19811 * math/s_clog10.c (__clog10): Likewise.
19812 * math/s_clog10f.c (__clog10f): Likewise.
19813 * math/s_clog10l.c (__clog10l): Likewise.
19814 * math/s_clogf.c (__clogf): Likewise.
19815 * math/s_clogl.c (__clogl): Likewise.
19816 * math/auto-libm-test-in: Add more tests of clog and clog10.
19817 * math/auto-libm-test-out: Regenerated.
19818 * sysdeps/i386/fpu/libm-test-ulps: Update.
19819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19820
19821 2015-09-28 Martin Sebor <msebor@redhat.com>
19822
19823 [BZ #18969]
19824 * string/Makefile (LOCALES): Define.
19825 (gen-locales.mk): Include.
19826 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19827 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19828 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19829 on setlocale failure.
19830
19831 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19832
19833 [BZ #18985]
19834 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19835 (__strftime_internal): Likewise.
19836 * time/tst-strftime.c (do_bz18985): New test.
19837 (do_test): Call it.
19838
19839 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19840
19841 [BZ #18956]
19842 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19843 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19844 extracting high part.
19845 * math/auto-libm-test-in: Add another test of pow.
19846 * math/auto-libm-test-out: Regenerated.
19847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19848
19849 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19850
19851 [BZ #18825]
19852 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19853 New macro.
19854 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19855 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19856 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19857 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19858 DBL_NARROW_EVAL, reloading the PIC register as needed.
19859 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19860 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19861 FLT_NARROW_EVAL. Use separate return path for case when first
19862 argument is NaN.
19863 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19864 DEFINE_LDBL_MIN.
19865 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19866 PIC register.
19867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19868 math_check_force_underflow_nonneg.
19869 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19870 underflow for subnormal result.
19871 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19873 math_check_force_underflow_nonneg.
19874 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19875 math_check_force_underflow.
19876 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19877 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19878 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19879 DEFINE_LDBL_MIN.
19880 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19881 * math/auto-libm-test-in: Add more tests of pow.
19882 * math/auto-libm-test-out: Regenerated.
19883
19884 2015-09-25 Florian Weimer <fweimer@redhat.com>
19885
19886 * nss/bug17079.c (init_test_items): Add diagnostic for
19887 inconsistent entries.
19888 (test_buffer_size): Skip inconsistent entries.
19889
19890 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19891
19892 [BZ #13304]
19893 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19894 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19895 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19896
19897 [BZ #13304]
19898 * sysdeps/microblaze/s_fma.c: New file.
19899 * sysdeps/microblaze/s_fmaf.c: Likewise.
19900 * sysdeps/microblaze/sfp-machine.h: Likewise.
19901
19902 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19903
19904 [BZ #17250]
19905 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19906 member.
19907
19908 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19909
19910 [BZ #18803]
19911 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19912 (MO): New macro.
19913 (__ieee754_hypot) [PIC]: Load PIC register.
19914 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19915 DBL_NARROW_EVAL.
19916 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19917 math_check_force_underflow_nonneg in case where result might be
19918 tiny.
19919 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19920 Likewise.
19921 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19922 Likewise.
19923 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19924 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19925 * math/auto-libm-test-in: Add more tests of hypot.
19926 * math/auto-libm-test-out: Regenerated.
19927
19928 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19929
19930 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19931
19932 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19933
19934 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19935 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19936 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19937 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19938 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19939 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19940 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19941
19942 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19943 LOAD_PIC_REG.
19944
19945 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19946 (FLT_CHECK_FORCE_UFLOW): Likewise.
19947 (DBL_CHECK_FORCE_UFLOW): Likewise.
19948 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19949 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19950 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19951 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19952 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19953 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19954 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19955 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19956 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19957 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19958 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19959 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19960 (flt_min): Replace with use of DEFINE_FLT_MIN.
19961 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19962 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19963 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19964 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19965 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19966 (flt_min): Replace with use of DEFINE_FLT_MIN.
19967 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19968 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19969 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19970 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19971 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19972 (flt_min): Replace with use of DEFINE_FLT_MIN.
19973 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19974 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19975 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19976 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19977 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19978 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19979 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19980 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19981 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19982 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19983 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19984 (flt_min): Replace with use of DEFINE_FLT_MIN.
19985 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19986 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19987 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19988 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19989 main computation.
19990 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19991 (flt_min): Replace with use of DEFINE_FLT_MIN.
19992 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19993 main computation.
19994 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19995 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19996 (MO): New macro.
19997 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19998 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19999 (flt_min): Replace with use of DEFINE_FLT_MIN.
20000 (MO): New macro.
20001 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20002 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20003 (__log1pl): Use MO.
20004
20005 [BZ #19003]
20006 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20007 $(config-cflags-nofma).
20008
20009 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20010
20011 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20012
20013 2015-09-23 Joseph Myers <joseph@codesourcery.com>
20014
20015 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20016 (TWO127): Likewise.
20017
20018 * sysdeps/generic/math_private.h (fabs_tg): New macro.
20019 (min_of_type): Likewise.
20020 (math_check_force_underflow): Likewise.
20021 (math_check_force_underflow_nonneg): Likewise.
20022 (math_check_force_underflow_complex): Likewise.
20023 * math/e_exp2l.c (__ieee754_exp2l): Use
20024 math_check_force_underflow_nonneg.
20025 * math/k_casinh.c (__kernel_casinh): Likewise.
20026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20028 * math/s_catan.c (__catan): Use
20029 math_check_force_underflow_complex.
20030 * math/s_catanf.c (__catanf): Likewise.
20031 * math/s_catanh.c (__catanh): Likewise.
20032 * math/s_catanhf.c (__catanhf): Likewise.
20033 * math/s_catanhl.c (__catanhl): Likewise.
20034 * math/s_catanl.c (__catanl): Likewise.
20035 * math/s_ccosh.c (__ccosh): Likewise.
20036 * math/s_ccoshf.c (__ccoshf): Likewise.
20037 * math/s_ccoshl.c (__ccoshl): Likewise.
20038 * math/s_cexp.c (__cexp): Likewise.
20039 * math/s_cexpf.c (__cexpf): Likewise.
20040 * math/s_cexpl.c (__cexpl): Likewise.
20041 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20042 * math/s_clog10.c (__clog10): Likewise.
20043 * math/s_clog10f.c (__clog10f): Likewise.
20044 * math/s_clog10l.c (__clog10l): Likewise.
20045 * math/s_clogf.c (__clogf): Likewise.
20046 * math/s_clogl.c (__clogl): Likewise.
20047 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20048 * math/s_csinf.c (__csinf): Likewise.
20049 * math/s_csinh.c (__csinh): Likewise.
20050 * math/s_csinhf.c (__csinhf): Likewise.
20051 * math/s_csinhl.c (__csinhl): Likewise.
20052 * math/s_csinl.c (__csinl): Likewise.
20053 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20054 * math/s_csqrtf.c (__csqrtf): Likewise.
20055 * math/s_csqrtl.c (__csqrtl): Likewise.
20056 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20057 * math/s_ctanf.c (__ctanf): Likewise.
20058 * math/s_ctanh.c (__ctanh): Likewise.
20059 * math/s_ctanhf.c (__ctanhf): Likewise.
20060 * math/s_ctanhl.c (__ctanhl): Likewise.
20061 * math/s_ctanl.c (__ctanl): Likewise.
20062 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20063 instead of volatile.
20064 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20065 math_check_force_underflow.
20066 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20067 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20068 volatile when forcing underflow.
20069 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20070 math_check_force_underflow_nonneg.
20071 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20072 Likewise.
20073 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20074 math_check_force_underflow.
20075 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20076 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20077 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20078 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20079 math_check_force_underflow_nonneg.
20080 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20081 math_check_force_underflow.
20082 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20084 instead of volatile.
20085 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20086 math_check_force_underflow.
20087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20089 math_check_force_underflow_nonneg.
20090 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20091 math_check_force_underflow.
20092 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20093 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20094 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20095 math_check_force_underflow_nonneg.
20096 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20097 Likewise.
20098 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20099 math_check_force_underflow.
20100 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20101 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20102 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20103 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20104 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20105 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20106 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20107 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20108 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20109 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20110 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20111 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20112 Likewise.
20113 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20114 math_check_force_underflow_nonneg.
20115 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20116 Likewise.
20117 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20118 math_check_force_underflow.
20119 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20120 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20121 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20122 Likewise.
20123 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20124 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20125 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20126 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20127 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20128 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20130 instead of volatile.
20131 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20132 math_check_force_underflow.
20133 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20135 math_check_force_underflow.
20136 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20137 Likewise.
20138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20139 Use math_check_force_underflow_nonneg.
20140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20141 math_check_force_underflow.
20142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20143 Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20145 Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20148 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20152 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20153 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20154 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20155 math_check_force_underflow_nonneg.
20156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20157 math_check_force_underflow.
20158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20159 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20160 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20161 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20162 math_check_force_underflow_nonneg.
20163 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20164 math_check_force_underflow.
20165 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20167 instead of volatile.
20168 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20169 math_check_force_underflow.
20170
20171 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20172 * stdlib/strtod_l.c: Include <math_private.h>.
20173 (overflow_value): Use math_narrow_eval.
20174 (underflow_value): Likewise.
20175 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20176 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20177 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20178 (__ieee754_gamma_r): Likewise.
20179 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20180 Likewise.
20181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20182 Likewise.
20183 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20184 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20185 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20186 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20187 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20188 (__ieee754_gammaf_r): Likewise.
20189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20190 Likewise.
20191 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20192 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20193 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20194 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20196 volatile.
20197 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20199 math_narrow_eval.
20200 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20201 Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20203 Likewise.
20204 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20205 Likewise.
20206 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20207 volatile.
20208 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20209 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20210 math_narrow_eval.
20211 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20212 Likewise.
20213 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20214 Likewise.
20215
20216 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * nptl/Versions: Remove ignored symbols.
20219
20220 2015-09-22 Florian Weimer <fweimer@redhat.com>
20221
20222 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20223 * nss/Makefile (tests): Update.
20224
20225 2015-09-22 Florian Weimer <fweimer@redhat.com>
20226
20227 * nss/bug18287.c: New file.
20228 * nss/Makefile (tests): Add bug18287.
20229
20230 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20231
20232 * mach/Versions (__mach_host_self_): Add symbol.
20233
20234 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20235
20236 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20237 vm_page_size.
20238
20239 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20240
20241 Really fix sysdeps/i386/fpu/s_scalbn.S build
20242
20243 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20244 (libc: GLIBC_2_22): Remove unused version set.
20245
20246 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20247
20248 * config.make.in (enable-timezone-tools): New variable.
20249 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20250 (enable_timezone_tools): Export to generated files.
20251 * configure: Regenerate.
20252 * INSTALL: Regenerate.
20253 * manual/install.texi (--disable-timezone-tools): Document new flag.
20254 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20255 ifeq ($(enable-timezone-tools),yes) check.
20256
20257 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20258
20259 * timezone/Makefile: Revert previous change.
20260
20261 [BZ #18980]
20262 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20263 (DEFINE_DBL_MIN): Likewise.
20264 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20265 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20266 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20267 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20268 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20269 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20270 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20271 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20272 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20273 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20274 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20275 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20276 (flt_min): Replace with use of DEFINE_FLT_MIN.
20277 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20278 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20279 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20280 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20281 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20282 (flt_min): Replace with use of DEFINE_FLT_MIN.
20283 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20284 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20285 (flt_min): Replace with use of DEFINE_FLT_MIN.
20286 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20287 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20288 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20289 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20290 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20291 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20292 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20293 (__ieee754_pow): Use DBL_NARROW_EVAL.
20294 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20295 (__ieee754_powf): Use FLT_NARROW_EVAL.
20296 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20297 (__ieee754_expf_sse2): Convert double-precision result to single
20298 precision.
20299 * sysdeps/i386/fpu/libm-test-ulps: Update.
20300
20301 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20302
20303 * timezone/Makefile: Ignore unused variable errors due to private.h
20304 (time_t_min) and (time_t_max).
20305 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20306 Likewise.
20307
20308 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20309
20310 [BZ #18981]
20311 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20312 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20313 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20314 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20315 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20316 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20317 (__scalbn): Use DBL_NARROW_EVAL.
20318 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20319 (__scalbnf): Use FLT_NARROW_EVAL.
20320
20321 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20322
20323 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20324 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20325 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20326 * stdio-common/printf_fp.c (___printf_fp):
20327 Use signbit to get the sign. Use isinf macro to allow inlining.
20328 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20329 * stdio-common/printf_size.c (__printf_size): Likewise.
20330
20331 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20332
20333 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20334
20335 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20336
20337 [BZ #18980]
20338 * sysdeps/generic/math_private.h: Include <float.h>.
20339 (math_narrow_eval): New macro.
20340 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20341 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20342 math_narrow_eval on overflowing return value.
20343 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20344 Likewise.
20345 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20346 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20347 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20348 Likewise.
20349 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20350
20351 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20352
20353 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20354 * math/Makefile: Remove isinf_ns.c.
20355 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20356 * math/multc3.c (__multc3): Likewise.
20357 * math/s_casin.c (__casin): Likewise.
20358 * math/s_casinf.c (__casinf): Likewise.
20359 * math/s_casinl.c (__casinl): Likewise.
20360 * math/s_cproj.c (__cproj): Likewise.
20361 * math/s_cprojf.c (__cprojf): Likewise.
20362 * math/s_cprojl.c (__cprofl): Likewise.
20363 * math/s_ctan.c (__ctan): Likewise.
20364 * math/s_ctanf.c (__ctanf): Likewise.
20365 * math/s_ctanh.c (__ctanh): Likewise.
20366 * math/s_ctanhf.c (__ctanhf): Likewise.
20367 * math/s_ctanhl.c (__ctanhl): Likewise.
20368 * math/s_ctanl.c (__ctanl): Likewise.
20369 * math/w_fmod.c (__fmod): Likewise.
20370 * math/w_fmodf.c (__fmodf): Likewise.
20371 * math/w_fmodl.c (_fmodl): Likewise.
20372 * math/w_remainder.c (__remainder): Likewise.
20373 * math/w_remainderf.c (__remainderf): Likewise.
20374 * math/w_remainderl.c (__remainderl): Likewise.
20375 * math/w_scalb.c (__scalb): Likewise.
20376 * math/w_scalbf.c (__scalbf): Likewise.
20377 * math/w_scalbl.c (__scalbl): Likewise.
20378 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20379 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20380 with isinf.
20381 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20383 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20384 __isinf_nsf with isinf.
20385 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20386 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20387 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20388 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20389 with isinf.
20390 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20391 __isinf_nsl with isinf.
20392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20393 with isinf.
20394 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20395 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20396 __isinf_nsl with isinf.
20397 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20398 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20399 with isinf.
20400
20401 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20402
20403 * resolv/base64.c (rcsid): Remove unused static.
20404 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20405 static. (tqpi1): Likewise.
20406 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20407 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20408 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20409 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20411 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20412 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20413 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20414 Likewise.
20415
20416 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20417
20418 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20419 <nptl/pthreadP.h>.
20420 (_longjmp_unwind): Use __libc_ptf_call.
20421 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20422
20423 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20424
20425 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20426 * sysdeps/arm/__longjmp.S: Likewise.
20427
20428 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20429
20430 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20431 Use __builtin_signbit.
20432 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20433 Use __builtin_signbitf.
20434 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20435 Use __builtin_signbitl.
20436 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20438
20439 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20440
20441 [BZ #15367]
20442 [BZ #17441]
20443
20444 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20445 * math/math.h (fpclassify): Use __builtin_fpclassify when
20446 available. (signbit): Use __builtin_signbit(f/l).
20447 (isfinite): Use__builtin_isfinite. (isnormal): Use
20448 __builtin_isnormal. (isnan): Use __builtin_isnan.
20449 (isinf): Use __builtin_isinf_sign.
20450
20451 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20452
20453 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20454 * benchtests/bench-math-inlines.c: New benchmark.
20455 * benchtests/bench-util.h: New file.
20456 * benchtests/bench-util.c: New file.
20457 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20458
20459 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20460
20461 * elf/tst-dlmopen1.c: Define TEST_SO.
20462 (do_test): Use TEST_SO.
20463
20464 * elf/dl-load.c: Include libc-internal.h.
20465 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20466
20467 2015-09-18 Vincent Bernat <vincent@bernat.im>
20468
20469 [BZ #17887]
20470 * time/strptime_l.c (__strptime_internal): Make %z accept
20471 [+-]HH:MM time zones.
20472
20473 2015-09-18 Vincent Bernat <vincent@bernat.im>
20474
20475 [BZ #17886]
20476 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20477 valid time zone.
20478
20479 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20480
20481 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20482 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20483 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20484 (__ASSUME_FDATASYNC): Delete.
20485
20486 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20487
20488 * conform/linknamespace.pl: Require weak undefined symbols to be
20489 in the standard namespace.
20490 (%strong_syms): Rename to %seen_syms.
20491 (%strong_seen): Rename to %seen_where.
20492
20493 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20494
20495 [BZ #18970]
20496 * misc/error.c (error): Replace pthread_setcancelstate with
20497 __pthread_setcancelstate.
20498 (error_at_line): Likewise.
20499 * posix/wordexp.c (parse_comm): Likewise.
20500 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20501 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20502 (__pthread_setcancelstate): This.
20503 (pthread_setcancelstate): Add an alias.
20504 * nptl/nptl-init.c (pthread_functions): Replace
20505 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20506 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20507 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20508 hidden_proto.
20509 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20510 it with hidden_def.
20511 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20512 (pthread_setcancelstate): Renamed to ...
20513 (__pthread_setcancelstate): This.
20514 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20515 __libc_ptf_call with __pthread_setcancelstate.
20516
20517 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20518 Andreas Schwab <schwab@suse.de>
20519
20520 [BZ #17118]
20521 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20522 result when imaginary part of argument is infinite using sine and
20523 cosine.
20524 * math/s_ctanf.c (__ctanf): Likewise.
20525 * math/s_ctanl.c (__ctanl): Likewise.
20526 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20527 of result when real part of argument is infinite using sine and
20528 cosine.
20529 * math/s_ctanhf.c (__ctanhf): Likewise.
20530 * math/s_ctanhl.c (__ctanhl): Likewise.
20531 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20532 (ctanh_test_data): Add more tests of ctanh.
20533
20534 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20535
20536 [BZ #15384]
20537 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20538 bit-mask as in subtraction.
20539 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20540 Likewise.
20541 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20542 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20543 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20544
20545 [BZ #18951]
20546 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20547 underflow exception for small results.
20548 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20549 Likewise.
20550 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20551 Likewise.
20552 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20553 Likewise.
20554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20555 Likewise.
20556 * math/auto-libm-test-in: Add more tests of tgamma.
20557 * math/auto-libm-test-out: Regenerated.
20558
20559 2015-09-17 Andreas Schwab <schwab@suse.de>
20560
20561 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20562
20563 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20564
20565 [BZ #18977]
20566 * math/bits/mathcalls.h
20567 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20568 not declare.
20569 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20570 Likewise.
20571 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20572 Likewise.
20573 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20574 Likewise.
20575 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20576 Likewise.
20577 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20578 Likewise.
20579 * conform/data/math.h-data
20580 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20581 function.
20582 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20583 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20584 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20585 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20586 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20587 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20588 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20589 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20590 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20591 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20592 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20593
20594 [BZ #6803]
20595 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20596 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20597 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20598 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20599 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20600 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20601 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20602 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20603 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20605 Likewise.
20606 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20607 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20608 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20610 long_double_symbol calls.
20611 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20612 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20613 strong alias of __ldexpl.
20614 (scalbnl): Define using long_double_symbol.
20615 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20616 Remove alias.
20617 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20618 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20619 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20620 (scalbln_test_data): Add more errno expectations.
20621
20622 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20623
20624 Cache the host port like we cache the task port. This way we do not
20625 need to call the kernel just to get the port. Furthermore, we no
20626 longer increase the reference count on every invocation of
20627 `mach_host_self'.
20628
20629 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20630 Protect declarations against the macro expansion.
20631 * mach/mach_init.c (__mach_host_self_): New variable.
20632 (mach_init): Initialize `__mach_host_self_'.
20633 * mach/mach_init.h (__mach_host_self_): New declaration.
20634 (__mach_host_self, mach_host_self): New macros.
20635 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20636 Release reference.
20637
20638 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20639
20640 [BZ #4404]
20641 * po/de.po: Update from Translation Project.
20642
20643 [BZ #16415]
20644 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20645 (__expm1l): Remove code to handle positive infinity and overflow.
20646 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20647 variable.
20648 (__expm1l): Remove code to handle positive infinity and overflow.
20649
20650 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20651 Paul Pluzhnikov <ppluzhnikov@google.com>
20652
20653 [BZ #18872]
20654 * stdio-common/Makefile (tst-printf-bz18872): New test.
20655 (tst-printf-bz18872-mem.out): Likewise.
20656 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20657 * stdio-common/vfprintf.c: Fix memory leaks.
20658
20659 2015-09-16 Andreas Schwab <schwab@suse.de>
20660
20661 [BZ #17244]
20662 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20663 Remove extra va_start/va_end calls.
20664
20665 [BZ #17243]
20666 * posix/execl.c (execl): Add missing va_end.
20667 * posix/execle.c (execle): Likewise.
20668 * posix/execlp.c (execlp): Likewise.
20669
20670 2015-09-15 Roland McGrath <roland@hack.frob.com>
20671
20672 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20673 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20674
20675 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20676
20677 [BZ #18967]
20678 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20679 undefine around includes of <bits/mathcalls.h>.
20680 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20681 not declare function.
20682 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20683 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20684 (scalb): Likewise.
20685 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20686 not define macro.
20687 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20688 variable.
20689 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20690 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20691 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20692
20693 [BZ #18857]
20694 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20695 return non-finite argument without doing ordered comparisons on
20696 it.
20697
20698 [BZ #16296]
20699 * math/fenv.h (fegetround): Use __attribute_pure__.
20700 * include/fenv.h (__fegetround): Likewise.
20701
20702 [BZ #18595]
20703 * math/s_ctan.c (__ctan): Force underflow exception for results
20704 whose real or imaginary part has small absolute value.
20705 * math/s_ctanf.c (__ctanf): Likewise.
20706 * math/s_ctanh.c (__ctanh): Likewise.
20707 * math/s_ctanhf.c (__ctanhf): Likewise.
20708 * math/s_ctanhl.c (__ctanhl): Likewise.
20709 * math/s_ctanl.c (__ctanl): Likewise.
20710 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20711 and ctanh. Add more tests of ctan and ctanh.
20712
20713 [BZ #15918]
20714 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20715 handling of cases where one argument is an infinity.
20716
20717 [BZ #18875]
20718 [BZ #18966]
20719 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20720 (MO): New macro.
20721 (__ieee754_exp10): For small results, force underflow exception
20722 and remove excess range and precision from return value.
20723 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20724 (MO): New macro.
20725 (__ieee754_exp10f): For small results, force underflow exception
20726 and remove excess range and precision from return value.
20727 * math/auto-libm-test-in: Add more tests of exp10.
20728 * math/auto-libm-test-out: Regenerated.
20729
20730 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20731
20732 [BZ #18875]
20733 [BZ #18961]
20734 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20735 (MO): New macro.
20736 (__ieee754_exp): For small results, force underflow exception and
20737 remove excess range and precision from return value.
20738 (__exp_finite): Likewise.
20739 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20740 (MO): New macro.
20741 (__ieee754_expf): For small results, force underflow exception and
20742 remove excess range and precision from return value.
20743 (__expf_finite): Likewise.
20744 * math/auto-libm-test-in: Add more tests of exp.
20745 * math/auto-libm-test-out: Regenerated.
20746
20747 [BZ #16521]
20748 [BZ #18875]
20749 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20750 small results.
20751 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20752 (MO): New macro.
20753 (__ieee754_exp2): For small results, force underflow exception and
20754 remove excess range and precision from return value.
20755 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20756 (MO): New macro.
20757 (__ieee754_exp2f): For small results, force underflow exception
20758 and remove excess range and precision from return value.
20759 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20760 (MO): New macro.
20761 (__ieee754_exp2l): Force underflow exception for small results.
20762 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20763 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20764 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20765 (MO): New macro.
20766 (__ieee754_exp2l): Force underflow exception for small results.
20767 * math/auto-libm-test-in: Add more tests or exp2.
20768 * math/auto-libm-test-out: Regenerated.
20769
20770 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20771
20772 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20773
20774 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20775 /dev/null.
20776
20777 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20778
20779 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20780 io fs process)): Drop spurious backslash.
20781
20782 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20783
20784 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20785 Use sysinfo system call instead of parsing /proc/meminfo.
20786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20787 Likewise.
20788
20789 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20790
20791 [BZ #16985]
20792 * programs/localedef.c (main): Display argv[remaining] when
20793 output_path is NULL.
20794
20795 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20796
20797 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20798 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20799 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20800 tanh.
20801 * math/auto-libm-test-out: Regenerated.
20802 * sysdeps/i386/fpu/libm-test-ulps: Update.
20803 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20804 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20806
20807 2015-09-11 Roland McGrath <roland@hack.frob.com>
20808
20809 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20810 Use 'override' keyword to freeze the value here, preventing
20811 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20812
20813 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20814
20815 [BZ #14912]
20816 * sysdeps/aarch64/bits/atomic.h: Move to ...
20817 * sysdeps/aarch64/atomic-machine.h: ...here.
20818 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20819 _AARCH64_ATOMIC_MACHINE_H.
20820 * sysdeps/alpha/bits/atomic.h: Move to ...
20821 * sysdeps/alpha/atomic-machine.h: ...here.
20822 * sysdeps/arm/bits/atomic.h: Move to ...
20823 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20824 * bits/atomic.h: Move to ...
20825 * sysdeps/generic/atomic-machine.h: ...here.
20826 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20827 * sysdeps/i386/bits/atomic.h: Move to ...
20828 * sysdeps/i386/atomic-machine.h: ...here.
20829 * sysdeps/ia64/bits/atomic.h: Move to ...
20830 * sysdeps/ia64/atomic-machine.h: ...here.
20831 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20832 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20833 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20834 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20835 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20836 * sysdeps/microblaze/bits/atomic.h: Move to ...
20837 * sysdeps/microblaze/atomic-machine.h: ...here.
20838 * sysdeps/mips/bits/atomic.h: Move to ...
20839 * sysdeps/mips/atomic-machine.h: ...here.
20840 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20841 * sysdeps/powerpc/bits/atomic.h: Move to ...
20842 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20843 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20844 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20845 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20846 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20847 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20848 <atomic-machine.h> instead of <bits/atomic.h>.
20849 * sysdeps/s390/bits/atomic.h: Move to ...
20850 * sysdeps/s390/atomic-machine.h: ...here.
20851 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20852 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20853 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20854 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20855 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20856 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20857 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20858 * sysdeps/tile/bits/atomic.h: Move to ...
20859 * sysdeps/tile/atomic-machine.h: ...here.
20860 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20861 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20862 <sysdeps/tile/atomic-machine.h> instead of
20863 <sysdeps/tile/bits/atomic.h>.
20864 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20865 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20866 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20867 <sysdeps/tile/atomic-machine.h> instead of
20868 <sysdeps/tile/bits/atomic.h>.
20869 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20870 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20871 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20872 <sysdeps/arm/atomic-machine.h> instead of
20873 <sysdeps/arm/bits/atomic.h>.
20874 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20875 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20876 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20877 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20878 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20879 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20880 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20881 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20882 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20883 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20884 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20885 * sysdeps/x86_64/bits/atomic.h: Move to ...
20886 * sysdeps/x86_64/atomic-machine.h: ...here.
20887 * include/atomic.h: Include <atomic-machine.h> instead of
20888 <bits/atomic.h>.
20889
20890 * sysdeps/mips/mips32/libm-test-ulps: Update.
20891 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20892
20893 [BZ #18952]
20894 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20895 not convert non-integer negative arguments to int to determine the
20896 value of signgam.
20897 * math/auto-libm-test-in: Add more tests of lgamma.
20898 * math/auto-libm-test-out: Regenerated.
20899
20900 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20901 cosh, csqrt, erfc, expm1 and lgamma.
20902 * math/auto-libm-test-out: Regenerated.
20903 * sysdeps/i386/fpu/libm-test-ulps: Update.
20904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20905
20906 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20907
20908 [BZ #2542]
20909 [BZ #2543]
20910 [BZ #2558]
20911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20912 __lgamma_neg for arguments from -28.0 to -2.0.
20913 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20914 __lgamma_negf for arguments from -15.0 to -2.0.
20915 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20916 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20917 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20918 Call __lgamma_negl for arguments from -33.0 to -2.0.
20919 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20920 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20921 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20924 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20925 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20929 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20930 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20931 (__lgamma_neg): Likewise.
20932 (__lgamma_negl): Likewise.
20933 (__lgamma_product): Likewise.
20934 (__lgamma_productl): Likewise.
20935 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20936 * math/auto-libm-test-in: Add more tests of lgamma.
20937 * math/auto-libm-test-out: Regenerated.
20938 * sysdeps/i386/fpu/libm-test-ulps: Update.
20939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20940
20941 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20942
20943 [BZ #18675]
20944 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20945
20946 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20947
20948 [BZ #14912]
20949 * bits/libc-lock.h: Move to ...
20950 * sysdeps/generic/libc-lock.h: ...here.
20951 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20952 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20953 * sysdeps/mach/hurd/libc-lock.h: ...here.
20954 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20955 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20956 * sysdeps/mach/bits/libc-lock.h: Move to ...
20957 * sysdeps/mach/libc-lock.h: ...here.
20958 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20959 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20960 * sysdeps/nptl/libc-lock.h: ...here.
20961 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20962 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20963 * sysdeps/nptl/libc-lockP.h: ...here.
20964 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20965 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20966 <bits/libc-lock.h>.
20967 * dirent/scandir-tail.c: Likewise.
20968 * dlfcn/dlerror.c: Likewise.
20969 * elf/dl-close.c: Likewise.
20970 * elf/dl-iteratephdr.c: Likewise.
20971 * elf/dl-lookup.c: Likewise.
20972 * elf/dl-open.c: Likewise.
20973 * elf/dl-support.c: Likewise.
20974 * elf/dl-writev.h: Likewise.
20975 * elf/rtld.c: Likewise.
20976 * grp/fgetgrent.c: Likewise.
20977 * gshadow/fgetsgent.c: Likewise.
20978 * gshadow/sgetsgent.c: Likewise.
20979 * iconv/gconv_conf.c: Likewise.
20980 * iconv/gconv_db.c: Likewise.
20981 * iconv/gconv_dl.c: Likewise.
20982 * iconv/gconv_int.h: Likewise.
20983 * iconv/gconv_trans.c: Likewise.
20984 * include/link.h: Likewise.
20985 * inet/getnameinfo.c: Likewise.
20986 * inet/getnetgrent.c: Likewise.
20987 * inet/getnetgrent_r.c: Likewise.
20988 * intl/bindtextdom.c: Likewise.
20989 * intl/dcigettext.c: Likewise.
20990 * intl/finddomain.c: Likewise.
20991 * intl/gettextP.h: Likewise.
20992 * intl/loadmsgcat.c: Likewise.
20993 * intl/localealias.c: Likewise.
20994 * intl/textdomain.c: Likewise.
20995 * libidn/idn-stub.c: Likewise.
20996 * libio/libioP.h: Likewise.
20997 * locale/duplocale.c: Likewise.
20998 * locale/freelocale.c: Likewise.
20999 * locale/newlocale.c: Likewise.
21000 * locale/setlocale.c: Likewise.
21001 * login/getutent_r.c: Likewise.
21002 * login/getutid_r.c: Likewise.
21003 * login/getutline_r.c: Likewise.
21004 * login/utmp-private.h: Likewise.
21005 * login/utmpname.c: Likewise.
21006 * malloc/mtrace.c: Likewise.
21007 * misc/efgcvt.c: Likewise.
21008 * misc/error.c: Likewise.
21009 * misc/fstab.c: Likewise.
21010 * misc/getpass.c: Likewise.
21011 * misc/mntent.c: Likewise.
21012 * misc/syslog.c: Likewise.
21013 * nis/nis_call.c: Likewise.
21014 * nis/nis_callback.c: Likewise.
21015 * nis/nss-default.c: Likewise.
21016 * nis/nss_compat/compat-grp.c: Likewise.
21017 * nis/nss_compat/compat-initgroups.c: Likewise.
21018 * nis/nss_compat/compat-pwd.c: Likewise.
21019 * nis/nss_compat/compat-spwd.c: Likewise.
21020 * nis/nss_nis/nis-alias.c: Likewise.
21021 * nis/nss_nis/nis-ethers.c: Likewise.
21022 * nis/nss_nis/nis-grp.c: Likewise.
21023 * nis/nss_nis/nis-hosts.c: Likewise.
21024 * nis/nss_nis/nis-network.c: Likewise.
21025 * nis/nss_nis/nis-proto.c: Likewise.
21026 * nis/nss_nis/nis-pwd.c: Likewise.
21027 * nis/nss_nis/nis-rpc.c: Likewise.
21028 * nis/nss_nis/nis-service.c: Likewise.
21029 * nis/nss_nis/nis-spwd.c: Likewise.
21030 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21031 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21032 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21033 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21034 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21035 * nis/nss_nisplus/nisplus-network.c: Likewise.
21036 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21037 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21038 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21039 * nis/nss_nisplus/nisplus-service.c: Likewise.
21040 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21041 * nis/ypclnt.c: Likewise.
21042 * nptl/libc_pthread_init.c: Likewise.
21043 * nss/getXXbyYY.c: Likewise.
21044 * nss/getXXent.c: Likewise.
21045 * nss/getXXent_r.c: Likewise.
21046 * nss/nss_db/db-XXX.c: Likewise.
21047 * nss/nss_db/db-netgrp.c: Likewise.
21048 * nss/nss_db/nss_db.h: Likewise.
21049 * nss/nss_files/files-XXX.c: Likewise.
21050 * nss/nss_files/files-alias.c: Likewise.
21051 * nss/nsswitch.c: Likewise.
21052 * posix/regex_internal.h: Likewise.
21053 * posix/wordexp.c: Likewise.
21054 * pwd/fgetpwent.c: Likewise.
21055 * resolv/res_hconf.c: Likewise.
21056 * resolv/res_libc.c: Likewise.
21057 * shadow/fgetspent.c: Likewise.
21058 * shadow/lckpwdf.c: Likewise.
21059 * shadow/sgetspent.c: Likewise.
21060 * socket/opensock.c: Likewise.
21061 * stdio-common/reg-modifier.c: Likewise.
21062 * stdio-common/reg-printf.c: Likewise.
21063 * stdio-common/reg-type.c: Likewise.
21064 * stdio-common/vfprintf.c: Likewise.
21065 * stdio-common/vfscanf.c: Likewise.
21066 * stdlib/abort.c: Likewise.
21067 * stdlib/cxa_atexit.c: Likewise.
21068 * stdlib/fmtmsg.c: Likewise.
21069 * stdlib/random.c: Likewise.
21070 * stdlib/setenv.c: Likewise.
21071 * string/strsignal.c: Likewise.
21072 * sunrpc/auth_none.c: Likewise.
21073 * sunrpc/bindrsvprt.c: Likewise.
21074 * sunrpc/create_xid.c: Likewise.
21075 * sunrpc/key_call.c: Likewise.
21076 * sunrpc/rpc_thread.c: Likewise.
21077 * sysdeps/arm/backtrace.c: Likewise.
21078 * sysdeps/generic/ldsodefs.h: Likewise.
21079 * sysdeps/generic/stdio-lock.h: Likewise.
21080 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21081 * sysdeps/i386/backtrace.c: Likewise.
21082 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21083 * sysdeps/m68k/backtrace.c: Likewise.
21084 * sysdeps/mach/hurd/cthreads.c: Likewise.
21085 * sysdeps/mach/hurd/dirstream.h: Likewise.
21086 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21087 * sysdeps/nptl/malloc-machine.h: Likewise.
21088 * sysdeps/nptl/stdio-lock.h: Likewise.
21089 * sysdeps/posix/dirstream.h: Likewise.
21090 * sysdeps/posix/getaddrinfo.c: Likewise.
21091 * sysdeps/posix/system.c: Likewise.
21092 * sysdeps/pthread/aio_suspend.c: Likewise.
21093 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21094 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21095 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21096 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21097 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21098 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21099 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21100 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21101 * sysdeps/unix/sysv/linux/system.c: Likewise.
21102 * sysdeps/x86_64/backtrace.c: Likewise.
21103 * time/alt_digit.c: Likewise.
21104 * time/era.c: Likewise.
21105 * time/tzset.c: Likewise.
21106 * wcsmbs/wcsmbsload.c: Likewise.
21107 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21108 instead of <bits/libc-lock.h> in comment.
21109
21110 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21111
21112 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21113 Only use .set mips2 if the current ISA is below mips2.
21114 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21115 Likewise.
21116 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21117 mips32r2 if the current ISA is below mips32r2.
21118 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21119 (TLS_IE): Updated to use the TLD_RDHWR macro.
21120 (TLS_LE): Likewise.
21121 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21122 __ASSEMBLER__ condition.
21123
21124 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21125
21126 Fix parallel build of before-compile targets.
21127
21128 * sysdeps/mach/Makefile ($(patsubst
21129 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21130 mach-before-compile target.
21131 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21132 io fs process)): Move rule to dedicated hurd-before-compile target.
21133
21134 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21135
21136 Fix rules generating headers in hurd/ and mach/ when initial make call
21137 has subdir= explicitly set.
21138
21139 * sysdeps/mach/Makefile ($(patsubst
21140 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21141 calling $(MAKE).
21142 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21143 io fs process)): Force subdir to hurd when calling $(MAKE).
21144 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21145 subdir to mach when calling $(MAKE).
21146
21147 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21148
21149 Check sysheaders when looking for Mach and Hurd headers
21150
21151 * sysdeps/mach/configure.ac: Add sysheaders check.
21152 * sysdeps/mach/configure: Regenerate.
21153 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21154 * sysdeps/mach/hurd/configure: Regenerate.
21155
21156 2015-09-04 Roland McGrath <roland@hack.frob.com>
21157
21158 [BZ #18921]
21159 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21160 Fix inverted sense of test of 'o_directory_works' value.
21161 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21162 Bernhard Voelker <mail@bernhard-voelker.de>.
21163
21164 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21165
21166 [BZ #14912]
21167 * bits/linkmap.h: Move to ...
21168 * sysdeps/generic/linkmap.h: ...here.
21169 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21170 * sysdeps/aarch64/linkmap.h: ...here.
21171 * sysdeps/arm/bits/linkmap.h: Move to ...
21172 * sysdeps/arm/linkmap.h: ...here.
21173 * sysdeps/hppa/bits/linkmap.h: Move to ...
21174 * sysdeps/hppa/linkmap.h: ...here.
21175 * sysdeps/ia64/bits/linkmap.h: Move to ...
21176 * sysdeps/ia64/linkmap.h: ...here.
21177 * sysdeps/mips/bits/linkmap.h: Move to ...
21178 * sysdeps/mips/linkmap.h: ...here.
21179 * sysdeps/s390/bits/linkmap.h: Move to ...
21180 * sysdeps/s390/linkmap.h: ...here.
21181 * sysdeps/sh/bits/linkmap.h: Move to ...
21182 * sysdeps/sh/linkmap.h: ...here.
21183 * sysdeps/x86/bits/linkmap.h: Move to ...
21184 * sysdeps/x86/linkmap.h: ...here.
21185 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21186
21187 2015-09-04 Andreas Schwab <schwab@suse.de>
21188
21189 [BZ #18635]
21190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21191 (__makecontext): Terminate FDE before return label.
21192 (__novec_makecontext): Likewise.
21193
21194 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21195
21196 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21197 first member of struct sv in syscall macro.
21198
21199 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21200
21201 [BZ #14912]
21202 * bits/stdio-lock.h: Move to ...
21203 * sysdeps/generic/stdio-lock.h: ...here.
21204 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21205 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21206 * sysdeps/nptl/stdio-lock.h: ...here.
21207 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21208 * include/libio.h: Include <stdio-lock.h> instead of
21209 <bits/stdio-lock.h>.
21210 * sysdeps/nptl/fork.c: Likewise.
21211 * sysdeps/pthread/flockfile.c: Likewise.
21212 * sysdeps/pthread/ftrylockfile.c: Likewise.
21213 * sysdeps/pthread/funlockfile.c: Likewise.
21214
21215 [BZ #14912]
21216 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21217 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21218 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21219 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21220 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21221 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21222 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21223
21224 2015-09-03 Roland McGrath <roland@hack.frob.com>
21225
21226 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21227 (test-xfail-tst-protected1b): New variable.
21228
21229 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21230
21231 [BZ #14912]
21232 * bits/libc-tsd.h: Move to ...
21233 * sysdeps/generic/libc-tsd.h: ...here.
21234 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21235 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21236 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21237 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21238 * include/ctype.h: Include <libc-tsd.h> instead of
21239 <bits/libc-tsd.h>.
21240 * include/rpc/rpc.h: Likewise.
21241 * locale/localeinfo.h: Likewise.
21242 * sunrpc/rpc_thread.c: Likewise.
21243 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21244 * sysdeps/nptl/malloc-machine.h: Likewise.
21245
21246 * Makefile (headers): Remove bits/libc-lock.h.
21247 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21248
21249 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21250 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21251 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21252 <bits/stdio-lock.h>.
21253 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21254 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21255
21256 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21257
21258 [BZ #18757]
21259 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21260 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21261 BZ #18757.
21262
21263 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21264
21265 * malloc/mtrace.pl: Filter out NULL entries.
21266
21267 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21268
21269 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21270 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21271 macro.
21272
21273 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21274 (TCP_CC_INFO): Likewise.
21275 (TCP_SAVE_SYN): Likewise.
21276 (TCP_SAVED_SYN): Likewise.
21277
21278 2015-08-31 Brett Neumeier <brett@neumeier.us>
21279
21280 [BZ #18870]
21281 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21282
21283 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21284
21285 [BZ #18873]
21286 Fix broken overflow check in posix_fallocate
21287 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21288 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21289 Fix parenthesization typo.
21290
21291 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21292
21293 [BZ #18887]
21294 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21295 tst-mntent-blank-passno.
21296 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21297 * misc/tst-mntent-blank-corrupt.c: New test.
21298 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21299 * misc/tst-mntent.c (do_test): ... here.
21300
21301 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21302
21303 [BZ #4404]
21304 * po/de.po: Fix SIGALRM typo.
21305
21306 2015-08-28 James Perkins <james@loowit.net>
21307
21308 * time/tst-strptime2.c (tests): Replace short list of test
21309 strings for strptime %z specifier with code which exhaustively
21310 tests every combination of sign and 0 to 5 digits. Tests for
21311 rejection of invalid strings.
21312
21313 2015-08-28 James Perkins <james@loowit.net>
21314
21315 [BZ #16141]
21316 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21317 calculation, removing incorrect decimal time rounding, so that
21318 all minute values result in a valid seconds value.
21319 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21320 offset range limits to UTC-99:59 through UTC+99:59 to parse
21321 current and historical use cases.
21322 * time/tst-strptime2.c (tests): Modify and add tests for the
21323 strptime %z input field descriptor, specifically conversion of
21324 minutes to seconds and validating an offset range of -9959 to
21325 +9959.
21326
21327 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21328 Dmitry V. Levin <ldv@altlinux.org>
21329
21330 [BZ #18877]
21331 * posix/Makefile (tests): Add tst-mmap-offset.
21332 * posix/tst-mmap.c: New file.
21333 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21334 offset calculation for negative values.
21335
21336 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21337
21338 * sysdeps/i386/init-arch.h: New file.
21339 * sysdeps/i386/i586/init-arch.h: Likewise.
21340 * sysdeps/i386/i686/init-arch.h: Likewise.
21341 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21342 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21343 * sysdeps/x86/cpu-features.h (bit_I586): New.
21344 (bit_I686): Likewise.
21345 (bit_CX8): Likewise.
21346 (bit_CMOV): Likewise.
21347 (index_CX8): Likewise.
21348 (index_CMOV): Likewise.
21349 (index_I586): Likewise.
21350 (index_I686): Likewise.
21351 (reg_CX8): Likewise.
21352 (reg_CMOV): Likewise.
21353 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21354 available at compile-time.
21355 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21356 available at compile-time.
21357 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21358 (USE_I686): Likewise.
21359
21360 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * sysdeps/i386/bcopy.S: New file.
21363 * sysdeps/i386/bzero.S: Likewise.
21364 * sysdeps/i386/memcpy.S: Likewise.
21365 * sysdeps/i386/memmove.S: Likewise.
21366 * sysdeps/i386/mempcpy.S: Likewise.
21367 * sysdeps/i386/memset.S: Likewise.
21368 * sysdeps/i386/bzero.c: Removed.
21369 * sysdeps/i386/memset.c: Likewise.
21370 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21371 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21372 * sysdeps/i386/i586/memset_chk.S: Likewise.
21373 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21374 * sysdeps/i386/memcpy_chk.S: Here.
21375 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21376 * sysdeps/i386/memmove_chk.S: Here.
21377 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21378 * sysdeps/i386/mempcpy_chk.S: Likewise.
21379 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21380 * sysdeps/i386/memset_chk.S: Likewise.
21381
21382 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21383
21384 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21385 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21386 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21387 * soft-fp/fmadf4.c: Ditto.
21388 * soft-fp/fmatf4.c: Ditto.
21389
21390 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 * sysdeps/i386/i586/Implies: Removed.
21393 * sysdeps/i386/i686/Implies: Likewise.
21394
21395 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21396
21397 * sysdeps/i386/i486/strlen.S: Moved to ...
21398 * sysdeps/i386/strlen.S: Here.
21399
21400 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21401
21402 * sysdeps/i386/i486/strcat.S: Moved to ...
21403 * sysdeps/i386/strcat.S: Here.
21404
21405 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21406
21407 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21408 * sysdeps/i386/pthread_spin_trylock.S: Here.
21409 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21410 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21411
21412 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21415 * sysdeps/i386/string-inlines.c: Here.
21416
21417 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21418
21419 * sysdeps/i386/i486/htonl.S: Moved ...
21420 * sysdeps/i386/htonl.S: here.
21421
21422 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21423
21424 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21425 * sysdeps/i386/bits/atomic.h: Here.
21426
21427 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 * sysdeps/i386/i486/Versions: Removed.
21430
21431 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21432
21433 [BZ #2898]
21434 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21435 Based on patch by Aurelien Jarno.
21436
21437 2015-08-26 Stan Shebs <stanshebs@google.com>
21438
21439 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21440 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21441
21442 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21443
21444 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21445 * sysdeps/powerpc/dl-procinfo.c:
21446 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21447 feature so it shows when LD_SHOW_AUXV=1.
21448
21449 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21450
21451 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21452 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21453 definition. ISA 2.07B no longer requires full sync.
21454
21455 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21456
21457 [BZ #18863]
21458 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21459 (si_call_addr): Define.
21460 (si_syscall): Define.
21461 (si_arch): Define.
21462
21463 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21464
21465 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21466 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21467 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21468 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21469 (__memset_zero_constant_len_parameter): New.
21470 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21471 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21472 (__memset_zero_constant_len_parameter): Don't define if
21473 __memset_chk or USE_AS_BZERO are defined.
21474
21475 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21476 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21477 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21478
21479 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21480 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21481 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21482 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21483 comments.
21484 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21485 -mno-mmx for $(all-rtld-routines).
21486 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21487 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21488 i386.
21489
21490 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21491
21492 * sysdeps/generic/unwind.h
21493 (_Unwind_Word): Use __mode__(__unwind_word__)
21494 instead of __mode__(__word__).
21495 (_Unwind_Sword): Likewise.
21496
21497 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21498 (MAX_NEEDED_INPUT): New define.
21499 (MAX_NEEDED_OUTPUT): New define.
21500
21501 * NEWS: New item for IBM z13 string optimizations.
21502
21503 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21504 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21505 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21506 * sysdeps/s390/multiarch/Makefile
21507 (sysdep_routines): Add memrchr functions.
21508 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21509 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21510
21511 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21512 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21513 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21514 * sysdeps/s390/multiarch/Makefile
21515 (sysdep_routines): Add wmemcmp functions.
21516 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21517 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21518 * benchtests/bench-wmemcmp.c: New File.
21519 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21520
21521 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21522 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21523 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21524 * sysdeps/s390/multiarch/Makefile
21525 (sysdep_routines): Add wmemset functions.
21526 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21527 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21528 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21529 * string/test-memset.c: Add wmemset support.
21530 * wcsmbs/test-wmemset.c: New File.
21531 * wcsmbs/Makefile (strop-tests): Add wmemset.
21532 * benchtests/bench-memset.c: Add wmemset support.
21533 * benchtests/bench-wmemset.c: New File.
21534 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21535
21536 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21537 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21538 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21539 * sysdeps/s390/multiarch/Makefile
21540 (sysdep_routines): Add memccpy functions.
21541 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21542 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21543 * string/memccpy.c: Use MEMCCPY if defined.
21544
21545 * sysdeps/s390/multiarch/memchr-vx.S: New File.
21546 * sysdeps/s390/multiarch/memchr.c: Likewise.
21547 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21548 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21549 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21550 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21551 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21552 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21553 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21554 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21555 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21556 and rawmemchr functions.
21557 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21558 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21559 and wmemchr.
21560 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21561 * string/test-memchr.c: Add wmemchr support.
21562 * wcsmbs/test-wmemchr.c: New File.
21563 * wcsmbs/Makefile (strop-tests): Add wmemchr.
21564 * benchtests/bench-memchr.c: Add wmemchr support.
21565 * benchtests/bench-wmemchr.c: New File.
21566 * benchtests/Makefile (wcsmbs-bench): wmemchr.
21567
21568 * sysdeps/s390/multiarch/strcspn-c.c: New File.
21569 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21570 * sysdeps/s390/multiarch/strcspn.c: Likewise.
21571 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21572 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21573 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21574 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21575 wcscspn functions.
21576 * sysdeps/s390/multiarch/ifunc-impl-list.c
21577 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21578 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21579 * string/test-strcspn.c: Add wcscspn support.
21580 * wcsmbs/test-wcscspn.c: New File.
21581 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21582 * benchtests/bench-strcspn.c: Add wcscspn support.
21583 * benchtests/bench-wcscspn.c: New File.
21584 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21585
21586 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21587 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21588 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21589 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21590 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21591 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21592 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21593 wcspbrk functions.
21594 * sysdeps/s390/multiarch/ifunc-impl-list.c
21595 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21596 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21597 * string/test-strpbrk.c: Add wcspbrk support.
21598 * wcsmbs/test-wcspbrk.c: New File.
21599 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21600 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21601 * benchtests/bench-wcspbrk.c: New File.
21602 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21603
21604 * sysdeps/s390/multiarch/strspn-c.c: New File.
21605 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21606 * sysdeps/s390/multiarch/strspn.c: Likewise.
21607 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21608 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21609 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21610 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21611 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21612 wcsspn functions.
21613 * sysdeps/s390/multiarch/ifunc-impl-list.c
21614 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21615 * string/test-strspn.c: Add wcsspn support.
21616 * wcsmbs/test-wcsspn.c: New File.
21617 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21618 * benchtests/bench-strspn.c: Add wcsspn support.
21619 * benchtests/bench-wcsspn.c: New File.
21620 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21621
21622 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21623 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21624 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21625 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21626 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21627 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21628 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21629 wcsrchr functions.
21630 * sysdeps/s390/multiarch/ifunc-impl-list.c
21631 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21632 * benchtests/bench-wcsrchr.c: New File.
21633 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21634
21635 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21636 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21637 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21638 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21639 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21640 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21641 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21642 wcschrnul functions.
21643 * sysdeps/s390/multiarch/ifunc-impl-list.c
21644 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21645 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21646 * string/test-strchr.c: Add wcschrnul support.
21647 * wcsmbs/test-wcschrnul.c: New File.
21648 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21649 * benchtests/bench-strchr.c: Add wcschrnul support.
21650 * benchtests/bench-wcschrnul.c: New File.
21651 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21652
21653 * sysdeps/s390/multiarch/strchr-c.c: New File.
21654 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21655 * sysdeps/s390/multiarch/strchr.c: Likewise.
21656 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21657 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21658 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21659 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21660 wcschr functions.
21661 * sysdeps/s390/multiarch/ifunc-impl-list.c
21662 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21663 * string/strchr.c (STRCHR): Define and use macro.
21664 * benchtests/bench-wcschr.c: New File.
21665 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21666
21667 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21668 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21669 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21670 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21671 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21672 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21673 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21674 wcsncmp functions.
21675 * sysdeps/s390/multiarch/ifunc-impl-list.c
21676 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21677 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21678 * benchtests/bench-strncmp.c: Add wcsncmp support.
21679 * benchtests/bench-wcsncmp.c: New File.
21680 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21681
21682 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21683 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21684 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21685 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21686 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21687 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21688 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21689 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21690 wcscmp functions.
21691 * sysdeps/s390/multiarch/ifunc-impl-list.c
21692 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21693 * string/strcmp.c (STRCMP): Define and use macro.
21694 * benchtests/bench-wcscmp.c: New File.
21695 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21696 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21697 instead of _HAVE_STRING_ARCH_memchr.
21698
21699 * sysdeps/s390/multiarch/strncat-c.c: New File.
21700 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21701 * sysdeps/s390/multiarch/strncat.c: Likewise.
21702 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21703 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21704 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21705 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21706 wcsncat functions.
21707 * sysdeps/s390/multiarch/ifunc-impl-list.c
21708 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21709 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21710 * string/test-strncat.c: Add wcsncat support.
21711 * wcsmbs/test-wcsncat.c: New File.
21712 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21713 * benchtests/bench-strncat.c: Add wcsncat support.
21714 * benchtests/bench-wcsncat.c: New File.
21715 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21716
21717 * sysdeps/s390/multiarch/strcat-c.c: New File.
21718 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21719 * sysdeps/s390/multiarch/strcat.c: Likewise.
21720 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21721 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21722 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21723 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21724 wcscat functions.
21725 * sysdeps/s390/multiarch/ifunc-impl-list.c
21726 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21727 * string/strcat.c (STRCAT): Define and use macro.
21728 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21729 * string/test-strcat.c: Add wcscat support.
21730 * wcsmbs/test-wcscat.c: New File.
21731 * wcsmbs/Makefile (strop-tests): Add wcscat.
21732 * benchtests/bench-strcat.c: Add wcscat support.
21733 * benchtests/bench-wcscat.c: New File.
21734 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21735
21736 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21737 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21738 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21739 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21740 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21741 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21742 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21743 wcpncpy functions.
21744 * sysdeps/s390/multiarch/ifunc-impl-list.c
21745 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21746 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21747 * string/test-stpncpy.c: Add wcpncpy support.
21748 * wcsmbs/test-wcpncpy.c: New File.
21749 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21750 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21751 * benchtests/bench-wcpncpy.c: New File.
21752 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21753
21754 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21755 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21756 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21757 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21758 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21759 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21760 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21761 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21762 wcsncpy functions.
21763 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21764 * sysdeps/s390/multiarch/ifunc-impl-list.c
21765 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21766 * string/test-strncpy.c: Add wcsncpy support.
21767 * wcsmbs/test-wcsncpy.c: New File.
21768 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21769 * benchtests/bench-strncpy.c: Add wcsncpy support.
21770 * benchtests/bench-wcsncpy.c: New File.
21771 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21772
21773 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21774 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21775 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21776 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21777 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21778 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21779 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21780 wcpcpy functions.
21781 * string/stpcpy.c: Use STPCPY if defined.
21782 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21783 * sysdeps/s390/multiarch/ifunc-impl-list.c
21784 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21785 * string/test-stpcpy.c: Add wcpcpy support.
21786 * wcsmbs/test-wcpcpy.c: New File.
21787 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21788 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21789 * benchtests/bench-wcpcpy.c: New File.
21790 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21791
21792 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21793 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21794 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21795 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21796 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21797 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21798 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21799 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21800 wcscpy functions.
21801 * sysdeps/s390/multiarch/ifunc-impl-list.c
21802 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21803 * benchtests/bench-wcscpy.c: New File.
21804 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21805
21806 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21807 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21808 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21809 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21810 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21811 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21812 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21813 wcsnlen functions.
21814 * sysdeps/s390/multiarch/ifunc-impl-list.c
21815 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21816 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21817 * string/test-strnlen.c: Add wcsnlen support.
21818 * wcsmbs/test-wcsnlen.c: New File.
21819 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21820 * benchtests/bench-strnlen.c: Add wcsnlen support.
21821 * benchtests/bench-wcsnlen.c: New File.
21822 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21823
21824 * sysdeps/s390/multiarch/Makefile: New File.
21825 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21826 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21827 * sysdeps/s390/multiarch/strlen.c: Likewise.
21828 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21829 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21830 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21831 * string/strlen.c (STRLEN): Define and use macro.
21832 * sysdeps/s390/multiarch/ifunc-impl-list.c
21833 (IFUNC_VX_IMPL): New macro function.
21834 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21835 * benchtests/Makefile (wcsmbs-bench): New variable.
21836 (string-bench-all): Added wcsmbs-bench.
21837 * benchtests/bench-wcslen.c: New File.
21838
21839 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21840 s390_vx_libc_ifunc2): New macro function.
21841
21842 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21843 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21844 assembler support.
21845 * sysdeps/s390/configure: Regenerated.
21846
21847 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21848 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21849
21850 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21851 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21852 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21853
21854 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21855 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21856 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21857 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21858 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21859 (memcmp, bcmp): Use __memcmp_default as alias source.
21860 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21861 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21862 Rename to __memcmp_default.
21863 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21864 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21865 (memcpy): Use __memcpy_default as alias source.
21866 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21867 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21868 Rename to __memcpy_default.
21869 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21870 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21871 (memset): Use __memset_default as alias source.
21872 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21873 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21874 Rename to __memset_default.
21875 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21876 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21877 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21878 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21879 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21880 (memcmp, bcmp): Use __memcmp_default as alias source.
21881 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21882 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21883 Rename to __memcmp_default.
21884 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21885 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21886 (memcpy): Use __memcpy_default as alias source.
21887 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21888 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21889 Rename to __memcpy_default.
21890 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21891 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21892 (memset): Use __memset_default as alias source.
21893 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21894 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21895 Rename to __memset_default.
21896 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21897 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21898
21899 [BZ #18610]
21900 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21901 __ieee_instruction_pointer to __unused.
21902 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21903 __ieee_instruction_pointer.
21904 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21905 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21906 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21907 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21908 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21909 Mark dxc-field as reserved.
21910
21911 2015-08-25 Roland McGrath <roland@hack.frob.com>
21912
21913 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21914 if the weak reference is not null.
21915
21916 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21919
21920 [BZ #11214]
21921 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21922
21923 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21924
21925 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21926 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21927 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21928 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21929 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21930 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21931 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21932 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21933 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21934 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21935 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21936 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21937 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21938 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21939 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21940 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21941 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21942 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21943
21944 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21945
21946 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21947 register other than r0 for tabort, it has special meaning.
21948 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21949 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21950 transaction before starting syscall.
21951
21952 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21953
21954 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21955
21956 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21957
21958 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21959
21960 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21961 * sysdeps/x86_64/rtld-memset.S: Likewise.
21962 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21963 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21964 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21965 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21966
21967 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21968
21969 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21970
21971 * debug/strcpy_chk.c: Improve performance.
21972 * debug/stpcpy_chk.c: Likewise.
21973 * sysdeps/x86_64/strcpy_chk.S: Remove.
21974 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21975
21976 [BZ #18240]
21977 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21978
21979 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21980
21981 [BZ #15128]
21982 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21983 ifuncmain8.
21984 (modules-names): Add ifuncmod8.
21985 ($(objpfx)ifuncmain8): New rule.
21986 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21987 <cpuid.h>.
21988 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21989 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21990 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21991 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21992 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21993 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21994 * sysdeps/x86_64/ifuncmain8.c: New file.
21995 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21996 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21997 Removed.
21998 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21999 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22000 Change rtld_savespace_sse to __glibc_unused2.
22001 (RTLD_CHECK_FOREIGN_CALL): Removed.
22002 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22003 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22004 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22005
22006 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22007
22008 * sysdeps/aarch64/bzero.S (__bzero): Remove.
22009
22010 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22011
22012 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22013 Unconditionally set __fpcr to avoid uninialized warning.
22014 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22015
22016 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22017
22018 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22019 is corrupt.
22020
22021 * malloc/arena.c (arena_get2): Drop unused argument.
22022 (arena_lock): Adjust.
22023 (arena_get_retry): Likewise.
22024
22025 2015-08-24 Andreas Schwab <schwab@suse.de>
22026
22027 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22028 Don't define.
22029 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22030 (__ASSUME_IPC64): Don't undef.
22031 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22032 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22033 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22034 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22035 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22036 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22037 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22038 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22039 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22040 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22041 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22042 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22043 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22044 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22045 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22046 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22047 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22048 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22049 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22050 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22051 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22052
22053 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22054
22055 * manual/Makefile (install): Only build manual when perl is available.
22056
22057 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22058
22059 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22060 '#undef memcpy' by '#undef memchr'.
22061
22062 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22063
22064 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22065 memchr not point to the internal __GI_memchr implementation.
22066
22067 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22068
22069 * timezone/Makefile (CFLAGS-zdump.c): Remove
22070 -Wno-strict-prototypes.
22071 (CFLAGS-zic.c): Likewise.
22072 (CFLAGS-ialloc.c): Likewise.
22073 (CFLAGS-scheck.c): Likewise.
22074
22075 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22076 -Wno-error=undef.
22077
22078 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22079
22080 * i386/i686/multiarch/strcasestr-c.c: Removed.
22081 * x86_64/multiarch/strcasestr.c: Likewise.
22082 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22083 Remove strcasestr.
22084
22085 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22086
22087 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22088
22089 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22090 variables for high and low parts before possibly modifying them.
22091
22092 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22093
22094 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22095 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22096 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22097 of "multiarch/init-arch.h".
22098 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22099 * sysdeps/x86/init-arch.h: This.
22100
22101 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22102
22103 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22104 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22105
22106 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22107
22108 [BZ #17787]
22109 * manual/macros.texi: Add twoexp macro.
22110 * manual/filesys.texi: Fix exponents.
22111 * manual/llio.texi: Likewise.
22112 * manual/stdio.texi: Likewise.
22113
22114 2015-08-20 Florian Weimer <fweimer@redhat.com>
22115
22116 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22117 incorrect use.
22118
22119 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22120
22121 [BZ #18370]
22122 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22123 whose real or imaginary part has small absolute value.
22124 * math/s_csqrtf.c (__csqrtf): Likewise.
22125 * math/s_csqrtl.c (__csqrtl): Likewise.
22126 * math/auto-libm-test-in: Add more tests of csqrt.
22127 * math/auto-libm-test-out: Regenerated.
22128 * sysdeps/i386/fpu/libm-test-ulps: Update.
22129
22130 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22131
22132 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22133 __ppc_set_ppr_very_low): New functions.
22134 * manual/platform.texi: Add documentation about
22135 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22136
22137 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22138
22139 * string/stpncpy.c (stpncpy): Improve performance using
22140 __strnlen/memcpy/memset.
22141
22142 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22143
22144 [BZ #18796]
22145 * scripts/test-installation.pl: Don't add -lmvec to build options if
22146 libmvec wasn't built.
22147
22148 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22149
22150 [BZ #14341]
22151 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22152 case when there is a gap between DT_REL and DT_JMPREL sections.
22153 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22154 (LDFLAGS-tst-split-dynreloc): New.
22155 (tst-split-dynreloc-ENV): Likewise.
22156 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22157 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22158
22159 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22160
22161 [BZ #18822]
22162 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22163 attribute_hidden.
22164 (__xstat64_conv): Likewise.
22165 (__xstat32_conv): Likewise.
22166
22167 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22168
22169 [BZ #18822]
22170 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22171 Don't load %ebx when calling __setcontext. Call __setcontext
22172 with HIDDEN_JUMPTARGET.
22173 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22174 libc_hidden_def.
22175
22176 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22177
22178 * sysdeps/i386/i686/Makefile
22179 [$(subdir) == string] (sysdep_routines): Moved to ...
22180 * sysdeps/i386/Makefile: Here.
22181 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22182 * sysdeps/i386/cacheinfo.c: Here.
22183 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22184 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22185 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22186 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22187
22188 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22189
22190 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22191 __i586__ is defined.
22192 (HAS_I686): Defined to 1 if __i686__ is defined.
22193
22194 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22195
22196 * elf/Makefile [$(have-z-execstack) = yes]
22197 (CPPFLAGS-tst-execstack.c): New variable.
22198
22199 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22200 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22201 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22202 UTMPX || _HAVE_UT_TV].
22203 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22204 UTMPX || _HAVE_UT_TV - 0].
22205
22206 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22207
22208 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22209 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22210 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22211
22212 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22213
22214 * sysdeps/powerpc/dl-procinfo.c:
22215 (_dl_powerpc_cap_flags): Added missing strings for some
22216 hwcap features.
22217 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22218
22219 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22220
22221 Port the 0x7efe...feff pattern to GCC 6.
22222 See Steve Ellcey's bug report in:
22223 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22224 * string/memrchr.c (MEMRCHR):
22225 * string/rawmemchr.c (RAWMEMCHR):
22226 * string/strchr.c (strchr):
22227 * string/strchrnul.c (STRCHRNUL):
22228 Rewrite code to avoid issues with signed shift overflow.
22229
22230 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22231
22232 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22233 whether cpuid is available only if HAS_CPUID is 0.
22234 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22235 (HAS_I586): Likewise.
22236 (HAS_I686): Likewise.
22237
22238 2015-08-18 Zack Weinberg <zackw@panix.com>
22239
22240 * misc/Versions (libc): Add GLIBC_2.23.
22241
22242 2015-08-18 Alan Modra <amodra@gmail.com>
22243
22244 [BZ #18421]
22245 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22246 .Lp__global.
22247 (_start): Load %dp via .Lp__global.
22248 [!SHARED]: Use .section .rodata.
22249
22250 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22251
22252 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22253 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22254
22255 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22256
22257 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22258 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22259
22260 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22261
22262 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22263 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22264
22265 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22266
22267 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22268 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22269
22270 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22271
22272 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22273 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22274
22275 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22276
22277 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22278 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22279
22280 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22281
22282 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22283
22284 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22285
22286 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22287 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22288 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22289 (__ASSUME_LWS_CAS): Delete.
22290
22291 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22292
22293 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22294 * sysdeps/hppa/configure: Regenerated.
22295 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22296 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22297 * sysdeps/hppa/nptl/tls.h: Likewise.
22298
22299 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22300
22301 [BZ #18823]
22302 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22303 for scaling up small arguments.
22304 * math/s_csqrtf.c (__csqrtf): Likewise.
22305 * math/s_csqrtl.c (__csqrtl): Likewise.
22306 * math/auto-libm-test-in: Add more tests of csqrt.
22307 * math/auto-libm-test-out: Regenerated.
22308
22309 2015-08-17 Andreas Schwab <schwab@suse.de>
22310
22311 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22312 version set GLIBC_2.19.
22313
22314 2015-08-16 Zack Weinberg <zackw@panix.com>
22315
22316 [BZ #18681]
22317 * misc/regexp.h: This interface is no longer supported.
22318 Remove all contents, leaving only an #error directive.
22319 * misc/regexp.c (loc1, loc2, locs, step, advance):
22320 Demote to compatibility symbols.
22321
22322 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22323
22324 [BZ #18084]
22325 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22326 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22327 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22328 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22329 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22330 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22331 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22332 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22333 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22334
22335 2015-08-15 Zack Weinberg <zackw@panix.com>
22336
22337 [BZ #18795]
22338 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22339 buffer length is known to be too large, not if it's known to be
22340 small enough.
22341 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22342 overflow at runtime, involving a length parameter, twice: once
22343 with a compile-time constant length parameter, once without.
22344
22345 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22346
22347 [BZ #18824]
22348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22349 scaling x * y up instead of down.
22350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22352 * math/auto-libm-test-in: Add more tests of fma.
22353 * math/auto-libm-test-out: Regenerated.
22354
22355 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22356
22357 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22358
22359 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22360
22361 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22362 unnecessary movq.
22363 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22364 Likewise.
22365
22366 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22367
22368 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22369 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22370 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22371 and tgamma.
22372 * math/auto-libm-test-out: Regenerated.
22373 * sysdeps/i386/fpu/libm-test-ulps: Update.
22374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22375
22376 [BZ #16520]
22377 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22378 (__tanh): Force underflow exception for arguments with small
22379 absolute value.
22380 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22381 (__tanhf): Force underflow exception for arguments with small
22382 absolute value.
22383 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22384 (__tanhl): Force underflow exception for arguments with small
22385 absolute value.
22386 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22387 (__tanhl): Force underflow exception for arguments with small
22388 absolute value.
22389 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22390 (__tanhl): Force underflow exception for arguments with small
22391 absolute value.
22392 * math/auto-libm-test-in: Add more tests of tanh.
22393 * math/auto-libm-test-out: Regenerated.
22394 * sysdeps/i386/fpu/libm-test-ulps: Update.
22395
22396 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22397
22398 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22399 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22400
22401 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22402
22403 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22404 <cpuid.h>.
22405
22406 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22409 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22410
22411 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22412
22413 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22414 Remove $(objpfx)init-arch.o.
22415 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22416 init-arch.
22417 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22418 (INIT_ARCH_EXT): Defined as empty.
22419 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22421 __init_cpu_features call. Replace HAS_XXX with
22422 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22423 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22424 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22425 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22426 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22427 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22428 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22429 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22430 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22431 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22432 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22433 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22434 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22435 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22436 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22440 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22441 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22442 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22443 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22444 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22445 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22446 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22447 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22448 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22449 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22450 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22451 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22452 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22453 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22454 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22455 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22456 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22457 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22458
22459 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22460
22461 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22462 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22463 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22464 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22465 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22466 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22467 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22468 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22469 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22470 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22471 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22472 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22473 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22474 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22475 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22476 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22477 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22478 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22479 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22480 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22481 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22482 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22483 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22484 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22485 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22486 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22488 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22489 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22491 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22492 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22493 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22494 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22495 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22496 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22497 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22498 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22499 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22501 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22502 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22503 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22504
22505 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22506
22507 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22508 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22512 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22513 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22514 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22515 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22518 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22519 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22520 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22521 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22523 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22524 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22525 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22528 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22529 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22530 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22531 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22532 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22533 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22534 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22535 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22536 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22537 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22538 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22539 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22540 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22541 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22542 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22543 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22544 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22545 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22546 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22547 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22548 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22549 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22550
22551 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22552
22553 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22554 (dl_platform_init): Call init_cpu_features.
22555 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22556 * sysdeps/i386/i686/cacheinfo.c
22557 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22558 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22559 * sysdeps/i386/i686/multiarch/Versions: Removed.
22560 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22561 Removed.
22562 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22563 * sysdeps/unix/sysv/linux/x86/Makefile
22564 (libpthread-sysdep_routines): Remove init-arch.
22565 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22566 <sysdeps/x86_64/dl-procinfo.c> instead of
22567 sysdeps/generic/dl-procinfo.c>.
22568 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22569 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22570 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22571 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22572 [$(subdir) == elf] (tests-static): Add
22573 tst-get-cpu-features-static.
22574 * sysdeps/x86/Versions: New file.
22575 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22576 * sysdeps/x86/cpu-features.c: Likewise.
22577 * sysdeps/x86/cpu-features.h: Likewise.
22578 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22579 * sysdeps/x86/libc-start.c: Likewise.
22580 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22581 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22582 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22583 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22584 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22585 Assume USE_MULTIARCH is defined and don't check it.
22586 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22587 (is_amd): Likewise.
22588 (max_cpuid): Likewise.
22589 (intel_check_word): Likewise.
22590 (__cache_sysconf): Don't call __init_cpu_features.
22591 (__x86_preferred_memory_instruction): Removed.
22592 (init_cacheinfo): Don't call __init_cpu_features. Replace
22593 __cpu_features with GLRO(dl_x86_cpu_features).
22594 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22595 (dl_platform_init): Call init_cpu_features.
22596 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22597 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22598 * sysdeps/x86_64/multiarch/Versions: Removed.
22599 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22600 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22601 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22602 Removed.
22603 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22604
22605 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22606
22607 [BZ #18820]
22608 * libio/Makefile (test-fmemopen-mem): New test.
22609 * libio/test-fmemopen.c (do_bz18820): New test.
22610 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22611 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22612
22613 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22614
22615 [BZ #16734]
22616 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22617 (FREE_BUF): Delete.
22618 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22619 * libio/genops.c (_IO_setb): Use malloc and free directly.
22620 (_IO_default_doallocate, _IO_default_finish): Likewise.
22621 ( _IO_unbuffer_all): Likewise.
22622 ( libc_freeres_fn): Likewise.
22623 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22624 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22625 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22626 (_IO_wdefault_doallocate): Likewise.
22627
22628 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22629
22630 [BZ #18086]
22631 * sysdeps/posix/nice.c (nice): Restore old errno.
22632 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22633
22634 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22635
22636 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22637
22638 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22639
22640 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22641 __bcopy and add a weak_alias to bcopy.
22642 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22643 for static build.
22644
22645 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22646 cleanup macro usage.
22647 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22649 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22650 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22651 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22652 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22653 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22654 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22655 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22656 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22657 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22658 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22659 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22660 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22661 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22662 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22663 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22664 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22665 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22666
22667 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22668 libc_hidden_def.
22669 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22670
22671 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22672 (sysdep_routines): Add strstr-ppc64.
22673 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22674
22675 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22676
22677 [BZ #18778]
22678 * elf/Makefile (tests): Add Add tst-nodelete2.
22679 (modules-names): Add tst-nodelete2mod.
22680 (tst-nodelete2mod.so-no-z-defs): New.
22681 ($(objpfx)tst-nodelete2): Likewise.
22682 ($(objpfx)tst-nodelete2.out): Likewise.
22683 (LDFLAGS-tst-nodelete2): Likewise.
22684 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22685 out of loop through all loaded libraries.
22686 * elf/tst-nodelete2.c: New file.
22687 * elf/tst-nodelete2mod.c: Likewise.
22688 * elf/tst-znodelete-zlib.cc: Delete.
22689
22690 2015-08-11 Andreas Schwab <schwab@suse.de>
22691
22692 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22693 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22694 (__openat64_nocancel): Likewise.
22695
22696 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22697
22698 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22699 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22700 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22701 * math/auto-libm-test-out: Regenerated.
22702 * sysdeps/i386/fpu/libm-test-ulps: Update.
22703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22704
22705 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22706
22707 [BZ #18790]
22708 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22709 threshold for returning +/- 1.
22710 * math/auto-libm-test-in: Add more tests of tanh.
22711 * math/auto-libm-test-out: Regenerated.
22712 * sysdeps/i386/fpu/libm-test-ulps: Update.
22713
22714 2015-08-10 Andreas Schwab <schwab@suse.de>
22715
22716 [BZ #18781]
22717 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22718 MORE_OFLAGS to oflag.
22719 * io/test-lfs.c (do_test): Test openat64.
22720
22721 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22722
22723 [BZ #18789]
22724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22725 smaller threshold for returning the argument.
22726 * math/auto-libm-test-in: Add more tests of sinh.
22727 * math/auto-libm-test-out: Regenerated.
22728 * sysdeps/i386/fpu/libm-test-ulps: Update.
22729
22730 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 [BZ #18674]
22733 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22734 break.
22735
22736 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22737
22738 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22739 (generated): Don't add $(addprefix z.,$(tzfiles)).
22740
22741 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22742
22743 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22744 * scripts/sysd-rules.awk: Likewise.
22745
22746 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22747
22748 * iconvdata/tst-tables.sh: Change echo -n to printf.
22749 * nss/db-Makefile: Likewise.
22750 * posix/tst-getconf.sh: Likewise.
22751 * stdio-common/tst-unbputc.sh: Likewise.
22752
22753 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22754
22755 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22756 MADV_*_PAGES defines behind this feature check.
22757
22758 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22759
22760 [BZ #18480]
22761 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22762 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22763 Define.
22764 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22765 LOAD_REGS_5, LOAD_REGS_6): Update.
22766 (INTERNAL_SYSCALL): Update using new LOAD defines.
22767 (INTERNAL_SYSCALL_NCS): Likewise.
22768 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22769
22770 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22771
22772 [BZ #16734]
22773 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22774
22775 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22776
22777 [BZ #17905]
22778 * catgets/Makefile (tst-catgets-mem): New test.
22779 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22780 * catgets/open_catalog.c (__open_catalog): Likewise.
22781 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22782
22783 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22784
22785 [BZ #18787]
22786 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22787 clobber registers.
22788 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22789 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22790 Cast return to __typeof (oldval).
22791
22792 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22793
22794 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22795 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22796 and delete sys/syscall.h include.
22797
22798 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22799
22800 [BZ #16517]
22801 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22802 (tan): Force underflow exception for arguments with small absolute
22803 value.
22804 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22805 (__kernel_tanf): Force underflow exception for arguments with
22806 small absolute value.
22807 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22808 (__kernel_tanl): Force underflow exception for arguments with
22809 small absolute value.
22810 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22811 (__kernel_tanl): Force underflow exception for arguments with
22812 small absolute value.
22813 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22814 (__kernel_tanl): Force underflow exception for arguments with
22815 small absolute value.
22816 * math/auto-libm-test-in: Add more tests of tan.
22817 * math/auto-libm-test-out: Regenerated.
22818
22819 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22820
22821 Fix sysdeps/i386/fpu/s_scalbn.S build
22822
22823 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22824
22825 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22826
22827 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22828
22829 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22830
22831 Fix gcrt0.o compilation
22832
22833 When static-start-installed-name is different from
22834 start-installed-name, we must not use the shared objects.
22835
22836 * csu/Makefile
22837 (extra-objs): Add gmon-start.o when building shared library and
22838 $(static-start-installed-name) is different from
22839 $(start-installed-name).
22840 $(objpfx)g$(static-start-installed-name): When building shared
22841 library and $(static-start-installed-name) is different from
22842 $(static-start-installed-name), revert to non-shared rule,
22843 i.e. using $(objpfx)% and gmon-start.o.
22844
22845 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22846
22847 [BZ #16519]
22848 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22849 (__ieee754_sinh): Force underflow exception for arguments with
22850 small absolute value.
22851 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22852 (__ieee754_sinhf): Force underflow exception for arguments with
22853 small absolute value.
22854 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22855 (__ieee754_sinhl): Force underflow exception for arguments with
22856 small absolute value.
22857 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22858 (__ieee754_sinhl): Force underflow exception for arguments with
22859 small absolute value.
22860 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22861 (__ieee754_sinhl): Force underflow exception for arguments with
22862 small absolute value.
22863 * math/auto-libm-test-in: Add more tests of sinh.
22864 * math/auto-libm-test-out: Regenerated.
22865 * sysdeps/i386/fpu/libm-test-ulps: Update.
22866
22867 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22868
22869 * libio/oldfileops.c: Include unistd.h.
22870
22871 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22872
22873 * stdlib/isomac.c: Include ctype.h.
22874
22875 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22876
22877 * dirent/tst-seekdir.c (main): Converted to ...
22878 (do_test): ... this.
22879 (TEST_FUNCTION): New macro.
22880 Include test-skeleton.c.
22881 * elf/tst-dlmodcount.c (main): Converted to ...
22882 (do_test): ... this.
22883 (TEST_FUNCTION): New macro.
22884 Include test-skeleton.c.
22885 * elf/tst-order-main.c (main): Converted to ...
22886 (do_test): ... this.
22887 (TEST_FUNCTION): New macro.
22888 Include test-skeleton.c.
22889 * elf/tst-pie2.c (main): Converted to ...
22890 (do_test): ... this.
22891 (TEST_FUNCTION): New macro.
22892 Include test-skeleton.c.
22893 * inet/tst-ether_aton.c (main): Converted to ...
22894 (do_test): ... this.
22895 (TEST_FUNCTION): New macro.
22896 Include test-skeleton.c.
22897 * misc/tst-mntent.c (main): Converted to ...
22898 (do_test): ... this.
22899 (TEST_FUNCTION): New macro.
22900 Include test-skeleton.c.
22901 * misc/tst-tsearch.c (main): Converted to ...
22902 (do_test): ... this.
22903 (TEST_FUNCTION): New macro.
22904 Include test-skeleton.c.
22905 * posix/tst-regexloc.c (main): Converted to ...
22906 (do_test): ... this.
22907 (TEST_FUNCTION): New macro.
22908 Include test-skeleton.c.
22909 * resolv/tst-aton.c (main): Converted to ...
22910 (do_test): ... this.
22911 (TEST_FUNCTION): New macro.
22912 Include test-skeleton.c.
22913 * stdio-common/test-fwrite.c (main): Converted to ...
22914 (do_test): ... this.
22915 (TEST_FUNCTION): New macro.
22916 Include test-skeleton.c.
22917 * stdio-common/tst-ferror.c (main): Converted to ...
22918 (do_test): ... this.
22919 (TEST_FUNCTION): New macro.
22920 Include test-skeleton.c.
22921 * stdio-common/tst-printf.c (main): Converted to ...
22922 (do_test): ... this.
22923 (TEST_FUNCTION): New macro.
22924 Include test-skeleton.c.
22925 * stdio-common/tst-printfsz.c (main): Converted to ...
22926 (do_test): ... this.
22927 (TEST_FUNCTION): New macro.
22928 Include test-skeleton.c.
22929 * stdlib/tst-strtod.c (main): Converted to ...
22930 (do_test): ... this.
22931 (TEST_FUNCTION): New macro.
22932 Include test-skeleton.c.
22933 * string/tst-strlen.c (main): Converted to ...
22934 (do_test): ... this.
22935 (TEST_FUNCTION): New macro.
22936 Include test-skeleton.c.
22937 * string/tst-svc.c (main): Converted to ...
22938 (do_test): ... this.
22939 (TEST_FUNCTION): New macro.
22940 Include test-skeleton.c.
22941 * time/tst-strptime.c (main): Converted to ...
22942 (do_test): ... this.
22943 (TEST_FUNCTION): New macro.
22944 Include test-skeleton.c.
22945 * timezone/tst-timezone.c (main): Converted to ...
22946 (do_test): ... this.
22947 (TEST_FUNCTION): New macro.
22948 Include test-skeleton.c.
22949
22950 2015-08-05 Zack Weinberg <zackw@panix.com>
22951
22952 * misc/regexp.h: Update comments.
22953
22954 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22955
22956 [BZ #18635]
22957 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22958 before return label.
22959
22960 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22961
22962 [BZ #18661]
22963 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22964 when calling __errno_location.
22965 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22966 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22967
22968 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22969
22970 [BZ #18661]
22971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22972 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22973 __gettimeofday.
22974
22975 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22976
22977 [BZ #18661]
22978 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22979 (__start_context): Don't use pop to restore %rdi so that stack
22980 is aligned to 16 bytes when calling __setcontext.
22981
22982 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22983
22984 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22985 only for libc.
22986 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22987
22988 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22989
22990 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22991 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22992 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22993
22994 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22995
22996 * string/memccpy.c (memccpy):
22997 Improve performance by using memchr/memcpy/__mempcpy.
22998
22999 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23000
23001 * string/strncpy.c (strncpy):
23002 Improve performance by using __strnlen/memcpy.
23003
23004 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23005
23006 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23007 Optimize to avoid an unnecessary FPCR read.
23008
23009 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23010
23011 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23012 Optimize to reduce FPCR/FPSR accesses.
23013
23014 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23015
23016 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23017 dead->data[category] != NULL.
23018
23019 2015-08-05 Joseph Myers <joseph@codesourcery.com>
23020
23021 [BZ #18647]
23022 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23023 and |x| close to 1, use absolute value of x when computing log.
23024 * math/auto-libm-test-in: Add more tests of pow.
23025 * math/auto-libm-test-out: Regenerated.
23026
23027 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23028
23029 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23030 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23031 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23032
23033 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23034
23035 [BZ #18525]
23036 * locales/km_KH: Remove timezone definition.
23037 * locales/lo_LA: Likewise.
23038 * locales/my_MM: Likewise.
23039 * locales/nan_TW@latin: Likewise.
23040 * locales/th_TH: Likewise.
23041 * locales/uk_UA: Likewise.
23042
23043 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23044
23045 [BZ #18265]
23046 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23047 (wcsncat): Likewise.
23048 (wcscmp): Likewise.
23049 (wcsncmp): Likewise.
23050
23051 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23052
23053 * test-skeleton.c (usage): New function.
23054 (main): Call usage when opt is '?'.
23055
23056 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23057
23058 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23059 before first use.
23060
23061 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23062
23063 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23064 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23065 in there too.
23066
23067 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23068
23069 * version.h (RELEASE): Set to "development".
23070 (VERSION): Set to "2.22.90"
23071
23072 * version.h (RELEASE): Set to "stable".
23073 (VERSION): Set to "2.22"
23074 * include/features.h (__GLIBC_MINOR__): Set to 22.
23075
23076 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23077
23078 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23079 Restructure macro to avoid "value computed is not used" warning.
23080 (atomic_compare_and_exchange_val_acq): Likewise.
23081
23082 2015-08-04 Andreas Schwab <schwab@suse.de>
23083
23084 [BZ #18635]
23085 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23086 ret.
23087 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23088
23089 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23090
23091 * po/pl.po: Updated translation.
23092 * po/uk.po: Likewise.
23093 * po/fi.po: Likewise.
23094 * po/ko.po: Likewise.
23095 * po/ru.po: Likewise.
23096 * po/vi.po: Likewise.
23097
23098 2015-07-31 Zack Weinberg <zackw@panix.com>
23099
23100 [BZ #18681]
23101 * regexp.h: Add unconditional #warning stating that this header
23102 will be removed soon. Revise banner comment to match.
23103 (compile): Consistently use ERROR instead of RETURN to report
23104 errors (partial fix for bz#18681).
23105 * regexp.c: Don't include regexp.h. Remove some unnecessary
23106 declarations.
23107
23108 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23109
23110 * po/libc.pot: Regenerated.
23111
23112 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23113
23114 [BZ #18740]
23115 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23116 float-vlen4-arch-ext-cflags): Removed.
23117 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23118 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23119
23120 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23121
23122 [BZ #14113]
23123 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23124 aligned to __aligned__.
23125 (pthread_cond_t, pthread_rwlock_t): Likewise.
23126
23127 2015-07-30 Torvald Riegel <triegel@redhat.com>
23128
23129 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23130
23131 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23132
23133 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23134 (struct sigaction): Change sa_flags from a long to an int, and add
23135 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23136
23137 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23138
23139 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23140 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23141 sysdeps/generic/sysdep.h include.
23142 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23143 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23144 sysdeps/hppa/sysdep.h.
23145 (ENTRY, PSEUDO): Undefine before defining.
23146
23147 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23148
23149 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23150 from scratch to use INTERNAL_SYSCALL.
23151
23152 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 [BZ #18078]
23155 * scripts/check-localplt.awk: Support alternate relocations.
23156 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23157 sections.
23158 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23159 malloc entries with + REL R_386_GLOB_DAT.
23160 * sysdeps/x86_64/localplt.data: New file.
23161
23162 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23163
23164 [BZ #18731]
23165 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23166 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23167 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23168
23169 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23170
23171 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23172
23173 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23174
23175 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23176 directly in terms of __sync_fetch_and_add and delete (int) cast.
23177
23178 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23179
23180 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23181 the -D_ASM_IA64_CURRENT_H flag.
23182
23183 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23184
23185 [BZ #18641]
23186 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23187
23188 2015-07-27 Andreas Schwab <schwab@suse.de>
23189
23190 * conform/conformtest.pl (checknamespace): Filter out string
23191 literals while tokenizing.
23192
23193 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23194
23195 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23196 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23197 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23198
23199 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23200
23201 * nptl/tst-join7mod.c: Add #include <string.h>.
23202
23203 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23204
23205 * sysdeps/nios2/libm-test-ulps: Update.
23206
23207 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23208
23209 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23210 Fix order of arguments to the rt_sigprocmask syscall.
23211 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23212 Likewise.
23213
23214 2015-07-24 Roland McGrath <roland@hack.frob.com>
23215
23216 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23217
23218 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23219
23220 [BZ #18457]
23221 * nptl/Makefile (tests): New test case tst-join7.
23222 (modules-names): New test case module tst-join7mod.
23223 * nptl/tst-join7.c: New file.
23224 * nptl/tst-join7mod.c: New file.
23225 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23226 all translation units in libc.so, libpthread.so and rtld.
23227
23228 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23229
23230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23231
23232 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23233
23234 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23235 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23236 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23237 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23238 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23239 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23240 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23241 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23242 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23243 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23244 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23245 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23246 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23247 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23248 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23249 implementation.
23250
23251 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23252
23253 [BZ #17711]
23254 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23255 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23256 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23257 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23258 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23259 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23260
23261 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23262
23263 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23264 instead of just saying load lock in the comments.
23265
23266 2015-07-23 Roland McGrath <roland@hack.frob.com>
23267
23268 * sysdeps/unix/Subdirs: Moved ...
23269 * sysdeps/posix/Subdirs: ... here.
23270 * login/pty.h (struct termios, struct winsize): Add forward decls.
23271 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23272 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23273 * sysdeps/arm/nacl/libc.abilist: Updated.
23274 * sysdeps/nacl/libutil.abilist: New file.
23275
23276 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23277 (SIGWINCH): New macro.
23278
23279 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23280 * sysdeps/arm/nacl/libc.abilist: Add it.
23281
23282 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23283
23284 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23285
23286 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23287
23288 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23289 Swap __glibc_reserved0 and sa_flags order.
23290
23291 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23292
23293 [BZ #18657]
23294 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23295 are pending TLS destructor calls.
23296 * include/link.h (struct link_map): Add concurrency note for
23297 L_TLS_DTOR_COUNT.
23298 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23299 Don't touch the link map flag. Atomically increment
23300 l_tls_dtor_count.
23301 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23302 Avoid taking the load lock and don't touch the link map flag.
23303 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23304 * stdlib/Makefile (tests): Use it.
23305 * stdlib/tst-tls-atexit.c (do_test): dlopen
23306 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23307 to allow tst-tls-atexit-nodelete test case to use it.
23308
23309 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23310
23311 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23312 to bits/types.h.
23313 (msgqnum_t): New typedef.
23314 (msglen_t): Likewise.
23315 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23316 and msg_qbytes type to msglen_t.
23317
23318 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23319
23320 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23321 pad0 to __glibc_reserved0.
23322 (struct stat64): Likewise.
23323
23324 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23325
23326 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23327 Change sa_flags from a long to an int and add __glibc_reserved0 before
23328 it for padding.
23329
23330 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23331
23332 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23333 anonymous by deleting "siginfo" name.
23334
23335 2015-07-21 Roland McGrath <roland@hack.frob.com>
23336
23337 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23338 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23339 rather than __nacl_irt_filename.
23340 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23341
23342 * NEWS: New item for arm-nacl port.
23343 * sysdeps/arm/nacl/libc.abilist: New file.
23344 * sysdeps/nacl/ld.abilist: New file.
23345 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23346 * sysdeps/nacl/libanl.abilist: New file.
23347 * sysdeps/nacl/libcrypt.abilist: New file.
23348 * sysdeps/nacl/libdl.abilist: New file.
23349 * sysdeps/nacl/libm.abilist: New file.
23350 * sysdeps/nacl/libpthread.abilist: New file.
23351 * sysdeps/nacl/libresolv.abilist: New file.
23352 * sysdeps/nacl/librt.abilist: New file.
23353
23354 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23355
23356 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23357 __startcontext to initialize the new context.
23358 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23359 up CFI directive to forbid further backtracing.
23360
23361 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23362
23363 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23364 reference.
23365 * charmaps/ANSI_X3.4-1968: Likewise.
23366 * charmaps/BS_4730: Likewise.
23367 * charmaps/BS_VIEWDATA: Likewise.
23368 * charmaps/CP1250: Likewise.
23369 * charmaps/CP1251: Likewise.
23370 * charmaps/CP1252: Likewise.
23371 * charmaps/CP1253: Likewise.
23372 * charmaps/CP1254: Likewise.
23373 * charmaps/CP1255: Likewise.
23374 * charmaps/CP1256: Likewise.
23375 * charmaps/CSN_369103: Likewise.
23376 * charmaps/EBCDIC-DK-NO: Likewise.
23377 * charmaps/GB_1988-80: Likewise.
23378 * charmaps/GREEK-CCITT: Likewise.
23379 * charmaps/GREEK7: Likewise.
23380 * charmaps/INIS-8: Likewise.
23381 * charmaps/ISIRI-3342: Likewise.
23382 * charmaps/ISO_2033-1983: Likewise.
23383 * charmaps/ISO_5427-EXT: Likewise.
23384 * locales/POSIX: Likewise.
23385 * locales/ar_SA: Likewise.
23386 * locales/be_BY: Likewise.
23387 * locales/be_BY@latin: Likewise.
23388 * locales/ca_ES: Likewise.
23389 * locales/cs_CZ: Likewise.
23390 * locales/da_DK: Likewise.
23391 * locales/de_BE: Likewise.
23392 * locales/de_CH: Likewise.
23393 * locales/de_LU: Likewise.
23394 * locales/en_AU: Likewise.
23395 * locales/en_BW: Likewise.
23396 * locales/en_CA: Likewise.
23397 * locales/en_DK: Likewise.
23398 * locales/en_GB: Likewise.
23399 * locales/en_IE: Likewise.
23400 * locales/en_NZ: Likewise.
23401 * locales/en_ZA: Likewise.
23402 * locales/en_ZW: Likewise.
23403 * locales/es_AR: Likewise.
23404 * locales/es_BO: Likewise.
23405 * locales/es_CL: Likewise.
23406 * locales/es_CO: Likewise.
23407 * locales/es_DO: Likewise.
23408 * locales/es_EC: Likewise.
23409 * locales/es_ES: Likewise.
23410 * locales/es_HN: Likewise.
23411 * locales/es_MX: Likewise.
23412 * locales/es_PA: Likewise.
23413 * locales/es_PE: Likewise.
23414 * locales/es_PY: Likewise.
23415 * locales/es_SV: Likewise.
23416 * locales/es_US: Likewise.
23417 * locales/es_UY: Likewise.
23418 * locales/es_VE: Likewise.
23419 * locales/et_EE: Likewise.
23420 * locales/fa_IR: Likewise.
23421 * locales/fo_FO: Likewise.
23422 * locales/fr_CA: Likewise.
23423 * locales/fr_CH: Likewise.
23424 * locales/gv_GB: Likewise.
23425 * locales/he_IL: Likewise.
23426 * locales/hr_HR: Likewise.
23427 * locales/id_ID: Likewise.
23428 * locales/is_IS: Likewise.
23429 * locales/it_CH: Likewise.
23430 * locales/iw_IL: Likewise.
23431 * locales/kl_GL: Likewise.
23432 * locales/ko_KR: Likewise.
23433 * locales/kw_GB: Likewise.
23434 * locales/lg_UG: Likewise.
23435 * locales/lt_LT: Likewise.
23436 * locales/lv_LV: Likewise.
23437 * locales/mi_NZ: Likewise.
23438 * locales/nhn_MX: Likewise.
23439 * locales/nl_BE: Likewise.
23440 * locales/pl_PL: Likewise.
23441 * locales/sk_SK: Likewise.
23442 * locales/sl_SI: Likewise.
23443 * locales/sv_FI: Likewise.
23444 * locales/tl_PH: Likewise.
23445 * locales/tr_TR: Likewise.
23446 * locales/vi_VN: Likewise.
23447
23448 2015-07-21 Khem Raj <raj.khem@gmail.com>
23449
23450 [BZ #17475]
23451 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23452 of tu_IN and bh_IN.
23453
23454 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23455
23456 [BZ #18694]
23457 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23458 bits/wordsize.h.
23459 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23460
23461 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23462
23463 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23464 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23465 (spawn_thread): New function.
23466 (load): Rename to reg_dtor_and_close. Move dlopen to...
23467 (do_test): ... here. Use IS_LOADED to test for its
23468 availability.
23469
23470 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23471
23472 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23473
23474 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23475
23476 [BZ #18696]
23477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23478 si_addr_bnd.
23479 (si_lower): New.
23480 (si_upper): Likewise.
23481
23482 2015-07-16 David S. Miller <davem@davemloft.net>
23483
23484 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23485
23486 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23487
23488 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23489 buffer.
23490 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23491 fail output information.
23492
23493 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23494
23495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23496 and strstr-ppc64..
23497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23498 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23499 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23500 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23501 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23502
23503 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23504
23505 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23506 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23507 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23508 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23509
23510 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23511
23512 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23513 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23514 rtld_hidden_proto.
23515 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23516
23517 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23518
23519 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23520 the test can fail.
23521
23522 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23523
23524 [BZ #18676]
23525 * elf/tst-nodelete-opened.c: New test case.
23526 * elf/tst-nodelete-opened-lib.c: New test case module.
23527 * elf/Makefile (tests, modules-names): Use them.
23528 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23529 early.
23530
23531 2015-07-15 David S. Miller <davem@davemloft.net>
23532
23533 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23534 futex-intenal.h
23535 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23536 * sysdeps/sparc/sparc64/Makefile: Likewise.
23537 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23538 Remove space from macro define.
23539 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23540
23541 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23542
23543 [BZ #17475]
23544 * locale/iso-639.def: Update Bhili and Tulu language codes as
23545 per iso639-3.
23546
23547 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
23548
23549 * elf/tst-leaks1.c (main): Converted to ...
23550 (do_test): ... this.
23551 (TEST_FUNCTION): New macro.
23552 Include test-skeleton.c.
23553 * localedata/tst-langinfo.c (main): Converted to ...
23554 (do_test): ... this.
23555 (TEST_FUNCTION): New macro.
23556 Include test-skeleton.c.
23557 * math/test-fpucw.c (main): Converted to ...
23558 (do_test): ... this.
23559 (TEST_FUNCTION): New macro.
23560 Include test-skeleton.c.
23561 * math/test-tgmath.c (main): Converted to ...
23562 (do_test): ... this.
23563 (TEST_FUNCTION): New macro.
23564 Include test-skeleton.c.
23565 * math/test-tgmath2.c (main): Converted to ...
23566 (do_test): ... this.
23567 (TEST_FUNCTION): New macro.
23568 Include test-skeleton.c.
23569 * setjmp/tst-setjmp.c (main): Converted to ...
23570 (do_test): ... this.
23571 (TEST_FUNCTION): New macro.
23572 Include test-skeleton.c.
23573 * stdio-common/tst-sscanf.c (main): Converted to ...
23574 (do_test): ... this.
23575 (TEST_FUNCTION): New macro.
23576 Include test-skeleton.c.
23577 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23578 (do_test): ... this.
23579 (TEST_FUNCTION): New macro.
23580 Include test-skeleton.c.
23581
23582 * elf/tst-audit9.c (main): Converted to ...
23583 (do_test): ... this.
23584 (TEST_FUNCTION): New macro.
23585 Include test-skeleton.c.
23586
23587 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23588
23589 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23590
23591 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23592
23593 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23594 New variable.
23595
23596 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23597
23598 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23599
23600 2015-07-14 Roland McGrath <roland@hack.frob.com>
23601
23602 * sysdeps/generic/dl-fileid.h: New file.
23603 * sysdeps/posix/dl-fileid.h: New file.
23604 * sysdeps/nacl/dl-fileid.h: New file.
23605 * include/link.h: Include <dl-fileid.h>.
23606 (struct link_map): Replace l_dev and l_ino with l_file_id.
23607 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23608 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23609 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23610
23611 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23612
23613 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23614
23615 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23616
23617 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23618 Add iff $CXX is set.
23619 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23620 Likewise.
23621 (tst-nodelete-zmodiff): Likewise.
23622 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23623
23624 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23625
23626 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23627
23628 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23629
23630 * sysdeps/aarch64/fpu/math_private.h
23631 (define math_opt_barrier): Add AArch64 version.
23632 (math_force_eval): Likewise.
23633
23634 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23635
23636 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23637
23638 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23641 %ld with %jd and cast to intmax_t.
23642 (do_test_length_zero): Likewise.
23643
23644 2015-07-10 Roland McGrath <roland@hack.frob.com>
23645
23646 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23647
23648 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23649
23650 * sysdeps/tile/libm-test-ulps: Regenerated.
23651
23652 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23653 Comment out the whole function, not just its body.
23654
23655 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23656
23657 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23658 locks.
23659
23660 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23661
23662 2015-07-10 Torvald Riegel <triegel@redhat.com>
23663
23664 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23665 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23666
23667 2015-07-10 Torvald Riegel <triegel@redhat.com>
23668
23669 * sysdeps/nptl/futex-internal.h: New file.
23670 * sysdeps/nacl/futex-internal.h: New file.
23671 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23672 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23673 error checking.
23674 (setxid_unmark_thread): Likewise.
23675 (__nptl_setxid): Likewise.
23676 (__wait_lookup_done): Likewise.
23677 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23678 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23679 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23680 * nptl/pthread_once.c (clear_once_control): Likewise.
23681 (__pthread_once_slow): Likewise.
23682 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23683 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23684 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23685 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23686 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23687 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23688 Likewise.
23689 (__pthread_rwlock_rdlock): Likewise.
23690 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23691 Likewise.
23692 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23693 Likewise.
23694 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23695 Likewise.
23696 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23697 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23698 Likewise.
23699 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23700 __ASSUME_PRIVATE_FUTEX check.
23701 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23702 Check that shared futexes are supported.
23703 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23704 wrappers with error checking.
23705 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23706 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23707 * nptl/pthread_barrierattr_setpshared.c
23708 (pthread_barrierattr_setpshared): Check that shared futexes are
23709 supported.
23710 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23711 Likewise.
23712 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23713 Likewise.
23714 * nptl/sem_init.c (futex_private_if_supported): Remove.
23715 (__new_sem_init): Adapt and check that shared futexes are supported.
23716 * nptl/sem_open.c (sem_open): Likewise.
23717 * nptl/sem_post.c (futex_wake): Remove.
23718 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23719 (do_futex_wait): Use futex wrappers with error checking.
23720 * nptl/sem_wait.c: Include lowlevellock.h.
23721 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23722 Use futex_supports_pshared.
23723 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23724 Use futex wrappers with error checking.
23725 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23726 Likewise.
23727 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23728 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23729 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23730 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23731 (futex_wake): Likewise.
23732 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23733 (do_futex_wait): Use futex wrappers with error checking.
23734 (__new_sem_wait_slow): Update EINTR handling.
23735 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23736
23737 2015-07-09 Martin Sebor <msebor@redhat.com>
23738
23739 [BZ #18435]
23740 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23741 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23742 * nptl/Makefile (test-xfail-tst-once5): Define.
23743
23744 2015-07-09 Roland McGrath <roland@hack.frob.com>
23745
23746 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23747 * elf/dl-minimal.c: For readability, reorder some definitions and
23748 introduce more page breaks. Include <stdio.h>.
23749 (__libc_fatal): New function.
23750
23751 * include/unistd.h: Add rtld_hidden_proto for _exit.
23752 * posix/_exit.c: Add rtld_hidden_def.
23753 * sysdeps/mach/hurd/_exit.c: Likewise.
23754 * sysdeps/nacl/_exit.c: Likewise.
23755 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23756 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23757
23758 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23759
23760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23761 bndmov encoding with zero displacement.
23762
23763 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23764 H.J. Lu <hongjiu.lu@intel.com>
23765
23766 [BZ #18134]
23767 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23768 * sysdeps/i386/configure: Regenerated.
23769 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23770 (_dl_runtime_profile): Save and restore Intel MPX return bound
23771 registers when calling _dl_call_pltexit. Add
23772 PRESERVE_BND_REGS_PREFIX before return.
23773 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23774 (LRV_BND1_OFFSET): Likewise.
23775 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23776 lrv_bnd1.
23777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23778 typo in bndmov encoding.
23779 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23780 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23781 branch instructions to preserve bounds.
23782
23783 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23784
23785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23786 [GLIBC_2.22]: Add fmemopen.
23787
23788 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23789
23790 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23791 returns an error, also try to use host port from __mach_host_self for
23792 the __vm_wire call.
23793 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23794
23795 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23796
23797 [BZ #18400]
23798 [BZ #18648]
23799 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23800 Fix pr_uid and pr_gid members.
23801 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23802 definition to elf_greg_t.
23803
23804 2015-07-08 Roland McGrath <roland@hack.frob.com>
23805
23806 [BZ #18383]
23807 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23808 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23809 * sysdeps/arm/configure: Regenerated.
23810 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23811 (test-xfail-tst-tlsalign-static): Variable removed.
23812
23813 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23814 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23815 rather than explicit 'ln -s'.
23816
23817 * resolv/rpc/netdb.h: New file.
23818 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23819
23820 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23821
23822 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23823 length buffers.
23824 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23825 test-skeleton.c.
23826
23827 [BZ #6544]
23828 [BZ #11216]
23829 [BZ #12836]
23830 [BZ #13151]
23831 [BZ #13152]
23832 [BZ #14292]
23833 * include/stdio.h (fmemopen): Remove hidden prototype.
23834 (__fmemopen): Add new hidden prototype.
23835 * libio/Makefile: Add oldfmemopen object.
23836 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23837 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23838 compliance.
23839 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23840 symbol compatibility.
23841 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23842 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23843 fmemopen.
23844 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23845 on append and read mode.
23846 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23847 fmemopen.
23848 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23849 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23850 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23851 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23852 Likewise.
23853 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23854 [GLIBC_2.22]: Likewise.
23855 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23856 Likewise.
23857 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23858 Likewise.
23859 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23860 [GLIBC_2.22]: Likewise.
23861 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23862 [GLIBC_2.22]: Likewise.
23863 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23864 [GLIBC_2.22]: Likewise.
23865 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23866 [GLIBC_2.22]: Likewise.
23867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23868 [GLIBC_2.22]: Likewise.
23869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23870 [GLIBC_2.22]: Likewise.
23871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23872 [GLIBC_2.22]: Likewise.
23873 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23874 Likewise.
23875 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23876 Likewise.
23877 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23878 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23879 [GLIBC_2.22]: Likewise.
23880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23881 [GLIBC_2.22]: Likewise.
23882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23883 [GLIBC_2.22]: Likewise.
23884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23885 [GLIBC_2.22]: Likewise.
23886 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23887 Likewise.
23888 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23889 Likewise.
23890 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23891 Likewise.
23892 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23893 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23894
23895 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23896
23897 [BZ #18643]
23898 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23899 IPV6_PATHMTU, and IPV6_DONTFRAG.
23900
23901 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23902
23903 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23904 and _IO_UNBUFFERED.
23905 * libio/oldfileops.c: Likewise.
23906 * libio/wfileops.c: Likewise.
23907
23908 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23909
23910 * nscd/selinux.c: Delete selinux/flask.h include.
23911
23912 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23913
23914 [BZ #18641]
23915 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23916 (putpwent): Likewise.
23917 (getpwnam): Likewise.
23918 (getpwent_r): Likewise.
23919 (getpwuid_r): Likewise.
23920 (getpwnam_r): Likewise.
23921 (fgetpwent_r): Likewise.
23922
23923 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23924
23925 [BZ #18557]
23926 * inet/rcmd.c (__validuser2_sa): Check user first to
23927 short-circuit host check.
23928
23929 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23930 Mikhail Ilin <m.ilin@samsung.com>
23931
23932 [BZ #17833]
23933 * elf/Makefile (tests): Add tst-nodelete.
23934 (modules-names): Add tst-nodelete-uniquemod.
23935 (tst-nodelete-uniquemod.so-no-z-defs): New.
23936 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23937 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23938 ($(objpfx)tst-nodelete): Likewise.
23939 ($(objpfx)tst-nodelete.out): Likewise.
23940 (LDFLAGS-tst-nodelete): Likewise.
23941 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23942 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23943 implement forced object deletion.
23944 (_dl_close): Pass false to _dl_close_worker.
23945 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23946 * elf/tst-nodelete.cc: New file.
23947 * elf/tst-nodeletelib.cc: Likewise.
23948 * elf/tst-znodeletelib.cc: Likewise.
23949 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23950
23951 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23952
23953 [BZ #18508]
23954 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23955 Depend on $(libdl).
23956 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23957 is not called infinitely times.
23958 (backtrace_helper): New function.
23959 (trace_arg): New struct.
23960 (st1): Enlarge stack size.
23961 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23962 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23963 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23964 Likewise.
23965
23966 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23967
23968 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23969
23970 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23971
23972 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23973 Include sys/types.h instead of bits/types.h.
23974 Remove inclusion of bits/wordsize.h.
23975
23976 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23977
23978 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23979 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23980 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23981 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23982 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23983 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23984
23985 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23986
23987 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23988 link-defines.sym.
23989 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23990 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23991 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23992 and LR_SIZE.
23993 * sysdeps/i386/link-defines.sym: New file.
23994
23995 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23998 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23999 ($(objpfx)tst-audit3): New rule.
24000 ($(objpfx)tst-audit3.out): Likewise.
24001 * sysdeps/i386/tst-audit3.c: New file.
24002 * sysdeps/i386/tst-audit3.h: Likewise.
24003 * sysdeps/i386/tst-auditmod3a.c: Likewise.
24004 * sysdeps/i386/tst-auditmod3b.c: Likewise.
24005
24006 2015-07-07 Torvald Riegel <triegel@redhat.com>
24007
24008 [BZ #18633]
24009 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24010 pointer in C code.
24011 (__strcat_c): Likewise.
24012 (__strcat_g): Likewise.
24013
24014 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
24015
24016 [BZ #18592]
24017 * misc/sbrk.c: Set errno to ENOMEM on overflow.
24018
24019 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24020
24021 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24022 New function. (__ieee754_sqrtf): New function.
24023 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24024 New function.
24025 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24026 New function.
24027
24028 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24029
24030 * sysdeps/ieee754/support.c: Remove unused file.
24031
24032 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24033
24034 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24035 registers instead of d ones so the layout is kernel abi compatible.
24036 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24037 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24038 Likewise.
24039
24040 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24041
24042 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24043
24044 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24045
24046 [BZ #18619]
24047 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24048 and return argument in case of subnormal argument.
24049
24050 2015-07-01 Martin Sebor <msebor@redhat.com>
24051
24052 [BZ #18435]
24053 * nptl/Makefile: Add tst-once5.cc.
24054 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24055 Remove macro redefinitions.
24056 * nptl/tst-once5.cc: New test.
24057
24058 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24059
24060 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24061
24062 * sysdeps/arm/libm-test-ulps: Regenerated.
24063
24064 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24065 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24066
24067 2015-06-30 Torvald Riegel <triegel@redhat.com>
24068
24069 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24070 lll_lock_wait_private and lll_futex_wake probes.
24071
24072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24074 Likewise.
24075 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24076 atomic_spin_nop.
24077 * sysdeps/x86_64/bits/atomic.h: Likewise.
24078 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24079 to atomic_spin_nop and move ...
24080 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24081 ... here and ...
24082 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24083 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24084 atomic_spin_nop instead of BUSY_WAIT_NOP.
24085 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24086 Likewise.
24087 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24088 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24089 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24090 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24091 instead of atomic_delay.
24092
24093 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24094
24095 [BZ #18613]
24096 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24097 X_ADJ not X when adjusting exponent.
24098 (__ieee754_gamma_r): Do intermediate computations in
24099 round-to-nearest then adjust overflowing and underflowing results
24100 as needed.
24101 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24102 of X_ADJ not X when adjusting exponent.
24103 (__ieee754_gammaf_r): Do intermediate computations in
24104 round-to-nearest then adjust overflowing and underflowing results
24105 as needed.
24106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24107 log of X_ADJ not X when adjusting exponent.
24108 (__ieee754_gammal_r): Do intermediate computations in
24109 round-to-nearest then adjust overflowing and underflowing results
24110 as needed. Use 1.0L not 1.0f as numerator of division.
24111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24112 log of X_ADJ not X when adjusting exponent.
24113 (__ieee754_gammal_r): Do intermediate computations in
24114 round-to-nearest then adjust overflowing and underflowing results
24115 as needed. Use 1.0L not 1.0f as numerator of division.
24116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24117 of X_ADJ not X when adjusting exponent.
24118 (__ieee754_gammal_r): Do intermediate computations in
24119 round-to-nearest then adjust overflowing and underflowing results
24120 as needed. Use 1.0L not 1.0f as numerator of division.
24121 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24122 to auto-libm-test-in.
24123 (tgamma_test): Use ALL_RM_TEST.
24124 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24125 tests of tgamma with spurious-overflow.
24126 * math/auto-libm-test-out: Regenerated.
24127 * math/gen-libm-have-vector-test.sh: Do not check for START.
24128 * sysdeps/i386/fpu/libm-test-ulps: Update.
24129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24130
24131 [BZ #18612]
24132 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24133 arguments, just return 0.5 times the argument, with underflow
24134 forced as needed.
24135 * math/auto-libm-test-in: Add more tests of j1.
24136 * math/auto-libm-test-out: Regenerated.
24137
24138 [BZ #16559]
24139 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24140 (__ieee754_j1): Force underflow exception for small results.
24141 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24142 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24143 (__ieee754_j1f): Force underflow exception for small results.
24144 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24145 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24148 (__ieee754_j1l): Force underflow exception for small results.
24149 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24150 * math/auto-libm-test-in: Add more tests of j1 and jn.
24151 * math/auto-libm-test-out: Regenerated.
24152
24153 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24154 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24155 (PF_MPLS): Likewise.
24156 (AF_IB): Likewise.
24157 (AF_MPLS): Likewise.
24158 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24159 value and macro.
24160 (MS_RMT_MASK): Include MS_LAZYTIME.
24161
24162 2015-06-26 Mel Gorman <mgorman@suse.de>
24163
24164 [BZ #18502]
24165 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24166 already minimal.
24167
24168 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24169
24170 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24171 (DT_MIPS_NUM): Update.
24172 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24173 DT_MIPS_RLD_MAP_REL.
24174
24175 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24176
24177 [BZ #16559]
24178 [BZ #18602]
24179 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24180 round-to-nearest internally then recompute results that
24181 underflowed to zero in the original rounding mode.
24182 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24183 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24186 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24187 * sysdeps/i386/fpu/libm-test-ulps: Update.
24188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24189
24190 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24191
24192 * NEWS: Fixed description of link with vector math library.
24193
24194 2015-06-25 Andreas Schwab <schwab@suse.de>
24195
24196 [BZ #18549]
24197 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24198 * libio/test-fmemopen.c (do_test): Add test for it.
24199
24200 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24201
24202 [BZ #17841]
24203 * Makeconfig (no-pie-ldflag): New.
24204 (+link): Set to $(+link-pie) if default to PIE.
24205 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24206 * config.make.in (build-pie-default): New.
24207 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24208 is default. AC_SUBST.
24209 * configure: Regenerated.
24210 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24211
24212 2015-06-24 Roland McGrath <roland@hack.frob.com>
24213
24214 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24215 to 'unsigned int'.
24216
24217 * resolv/gai_misc.h (struct waitlist): Change type of field
24218 counterp to 'volatile unsigned int *'.
24219 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24220 FUTEXADDR and OLDVAL.
24221 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24222 Give local variable TOTAL type 'volatile unsigned int'.
24223 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24224 * resolv/gai_suspend.c (gai_suspend):
24225 Give local variable CNTR type 'unsigned int'.
24226
24227 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24228 counterp to 'volatile unsigned int *'.
24229 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24230 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24231 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24232 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24233 Give local variable TOTAL type 'volatile unsigned int'.
24234 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24235
24236 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 [BZ #18383]
24239 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24240 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24241 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24242 comment for i386/x86-64.
24243 (test-xfail-tst-tlsalign-extern-static): Removed.
24244
24245 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24246
24247 * math/test-double.h: New file.
24248 * math/test-float.h: Likewise.
24249 * math/test-ldouble.h: Likewise.
24250 * math/test-math-inline.h: Likewise.
24251 * math/test-math-no-inline.h: Likewise.
24252 * math/test-math-scalar.h: Likewise.
24253 * math/test-math-vector.h: Likewise.
24254 * math/test-vec-loop.h: Remove file. Contents moved into
24255 test-math-vector.h.
24256 * math/libm-test.inc (MATHCONST): Do not document macro.
24257 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24258 and test-math-scalar.h.
24259 (FUNC): Remove macro.
24260 (FUNC_TEST): Likewise.
24261 (FLOAT): Likewise.
24262 (MATHCONST): Likewise.
24263 (PRINTF_EXPR): Likewise.
24264 (PRINTF_XEXPR): Likewise.
24265 (PRINTF_NEXPR): Likewise.
24266 (TEST_DOUBLE): Likewise.
24267 (TEST_MATHVEC): Likewise.
24268 (__NO_MATH_INLINES): Likewise.
24269 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24270 and test-math-scalar.h.
24271 (FUNC): Remove macro.
24272 (FUNC_TEST): Likewise.
24273 (FLOAT): Likewise.
24274 (MATHCONST): Likewise.
24275 (PRINTF_EXPR): Likewise.
24276 (PRINTF_XEXPR): Likewise.
24277 (PRINTF_NEXPR): Likewise.
24278 (TEST_FLOAT): Likewise.
24279 (TEST_MATHVEC): Likewise.
24280 (__NO_MATH_INLINES): Likewise.
24281 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24282 and test-math-scalar.h.
24283 (FUNC): Remove macro.
24284 (FUNC_TEST): Likewise.
24285 (FLOAT): Likewise.
24286 (MATHCONST): Likewise.
24287 (PRINTF_EXPR): Likewise.
24288 (PRINTF_XEXPR): Likewise.
24289 (PRINTF_NEXPR): Likewise.
24290 (TEST_DOUBLE): Likewise.
24291 (TEST_MATHVEC): Likewise.
24292 (TEST_INLINE): Likewise.
24293 (__NO_MATH_INLINES): Likewise.
24294 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24295 test-math-scalar.h.
24296 (FUNC): Remove macro.
24297 (FUNC_TEST): Likewise.
24298 (FLOAT): Likewise.
24299 (MATHCONST): Likewise.
24300 (PRINTF_EXPR): Likewise.
24301 (PRINTF_XEXPR): Likewise.
24302 (PRINTF_NEXPR): Likewise.
24303 (TEST_FLOAT): Likewise.
24304 (TEST_MATHVEC): Likewise.
24305 (TEST_INLINE): Likewise.
24306 (__NO_MATH_INLINES): Likewise.
24307 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24308 and test-math-scalar.h.
24309 (FUNC): Remove macro.
24310 (FUNC_TEST): Likewise.
24311 (FLOAT): Likewise.
24312 (MATHCONST): Likewise.
24313 (PRINTF_EXPR): Likewise.
24314 (PRINTF_XEXPR): Likewise.
24315 (PRINTF_NEXPR): Likewise.
24316 (TEST_LDOUBLE): Likewise.
24317 (TEST_MATHVEC): Likewise.
24318 (TEST_INLINE): Likewise.
24319 (__NO_MATH_INLINES): Likewise.
24320 * math/test-ldouble.c: Include test-ldouble.h,
24321 test-math-no-inline.h and test-math-scalar.h.
24322 (FUNC): Remove macro.
24323 (FUNC_TEST): Likewise.
24324 (FLOAT): Likewise.
24325 (MATHCONST): Likewise.
24326 (PRINTF_EXPR): Likewise.
24327 (PRINTF_XEXPR): Likewise.
24328 (PRINTF_NEXPR): Likewise.
24329 (TEST_LDOUBLE): Likewise.
24330 (TEST_MATHVEC): Likewise.
24331 (__NO_MATH_INLINES): Likewise.
24332 * math/test-double-vlen2.h: Include test-double.h,
24333 test-math-no-inline.h and test-math-vector.h.
24334 (FLOAT): Remove macro.
24335 (FUNC): Likewise.
24336 (MATHCONST): Likewise.
24337 (PRINTF_EXPR): Likewise.
24338 (PRINTF_XEXPR): Likewise.
24339 (PRINTF_NEXPR): Likewise.
24340 (TEST_DOUBLE): Likewise.
24341 (TEST_MATHVEC): Likewise.
24342 (__NO_MATH_INLINES): Likewise.
24343 (CNCT): Likewise.
24344 (CONCAT): Likewise.
24345 (WRAPPER_NAME): Likewise.
24346 (WRAPPER_DECL): Likewise.
24347 (WRAPPER_DECL_ff): Likewise.
24348 (WRAPPER_DECL_fFF): Likewise.
24349 (VECTOR_WRAPPER): Likewise.
24350 (VECTOR_WRAPPER_ff): Likewise.
24351 (VECTOR_WRAPPER_fFF): Likewise.
24352 (VEC_LEN): New macro.
24353 * math/test-double-vlen4.h: Include test-double.h,
24354 test-math-no-inline.h and test-math-vector.h.
24355 (FLOAT): Remove macro.
24356 (FUNC): Likewise.
24357 (MATHCONST): Likewise.
24358 (PRINTF_EXPR): Likewise.
24359 (PRINTF_XEXPR): Likewise.
24360 (PRINTF_NEXPR): Likewise.
24361 (TEST_DOUBLE): Likewise.
24362 (TEST_MATHVEC): Likewise.
24363 (__NO_MATH_INLINES): Likewise.
24364 (CNCT): Likewise.
24365 (CONCAT): Likewise.
24366 (WRAPPER_NAME): Likewise.
24367 (WRAPPER_DECL): Likewise.
24368 (WRAPPER_DECL_ff): Likewise.
24369 (WRAPPER_DECL_fFF): Likewise.
24370 (VECTOR_WRAPPER): Likewise.
24371 (VECTOR_WRAPPER_ff): Likewise.
24372 (VECTOR_WRAPPER_fFF): Likewise.
24373 (VEC_LEN): New macro.
24374 * math/test-double-vlen8.h: Include test-double.h,
24375 test-math-no-inline.h and test-math-vector.h.
24376 (FLOAT): Remove macro.
24377 (FUNC): Likewise.
24378 (MATHCONST): Likewise.
24379 (PRINTF_EXPR): Likewise.
24380 (PRINTF_XEXPR): Likewise.
24381 (PRINTF_NEXPR): Likewise.
24382 (TEST_DOUBLE): Likewise.
24383 (TEST_MATHVEC): Likewise.
24384 (__NO_MATH_INLINES): Likewise.
24385 (CNCT): Likewise.
24386 (CONCAT): Likewise.
24387 (WRAPPER_NAME): Likewise.
24388 (WRAPPER_DECL): Likewise.
24389 (WRAPPER_DECL_ff): Likewise.
24390 (WRAPPER_DECL_fFF): Likewise.
24391 (VECTOR_WRAPPER): Likewise.
24392 (VECTOR_WRAPPER_ff): Likewise.
24393 (VECTOR_WRAPPER_fFF): Likewise.
24394 (VEC_LEN): New macro.
24395 * math/test-float-vlen4.h: Include test-float.h,
24396 test-math-no-inline.h and test-math-vector.h.
24397 (FLOAT): Remove macro.
24398 (FUNC): Likewise.
24399 (MATHCONST): Likewise.
24400 (PRINTF_EXPR): Likewise.
24401 (PRINTF_XEXPR): Likewise.
24402 (PRINTF_NEXPR): Likewise.
24403 (TEST_FLOAT): Likewise.
24404 (TEST_MATHVEC): Likewise.
24405 (__NO_MATH_INLINES): Likewise.
24406 (CNCT): Likewise.
24407 (CONCAT): Likewise.
24408 (WRAPPER_NAME): Likewise.
24409 (WRAPPER_DECL): Likewise.
24410 (WRAPPER_DECL_ff): Likewise.
24411 (WRAPPER_DECL_fFF): Likewise.
24412 (VECTOR_WRAPPER): Likewise.
24413 (VECTOR_WRAPPER_ff): Likewise.
24414 (VECTOR_WRAPPER_fFF): Likewise.
24415 (VEC_LEN): New macro.
24416 * math/test-float-vlen8.h: Include test-float.h,
24417 test-math-no-inline.h and test-math-vector.h.
24418 (FLOAT): Remove macro.
24419 (FUNC): Likewise.
24420 (MATHCONST): Likewise.
24421 (PRINTF_EXPR): Likewise.
24422 (PRINTF_XEXPR): Likewise.
24423 (PRINTF_NEXPR): Likewise.
24424 (TEST_FLOAT): Likewise.
24425 (TEST_MATHVEC): Likewise.
24426 (__NO_MATH_INLINES): Likewise.
24427 (CNCT): Likewise.
24428 (CONCAT): Likewise.
24429 (WRAPPER_NAME): Likewise.
24430 (WRAPPER_DECL): Likewise.
24431 (WRAPPER_DECL_ff): Likewise.
24432 (WRAPPER_DECL_fFF): Likewise.
24433 (VECTOR_WRAPPER): Likewise.
24434 (VECTOR_WRAPPER_ff): Likewise.
24435 (VECTOR_WRAPPER_fFF): Likewise.
24436 (VEC_LEN): New macro.
24437 * math/test-float-vlen16.h: Include test-float.h,
24438 test-math-no-inline.h and test-math-vector.h.
24439 (FLOAT): Remove macro.
24440 (FUNC): Likewise.
24441 (MATHCONST): Likewise.
24442 (PRINTF_EXPR): Likewise.
24443 (PRINTF_XEXPR): Likewise.
24444 (PRINTF_NEXPR): Likewise.
24445 (TEST_FLOAT): Likewise.
24446 (TEST_MATHVEC): Likewise.
24447 (__NO_MATH_INLINES): Likewise.
24448 (CNCT): Likewise.
24449 (CONCAT): Likewise.
24450 (WRAPPER_NAME): Likewise.
24451 (WRAPPER_DECL): Likewise.
24452 (WRAPPER_DECL_ff): Likewise.
24453 (WRAPPER_DECL_fFF): Likewise.
24454 (VECTOR_WRAPPER): Likewise.
24455 (VECTOR_WRAPPER_ff): Likewise.
24456 (VECTOR_WRAPPER_fFF): Likewise.
24457 (VEC_LEN): New macro.
24458 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24459 test-vec-loop.h.
24460 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24461 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24462 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24463 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24464 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24465 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24466 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24467
24468 2015-06-24 Roland McGrath <roland@hack.frob.com>
24469
24470 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24471 (__getlogin_r): ... this.
24472
24473 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24474
24475 [BZ #18594]
24476 * math/s_ccosh.c (__ccosh): Compare with least normal value
24477 instead of comparing class with FP_SUBNORMAL.
24478 * math/s_ccoshf.c (__ccoshf): Likewise.
24479 * math/s_ccoshl.c (__ccoshl): Likewise.
24480 * math/s_cexp.c (__cexp): Likewise.
24481 * math/s_cexpf.c (__cexpf): Likewise.
24482 * math/s_cexpl.c (__cexpl): Likewise.
24483 * math/s_csin.c (__csin): Likewise.
24484 * math/s_csinf.c (__csinf): Likewise.
24485 * math/s_csinh.c (__csinh): Likewise.
24486 * math/s_csinhf.c (__csinhf): Likewise.
24487 * math/s_csinhl.c (__csinhl): Likewise.
24488 * math/s_csinl.c (__csinl): Likewise.
24489 * math/s_ctan.c (__ctan): Likewise.
24490 * math/s_ctanf.c (__ctanf): Likewise.
24491 * math/s_ctanh.c (__ctanh): Likewise.
24492 * math/s_ctanhf.c (__ctanhf): Likewise.
24493 * math/s_ctanhl.c (__ctanhl): Likewise.
24494 * math/s_ctanl.c (__ctanl): Likewise.
24495 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24496 csin, csinh, ctan and ctanh.
24497 * math/auto-libm-test-out: Regenerated.
24498 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24499 * sysdeps/i386/fpu/libm-test-ulps: Update.
24500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24501
24502 2015-06-24 Roland McGrath <roland@hack.frob.com>
24503
24504 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24505 return value is wrong, print the expected value too.
24506
24507 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24508
24509 [BZ #18585]
24510 * elf/readlib.c (is_gdb_python_file): New.
24511 (process_file): Don't issue errors on filenames with -gdb.py
24512 suffix.
24513
24514 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24515
24516 * math/auto-libm-test-in: Add more tests of csin and csinh.
24517 * math/auto-libm-test-out: Regenerated.
24518 * math/libm-test.inc (csin_test_data): Remove tests moved to
24519 auto-libm-test-in.
24520 (csinh_test_data): Likewise.
24521
24522 [BZ #18593]
24523 * math/s_csin.c (__csin): Negate before rather than after possibly
24524 overflowing multiplication.
24525 * math/s_csinf.c (__csinf): Likewise.
24526 * math/s_csinh.c (__csinh): Likewise.
24527 * math/s_csinhf.c (__csinhf): Likewise.
24528 * math/s_csinhl.c (__csinhl): Likewise.
24529 * math/s_csinl.c (__csinl): Likewise.
24530 * math/auto-libm-test-in: Add some tests of csin and csinh.
24531 * math/auto-libm-test-out: Regenerated.
24532 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24533 (csinh_test_data): Likewise.
24534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24535
24536 [BZ #18586]
24537 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24538 underflow exception for small results.
24539
24540 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24541
24542 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24543 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24544 variable and included header.
24545 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24546 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24547 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24548 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24549 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24550 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24551 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24552 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24553 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24554 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24555 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24556 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24557 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24558 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24559 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24560 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24561
24562 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24563
24564 [BZ #16526]
24565 [BZ #16538]
24566 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24567 (__sin): Force underflow exception for arguments with small
24568 absolute value.
24569 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24570 (__kernel_sinf): Force underflow exception for arguments with
24571 small absolute value.
24572 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24573 (__kernel_sincosl): Force underflow exception for arguments with
24574 small absolute value.
24575 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24576 (__kernel_sinl): Force underflow exception for arguments with
24577 small absolute value.
24578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24579 (__kernel_sincosl): Force underflow exception for arguments with
24580 small absolute value.
24581 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24582 (__kernel_sinl): Force underflow exception for arguments with
24583 small absolute value.
24584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24585 (__kernel_sinl): Force underflow exception for arguments with
24586 small absolute value.
24587 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24588 (__kernel_sinf): Force underflow exception for arguments with
24589 small absolute value.
24590 * math/auto-libm-test-in: Add more tests of sin and sincos.
24591 * math/auto-libm-test-out: Regenerated.
24592
24593 [BZ #18245]
24594 [BZ #18583]
24595 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24596 (__kernel_standard_l): Use feholdexcept and fesetenv around
24597 conversion to double instead of special-casing overflow and
24598 underflow.
24599 * math/libm-test.inc (fmod_test_data): Add more tests.
24600 (remainder_test_data): Likewise.
24601 (sqrt_test_data): Likewise.
24602
24603 2015-06-23 Torvald Riegel <triegel@redhat.com>
24604
24605 [BZ #17403]
24606 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24607 atomic_read_barrier, atomic_write_barrier): Define.
24608 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24609 atomic_read_barrier, atomic_write_barrier): Define.
24610
24611 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24612
24613 * math/Makefile [$(PERL) != no]
24614 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24615 dependency on libm-test.stmp below the inclusion of Rules.
24616
24617 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24618
24619 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24620 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24621 and included header.
24622 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24623 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24624 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24625 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24626 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24627 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24628 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24629 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24630 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24631 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24632 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24633 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24634 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24635 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24636 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24637 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24638 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24639 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24640 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24641
24642 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24643
24644 [BZ #18371]
24645 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24646 intermediate but not final result might underflow.
24647 * math/s_csqrtf.c (__csqrtf): Likewise.
24648 * math/s_csqrtl.c (__csqrtl): Likewise.
24649 * math/auto-libm-test-in: Add more tests of csqrt.
24650 * math/auto-libm-test-out: Regenerated.
24651 * sysdeps/i386/fpu/libm-test-ulps: Update.
24652
24653 [BZ #18219]
24654 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24655 threshold on absolute value of exponent for which scaling is used.
24656 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24657 * math/auto-libm-test-in: Add more tests of exp2.
24658 * math/auto-libm-test-out: Regenerated.
24659
24660 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24661
24662 [BZ #17977]
24663 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24664 when initializing interface list, based on the bug analysis
24665 and the patch proposed by Eric Newton.
24666 * resolv/tst-res_hconf_reorder.c: New test.
24667 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24668 tst-res_hconf_reorder.
24669 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24670 and $(shared-thread-library).
24671 (tst-res_hconf_reorder-ENV): New variable.
24672
24673 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24674 in comment.
24675
24676 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24677
24678 [BZ #16353]
24679 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24680 (__expm1): Force underflow exception for arguments with small
24681 absolute value.
24682 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24683 (__expm1f): Force underflow exception for arguments with small
24684 absolute value.
24685 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24686 (__expm1): Force underflow exception for arguments with small
24687 absolute value.
24688 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24689 (__expm1f): Force underflow exception for arguments with small
24690 absolute value.
24691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24692 Check for small arguments before calling __expm1.
24693 * math/auto-libm-test-in: Do not mark underflow exceptions as
24694 possibly missing for bug 16353.
24695 * math/auto-libm-test-out: Regenerated.
24696
24697 2015-06-22 Andreas Schwab <schwab@suse.de>
24698
24699 [BZ #18513]
24700 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24701 PTR queries.
24702
24703 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24704
24705 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24706
24707 * string/strcoll_l.c: Remove unused struct element idxnow.
24708
24709 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24710
24711 [BZ #18569]
24712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24713 underflow and return argument in case of subnormal argument.
24714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24715 Likewise.
24716 * math/auto-libm-test-in: Add more tests of expm1.
24717 * math/auto-libm-test-out: Regenerated.
24718
24719 [BZ #16361]
24720 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24721 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24722 tiny results.
24723 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24724 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24725 tiny results.
24726 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24727 mark underflow exceptions as possibly missing for bug 16361.
24728 * math/auto-libm-test-out: Regenerated.
24729
24730 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24731
24732 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24733 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24734 Remove variable.
24735 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24736 (test-xfail-XOPEN2K8/utmpx.h/conform).
24737
24738 * conform/conformtest.pl ($xerrors): New variable.
24739 (note_error): New function.
24740 (compiletest): New argument $xfail. Use not_error.
24741 (runtest): Likewise.
24742 (top level): Handle xfail- lines. Update calls to compiletest and
24743 runtest. Handle xfail- and optional- in headers listed with
24744 allow-header.
24745 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24746 (O_EXEC): Likewise.
24747 (O_SEARCH): Likewise.
24748 * conform/data/stropts.h-data (ioctl): Likewise.
24749 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24750 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24751 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24752 (msghdr.msg_controllen): Likewise.
24753 (cmsghdr.cmsg_len): Likewise.
24754 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24755 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24756 variable.
24757 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24758 (test-xfail-XPG4/stropts.h/conform): Likewise.
24759 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24760 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24761 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24762 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24763 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24764 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24765 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24766 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24767 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24768 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24769 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24770 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24771 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24772 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24773 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24774 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24775 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24776 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24777 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24778
24779 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24780
24781 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24782 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24783 definitions for proper unfolding of __MATHDECL_VEC.
24784
24785 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24786
24787 * benchtests/bench-strcoll.c:
24788 Include string.h.
24789 (main): Remove unused variable res.
24790
24791 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24792
24793 * timezone/Makefile (%/UTC %/Universal):
24794 Generate test-result files for UTC and Universal.
24795
24796 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24797
24798 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24799
24800 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24801
24802 [BZ #16350]
24803 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24804 for arguments with small absolute value.
24805 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24806 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24807 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24808 (__asinh): Force underflow exception for arguments with small
24809 absolute value.
24810 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24811 (__asinhf): Force underflow exception for arguments with small
24812 absolute value.
24813 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24814 (__asinhl): Force underflow exception for arguments with small
24815 absolute value.
24816 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24817 (__asinhl): Force underflow exception for arguments with small
24818 absolute value.
24819 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24820 (__asinhl): Force underflow exception for arguments with small
24821 absolute value.
24822 * math/auto-libm-test-in: Do not mark underflow exceptions as
24823 possibly missing for bug 16350.
24824 * math/auto-libm-test-out: Regenerated.
24825
24826 * include/bits/ipc.h: Remove file.
24827 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24828 variable.
24829 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24830 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24831 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24832 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24833 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24834 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24835 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24836 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24837 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24838
24839 * math/auto-libm-test-in: Remove spurious underflow allowance for
24840 tests of cexp.
24841 * math/auto-libm-test-out: Regenerated.
24842
24843 [BZ #18558]
24844 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24845 unconditional definition.
24846 (MCAST_BLOCK_SOURCE): Likewise.
24847 (MCAST_UNBLOCK_SOURCE): Likewise.
24848 (MCAST_LEAVE_GROUP): Likewise.
24849 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24850 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24851 (MCAST_MSFILTER): Likewise.
24852 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24853 Remove variable.
24854 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24855 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24856 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24857 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24858 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24859
24860 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24861
24862 * NEWS: Mention addition of x86_64 vector sincosf.
24863 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24864 * math/test-float-vlen4.h: Likewise.
24865 * math/test-float-vlen8.h: Likewise.
24866 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24867 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24868 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24869 * sysdeps/x86_64/fpu/Versions: New versions added.
24870 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24871 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24872 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24873 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24874 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24875 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24877 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24878 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24879 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24880 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24881 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24882 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24883 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24884 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24885 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24886 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24887 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24888 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24889 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24890 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24891 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24892 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24893 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24894
24895 * NEWS: Mention addition of x86_64 vector sincos.
24896 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24897 * math/math.h (__MATHDECL_VEC): New macro.
24898 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24899 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24900 declaration under condition.
24901 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24902 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24903 TEST_VEC_LOOP change.
24904 * math/test-double-vlen4.h: Likewise.
24905 * math/test-double-vlen8.h: Likewise.
24906 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24907 * math/test-float-vlen4.h: Likewise.
24908 * math/test-float-vlen8.h: Likewise.
24909 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24910 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
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/multiarch/svml_d_sincos2_core.S: New file.
24917 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24918 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24920 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24922 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24923 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24924 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24925 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24926 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24927 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24928 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24929 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24930 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24931 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24932 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24933 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24934 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24935 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24936 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24937
24938 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24939 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24940 redirections for powf.
24941 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24942 * sysdeps/x86_64/fpu/Versions: New versions added.
24943 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24944 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24945 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24946 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24947 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24948 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24949 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24950 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24951 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24952 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24953 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24954 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24955 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24956 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24957 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24958 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24959 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24960 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24961 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24962 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24963 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24964 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24965 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24966 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24967 * math/test-float-vlen16.h: Fixed 2 argument macro.
24968 * math/test-float-vlen4.h: Likewise.
24969 * math/test-float-vlen8.h: Likewise.
24970 * NEWS: Mention addition of x86_64 vector powf.
24971
24972 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24973
24974 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24975 and redefine.
24976 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24977 and redefine.
24978 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24979 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24980 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24981
24982 [BZ #18553]
24983 * resource/getpriority.c (getpriority): Rename to __getpriority
24984 and define as weak alias of __getpriority.
24985 * resource/setpriority.c (setpriority): Rename to __setpriority
24986 and define as weak alias of __setpriority.
24987 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24988 __getpriority and define as weak alias of __getpriority.
24989 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24990 __setpriority and define as weak alias of __setpriority.
24991 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24992 strong name.
24993 (setpriority): Use __setpriority as strong name.
24994 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24995 __getpriority and define as weak alias of __getpriority.
24996 * include/sys/resource.h (__getpriority): Declare. Use
24997 libc_hidden_proto.
24998 (__setpriority): Likewise.
24999 (getpriority): Don't use libc_hidden_proto.
25000 (setpriority): Likewise.
25001 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25002 getpriority. Call __setpriority instead of setpriority.
25003 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25004 Remove variable.
25005
25006 [BZ #18547]
25007 * misc/getttyent.c (getttynam): Rename to __getttynam and define
25008 as weak alias of __getttynam. Use prototype function definition.
25009 Call __setttyent, __getttyent and __endttyent instead of
25010 setttyent, getttyent and endttyent.
25011 (getttyent): Rename to __getttyent and define as weak alias of
25012 __getttyent. Call __setttyent instead of setttyent. Call
25013 __fgets_unlocked instead of fgets_unlocked.
25014 (setttyent): Rename to __setttyent and define as weak alias of
25015 __setttyent.
25016 (endttyent): Rename to __endttyent and define as weak alias of
25017 __endttyent.
25018 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
25019 (__setttyent): Likewise.
25020 (__endttyent): Likewise.
25021 (getttyent): Don't use libc_hidden_proto.
25022 (setttyent): Likewise.
25023 (endttyent): Likewise.
25024 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25025 __endttyent instead of setttyent, getttyent and endttyent.
25026 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25027 Remove variable.
25028
25029 [BZ #18546]
25030 * socket/recv.c (__recv): Use libc_hidden_def.
25031 * socket/socket.c (__socket): Likewise.
25032 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25033 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25034 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25035 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25036 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25037 libc_hidden_def.
25038 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25039 libc_hidden_weak.
25040 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25041 Use libc_hidden_proto.
25042 (__recv): Likewise.
25043 * socket/Versions (libc): Export __recv and __socket at version
25044 GLIBC_PRIVATE.
25045 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25046 instead of recv.
25047 (init_mq_netlink): Call __socket instead of socket.
25048 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25049 Remove variable.
25050
25051 [BZ #18545]
25052 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25053 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25054 hidden_weak.
25055 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25056 define as alias of __mq_timedsend. Use hidden_weak.
25057 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25058 __mq_timedsend as strong name.
25059 (mq_timedreceive): Use __mq_timedreceive as strong name.
25060 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25061 (__mq_timedreceive): Likewise.
25062 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25063 __mq_timedreceive instead of mq_timedreceive.
25064 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25065 instead of mq_timedsend.
25066 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25067 Remove variable.
25068
25069 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25070 hidden_def and hidden_weak instead of libc_hidden_def and
25071 libc_hidden_weak.
25072 (top level): Refer to hidden_def in comment.
25073 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25074 macro. Use it instead of libc_hidden_def.
25075 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25076 specify __GI_* name explicitly.
25077 (mq_timedreceive): Likewise.
25078 (mq_setattr): Likewise.
25079
25080 [BZ #18544]
25081 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25082 __pthread_barrier_init and define as weak alias of
25083 __pthread_barrier_init.
25084 * sysdeps/sparc/nptl/pthread_barrier_init.c
25085 (pthread_barrier_init): Likewise.
25086 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25087 __pthread_barrier_wait and define as weak alias of
25088 __pthread_barrier_wait.
25089 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25090 (pthread_barrier_wait): Likewise.
25091 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25092 (pthread_barrier_wait): Likewise.
25093 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25094 (pthread_barrier_wait): Likewise.
25095 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25096 (pthread_barrier_wait): Likewise.
25097 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25098 __pthread_barrier_wait at version GLIBC_PRIVATE.
25099 * include/pthread.h (__pthread_barrier_init): Declare.
25100 (__pthread_barrier_wait): Likewise.
25101 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25102 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25103 (helper_thread): Likewise.
25104 (init_mq_netlink): Call __pthread_barrier_init instead of
25105 pthread_barrier_init.
25106
25107 [BZ #18542]
25108 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25109 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25110 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25111 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25112 vswscanf.
25113 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25114 Remove variable.
25115
25116 [BZ #18540]
25117 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25118 strong alias of _IO_fflush. Use libc_hidden_def.
25119 * libio/iofflush_u.c (fflush_unlocked): Rename to
25120 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25121 Use libc_hidden_weak.
25122 * include/stdio.h (__fflush_unlocked): Declare. Use
25123 libc_hidden_proto.
25124 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25125 fflush_unlocked.
25126 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25127 Remove variable.
25128
25129 [BZ #18539]
25130 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25131 define as weak alias of __addseverity.
25132 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25133 Remove variable.
25134 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25135 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25136 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25137
25138 [BZ #18536]
25139 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25140 (__tfind): Likewise.
25141 (__tdelete): Likewise.
25142 (__twalk): Likewise.
25143 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25144 __twalk to GLIBC_PRIVATE.
25145 * include/search.h (__tsearch): Use libc_hidden_proto.
25146 (__tfind): Likewise.
25147 (__tdelete): Likewise.
25148 (__twalk): Likewise.
25149 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25150 Call __tdelete instead of tdelete.
25151 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25152 tfind. Call __tsearch instead of tsearch.
25153 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25154 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25155 Remove variable.
25156 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25157
25158 [BZ #18534]
25159 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25160 (dprintf): Define as a weak alias of __dprintf, not a strong
25161 alias.
25162 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25163 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25164 dprintf.
25165 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25166 Remove variable.
25167 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25168 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25169
25170 [BZ #18533]
25171 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25172 not a strong alias.
25173 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25174 Remove variable.
25175
25176 [BZ #18532]
25177 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25178 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25179 (in6addr_loopback): Rename to __in6addr_loopback and define as
25180 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25181 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25182 libc_hidden_proto.
25183 (__in6addr_any): Likewise.
25184 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25185 in6addr_any.
25186 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25187 variable.
25188 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25189
25190 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25191
25192 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25193 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25194 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25195 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25196 redirections for pow.
25197 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25198 * sysdeps/x86_64/fpu/Versions: New versions added.
25199 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25200 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25201 build of SSE, AVX2 and AVX512 IFUNC versions.
25202 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25203 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25204 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25205 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25206 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25207 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25208 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25209 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25210 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25211 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25212 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25213 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25214 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25215 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25216 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25217 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25218 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25219 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25220 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25221 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25222 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25223 * NEWS: Mention addition of x86_64 vector pow.
25224
25225 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25226 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25227 redirections for expf.
25228 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25229 * sysdeps/x86_64/fpu/Versions: New versions added.
25230 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25231 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25232 build of SSE, AVX2 and AVX512 IFUNC versions.
25233 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25234 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25235 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25236 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25237 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25238 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25239 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25240 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25241 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25242 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25243 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25244 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25245 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25246 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25247 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25248 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25249 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25250 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25251 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25252 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25253 * NEWS: Mention addition of x86_64 vector expf.
25254
25255 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25256 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25257 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25258 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25259 redirections for exp.
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_d_exp2_core.S: New file.
25266 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25268 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25270 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25271 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25272 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25273 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25274 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25275 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25276 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25277 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25278 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25279 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25280 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25281 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25282 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25283 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25284 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25285 * NEWS: Mention addition of x86_64 vector exp.
25286
25287 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25288 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25289 redirections for logf.
25290 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25291 * sysdeps/x86_64/fpu/Versions: New versions added.
25292 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25293 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25294 build of SSE, AVX2 and AVX512 IFUNC versions.
25295 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25296 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25297 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25298 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25299 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25300 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25301 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25302 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25303 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25304 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25305 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25306 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25307 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25308 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25309 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25310 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25311 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25312 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25313 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25314 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25315 * NEWS: Mention addition of x86_64 vector logf.
25316
25317 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25318 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25319 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25320 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25321 redirections for log.
25322 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25323 * sysdeps/x86_64/fpu/Versions: New versions added.
25324 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25325 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25326 build of SSE, AVX2 and AVX512 IFUNC versions.
25327 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25328 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25329 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25330 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25331 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25332 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25333 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25334 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25335 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25336 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25337 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25338 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25339 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25340 test.
25341 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25342 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25343 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25344 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25345 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25346 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25347 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25348 * NEWS: Mention addition of x86_64 vector log.
25349
25350 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25351
25352 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25353 cfi_adjust_cfa_offset argument.
25354 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25355 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25356
25357 [BZ #18034]
25358 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25359 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25360 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25361 ordering using ldar.
25362 (_dl_tlsdesc_dynamic): Likewise.
25363 (_dl_tlsdesc_return_lazy): Likewise.
25364 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25365 relaxed atomics instead of volatile and synchronize with release store.
25366 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25367 volatile.
25368 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25369
25370 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25371
25372 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25373 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25374 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25375 * sysdeps/x86_64/fpu/Versions: New versions added.
25376 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25377 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25378 build of SSE, AVX2 and AVX512 IFUNC versions.
25379 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25380 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25381 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25382 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25383 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25384 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25385 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25386 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25387 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25388 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25389 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25390 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25391 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25392 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25393 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25394 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25395 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25396 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25397 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25398 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25399 * NEWS: Mention addition of x86_64 vector sinf.
25400
25401 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25402
25403 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25404 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25405 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25406 Remove variable.
25407 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25408 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25409
25410 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25411
25412 [BZ #18530]
25413 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25414 strong alias of _IO_fputs. Use libc_hidden_def.
25415 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25416 and define as weak alias of __fputs_unlocked. Use
25417 libc_hidden_weak.
25418 * include/stdio.h (__fputs_unlocked): Declare. Use
25419 libc_hidden_proto.
25420 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25421 fputs_unlocked.
25422
25423 [BZ #18529]
25424 * resolv/netdb.h [__USE_POSIX]: Change condition to
25425 [__USE_XOPEN2K].
25426 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25427 not expect.
25428 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25429 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25430 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25431 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25432 [XPG4 || UNIX98] (AI_ALL): Likewise.
25433 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25434 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25435 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25436 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25437 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25438 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25439 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25440 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25441 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25442 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25443 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25444 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25445 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25446 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25447 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25448 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25449 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25450 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25451 [XPG4 || UNIX98] (gai_strerror): Likewise.
25452 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25453 [XPG4 || UNIX98] (getnameinfo): Likewise.
25454
25455 [BZ #18528]
25456 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25457 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25458 __USE_XOPEN2K8].
25459 (getgrent): Likewise.
25460 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25461 expect.
25462 [XPG3 || POSIX2008] (endgrent): Likewise.
25463 [XPG3] (setgrent): Likewise.
25464 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25465 variable.
25466 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25467
25468 [BZ #18527]
25469 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25470 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25471 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25472 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25473 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25474 * include/unistd.h (__getlogin_r): Declare. Use
25475 libc_hidden_proto.
25476 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25477 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25478 variable.
25479 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25480 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25481 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25482
25483 2015-06-12 Martin Sebor <msebor@redhat.com>
25484
25485 [BZ #18512]
25486 * Makerules (check-install-supported): New target.
25487 (install): Add check-install-supported as a dependency.
25488 * manual/install.texi (Installing the C Library): Document
25489 that overriding prefix and exec_prefix is not supported.
25490 Mention DESTDIR.
25491 * INSTALL: Regenerate from the above.
25492
25493 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25494
25495 [BZ #18519]
25496 * posix/Versions (libc): Export __libc_pread at version
25497 GLIBC_PRIVATE.
25498 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25499 instead of pread.
25500 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25501 variable.
25502
25503 [BZ #18522]
25504 * misc/efgcvt_r.c
25505 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25506 (cvt_symbol): Use weak_alias instead of strong_alias.
25507 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25508 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25509 Remove variable.
25510 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25511 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25512
25513 [BZ #18520]
25514 * inet/herrno.c (h_errno): Rename to __h_errno.
25515 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25516 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25517 to __h_errno instead of h_errno.
25518 * nptl/herrno.c (h_errno): Rename to __h_errno.
25519 (__h_errno_location): Refer to __h_errno not h_errno.
25520 * resolv/Versions (h_errno): Rename to __h_errno.
25521 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25522 Remove variable.
25523 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25524
25525 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25526
25527 * configure.ac: More strict check for AVX512 assembler support.
25528 * configure: Regenerated.
25529
25530 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25531 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25532 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25533 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25534 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25535 * sysdeps/x86_64/fpu/Versions: New versions added.
25536 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25537 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25538 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25539 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25541 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25542 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25543 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25544 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25545 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25546 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25547 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25548 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25549 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25550 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25551 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25552 test.
25553 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25554 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25555 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25556 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25557 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25558 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25559 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25560 * NEWS: Mention addition of x86_64 vector sin.
25561
25562 2015-06-11 Florian Weimer <fweimer@redhat.com>
25563
25564 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25565 comment.
25566
25567 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25568
25569 [BZ #18479]
25570 * nptl/pt-interp.c: New file.
25571 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25572 Add pt-interp.
25573 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25574 $(common-objpfx)runtime-linker.h.
25575
25576 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
25577
25578 * Makeconfig (+interp): Remove unused variable.
25579 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25580 only. Depend on $(common-objpfx)runtime-linker.h instead of
25581 $(elf-objpfx)runtime-linker.h.
25582 ($(elf-objpfx)runtime-linker.h): Rename to
25583 $(common-objpfx)runtime-linker.h and move ...
25584 * Makerules [$(build-shared) = yes]: ... here.
25585 * elf/interp.c: Include <runtime-linker.h> instead of
25586 <elf/runtime-linker.h>.
25587
25588 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25589
25590 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25591 (__gettimeofday_syscall): Remove vsyscall fallback.
25592 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25593 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25594 Add syscall fallback function.
25595 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25596 if vDSO is not present.
25597 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25598 fallback function.
25599 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25600 present.
25601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25602 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25603
25604 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25605
25606 [BZ #18497]
25607 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25608 of wcscmp.
25609 (wcscmp): Define as weak alias of WCSCMP.
25610 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25611 wcscoll.
25612 (USE_HIDDEN_DEF): Define.
25613 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25614 __wcscoll. Don't use libc_hidden_weak.
25615 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25616 wcscmp.
25617 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25618 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25619 __GI_wcscmp.
25620 (weak_alias): Undefine and redefine.
25621 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25622 __wcscmp and define as weak alias of __wcscmp.
25623 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25624 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25625 (__wcscoll): Likewise.
25626 (wcscmp): Don't use libc_hidden_proto.
25627 (wcscoll): Likewise.
25628 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25629 wcscoll.
25630 * posix/regexec.c (check_node_accept_bytes): Likewise.
25631 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25632 variable.
25633 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25634 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25635
25636 [BZ #18507]
25637 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25638 __fstatvfs and define as weak alias of __fstatvfs. Use
25639 libc_hidden_weak.
25640 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25641 and define as weak alias of __statvfs. Use libc_hidden_weak.
25642 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25643 Define as alias of __fstatvfs, not fstatvfs.
25644 (fstatvfs64): Likewise.
25645 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25646 Define as alias of __statvfs, not statvfs.
25647 (statvfs64): Likewise.
25648 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25649 Remove variable.
25650
25651 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25652
25653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25654 (HAVE_GETCPU_VSYSCALL): Define.
25655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25656 (HAVE_GETCPU_VSYSCALL): Likewise.
25657 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25658 * sysdeps/unix/sysv/linux/sched_getcpu.c
25659 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25660 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25661 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25662 prototype.
25663 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25664 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25665 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25667 Define.
25668 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25669 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25672
25673 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25674
25675 * sysdeps/x86_64/fpu/Makefile: New file.
25676 * sysdeps/x86_64/fpu/Versions: New file.
25677 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25678 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25679 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25680 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25681 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25682 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25683 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25684 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25685 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25686 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25687 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25688 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25689 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25690 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25691 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25692 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25693 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25694 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25695 * sysdeps/x86_64/configure: Regenerated.
25696 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25697 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25698 * manual/install.texi (Configuring and compiling): Document
25699 --disable-mathvec.
25700 * INSTALL: Regenerated.
25701 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25702
25703 * math/Makefile: Added rules for vector tests.
25704 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25705 declaration under condition.
25706 * math/test-double-vlen2.h: New file.
25707 * math/test-double-vlen4.h: New file.
25708 * math/test-double-vlen8.h: New file.
25709 * math/test-vec-loop.h: Added initialization macro.
25710 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25712 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25713 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25714 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25715 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25716 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25717 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25718 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25719 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25720 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25721
25722 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25723 * sysdeps/x86_64/fpu/Versions: New versions added.
25724 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25725 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25726 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25727 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25728 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25729 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25730 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25731 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25732 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25733 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25734 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25735 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25736 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25737 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25738 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25739 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25740 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25741 * NEWS: Mention addition of x86_64 vector cosf.
25742
25743 * math/Makefile: Added CFLAGS for new tests.
25744 * math/test-float-vlen16.h: New file.
25745 * math/test-float-vlen4.h: New file.
25746 * math/test-float-vlen8.h: New file.
25747 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25748 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25749 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25750 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25751 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25752 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25753 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25754 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25755 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25756 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25757 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25758
25759 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25760
25761 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25762 * locale/programs/ld-ctype.c: Likewise.
25763
25764 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25765
25766 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25767 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25768 bit_ZMM16_31_state): New macro.
25769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25770 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25771
25772 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25773
25774 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25775
25776 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25777
25778 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25779
25780 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25781
25782 [BZ #18498]
25783 * libio/memstream.c (open_memstream): Rename to __open_memstream
25784 and define as weak alias of __open_memstream.
25785 * include/stdio.h (__open_memstream): Declare. Use
25786 libc_hidden_proto.
25787 (open_memstream): Don't use libc_hidden_proto.
25788 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25789 open_memstream.
25790 * posix/getopt.c (_getopt_internal_r): Likewise.
25791 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25792 variable.
25793 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25794 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25795 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25796
25797 [BZ #18496]
25798 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25799 instead of wcrtomb.
25800
25801 [BZ #18483]
25802 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25803 [__USE_XOPEN2K8]. Remove redundant #endif.
25804 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25805 Remove redundant #if.
25806 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25807 Remove variable.
25808 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25809 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25810
25811 [BZ #18495]
25812 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25813 (__iswlower): Likewise.
25814 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25815 (__iswlower): Likewise.
25816 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25817 instead of towlower.
25818 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25819 instead of iswlower. Call __towupper instead of towupper.
25820 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25821 instead of iswalnum.
25822
25823 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25824
25825 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25826 errors to stderr.
25827
25828 2015-06-05 Florian Weimer <fweimer@redhat.com>
25829
25830 [BZ #15661]
25831 [BZ #17322]
25832 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25833 Check for overflow properly. Check for O_APPEND. Ignore large
25834 file system block sizes. Add comments about problems.
25835 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25836 * manual/filesys.texi (Storage Allocation): New node.
25837
25838 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25839
25840 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25841 cancellable syscalls.
25842 (SYS_ify): Add guard to no redefine it.
25843 (INLINE_SYSCALL): Likewise.
25844 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25845 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25846 SYSCALL_CANCEL instead.
25847 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25848 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25849 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25850 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25851 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25852 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25853 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25854 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25855 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25856 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25857 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25858 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25859 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25860 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25861 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25863 Likewise.
25864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25865 (__libc_pread64): Likewise.
25866 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25867 (__libc_preadv): Likewise.
25868 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25869 (__libc_readv64): Likewise.
25870 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25871 (__libc_pwrite): Likewise.
25872 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25873 (__libc_pwrite64): Likewise.
25874 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25875 (__libc_pwritev): Likewise.
25876 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25877 (__libc_pwritev64): Likewise.
25878 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25879 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25880 (sync_file_range): Likewise.
25881 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25882 Likewise.
25883 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25884 Likewise.
25885 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25886 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25887 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25888 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25889 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25890 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25891 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25892 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25894 Likewise.
25895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25896 (__libc_read64): Likewise.
25897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25898 Likewise.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25900 Likewise.
25901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25902 Likewise.
25903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25904 Likewise.
25905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25906 (__libc_pread64): Likewise.
25907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25908 Likewise.
25909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25910 (__libc_pwrite64): Likewise.
25911 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25912 (sync_file_range): Likewise.
25913 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25914 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25915 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25916 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25917 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25918 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25919 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25920 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25921 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25922 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25923 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25924 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25925 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25926 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25927 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25928 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25929 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25930 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25931 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25932 Likewise.
25933 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25934 Likewise.
25935 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25936 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25937 Likewise.
25938 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25939 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25940 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25941 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25942 Likewise.
25943 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25944 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25945 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25946 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25947 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25948
25949 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25950
25951 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25952 Include dl-vdso.
25953 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25954 Use VDSO routines for gettimeofday, clock_gettime if
25955 available.
25956 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25957 Declare VDSO symbols.
25958 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25959 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25960 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25961 * sysdeps/unix/sysv/linux/arm/Versions: Add
25962 __vdso_clock_gettime.
25963
25964 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25965
25966 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25967 be an inline implementation regardless of library is built within.
25968 (open_not_cancel_2): Likewise.
25969 (__read_nocancel): Likewise.
25970 (__write_nocancel): Likewise.
25971 (openat_not_cancel): Likewise.
25972 (openat_not_cancel_3): Likewise.
25973 (openat64_not_cancel): Likewise.
25974 (openat64_not_cancel_3): Likewise.
25975 (__close_nocancel): Likewise.
25976 (pause_not_cancel): Likewise.
25977 (nanosleep_not_cancel): Likewise.
25978 (sigsuspend_not_cancel): Likewise.
25979
25980 2015-06-04 Torvald Riegel <triegel@redhat.com>
25981
25982 [BZ #14958]
25983 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25984 wake-up.
25985 (__pthread_rwlock_rdlock_slow): Likewise.
25986 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25987 Likewise.
25988 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25989 Likewise.
25990 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25991 * nptl/tst-rwlock16.c: New file.
25992 * nptl/Makefile (tests): Add new test.
25993
25994 2015-06-04 Torvald Riegel <triegel@redhat.com>
25995
25996 [BZ #18324]
25997 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25998 missing wake-up of readers.
25999 * nptl/tst-rwlock15.c: New file.
26000 * nptl/Makefile (tests): Add new test.
26001
26002 2015-06-03 Roland McGrath <roland@hack.frob.com>
26003
26004 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26005 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26006 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26007 and __nacl_supply_interface_rtld.
26008 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26009 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26010 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26011 Add __nacl_supply_interface_rtld.
26012 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26013
26014 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26015
26016 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26017 isfinite.
26018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26019 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26020
26021 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26022
26023 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26024 __signbit* with standard C99 macros.
26025 * math/e_exp10l.c: Likewise.
26026 * math/e_exp2l.c: Likewise.
26027 * math/e_scalb.c: Likewise.
26028 * math/e_scalbf.c: Likewise.
26029 * math/e_scalbl.c: Likewise.
26030 * math/s_ldexp.c: Likewise.
26031 * math/s_ldexpf.c: Likewise.
26032 * math/s_ldexpl.c: Likewise.
26033 * math/w_atan2.c: Likewise.
26034 * math/w_atan2f.c: Likewise.
26035 * math/w_atan2l.c: Likewise.
26036 * math/w_cosh.c: Likewise.
26037 * math/w_coshf.c: Likewise.
26038 * math/w_coshl.c: Likewise.
26039 * math/w_exp10.c: Likewise.
26040 * math/w_exp10f.c: Likewise.
26041 * math/w_exp10l.c: Likewise.
26042 * math/w_exp2.c: Likewise.
26043 * math/w_exp2f.c: Likewise.
26044 * math/w_exp2l.c: Likewise.
26045 * math/w_fmod.c: Likewise.
26046 * math/w_fmodf.c: Likewise.
26047 * math/w_fmodl.c: Likewise.
26048 * math/w_hypot.c: Likewise.
26049 * math/w_hypotf.c: Likewise.
26050 * math/w_hypotl.c: Likewise.
26051 * math/w_jnl.c: Likewise.
26052 * math/w_lgamma.c: Likewise.
26053 * math/w_lgamma_r.c: Likewise.
26054 * math/w_lgammaf.c: Likewise.
26055 * math/w_lgammaf_r.c: Likewise.
26056 * math/w_lgammal.c: Likewise.
26057 * math/w_lgammal_r.c: Likewise.
26058 * math/w_pow.c: Likewise.
26059 * math/w_powf.c: Likewise.
26060 * math/w_powl.c: Likewise.
26061 * math/w_remainder.c: Likewise.
26062 * math/w_remainderf.c: Likewise.
26063 * math/w_remainderl.c: Likewise.
26064 * math/w_scalb.c: Likewise.
26065 * math/w_scalbf.c: Likewise.
26066 * math/w_scalbl.c: Likewise.
26067 * math/w_scalbln.c: Likewise.
26068 * math/w_scalblnf.c: Likewise.
26069 * math/w_scalblnl.c: Likewise.
26070 * math/w_sinh.c: Likewise.
26071 * math/w_sinhf.c: Likewise.
26072 * math/w_sinhl.c: Likewise.
26073 * math/w_tgamma.c: Likewise.
26074 * math/w_tgammaf.c: Likewise.
26075 * math/w_tgammal.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26083 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26084 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26085 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26087 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26088 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26091 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26107 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26108 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26109 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26110 * stdio-common/printf_fp.c: Likewise.
26111 * stdio-common/printf_fphex.c: Likewise.
26112 * stdio-common/printf_size.c: Likewise.
26113
26114 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26115
26116 [BZ #18470]
26117 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26118 strnlen.
26119 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26120 Remove variable.
26121 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26122 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26123 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26124 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26125 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26126 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26127 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26128 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26129 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26130 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26131
26132 [BZ #18468]
26133 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26134 weak alias of __wmemchr. Use libc_hidden_weak.
26135 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26136 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26137 instead of wmemchr.
26138
26139 2015-06-02 Roland McGrath <roland@hack.frob.com>
26140
26141 [BZ #18383]
26142 * elf/tst-tlsalign-extern.c: New file.
26143 * elf/tst-tlsalign-extern-static.c: New file.
26144 * elf/tst-tlsalign-vars.c: New file.
26145 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26146 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26147 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26148 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26149 (test-xfail-tst-tlsalign-extern-static): New variable.
26150
26151 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26152
26153 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26154 Use variable name _sc_err instead of err.
26155 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26156 instead of ret.
26157 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26158 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26159 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26160 (INLINE_SYSCALL): Likewise.
26161
26162 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26163 * include/string.h (__strnlen): Use libc_hidden_proto.
26164 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26165 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26166 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26167 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26168 (libc_hidden_def): Undefine and redefine.
26169 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26170 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26171 __GI_strnlen.
26172 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26173 libc_hidden_def.
26174 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26175
26176 [BZ #18469]
26177 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26178 weak alias of __towlower. Use libc_hidden_weak.
26179 (towupper): Rename to __towupper and define as weak alias of
26180 __towupper. Use libc_hidden_weak.
26181 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26182 (__towupper): Likewise.
26183 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26184 __towlower instead of towlower.
26185
26186 2015-06-02 Roland McGrath <roland@hack.frob.com>
26187
26188 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26189 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26190
26191 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26192
26193 * sysdeps/aarch64/libm-test-ulps: Update.
26194
26195 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26196
26197 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26198 Define.
26199 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26201 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26202 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26203 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26204 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26205 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26206
26207 2015-06-01 Martin Sebor <msebor@redhat.com>
26208
26209 [BZ #18116]
26210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26211 (__setcontext): Use extended four-operand version of mtsf whenever
26212 possible.
26213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26214 (__novec_swapcontext): Likewise.
26215
26216 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26217
26218 * benchtests/scripts/compare_bench.py: New file.
26219 * benchtests/scripts/import_bench.py (mean): New function.
26220 (split_list): Likewise.
26221 (do_for_all_timings): Likewise.
26222 (compress_timings): Likewise.
26223
26224 * benchtests/scripts/import_bench.py: New file.
26225 * benchtests/scripts/validate_benchout.py: Import import_bench
26226 instead of jsonschema.
26227 (validate_bench): Remove function.
26228 (main): Use import_bench.
26229
26230 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26231
26232 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26233 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26234
26235 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26236
26237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26238
26239 2015-05-28 Roland McGrath <roland@hack.frob.com>
26240
26241 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26242 set THREAD_SELF->tid to a magic value and futex-wake it.
26243 Pass its address to the thread_exit system call.
26244 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26245 bit is clear.
26246 * sysdeps/nacl/lowlevellock.h: New file.
26247 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26248
26249 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26250 Add TIMEOUT to current time, don't subtract it.
26251
26252 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26253
26254 [BZ #2981]
26255 [BZ #18422]
26256 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26257 ($(objpfx)tst-audit2.out): Also depend on
26258 $(objpfx)tst-auditmod9b.so.
26259 * elf/tst-audit2.c: Include <dlfcn.h>.
26260 (calloc_called): New.
26261 (calloc): Allow to be called more than once.
26262 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26263
26264 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26265
26266 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26267 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26268
26269 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26270
26271 * stdlib/monetary.h: Fix comment.
26272
26273 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26274
26275 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26276 Avoid using variables in #defines that might cause shadowing.
26277 (INTERNAL_VSYSCALL_CALL): Likewise.
26278
26279 2015-05-26 Roland McGrath <roland@hack.frob.com>
26280
26281 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26282
26283 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26284 * nptl/lll_timedlock_wait.c: ... to this new file.
26285 * nptl/Makefile (libpthread-routines): Add it.
26286 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26287 * nptl/lll_timedwait_tid.c: ... to this new file.
26288 * nptl/Makefile (libpthread-routines): Add it.
26289 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26290 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26291 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26292 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26293 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26294 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26295 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26296 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26297 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26298 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26299
26300 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26301
26302 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26303 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26304 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26306 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26308 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26310 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26311 * sysdeps/unix/sysv/linux/tile/sysdep.h
26312 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26313 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26314 using vDSO syscall macro.
26315
26316 2015-05-26 Andriy Rysin <arysin@gmail.com>
26317
26318 [BZ #17293]
26319 * uk_UA: Fix sorting order for Ukrainian locale
26320
26321 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26322
26323 * stdlib/monetary.h: Fix comment.
26324
26325 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26326
26327 [BZ #18234]
26328 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26329 st_mtim and st_ctim members.
26330 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26331 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26332 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26333 (struct stat64): Likewise.
26334 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26335 (struct stat64): Likewise.
26336 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26337 (struct stat64): Likewise.
26338
26339 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26340
26341 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26342 Define and include sysdep-vdso.h.
26343 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26344 Likewise.
26345 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26346 Likewise.
26347 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26348 Define with VDSO_SYMBOL and use PTR_MANGLE.
26349 (__vdso_clock_gettime): Likewise.
26350 (__vdso_clock_getres): Likewise.
26351 (_libc_vdso_platform_setup): Likewise.
26352 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26353 Likewise.
26354 (_libc_vdso_platform_setup): Likewise.
26355 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26356 Likewise.
26357 (__vdso_clock_gettime): Likewise.
26358 (__vdso_clock_getres): Likewise.
26359 (__vdso_get_tbfreq): Likewise.
26360 (__vdso_getcpu): Likewise.
26361 (__vdso_time): Likewise.
26362 (__vdso_sigtramp_rt64): Likewise.
26363 (__vdso_signtramp32): Likewise.
26364 (__vdso_sigtramp_rt32): Likewise.
26365 (_libc_vdso_platform_setup): Likewise.
26366 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26367 Likewise.
26368 (__vdso_clock_gettime): Likewise.
26369 (__vdso_clock_getres): Likewise.
26370 (_libc_vdso_platform_setup): Likewise.
26371 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26372 Likewise.
26373 (__vdso_clock_gettime): Likewise.
26374 (_libc_vdso_platform_setup): Likewise.
26375 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26376 Likewise.
26377 (__vdso_getcpu): Likewise.
26378 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26379 Use VDSO_SYMBOL macro to define.
26380 (__vdso_clock_gettime): Likewise.
26381 (__vdso_clock_getres): Likewise.
26382 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26383 Likewise.
26384 (__vdso_clock_gettime): Likewise.
26385 (__vdso_clock_getres): Likewise.
26386 (__vdso_get_tbfreq): Likewise.
26387 (__vdso_getcpu): Likewise.
26388 (__vdso_time): Likewise.
26389 (__vdso_sigtramp_rt64): Likewise.
26390 (__vdso_signtramp32): Likewise.
26391 (__vdso_sigtramp_rt32): Likewise.
26392 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26393 Likewise.
26394 (__vdso_clock_gettime): Likewise.
26395 (__vdso_clock_getres): Likewise.
26396 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26397 Likewise.
26398 (__vdso_clock_gettime): Likewise.
26399 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26400 Likewise.
26401 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26402 macro.
26403 (INTERNAL_VSYSCALL): Likewise.
26404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26405 Remove macro.
26406 (INTERNAL_VSYSCALL): Likewise.
26407 (INTERNAL_VSYSCALL_NCS): Likewise.
26408 (INTERNAL_VSYSCALL_CALL): New macro.
26409 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26411 Likewise.
26412 (INTERNAL_VSYSCALL): Likewise.
26413 (INTERNAL_VSYSCALL_NCS): Likewise.
26414 (INTERNAL_VSYSCALL_CALL): New macro.
26415 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26417 (INLINE_VSYSCALL): Remove macro.
26418 (INTERNAL_VSYSCALL): Remove macro.
26419 (INTERNAL_VSYSCALL_NCS): Remove macro.
26420 (INTERNAL_VSYSCALL_CALL): New macro.
26421 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26422 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26423 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26424 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26425 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26427 (INLINE_VSYSCALL): Remove macro.
26428 (INTERNAL_VSYSCALL): Likewise.
26429 (INTERNAL_VSYSCALL_NCS): Likewise.
26430 (INTERNAL_VSYSCALL_CALL): New macro.
26431 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26432 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26433 PTR_DEMANGLE on vDSO pointer.
26434 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26435 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26436 macro.
26437 (INTERNAL_SYSCALL): Likewise.
26438 (INTERNAL_VSYSCALL_NCS): Remove macro.
26439 (INTERNAL_VSYSCALL_CALL): New macro.
26440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26441 Remove macro.
26442 (INTERNAL_VSYSCALL): Likewise.
26443 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26444 sysdep-vdso.h instead of libc-vdso.h.
26445 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26446 definition.
26447 (INLINE_VSYSCALL): Likewise.
26448 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26449 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26450 definition.
26451 (INLINE_VSYSCALL): Likewise.
26452 (INTERNAL_VSYSCALL): Likewise.
26453 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26454 * sysdeps/unix/sysv/linux/timespec_get.c
26455 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26456 (timespec_get): Use ANSI prototype.
26457 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26458 and definition for Linux.
26459
26460 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26461
26462 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26463 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26464
26465 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26466
26467 [BZ #2981]
26468 [BZ #18410]
26469 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26470 for missing DT_PLTRELSZ.
26471
26472 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26473
26474 Remove obsolete aliases that broke 'locale -a'
26475 [BZ #18412]
26476 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26477 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26478 breaking some applications that use 'locale -a' output.
26479 Change the encoding of this file from Latin-1 to ASCII to avoid
26480 other potential problems with people grepping this file.
26481
26482 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26483
26484 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26485 -fasynchronous-unwind-tables.
26486 (CFLAGS-sendto.c): Likewise.
26487 (CFLAGS-sendmsg.c): Likewise.
26488 (CFLAGS-connect.c): Likewise.
26489 (CFLAGS-recvmsg.c): Likewise.
26490 (CFLAGS-recvfrom.c): Likewise.
26491 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26492 (SOCKETCALL): New macro: non-cancellable socketcall.
26493 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26494 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26495 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26496 * sysdeps/unix/sysv/linux/accept.c: New file.
26497 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26498 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26499 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26500 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26501 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26502 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26503 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26504 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26505 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26506 * sysdeps/unix/sysv/linux/send.c: Likewise.
26507 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26508 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26509 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26510 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26511 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26512 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26513 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26514 prototype.
26515 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26516 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26517 instead of __internal_xxx function.
26518 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26519 prototype.
26520 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26521 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26522 instead of __internal_xxx function.
26523 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26524 prototype.
26525 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26526 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26527 instead of __internal_xxx function.
26528 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26529 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26530 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26531 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26532 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26533 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26534 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26535 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26536 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26537 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26538 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26539 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26540 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26541 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26542 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26543 * sysdeps/unix/sysv/linux/listen.S: Likewise.
26544 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26545 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26546 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26547 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26550 * sysdeps/unix/sysv/linux/recv.S: Likewise.
26551 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26552 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26553 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26554 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26555 * sysdeps/unix/sysv/linux/send.S: Likewise.
26556 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26557 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26558 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26559 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26560 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26561 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26562 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26563 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26564 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26565 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26566 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26567 socketcall is implemented in GLIBC.
26568
26569 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26570
26571 * soft-fp/fmadf4.c: Include <libc-internal.h>.
26572 (__fma): Ignore uninitialized warnings around packing.
26573 * soft-fp/fmasf4.c: Include <libc-internal.h>.
26574 (__fmaf): Ignore uninitialized warnings around packing.
26575 * soft-fp/fmatf4.c: Include <libc-internal.h>.
26576 (__fmal): Ignore uninitialized warnings around packing.
26577
26578 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26579 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26580 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26581 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26582
26583 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26584 switch statement into default case.
26585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26586
26587 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26588 a conditional in forcing "inexact".
26589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26590 Likewise.
26591
26592 2015-05-22 Roland McGrath <roland@hack.frob.com>
26593
26594 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26595 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26596 for each INTERNAL_SYSCALL use.
26597
26598 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26599
26600 [BZ #438]
26601 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26602 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26603 variable.
26604
26605 [BZ #18444]
26606 * string/basename.c (basename): Rename to __basename and define as
26607 weak alias of __basename. Use libc_hidden_weak.
26608 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26609 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26610 __basename instead of basename.
26611 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26612 Remove variable.
26613 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26614
26615 2015-05-18 Florian Weimer <fweimer@redhat.com>
26616
26617 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26618 (_IO_JUMPS_FILE_plus): New.
26619 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26620 _IO_CAST_FIELD_ACCESS.
26621 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26622 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26623 * libio/freopen.c (freopen): Likewise.
26624 * libio/freopen64.c (freopen64): Likewise.
26625 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26626 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26627 * libio/iofwide.c (_IO_fwide): Likewise.
26628 * libio/memstream.c (open_memstream): Likewise.
26629 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26630 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26631 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26632
26633 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26634
26635 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26636 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26637 NADJ.
26638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26639 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26640 NADJ.
26641 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26642 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26643 NADJ.
26644
26645 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26646 (p == 4) case.
26647
26648 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26649 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26650 Remove variable.
26651 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26652 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26653 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26654
26655 2015-05-21 Florian Weimer <fweimer@redhat.com>
26656
26657 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26658 Adjust jump table label generation macros.
26659
26660 2015-05-21 Florian Weimer <fweimer@redhat.com>
26661
26662 * stdio-common/vfprintf.c (vfprintf): Move local variables
26663 args_malloced, specs, specs_malloced, and the code after
26664 do_positional to the printf_positional function.
26665 (printf_positional): New function.
26666
26667 2015-05-21 Florian Weimer <fweimer@redhat.com>
26668
26669 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26670 function.
26671 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26672 STEP4_TABLE, process_arg): Move macro definitions
26673 out of the vfprintf function. (Cosmetic change only.)
26674
26675 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26676
26677 * benchtests/Makefile (stdio-common-bench): Define.
26678 (benchset): Add stdio-common-bench.
26679 * sprintf-inputs: New file.
26680 * sprintf-source.c: New file.
26681
26682 2015-05-21 Andreas Schwab <schwab@suse.de>
26683
26684 [BZ #13028]
26685 [BZ #17053]
26686 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26687 of struct __res_state.
26688 * resolv/res_send.c (__libc_res_nsend): Likewise.
26689 (get_nsaddr): New function.
26690 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26691 statp directly.
26692
26693 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26694
26695 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26696 -D_POSIX_C_SOURCE=199506L.
26697
26698 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26699
26700 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26701 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26702 Do not mention otherwise.
26703 [POSIX] (_XOPEN_VERSION): Do not expect.
26704 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26705 [POSIX] (_POSIX2_C_BIND): Likewise.
26706 [POSIX] (_POSIX2_VERSION): Likewise.
26707 [POSIX] (_XOPEN_XPG2): Likewise.
26708 [POSIX] (_XOPEN_XPG3): Likewise.
26709 [POSIX] (_XOPEN_XPG4): Likewise.
26710 [POSIX] (_XOPEN_UNIX): Likewise.
26711 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26712 [POSIX] (_POSIX_BARRIERS): Likewise.
26713 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26714 [POSIX] (_POSIX_CPUTIME): Likewise.
26715 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26716 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26717 [POSIX] (_POSIX_SHELL): Likewise.
26718 [POSIX] (_POSIX_SPAWN): Likewise.
26719 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26720 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26721 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26722 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26723 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26724 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26725 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26726 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26727 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26728 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26729 [POSIX] (_POSIX2_PBS): Likewise.
26730 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26731 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26732 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26733 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26734 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26735 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26736 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26737 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26738 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26739 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26740 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26741 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26742 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26743 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26744 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26745 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26746 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26747 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26748 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26749 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26750 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26751 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26752 [POSIX] (_SC_2_C_BIND): Likewise.
26753 [POSIX] (_SC_2_C_VERSION): Likewise.
26754 [POSIX] (_SC_2_PBS): Likewise.
26755 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26756 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26757 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26758 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26759 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26760 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26761 [POSIX] (_SC_BARRIERS): Likewise.
26762 [POSIX] (_SC_BASE): Likewise.
26763 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26764 [POSIX] (_SC_DEVICE_IO): Likewise.
26765 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26766 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26767 [POSIX] (_SC_FD_MGMT): Likewise.
26768 [POSIX] (_SC_FIFO): Likewise.
26769 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26770 [POSIX] (_SC_FILE_LOCKING): Likewise.
26771 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26772 [POSIX] (_SC_IOV_MAX): Likewise.
26773 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26774 [POSIX] (_SC_NETWORKING): Likewise.
26775 [POSIX] (_SC_PAGE_SIZE): Likewise.
26776 [POSIX] (_SC_PASS_MAX): Likewise.
26777 [POSIX] (_SC_PIPE): Likewise.
26778 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26779 [POSIX] (_SC_REGEXP): Likewise.
26780 [POSIX] (_SC_SHELL): Likewise.
26781 [POSIX] (_SC_SIGNALS): Likewise.
26782 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26783 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26784 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26785 [POSIX] (_SC_USER_GROUPS): Likewise.
26786 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26787 [POSIX] (_SC_STREAMS): Likewise.
26788 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26789 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26790 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26791 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26792 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26793 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26794 [POSIX] (_PC_FILESIZEBITS): Likewise.
26795 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26796 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26797 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26798 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26799 [POSIX] (uid_t): Likewise.
26800 [POSIX] (gid_t): Likewise.
26801 [POSIX] (off_t): Likewise.
26802 [POSIX] (pid_t): Likewise.
26803 [POSIX] (cuserid): Allow.
26804 (_SC_2_CHAR_TERM): Require constant.
26805 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26806 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26807 variable.
26808
26809 2015-05-20 Roland McGrath <roland@hack.frob.com>
26810
26811 * sysdeps/nacl/pthread-pids.h: New file.
26812 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26813 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26814
26815 * nptl/pthread-pids.h: New file.
26816 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26817 * nptl/nptl-init.c: Include <pthread-pids.h>.
26818 (__pthread_initialize_minimal_internal):
26819 Call __pthread_initialize_pids instead of set_tid_address syscall.
26820
26821 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26822 * sysdeps/posix/usleep.c: ... here.
26823
26824 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26825
26826 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26827 call_pselect6 object.
26828 [$(subdir) = io]: Remove call_sync_file_range object.
26829 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26831 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26832 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26833
26834 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26835
26836 * math/s_cproj.c: Add include "math_private.h".
26837 * math/s_cprojf.c: Likewise.
26838 * math/s_cprojl.c: Likewise.
26839
26840 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26841
26842 [BZ #18244]
26843 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26844 high mantissa bit when testing whether P is a NaN.
26845 * math/libm-test.inc (remainder_test_data): Add more tests.
26846 (remquo_test_data): Likewise.
26847
26848 [BZ #18049]
26849 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26850 below -32, return the argument, with underflow if subnormal.
26851 * math/auto-libm-test-in: Add more tests of atanh.
26852 * math/auto-libm-test-out: Regenerated.
26853
26854 2015-05-19 Roland McGrath <roland@hack.frob.com>
26855
26856 [BZ #18434]
26857 * nptl/tst-sem15.c: New file.
26858 * nptl/Makefile (tests): Add it.
26859 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26860 s/<</>>/ to fix typo in EOVERFLOW check.
26861 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26862
26863 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26864
26865 * manual/strings.texi (envz_remove): Fix typo in safety
26866 annotations.
26867
26868 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26869 Steve Ellcey <sellcey@imgtec.com>
26870
26871 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26872 in order to avoid strict alias warnings.
26873 (iruserok_af): Ditto for ra.
26874
26875 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26876
26877 [BZ #17581]
26878 * malloc/hooks.c
26879 (magicbyte): Convert to a function and avoid returning 0x01.
26880 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26881 (mem2chunk_check): Fix unsigned comparisons to zero.
26882 Hoist defs of sz and magic.
26883
26884 2015-05-19 Richard Henderson <rth@redhat.com>
26885
26886 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26887
26888 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26889
26890 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26891
26892 [BZ #16159]
26893 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26894 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26895 (reused_arena): Find a non-corrupt arena.
26896 (heap_trim): Pass arena to unlink.
26897 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26898 malloc_printerr.
26899 (top_check): Likewise.
26900 (free_check): Likewise.
26901 (realloc_check): Likewise.
26902 * malloc/malloc.c (malloc_printerr): Add arena argument.
26903 (unlink): Likewise.
26904 (munmap_chunk): Adjust.
26905 (ARENA_CORRUPTION_BIT): New macro.
26906 (arena_is_corrupt): Likewise.
26907 (set_arena_corrupt): Likewise.
26908 (sysmalloc): Use mmap if there are no usable arenas.
26909 (_int_malloc): Likewise.
26910 (__libc_malloc): Don't fail if arena_get returns NULL.
26911 (_mid_memalign): Likewise.
26912 (__libc_calloc): Likewise.
26913 (__libc_realloc): Adjust for additional argument to
26914 malloc_printerr.
26915 (_int_free): Likewise.
26916 (malloc_consolidate): Likewise.
26917 (_int_realloc): Likewise.
26918 (_int_memalign): Don't touch corrupt arenas.
26919 * malloc/tst-malloc-backtrace.c: New test case.
26920
26921 * Makefile (summarize-tests): Fix return value on success.
26922
26923 * manual/string.texi (Envz Functions): Add envz_remove.
26924
26925 2015-05-18 Roland McGrath <roland@hack.frob.com>
26926
26927 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26928 (invalid_name): New function, broken out of ...
26929 (__opendirat): ... here. Call it.
26930 (need_isdir_precheck): New function, broken out of ...
26931 (__opendirat): ... here. Call it.
26932 Use __fxstatat64, not __xstatat64.
26933 (opendir_oflags): New function, broken out of ...
26934 (__opendirat): ... here. Call it.
26935 (opendir_tail): New function, broken out of ...
26936 (__opendirat): ... here. Call it.
26937 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26938 opendir_tail, rather than punting to __opendirat.
26939 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26940
26941 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26942
26943 * .gitignore: Ignore generated *.pyc.
26944
26945 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26946
26947 * include/stdio.h: Define __need_wint_t.
26948 * test-skeleton.c: Avoid `for' loop initial declaration.
26949 * nptl/tst-initializers1.c: Use test-skeleton.c.
26950
26951 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26952
26953 [BZ #18418]
26954 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26955
26956 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26957
26958 [BZ #16352]
26959 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26960 (__ieee754_atanh): Force underflow exception for results with
26961 small absolute value.
26962 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26963 (__ieee754_atanhf): Force underflow exception for results with
26964 small absolute value.
26965 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26966 (__ieee754_atanh): Force underflow exception for results with
26967 small absolute value.
26968 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26969 (__ieee754_atanhf): Force underflow exception for results with
26970 small absolute value.
26971 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26972 (__ieee754_atanhl): Force underflow exception for results with
26973 small absolute value.
26974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26975 (__ieee754_atanhl): Force underflow exception for results with
26976 small absolute value.
26977 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26978 (__ieee754_atanhl): Force underflow exception for results with
26979 small absolute value.
26980 * math/auto-libm-test-in: Do not allow missing underflow
26981 exceptions from atanh.
26982 * math/auto-libm-test-out: Regenerated.
26983
26984 [BZ #18221]
26985 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26986 2**-28 as threshold for returning x or +/- 1/x.
26987 * math/auto-libm-test-in: Add more tests of tan.
26988 * math/auto-libm-test-out: Regenerated.
26989
26990 [BZ #18220]
26991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26992 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26993 * math/auto-libm-test-in: Add another test of lgamma.
26994 * math/auto-libm-test-out: Regenerated.
26995
26996 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26997
26998 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26999 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
27000 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27001 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27002 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
27003 (ADD2A): Use fabs. (SUB2A): Use fabs.
27004 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27005 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27007 (log1): Use fabs. (my_log2): Use fabs.
27008 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27009 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27011 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27013 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
27014 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
27015 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
27016 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
27017 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27018 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27019
27020 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27021
27022 [BZ #18217]
27023 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27024 as threshold for returning 1 - x.
27025 * math/auto-libm-test-in: Add more tests of erfc.
27026 * math/auto-libm-test-out: Regenerated.
27027
27028 2015-05-14 Joseph Myers <joseph@codesourcery.com>
27029
27030 [BZ #18196]
27031 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27032 threshold for large arguments.
27033 * math/auto-libm-test-in: Add another test of atan.
27034 * math/auto-libm-test-out: Regenerated.
27035
27036 [BZ #16339]
27037 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27038 (__log1p): Force underflow exception for results with small
27039 absolute value.
27040 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27041 (__log1pf): Force underflow exception for results with small
27042 absolute value.
27043 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27044 (__log1p): Force underflow exception for results with small
27045 absolute value.
27046 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27047 (__log1pf): Force underflow exception for results with small
27048 absolute value.
27049 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27050 (__log1pl): Force underflow exception for results with small
27051 absolute value.
27052 * math/auto-libm-test-in: Do not allow missing underflow
27053 exceptions from log1p.
27054 * math/auto-libm-test-out: Regenerated.
27055
27056 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27057 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27058
27059 [BZ #16704]
27060 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27061
27062 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27063
27064 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27065 (libmvec): New variable.
27066 * configure.ac: Added option for mathvec build.
27067 * configure: Regenerated.
27068 * mathvec/Depend: New file.
27069 * mathvec/Makefile: New file.
27070 * shlib-versions: Added libmvec.
27071 * math/Makefile: Added rule for libm.so installation.
27072
27073 * bits/math-vector.h: New file.
27074 * bits/libm-simd-decl-stubs.h: New header.
27075 * math/Makefile (headers): Added new header
27076 libm-simd-decl-stubs.h.
27077 * math/math.h (__MATHCALL_VEC): New macro.
27078
27079 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27080 for conditions in testing functions.
27081 * math/Makefile: Added call of libm-have-vector-test.sh.
27082 * math/libm-test.inc (HAVE_VECTOR): New macros.
27083
27084 * math/libm-test.inc: START refactored.
27085 * math/test-double.c (TEST_MATHVEC): Add define.
27086 * math/test-float.c: Likewise.
27087 * math/test-idouble.c: Likewise.
27088 * math/test-ifloat.c: Likewise.
27089 * math/test-ildoubl.c: Likewise.
27090 * math/test-ldouble.c: Likewise.
27091 * sysdeps/generic/math-tests-arch.h
27092 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27093 architecture check.
27094
27095 * math/test-double.c (FUNC_TEST): New macro.
27096 * math/test-float.c: Likewise.
27097 * math/test-idouble.c: Likewise.
27098 * math/test-ifloat.c: Likewise.
27099 * math/test-ildoubl.c: Likewise.
27100 * math/test-ldouble.c: Likewise.
27101 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27102
27103 2015-05-13 Roland McGrath <roland@hack.frob.com>
27104
27105 * sysdeps/nacl/fdopendir.c: New file.
27106
27107 * dirent/scandir-tail.c: New file.
27108 * dirent/scandir64-tail.c: New file.
27109 * dirent/Makefile (routines): Add them.
27110 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27111 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27112 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27113 [!SCANDIR] (SCANDIR_TAIL): New macro.
27114 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27115 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27116 (SCANDIRAT): Macro removed.
27117 (SCANDIR_TAIL): New macro.
27118 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27119 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27120 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27121 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27122 (READDIR): Macro removed.
27123 (SCANDIR_TAIL): New macro.
27124 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27125 (SCANDIR_TAIL): New macro.
27126
27127 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27128 * dirent/scandir-cancel.c: ... to this new file.
27129 * dirent/Makefile (routines): Add it.
27130 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27131 * sysdeps/unix/sysv/linux/i386/scandir64.c
27132 (SKIP_SCANDIR_CANCEL): Macro removed.
27133 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27134
27135 * dirent/tst-scandir.c: New file.
27136 * dirent/tst-scandir64.c: New file.
27137 * dirent/Makefile (tests): Add them.
27138
27139 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27140
27141 [BZ #18409]
27142 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27143
27144 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27145
27146 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27147 list.
27148
27149 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27150
27151 * benchtests/bench-strcoll.c: New benchmark.
27152 * benchtests/Makefile: Generate locales and run benchmark.
27153 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27154 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27155 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27156 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27157 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27158 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27159 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27160 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27161 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27162 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27163 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27164 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27165 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27166 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27167 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27168 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27169 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27170 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27171 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27172 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27173 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27174 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27175 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27176 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27177
27178 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27179
27180 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27181 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27182
27183 2015-05-12 Roland McGrath <roland@hack.frob.com>
27184
27185 * posix/uname-values.h: New file.
27186 * posix/uname.c: Include that instead of <config-name.h>.
27187 * sysdeps/nacl/uname-values.h: New file.
27188 * sysdeps/arm/nacl/uname-values.h: New file.
27189
27190 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27191
27192 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27193 splitting into fields.
27194
27195 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27196
27197 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27198 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27199 * locale/localeinfo.h: Add enum collation_encoding_type.
27200 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27201 * programs/ld-collate.c (collate_output): Add encoding type info.
27202 * string/strcoll_l.c (STRDIFF): New function.
27203 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27204 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27205
27206 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27207
27208 [BZ #18397]
27209 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27210 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27211 <fpu_control.h> instead of <math/fpu_control.c>.
27212 * sysdeps/mips/mips32/fpu/Makefile: New file.
27213
27214 2015-05-11 Andreas Schwab <schwab@suse.de>
27215
27216 [BZ #18007]
27217 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27218 nss_endgrent.
27219 (_nss_compat_endgrent): Call nss_endgrent.
27220 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27221 nss_endpwent.
27222 (_nss_compat_endpwent): Call nss_endpwent.
27223 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27224 needent, call nss_setspent only if non-zero.
27225 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27226 (internal_endspent): Don't call nss_endspent.
27227 (_nss_compat_endspent): Call nss_endspent.
27228 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27229 Remove. All uses removed.
27230 (internal_setent): Remove parameter stayopen, add parameter
27231 stream. Use it instead of global variable.
27232 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27233 (internal_endent, internal_getent): Add parameter stream. Use it
27234 instead of global variable.
27235 (CONCAT(_nss_files_end,ENTNAME))
27236 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27237 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27238 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27239 uses removed.
27240 (internal_setent, internal_endent): Add parameter stream. Use it
27241 instead of global variable.
27242 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27243 stream.
27244 (get_next_alias): Add parameter stream.
27245 (_nss_files_getaliasent_r): Pass global stream.
27246 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27247 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27248 (_nss_files_gethostbyname4_r): Pass local stream to
27249 internal_setent, internal_getent and internal_endent. Remove
27250 locking.
27251
27252 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27253
27254 * tst-strfmon1.c (tests): Update expected currency symbol.
27255
27256 2015-05-08 Roland McGrath <roland@hack.frob.com>
27257
27258 * sysdeps/nacl/gethostname.c: New file.
27259
27260 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27261
27262 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27263 and sinh.
27264 * math/auto-libm-test-out: Regenerated.
27265 * sysdeps/i386/fpu/libm-test-ulps: Update.
27266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27267
27268 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27269
27270 [BZ #18125]
27271 * stdlib/tst-setcontext3.c: New file.
27272 * stdlib/tst-setcontext3.sh: New file.
27273 * stdlib/Makefile (tests): Add tst-setcontext3.
27274 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27275 to verify test program created output file.
27276 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27277 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27278 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27279 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27280
27281 2015-05-06 Roland McGrath <roland@hack.frob.com>
27282
27283 [BZ #18383]
27284 * elf/tst-tlsalign.c: New file.
27285 * elf/tst-tlsalign-static.c: New file.
27286 * elf/tst-tlsalign-lib.c: New file.
27287 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27288 (tests-static): Add tst-tlsalign-static.
27289 (modules-names): Add tst-tlsalign-lib.
27290 (test-xfail-tst-tlsalign): New variable.
27291 (test-xfail-tst-tlsalign-static): New variable.
27292
27293 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27294 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27295
27296 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27297
27298 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27299 csqrt, erfc, sin and sincos.
27300 * math/auto-libm-test-out: Regenerated.
27301 * sysdeps/i386/fpu/libm-test-ulps: Update.
27302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27303
27304 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27305
27306 * sysdeps/aarch64/libm-test-ulps: Update.
27307
27308 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27309
27310 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27311 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27312 * math/auto-libm-test-out: Regenerated.
27313 * sysdeps/i386/fpu/libm-test-ulps: Update.
27314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315
27316 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27317
27318 [BZ #18265]
27319 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27320 (wcsncpy): Likewise.
27321
27322 2015-05-05 Florian Weimer <fweimer@redhat.com>
27323
27324 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27325 Assume __ASSUME_FALLOCATE is always true.
27326 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27327 (__posix_fallocate64_l64): Likewise.
27328 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27329 (posix_fallocate): Likewise.
27330 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27331 (__posix_fallocate64_l64): Likewise.
27332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27333 [!__ASSUME_FALLOCATE]: Add comment.
27334
27335 2015-05-05 Florian Weimer <fweimer@redhat.com>
27336
27337 * sysdeps/unix/sysv/linux/i386/Makefile
27338 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27339 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27340 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27341 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27342 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27343 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27344 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27345
27346 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27347
27348 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27349 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27350 tgamma.
27351 * math/auto-libm-test-out: Regenerated.
27352 * sysdeps/i386/fpu/libm-test-ulps: Update.
27353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27354
27355 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27356
27357 * math/auto-libm-test-in: Add more tests of tgamma.
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 * math/auto-libm-test-in: Add more tests of tanh.
27363 * math/auto-libm-test-out: Regenerated.
27364 * sysdeps/i386/fpu/libm-test-ulps: Update.
27365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27366
27367 * math/auto-libm-test-in: Add more tests of tan.
27368 * math/auto-libm-test-out: Regenerated.
27369 * sysdeps/i386/fpu/libm-test-ulps: Update.
27370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27371
27372 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27373 * math/auto-libm-test-out: Regenerated.
27374 * sysdeps/i386/fpu/libm-test-ulps: Update.
27375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27376
27377 * math/auto-libm-test-in: Add another test of pow.
27378 * math/auto-libm-test-out: Regenerated.
27379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27380
27381 * math/auto-libm-test-in: Add more tests of lgamma.
27382 * math/auto-libm-test-out: Regenerated.
27383 * sysdeps/i386/fpu/libm-test-ulps: Update.
27384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27385
27386 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27387 log1p.
27388 * math/auto-libm-test-out: Regenerated.
27389 * sysdeps/i386/fpu/libm-test-ulps: Update.
27390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27391
27392 2015-05-01 Mark Wielaard <mjw@redhat.com>
27393
27394 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27395 Elf64_Chdr structs and ELFCOMPRESS constants.
27396
27397 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27398
27399 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27400 expm1.
27401 * math/auto-libm-test-out: Regenerated.
27402 * sysdeps/i386/fpu/libm-test-ulps: Update.
27403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27404
27405 * math/auto-libm-test-in: Add more tests of erf and erfc.
27406 * math/auto-libm-test-out: Regenerated.
27407 * sysdeps/i386/fpu/libm-test-ulps: Update.
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409
27410 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27411
27412 * config.h.in (HAVE_AARCH64_BE): Add.
27413
27414 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27415
27416 * math/auto-libm-test-in: Add more tests of csqrt.
27417 * math/auto-libm-test-out: Regenerated.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27420
27421 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27422 * math/auto-libm-test-out: Regenerated.
27423 * sysdeps/i386/fpu/libm-test-ulps: Update.
27424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27425
27426 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27427
27428 2015-04-29 Roland McGrath <roland@hack.frob.com>
27429
27430 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27431 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27432
27433 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27434 (euidaccess, eaccess): Define as weak aliases.
27435
27436 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27437 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27438 but __suseconds_t is often 'long int' so some sources assume that
27439 type is being used (e.g. they use %ld to print tv_usec).
27440
27441 2015-04-29 Florian Weimer <fweimer@redhat.com>
27442
27443 [BZ #18007]
27444 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27445 (CVE-2014-8121)
27446 * nss/tst-nss-getpwent.c: New file.
27447 * nss/Makefile (tests): Add new test.
27448
27449 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27450
27451 [BZ #18346]
27452 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27453 exponents less than 48 as cases where high part of mantissa needs
27454 examining to determine whether argument is integral.
27455 * math/libm-test.inc (round_test_data): Add more tests.
27456
27457 2015-04-28 Mark Wielaard <mjw@redhat.com>
27458
27459 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27460
27461 2015-04-27 David S. Miller <davem@davemloft.net>
27462
27463 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27464 __tls_get_addr.
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27466
27467 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27468
27469 [BZ#18333]
27470 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27471
27472 2015-04-27 Florian Weimer <fweimer@redhat.com>
27473
27474 [BZ#18333]
27475 * time/tzset.c (parse_tzname): Return error on memory allocation
27476 failure.
27477 * test-skeleton.c (struct temp_name_list): Change type of name
27478 member to non-const.
27479 (add_temp_file): Create a copy of the file name.
27480 (delete_temp_files): Deallocate memory.
27481 (create_temp_file): Add comment.
27482
27483 2015-04-24 Florian Weimer <fweimer@redhat.com>
27484
27485 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27486 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27487
27488 2015-04-24 Roland McGrath <roland@hack.frob.com>
27489
27490 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27491 * sysdeps/arm/configure: Regenerated.
27492
27493 2015-04-24 Florian Weimer <fweimer@redhat.com>
27494
27495 [BZ #17715]
27496 * time/tzfile.c (__tzfile_read): Check for large values of
27497 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27498 * time/tzset.c (__tzstring_len): New function, based on the old
27499 __tzstring function.
27500 (__tzstring): Call __tzstring_len.
27501 (parse_tzname): New helper function extracted from
27502 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27503 the input string.
27504 (parse_offset): New helper function extracted from
27505 __tzset_parse_tz. Replace switch with fallthrough with
27506 initialization before sscanf.
27507 (parse_rule): Likewise.
27508 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27509 new-style function definition.
27510 * timezone/Makefile (tests): Add tst-tzset.
27511 (tst-tzset.out): Dependencies on time zone files.
27512 (tst-tzset-ENV): Set TZDIR.
27513 (testdata/XT%): Copy crafted time zone files.
27514 * timezone/README: Mention crafted time zone files.
27515 * timezone/testdata/XT1, timezone/testdata/XT2,
27516 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27517 files.
27518 * timezone/tst-tzset.c: New test.
27519
27520 2015-04-24 Florian Weimer <fweimer@redhat.com>
27521
27522 * Makeconfig (+gccwarn): Remove -Winline.
27523
27524 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27525
27526 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27527
27528 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27529
27530 * NEWS: Mention sysconf() cache information support for s390.
27531 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27532
27533 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27534
27535 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27537 (__nearbyint): Likewise.
27538 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27539 (copysignl): Likewise.
27540
27541 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27542
27543 [BZ #18287]
27544 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27545 based on padding. (CVE-2015-1781)
27546
27547 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27548
27549 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27550 libc-vdso.h.
27551 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27552 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27553 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27554 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27555 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27556 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27557 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27558 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27559 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27560 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27561 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27562 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27563 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27564 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27565 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27566 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27567 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27568 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27569 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27570 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27571 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27572 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27573 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27574
27575 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27576
27577 * stdlib/setenv.c (__add_to_environ):
27578 Dump core quickly if setenv (..., NULL, ...) is called.
27579 This time, do it the right way, and pacify GCC with a pragma.
27580
27581 2015-04-17 Roland McGrath <roland@hack.frob.com>
27582
27583 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27584 IMAP->l_prev cannot be null, and #if out the code for the contrary
27585 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27586 believe that NS (&_dl_ns[NSID]) could point outside the array.
27587
27588 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27589 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27590 before using NSID as an index.
27591
27592 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27593
27594 [BZ #17825]
27595 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27596 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27597 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27598
27599 2015-04-17 Roland McGrath <roland@hack.frob.com>
27600
27601 Add preliminary port to Google Native Client on ARM.
27602 * abi-tags (.*-.*-nacl.*): New entry.
27603 * sysdeps/arm/nacl: New directory.
27604 * sysdeps/nacl: New directory.
27605
27606 2015-04-16 David S. Miller <davem@davemloft.net>
27607
27608 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27609 lowlevellock-futex.h
27610
27611 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27612
27613 * sysdeps/tile/configure.ac: New file.
27614 * sysdeps/tile/configure: Regenerated.
27615
27616 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27617
27618 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27619 conditionals for weak_alias and libc_hidden_weak.
27620 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27621 libc_hidden_weak and weak_alias.
27622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27623 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27624 and weak_alias for static one.
27625
27626 2015-04-15 David S. Miller <davem@davemloft.net>
27627
27628 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27629
27630 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27631
27632 [BZ #18206]
27633 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27634 Use signed comparision instead of substraction to avoid
27635 overflow bug.
27636 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27637 Take the sign of ret.
27638 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27639 Do not expect precise return values. Only the sign matters.
27640 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27641 * wcsmbs/test-wcsncmp.c: New File.
27642 * string/test-strncmp.c: Add wcsncmp support.
27643
27644 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27645
27646 [BZ #6792]
27647 * math/w_log1p.c: New file.
27648 * math/w_log1pf.c: Likewise.
27649 * math/w_log1pl.c: Likewise.
27650 * math/Makefile (libm-calls): Add w_log1p.
27651 * math/s_log1pl.c (log1pl): Remove weak_alias.
27652 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27653 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27654 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27655 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27656 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27657 [NO_LONG_DOUBLE] (log1pl): Likewise.
27658 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27659 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27660 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27661 (log1p): Remove long_double_symbol.
27662 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27663 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27664 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27665 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27666 remove weak_alias for corresponding log1p function.
27667 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27668 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27669 * sysdeps/ia64/fpu/w_log1p.c: New file.
27670 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27671 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27672 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27673
27674 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27675
27676 [BZ #18247]
27677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27678 decimal exponent by 1.
27679 * stdlib/tst-strtod-round-data: Add more tests.
27680 * stdlib/tst-strtod-round.c (tests): Regenerated.
27681
27682 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27683
27684 * math/auto-libm-test-in: Add more tests of clog and clog10.
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 2015-04-09 Roland McGrath <roland@hack.frob.com>
27690
27691 * Makeconfig (module-cppflags): Exclude all .v.i files.
27692 (skip-module-cppflags): Variable removed.
27693
27694 * configure.ac (libc_config_ok): Initialize before reading
27695 preconfigure scripts, not after.
27696 * configure: Regenerated.
27697
27698 * test-skeleton.c (TIMEOUT): Move #define to top level.
27699 (main): Grok environment variable TEST_DIRECT. If set, print
27700 test expectation details into that file and then behave as if
27701 given --direct.
27702
27703 2015-04-09 Florian Weimer <fweimer@redhat.com>
27704
27705 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27706 warning on 32-bit.
27707
27708 2015-04-08 David S. Miller <davem@davemloft.net>
27709
27710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27711
27712 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27713
27714 * math/auto-libm-test-in: Add more tests of atanh.
27715 * math/auto-libm-test-out: Regenerated.
27716 * sysdeps/i386/fpu/libm-test-ulps: Update.
27717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27718
27719 * math/auto-libm-test-in: Add more tests of atan.
27720 * math/auto-libm-test-out: Regenerated.
27721 * sysdeps/i386/fpu/libm-test-ulps: Update.
27722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27723
27724 2015-04-08 Florian Weimer <fweimer@redhat.com>
27725
27726 * elf/pldd.c (main): Rewrite to use struct
27727 scratch_buffer instead of extend_alloca.
27728 * elf/pldd-xx.c (find_maps): Likewise.
27729 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27730 <alloca.h>.
27731 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27732 scratch_buffer instead of extend_alloca.
27733 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27734 grp/compat-initgroups.c.
27735 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27736 Rewrite to use struct scratch_buffer instead of extend_alloca.
27737 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27738 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27739
27740 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27741
27742 * math/auto-libm-test-in: Add more tests of cbrt.
27743 * math/auto-libm-test-out: Regenerated.
27744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27745
27746 * math/auto-libm-test-in: Add more tests of cabs.
27747 * math/auto-libm-test-out: Regenerated.
27748 * sysdeps/i386/fpu/libm-test-ulps: Update.
27749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27750
27751 [BZ #18210]
27752 [BZ #18211]
27753 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27754 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27755 computations.
27756 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27757 clog10.
27758 * math/auto-libm-test-out: Regenerated.
27759 * sysdeps/i386/fpu/libm-test-ulps: Update.
27760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27761
27762 [BZ #18197]
27763 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27764 (atan): Set FE_TONEAREST mode for internal computations.
27765 * math/auto-libm-test-in: Add more tests of atan.
27766 * math/auto-libm-test-out: Regenerated.
27767
27768 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27769
27770 [BZ #17930]
27771 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27772
27773 2015-04-07 Florian Weimer <fweimer@redhat.com>
27774
27775 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27776
27777 2015-04-07 Florian Weimer <fweimer@redhat.com>
27778
27779 * include/scratch_buffer.h: New file.
27780 * malloc/scratch_buffer_grow.c: Likewise.
27781 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27782 * malloc/scratch_buffer_set_array_size.c: Likewise.
27783 * malloc/tst-scratch_buffer.c: Likewise.
27784 * malloc/Makefile (routines): Add scratch_buffer_grow.
27785 (tests): Add test case.
27786 * malloc/Versions (GLIBC_PRIVATE): Export
27787 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27788 __libc_scratch_buffer_set_array_size.
27789
27790 2015-04-06 Richard Henderson <rth@redhat.com>
27791
27792 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27793 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27794
27795 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27796 unsigned int before printing.
27797
27798 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27799
27800 [BZ #17596]
27801 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27802 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27803
27804 2015-04-02 Florian Weimer <fweimer@redhat.com>
27805
27806 * include/libc-internal.h (libc_max_align_t): Define.
27807
27808 2015-04-02 Andreas Schwab <schwab@suse.de>
27809
27810 [BZ #16850]
27811 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27812
27813 2015-04-02 Mel Gorman <mgorman@suse.de>
27814
27815 [BZ #17195]
27816 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27817 as well as the main arena.
27818
27819 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27820
27821 [BZ #18185]
27822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27823 sharing L2 cache to 2 for Silvermont/Knights Landing.
27824
27825 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27826
27827 [BZ #17711]
27828 * config.make.in (have-protected-data): New.
27829 * configure.ac: Check linker support for protected data symbol.
27830 * configure: Regenerated.
27831 * elf/Makefile (modules-names): Add tst-protected1moda and
27832 tst-protected1modb if $(have-protected-data) is yes.
27833 (tests): Add tst-protected1a and tst-protected1b if
27834 $(have-protected-data) is yes.
27835 ($(objpfx)tst-protected1a): New.
27836 ($(objpfx)tst-protected1b): Likewise.
27837 (tst-protected1modb.so-no-z-defs): Likewise.
27838 * elf/tst-protected1a.c: New file.
27839 * elf/tst-protected1b.c: Likewise.
27840 * elf/tst-protected1mod.h: Likewise.
27841 * elf/tst-protected1moda.c: Likewise.
27842 * elf/tst-protected1modb.c: Likewise.
27843
27844 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27845
27846 [BZ #17711]
27847 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27848 indicates it is called from do_lookup_x on relocation against
27849 protected data, skip the data definion in the executable from
27850 copy reloc.
27851 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27852 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27853 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27854 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27855 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27856 otherwise to 0.
27857 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27858 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27859 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27860 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27861 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27862 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27863
27864 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27865
27866 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27867 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27868
27869 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27870
27871 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27872 THREAD_SETMEM_NC.
27873 * sysdeps/x86_64/nptl/tls.h: Ditto.
27874
27875 2015-03-27 Roland McGrath <roland@hack.frob.com>
27876
27877 * dlfcn/tststatic.c (main): Converted to ...
27878 (do_test): ... this.
27879 (TEST_FUNCTION): New macro.
27880 Include test-skeleton.c.
27881
27882 2015-03-26 Alan Modra <amodra@gmail.com>
27883
27884 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27885 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27886 zero for undefined weak.
27887 (elf_machine_plt_conflict): Similarly.
27888
27889 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27890
27891 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27892 atanh.
27893 * math/auto-libm-test-out: Regenerated.
27894 * sysdeps/i386/fpu/libm-test-ulps: Update.
27895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27896
27897 * math/auto-libm-test-in: Add another test of asin.
27898 * math/auto-libm-test-out: Regenerated.
27899 * sysdeps/i386/fpu/libm-test-ulps: Update.
27900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27901
27902 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27903 Remove macro.
27904 (LLL_EBX_REG): Likewise.
27905 (LLL_ENTER_KERNEL): Likewise.
27906
27907 * math/auto-libm-test-in: Add more tests of asin.
27908 * math/auto-libm-test-out: Regenerated.
27909 * sysdeps/i386/fpu/libm-test-ulps: Update.
27910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27911
27912 [BZ #18138]
27913 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27914 libc_do_syscall_args): New structure.
27915 (INTERNAL_SYSCALL_MAIN_0): New macro.
27916 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27917 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27918 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27919 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27920 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27921 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27922 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27923 Replace conditional definitions by conditional definitions of ....
27924 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27925 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27926 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27927 (libpthread-sysdep_routines): Add libc-do-syscall.
27928 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27929 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27930 to __NR_futex not 240.
27931
27932 2015-03-25 Alan Modra <amodra@gmail.com>
27933
27934 * NEWS: Advertise TLS optimization.
27935 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27936 (DT_PPC_NUM): Increment.
27937 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27938 (CHECK_STATIC_TLS): Use here.
27939 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27940 TLS descriptors.
27941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27942 * sysdeps/powerpc/dl-tls.c: New file.
27943 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27944 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27945 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27946 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27950
27951 2015-03-25 Alan Modra <amodra@gmail.com>
27952
27953 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27954 for overlapping .opd entries" to "support...".
27955 * sysdeps/powerpc/powerpc64/configure: Regenerate
27956
27957 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27958
27959 * math/auto-libm-test-in: Add more tests of acos.
27960 * math/auto-libm-test-out: Regenerated.
27961 * sysdeps/i386/fpu/libm-test-ulps: Update.
27962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27963
27964 * math/auto-libm-test-in: Add more tests of expm1.
27965 * math/auto-libm-test-out: Regenerated.
27966 * sysdeps/i386/fpu/libm-test-ulps: Update.
27967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27968
27969 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27970
27971 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27972 * math/auto-libm-test-out: Regenerated.
27973 * sysdeps/i386/fpu/libm-test-ulps: Update.
27974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27975
27976 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27978
27979 * math/auto-libm-test-in: Add more tests of log2.
27980 * math/auto-libm-test-out: Regenerated.
27981 * sysdeps/i386/fpu/libm-test-ulps: Update.
27982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27983
27984 2015-03-23 Roland McGrath <roland@hack.frob.com>
27985
27986 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27987 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27988 _IO_IS_APPENDING bit in READ_WRITE instead.
27989
27990 2015-03-23 Florian Weimer <fweimer@redhat.com>
27991
27992 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27993 (__determine_cpumask_size): Replace extend_alloca with a
27994 variable-length array. Do not treat res == 0 as an error.
27995
27996 2015-03-23 Florian Weimer <fweimer@redhat.com>
27997
27998 [BZ #18100]
27999 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28000 and integer overflow.
28001 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28002 (main): Add integer overflow tests.
28003 * manual/pattern.texi (Calling Wordexp): Document additional use
28004 for WRDE_SYNTAX.
28005
28006 2015-03-23 Alan Modra <amodra@gmail.com>
28007
28008 * config.h.in: Remove HAVE_ASM_PPC_REL16.
28009 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28010 and false branch of conditional.
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28012 Likewise.
28013
28014 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
28015
28016 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28017 libc-modules.h
28018 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28019 unused declaration of _hurd_intr_rpc_msg_in_trap.
28020 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28021 defined instead of whether it is non-zero.
28022 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28023 input constraint instead of both input and output constraint. Use ecx
28024 clobber instead of %ecx.
28025 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28026 mutex_unlock): Use a statement expression instead of an expression list.
28027 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28028 type to vm_size_t instead of vm_address_t.
28029 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28030 defined instead of whether it is non-zero.
28031 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28032 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28033 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28034 comparisons with mapaddr.
28035 * nscd/nscd-client.h: Include <time.h>.
28036 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28037 9th parameter to __vm_region instead of int.
28038 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28039 * scripts/check-local-headers.sh (exclude): Add device/,
28040 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28041 cthreads.h.
28042
28043 2015-03-19 Roland McGrath <roland@hack.frob.com>
28044
28045 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28046 to account for alignment padding.
28047 * sysdeps/arm/memmove.S: Likewise.
28048
28049 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28050
28051 * sysdeps/unix/sysv/linux/generic/README: New file.
28052
28053 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28054
28055 [BZ #18138]
28056 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28057 (futex_abstimed_wait)
28058 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28059 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28060 of lll_futex_timed_wait.
28061
28062 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28063
28064 [BZ #17542]
28065 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28066
28067 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28068
28069 [BZ #17090]
28070 [BZ #17620]
28071 [BZ #17621]
28072 [BZ #17628]
28073 * NEWS: Update.
28074 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28075 entries with Static TLS too. Skip entries past the end of the
28076 allocated DTV, from Alan Modra.
28077 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28078 Static TLS DTV entry set up from...
28079 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28080 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28081 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28082 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28083 for Static TLS.
28084 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28085 that the slot we find is associated with the given map before
28086 using its generation count.
28087 * nptl_db/db_info.c: Include ldsodefs.h.
28088 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28089 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28090 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28091 (link_map::l_tls_offset): New struct field.
28092 (dtv_t::counter): Likewise.
28093 (rtld_global): New struct.
28094 (_rtld_global): New rtld variable.
28095 (dl_tls_dtv_slotinfo_list): New rtld global field.
28096 (dtv_slotinfo_list): New struct.
28097 (dtv_slotinfo): Likewise.
28098 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28099 (td_lookup): Rename to...
28100 (td_mod_lookup): ... this. Use new mod parameter instead of
28101 LIBPTHREAD_SO.
28102 * nptl_db/td_thr_tlsbase.c: Include link.h.
28103 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28104 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28105 addresses even if the DTV is out of date or missing them.
28106 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28107 index zero-length arrays.
28108 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28109 (td_lookup): Make it a macro implemented in terms of...
28110 (td_mod_lookup): ... this declaration.
28111 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28112 (DB_MAIN_VARIABLE): Likewise.
28113
28114 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28115
28116 [BZ #18134]
28117 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28118
28119 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28120
28121 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28122
28123 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28124
28125 [BZ #18128]
28126 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28127 (atomic_add, atomic_increment_and_test)
28128 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28129
28130 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28131
28132 * stdlib/setenv.c (__add_to_environ):
28133 Dump core quickly if setenv (..., NULL, ...) is called.
28134
28135 2015-03-13 Roland McGrath <roland@hack.frob.com>
28136
28137 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28138 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28139 all the necessary asm magic in one place.
28140 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28141 using those.
28142
28143 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28144
28145 [BZ #14906]
28146 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28147 traced file mtime. Use consistent log message.
28148 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28149 (register_traced_file): Call install_watches. Always set mtime.
28150 (invalidate_cache): Iterate over all trace files. Call install_watches.
28151 (inotify_check_files): Don't inline. Handle watching parent
28152 directories and configuration file movement in and out.
28153 (handle_inotify_events): New function.
28154 (main_loop_poll): Call handle_inotify_events.
28155 (main_loop_epoll): Likewise.
28156 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28157 (struct traced_file): Use array of inotify fds. Add parent directory,
28158 and basename.
28159 (struct database_dyn): Remove unused file_mtime.
28160 (init_traced_file): New inline function.
28161 (define_traced_file): New macro.
28162 * nss/nss_db/db-init.c: Use define_traced_file.
28163 (_nss_db_init): Use init_traced_file.
28164 * nss/nss_files/files-init.c: Use define_traced_file.
28165 (_nss_files_init): Use init_traced_file.
28166
28167 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28168
28169 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28170 [_LIBC]: Do not include <stdlib.h>.
28171 [!_LIBC] (abort): Remove declaration.
28172 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28173 _FP_STATIC_ASSERT instead of conditionally calling abort.
28174 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28175 (_FP_EXTEND_CNAN): Likewise.
28176 (FP_TRUNC): Likewise.
28177 (__FP_CLZ): Likewise.
28178 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28179
28180 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28181
28182 * manual/string.texi (XPG basename): Fix prototype.
28183
28184 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28185
28186 [BZ #18080]
28187 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28188 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28189 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28190 (__setcontext): Likewise.
28191 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28192 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28193 Call rt_sigprocmask syscall one time to set new signal mask
28194 and retrieve the current signal mask instead of two calls.
28195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28196 (__swapcontext): Likewise.
28197 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28198 * stdlib/tst-setcontext2.c: New file.
28199
28200 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28201
28202 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28203
28204 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28205
28206 [BZ #18093]
28207 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28208 the wrong size.
28209
28210 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28211
28212 [BZ #18043]
28213 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28214
28215 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28216
28217 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28218 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28219 Remove define.
28220 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28221 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28222 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28223 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28224 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28225 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28226 define.
28227 * nptl_db/td_symbol_list.c (td_lookup): Remove
28228 HAVE_ASM_GLOBAL_DOT_NAME code.
28229 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28230 HAVE_ASM_GLOBAL_DOT_NAME check.
28231 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28232 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28233 (DOT_LABEL): Remove define.
28234 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28235 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28236 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28237 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28238 (__TLS_GET_ADDR): Likewise.
28239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28240 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28241
28242 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28243
28244 [BZ #18111]
28245 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28246 (_FPU_SETCW): Initialize cw from fpsr before storing.
28247 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28248 (fesetexceptflag): Rewrite using fpu_control.h.
28249 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28250
28251 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28252
28253 [BZ #18110]
28254 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28255 asms.
28256 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28257
28258 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28259
28260 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28261 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28262 abort.
28263 (_FP_FMA): Likewise.
28264 (_FP_DIV): Likewise.
28265
28266 2015-03-10 Roland McGrath <roland@hack.frob.com>
28267
28268 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28269 with 0 in that case.
28270 * Makefile (summarize-tests): New canned sequence, factored out of
28271 commands for targets tests and xtests. Display summary lines that
28272 don't start with PASS: or XFAIL: rather than ones that do start with
28273 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28274 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28275 do start with ERROR: or FAIL:.
28276 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28277 (except for [$(build-shared) = yes]).
28278 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28279 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28280 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28281 * nptl/Makefile: Revert 2015-03-04 changes.
28282 [$(CXX) empty] (tests-unsupported): New variable.
28283 * debug/Makefile: Likewise.
28284
28285 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28286 gnulib file. Replace __attribute with __attribute__ throughout.
28287
28288 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28289
28290 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28291
28292 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28293
28294 [BZ #18104]
28295 * math/auto-libm-test-in: Add another test of pow.
28296 * math/auto-libm-test-out: Regenerated.
28297
28298 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28299
28300 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28301 $(config-cflags-nofma).
28302
28303 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28304
28305 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28306 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28307 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28308 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28309 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28310 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28311 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28312 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28313 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28314 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28315 Add comment on closing #endif.
28316
28317 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28318
28319 * posix/wordexp.c (CHAR_IN_SET): New macro.
28320 (parse_param): Use it.
28321
28322 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28323
28324 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28325
28326 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28327
28328 [BZ #18043]
28329 * posix/wordexp.c (parse_param): Fix buffer overflow.
28330 * posix/wordexp-test.c (test_case): Add test case.
28331
28332 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28333
28334 [BZ #18042]
28335 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28336 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28337
28338 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28339
28340 [BZ #18043]
28341 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28342 (do_bz18043): Delete.
28343 (at_page_end): New.
28344 (testit): Refactor to have words at the edge of unreadable page.
28345
28346 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28347
28348 [BZ #16734]
28349 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28350 Cleanup read-only streams as well.
28351 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28352
28353 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28354
28355 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28356 <bits/libc-lockP.h>
28357
28358 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28359
28360 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28361 on [__KERNEL__].
28362 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28363 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28364 * soft-fp/op-common.h (_FP_DECL): Likewise.
28365
28366 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 * elf/ifuncdep2.c (global): Replace
28369 __attribute__((visibility("protected"))) with
28370 asm (".protected global").
28371 * elf/ifuncmod1.c (global): Likewise.
28372 * elf/ifuncmod5.c (global): Likewise.
28373
28374 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28375
28376 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28377 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28378
28379 2015-03-06 Roland McGrath <roland@hack.frob.com>
28380
28381 * manual/install.texi (Configuring and compiling):
28382 Document test-wrapper-env-only.
28383 * INSTALL: Regenerated.
28384
28385 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28386
28387 [BZ #18043]
28388 * posix/wordexp.c (parse_param): Fix buffer overflow.
28389 * posix/wordexp-test.c (do_bz18043): Add test case.
28390
28391 2015-03-06 Vincent Bernat <vincent@bernat.im>
28392
28393 * time/tst-strptime2.c (do_test): Ensure failing tests are
28394 reported correctly.
28395 * time/tst-strptime3.c (do_test): Likewise.
28396
28397 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28398
28399 Fix aio_error thread-safety.
28400 * sysdeps/pthread/aio_error.c: New file
28401 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28402 synchronization.
28403
28404 2015-03-06 Florian Weimer <fweimer@redhat.com>
28405
28406 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28407 (group_number, vfprintf): Use it.
28408 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28409 (JUMP, REF): Use it.
28410 (WORK_BUFFER_SIZE): New enum constant.
28411 (process_arg, vfprintf): Use it.
28412
28413 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28414
28415 * manual/errno.texi (Error Messages): Complete example function
28416 by adding missing #define.
28417 (program_invocation_name): Add statement indicating GNU
28418 extension and reference which header file declares the variable.
28419 (program_invocation_short_name): Likewise.
28420
28421 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28422
28423 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28424 compatibility note.
28425
28426 2015-03-05 Roland McGrath <roland@hack.frob.com>
28427
28428 * Makeconfig (test-wrapper-env-only): New variable.
28429 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28430 then use that with $(test-wrapper-env-only) rather than using
28431 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28432
28433 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28434
28435 [BZ #18082]
28436 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28437 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28438 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28439 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28440 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28441 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28442 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28443 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28444 Likewise.
28445 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28446 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28447 Likewise.
28448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28449 Likewise.
28450 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28451 Likewise.
28452 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28453 Likewise.
28454 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28456 Likewise.
28457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28458 Likewise.
28459 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28460 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28461
28462 2015-03-04 Roland McGrath <roland@hack.frob.com>
28463
28464 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28465 (ETH_ALEN): New macro.
28466 (struct ether_addr): Use it for length of ether_addr_octet.
28467
28468 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28469 (setdb): Don't call __nss_configure_lookup for "rpc".
28470 (do_test): Don't call test_rpc.
28471 (output_rpcent, test_rpc): Functions moved ...
28472 * sunrpc/test-rpcent.c: ... to this new file.
28473 * sunrpc/Makefile (tests): Add it.
28474
28475 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28476 __xpg_sigpause.
28477 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28478 * nptl/tst-signal6.c: Likewise.
28479 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28480 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28481
28482 * configure.ac (libc_cv_cxx_link_ok): New check.
28483 Reset CXX to empty if it fails to link.
28484 * configure: Regenerated.
28485 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28486 bug-atexit3-lib only if $(CXX) is nonempty.
28487 * nptl/Makefile (tests): Likewise for tst-cancel24.
28488 (tests, tests-static): Likewise for tst-cancel24-static.
28489 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28490 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28491 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28492 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28493
28494 2015-03-04 Andreas Schwab <schwab@suse.de>
28495
28496 [BZ #17631]
28497 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28498 for non-GCC compilers.
28499 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28500 Likewise.
28501
28502 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28503
28504 [BZ #17776]
28505 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28506 integer before bitwise and assembly operations.
28507 (feclearexcept): Likewise.
28508 * math/test-fenvinline.c: New file.
28509 * math/Makefile: Add test-fenvinline test.
28510
28511 2015-03-03 Alan Modra <amodra@gmail.com>
28512
28513 [BZ #16512]
28514 * scripts/localplt.awk: Strip off symbol version.
28515 * NEWS: Mention bug fix.
28516
28517 2015-03-02 Roland McGrath <roland@hack.frob.com>
28518
28519 * sysdeps/pthread/timer_routines.c
28520 (timer_free_list, thread_free_list, thread_active_list): Make static.
28521
28522 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28523
28524 [BZ #17779]
28525 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28526 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28527 Undefine.
28528 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28529 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28530 Likewise.
28531 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28532 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28533 Likewise.
28534
28535 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28536
28537 [BZ #18036]
28538 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28539 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28540
28541 2015-03-02 Andreas Schwab <schwab@suse.de>
28542
28543 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28544 variable name.
28545
28546 2015-03-02 Florian Weimer <fweimer@redhat.com>
28547
28548 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28549 Return error status.
28550
28551 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
28552
28553 [BZ #15969]
28554 * locale/findlocale.c (_nl_find_locale): Introduce const
28555 version of loc_name and drop unsafe type casts.
28556
28557 2015-02-27 Roland McGrath <roland@hack.frob.com>
28558
28559 * dlfcn/tststatic2.c (main): Converted to ...
28560 (do_test): ... this.
28561 (TEST_FUNCTION): New macro.
28562 Include test-skeleton.c.
28563
28564 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
28565
28566 [BZ #17711]
28567 * elf/Makefile (tests): Add vismain only if PIE is enabled.
28568 (tests-pie): Add vismain.
28569 (CFLAGS-vismain.c): New.
28570 * elf/vismain.c: Add comments for PIE requirement.
28571
28572 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28573
28574 [BZ #18046]
28575 [BZ #18047]
28576 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28577 0x1p-56L as threshold for just returning the argument.
28578 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28579 0x1p-32L as threshold for just returning the argument.
28580 * math/auto-libm-test-in: Add more tests of atanh.
28581 * math/auto-libm-test-out: Regenerated.
28582 * sysdeps/i386/fpu/libm-test-ulps: Update.
28583 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28584
28585 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28586
28587 * string/bcopy.c (bcopy): Call memmove for performance.
28588
28589 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28590
28591 * string/bzero.c (__bzero): Call memset for performance.
28592
28593 2015-02-27 John David Anglin <dave.anglin@bell.net>
28594
28595 [BZ #18068]
28596 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28597 to 00100000.
28598
28599 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28600
28601 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28602
28603 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28604
28605 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28606 (__kernel_standard): Use CSTR macro when setting exc.name.
28607 * sysdeps/ieee754/Makefile [$(subdir) = math]
28608 (CFLAGS-k_standard.c): Remove variable.
28609
28610 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28611 setting p and q from "else if" to "else".
28612 (qzero): Likewise.
28613 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28614 (qone): Likewise.
28615 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28616 (qzerof): Likewise.
28617 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28618 (qonef): Likewise.
28619 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28620 (qzero): Likewise.
28621 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28622 (qone): Likewise.
28623
28624 [BZ #18038]
28625 [BZ #18039]
28626 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28627 return pi/2 for arguments below 0x1p-113L.
28628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28629 return pi/2 for arguments below 0x1p-106L.
28630 * math/auto-libm-test-in: Add more tests of acos.
28631 * math/auto-libm-test-out: Regenerated.
28632
28633 [BZ #16351]
28634 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28635 (MO): New macro.
28636 (__ieee754_asin): Force underflow exception for results with small
28637 absolute value.
28638 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28639 (MO): New macro.
28640 (__ieee754_asinf): Force underflow exception for results with
28641 small absolute value.
28642 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28643 (__ieee754_asin): Force underflow exception for results with small
28644 absolute value.
28645 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28646 (__ieee754_asinf): Force underflow exception for results with
28647 small absolute value.
28648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28649 (__ieee754_asinl): Force underflow exception for results with
28650 small absolute value.
28651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28652 (__ieee754_asinl): Force underflow exception for results with
28653 small absolute value.
28654 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28655 (__ieee754_asinl): Force underflow exception for results with
28656 small absolute value.
28657 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28658 Include <math.h>.
28659 * math/auto-libm-test-in: Do not mark underflow exceptions as
28660 possibly missing for bug 16351.
28661 * math/auto-libm-test-out: Regenerated.
28662
28663 [BZ #18030]
28664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28665 of power of 2 down when low part has opposite sign.
28666 * math/libm-test.inc (logb_test_data): Add more tests.
28667
28668 2015-02-26 Andreas Schwab <schwab@suse.de>
28669
28670 [BZ #18032]
28671 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28672 over collating symbol inside a bracket expression. Minor cleanup.
28673 * posix/tst-fnmatch3.c (do_test): Add test case.
28674
28675 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28676
28677 [BZ #18029]
28678 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28679 Adjust exponent of power of 2 down when low part has opposite
28680 sign.
28681 * math/libm-test.inc (ilogb_test_data): Add more tests.
28682
28683 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28684
28685 [BZ #15969]
28686 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28687 the previous change.
28688
28689 [BZ #15969]
28690 * locale/findlocale.c (_nl_find_locale): Retry archive search
28691 after alias expansion.
28692
28693 2015-02-25 Roland McGrath <roland@hack.frob.com>
28694
28695 * iconv/tst-iconv3.c (main): Converted to ...
28696 (do_test): ... this.
28697 (TEST_FUNCTION): New macro.
28698 Include test-skeleton.c.
28699
28700 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28701 (convert): Make function static.
28702 (test_unalign): Likewise. Add const to argument pointee types.
28703 (main): Replace with static function do_test.
28704 Print "Succeeded." only if RET is zero.
28705 (TEST_FUNCTION): New macro.
28706 Include test-skeleton.c.
28707
28708 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28709 returns a null pointer.
28710
28711 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28712
28713 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28714 to __memcpy_ppc only for static builds.
28715
28716 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28717
28718 [BZ #18020]
28719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28720 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28721 * math/auto-libm-test-in: Add more tests of asinh.
28722 * math/auto-libm-test-out: Regenerated.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28725
28726 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28727
28728 [BZ #15850]
28729 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28730 and ip6_mtuinfo definitions here.
28731 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28732 in this define too. Update comment.
28733
28734 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28735
28736 * elf/sprof.c (load_shobj): Tweak error message to match others.
28737
28738 2015-02-24 Kevin Easton <kevin@guarana.org>
28739
28740 [BZ #16145] (partial fix)
28741 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28742 to reduce lock contention.
28743
28744 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28745
28746 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28747 (struct timex): Update time comment.
28748 (ADJ_SETOFFSET): Define.
28749
28750 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28751
28752 [BZ #18019]
28753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28754 2**56 not 2**28 as threshold for log (2x) formula.
28755 * math/auto-libm-test-in: Add more tests of acosh.
28756 * math/auto-libm-test-out: Regenerated.
28757 * sysdeps/i386/fpu/libm-test-ulps: Update.
28758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28759
28760 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28761
28762 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28763 parenthesis around the buf assignment.
28764 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28765
28766 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28767
28768 [BZ #16783]
28769 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28770 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28771 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28772 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28773 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28774 * math/libm-test.inc (scalb_test_data): Add more tests.
28775
28776 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28777
28778 [BZ #17916]
28779 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28780 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28781
28782 2015-02-24 Eric Rannaud <e@nanocritical.com>
28783
28784 [BZ #17523]
28785 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28786 * io/bits/fcntl2.h (open): Use it.
28787 (openat): Likewise.
28788 * io/open.c (__libc_open): Likewise.
28789 * io/open64.c (__libc_open64): Likewise.
28790 * io/open64_2.c (__open64_2): Likewise.
28791 * io/open_2.c (__open_2): Likewise.
28792 * io/openat.c (__openat): Likewise.
28793 * io/openat64.c (__openat64): Likewise.
28794 * io/openat64_2.c (__openat64_2): Likewise.
28795 * io/openat_2.c (__openat_2): Likewise.
28796 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28797 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28798 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28799 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28800 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28801 (__open_nocancel): Likewise.
28802 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28803 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28804 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28805
28806 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28807
28808 [BZ #14841]
28809 * resolv/gethnamaddr.c (getanswer): Skip logging if
28810 RES_USE_DNSSEC is set.
28811 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28812
28813 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28814
28815 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28816
28817 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28818
28819 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28820 201304L, for Unicode 7.
28821
28822 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28823
28824 [BZ #17836]
28825 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28826 shared library. Add gmon-start.os otherwise.
28827 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28828 $(objpfx)gmon-start.os if builing shared library.
28829 ($(objpfx)g$(static-start-installed-name)): Likewise.
28830
28831 2015-02-23 Andreas Schwab <schwab@suse.de>
28832
28833 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28834
28835 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28836
28837 [BZ #17269]
28838 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28839 (enlarge_userbuf): Likewise.
28840
28841 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28842
28843 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28844 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28845 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28846 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28847
28848 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28849
28850 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28851 expression inside statement expression.
28852
28853 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28854
28855 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28856 <sysdeps/nptl/lowlevellock.h> and remove macros and
28857 functions that are now defined there.
28858 (SYS_futex): Remove.
28859 (lll_compare_and_swap): Remove.
28860 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28861
28862 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28863
28864 [BZ #17999]
28865 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28866 instead of scandirat.
28867 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28868 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28869 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28870 __scandirat.
28871 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28872 (__scandirat): Declare. Use libc_hidden_proto.
28873 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28874 Remove variable.
28875 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28876
28877 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28878
28879 [BZ #15319]
28880 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28881 (MO): New macro.
28882 (__ieee754_atan2): For results with small absolute value, force
28883 underflow exception and remove excess range and precision from
28884 return value.
28885 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28886 (MO): New macro.
28887 (__ieee754_atan2f): For results with small absolute value, force
28888 underflow exception and remove excess range and precision from
28889 return value.
28890 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28891 (MO): New macro.
28892 (__atan): For results with small absolute value, force underflow
28893 exception and remove excess range and precision from return value.
28894 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28895 (MO): New macro.
28896 (__atanf): For results with small absolute value, force underflow
28897 exception and remove excess range and precision from return value.
28898 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28899 <math.h>.
28900 (__ieee754_atan2): Force underflow exception for results with
28901 small absolute value.
28902 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28903 <math_private.h>.
28904 (atan): Force underflow exception for results with small absolute
28905 value.
28906 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28907 (__atanf): Force underflow exception for results with small
28908 absolute value.
28909 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28910 <math.h>.
28911 (__atanl): Force underflow exception for results with small
28912 absolute value.
28913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28914 (__atanl): Force underflow exception for results with small
28915 absolute value.
28916 * sysdeps/x86/fpu/bits/mathinline.h
28917 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28918 (__ieee754_atan2): Only define inline for long double.
28919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28920 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28921 * math/auto-libm-test-in: Do not mark underflow exceptions as
28922 possibly missing for bug 15319. Add more tests of atan2.
28923 * math/auto-libm-test-out: Regenerated.
28924 * math/libm-test.inc (casin_test_data): Do not mark underflow
28925 exceptions as possibly missing for bug 15319.
28926 (casinh_test_data): Likewise.
28927 * sysdeps/i386/fpu/libm-test-ulps: Update.
28928
28929 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28930
28931 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28932 * sysdeps/mips/bits/endian.h: Fix comments.
28933
28934 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28935
28936 [BZ #17996]
28937 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28938 (hdestroy_r): Likewise.
28939 (hsearch_r): Likewise.
28940 (__hcreate_r): Declare and use libc_hidden_proto.
28941 (__hdestroy_r): Likewise.
28942 (__hsearch_r): Likewise.
28943 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28944 (hcreate): Call __hcreate_r instead of hcreate_r.
28945 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28946 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28947 as weak alias of __hcreate_r.
28948 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28949 __hdestroy_r.
28950 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28951 __hsearch_r.
28952 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28953 Remove variable.
28954 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28955 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28956 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28957 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28958
28959 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28960
28961 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28962 arena_lock into a single arena_get.
28963
28964 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28965
28966 * dl-reloc.c: Inlucde libc-internal.h.
28967 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28968 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28969 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28970 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28971 (grow_heap): Likewise.
28972 * malloc/malloc.c: Include libc-internal.h.
28973 (do_check_malloc): Call powerof2.
28974 (sysmalloc): Use pagesize. Call ALIGN_UP.
28975 (systrim): Use pagesize.
28976 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28977 (__libc_valloc): Use pagesize.
28978 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28979
28980 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28981
28982 [BZ #17991]
28983 * include/sys/resource.h (__getrlimit64): Declare. Use
28984 libc_hidden_proto.
28985 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28986 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28987 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28988 getrlimit64.
28989 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28990 __getrlimit64.
28991 [!getrlimit64] (getrlimit64): Define as weak alias of
28992 __getrlimit64. Use libc_hidden_weak.
28993 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28994 using __getrlimit64 not __new_getrlimit64.
28995 (__GI_getrlimit64): Likewise.
28996 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28997 Likewise.
28998 (__GI_getrlimit64): Likewise.
28999 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29001 (getrlimit): Add __getrlimit64 alias.
29002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29003 Likewise.
29004 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29005 Remove variable.
29006 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29007 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29008
29009 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
29010
29011 * libio/fileops.c: Add missing sys/mman.h
29012 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29013
29014 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29015
29016 * manual/math.texi (Errors in Math Functions): Clarify goals
29017 regarding inexact and underflow exceptions.
29018
29019 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29020
29021 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29022 * sysdeps/mips/memset.S: Ditto.
29023
29024 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29025
29026 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29027
29028 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29029
29030 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29031 (__v1longjmp): Remove versioned symbol.
29032 (__v1siglongjmp): Remove alias and versioned symbol.
29033 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29034 (__v2siglongjmp): Likewise.
29035
29036 2015-02-16 Torvald Riegel <triegel@redhat.com>
29037
29038 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29039
29040 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29041
29042 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29043
29044 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29045
29046 [BZ #17987]
29047 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29048 zero result does not depend on the sign resulting from
29049 subtraction.
29050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29051 Likewise.
29052 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29053 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29055 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29056 * math/libm-test.inc (remquo_test_data): Add more tests.
29057
29058 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29059
29060 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29061 Problem reported by J William Piggott.
29062
29063 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29064
29065 [BZ #17978]
29066 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29067 products 4 * y and 2 * y where those would overflow.
29068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29069 Likewise.
29070 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29071 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29073 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29074 * math/libm-test.inc (remquo_test_data): Add more tests.
29075
29076 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29077
29078 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29079 [defined _COMPILING_NEWLIB].
29080 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29081 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29082
29083 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29084 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29085
29086 2015-02-16 Torvald Riegel <triegel@redhat.com>
29087
29088 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29089 acquired.
29090
29091 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29092
29093 [BZ #17792]
29094 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29095 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29096 HOST_STACK_END_ADDR): Likewise.
29097
29098 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29099
29100 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29101 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29102 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29103
29104 2015-02-13 Roland McGrath <roland@hack.frob.com>
29105
29106 * sysdeps/generic/c++-types.data: New file.
29107 * sysdeps/generic/ld.abilist: New file.
29108 * sysdeps/generic/libBrokenLocale.abilist: New file.
29109 * sysdeps/generic/libanl.abilist: New file.
29110 * sysdeps/generic/libc.abilist: New file.
29111 * sysdeps/generic/libcrypt.abilist: New file.
29112 * sysdeps/generic/libdl.abilist: New file.
29113 * sysdeps/generic/libm.abilist: New file.
29114 * sysdeps/generic/libpthread.abilist: New file.
29115 * sysdeps/generic/libresolv.abilist: New file.
29116 * sysdeps/generic/librt.abilist: New file.
29117
29118 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29119
29120 [BZ #17569]
29121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29122 Compute absolute value of x as modified by fmod, not original
29123 value of x.
29124 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29125 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29126 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29127 RUN_TEST_ffI_f1_mod8.
29128 (remquo_test_data): Add more tests.
29129
29130 2015-02-13 Roland McGrath <roland@hack.frob.com>
29131
29132 * sysdeps/init_array/pt-crti.S: New file.
29133
29134 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29135
29136 [BZ #17967]
29137 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29138 __builtin_fmaf instead of relying on contraction of a * b + c.
29139
29140 2015-02-12 J William Piggott <elseifthen@gmx.com>
29141
29142 [BZ #17969]
29143 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29144 node.
29145
29146 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29147
29148 [BZ #17964]
29149 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29150 __builtin_fma instead of relying on contraction of a * b + c.
29151
29152 2015-02-12 Roland McGrath <roland@hack.frob.com>
29153
29154 * Makeconfig (ASFLAGS): Add -Werror=undef.
29155 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29156 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29157 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29158
29159 * Makeconfig (after-link): New variable.
29160 (+link-pie, +link-pie-tests): Use it.
29161 (+link-static, +link-static-tests): Likewise.
29162 (+link, +link-tests): Likewise.
29163 * Makerules (build-module, build-module-asneeded): Likewise.
29164 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29165 Likewise.
29166 * elf/Makefile ($(objpfx)ld.so): Likewise.
29167
29168 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29169
29170 [BZ #17965]
29171 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29172 both struct timeval and struct timespec.
29173
29174 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29175
29176 [BZ #16560]
29177 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29178 and redefine.
29179 (__ieee754_exp2l): Do not multiply small fractional parts by
29180 M_LN2l.
29181 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29182 small argument.
29183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29184 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29185 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29186 * math/auto-libm-test-in: Add more tests of exp2.
29187 * math/auto-libm-test-out: Regenerated.
29188
29189 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29190
29191 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29192 unaligned path.
29193
29194 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29195
29196 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29197 little endian.
29198
29199 2015-02-12 Andreas Schwab <schwab@suse.de>
29200
29201 [BZ #15790]
29202 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29203 Filter out elision flags from value returned in kind.
29204 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29205 * nptl/tst-pthread-mutexattr.c: New file.
29206
29207 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29208
29209 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29210 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29211 into gnu-gnu, and update comment to refer to abi-tags.
29212
29213 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29214
29215 [BZ #15467]
29216 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29217 (__sincos): Set errno to EDOM for infinite argument.
29218 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29219 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29220 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29221 (__sincosl): Set errno to EDOM for infinite argument.
29222 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29223 (__sincosl): Set errno to EDOM for infinite argument.
29224 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29225 (__sincosl): Set errno to EDOM for infinite argument.
29226 * math/libm-test.inc (sincos_test_data): Test errno setting.
29227
29228 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29229
29230 * string/strxfrm_l.c: Remove #define STRCMP.
29231 * string/strcoll_l.c: Remove #define STRLEN.
29232 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29233 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29234
29235 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29236
29237 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29238 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29239 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29240 * sysdeps/mips/mips64/Makefile: ... here.
29241 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29242 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29243 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29244 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29245 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29246 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29247 * sysdeps/mips/mips64/n64/Implies: Likewise.
29248
29249 2015-02-10 Roland McGrath <roland@hack.frob.com>
29250
29251 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29252 <sys/time.h>, <string.h>, and <errno.h>.
29253 (dest_offset, dest_address, value, zero): Remove unused variables.
29254 (ldouble): Remove typedef.
29255 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29256 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29257 1). Fix code style.
29258 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29259 (check): Function removed.
29260 (CHECK): New macro.
29261 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29262 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29263 Don't call set_sigaction_FP and remove_sigaction_FP here.
29264 (ldouble_test): Just use 'long double' as macro argument, no need for
29265 the 'ldouble' typedef.
29266 (do_test): Set up SIGFPE handler at start, using plain signal rather
29267 than sigaction. Fix code style.
29268
29269 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29270
29271 [BZ #17949]
29272 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29273 jump label.
29274
29275 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29276
29277 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29278 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29279
29280 * sysdeps/powerpc/configure.ac: Remove file.
29281 * sysdeps/powerpc/configure: Likewise.
29282
29283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29284 [sysdep_routines]: Remove wordcopy-power6 object.
29285 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29286 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29287 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29288 (__memmove_ppc32): Likewise.
29289 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29290 file.
29291 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29292 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29293 Remove preprocessor.
29294
29295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29296 [sysdep_routines]: Remove wide chars objects.
29297 [wcsmbs]: New rule for wide char objects.
29298
29299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29300 Remove wordcopy-power6 obejct.
29301 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29302 Use local call for wordcopy and memcpy symbols.
29303 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29304 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29305 implementation for loader.
29306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29307
29308 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29309 Remove wordcopy-power7 object.
29310 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29311 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29312 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29313 (_wordcopy_fwd_dest_aligned): Likewise.
29314 (_wordcopy_bwd_aligned): Likewise.
29315 (_wordcopy_bwd_dest_aligned): Likewise.
29316
29317 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29318 Rewrite to call __memmove_ppc instead of include default
29319 implementation.
29320
29321 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29322 Remove wide chars objects.
29323 [wcsmbs]: New rule for wide char objects.
29324
29325 2015-02-09 Andreas Schwab <schwab@suse.de>
29326
29327 [BZ #17912]
29328 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29329 in terms of __O_DIRECTORY.
29330
29331 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29332
29333 * time/getdate.c: Include <stdbool.h>.
29334 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29335 call PTR_MANGLE.
29336 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29337 PTR_DEMANGLE.
29338
29339 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29340
29341 Add ersatz _Static_assert on older C hosts
29342 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29343 pre-C11 C platform that is not known to support _Static_assert.
29344
29345 2015-02-07 Richard Braun <rbraun@sceen.net>
29346
29347 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29348 sigstate.
29349 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29350
29351 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29352
29353 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29354 priority against unexistent AIO_PRIO_DELTA_MAX.
29355 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29356 instead of int.
29357 * misc/fchflags.c (fchflags): Likewise.
29358 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29359 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29360 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29361 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29362 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29363 Declare macros.
29364 [__USE_MISC] (chflags, fchflags): Declare functions.
29365 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29366 EINVAL when nfds is greater than FD_SETSIZE.
29367 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29368 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29369 45.
29370 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29371 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29372 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29373 MACH_RCV_TIMED_OUT.
29374 * hurd/hurd/signal.h (_hurd_self_sigstate,
29375 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29376 Explicit casts from void *.
29377 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29378 * abi-tags: Rename gnu-gnu os into gnu.
29379
29380 [BZ #4719]
29381 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29382 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29383 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29384 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29385 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29386 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29387
29388 [BZ #17944]
29389 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29390 duplicates ADDR->sun_path with sockaddr LEN limitation.
29391 * sysdeps/mach/hurd/connect.c: Include <string.h>
29392 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29393 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29394 * sysdeps/mach/hurd/sendto.c: Likewise.
29395 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29396 implementing it by hand.
29397
29398 2015-02-06 Roland McGrath <roland@hack.frob.com>
29399
29400 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29401 Use sfi_breg on ldr.
29402 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29403 Likewise.
29404
29405 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29406 it's defined.
29407 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29408 Test SIGSETXID only if it's defined.
29409
29410 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29411
29412 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29413 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29414
29415 * nptl/tst-align2.c: Moved ...
29416 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29417 * nptl/Makefile (tests): Remove tst-align2.
29418 * sysdeps/unix/sysv/linux/Makefile
29419 [$(subdir) = nptl] (tests): Add tst-align-clone.
29420 * nptl/tst-getpid1.c: Moved ...
29421 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29422 * nptl/tst-getpid2.c: Moved ...
29423 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29424 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29425 * sysdeps/unix/sysv/linux/Makefile
29426 [$(subdir) = nptl] (tests): ... here.
29427 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29428 * sysdeps/unix/sysv/linux/Makefile
29429 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29430
29431 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29432 Drop trailing \n from perror argument. Use return rather than exit.
29433
29434 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29435 on [SA_SIGINFO].
29436 * nptl/tst-cancel21.c (do_test): Likewise.
29437 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29438 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29439 [!SA_SIGINFO]: Make it a stub test.
29440
29441 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29442 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29443
29444 * posix/tst-getlogin.c: Move to ...
29445 * login/tst-getlogin.c: ... here.
29446 * posix/Makefile (tests): Move tst-getlogin to ...
29447 * login/Makefile (tests): ... here.
29448
29449 * libio/tst-atime.c (do_test): Move local variables SV and E
29450 inside [ST_NOATIME] conditional.
29451
29452 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29453
29454 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29455
29456 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29457 (wait_code): New function replaces macro.
29458 Call nanosleep rather than syscall.
29459
29460 * nptl/pt-system.c: Rewritten. Put everything under
29461 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29462 Use IFUNC to redirect when possible.
29463
29464 * nptl/pt-longjmp.c: Rewritten. Put everything under
29465 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29466 Use IFUNC to redirect when possible.
29467
29468 * nptl/pt-fork.c: Rewritten. Put everything under
29469 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29470 Use IFUNC to redirect when possible.
29471 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29472
29473 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29474 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29475 unconditionally nowadays. This included the only reference to
29476 __vdso_clock_gettime that appears outside libc proper.
29477 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29478 Remove version set (containing only __vdso_clock_gettime).
29479 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29480 Add attribute_hidden.
29481 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29482 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29483 libc_hidden_data_def.
29484 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29485 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29486
29487 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29488 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29489 setrpcent, and getrpcport to ...
29490 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29491 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29492 getrpcbynumber_r, and getrpcent_r to ...
29493 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29494 * inet/getrpcbyname.c: Moved ...
29495 * sunrpc/getrpcbyname.c: ... here.
29496 * inet/getrpcbyname_r.c: Moved ...
29497 * sunrpc/getrpcbyname_r.c: ... here.
29498 * inet/getrpcbynumber.c: Moved ...
29499 * sunrpc/getrpcbynumber.c: ... here.
29500 * inet/getrpcbynumber_r.c: Moved ...
29501 * sunrpc/getrpcbynumber_r.c: ... here.
29502 * inet/getrpcent.c: Moved ...
29503 * sunrpc/getrpcent.c: ... here.
29504 * inet/getrpcent_r.c: Moved ...
29505 * sunrpc/getrpcent_r.c: ... here.
29506 * inet/Makefile (routines): Move those to ...
29507 * sunrpc/Makefile (routines): ... here.
29508 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29509 the $(subdirs) list.
29510 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29511 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29512 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29513 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29514
29515 * elf/Makefile (routines): Include $(all-dl-routines), not just
29516 $(dl-routines).
29517 (rtld-routines): Likewise. Use = rather than :=.
29518 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29519 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29520 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29521 * sysdeps/arm/Makefile: Likewise.
29522 * sysdeps/i386/Makefile: Likewise.
29523 * sysdeps/x86_64/Makefile: Likewise.
29524 * sysdeps/hppa/Makefile [$(subdir) = elf]
29525 (sysdep_routines, sysdep-rtld-routines): Don't add
29526 $(sysdep-dl-routines) to these.
29527 * sysdeps/ia64/Makefile: Likewise.
29528 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29529 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29530 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29531 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29532 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29533 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29534 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29535 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29536 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29537 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29538 these; sysdep-dl-routines alone is enough.
29539
29540 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29541
29542 [BZ #17932]
29543 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29544 where multiplication results in zero and third argument is finite
29545 and nonzero.
29546 * math/auto-libm-test-in: Add more tests of fma.
29547 * math/auto-libm-test-out: Regenerated.
29548
29549 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29550 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29551 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29552 (_FP_CMP_EQ): Likewise.
29553 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29554
29555 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29556 extra argument CHECK_NAN. Redefine as wrapper around
29557 _FP_EXTEND_CNAN.
29558
29559 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
29560
29561 * version.h (RELEASE): Set to "stable".
29562 (VERSION): Set to "2.21"
29563 * include/features.h (__GLIBC_MINOR__): Set to 21.
29564
29565 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29566
29567 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29568 Paul Eggert <eggert@cs.ucla.edu>
29569
29570 [BZ #16618]
29571 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29572 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29573 size in bytes. Store needed elements in wpmax. Use needed size
29574 in bytes for extend_alloca.
29575
29576 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
29577
29578 * manual/install.texi: Latest tested versions are GCC 4.9.2,
29579 binutls 2.25, and texinfo 5.2.
29580 * INSTALL: Regenerate.
29581 * sysdeps/nios2/configure: Regenerate.
29582 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29583 * manual/contrib.texi: Update.
29584 * po/be.po: Update.
29585 * po/bg.po: Update.
29586 * po/ca.po: Update.
29587 * po/cs.po: Update.
29588 * po/da.po: Update.
29589 * po/de.po: Update.
29590 * po/el.po: Update.
29591 * po/eo.po: Update.
29592 * po/es.po: Update.
29593 * po/fi.po: Update.
29594 * po/fr.po: Update.
29595 * po/gl.po: Update.
29596 * po/hr.po: Update.
29597 * po/hu.po: Update.
29598 * po/ia.po: Update.
29599 * po/id.po: Update.
29600 * po/it.po: Update.
29601 * po/ja.po: Update.
29602 * po/ko.po: Update.
29603 * po/lt.po: Update.
29604 * po/nb.po: Update.
29605 * po/nl.po: Update.
29606 * po/pl.po: Update.
29607 * po/pt_BR.po: Update.
29608 * po/ru.po: Update.
29609 * po/rw.po: Update.
29610 * po/sk.po: Update.
29611 * po/sl.po: Update.
29612 * po/sv.po: Update.
29613 * po/tr.po: Update.
29614 * po/uk.po: Update.
29615 * po/vi.po: Update.
29616 * po/zh_CN.po: Update.
29617 * po/zh_TW.po: Update.
29618
29619 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29620 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29621 * sysdeps/hppa/dl-irel.h: Remove #warning.
29622 * sysdeps/hppa/entry.h: Provide prototype for
29623 __canonicalize_funcptr_for_compare and cast argument.
29624 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29625 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29626 * sysdeps/hppa/sotruss-lib.c: New file.
29627 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29628 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29629 (atomic_compare_and_exchange_bool_acq): Likewise.
29630 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29631 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29632
29633 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29634 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29635 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29636
29637 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29638
29639 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29640 called function in non-PIC case.
29641
29642 2015-01-31 David S. Miller <davem@davemloft.net>
29643
29644 * sysdeps/sparc/sparc32/bits/atomic.h
29645 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29646 unlock not after it.
29647 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29648 volatile register usage warnings from the compiler.
29649
29650 * sysdeps/sparc/nptl/sem_init.c: Delete.
29651 * sysdeps/sparc/nptl/sem_post.c: Delete.
29652 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29653 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29654 * sysdeps/sparc/sparc32/sem_init.c: New file.
29655 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29656 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29657 padding explicitly initialized.
29658 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29659 padding for in-semaphore spinlock.
29660 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29661 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29662 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29663 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29664 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29665 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29666 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29667 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29668 version.
29669 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29670 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29671
29672 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29673
29674 [BZ #17801]
29675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29676 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29677 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29678 New.
29679 (index_AVX_Fast_Unaligned_Load): Likewise.
29680 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29681 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29682 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29683 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29684 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29685 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29686 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29687 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29688 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29689
29690 2015-01-29 Andreas Schwab <schwab@suse.de>
29691
29692 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29693
29694 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29695
29696 [BZ #17892]
29697 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29698
29699 2015-01-28 Martin Sebor <msebor@redhat.com>
29700
29701 * math/README.libm-test: Clarify. Add "How to read the test output."
29702
29703 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29704
29705 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29706 Define to 0.
29707
29708 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29709
29710 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29711 (__HAVE_64B_ATOMICS): Define to 0.
29712
29713 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29714
29715 [BZ #17885]
29716 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29717 value to set as new flag.
29718
29719 [BZ #16576]
29720 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29721 and use _ARCH_PPCSQ instead.
29722 (__ieee754_sqrt): Likewise.
29723 (__ieee754_sqrtf): Likewise.
29724 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29725 _ARCH_PPCSQ is defined.
29726 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29727 fsqrt instruction.
29728 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29729 _ARCH_PPCSQ is defined.
29730 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29731 fsqrts instruction.
29732 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29733
29734 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29735
29736 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29737 bug (GCC BZ #64739).
29738
29739 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29740
29741 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29742 Mark _retval as used.
29743 (lll_futex_wake_unlock): Likewise.
29744 (lll_futex_timed_wait_requeue_pi): Likewise.
29745
29746 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29747 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29748 register variables.
29749
29750 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29751 libm_hidden_def.
29752
29753 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29754 (__bswap_64): Mark as __always_inline.
29755
29756 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29757
29758 [BZ #15378]
29759 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29760 when none of the search directories exist.
29761
29762 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29763
29764 [BZ #17869]
29765 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29766 power8 in .machine directive.
29767
29768 [BZ #17868]
29769 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29770 set dependency from opd value.
29771
29772 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29775 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29776 architecture.
29777
29778 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29779
29780 [BZ #17870]
29781 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29782 with uint64_t.
29783 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29784 (uint64_t) 1.
29785 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29786 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29787 Replace 1UL with (uint64_t) 1.
29788 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29789 int with uint64_t.
29790
29791 2015-01-23 Roland McGrath <roland@hack.frob.com>
29792
29793 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29794 (if_freenameindex): Likewise.
29795
29796 * resource/getrlimit64.c: Add missing libc_hidden_def.
29797
29798 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29799
29800 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29801 __label__.
29802 (_FP_FMA): Likewise.
29803 (_FP_TO_INT_ROUND): Likewise.
29804 (_FP_FROM_INT): Likewise.
29805
29806 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29807
29808 [BZ #16418]
29809 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29810 Make code racy and cancel safe.
29811
29812 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29813
29814 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29815 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29816 attribution.
29817
29818 * pwd/tst-getpw.c: Rewrite.
29819
29820 [BZ #17702]
29821 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29822 (modules-names): Add moddummy1 and moddummy2.
29823 ($(objpfx)tst-rec-dlopen): Define.
29824 * dlfcn/moddummy1.c: New file.
29825 * dlfcn/moddummy2.c: New file.
29826 * dlfcn/tst-rec-dlopen.c: New file.
29827 * elf/dl-cache.c (_dl_load_cache_lookup):
29828 Return char*. Copy result with alloca/strcpy/strdup.
29829 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29830 returns char*. Free cached. If not saving realname
29831 free cached.
29832 * elf/dl-open.c (dl_open_worker): Do not assert that
29833 _r_debug->r_state is RT_CONSISTENT.
29834 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29835 returns char*.
29836
29837 2015-01-21 Torvald Riegel <triegel@redhat.com>
29838 Carlos O'Donell <carlos@redhat.com>
29839
29840 [BZ #12674]
29841 * nptl/sem_waitcommon.c: New file.
29842 * nptl/sem_wait.c: Include sem_waitcommon.c.
29843 (__sem_wait_cleanup, do_futex_wait): Remove.
29844 (__new_sem_wait): Adapt.
29845 (__new_sem_trywait): New function.
29846 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29847 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29848 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29849 (sem_timedwait): Adapt.
29850 * nptl/sem_post.c (__new_sem_post): Adapt.
29851 (futex_wake): New function.
29852 (__old_sem_post): Add release MO fence.
29853 * nptl/sem_open.c (sem_open): Adapt.
29854 * nptl/sem_init.c (__new_sem_init): Adapt.
29855 (futex_private_if_supported): New function.
29856 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29857 (__old_sem_getvalue): Add using previous code.
29858 * sysdeps/nptl/internaltypes.h: Adapt.
29859 * nptl/tst-sem13.c (do_test): Adapt.
29860 * nptl/tst-sem11.c (main): Adapt.
29861 * nptl/sem_trywait.c: Remove.
29862 * nptl/DESIGN-sem.txt: Remove.
29863 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29864 (gen-as-const-headers): Remove structsem.sym.
29865 * nptl/structsem.sym: Remove.
29866 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29867 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29868 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29869 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29870 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29871 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29872 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29873 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29874 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29875 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29876 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29877 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29878 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29879 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29880 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29881 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29882 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29883 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29884 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29885 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29886 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29887 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29888
29889 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29890
29891 * INSTALL: Regenerated.
29892
29893 * po/libc.pot: Regenerated.
29894
29895 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29896 Sandra Loosemore <sandra@codesourcery.com>
29897 Andrew Jenner <andrew@codesourcery.com>
29898 Joseph Myers <joseph@codesourcery.com>
29899 Nathan Sidwell <nathan@codesourcery.com>
29900
29901 * NEWS: Mention new Nios II port.
29902 * sysdeps/nios2/Implies: New file.
29903 * sysdeps/nios2/Makefile: New file.
29904 * sysdeps/nios2/Subdirs: New file.
29905 * sysdeps/nios2/Versions: New file.
29906 * sysdeps/nios2/__longjmp.S: New file.
29907 * sysdeps/nios2/abort-instr.h: New file.
29908 * sysdeps/nios2/backtrace.c: New file.
29909 * sysdeps/nios2/bits/endian.h: New file.
29910 * sysdeps/nios2/bits/fenv.h: New file.
29911 * sysdeps/nios2/bits/link.h: New file.
29912 * sysdeps/nios2/bits/setjmp.h: New file.
29913 * sysdeps/nios2/bsd-_setjmp.S: New file.
29914 * sysdeps/nios2/bsd-setjmp.S: New file.
29915 * sysdeps/nios2/configure: New generated file.
29916 * sysdeps/nios2/configure.ac: New file.
29917 * sysdeps/nios2/crti.S: New file.
29918 * sysdeps/nios2/crtn.S: New file.
29919 * sysdeps/nios2/dl-init.c: New file.
29920 * sysdeps/nios2/dl-machine.h: New file.
29921 * sysdeps/nios2/dl-sysdep.h: New file.
29922 * sysdeps/nios2/dl-tls.h: New file.
29923 * sysdeps/nios2/dl-trampoline.S: New file.
29924 * sysdeps/nios2/gccframe.h: New file.
29925 * sysdeps/nios2/gmp-mparam.h: New file.
29926 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29927 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29928 * sysdeps/nios2/ldsodefs.h: New file.
29929 * sysdeps/nios2/libc-tls.c: New file.
29930 * sysdeps/nios2/libm-test-ulps: New file.
29931 * sysdeps/nios2/machine-gmon.h: New file.
29932 * sysdeps/nios2/math-tests.h: New file.
29933 * sysdeps/nios2/math_private.h: New file.
29934 * sysdeps/nios2/memusage.h: New file.
29935 * sysdeps/nios2/nptl/Makefile: New file.
29936 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29937 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29938 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29939 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29940 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29941 * sysdeps/nios2/nptl/tls.h: New file.
29942 * sysdeps/nios2/preconfigure: New file.
29943 * sysdeps/nios2/s_fma.c: New file.
29944 * sysdeps/nios2/s_fmaf.c: New file.
29945 * sysdeps/nios2/setjmp.S: New file.
29946 * sysdeps/nios2/sfp-machine.h: New file.
29947 * sysdeps/nios2/sotruss-lib.c: New file.
29948 * sysdeps/nios2/stackguard-macros.h: New file.
29949 * sysdeps/nios2/stackinfo.h: New file.
29950 * sysdeps/nios2/start.S: New file.
29951 * sysdeps/nios2/sysdep.h: New file.
29952 * sysdeps/nios2/tls-macros.h: New file.
29953 * sysdeps/nios2/tst-audit.h: New file.
29954 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29955 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29956 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29957 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29958 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29959 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29960 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29961 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29962 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29963 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29964 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29965 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29966 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29967 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29968 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29969 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29970 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29971 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29972 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29973 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29974 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29975 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29976 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29977 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29978 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29979 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29980 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29981 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29982 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29983 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29984 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29985 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29986 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29987 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29988 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29989 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29990 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29991 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29992 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29993 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29994 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29995 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29996 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29997 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29998
29999 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30000
30001 [BZ #17844]
30002 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30003 (getutent): Use weak_alias in non SHARED case
30004 and default_symbol_version in SHARED case.
30005 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30006 (getutent_r, pututline): Likewise.
30007 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30008 (getutid): Likewise.
30009 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30010 (getutid_r): Likewise.
30011 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30012 (getutline): Likewise.
30013 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30014 (getutline_r): Likewise.
30015 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30016 (updwtmp): Likewise.
30017
30018 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30019
30020 [BZ #17848]
30021 * sysdeps/s390/s390-32/memcmp.S
30022 (memcmp_g5): Rename to __memcmp_g5.
30023 * sysdeps/s390/s390-32/memcpy.S
30024 (memcpy_g5): Rename to __memcpy_g5.
30025 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30026 (memcpy_mvcle) Rename to __memcpy_mvcle.
30027 * sysdeps/s390/s390-32/memset.S
30028 (memset_g5): Rename to __memset_g5.
30029 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30030 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30031 and use prefixed functions.
30032 * sysdeps/s390/s390-32/multiarch/memcmp.S
30033 (memcmp_z196): Rename to __memcmp_z196.
30034 (memcmp_z10): Rename to __memcmp_z10.
30035 (memcmp): Set alias to __memcmp_g5.
30036 (bcmp): Set alias to __memcmp_g5.
30037 * sysdeps/s390/s390-32/multiarch/memcpy.S
30038 (memcpy_z196): Rename to __memcpy_z196.
30039 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30040 (memcpy_z10): Rename to __memcpy_z10.
30041 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30042 (memcpy): Set alias to __memcpy_g5.
30043 * sysdeps/s390/s390-32/multiarch/memset.S
30044 (memset_z196): Rename to __memset_z196.
30045 Jump to __memset_mvcle instead of memset_mvcle.
30046 (memset_z10): Rename to __memset_z10.
30047 Jump to __memset_mvcle instead of memset_mvcle.
30048 (memset_mvcle) Rename to __memset_mvcle.
30049 (memset): Set alias to __memset_g5.
30050 * sysdeps/s390/s390-64/memcmp.S
30051 (memcmp_z900): Rename to __memcmp_z900.
30052 * sysdeps/s390/s390-64/memcpy.S
30053 (memcpy_z900): Rename to __memcpy_z900.
30054 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30055 (memcpy_mvcle) Rename to __memcpy_mvcle.
30056 * sysdeps/s390/s390-64/memset.S
30057 (memset_z900): Rename to __memset_z900.
30058 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30059 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30060 and use prefixed functions.
30061 * sysdeps/s390/s390-64/multiarch/memcmp.S
30062 (memcmp_z196): Rename to __memcmp_z196.
30063 (memcmp_z10): Rename to __memcmp_z10.
30064 (memcmp): Set alias to __memcmp_z900.
30065 (bcmp): Set alias to __memcmp_z900.
30066 * sysdeps/s390/s390-64/multiarch/memcpy.S
30067 (memcpy_z196): Rename to __memcpy_z196.
30068 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30069 (memcpy_z10): Rename to __memcpy_z10.
30070 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30071 (memcpy): Set alias to __memcpy_z900.
30072 * sysdeps/s390/s390-64/multiarch/memset.S
30073 (memset_z196): Rename to __memset_z196.
30074 Jump to __memset_mvcle instead of memset_mvcle.
30075 (memset_z10): Rename to __memset_z10.
30076 Jump to __memset_mvcle instead of memset_mvcle.
30077 (memset_mvcle) Rename to __memset_mvcle.
30078 (memset): Set alias to __memset_z900.
30079
30080 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30081
30082 [BZ #17748]
30083 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30084 __fesetenv instead of fesetenv.
30085
30086 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30087
30088 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30089 macro.
30090
30091 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30092
30093 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30094 regression on LE.
30095
30096 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30097 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30099 strncmp-power8 object.
30100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30101 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30102 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30103 * NEWS: Update.
30104
30105 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30106 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30107
30108 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30109 trailing byte check.
30110
30111 2015-01-13 David S. Miller <davem@davemloft.net>
30112
30113 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30114
30115 2015-01-13 Roland McGrath <roland@hack.frob.com>
30116
30117 * login/logout.c (logout): Use memset rather than bzero.
30118 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30119 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30120 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30121 (_gethtbyaddr): Likewise.
30122 * locale/programs/simple-hash.c (bcopy): Macro removed.
30123
30124 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30125
30126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30127 Add strcmp-power8 object.
30128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30129 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30130 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30131 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30132 __strcmp_power8 implementation.
30133 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30134 * NEWS: Update.
30135
30136 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30137 Add strncpy-power8 and stpncpy-power8 objects.
30138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30139 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30140 implementations.
30141 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30142 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30143 __stpncpy_power8 implementation.
30144 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30145 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30146 __strncpy_power8 implementation.
30147 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30148 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30149 * NEWS: Update.
30150
30151 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30152 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30153 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30154
30155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30156 strncat-power8 object.
30157 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30158 __strcat_power8 implementation.
30159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30160 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30161 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30162 optimized strcat for power8.
30163
30164 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30165 strcpy-power8 and stpcpy-power8 objects.
30166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30167 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30168 implementations.
30169 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30170 multiarch stpcpy implementation for POWER8.
30171 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30172 multiarch strcpy implementation for POWER8.
30173 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30174 __strcpy_power8 function.
30175 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30176 stpcpy for POWER8.
30177 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30178 strcpy for POWER8.
30179 * NEWS: Update.
30180
30181 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30182
30183 [BZ #16009]
30184 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30185 weights and rules. Use do_xfrm_cached if data fits in cache,
30186 do_xfrm otherwise. Moved former main loop to...
30187 * (do_xfrm_cached): New function.
30188 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30189 find_idx, find_position and stack_push.
30190 * (find_idx): New function.
30191 * (find_position): Likewise.
30192 * localedata/sort-test.sh: Added test run for do_xfrm.
30193 * localedata/xfrm-test.c (main): Added command line option
30194 -nocache to run the test with strings that are too large for
30195 the STRXFRM cache.
30196
30197 2015-01-13 Torvald Riegel <triegel@redhat.com>
30198
30199 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30200 variable to lll_futex_wake call, not the value itself.
30201
30202 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30203
30204 [BZ #17803]
30205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30206 twom64. Adjust value to 0x1p-64L.
30207 (__scalblnl): Only return standard underflowing result for K <=
30208 -64 not K <= -63; adjust exponent for underflowing result by 64
30209 not 63.
30210 * math/libm-test.inc (scalbn_test_data): Add more tests.
30211 (scalbln_test_data): Likewise.
30212
30213 [BZ #17834]
30214 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30215 0x1p63L.
30216 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30217 not HX.
30218 * math/libm-test.inc (scalbn_test_data): Add more tests.
30219 (scalbln_test_data): Likewise.
30220
30221 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30222 Stefani Seibold <stefani@seibold.net>
30223
30224 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30225 (sysdep_routines): Add dl-vdso here, ...
30226 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30227 (sysdep_routines): ... not here.
30228 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30229 fallback when vDSO is not presented.
30230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30231 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30232 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30233 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30234 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30235 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30236 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30237 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30238 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30240 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30241 fallback configurable symbol when vDSO is not available.
30242 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30243 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30244 be able to redefine fallback symbol when vDSO is not available.
30245 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30246 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30247
30248 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30249
30250 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30251 (TLS_INIT_TP): Add tm_capable initialization.
30252 (TLS_DEFINE_INIT_TP): Likewise.
30253 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30254 TCB.
30255 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30256 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30257 calculation.
30258 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30259 transactoion is lock elision is built and TCB tm_capable is set.
30260 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30262 (INTERNAL_SYSCALL_NCS): Likewise.
30263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30264 (INTERNAL_SYSCALL_NCS): Likewise.
30265 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30266
30267 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30268 for powerpc.
30269 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30270 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30271 and remove it for 32 bits case.
30272 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30274 initialization.
30275 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30276 Disable lock elision with rdlocks if elision is not available.
30277
30278 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30279 (sysdep_routines): Add lock elision objects.
30280 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30281 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30282 [pthread_mutex_t] (__elision): Add field.
30283 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30284 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30285 elision definitions for powerpc.
30286 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30287 implementation of lock elision for powerpc.
30288 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30289 implementation of timed lock elision for powerpc.
30290 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30291 implementation of trylock with lock elision for powerpc.
30292 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30293 implementaion of unlock for lock elision for powerpc.
30294 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30295 automatic enable lock elision for mutexes.
30296 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30297 transaction execution definitions for powerpc.
30298 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30299 definitions.
30300 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30301 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30302 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30303 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30304 * NEWS: Update.
30305
30306 2015-01-09 Roland McGrath <roland@hack.frob.com>
30307
30308 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30309 for #include of <shm-directory.h>.
30310
30311 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30312
30313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30314 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30315
30316 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30317
30318 [BZ #17791]
30319 * NEWS: Mention bug fix.
30320 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30321 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30322 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30323
30324 2015-01-09 Torvald Riegel <triegel@redhat.com>
30325
30326 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30327
30328 2015-01-09 Torvald Riegel <triegel@redhat.com>
30329
30330 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30331
30332 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30333
30334 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30335 pointer and cast to uintptr_t.
30336
30337 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30338
30339 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30340 removed.
30341 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30342
30343 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30344
30345 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30346 of 0.
30347
30348 2015-01-08 Roland McGrath <roland@hack.frob.com>
30349
30350 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30351 <nptl/pthreadP.h> instead.
30352 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30353
30354 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30355 already defined.
30356 [__SIGRTMIN] (init): Function removed.
30357 [__SIGRTMIN] (initialized): Variable removed.
30358 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30359 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30360 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30361 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30362 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30363 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30364 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30365 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30366 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30367 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30368 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30369 * sysdeps/nptl/allocrtsig.c: New file.
30370 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30371 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30372 * sysdeps/generic/testrtsig.h: File removed.
30373
30374 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30375 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30376
30377 * nptl/nptl-init.c (pthread_functions): Conditionalize
30378 .ptr__nptl_setxid initialization on [SIGSETXID].
30379
30380 * sysdeps/nptl/sys/procfs.h: New file.
30381 * nptl_db/Makefile (headers): Add it.
30382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30383
30384 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30385 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30386 * nptl/pthread_attr_setaffinity.c: Include it.
30387 * nptl/pthread_setattr_default_np.c: Likewise.
30388 * nptl/check-cpuset.h: New file.
30389
30390 2015-01-08 Richard Henderson <rth@redhat.com>
30391
30392 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30393 (CFLAGS-tst-execstack-prog.c): Likewise.
30394 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30395
30396 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30397 Sandra Loosemore <sandra@codesourcery.com>
30398 Andrew Jenner <andrew@codesourcery.com>
30399 Joseph Myers <joseph@codesourcery.com>
30400 Nathan Sidwell <nathan@codesourcery.com>
30401
30402 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30403 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30404 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30405 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30406 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30407 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30408 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30409 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30410 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30411 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30412 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30413 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30414 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30415 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30416 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30417 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30418 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30419
30420 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30421
30422 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30423 timespec struct member in syscall macro.
30424 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30425 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30426 first timeval struct member in syscall macro.
30427 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30428
30429 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30430
30431 [BZ #17748]
30432 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30433 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30434 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30435 __feupdateenv and define as weak alias of __feupdateenv. Use
30436 libm_hidden_weak.
30437 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30438 libm_hidden_def.
30439 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30440 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30441 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30442 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30443 libm_hidden_def.
30444 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30445 __feupdateenv and define as weak alias of __feupdateenv. Use
30446 libm_hidden_weak.
30447 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30448 libm_hidden_def.
30449 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30450 __feupdateenv and define as weak alias of __feupdateenv. Use
30451 libm_hidden_weak.
30452 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30453 libm_hidden_def.
30454 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30455 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30456 (__feupdateenv): Likewise.
30457 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30458 __feupdateenv and define as weak alias of __feupdateenv. Use
30459 libm_hidden_weak.
30460 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30461 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30462 libm_hidden_def.
30463 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30464 function.
30465 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30466 libm_hidden_def.
30467 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30468 __feupdateenv instead of feupdateenv.
30469 (default_libc_feupdateenv_test): Likewise.
30470 (libc_feresetround_ctx): Likewise.
30471
30472 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30473
30474 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30475 prototype.
30476
30477 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30478
30479 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30480 COLL_SYM in a couple of places to avoid uninitialized variable
30481 wanings on tilegx gcc 4.8.2.
30482
30483 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30484
30485 * sysdeps/aarch64/strcpy.S: New file.
30486 * sysdeps/aarch64/stpcpy.S: New file.
30487 * NEWS: Updated.
30488
30489 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30490
30491 * sysdeps/aarch64/strrchr.S: New file.
30492 * NEWS: Updated.
30493
30494 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30495
30496 [BZ #17658]
30497 * stdlib/setenv.c: Fix memory leak when setting large,
30498 duplicate string.
30499
30500 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30501
30502 [BZ #17273]
30503 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30504 and tabs from buffer before parsing fstab entry.
30505 * misc/tst-mntent.c (main): Add test for mount entry with
30506 trailing spaces and tabs.
30507
30508 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30509
30510 [BZ #17748]
30511 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30512 * math/fesetround.c (fesetround): Rename to __fesetround and
30513 define as weak alias of __fesetround. Use libm_hidden_weak.
30514 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30515 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30516 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30517 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30518 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30519 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30520 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30521 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30522 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30523 __fesetround_inline.
30524 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30525 __fesetround_inline instead of __fesetround.
30526 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30527 __fesetround and define as weak alias of __fesetround. Use
30528 libm_hidden_weak. Call __fesetround_inline instead of
30529 __fesetround.
30530 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30531 __fesetround and define as weak alias of __fesetround. Use
30532 libm_hidden_weak.
30533 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30534 Likewise.
30535 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30537 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30538 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30539 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30540 __fesetround and define as weak alias of __fesetround. Use
30541 libm_hidden_weak.
30542 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30543 __fesetround instead of fesetround.
30544 (default_libc_feholdexcept_setround): Likewise.
30545 (libc_feholdsetround_ctx): Likewise.
30546 (libc_feholdsetround_noex_ctx): Likewise.
30547
30548 [BZ #17748]
30549 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30550 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30551 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30552 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30553 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30554 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30555 define as weak alias of __fesetenv. Use libm_hidden_weak.
30556 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30557 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30558 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30559 define as weak alias of __fesetenv. Use libm_hidden_weak.
30560 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30561 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30562 define as weak alias of __fesetenv. Use libm_hidden_weak.
30563 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30564 libm_hidden_def.
30565 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30566 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30567 Likewise.
30568 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30569 define as weak alias of __fesetenv. Use libm_hidden_weak.
30570 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30571 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30572 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30573 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30574 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30575 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30576 __fesetenv instead of fesetenv.
30577 (libc_feresetround_noex_ctx): Likewise.
30578 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30579 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30580 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30581 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30582 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30583 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30584 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30585 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30586 (__feupdateenv): Likewise.
30587 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30588 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30589 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30590 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30591
30592 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30593
30594 [BZ #17806]
30595 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30596 addresses have been freed.
30597
30598 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30599
30600 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30601 and nservall.
30602
30603 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30604
30605 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30606 Clean up check_pf allocation pattern. addresses
30607
30608 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30609
30610 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30611 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30612 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30613 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30614 * nptl/pthread_join.c (pthread_join): Likewise.
30615 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30616 * sysdeps/posix/waitid.c (__waitid): Likewise.
30617 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30618 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30619 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30620 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30621 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30622 Likewise.
30623 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30624 (__libc_pread64): Likewise.
30625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30626 (__libc_pwrite): Likewise.
30627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30628 (__libc_pwrite64): Likewsie.
30629 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30630 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30631 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30632 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30633 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30634 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30635 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30637 Likewise.
30638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30639 (__libc_pread64): Likewise.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30641 Likewise.
30642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30643 (__libc_pwrite64): Likewise.
30644 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30645 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30646 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30647 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30648 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30649 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30650 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30651 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30652 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30653 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30654 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30655 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30656 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30657 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30658 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30659 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30660 Likewise.
30661
30662 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30663
30664 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30665 (CFLAGS-test-double.c): Likewise.
30666 (CFLAGS-test-ldouble.c): Likewise.
30667 (CPPFLAGS-test-ifloat.c): Likewise.
30668 (CPPFLAGS-test-idouble.c): Likewise.
30669 (CPPFLAGS-test-ildoubl.c): Likewise.
30670 (CFLAGS-test-test-fenv.c): Remove variable.
30671 (CFLAGS-test-misc.c): Likewise.
30672
30673 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 [BZ #17797]
30676 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30677 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30678 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30679 CLOCKS_PER_SEC == 1000000.
30680 * time/clocktest.c (main): Replace %ld with %jd and cast to
30681 intmax_t.
30682
30683 2015-01-05 Roland McGrath <roland@hack.frob.com>
30684
30685 * sysdeps/generic/unwind-resume.h: New file.
30686 * sysdeps/gnu/unwind-resume.c: Include it.
30687 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30688 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30689 argument list.
30690 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30691 global rather than static.
30692 (_Unwind_Resume): Update user.
30693 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30694 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30695 rather than static. Add __attribute__ ((cold)).
30696 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30697 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30698 * sysdeps/arm/arm-unwind-resume.S: New file.
30699 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30700 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30701 * sysdeps/arm/Makefile [$(subdir) = csu]
30702 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30703 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30704 Add rt-arm-unwind-resume.
30705 [$(subdir) = nptl]
30706 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30707 Add pt-arm-unwind-resume.
30708 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30709 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30710
30711 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30712
30713 [BZ #17748]
30714 * include/fenv.h (__feholdexcept): Declare. Use
30715 libm_hidden_proto.
30716 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30717 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30718 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30719 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30720 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30721 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30722 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30723 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30724 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30725 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30726 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30727 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30728 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30729 (feholdexcept): Likewise.
30730 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30731 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30732 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30733 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30734 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30735 __feholdexcept instead of feholdexcept.
30736 (default_libc_feholdexcept_setround): Likewise.
30737
30738 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30739
30740 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30741 to avoid using stl/str to align destination.
30742
30743 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30744
30745 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30746
30747 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30748
30749 [BZ #17796]
30750 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30751 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30752 Define as weak alias not strong alias.
30753
30754 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30755
30756 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30757 bltzal with addiupc.
30758 (RTLD_START): Ditto.
30759
30760 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30761
30762 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30763 for __vdso_* functions in declarations.
30764 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30765 definitions.
30766 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30767 INTERNAL_VSYSCALL): Use struct return types to check for error.
30768
30769 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30770 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30771 function with cast from llround().
30772 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30773 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30774 Define.
30775
30776 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30777
30778 [BZ #17793]
30779 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30780 Define as weak alias not strong alias.
30781
30782 [BZ #17635]
30783 * ctype/ctype-c99.c: New file. isblank implementation moved from
30784 ...
30785 * ctype/ctype-extn.c: ... here.
30786 (__isblank_l): Move to ...
30787 * ctype/ctype-c99_l.c: ... here. New file.
30788 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30789 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30790 Remove variable.
30791 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30792 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30793 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30794 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30795 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30796
30797 [BZ #17777]
30798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30799 (posix_fadvise64): Define as weak alias not strong alias.
30800 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30801 (posix_fallocate64): Likewise.
30802 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30803 Remove variable.
30804 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30805 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30806 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30807 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30808 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30809
30810 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30811
30812 [BZ #16191]
30813 * NEWS: Mention bug fix.
30814 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30815 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30816 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30817 (HOST_STACK_END_ADDR): Likewise.
30818
30819 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30820
30821 [BZ #17748]
30822 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30823 * math/fegetround.c (fegetround): Rename to __fegetround and
30824 define as weak alias of __fegetround. Use libm_hidden_weak.
30825 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30826 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30827 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30828 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30829 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30830 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30831 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30832 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30833 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30834 Undefine after rather than before function definition; use
30835 parentheses around function name in definition.
30836 (__fegetround): Also undefine macro after function definition.
30837 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30838 __fegetround and define as weak alias of __fegetround. Use
30839 libm_hidden_weak. Do not undefine as macro.
30840 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30841 Likewise.
30842 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30843 __fegetround and define as weak alias of __fegetround. Use
30844 libm_hidden_weak.
30845 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30846 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30847 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30848 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30849 __fegetround and define as weak alias of __fegetround. Use
30850 libm_hidden_weak.
30851 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30852 __fegetround instead of fegetround.
30853
30854 [BZ #17782]
30855 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30856 Condition macro definition on [__USE_MISC].
30857
30858 [BZ #17781]
30859 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30860 (struct sigaction): Change type of sa_flags field to int.
30861
30862 [BZ #17780]
30863 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30864 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30865 __glibc_reserved0.
30866
30867 * nptl/version.c (banner): Use single year in copyright notice.
30868
30869 * NEWS: Update copyright dates.
30870 * catgets/gencat.c (print_version): Likewise.
30871 * csu/version.c (banner): Likewise.
30872 * debug/catchsegv.sh: Likewise.
30873 * debug/pcprofiledump.c (print_version): Likewise.
30874 * debug/xtrace.sh (do_version): Likewise.
30875 * elf/ldconfig.c (print_version): Likewise.
30876 * elf/ldd.bash.in: Likewise.
30877 * elf/pldd.c (print_version): Likewise.
30878 * elf/sotruss.sh: Likewise.
30879 * elf/sprof.c (print_version): Likewise.
30880 * iconv/iconv_prog.c (print_version): Likewise.
30881 * iconv/iconvconfig.c (print_version): Likewise.
30882 * locale/programs/locale.c (print_version): Likewise.
30883 * locale/programs/localedef.c (print_version): Likewise.
30884 * login/programs/pt_chown.c (print_version): Likewise.
30885 * malloc/memusage.sh (do_version): Likewise.
30886 * malloc/memusagestat.c (print_version): Likewise.
30887 * malloc/mtrace.pl: Likewise.
30888 * manual/libc.texinfo: Likewise.
30889 * nptl/version.c (banner): Likewise.
30890 * nscd/nscd.c (print_version): Likewise.
30891 * nss/getent.c (print_version): Likewise.
30892 * nss/makedb.c (print_version): Likewise.
30893 * posix/getconf.c (main): Likewise.
30894 * scripts/test-installation.pl: Likewise.
30895 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30896
30897 2015-01-02 Will Newton <will.newton@linaro.org>
30898
30899 * sysdeps/arm/armv7/configure: Removed.
30900 * sysdeps/arm/armv7/configure.ac: Likewise.
30901
30902 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30903
30904 * All files with FSF copyright notices: Update copyright dates
30905 using scripts/update-copyrights.
30906 * intl/plural.c: Regenerated.
30907 * locale/programs/charmap-kw.h: Likewise.
30908 * locale/programs/locfile-kw.h: Likewise.
30909
30910 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30911
30912 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30913
30914 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30915
30916 [BZ #17748]
30917 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30918 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30919 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30920 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30921 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30922 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30923 define as weak alias of __fegetenv. Use libm_hidden_weak.
30924 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30925 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30926 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30927 define as weak alias of __fegetenv. Use libm_hidden_weak.
30928 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30929 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30930 define as weak alias of __fegetenv. Use libm_hidden_weak.
30931 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30932 libm_hidden_def.
30933 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30934 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30935 Likewise.
30936 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30937 define as weak alias of __fegetenv. Use libm_hidden_weak.
30938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30939 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30940 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30941 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30942 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30943 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30944 __fegetenv instead of fegetenv.
30945 (libc_feholdsetround_noex_ctx): Likewise.
30946
30947 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30948
30949 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30950 (Elf_MIPS_ABIFlags_v0): New structure.
30951 (EF_MIPS_FP64): Define.
30952 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30953 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30954 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30955 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30956 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30957 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30958 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30959 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30960 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30961 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30962 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30963 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30964 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30965 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30966 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30967 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30968 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30969 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30970 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30971 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30972 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30973 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30974 field.
30975 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30976 EF_MIPS_FP64.
30977 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30978 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30979 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30980 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30981 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30982 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30983 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30984 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30985 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30986 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30987 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30988 record the current FP ABI extension.
30989 (mips-mode-switch): Define to show if kernel headers support mode
30990 switching.
30991 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30992 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30993 supported SYSV ABI version to 3.
30994 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30995 feature.
30996
30997 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30998 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30999
31000 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31001 path.
31002 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31003
31004 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31005
31006 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31007 __fegetround and redefine to call __fegetround. Remove condition
31008 on [!__NO_MATH_INLINES].
31009 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31010 function.
31011 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31012 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31013 Remove macro.
31014 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31015 instead of <fenv_libc.h>.
31016 (__llrintl): Call fegetround instead of __fegetround.
31017 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31018 instead of <fenv_libc.h>.
31019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31020 (__lrintl): Call fegetround instead of __fegetround.
31021 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31022 instead of <fenv_libc.h>.
31023 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31024 (__rintl): Call fegetround instead of __fegetround.
31025
31026 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31027
31028 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31029 arrays.
31030
31031 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31032
31033 [BZ #17775]
31034 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31035 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31036 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31037
31038 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31039
31040 * sysdeps/i386/tls-macros.h: Include <features.h>.
31041 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31042 (TLS_IE): Likewise.
31043 (TLS_LD): Likewise.
31044 (TLS_GD): Likewise.
31045 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31046 define for GCC >= 5.0.
31047
31048 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31049
31050 * math/test-fenv.c (test_single_exception, set_single_exc,
31051 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31052 feexcp_mask_test, feenable_test, fe_single_test): Add
31053 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31054 case where they are not used.
31055 * math/libm-test.inc: Likewise.
31056 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31057 unused in the absence of FP rounding/exception support.
31058 * stdio-common/tst-printf-round.c: Likewise.
31059 * stdlib/tst-strtod-round.c: Likewise.
31060 * stdlib/tst-strtod-underflow.c: Likewise.
31061
31062 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31063
31064 [BZ #17723]
31065 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31066 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31067 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31068 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31069 libm_hidden_weak.
31070 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31071 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31072 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31073 libm_hidden_def.
31074 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31075 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31076 libm_hidden_weak.
31077 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31078 Likewise.
31079 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31080 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31081 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31082 libm_hidden_weak.
31083 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31084 libm_hidden_def.
31085 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31086 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31087 (__feraiseexcept): Likewise.
31088 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31089 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31090 libm_hidden_weak.
31091 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31092 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31093 libm_hidden_def.
31094 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31095 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31096 Use libm_hidden_def.
31097 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31098 libm_hidden_def.
31099 (feraiseexcept): Define as weak not strong alias. Use
31100 libm_hidden_weak.
31101 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31102 New inline function. Factored out of ...
31103 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31104 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31105 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31106 feraiseexcept.
31107 * math/w_acos.c (__acos): Likewise.
31108 * math/w_asin.c (__asin): Likewise.
31109 * math/w_ilogb.c (__ilogb): Likewise.
31110 * math/w_j0.c (y0): Likewise.
31111 * math/w_j1.c (y1): Likewise.
31112 * math/w_jn.c (yn): Likewise.
31113 * math/w_log.c (__log): Likewise.
31114 * math/w_log10.c (__log10): Likewise.
31115 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31116 * sysdeps/aarch64/fpu/math_private.h
31117 (libc_feupdateenv_test_aarch64): Likewise.
31118 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31119 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31120 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31121 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31122 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31123 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31124 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31125 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31126 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31127 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31128
31129 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31130
31131 [BZ #17732]
31132 * io/test-utime.c (main): Replace %ld with %jd and cast to
31133 intmax_t.
31134 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31135 * nptl/tst-mutex5.c: Include <stdint.h>.
31136 (do_test): Replace %ld with %jd and cast to intmax_t.
31137 * posix/tst-regex.c (run_test): Likewise.
31138 (run_test_backwards): Likewise.
31139 * rt/tst-clock.c: Include <stdint.h>.
31140 (clock_test): Replace %ld with %jd and cast to intmax_t.
31141 * rt/tst-cpuclock1.c: Include <stdint.h>.
31142 (do_test): Replace %lu with %ju and cast to uintmax_t.
31143 * rt/tst-cpuclock2.c: Include <stdint.h>.
31144 (do_test): Replace %lu with %ju and cast to uintmax_t.
31145 * rt/tst-mqueue1.c: Include <stdint.h>.
31146 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31147 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31148 intmax_t.
31149 * rt/tst-mqueue4.c (do_test): Likewise.
31150 * rt/tst-timer4.c: Include <stdint.h>.
31151 (check_ts): Replace %ld with %jd and cast to intmax_t.
31152 (do_test): Likewise.
31153 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31154 and cast to intmax_t.
31155 * sysdeps/pthread/tst-timer.c (main): Likewise.
31156 * time/clocktest.c (main): Likewise.
31157 * time/tst-posixtz.c (do_test): Likewise.
31158 * timezone/tst-timezone.c (main): Likewise.
31159
31160 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31161 H.J. Lu <hongjiu.lu@intel.com>
31162
31163 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31164 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31165 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31167 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31168 version if bit_Fast_Unaligned_Load is set.
31169 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31170 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31171 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31173 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31174 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31176 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31177 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31178 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31179 to 4.
31180 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31181 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31182 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31183 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31184
31185 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31186
31187 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31188 instead of #if to avoid a Wundef warning.
31189 * stdlib/tst-limits.c (do_test): Likewise.
31190
31191 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31192 parallel other exception macros.
31193 (fegetenv): Convert from macro to extern inline so that it applies
31194 retroactively to inline functions already seen by the compiler.
31195 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31196
31197 * posix/Makefile (before-compile): Use $(objpfx) for
31198 posix-conf-vars-def.h.
31199
31200 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31201
31202 * posix/getconf.c (main): Use size_t for type of I.
31203 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31204 NSPEC.
31205
31206 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31207 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31208 * posix/posix-envs.def: Likewise.
31209 * sysdeps/posix/sysconf.c: Likewise.
31210 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31211 (specs): Remove array.
31212 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31213 array.
31214
31215 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31216 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31217 (__sysconf): Use CONF_IS_* macros.
31218
31219 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31220 ($(objpfx)posix-conf-vars-def.h): New target.
31221 * posix/posix-conf-vars.list: New file.
31222 * posix/posix-conf-vars.h: New file.
31223 * posix/confstr.c: Include posix-conf-vars.h.
31224 (confstr): Use CONF_IS_* macros.
31225 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31226 CONF_IS_* macros.
31227 * scripts/gen-posix-conf-vars.awk: New file.
31228
31229 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31230
31231 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31232 fegetround): Add no-op macros to avoid linknamespace issues.
31233
31234 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31235 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31236
31237 * sysdeps/unix/sysv/linux/tile/sysdep.h
31238 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31239 assembly-specific section to avoid a redefinition warning.
31240
31241 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31242 long before casting to pointer to avoid a cast warning.
31243
31244 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31245
31246 * sysdeps/tile/tilegx/Implies: New file.
31247
31248 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31249
31250 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31251
31252 2014-12-23 Florian Weimer <fweimer@redhat.com>
31253
31254 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31255
31256 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31257
31258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31259 not define.
31260 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31261 <kernel-features.h>.
31262 (__utimes) [__NR_utimes]: Make code unconditional.
31263 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31264 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31265 (__ASSUME_UTIMES): Do not undefine.
31266 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31267 (__ASSUME_UTIMES): Likewise.
31268 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31269 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31270 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31271 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31272
31273 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31274
31275 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31276
31277 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31278
31279 [BZ #17747]
31280 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31281 alias to weak alias for j0l, y0l.
31282 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31283 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31284
31285 [BZ #17746]
31286 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31287 conversion.
31288
31289 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31290
31291 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31292 to zero if not already defined.
31293
31294 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31295
31296 [BZ #17724]
31297 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31298 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31299 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31300 (char *) casts added.
31301 * sysdeps/ieee754/k_standardf.c: New file.
31302 * sysdeps/ieee754/k_standardl.c: Likewise.
31303 * math/Makefile (libm-support): Remove k_standard.
31304 (libm-calls): Add k_standard.
31305
31306 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31307
31308 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31309 Optimize to avoid an unnecessary FPCR read.
31310
31311 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31312
31313 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31314 Optimize to reduce FPCR/FPSR accesses.
31315
31316 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31317
31318 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31319 Call libc_fetestexcept_aarch64.
31320
31321 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31322
31323 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31324 Call libc_fesetround_aarch64.
31325
31326 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31327
31328 [BZ #17733]
31329 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31330 (__bind): Do not define as weak alias.
31331 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31332 define.
31333 (__getsockname): Do not define as weak alias.
31334
31335 2014-12-22 Will Newton <will.newton@linaro.org>
31336
31337 * manual/install.texi: Document that we require bison 2.7
31338 or above.
31339 * INSTALL: Regenerate.
31340 * configure.ac: Use AC_CHECK_PROG_VER instead of
31341 AC_PATH_PROG when checking for bison and check for
31342 version 2.7 or above.
31343 * configure: Regenerate.
31344
31345 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31346
31347 [BZ #17745]
31348 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31349 * sysdeps/tile/ffsll.c (ffsll): To here.
31350
31351 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31352
31353 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31354
31355 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31356 if not defined.
31357 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31358 definition.
31359 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31360 hidden ___tls_get_addr.
31361 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31362 hidden __tls_get_addr.
31363 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31364 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31365 Likewise.
31366
31367 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31368
31369 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31370 _dl_init call.
31371
31372 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31373
31374 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31375 from "call _dl_init@PLT".
31376 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31377
31378 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31379
31380 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31381 guarantees.
31382
31383 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31384
31385 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31386
31387 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31388
31389 [BZ #17744]
31390 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31391 strnlen.
31392
31393 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31394
31395 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31396 of multu on MIPSr6.
31397 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31398 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31399 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31400 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31401 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31402
31403 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31404
31405 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31406 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31407 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31408 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31409 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31410 mips32r6/mips64r6.
31411 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31412
31413 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31414
31415 * string/strncat.c (STRNCAT): Simplify implementation.
31416
31417 2014-12-19 David S. Miller <davem@davemloft.net>
31418
31419 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31420 access the quad as both a long double and as a series of 4 words.
31421
31422 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31423 link_map->l_info array access.
31424
31425 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31426
31427 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31428
31429 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31430 * math/atest-exp2.c (TIMEOUT): Likewise.
31431 * math/atest-sincos.c (TIMEOUT): Likewise.
31432
31433 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31434
31435 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31436 -Wno-error with -fno-builtin-lround.
31437
31438 2014-12-19 Torvald Riegel <triegel@redhat.com>
31439
31440 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31441 Contains futex constants and functions moved over from ...
31442 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31443 <lowlevellock-futex.h>.
31444 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31445 (lll_timedwait_tid): Add comments and parentheses around macro
31446 arguments.
31447
31448 2014-12-19 Torvald Riegel <triegel@redhat.com>
31449
31450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31451 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31452 (__lll_private_flag): Remove.
31453 (lll_futex_wait): Likewise.
31454 (lll_futex_timed_wait): Likewise.
31455 (lll_futex_wake): Likewise.
31456 (lll_futex_requeue): Likewise.
31457 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31458 (__lll_timedwait_tid): Spell out argument names.
31459 (lll_timedwait_tid): Add comments and parentheses around macro
31460 arguments.
31461 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31462 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31463
31464 2014-12-19 Torvald Riegel <triegel@redhat.com>
31465
31466 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31467 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31469 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31470 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31471 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31472 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31473 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31474 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31475 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31476 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31477 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31478 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31479 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31480 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31481 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31482 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31483 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31484 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31485
31486 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31487
31488 * sysdeps/x86_64/x32/Makefile: New file.
31489
31490 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31491
31492 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31493 1L with (mp_limb_t) 1.
31494
31495 2014-12-17 Roland McGrath <roland@hack.frob.com>
31496
31497 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31498 * nptl/libc_pthread_init.c: ... here.
31499 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31500 * nptl/register-atfork.c: ... here.
31501
31502 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31503 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31504 Use assert_perror to check its return value.
31505 (__gai_create_helper_thread): Likewise.
31506
31507 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31508
31509 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31510
31511 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31512
31513 [BZ #17725]
31514 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31515 __profil_counter.
31516 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31517 Likewise.
31518 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31519 Likewise.
31520 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31521 Likewise.
31522 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31523 (profil_counter): Likewise.
31524 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31525 (profil_counter): Likewise.
31526 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31527 Likewise.
31528 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31529 Likewise.
31530 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31531 (profil_counter): Likewise.
31532 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31533 Likewise.
31534 [!__profil_counter] (profil_counter): Define as weak alias of
31535 __profil_counter.
31536 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31537 (profil_counter): Rename to __profil_counter.
31538 [!__profil_counter] (profil_counter): Define as weak alias of
31539 __profil_counter.
31540 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31541 (profil_counter): Rename to __profil_counter.
31542 [!__profil_counter] (profil_counter): Define as weak alias of
31543 __profil_counter.
31544 * sysdeps/posix/profil.c: Update comment referring to
31545 profil_counter.
31546 (__profil): Use __profil_counter instead of profil_counter.
31547 * sysdeps/posix/sprofil.c (profil_counter): Rename to
31548 __profil_counter. Use __profil_counter_ushort and
31549 __profil_counter_uint in definitions.
31550 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31551 instead of profil_counter_uint and profil_counter_ushort.
31552
31553 [BZ #17722]
31554 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31555 define as weak alias of __inet_makeaddr.
31556 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31557 as weak alias of __inet_addr.
31558 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31559 as weak alias of __inet_pton. Use libc_hidden_weak.
31560 * include/arpa/inet.h (__inet_pton): Declare. Use
31561 libc_hidden_proto.
31562 (inet_makeaddr): Don't use libc_hidden_proto.
31563 (__inet_makeaddr): Declare. Use libc_hidden_proto.
31564 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31565 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
31566 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31567 Remove variable.
31568 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31569 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31570
31571 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
31572
31573 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31574
31575 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31576
31577 * stdio-common/bug-vfprintf-nargs.c (do_test):
31578 Cast value to intptr_t to avoid format warning
31579 for usage with PRIdPTR printing macro.
31580
31581 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31582
31583 * libio/tst-widetext.c (do_test):
31584 Use format type %td instead of %Zd for ptrdiff_t
31585 in order to avoid format warning.
31586
31587 2014-12-17 Andreas Schwab <schwab@suse.de>
31588
31589 * nscd/mem.c (gc): Add size_t cast to match printf format.
31590
31591 2014-12-16 Roland McGrath <roland@hack.frob.com>
31592
31593 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31594 (init): Apply PTR_MANGLE to pointers before storing them.
31595 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31596 before using them.
31597
31598 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31599
31600 [BZ #17719]
31601 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31602 define as weak alias of __memrchr.
31603 (__memrchr): Do not define as strong alias of memrchr.
31604 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31605 Remove variable.
31606 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31607 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31608 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31609
31610 [BZ #17717]
31611 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31612 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31613 (if_indextoname): Rename to __if_indextoname and define as weak
31614 alias of __if_indextoname. Use libc_hidden_weak.
31615 (if_freenameindex): Rename to __if_freenameindex and define as
31616 weak alias of __if_freenameindex.
31617 (if_nameindex): Rename to __if_nameindex and define as weak alias
31618 of __if_nameindex.
31619 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31620 __if_nametoindex and define as weak alias of __if_nametoindex.
31621 Use libc_hidden_weak.
31622 (if_freenameindex): Rename to __if_freenameindex and define as
31623 weak alias of __if_freenameindex.
31624 (if_nameindex): Rename to __if_nameindex and define as weak alias
31625 of __if_nameindex.
31626 (if_indextoname): Rename to __if_indextoname and define as weak
31627 alias of __if_indextoname. Use libc_hidden_weak.
31628 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31629 __if_nametoindex and define as weak alias of __if_nametoindex.
31630 Use libc_hidden_weak.
31631 (if_freenameindex): Rename to __if_freenameindex and define as
31632 weak alias of __if_freenameindex. Use libc_hidden_weak.
31633 (if_nameindex_netlink): Use __if_freenameindex instead of
31634 if_freenameindex.
31635 (if_nameindex): Rename to __if_nameindex and define as weak alias
31636 of __if_nameindex. Use libc_hidden_weak.
31637 (if_indextoname): Rename to __if_indextoname and define as weak
31638 alias of __if_indextoname. Use libc_hidden_weak.
31639 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31640 libc_hidden_proto.
31641 [!_ISOMAC] (__if_freenameindex): Likewise.
31642 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31643 if_nametoindex.
31644 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31645 variable.
31646 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31647 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31648 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31649 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31650 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31651 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31652 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31653
31654 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31655 Remove variable.
31656 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31657 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31658
31659 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31660
31661 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31662 subscript above bounds'
31663
31664 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31665 bounds.
31666
31667 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31668
31669 * libio/tst-fopenloc.c: Use test-skeleton.c.
31670
31671 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31672 (entry): Rename to ITEM.
31673 (do_test, comp): Adjust.
31674
31675 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31676
31677 2014-12-16 Torvald Riegel <triegel@redhat.com>
31678
31679 * string/tester.c: Include <libc-internal.h>.
31680 (test_memset): Ignore -Wmemset-transposed-args.
31681
31682 2014-12-16 Torvald Riegel <triegel@redhat.com>
31683
31684 * misc/tst-mntent2.c (do_test): Fix warning.
31685
31686 2014-12-16 Torvald Riegel <triegel@redhat.com>
31687
31688 * elf/tst-unique4lib.cc(a): Mark as used.
31689
31690 2014-12-16 Florian Weimer <fweimer@redhat.com>
31691
31692 [BZ #17630]
31693 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31694 names.
31695
31696 2014-12-16 Allan McRae <allan@archlinux.org>
31697
31698 * stdio-common/Makefile (tests): Re-add bug26.
31699
31700 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31701
31702 [BZ #17657]
31703 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31704 static array.
31705
31706 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31707
31708 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31709 (__lll_lock_wait): Likewise.
31710 (__lll_timedlock_wait): Likewise.
31711 (__lll_timedwait_tid): Likewise.
31712 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31713 (__lll_robust_timedlock_wait): Likewise.
31714 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31715 (lll_cond_trylock): Likewise.
31716 (__lll_lock): Likewise.
31717 (__lll_robust_lock): Likewise.
31718 (__lll_cond_lock): Likewise.
31719 (lll_robust_cond_lock): Likewise.
31720 (__lll_timedlock): Likewise.
31721 (__lll_robust_timedlock): Likewise.
31722 (__lll_unlock): Likewise.
31723 (__lll_robust_unlock): Likewise.
31724 (lll_wait_tid): Likewise.
31725 (lll_timedwait_tid): Likewise.
31726
31727 2014-12-15 Torvald Riegel <triegel@redhat.com>
31728
31729 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31730
31731 2014-12-15 Torvald Riegel <triegel@redhat.com>
31732
31733 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31734
31735 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31736
31737 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31738 * stdio-common/tst-sprintf.c: Likewise.
31739
31740 2014-12-15 Torvald Riegel <triegel@redhat.com>
31741
31742 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31743
31744 2014-12-15 Jeff Law <law@redhat.com>
31745
31746 [BZ #16617]
31747 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31748 on the heap. (CVE-2012-3406)
31749 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31750 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31751 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31752
31753 2014-12-15 Will Newton <will.newton@linaro.org>
31754
31755 * manual/install.texi: Bump required version of texinfo
31756 to 4.7 from 4.5.
31757 * INSTALL: Regenerated.
31758 * configure.ac: Check for makeinfo version 4.7 and above.
31759 * configure: Regenerated.
31760
31761 2014-12-12 Roland McGrath <roland@hack.frob.com>
31762
31763 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31764 PREFIX, string constant to insert between directory and name.
31765 * sysdeps/posix/shm_open.c: Update caller.
31766 * sysdeps/posix/shm_unlink.c: Likewise.
31767 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31768 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31769 (SEM_SHM_PREFIX): New macro.
31770 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31771 [$(have-thread-library) = no].
31772 * nptl/Makefile (libpthread-routines): Add shm-directory.
31773 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31774 * sysdeps/nptl/shm-directory.h: New file.
31775 * sysdeps/posix/shm-directory.c
31776 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31777 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31778 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31779 INTERNAL_SYSCALL.
31780 (__where_is_shmfs): Function removed.
31781 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31782 Variables removed.
31783 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31784 Use SHM_GET_NAME.
31785 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31786
31787 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31788 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31789 unconditional for use inside libpthread.
31790 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31791
31792 2014-12-12 Roland McGrath <roland@hack.frob.com>
31793
31794 * nptl/pthread_getaffinity.c: New file.
31795 * nptl/pthread_setaffinity.c: New file.
31796 * nptl/pthread_getname.c: New file.
31797 * nptl/pthread_setname.c: New file.
31798
31799 * nptl/pthread_create.c (START_THREAD_DEFN)
31800 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31801
31802 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31803 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31804
31805 * resolv/res_send.c (send_vc): Disable warning resplen may
31806 be used uninitialized.
31807
31808 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31809
31810 * nptl/tst-mutex6.c
31811 (ATTR_NULL): New define checks ATTR against NULL.
31812 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31813 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31814
31815 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31816
31817 [BZ #17581]
31818 * malloc/hooks.c
31819 (mem2mem_check): Revert my previous change.
31820 (malloc_check_get_size): Revert my previous change.
31821 (mem2chunk_check): Revert my previous change.
31822
31823 2014-12-11 Roland McGrath <roland@hack.frob.com>
31824
31825 * sysdeps/posix/shm-directory.c: New file.
31826 * sysdeps/posix/shm-directory.h: New file.
31827 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31828 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31829 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31830 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31831 Transmute EPERM to EACCES.
31832 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31833 from ...
31834 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31835 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31836
31837 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31838
31839 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31840 pointer and cast to uintptr_t.
31841 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31842 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31843 Add cast to avoid warning.
31844 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31845
31846 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31847
31848 * nptl/semaphore.h: Move to ...
31849 * sysdeps/pthread/semaphore.h: ... here.
31850 * Makefile (installed-headers): Change nptl/semaphore.h to
31851 sysdeps/pthread/semaphore.h.
31852
31853 2014-12-11 Roland McGrath <roland@hack.frob.com>
31854
31855 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31856 generated error format strings.
31857
31858 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31859 -Wformat-extra-args warnings for scanf formats.
31860 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31861 test of zero-length format (duh).
31862 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31863 corner-case scanf format test.
31864 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31865 generated fprintf format string.
31866 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31867 corner-case sprintf format tests.
31868 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31869 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31870 -Wformat-extra-args warnings throughout.
31871 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31872 (CFLAGS-scanf4.c): Likewise.
31873 (CFLAGS-scanf7.c): Likewise.
31874 (CFLAGS-tst-sprintf.c): Likewise.
31875 (CFLAGS-tst-printf.c): Likewise.
31876 (CFLAGS-tst-printfsz.c): Likewise.
31877
31878 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31879
31880 * include/cpio.h: New file.
31881 * include/fmtmsg.h: Likewise.
31882
31883 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31884 corresponding format argument to size_t.
31885 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31886 arguments.
31887 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31888 corresponding format argument to size_t.
31889 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31890 arguments.
31891 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31892 corresponding format argument to size_t.
31893 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31894 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31895 (CFLAGS-tst-mbswcs2.c): Likewise.
31896 (CFLAGS-tst-mbswcs3.c): Likewise.
31897 (CFLAGS-tst-mbswcs4.c): Likewise.
31898 (CFLAGS-tst-mbswcs5.c): Likewise.
31899 (CFLAGS-tst-trans.c): Likewise.
31900
31901 2014-12-11 Roland McGrath <roland@hack.frob.com>
31902
31903 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31904 rather than assuming they won't contain any '%'s.
31905
31906 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31907
31908 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31909 inhibit_loop_to_libcall to avoid recursive calls.
31910 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31911 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31912
31913 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31914
31915 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31916 prototype.
31917
31918 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31919
31920 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31921 integer value instead of boolean.
31922
31923 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31924
31925 * malloc/malloc.c: Fix powerof2 check.
31926
31927 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31928
31929 * locale/programs/locfile.h (maybe_swap_uint32):
31930 Remove inline and add unused attribute.
31931
31932 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31933
31934 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31935 Truncating assembler expression to a .long expression.
31936
31937 2014-12-11 Andreas Schwab <schwab@suse.de>
31938
31939 * elf/rtld.c (struct map_args): Constify str member.
31940 (do_preload): Constify fname argument.
31941
31942 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31943
31944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31945 constants definition.
31946
31947 2014-12-11 Andreas Schwab <schwab@suse.de>
31948
31949 [BZ #16657]
31950 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31951 FORCE_ELISION instead of DO_ELISION.
31952 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31953 Remove.
31954 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31955 Likewise.
31956
31957 * iconvdata/gconv-modules: Remove duplicate entry.
31958
31959 2014-12-11 Will Newton <will.newton@linaro.org>
31960
31961 Merge gettext 0.19.3 into intl/.
31962
31963 This involves a number of cosmetic changes to comments
31964 and ANSI function definitions and prototypes throughout
31965 all the files. The gettext copyright header is used but
31966 with the date ranges taken from the glibc copy.
31967
31968 * NEWS: Add gettext merge to 2.21.
31969 * intl/bindtextdom.c: Switch to gettext copyright.
31970 Use ANSI definitions and prototypes.
31971 Use gl_* locking primitives rather than __libc_* ones.
31972 Use __builtin_expect rather than __glibc_likely/unlikely.
31973 * intl/dcgettext.c: Switch to gettext copyright.
31974 Use ANSI definitions and prototypes.
31975 * intl/dcigettext.c: Switch to gettext copyright.
31976 Use ANSI definitions and prototypes.
31977 (INTDIV0_RAISES_SIGFPE): New define.
31978 Use gl_* locking primitives rather than __libc_* ones.
31979 Include eval-plural.h instead of plural-eval.c.
31980 Use __builtin_expect rather than __glibc_likely/unlikely.
31981 * intl/dcngettext.c: Switch to gettext copyright.
31982 Use ANSI definitions and prototypes.
31983 * intl/dgettext.c: Likewise.
31984 * intl/dngettext.c: Likewise.
31985 * intl/plural-eval.c: Renamed to...
31986 * intl/eval-plural.h: ...this.
31987 * intl/explodename.c: Switch to gettext copyright.
31988 Use ANSI definitions and prototypes.
31989 (_nl_explode_name): Use strchr instead of __rawmemchr.
31990 * intl/finddomain.c: Switch to gettext copyright.
31991 Use ANSI definitions and prototypes.
31992 Use gl_* locking primitives rather than __libc_* ones.
31993 (_nl_find_domain): Use malloc rather than alloca for
31994 allocation of temporary locale name.
31995 * intl/gettext.c: Switch to gettext copyright.
31996 Use ANSI definitions and prototypes.
31997 * intl/gettextP.h: Switch to gettext copyright.
31998 Use ANSI definitions and prototypes.
31999 Use gl_* locking primitives rather than __libc_* ones.
32000 * intl/gmo.h: Switch to gettext copyright.
32001 (struct sysdep_string): Move struct segment_pair outside of
32002 struct definition.
32003 * intl/hash-string.c: Use ANSI definitions and prototypes.
32004 * intl/hash-string.h: Switch to gettext copyright.
32005 Use ANSI definitions and prototypes.
32006 * intl/l10nflist.c: Switch to gettext copyright.
32007 Use ANSI definitions and prototypes.
32008 (_nl_normalize_codeset): Avoid integer overflow.
32009 * intl/loadinfo.h: Switch to gettext copyright.
32010 Use ANSI definitions and prototypes.
32011 (LIBINTL_DLL_EXPORTED): New define.
32012 (PATH_SEPARATOR): New define.
32013 * intl/loadmsgcat.c: Switch to gettext copyright.
32014 * intl/localealias.c: Switch to gettext copyright.
32015 Use ANSI definitions and prototypes.
32016 (_nl_expand_alias): Use PATH_SEPARATOR.
32017 * intl/ngettext.c: Switch to gettext copyright.
32018 Use ANSI definitions and prototypes.
32019 * intl/plural-exp.c: Likewise.
32020 * intl/plural-exp.h: Switch to gettext copyright.
32021 Use ANSI definitions and prototypes.
32022 (struct expression): Move definition of enum operator outside
32023 of struct definition.
32024 * intl/plural.c: Regenerate.
32025 * intl/plural.y: Switch to gettext copyright.
32026 Use ANSI definitions and prototypes.
32027 Port to bison 3.0.
32028 * intl/textdomain.c: Switch to gettext copyright.
32029 Use ANSI definitions and prototypes.
32030 Use gl_* locking primitives rather than __libc_* ones.
32031
32032 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32033
32034 * debug/warning-nop.c: Add used atrribute.
32035
32036 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32037
32038 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32039
32040 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32041 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32042 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32043
32044 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32045 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32046
32047 [BZ #17634]
32048 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32049 Undefine after defining function. Define as weak alias of
32050 __wcschr. Use libc_hidden_weak.
32051 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32052 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32053 (libc_hidden_def): Also define __GI___wcschr alias.
32054 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32055 __wcschr and define as weak alias of __wcschr.
32056 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32057 __wcschr.
32058 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32059 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32060 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32061 libc_hidden_weak. Do not use libc_hidden_def.
32062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32063 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32064 __GI___wcschr alias.
32065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32066 [IS_IN (libc)] (wcschr): Define as macro expanding to
32067 __redirect_wcschr.
32068 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32069 [IS_IN (libc)] (__wcschr_power6): Likewise.
32070 [IS_IN (libc)] (__wcschr_power7): Likewise.
32071 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32072 instead of wcschr.
32073 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32074 __libc_wcschr.
32075 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32076 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32077 __wcschr and define as weak alias of __wcschr. Use
32078 libc_hidden_builtin_def.
32079 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32080 as weak alias of __wcschr. Use libc_hidden_weak.
32081 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32082 wcschr.
32083 * time/era.c (_nl_init_era_entries): Likewise.
32084 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32085 variable.
32086 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32087 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32088
32089 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32090
32091 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32092 format for long int variable.
32093
32094 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32095
32096 [BZ #10672]
32097 * manual/search.texi: (Array Sort Function): Remove claim how to make
32098 qsort stable.
32099
32100 2014-12-10 Andreas Schwab <schwab@suse.de>
32101
32102 [BZ #12847]
32103 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32104 user-controlled locks.
32105
32106 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32107
32108 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32109 register.
32110
32111 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32112
32113 * configure.ac (--disable-werror): New configure option.
32114 (enable_werror): New AC_SUBST.
32115 * configure: Regenerated.
32116 * config.make.in (enable-werror): New variable.
32117 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32118 -Wno-error=undef.
32119 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32120 * manual/install.texi (Configuring and compiling): Document
32121 --disable-werror.
32122 * INSTALL: Regenerated.
32123 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32124 (CFLAGS-tst-chk2.c): Likewise.
32125 (CFLAGS-tst-chk3.c): Likewise.
32126 (CFLAGS-tst-chk4.cc): Likewise.
32127 (CFLAGS-tst-chk5.cc): Likewise.
32128 (CFLAGS-tst-chk6.cc): Likewise.
32129 (CFLAGS-tst-lfschk1.c): Likewise.
32130 (CFLAGS-tst-lfschk2.c): Likewise.
32131 (CFLAGS-tst-lfschk3.c): Likewise.
32132 (CFLAGS-tst-lfschk4.cc): Likewise.
32133 (CFLAGS-tst-lfschk5.cc): Likewise.
32134 (CFLAGS-tst-lfschk6.cc): Likewise.
32135
32136 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32137 (main): Disable -Wdeprecated-declarations around calls to
32138 register_printf_function.
32139
32140 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32141 (do_test): Disable -Wdiv-by-zero around some calls to
32142 fwrite_unlocked and fread_unlocked.
32143
32144 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32145 (DIAG_POP_NEEDS_COMMENT): Likewise.
32146 (_DIAG_STR1): Likewise.
32147 (_DIAG_STR): Likewise.
32148 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32149 * stdio-common/bug21.c: Include <libc-internal.h>.
32150 (do_test): Disable -Wformat around call to sscanf.
32151 * stdio-common/scanf14.c: Include <libc-internal.h>.
32152 (main): Disable -Wformat around some calls to scanf functions.
32153
32154 2014-12-09 Torvald Riegel <triegel@redhat.com>
32155
32156 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32157
32158 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32159
32160 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32161 stack variable alignment.
32162
32163 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32164
32165 [BZ #17682]
32166 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32167 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32168 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32169 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32170 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32171 __getrlimit instead of getrlimit.
32172 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32173 __gettimeofday instead of gettimeofday.
32174 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32175 Likewise.
32176 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32177 Likewise.
32178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32179 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32180 Remove variable.
32181 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32182 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32183
32184 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32185
32186 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32187 for wide-character tests.
32188
32189 2014-12-04 Roland McGrath <roland@hack.frob.com>
32190
32191 * io/openat64.c: #include <libc-internal.h>
32192 (__openat64): Prototypify. Use ignore_value on MODE.
32193 * io/openat.c: Likewise.
32194 * misc/reboot.c: #include <libc-internal.h>
32195 (reboot): Prototypify. Use ignore_value on HOWTO.
32196 * misc/ptrace.c: #include <libc-internal.h>
32197 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32198
32199 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32200
32201 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32202 XPG4, UNIX98 and XOPEN2K.
32203 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32204 Remove variable.
32205 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32206
32207 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32208
32209 * libio/fileops.c: Use ISO C style for function definitions.
32210 * libio/iofopen.c: Likewise.
32211 * libio/wfileops.c: Likewise.
32212
32213 [BZ #17653]
32214 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32215 offset on EOF.
32216 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32217 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32218 (fgets_func): Function pointer to fgets and fgetws.
32219 (do_ftell_test): Add test to verify ftell value after read
32220 EOF.
32221 (do_test): Set fgets_func.
32222
32223 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32224 O_TRUNC flag for w and w+ modes.
32225 (do_rewind_test): Likewise.
32226 (do_ftell_test): Likewise.
32227 (do_write_test): Likewise.
32228
32229 [BZ #17647]
32230 * libio/fileops.c (do_ftell): Seek only when there are
32231 unflushed writes.
32232 * libio/wfileops.c (do_ftell_wide): Likewise.
32233 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32234 test case.
32235 (do_one_test): Call it.
32236
32237 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32238
32239 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32240 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32241 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32242 Remove variable.
32243 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32244 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32245 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32246
32247 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32248
32249 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32250 Remove variable.
32251 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32252
32253 [BZ #17668]
32254 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32255 as weak alias of __getifaddrs. Use libc_hidden_weak.
32256 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32257 __freeifaddrs. Use libc_hidden_weak.
32258 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32259 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32260 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32261 __freeifaddrs. Use libc_hidden_weak.
32262 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32263 __getifaddrs and define as weak alias of __getifaddrs. Use
32264 libc_hidden_weak.
32265 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32266 __freeifaddrs. Use libc_hidden_weak.
32267 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32268 Remove variable.
32269 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32270 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32271
32272 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32273
32274 [BZ #17601]
32275 * sysdeps/mips/start.S (__start): Use indirect jump to call
32276 __libc_start_main.
32277
32278 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32279
32280 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32281
32282 * nptl/tst-mutex1.c: Include <stdbool.h>.
32283 [!ATTR] (ATTR_NULL): New macro.
32284 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32285 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32286 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32287
32288 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32289 to char *.
32290
32291 [BZ #17665]
32292 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32293 Change conditional to [__USE_MISC].
32294
32295 [BZ #17664]
32296 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32297 fgets_unlocked.
32298 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32299 __fgets_unlocked.
32300 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32301 fgets_unlocked.
32302 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32303 Remove variable.
32304 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32305 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32306 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32307 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32308 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32309 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32310 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32311 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32312 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32313
32314 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32315
32316 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32317
32318 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32319 Remove strpbrk objects.
32320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32321 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32322 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32323 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32324 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32325 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32326
32327 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32328 Remove strcspn objects.
32329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32330 (__libc_ifunc_impl_list): Remove strcspn implementation.
32331 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32332 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32333 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32334 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32335
32336 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32337 Remove strspn objetcs.
32338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32339 (__libc_ifunc_impl_list): Remove strspn implementation.
32340 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32341 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32342 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32343 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32344
32345 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32346
32347 [BZ #17581]
32348 * malloc/hooks.c
32349 (mem2mem_check): Add a terminator to the chain of checking blocks.
32350 (malloc_check_get_size): Use it here.
32351 (mem2chunk_check): Ditto.
32352
32353 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32354
32355 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32356 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32357
32358 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32359
32360 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32361
32362 * nptl/nptl-init.c: Include libc-internal.h.
32363 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32364
32365 * elf/ldconfig.c (search_dir): Expand comment.
32366
32367 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32368
32369 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32370 variable.
32371 (linknamespace-symlist-stdlibs-tests): Likewise.
32372 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32373 instead of $(objpfx)symlist-stdlibs.
32374 (linknamespace-libs-isoc): New variable.
32375 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32376 (linknamespace-libs-ISO): New variable.
32377 (linknamespace-libs-ISO99): Likewise.
32378 (linknamespace-libs-ISO11): Likewise.
32379 (linknamespace-libs-XPG3): Likewise.
32380 (linknamespace-libs-XPG4): Likewise.
32381 (linknamespace-libs-POSIX): Likewise.
32382 (linknamespace-libs-UNIX98): Likewise.
32383 (linknamespace-libs-XOPEN2K): Likewise.
32384 (linknamespace-libs-POSIX2008): Likewise.
32385 (linknamespace-libs-XOPEN2K8): Likewise.
32386 ($(objpfx)symlist-stdlibs): Replace by
32387 $(linknamespace-symlist-stdlibs-tests). Use
32388 $(linknamespace-libs-$*) as set of libraries.
32389 ($(linknamespace-header-tests)): Update dependencies. Use
32390 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32391 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32392 * conform/linknamespace.pl: Remove comment about considering
32393 definitions of symbols from irrelevant libraries.
32394
32395 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32396
32397 [BZ #13862]
32398 * elf/dl-tls.c: Include <atomic.h>.
32399 (oom): Remove #ifdef SHARED/#endif.
32400 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32401 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32402 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32403 big enough.
32404 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32405 * nptl/Makefile (tests): Add tst-stack4.
32406 (modules-names): Add tst-stack4mod.
32407 ($(objpfx)tst-stack4): New.
32408 (tst-stack4mod.sos): Likewise.
32409 ($(objpfx)tst-stack4.out): Likewise.
32410 ($(tst-stack4mod.sos)): Likewise.
32411 (clean): Likewise.
32412 * nptl/tst-stack4.c: New file.
32413 * nptl/tst-stack4mod.c: Likewise.
32414
32415 2014-11-27 J. Brown <jb999@gmx.de>
32416
32417 * sysdeps/x86/bits/string.h: Add recent CPUs.
32418
32419 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32420
32421 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32422 sigblock.
32423
32424 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32425 feof.
32426
32427 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32428 variable.
32429
32430 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32431
32432 * nscd/connections.c: Include libc-internal.h because of macro
32433 usage ignore_value.
32434
32435 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32436
32437 * string/bits/string3.h (__warn_memset_zero_len): Don't
32438 declare for gcc newer than 5.0.
32439 (memset): Don't test for zero-length __LEN for gcc newer than
32440 5.0.
32441
32442 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32443
32444 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32445 size_t for %zu format.
32446
32447 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32448 difference, not %ju.
32449
32450 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32451
32452 * include/libc-internal.h (ignore_value): New macro.
32453 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32454 with ignore_value.
32455
32456 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32457 definition.
32458
32459 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32460 pthread_cleanup_push to void *.
32461
32462 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32463 Undefine.
32464
32465 [BZ #16619]
32466 [BZ #16740]
32467 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32468 instead of 1L << 52.
32469
32470 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32471 * libio/bug-rewind2.c (do_test): Likewise.
32472
32473 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32474 * debug/test-strcpy_chk-ifunc.c: Likewise.
32475 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32476 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32477 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32478 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32479 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32480 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32481 * Rules [$(multi-arch) = no] (tests): Do not filter out
32482 $(tests-ifunc).
32483 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32484 * debug/Makefile (tests-ifunc): Remove variable.
32485 (tests): Do not add $(tests-ifunc).
32486 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32487 (tests): Do not add $(tests-ifunc).
32488 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32489 [TEST_IFUNC]: Remove conditionals.
32490 * string/test-string.h (TEST_IFUNC): Remove macro.
32491 [TEST_IFUNC]: Remove conditionals.
32492
32493 * string/test-strchr.c [!WIDE] (L): New macro.
32494 [WIDE] (L): Likewise.
32495 (check1): Use CHAR instead of char. Use L on string and character
32496 constants.
32497
32498 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32499
32500 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32501 tests.
32502 * sysdeps/powerpc/bits/atomic.h
32503 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32504 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32505 (atomic_exchange_and_add_acq): Likewise.
32506 (atomic_exchange_and_add_rel): Likewise.
32507 * sysdeps/powerpc/powerpc32/bits/atomic.h
32508 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32509 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32510 * sysdeps/powerpc/powerpc64/bits/atomic.h
32511 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32512 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32513
32514 2014-11-26 Torvald Riegel <triegel@redhat.com>
32515
32516 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32517 Change synchronization of __sched_fifo_min_prio and
32518 __sched_fifo_max_prio.
32519 * nptl/pthread_mutexattr_getprioceiling.c
32520 (pthread_mutexattr_getprioceiling): Likewise.
32521 * nptl/pthread_mutexattr_setprioceiling.c
32522 (pthread_mutexattr_setprioceiling): Likewise.
32523 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32524 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32525 Likewise.
32526
32527 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32528
32529 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32530 void.
32531
32532 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32533
32534 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32535 third argument const.
32536
32537 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32538
32539 fnmatch: work around GCC compiler warning bug with uninit var
32540 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32541 This works around a bug with x86-64 GCC 4.9.2 and earlier
32542 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32543 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32544 used uninitialized in this function [-Wmaybe-uninitialized]".
32545
32546 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32547
32548 * posix/bug-regex31.c (main): Return RES not 0.
32549
32550 2014-11-25 Anton Blanchard <anton@samba.org>
32551
32552 * sysdeps/powerpc/bits/atomic.h
32553 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32554
32555 2014-11-24 Sterling Augustine <saugustine@google.com>
32556
32557 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32558
32559 2014-11-24 Ryan Cumming <etaoins@gmail.com>
32560
32561 [BZ #17608]
32562 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32563
32564 2014-11-24 Joseph Myers <joseph@codesourcery.com>
32565
32566 [BZ #17633]
32567 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32568 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32569 variable.
32570 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32571 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32572
32573 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32574
32575 * string/strncpy.c (strncpy): Improve performance by using memset.
32576
32577 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32578
32579 * string/strcpy.c (strcpy):
32580 Improve performance by using strlen and memcpy.
32581
32582 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32583
32584 * string/strcoll_l.c (get_next_seq): __always_inline.
32585 * string/strcoll_l.c (do_compare): __always_inline.
32586
32587 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32588
32589 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32590 defined.
32591 * include/mqueue.h: Likewise.
32592 * include/stdlib.h: Likewise.
32593
32594 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32595 (get_null_defines): Adjust.
32596 * sunrpc/Makefile: Adjust comment.
32597 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32598 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32599 (CFLAGS-interp.c): Likewise.
32600 (CFLAGS-ldconfig.c): Likewise.
32601 (CPPFLAGS-.os): Likewise.
32602 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32603 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32604 * extra-modules.mk (extra-modules.mk): Likewise.
32605 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32606 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32607 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32608 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32609 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32610 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32611 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32612 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32613 * iconvdata/Makefile (CPPFLAGS): Likewise.
32614 (cpp-srcs-left): Add libof for all iconvdata routines.
32615 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32616 * include/assert.h: Likewise.
32617 * include/ctype.h: Likewise.
32618 * include/errno.h: Likewise.
32619 * include/libc-symbols.h: Likewise.
32620 * include/math.h: Likewise.
32621 * include/netdb.h: Likewise.
32622 * include/resolv.h: Likewise.
32623 * include/stdio.h: Likewise.
32624 * include/stdlib.h: Likewise.
32625 * include/string.h: Likewise.
32626 * include/sys/stat.h: Likewise.
32627 * include/wctype.h: Likewise.
32628 * intl/l10nflist.c: Likewise.
32629 * libidn/idn-stub.c: Likewise.
32630 * libio/libioP.h: Likewise.
32631 * nptl/libc_multiple_threads.c: Likewise.
32632 * nptl/pthreadP.h: Likewise.
32633 * posix/regex_internal.h: Likewise.
32634 * resolv/res_hconf.c: Likewise.
32635 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32636 * sysdeps/arm/memmove.S: Likewise.
32637 * sysdeps/arm/sysdep.h: Likewise.
32638 * sysdeps/generic/_itoa.h: Likewise.
32639 * sysdeps/generic/symbol-hacks.h: Likewise.
32640 * sysdeps/gnu/errlist.awk: Likewise.
32641 * sysdeps/gnu/errlist.c: Likewise.
32642 * sysdeps/i386/i586/memcpy.S: Likewise.
32643 * sysdeps/i386/i586/memset.S: Likewise.
32644 * sysdeps/i386/i686/memcpy.S: Likewise.
32645 * sysdeps/i386/i686/memmove.S: Likewise.
32646 * sysdeps/i386/i686/mempcpy.S: Likewise.
32647 * sysdeps/i386/i686/memset.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32664 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32665 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32666 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32667 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32668 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32669 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32670 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32671 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32672 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32674 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32675 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32677 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32684 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32685 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32686 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32687 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32688 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32689 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32691 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32692 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32693 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32694 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32695 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32696 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32697 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32698 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32699 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32700 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32701 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32702 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32703 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32704 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32705 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32706 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32707 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32709 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32710 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32711 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32712 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32713 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32714 * sysdeps/posix/closedir.c: Likewise.
32715 * sysdeps/posix/opendir.c: Likewise.
32716 * sysdeps/posix/readdir.c: Likewise.
32717 * sysdeps/posix/rewinddir.c: Likewise.
32718 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32719 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32720 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32721 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32722 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32723 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32724 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32729 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32730 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32731 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32732 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32733 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32734 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32735 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32736 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32737 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32739 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32740 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32741 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32742 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32743 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32744 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32746 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32753 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32754 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32755 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32756 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32757 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32758 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32759 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32760 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32761 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32762 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32763 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32764 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32765 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32766 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32767 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32768 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32769 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32770 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32771 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32772 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32773 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32774 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32775 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32776 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32777 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32778 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32779 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32780 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32781 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32782 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32783 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32784 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32785 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32786 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32787 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32789 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32790 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32791 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32792 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32793 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32794 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32795 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32796 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32797 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32798 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32799 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32800 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32802 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32804 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32805 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32806 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32807 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32808 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32809 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32810 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32811 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32812 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32813 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32814 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32816 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32817 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32819 * sysdeps/unix/alpha/sysdep.S: Likewise.
32820 * sysdeps/unix/alpha/sysdep.h: Likewise.
32821 * sysdeps/unix/make-syscalls.sh: Likewise.
32822 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32823 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32824 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32825 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32826 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32827 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32828 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32829 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32830 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32831 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32832 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32833 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32834 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32835 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32836 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32837 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32838 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32839 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32840 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32841 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32842 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32843 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32844 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32845 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32846 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32847 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32848 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32851 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32852 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32856 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32860 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32861 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32862 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32863 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32864 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32865 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32866 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32869 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32872 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32873 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32874 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32875 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32876 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32877 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32878 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32880 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32881 * sysdeps/x86_64/memcpy.S: Likewise.
32882 * sysdeps/x86_64/memmove.c: Likewise.
32883 * sysdeps/x86_64/memset.S: Likewise.
32884 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32886 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32887 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32888 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32891 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32892 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32893 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32894 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32895 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32896 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32899 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32900 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32901 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32903 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32904 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32905 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32906 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32908 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32909 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32910 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32911 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32912 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32913 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32914 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32915 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32916 * sysdeps/x86_64/strcmp.S: Likewise.
32917
32918 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32919
32920 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32921 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32922 * elf/rtld-Rules: Likewise.
32923 * elf/setup-vdso.h: Likewise.
32924 * include/assert.h: Likewise.
32925 * include/bits/stdlib-float.h: Likewise.
32926 * include/errno.h: Likewise.
32927 * include/sys/stat.h: Likewise.
32928 * include/unistd.h: Likewise.
32929 * sysdeps/aarch64/setjmp.S: Likewise.
32930 * sysdeps/alpha/setjmp.S: Likewise.
32931 * sysdeps/arm/__longjmp.S: Likewise.
32932 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32933 * sysdeps/arm/setjmp.S: Likewise.
32934 * sysdeps/arm/sysdep.h: Likewise.
32935 * sysdeps/generic/_itoa.h: Likewise.
32936 * sysdeps/generic/dl-sysdep.h: Likewise.
32937 * sysdeps/generic/ldsodefs.h: Likewise.
32938 * sysdeps/i386/dl-tls.h: Likewise.
32939 * sysdeps/i386/setjmp.S: Likewise.
32940 * sysdeps/m68k/setjmp.c: Likewise.
32941 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32942 * sysdeps/mach/hurd/opendir.c: Likewise.
32943 * sysdeps/posix/getcwd.c: Likewise.
32944 * sysdeps/posix/opendir.c: Likewise.
32945 * sysdeps/posix/profil.c: Likewise.
32946 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32947 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32948 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32949 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32950 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32951 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32952 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32953 * sysdeps/s390/dl-tls.h: Likewise.
32954 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32955 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32956 * sysdeps/sh/sh3/setjmp.S: Likewise.
32957 * sysdeps/sh/sh4/setjmp.S: Likewise.
32958 * sysdeps/unix/alpha/sysdep.h: Likewise.
32959 * sysdeps/unix/arm/sysdep.S: Likewise.
32960 * sysdeps/unix/i386/sysdep.S: Likewise.
32961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32962 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32963 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32964 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32966 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32967 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32968 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32969 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32970 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32971 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32972 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32973 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32976 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32979 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32980 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32981 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32984 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32985 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32986 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32988 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32989 * sysdeps/x86_64/setjmp.S: Likewise.
32990
32991 * include/math.h: Use IS_IN instead of IS_IN_libm.
32992 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32993 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32994 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32995 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32996 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32997 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32999 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33000 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33001 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33002 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33003 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33004 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33005 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33006 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33007 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33008 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33009 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33010 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33011 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33012 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33013 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33014 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33015 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33016 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33017 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33018 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33019 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33020 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33021 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33022 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33023 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33024 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33026 Likewise.
33027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33028 Likewise.
33029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33030 Likewise.
33031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33032 Likewise.
33033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33034 Likewise.
33035 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33036 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33037 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33038 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33039 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33040 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33046 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33047 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33048 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33049 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33050 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33051 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33052 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33053 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33054 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33055 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33056 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33057 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33058 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33059 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33061 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33062
33063 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33064 * nptl/pthreadP.h: Likewise.
33065 * nptl_db/structs.def: Likewise.
33066 * sysdeps/arm/sysdep.h: Likewise.
33067 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33068 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33069 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33070 * sysdeps/unix/alpha/sysdep.h: Likewise.
33071 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33072 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33073 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33074 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33075 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33076 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33078 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33079 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33080 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33081 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33082 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33083 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33084 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33089 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33092 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33093 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33094 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33095 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33096 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33097
33098 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33099 * nptl/pthreadP.h: Likewise.
33100 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33101 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33102 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33103 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33104 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33105 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33106 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33107 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33108 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33109 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33110 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33111 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33113 Likewise.
33114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33115 Likewise.
33116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33118 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33121 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33122 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33123 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33124
33125 * dlfcn/dladdr.c: Use IS_IN.
33126 * dlfcn/dladdr1.c: Likewise.
33127 * dlfcn/dlclose.c: Likewise.
33128 * dlfcn/dlerror.c: Likewise.
33129 * dlfcn/dlinfo.c: Likewise.
33130 * dlfcn/dlmopen.c: Likewise.
33131 * dlfcn/dlopen.c: Likewise.
33132 * dlfcn/dlsym.c: Likewise.
33133 * dlfcn/dlvsym.c: Likewise.
33134
33135 * include/ifaddrs.h: Use IS_IN.
33136 * inet/check_pf.c: Likewise.
33137 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33138 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33139
33140 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33141 IS_IN_ldconfig.
33142 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33143 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33144
33145 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33146 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33147 IS_IN (libc).
33148
33149 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33150
33151 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33152 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33153 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33154 * include/libc-symbols.h (IS_IN_LIB): New macro.
33155 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33156 * include/netdb.h: Likewise.
33157 * include/stap-probe.h: Remove all uses of IN_LIB.
33158
33159 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33160 instead of IN_MODULE.
33161 * include/libc-symbols.h (IN_MODULE): Define using
33162 MODULE_NAME.
33163 (PASTE_NAME, PASTE_NAME1): New macros.
33164 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33165 of IN_LIB.
33166 (STAP_PROBE_ASM): Likewise.
33167
33168 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33169
33170 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33171 __mach_init in dlopened libc.
33172
33173 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33174
33175 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33176 * sysdeps/arm/preconfigure: Regenerate.
33177
33178 2014-11-21 Roland McGrath <roland@hack.frob.com>
33179
33180 * nptl/pthread_create.c (__pthread_create_2_1): Set
33181 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33182 when copying values from IATTR into PD.
33183
33184 2014-11-21 Will Newton <will.newton@linaro.org>
33185 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33186
33187 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33188 Refactor inline-asm. Also add comment.
33189
33190 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33191 ElfW macro instead of hardcoded Elf64 types.
33192 (la_aarch64_gnu_pltenter): Likewise.
33193 * sysdeps/aarch64/dl-machine.h
33194 (elf_machine_runtime_setup): Use ElfW(Addr).
33195
33196 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33197 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33198 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33199 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33200 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33201 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33202 (R_AARCH64_TLS_DTPMOD): This.
33203 (R_AARCH64_TLS_DTPREL64): Rename to ...
33204 (R_AARCH64_TLS_DTPREL): This.
33205 (R_AARCH64_TLS_TPREL64): Rename to ...
33206 (R_AARCH64_TLS_TPREL): This.
33207 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33208 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33209 R_AARCH64_TLS_TPREL64.
33210 (elf_machine_rela): Likewise.
33211
33212 2014-11-21 Torvald Riegel <triegel@redhat.com>
33213
33214 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33215 by setting it to 0. 64b atomics are not supported currently.
33216
33217 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33218
33219 [BZ #16469]
33220 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33221 search domain names.
33222
33223 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33224
33225 [BZ #16469]
33226 * NEWS: Update.
33227 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33228 trailing dot.
33229 * posix/tst-getaddrinfo5.c: New.
33230 * posix/Makefile (tests): Add it.
33231
33232 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33233
33234 [BZ #14498]
33235 * NEWS: Fixed.
33236 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33237 after parsing line but before break_if_match.
33238 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33239 if there is a protocol mismatch.
33240
33241 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33242
33243 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33244 because the potential race is on the user-supplied stream.
33245
33246 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33247
33248 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33249 string literal if not passed a buffer.
33250 * manual/job.texi (ctermid): Update reasoning, note deviation
33251 from posix, suggest mtasurace when not passed a buffer, for
33252 future non-preliminary safety notes.
33253
33254 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33255
33256 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33257 of not passing it a buffer.
33258 Reported by Peng Haitao.
33259
33260 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33261
33262 * manual/Makefile ($(objpfx)stamp-summary): Require
33263 check-safety.sh to pass.
33264 * manual/check-safety.sh: Wish for verification that every
33265 @deftypefn and @deftypefun is followed by a @safety remark.
33266
33267 2014-11-20 Roland McGrath <roland@hack.frob.com>
33268
33269 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33270
33271 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33272 PTHREAD_CANCEL_ASYNCHRONOUS.
33273 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33274 send SIGCANCEL.
33275
33276 * nptl/default-sched.h: New file.
33277 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33278 * nptl/pthread_create.c: Include it.
33279 (__pthread_create_2_1): Use collect_default_sched instead of making
33280 Linux syscalls here directly.
33281
33282 2014-11-20 Torvald Riegel <triegel@redhat.com>
33283
33284 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33285 __pthread_once): Use C11 atomics.
33286
33287 2014-11-20 Torvald Riegel <triegel@redhat.com>
33288
33289 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33290
33291 2014-11-20 Torvald Riegel <triegel@redhat.com>
33292
33293 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33294 atomic_thread_fence_acquire, atomic_thread_fence_release,
33295 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33296 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33297 atomic_compare_exchange_weak_relaxed,
33298 atomic_compare_exchange_weak_acquire,
33299 atomic_compare_exchange_weak_release,
33300 atomic_exchange_acquire, atomic_exchange_release,
33301 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33302 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33303 atomic_fetch_and_acquire,
33304 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33305
33306 2014-11-20 Torvald Riegel <triegel@redhat.com>
33307
33308 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33309 USE_ATOMIC_COMPILER_BUILTINS): Define.
33310 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33311 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33312 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33314 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33315 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33316 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33317 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33318 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33319 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33320 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33321 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33322 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33323 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33324 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33325 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33326 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33327 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33328 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33329 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33330 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33331 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33332 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33333 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33334 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33335 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33336 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33337 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33338 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33339 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33340 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33341 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33342 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33343 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33344 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33345 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33346 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33347 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33348 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33349 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33350
33351 2014-11-19 Roland McGrath <roland@hack.frob.com>
33352
33353 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33354 the sched_priority value here. It was already checked when the user
33355 called pthread_attr_setschedparam.
33356
33357 * nptl/tst-bad-schedattr.c: New file.
33358 * nptl/Makefile (tests): Add it.
33359
33360 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33361 Florian Weimer <fweimer@redhat.com>
33362 Joseph Myers <joseph@codesourcery.com>
33363 Adam Conrad <adconrad@0c3.net>
33364 Andreas Schwab <schwab@suse.de>
33365 Brooks <bmoses@google.com>
33366
33367 [BZ #17625]
33368 * wordexp-test.c (__dso_handle): Add prototype.
33369 (__register_atfork): Likewise.
33370 (__app_register_atfork): New function.
33371 (registered_forks): New global.
33372 (register_fork): New function.
33373 (test_case): Add 3 new tests for WRDE_CMDSUB.
33374 (main): Call __app_register_atfork.
33375 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33376 fork count is non-zero fail the test.
33377 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33378 is set.
33379 (parse_dollars): Remove check for WRDE_NOCMD.
33380 (parse_dquote): Likewise.
33381
33382 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33383
33384 * Makeconfig (built-modules): List non-library modules to be
33385 built.
33386 (module-cppflags): Include libc-modules.h for
33387 everything except shlib-versions.v.i.
33388 (CPPFLAGS): Use it.
33389 (before-compile): Add libc-modules.h.
33390 ($(common-objpfx)libc-modules.h,
33391 $(common-objpfx)libc-modules.stmp): New targets.
33392 (common-generated): Add libc-modules.h and libc-modules.stmp.
33393 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33394 * include/libc-symbols.h: Don't include libc-modules.h.
33395 * include/libc-modules.h: Remove file.
33396 * scripts/gen-libc-modules.awk: New script to generate
33397 libc-modules.h.
33398 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33399 Depend on libc-modules.stmp.
33400
33401 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33402
33403 * Makeconfig (in-module): Get value of libof set for the
33404 translation unit.
33405 (CPPFLAGS): Use $(in-module).
33406 * Makerules: Don't suffix routine names for nonlib.
33407 * include/libc-modules.h: New file.
33408 * include/libc-symbols.h: Include libc-modules.h
33409 (IS_IN): New macro to replace IS_IN_* macros.
33410 * elf/Makefile: Set libof-* for each routine.
33411 * elf/rtld-Rules: Likewise.
33412 * extra-modules.mk: Likewise.
33413 * iconv/Makefile: Likewise.
33414 * iconvdata/Makefile: Likewise.
33415 * locale/Makefile: Likewise.
33416 * malloc/Makefile: Likewise.
33417 * nss/Makefile: Likewise.
33418 * sysdeps/gnu/Makefile: Likewise.
33419 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33420 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33421 * sysdeps/s390/s390-64/Makefile: Likewise.
33422 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33423 CPPFLAGS for nscd instead of nonlib.
33424
33425 2014-11-18 Roland McGrath <roland@hack.frob.com>
33426
33427 * nptl/createthread.c: New file.
33428
33429 * nptl/createthread.c: Moved ...
33430 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33431
33432 * nptl/createthread.c: Add proper top-line comment.
33433 (do_clone): Folded into ...
33434 (create_thread): ... here. Take new arguments STOPPED_START and
33435 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33436 increment __nptl_threads, do event-reporting logic, do
33437 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33438 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33439 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33440 just send SIGCANCEL.
33441 * nptl/pthread_create.c: Forward-declare create_thread before
33442 including createthread.c.
33443 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33444 declaration, and new macro START_THREAD_SELF to replace argument.
33445 Remove return statement.
33446 (report_thread_creation): New function.
33447 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33448 synchronization logic, and __nptl_nthreads increment here, around
33449 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33450 PD->parent_cancelhandling here, before create_thread. When
33451 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33452 __deallocate_stack, and ENOMEM translation here.
33453
33454 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33455
33456 [BZ #17616]
33457 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33458 (mptwo): Rename to __mptwo.
33459 (__inv): Use __mptwo instead of mptwo.
33460 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33461 (mptwo): Rename to __mptwo.
33462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33463 of mpone and __mptwo instead of mptwo.
33464 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33465 instead of mpone.
33466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33467 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33468 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33469 of mpone and __mptwo instead of mptwo.
33470 (__mpranred): Use __mpone instead of mpone.
33471 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33472 variable.
33473 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33474 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33475 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33476 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33477 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33478 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33479 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33480 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33481 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33482 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33483 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33484 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33485 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33486 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33487 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33488 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33489 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33490 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33491 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33492
33493 2014-11-18 Tom de Vries <tom@codesoucery.com>
33494
33495 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33496 replace BSD Handler xref with BSD Signal Handling.
33497
33498 2014-11-17 Richard Henderson <rth@redhat.com>
33499
33500 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33501 (_FP_PACK_RAW_2): Remove.
33502 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33503 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33504 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33505 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33506 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33507 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33508 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33509 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33510 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33511 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33512 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33513 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33514 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33515 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33516 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33517 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33518
33519 2014-11-14 Roland McGrath <roland@hack.frob.com>
33520
33521 * signal/signal.h [__USE_MISC]
33522 (struct sigvec): Remove type.
33523 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33524 (sigvec): Remove declaration.
33525 * sysdeps/posix/sigvec.c: Moved ...
33526 * signal/sigvec.c: ... here, replacing old file.
33527 (struct sigvec): New type, copied from old signal.h definition.
33528 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33529 (__sigvec): Convert definition to prototype.
33530 (sigvec): Replace weak_alias with compat_symbol.
33531 * signal/Versions (libc: GLIBC_2.21): New version set.
33532 * include/signal.h: Remove __sigvec declaration.
33533 * sysdeps/unix/bsd/sigvec.c: Remove file.
33534 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33535 * manual/signal.texi (BSD Handler): Remove subsection.
33536 Move siginterrupt up to ...
33537 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33538 (Blocking in BSD): Fold subsection into its parent.
33539 * NEWS: Mention sigvec removal.
33540
33541 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33542
33543 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33544 (DLA_FMS): Make definition conditional only on [__FMA4__].
33545 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33546 definition.
33547
33548 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33549 Make definition conditional only on [PROF].
33550 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33551 definition.
33552 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33553 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33554
33555 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33556 !__GNUC__].
33557 * include/signal.h (__sigpause): Move declaration above call to
33558 libc_hidden_proto.
33559 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33560 variable.
33561 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33562 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33563
33564 2014-11-14 David S. Miller <davem@davemloft.net>
33565
33566 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33567 Define before including <string/memcpy.c> and <string/mempcpy.c>.
33568
33569 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33570
33571 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33572 * configure: Regenerated.
33573 * manual/install.texi (Tools for Compilation): Document a
33574 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33575 compiler verified to work.
33576 * INSTALL: Regenerated.
33577
33578 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33579 redeclare with asm name.
33580 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33581 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33582 including <string.h>.
33583 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33584 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33585 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33586 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33587 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33589 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33590
33591 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33592
33593 * stdlib/strtol.c (__strtol): Use prototype definition.
33594
33595 [BZ #17594]
33596 * stdlib/strtol.c (SYM__): New macro.
33597 (SYM__1): Likewise.
33598 (__strtol): Likewise.
33599 (strtol): Rename to __strtol and define as weak alias of
33600 __strtol. Use libc_hidden_weak.
33601
33602 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33603
33604 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33605 Use numbered labels in inline assembly.
33606
33607 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33608
33609 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33610 Add setjmp LIBC_PROBE.
33611 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33612 Likewise.
33613 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33614 Add longjmp, longjmp_target LIBC_PROBE.
33615 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33616 Likewise.
33617
33618 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33619
33620 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33621 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33622 to get rid of unused variable warning.
33623
33624 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33625
33626 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33627 Check for unwind_backtrace == NULL only in SHARED case.
33628 (__backchain_backtrace): Compile only in SHARED case.
33629 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33630 Likewise.
33631 (__backchain_backtrace): Declare as static.
33632
33633 2014-11-12 Roland McGrath <roland@hack.frob.com>
33634
33635 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33636 (__libc_multiple_threads_ptr): Variable moved ...
33637 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33638
33639 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33640
33641 * conform/GlibcConform.pm: New file.
33642 * conform/conformtest.pl: Use GlibcConform module.
33643 * conform/linknamespace.pl: New file.
33644 * conform/list-header-symbols.pl: Likewise.
33645 * conform/Makefile (linknamespace-symlists-base): New variable.
33646 (linknamespace-symlists-tests): Likewise.
33647 (linknamespace-header-base): Likewise.
33648 (linknamespace-header-tests): Likewise.
33649 (tests-special): Add new tests.
33650 ($(linknamespace-symlists-tests)): New rule.
33651 (linknamespace-libs): New variable.
33652 ($(objpfx)symlist-stdlibs): New rule.
33653 ($(linknamespace-header-tests)): Likewise.
33654 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33655 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33656 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33657 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33658 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33659 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33660 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33661 (test-xfail-ISO/math.h/linknamespace): Likewise.
33662 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33663 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33664 (test-xfail-ISO/time.h/linknamespace): Likewise.
33665 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33666 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33667 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33668 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33669 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33670 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33671 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33672 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33673 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33674 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33675 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33676 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33677 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33678 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33679 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33680 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33681 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33682 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33683 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33684 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33685 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33686 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33687 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33688 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33689 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33690 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33691 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33692 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33693 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33694 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33695 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33696 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33697 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33698 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33699 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33700 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33701 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33702 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33703 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33704 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33705 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33706 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33707 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33708 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33709 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33710 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33711 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33712 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33713 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33714 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33715 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33716 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33717 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33718 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33719 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33720 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33721 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33722 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33723 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33724 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33725 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33726 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33727 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33728 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33729 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33730 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33731 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33732 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33733 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33734 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33735 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33736 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33737 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33738 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33739 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33740 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33741 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33742 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33743 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33744 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33745 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33746 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33747 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33748 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33749 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33750 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33751 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33752 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33753 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33754 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33755 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33756 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33757 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33758 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33759 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33760 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33761 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33762 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33763 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33764 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33765 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33766 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33767 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33768 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33769 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33770 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33771 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33772 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33773 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33774 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33775 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33776 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33777 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33778 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33779 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33780 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33781 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33782 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33783 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33784 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33785 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33786 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33787 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33788 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33789 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33790 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33791 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33792 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33793 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33794 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33795 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33796 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33797 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33798 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33799 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33800 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33801 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33802 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33803 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33804 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33805 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33806 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33807 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33808 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33809 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33810 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33811 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33812 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33813 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33814 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33815
33816 [BZ #17589]
33817 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33818 of fgets_unlocked.
33819
33820 [BZ #17585]
33821 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33822 (memmem): Rename to __memmem and define as weak alias of
33823 __memmem. Use libc_hidden_weak.
33824 (__memmem): Use libc_hidden_def.
33825 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33826 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33827 memmem.
33828
33829 [BZ #17582]
33830 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33831 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33832 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33833 and define as weak alias of __fgets_unlocked. Use
33834 libc_hidden_weak.
33835 (__fgets_unlocked): Use libc_hidden_def.
33836 * include/stdio.h (__fgets_unlocked): Declare. Use
33837 libc_hidden_proto.
33838 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33839 __fgets_unlocked instead of fgets_unlocked.
33840 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33841 (GET_NPROCS_CONF_PARSER): Likewise.
33842 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33843 (GET_NPROCS_CONF_PARSER): Likewise.
33844
33845 [BZ #17574]
33846 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33847 weak alias of __wmemset. Use libc_hidden_weak.
33848 (__wmemset): Use libc_hidden_def.
33849 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33850 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33851 of wmemset.
33852
33853 [BZ #17573]
33854 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33855 with asm name __mempcpy.
33856 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33857
33858 [BZ #17572]
33859 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33860 and define as weak alias of __rawmemchr.
33861 (__rawmemchr): Do not define as strong alias of rawmemchr.
33862
33863 [BZ #17571]
33864 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33865 alias of __qsort_r.
33866 (qsort): Call __qsort_r instead of qsort_r.
33867 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33868 (__qsort_r): Declare. Call libc_hidden_proto.
33869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33870 instead of qsort_r.
33871 * nscd/gai.c (__qsort_r): Define to qsort_r.
33872 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33873 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33874 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33875
33876 [BZ #17570]
33877 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33878 define as weak alias of __malloc_info.
33879
33880 [BZ #17584]
33881 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33882 as weak alias of __rewinddir. Don't use libc_hidden_def.
33883 (__rewinddir): Use libc_hidden_def.
33884 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33885 as weak alias of __rewinddir. Don't use libc_hidden_def.
33886 (__rewinddir): Use libc_hidden_def.
33887 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33888 weak alias of __rewinddir. Don't use libc_hidden_def.
33889 (__rewinddir): Use libc_hidden_def.
33890 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33891 (__rewinddir): Use libc_hidden_proto.
33892 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33893 rewinddir.
33894 (__getcwd): Use __rewinddir instead of rewinddir.
33895
33896 [BZ #17583]
33897 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33898 alias of __fileno. Use libc_hidden_weak.
33899 (__fileno): Use libc_hidden_def.
33900 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33901 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33902 alias of __ftello.
33903 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33904 __ftello.
33905 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33906 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33907 libc_hidden_def.
33908 (fread_unlocked): Don't use libc_hidden_ver.
33909 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33910 and define as weak alias of __fread_unlocked. Don't use
33911 libc_hidden_def.
33912 (__fread_unlocked): Use libc_hidden_def.
33913 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33914 (ftello): Don't use libc_hidden_proto.
33915 (__ftello): Declare. Use libc_hidden_proto.
33916 (fread_unlocked): Don't use libc_hidden_proto.
33917 (__fread_unlocked): Declare. Use libc_hidden_proto.
33918 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33919 and __ftello instead of fileno, fread_unlocked and ftello.
33920
33921 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33922
33923 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33924 GOT12.
33925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33926 Likewise.
33927 (_dl_start_user): Likewise.
33928 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33929
33930 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33931 Siddhesh Poyarekar <siddhesh@redhat.com>
33932
33933 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33934 Move argv and envp down instead of moving argc up.
33935 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33936
33937 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33938
33939 [BZ #17506]
33940 * test-skeleton.c (main): Return successful if one of
33941 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33942 * string/tst-strcoll-overflow.c: Define expected status.
33943
33944 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33945
33946 [BZ #17475]
33947 * locale/iso-639.def: Define Bhili and Tulu language codes.
33948
33949 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33950
33951 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33952
33953 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33954
33955 [BZ #17555]
33956 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33957
33958 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33959
33960 * configure.ac: Updated check of minimal required version to
33961 2.22.
33962 * manual/install.texi (Tools for Compilation): Updated version
33963 number.
33964 * configure: Regenerated.
33965 * INSTALL: Likewise.
33966
33967 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33968
33969 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33970 __tls_get_addr.
33971
33972 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33973
33974 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33975 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33976 (__waitpid): Don't define as alias. Use libc_hidden_def not
33977 libc_hidden_weak.
33978 (waitpid): Define as alias of __waitpid.
33979 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33980 __waitpid.
33981 (__waitpid): Don't define as alias. Use libc_hidden_def not
33982 libc_hidden_weak.
33983 (waitpid): Define as alias of __waitpid.
33984 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33985 __libc_waitpid alias.
33986 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33987 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33988 Likewise.
33989 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33990 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33991 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33992 alias.
33993 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33994 __waitpid.
33995 (__waitpid): Don't define as alias. Use libc_hidden_def not
33996 libc_hidden_weak.
33997 (waitpid): Define as alias of __waitpid.
33998
33999 2014-11-06 Carlos O'Donell <carlos@redhat.com>
34000
34001 * manual/llio.texi: Add comment that write safety has been
34002 fixed in Linux.
34003
34004 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34005 (localplt-build-dso): Add elf/ld.so.
34006 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34007 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34008 and free for ld.so.
34009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34010 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34012 Likewise.
34013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34014 Likewise.
34015 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34016 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34017 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34018 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34019 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34020 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34021 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34022 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34023 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34024 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34025 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34026
34027 2014-11-05 Joseph Myers <joseph@codesourcery.com>
34028
34029 [BZ #14132]
34030 * include/libc-symbols.h (INTUSE): Remove macro.
34031 (INTDEF): Likewise.
34032 (INTVARDEF): Likewise.
34033 (_INTVARDEF): Likewise.
34034 (INTDEF2): Likewise.
34035 (INTVARDEF2): Likewise.
34036 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34037 rtld_hidden_def instead of INTVARDEF.
34038 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34039 (_dl_starting_up_internal): Remove declaration.
34040 (_dl_starting_up): Use rtld_hidden_proto.
34041 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34042 declaration.
34043 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34044 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34045 _dl_starting_up.
34046 * elf/dl-writev.h (_dl_writev): Likewise.
34047 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34048 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34049 _dl_starting_up_internal.
34050
34051 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34052
34053 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34054 test-skeleton.c.
34055
34056 2014-11-05 Will Newton <will.newton@linaro.org>
34057
34058 * benchtests/Makefile: (bench-malloc): Add malloc thread
34059 scalability benchmark.
34060 * benchtests/bench-malloc-threads.c: New file.
34061
34062 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34063
34064 * sysdeps/aarch64/strchrnul.S: New file.
34065
34066 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34067
34068 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34069 definition.
34070 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34071 Likewise.
34072 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34073 Likewise.
34074 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34075 Likewise.
34076 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34077 Likewise.
34078 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34079 Likewise.
34080
34081 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34082
34083 * catgets/test-gencat.c: Use test-skeleton.c.
34084 * catgets/tst-catgets.c: Likewise.
34085 * csu/tst-empty.c: Likewise.
34086 * elf/tst-audit2.c: Likewise.
34087 * elf/tst-global1.c: Likewise.
34088 * elf/tst-pathopt.c: Likewise.
34089 * elf/tst-piemod1.c: Likewise.
34090 * elf/tst-tls10.c: Likewise.
34091 * elf/tst-tls11.c: Likewise.
34092 * elf/tst-tls12.c: Likewise.
34093 * gnulib/tst-gcc.c: Likewise.
34094 * iconvdata/tst-e2big.c: Likewise.
34095 * iconvdata/tst-loading.c: Likewise.
34096 * iconv/tst-iconv1.c: Likewise.
34097 * iconv/tst-iconv2.c: Likewise.
34098 * inet/test-inet6_opt.c: Likewise.
34099 * inet/tst-gethnm.c: Likewise.
34100 * inet/tst-network.c: Likewise.
34101 * inet/tst-ntoa.c: Likewise.
34102 * intl/tst-codeset.c: Likewise.
34103 * intl/tst-gettext2.c: Likewise.
34104 * intl/tst-gettext3.c: Likewise.
34105 * intl/tst-ngettext.c: Likewise.
34106 * intl/tst-translit.c: Likewise.
34107 * io/test-stat.c: Likewise.
34108 * libio/test-fmemopen.c: Likewise.
34109 * libio/tst-freopen.c: Likewise.
34110 * libio/tst-sscanf.c: Likewise.
34111 * libio/tst-ungetwc1.c: Likewise.
34112 * libio/tst-ungetwc2.c: Likewise.
34113 * libio/tst-widetext.c: Likewise.
34114 * localedata/tst-ctype.c: Likewise.
34115 * localedata/tst-digits.c: Likewise.
34116 * localedata/tst-leaks.c: Likewise.
34117 * localedata/tst-mbswcs1.c: Likewise.
34118 * localedata/tst-mbswcs2.c: Likewise.
34119 * localedata/tst-mbswcs3.c: Likewise.
34120 * localedata/tst-mbswcs4.c: Likewise.
34121 * localedata/tst-mbswcs5.c: Likewise.
34122 * localedata/tst-setlocale.c: Likewise.
34123 * localedata/tst-trans.c: Likewise.
34124 * localedata/tst-wctype.c: Likewise.
34125 * localedata/tst-xlocale1.c: Likewise.
34126 * login/tst-grantpt.c: Likewise.
34127 * malloc/tst-calloc.c: Likewise.
34128 * malloc/tst-malloc.c: Likewise.
34129 * malloc/tst-mallocstate.c: Likewise.
34130 * malloc/tst-mcheck.c: Likewise.
34131 * malloc/tst-mtrace.c: Likewise.
34132 * malloc/tst-obstack.c: Likewise.
34133 * math/atest-exp2.c: Likewise.
34134 * math/atest-exp.c: Likewise.
34135 * math/atest-sincos.c: Likewise.
34136 * math/test-matherr.c: Likewise.
34137 * math/test-misc.c: Likewise.
34138 * math/test-powl.c: Likewise.
34139 * math/tst-definitions.c: Likewise.
34140 * misc/tst-dirname.c: Likewise.
34141 * misc/tst-efgcvt.c: Likewise.
34142 * misc/tst-fdset.c: Likewise.
34143 * misc/tst-hsearch.c: Likewise.
34144 * misc/tst-mntent2.c: Likewise.
34145 * nptl/tst-sem7.c: Likewise.
34146 * nptl/tst-sem8.c: Likewise.
34147 * nptl/tst-sem9.c: Likewise.
34148 * nss/test-netdb.c: Likewise.
34149 * posix/tst-fnmatch.c: Likewise.
34150 * posix/tst-getlogin.c: Likewise.
34151 * posix/tst-gnuglob.c: Likewise.
34152 * posix/tst-mmap.c: Likewise.
34153 * pwd/tst-getpw.c: Likewise.
34154 * resolv/tst-inet_ntop.c: Likewise.
34155 * rt/tst-timer.c: Likewise.
34156 * stdio-common/test-fseek.c: Likewise.
34157 * stdio-common/test-popen.c: Likewise.
34158 * stdio-common/test-vfprintf.c: Likewise.
34159 * stdio-common/tst-cookie.c: Likewise.
34160 * stdio-common/tst-fileno.c: Likewise.
34161 * stdio-common/tst-gets.c: Likewise.
34162 * stdio-common/tst-obprintf.c: Likewise.
34163 * stdio-common/tst-perror.c: Likewise.
34164 * stdio-common/tst-sprintf2.c: Likewise.
34165 * stdio-common/tst-sprintf3.c: Likewise.
34166 * stdio-common/tst-sprintf.c: Likewise.
34167 * stdio-common/tst-swprintf.c: Likewise.
34168 * stdio-common/tst-tmpnam.c: Likewise.
34169 * stdio-common/tst-unbputc.c: Likewise.
34170 * stdio-common/tst-wc-printf.c: Likewise.
34171 * stdlib/tst-environ.c: Likewise.
34172 * stdlib/tst-fmtmsg.c: Likewise.
34173 * stdlib/tst-limits.c: Likewise.
34174 * stdlib/tst-rand48-2.c: Likewise.
34175 * stdlib/tst-rand48.c: Likewise.
34176 * stdlib/tst-random2.c: Likewise.
34177 * stdlib/tst-random.c: Likewise.
34178 * stdlib/tst-strtol.c: Likewise.
34179 * stdlib/tst-strtoll.c: Likewise.
34180 * stdlib/tst-tls-atexit.c: Likewise.
34181 * stdlib/tst-xpg-basename.c: Likewise.
34182 * string/test-ffs.c: Likewise.
34183 * string/tst-bswap.c: Likewise.
34184 * string/tst-inlcall.c: Likewise.
34185 * string/tst-strtok.c: Likewise.
34186 * string/tst-strxfrm.c: Likewise.
34187 * sysdeps/x86_64/tst-audit10.c: Likewise.
34188 * sysdeps/x86_64/tst-audit3.c: Likewise.
34189 * sysdeps/x86_64/tst-audit4.c: Likewise.
34190 * sysdeps/x86_64/tst-audit5.c: Likewise.
34191 * time/tst-ftime_l.c: Likewise.
34192 * time/tst-getdate.c: Likewise.
34193 * time/tst-mktime3.c: Likewise.
34194 * time/tst-mktime.c: Likewise.
34195 * time/tst-posixtz.c: Likewise.
34196 * time/tst-strptime2.c: Likewise.
34197 * time/tst-strptime3.c: Likewise.
34198 * wcsmbs/tst-btowc.c: Likewise.
34199 * wcsmbs/tst-mbrtowc.c: Likewise.
34200 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34201 * wcsmbs/tst-wchar-h.c: Likewise.
34202 * wcsmbs/tst-wcpncpy.c: Likewise.
34203 * wcsmbs/tst-wcrtomb.c: Likewise.
34204 * wcsmbs/tst-wcsnlen.c: Likewise.
34205 * wcsmbs/tst-wcstof.c: Likewise.
34206
34207 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34208
34209 [BZ #14132]
34210 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34211 INTDEF.
34212 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34213 declaration.
34214 (_dl_mcount): Use rtld_hidden_proto.
34215 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34216 _dl_mcount.
34217 * elf/rtld.c (_rtld_global_ro): Likewise.
34218
34219 [BZ #14132]
34220 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34221 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34222 of _dl_init_internal.
34223 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34224 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34225 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34226 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34227 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34228 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34229 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34230 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34231 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34232 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34233 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34234 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34235 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34236 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34237 * sysdeps/tile/dl-start.S (_start): Likewise.
34238 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34239 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34240
34241 [BZ #14132]
34242 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34243 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34244 (rtld_progname): Make macro definition unconditional.
34245 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34246 INTDEF.
34247 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34248 (dl_main): Likewise.
34249 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34250 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34251 instead of _dl_argv_internal.
34252 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34253 __GI__dl_argv instead of INTUSE(_dl_argv).
34254 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34255 __GI__dl_argv instead of _dl_argv_internal.
34256
34257 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34258 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34259 macro.
34260 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34261 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34262 New macro.
34263 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34264 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34265 macro.
34266 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34267 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34268
34269 2014-11-04 Andreas Schwab <schwab@suse.de>
34270
34271 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34272
34273 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34274
34275 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34276 mtvsrd instruction in binary form.
34277
34278 2014-11-03 Andreas Schwab <schwab@suse.de>
34279
34280 [BZ #17522]
34281 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34282 for less than MB_LEN_MAX use a local buffer of that size.
34283 * libio/tst-fputws.c: New file.
34284 * libio/Makefile (tests): Add tst-fputws.
34285
34286 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34287
34288 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34289 the size of the fpu_fr.fpu_dregs[] array.
34290
34291 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34292
34293 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34294 (__nanosleep): Do not define as alias.
34295 (nanosleep): Define as alias of __nanosleep.
34296 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34297 __libc_nanosleep name.
34298
34299 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34300
34301 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34302 install.texi in comment.
34303
34304 2014-10-31 Torvald Riegel <triegel@redhat.com>
34305
34306 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34307 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34308 ... add here and use lwsync or sync ...
34309 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34310 ... and add here using lwsync.
34311
34312 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34313
34314 * elf/dl-machine-reject-phdr.h: New file.
34315 * elf/dl-load.c: #include that.
34316 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34317 if that returned true.
34318
34319 2014-10-31 Roland McGrath <roland@hack.frob.com>
34320
34321 [BZ #17496]
34322 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34323 gen-as-const-headers chunk. Add a big scare comment after the last
34324 safe place to touch before-compile.
34325
34326 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34327
34328 * manual/install.texi (Tools for Compilation): Update autoconf
34329 version requirements.
34330 * INSTALL: Regenerated.
34331
34332 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34333 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34334 (__libc_pselect): Likewise.
34335
34336 [BZ #14138]
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34341
34342 2014-10-31 Torvald Riegel <triegel@redhat.com>
34343
34344 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34345 correct barrier instruction.
34346 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34347 Likewise.
34348 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34349 Likewise.
34350
34351 2014-10-30 Roland McGrath <roland@hack.frob.com>
34352
34353 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34354 after defining inlines. Instead, just use parens to defeat macro
34355 expansion of __isctype in its declaration.
34356
34357 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34358
34359 * include/sys/uio.h (__libc_readv): Remove declaration.
34360 (__libc_writev): Likewise.
34361 * misc/readv.c (__libc_readv): Rename to __readv.
34362 (__readv): Do not define as alias.
34363 (readv): Define as alias of __readv.
34364 * misc/writev.c (__libc_writev): Rename to __writev.
34365 (__writev): Do not define as alias.
34366 (writev): Define as alias of __writev.
34367 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34368 (__readv): Do not define as alias.
34369 (readv): Define unconditionally as alias of __readv.
34370 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34371 (__writev): Do not define as alias.
34372 (writev): Define unconditionally as alias of __writev.
34373 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34374 name.
34375 (writev): Do not define __libc_writev name.
34376
34377 2014-10-30 Roland McGrath <roland@hack.frob.com>
34378
34379 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34380 (convert_charseq): New function, broken out of ...
34381 (use_from_charmap): ... here. Call it.
34382 (use_to_charmap): Use convert_charseq and free instead of duplicating
34383 its code with a variable-length stack struct.
34384
34385 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34386
34387 * include/fcntl.h (__libc_creat): Remove declaration.
34388 * io/creat.c (__libc_creat): Rename to creat.
34389 (creat): Do not define as alias.
34390 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34391 of creat instead of __libc_creat.
34392 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34393 to creat.
34394 (creat): Do not define as alias.
34395 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34396 __libc_creat.
34397 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34398 __libc_creat name.
34399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34400 Likewise.
34401
34402 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34403
34404 * manual/llio.texi: Add comments discussing why write() may be
34405 considered MT-unsafe on Linux.
34406
34407 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34408
34409 * dl-load.c (local_strdup): Remove.
34410 (expand_dynamic_string_token): Use __strdup.
34411 (decompose_rpath): Likewise.
34412 (_dl_map_object): Likewise.
34413
34414 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34415
34416 [BZ #14132]
34417 * sysdeps/generic/unwind-dw2-fde.c
34418 (__register_frame_info_bases_internal): Do not declare.
34419 (__register_frame_info_table_bases_internal): Likewise.
34420 (__deregister_frame_info_bases_internal): Likewise.
34421 (__register_frame_info_bases): Declare and use hidden_proto before
34422 definition. Use hidden_def instead of INTDEF.
34423 (__register_frame_info_table_bases): Likewise.
34424 (__deregister_frame_info_bases): Likewise.
34425 (__register_frame_info): Do not use INTUSE.
34426 (__register_frame): Likewise.
34427 (__register_frame_info_table): Likewise.
34428 (__register_frame_table): Likewise.
34429 (__deregister_frame_info): Likewise.
34430 (__deregister_frame): Likewise.
34431
34432 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34433
34434 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34435 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34436 not undefine.
34437 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34438 Likewise.
34439 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34440 Likewise.
34441
34442 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34443
34444 [BZ #14138]
34445 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34446 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34447 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34448 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34449 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34450 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34451 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34452 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34453 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34454 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34456 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34457 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34458 syscall.
34459 (setfsuid): Likewise.
34460 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34461 (setfsuid): Likewise.
34462 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34463 (setfsuid): Likewise.
34464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34465 Likewise.
34466 (setfsuid): Likewise.
34467 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34468 (setfsuid): Likewise.
34469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34470 Likewise.
34471 (setfsuid): Likewise.
34472
34473 2014-10-27 Andreas Schwab <schwab@suse.de>
34474
34475 [BZ #17501]
34476 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34477 check for Slow_SSE4_2 feature bit.
34478 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34479 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34480 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34481 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34482
34483 2014-10-24 Roland McGrath <roland@hack.frob.com>
34484
34485 * configure.ac: Validate compiler version with a empirical test of
34486 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34487 $CC -v output.
34488 * configure: Regenerated.
34489
34490 * inet/htons.c (htons): Prototypify.
34491 * inet/htonl.c (htonl): Likewise.
34492
34493 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34494
34495 * string/strncat.c (strncat): Improve performance by using strlen.
34496
34497 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34498
34499 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34500
34501 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34502
34503 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34504 Call libc_fetestexcept_aarch64.
34505
34506 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34507
34508 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34509 Call libc_feholdexcept_aarch64.
34510
34511 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34512
34513 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34514 Call get_rounding_mode.
34515
34516 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34517
34518 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34519 Simplify logic.
34520
34521 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34522
34523 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34524 Simplify logic.
34525
34526 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34527
34528 [BZ #14138]
34529 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34530 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34531 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34532 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34533 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34534 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34535 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34536 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34537 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34538 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34539 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34540 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34541 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34542 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34543 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34544 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34545 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34546 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34547 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34548 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34549 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34550 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34551 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34552 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34553 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34554 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34555 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34556 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34557 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34558 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34559 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34560 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34561 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34562 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34563 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34564 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34565 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34566 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34567 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34568 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34569 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34570 syscall.
34571 (geteuid): Likewise.
34572 (getgid): Likewise.
34573 (getuid): Likewise.
34574 (getresgid): Likewise.
34575 (getresuid): Likewise.
34576 (getgroups): Likewise.
34577 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34578 (geteuid): Likewise.
34579 (getgid): Likewise.
34580 (getuid): Likewise.
34581 (getresgid): Likewise.
34582 (getresuid): Likewise.
34583 (getgroups): Likewise.
34584 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34585 (geteuid): Likewise.
34586 (getgid): Likewise.
34587 (getuid): Likewise.
34588 (getresgid): Likewise.
34589 (getresuid): Likewise.
34590 (getgroups): Likewise.
34591 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34592 Likewise.
34593 (geteuid): Likewise.
34594 (getgid): Likewise.
34595 (getuid): Likewise.
34596 (getresgid): Likewise.
34597 (getresuid): Likewise.
34598 (getgroups): Likewise.
34599 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34600 (geteuid): Likewise.
34601 (getgid): Likewise.
34602 (getuid): Likewise.
34603 (getresgid): Likewise.
34604 (getresuid): Likewise.
34605 (getgroups): Likewise.
34606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34607 Likewise.
34608 (geteuid): Likewise.
34609 (getgid): Likewise.
34610 (getuid): Likewise.
34611 (getgroups): Likewise.
34612
34613 [BZ #14138]
34614 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34615 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34616 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34617 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34618 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34619 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34620 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34621 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34622 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34623 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34624 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34625 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34626 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34627 __chown.
34628 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34629 (lchown): Likewise.
34630 (fchown): Likewise.
34631 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34632 Likewise.
34633 (lchown): Likewise.
34634 (fchown): Likewise.
34635 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34636 (lchown): Likewise.
34637 (fchown): Likewise.
34638 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34639 Likewise.
34640 (lchown): Likewise.
34641 (fchown): Likewise.
34642
34643 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34644
34645 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34646 Simplify logic.
34647
34648 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34649
34650 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34651 Cleanup logic.
34652
34653 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34654
34655 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34656 Remove unused include.
34657
34658 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34659
34660 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34661 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34662 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34663 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34664
34665 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34666 Helge Deller <deller@gmx.de>
34667
34668 [BZ #17508]
34669 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34670 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34671 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34672
34673 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34674
34675 [BZ #14132]
34676 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34677 Remove macro definition.
34678 (__ashrdi3_v_glibc20): Likewise.
34679 (__lshrdi3_v_glibc20): Likewise.
34680 (__cmpdi2_v_glibc20): Likewise.
34681 (__ucmpdi2_v_glibc20): Likewise.
34682 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34683 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34684 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34685 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34686 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34687 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34688
34689 2014-10-22 Roland McGrath <roland@hack.frob.com>
34690
34691 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34692 old GNU extension [0] syntax.
34693 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34694 alloca rather than an array member with variable length.
34695 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34696 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34697 (parse_opt): ... here. Likewise use alloca there.
34698 Validate the -i argument before checking for rootness.
34699 (send_shutdown): New function, broken out of ...
34700 (parse_opt): ... here.
34701
34702 2014-10-22 Roland McGrath <roland@hack.frob.com>
34703
34704 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34705 macro to get at the _rt_local_ro field.
34706 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34707 ([PIC] case) or _dl_hwcap ([!PIC] case).
34708 * sysdeps/arm/setjmp.S: Likewise.
34709
34710 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34711 * sysdeps/arm/configure.ac: New check to define it.
34712 * sysdeps/arm/configure: Regenerated.
34713 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34714 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34715 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34716 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34717 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34718 Use move/movt pair instead of a load.
34719 (LDST_GLOBAL): Macro removed.
34720 (LDR_GLOBAL): New macro replaces it.
34721 (LDR_HIDDEN): New macro.
34722 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34723 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34724
34725 * setjmp/tst-setjmp-static.c: New file.
34726 * setjmp/Makefile (tests): Add it.
34727 (tests-static): New variable.
34728
34729 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34730
34731 [BZ #17485]
34732 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34733
34734 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34735
34736 [BZ #14132]
34737 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34738
34739 2014-10-21 Roland McGrath <roland@hack.frob.com>
34740
34741 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34742
34743 2014-10-20 Roland McGrath <roland@hack.frob.com>
34744
34745 * io/fts.c (dirent_not_directory): New function.
34746 (fts_build): Call it.
34747
34748 2014-10-20 Roland McGrath <roland@hack.frob.com>
34749
34750 * nptl/version.c (__nptl_main): Use normal __write rather than
34751 INTERNAL_SYSCALL.
34752 (banner): Update copyright years.
34753
34754 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34755 gettimeofday.
34756 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34757 * nptl/pthread_cond_timedwait.c: Likewise.
34758 * nptl/pthread_mutex_timedlock.c: Likewise.
34759 * nptl/sem_timedwait.c: Likewise.
34760
34761 * sysdeps/nptl/bits/libc-lock.h
34762 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34763 (__libc_lock_init_recursive): Return void, not 0.
34764 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34765 (__libc_rwlock_init): Likewise.
34766 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34767
34768 2014-10-20 Torvald Riegel <triegel@redhat.com>
34769
34770 [BZ #15215]
34771 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34772 (__pthread_once_slow): ... here.
34773 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34774 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34775
34776 2014-10-20 Torvald Riegel <triegel@redhat.com>
34777
34778 [BZ #15215]
34779 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34780 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34781 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34782 * nptl/pthread_once.c (__pthread_once): Likewise.
34783 Update comments.
34784
34785 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34786
34787 [BZ #14138]
34788 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34789 name.
34790 (writev): Use __libc_writev as strong name.
34791 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34792 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34793
34794 2014-10-17 Roland McGrath <roland@hack.frob.com>
34795
34796 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34797
34798 * sysdeps/i386/nptl/tls.h
34799 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34800 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34801 New macros.
34802 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34803 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34804 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34805 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34806 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34807 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34808
34809 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34810 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34811 on [__NR_futex].
34812 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34813 broken out of ...
34814 (__pthread_mutex_init): ... here. Call it.
34815 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34816 Conditionalize PI cases on [__NR_futex].
34817 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34818 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34819 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34820
34821 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34822 conditional on [SIGSETXID].
34823 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34824 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34825 is defined. Likewise for SIGSETXID.
34826 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34827 Conditionalize definitions on [SIGSETXID].
34828 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34829 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34830 unblocking on [SIGCANCEL].
34831
34832 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34833 [__NR_set_robust_list].
34834
34835 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34836
34837 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34838 (do_compare): Likewise.
34839
34840 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34841
34842 [BZ #15884]
34843 * string/strcoll_l.c: Don't include stdio.h.
34844 (coll_seq): Remove members idxarr and rulearr.
34845 (get_next_seq_cached): Remove function.
34846 (get_next_seq): Likewise.
34847 (get_next_seq_nocache): Rename to get_next_seq.
34848 (do_compare): Remove function.
34849 (do_compare_nocache): Rename to do_compare.
34850 (STRCOLL): Remove weight and rules cache.
34851
34852 2014-10-16 Roland McGrath <roland@hack.frob.com>
34853
34854 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34855 * sysdeps/arm/sfp-machine.h: ... to here.
34856 * sysdeps/arm/Implies: Remove arm/soft-fp.
34857
34858 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34859
34860 * conform/data/sys/utsname.h-data (*_t): Allow.
34861 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34862 [POSIX] (WEXITED): Do not expect constant.
34863 [POSIX] (WSTOPPED): Likewise.
34864 [POSIX] (WNOHANG): Likewise.
34865 [POSIX] (WNOWAIT): Likewise.
34866 [POSIX] (siginfo_t): Do not expect type or elements.
34867 [POSIX] (pid_t): Do not expect type.
34868 [POSIX] (signal.h): Do not allow header.
34869 [POSIX] (sys/resource.h): Likewise.
34870 [POSIX] (si_*): Do not allow pattern.
34871 [POSIX] (W*): Likewise.
34872 [POSIX] (P_*): Likewise.
34873 [POSIX] (BUS_*): Likewise.
34874 [POSIX] (CLD_*): Likewise.
34875 [POSIX] (FPE_*): Likewise.
34876 [POSIX] (ILL_*): Likewise.
34877 [POSIX] (POLL_*): Likewise.
34878 [POSIX] (SEGV_*): Likewise.
34879 [POSIX] (SI_*): Likewise.
34880 [POSIX] (TRAP_*): Likewise.
34881 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34882 variable.
34883
34884 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34885
34886 [BZ #12926]
34887 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34888 infinite loop when __recvmsg returns 0.
34889
34890 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34891
34892 * CANCEL-FCT-WAIVE: Remove file.
34893 * CANCEL-FILE-WAIVE: Likewise.
34894
34895 [BZ #14132]
34896 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34897 instead of INTVARDEF.
34898 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34899 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34900 rtld_hidden_data_def instead of INTVARDEF.
34901 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34902 * elf/dl-deps.c (expand_dst): Likewise.
34903 * elf/dl-load.c (_dl_dst_count): Likewise.
34904 (_dl_dst_substitute): Likewise.
34905 (decompose_rpath): Likewise.
34906 (_dl_init_paths): Likewise.
34907 (open_path): Likewise.
34908 (_dl_map_object): Likewise.
34909 * elf/rtld.c (dl_main): Likewise.
34910 (process_dl_audit): Likewise.
34911 (process_envvars): Likewise.
34912 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34913 Remove declaration.
34914 (__libc_enable_secure): Use rtld_hidden_proto.
34915
34916 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34917
34918 * elf/dl-load.c
34919 (add_path): New function broken out of _dl_rtld_di_serinfo.
34920 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34921
34922 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34923
34924 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34925 parentheses around macro arguments.
34926 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34927 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34928 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34929 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34930 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34931 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34932 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34933 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34934 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34935 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34937 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34938 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34939 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34940 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34941 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34942 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34943 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34944 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34947 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34948 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34949 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34950 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34951 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34952 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34953 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34954 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34955 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34956 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34957 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34958 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34959 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34960 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34961 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34962 Likewise.
34963 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34964 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34965 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34966 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34967 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34968 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34969 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34970 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34971 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34972 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34973 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34974 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34975 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34976 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34977 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34980 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34981 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34984 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34985 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34986 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34987 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34988 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34989 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34990 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34991 (_FP_FRAC_SRS_1): Likewise.
34992 (_FP_FRAC_CLZ_1): Likewise.
34993 (_FP_MUL_MEAT_1_imm): Likewise.
34994 (_FP_MUL_MEAT_1_wide): Likewise.
34995 (_FP_MUL_MEAT_1_hard): Likewise.
34996 (_FP_SQRT_MEAT_1): Likewise.
34997 (_FP_FRAC_ASSEMBLE_1): Likewise.
34998 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34999 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35000 (__FP_CLZ_2): Likewise.
35001 (_FP_MUL_MEAT_2_wide): Likewise.
35002 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35003 (_FP_MUL_MEAT_2_gmp): Likewise.
35004 (_FP_MUL_MEAT_2_120_240_double): Likewise.
35005 (_FP_SQRT_MEAT_2): Likewise.
35006 (_FP_FRAC_ASSEMBLE_2): Likewise.
35007 (_FP_FRAC_DISASSEMBLE_2): Likewise.
35008 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35009 (_FP_FRAC_CLZ_4): Likewise.
35010 (_FP_MUL_MEAT_4_wide): Likewise.
35011 (_FP_MUL_MEAT_4_gmp): Likewise.
35012 (_FP_SQRT_MEAT_4): Likewise.
35013 (_FP_FRAC_ASSEMBLE_4): Likewise.
35014 (_FP_FRAC_DISASSEMBLE_4): Likewise.
35015 * soft-fp/op-common.h (_FP_CMP): Likewise.
35016 (_FP_CMP_EQ): Likewise.
35017 (_FP_CMP_UNORD): Likewise.
35018 (_FP_TO_INT): Likewise.
35019 (_FP_FROM_INT): Likewise.
35020 [!__FP_CLZ] (__FP_CLZ): Likewise.
35021 (_FP_DIV_HELP_imm): Likewise.
35022 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35023 Likewise.
35024 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35025 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35027 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35028 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35030 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35031 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35032 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35035 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35036 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35037 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35038 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35039 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35040 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35041 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35042 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35045 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35046 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35049 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35050 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35053 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35054 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35055 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35056 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35057 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35058 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35059 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35060 (FP_UNPACK_RAW_SP): Likewise.
35061 (FP_PACK_RAW_S): Likewise.
35062 (FP_PACK_RAW_SP): Likewise.
35063 (FP_UNPACK_S): Likewise.
35064 (FP_UNPACK_SP): Likewise.
35065 (FP_UNPACK_SEMIRAW_S): Likewise.
35066 (FP_UNPACK_SEMIRAW_SP): Likewise.
35067 (FP_PACK_S): Likewise.
35068 (FP_PACK_SP): Likewise.
35069 (FP_PACK_SEMIRAW_S): Likewise.
35070 (FP_PACK_SEMIRAW_SP): Likewise.
35071 (_FP_SQRT_MEAT_S): Likewise.
35072 (FP_CMP_S): Likewise.
35073 (FP_CMP_EQ_S): Likewise.
35074 (FP_CMP_UNORD_S): Likewise.
35075 (FP_TO_INT_S): Likewise.
35076 (FP_FROM_INT_S): Likewise.
35077
35078 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35079
35080 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35081 (FP_EX_INVALID_IMZ): Likewise.
35082 (FP_EX_INVALID_IMZ_FMA): Likewise.
35083 (FP_EX_INVALID_ISI): Likewise.
35084 (FP_EX_INVALID_ZDZ): Likewise.
35085 (FP_EX_INVALID_IDI): Likewise.
35086 (FP_EX_INVALID_SQRT): Likewise.
35087 (FP_EX_INVALID_CVI): Likewise.
35088 (FP_EX_INVALID_VC): Likewise.
35089 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35090 "invalid" exceptions.
35091 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35092 (_FP_ADD_INTERNAL): Likewise.
35093 (_FP_MUL): Likewise.
35094 (_FP_FMA): Likewise.
35095 (_FP_DIV): Likewise.
35096 (_FP_CMP_CHECK_NAN): Likewise.
35097 (_FP_SQRT): Likewise.
35098 (_FP_TO_INT): Likewise.
35099 (FP_EXTEND): Likewise.
35100
35101 2014-10-09 Allan McRae <allan@archlinux.org>
35102
35103 * po/fr.po: Update French translation from translation project.
35104
35105 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35106
35107 [BZ #14132]
35108 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35109 of INTDEF.
35110 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35111 (__cxa_atexit): Use libc_hidden_proto.
35112 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35113
35114 [BZ #14132]
35115 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35116 declaration.
35117 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35118 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35119 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35120 [!_ISOMAC] (__iswctype_internal): Likewise.
35121 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35122 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35123 alias.
35124 (fcntl): Remove __fcntl_internal alias.
35125 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35126 __connect_internal alias.
35127 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35128 Likewise.
35129
35130 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35131 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35132 FP_DENORM_ZERO.
35133 (_FP_CHECK_FLUSH_ZERO): New macro.
35134 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35135 (_FP_CMP): Likewise.
35136 (_FP_CMP_EQ): Likewise.
35137 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35138 FP_DENORM_ZERO.
35139 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35140 (FP_TRUNC): Likewise.
35141
35142 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35143 treated as invalid conversion, not as normal exponent.
35144
35145 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35146 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35147 (_FP_CMP_EQ): Likewise.
35148 (_FP_CMP_UNORD): Likewise.
35149 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35150 (FP_CMP_EQ_D): Likewise.
35151 (FP_CMP_UNORD_D): Likewise.
35152 * soft-fp/extended.h (FP_CMP_E): Likewise.
35153 (FP_CMP_EQ_E): Likewise.
35154 (FP_CMP_UNORD_E): Likewise.
35155 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35156 (FP_CMP_EQ_Q): Likewise.
35157 (FP_CMP_UNORD_Q): Likewise.
35158 * soft-fp/single.h (FP_CMP_S): Likewise.
35159 (FP_CMP_EQ_S): Likewise.
35160 (FP_CMP_UNORD_S): Likewise.
35161 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35162 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35163 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35164 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35165 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35166 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35167 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35168 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35169 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35170 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35171 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35172 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35173 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35174 to FP_CMP_Q.
35175 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35176 FP_CMP_Q.
35177 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35178 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35179 FP_CMP_EQ_Q.
35180 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35181 FP_CMP_Q.
35182 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35183 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35184 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35185 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35186 FP_CMP_EQ_Q.
35187 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35188 FP_CMP_Q.
35189 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35190 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35191 FP_CMP_EQ_Q.
35192 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35193 FP_CMP_Q.
35194 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35195 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35196 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35197 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35198 FP_CMP_EQ_Q.
35199
35200 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35201 a subnormal result, set the underflow exception if trapping on
35202 underflow is enabled.
35203 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35204 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35205 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35206 redefine to 0.
35207 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35208 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35209 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35210 * soft-fp/extendxftf2.c (__extendxftf2): Use
35211 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35212
35213 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35214 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35215 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35216 FP_HANDLE_EXCEPTIONS.
35217 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35218 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35219 FP_HANDLE_EXCEPTIONS.
35220 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35221 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35222 FP_HANDLE_EXCEPTIONS.
35223 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35224 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35225 FP_HANDLE_EXCEPTIONS.
35226
35227 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35228
35229 [BZ #14132]
35230 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35231 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35232 use INTUSE.
35233 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35234 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35235 Remove alias.
35236 (__adjtimex): Define using libc_hidden_ver.
35237 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35238 Remove declaration.
35239 (ntp_gettime): Call __adjtimex directly.
35240 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35241 Remove declaration.
35242 (ntp_gettimex): Call __adjtimex directly.
35243 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35244 __adjtimex_internal alias.
35245
35246 2014-10-08 Roland McGrath <roland@hack.frob.com>
35247
35248 [BZ #17460]
35249 * nscd/nscd.c (more_help): Rewrite list of tables collection
35250 using xstrdup and asprintf.
35251
35252 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35253
35254 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35255 Roland McGrath <roland@hack.frob.com>
35256
35257 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35258 (do_lookup_unique): ... local function 'enter' here; update callers.
35259
35260 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35261
35262 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35263 compat_symbol calls on [SHARED].
35264 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35265 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35266 Remove.
35267 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35268 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35269 (oldsetrlimit): Remove.
35270 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35272 (lchown): New syscall entry.
35273 (oldsetrlimit): Remove.
35274 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35275 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35276 (oldsetrlimit): Remove.
35277 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35278
35279 [BZ #14138]
35280 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35281 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35282 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35283 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35284 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35285 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35286 (fchown): Likewise.
35287 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35288 (fchown): Likewise.
35289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35290 Likewise.
35291
35292 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35293
35294 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35295 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35296 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35297 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35298 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35299 Likewise.
35300 (__old_sem_post): Likewise.
35301
35302 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35303
35304 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35305 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35306 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35307 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35308 Use INLINE_VSYSCALL macro.
35309 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35310 __vdso_clock_gettime.
35311 * sysdeps/unix/sysv/linux/tile/init-first.c
35312 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35313 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35314 __vdso_clock_gettime.
35315
35316 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35317 to set up frame more cleanly.
35318
35319 * sysdeps/tile/memcmp.c: New file.
35320
35321 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35322
35323 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35324 * sysdeps/tile/tilegx/strcasestr.c: New file.
35325 * sysdeps/tile/tilegx/strnlen.c: New file.
35326 * sysdeps/tile/tilegx/strstr.c: New file.
35327
35328 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35329
35330 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35331
35332 * nptl/tst-setuid3.c: Write errors to stdout.
35333
35334 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35335
35336 * elf/dl-deps.c
35337 (preload): New functions broken out of _dl_map_object_deps.
35338 (_dl_map_object_deps): Remove a nested function. Update call sites.
35339
35340 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35341
35342 [BZ #14138]
35343 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35344 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35345
35346 2014-10-01 Steve Ellcey <sellcey@mips.com>
35347
35348 * sysdeps/mips/strcmp.S: New.
35349
35350 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35351
35352 [BZ #14138]
35353 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35354 (linkat): Likewise.
35355 (mkdirat): Likewise.
35356 (readlinkat): Likewise.
35357 (renameat): Likewise.
35358 (symlinkat): Likewise.
35359 (unlinkat): Likewise.
35360 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35361 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35362 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35363 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35364 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35365 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35366 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35367
35368 2014-09-30 Will Newton <will.newton@linaro.org>
35369
35370 * math/math.h: Define long double math functions if
35371 _LIBC_TEST is defined.
35372 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35373
35374 * localedata/Makefile: Move assignment to tests-special
35375 into an ifdef testing run-built-tests.
35376 * timezone/Makefile: Likewise.
35377
35378 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35379
35380 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35381 with $(BASH) not $(SHELL).
35382
35383 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35384 Matthew LeGendre <legendre1@llnl.gov>
35385
35386 [BZ #17411]
35387 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35388 l_reloc_result.
35389
35390 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35391
35392 * stdio-common/printf_fp.c
35393 (hack_digit): New function, broken out of ...
35394 (__printf_fp): ... local function here. Update call sites.
35395 hack_digit now takes an additional parameter that is a pointer
35396 to a struct of the referenced locals. Those locals moved inside
35397 the struct and references updated.
35398
35399 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35400
35401 * aclocal.m4: Require autoconf 2.69.
35402 * configure: Regenerated.
35403 * sysdeps/aarch64/configure: Likewise.
35404 * sysdeps/alpha/configure: Likewise.
35405 * sysdeps/arm/armv7/configure: Likewise.
35406 * sysdeps/arm/configure: Likewise.
35407 * sysdeps/ia64/configure: Likewise.
35408 * sysdeps/mach/configure: Likewise.
35409 * sysdeps/mips/configure: Likewise.
35410 * sysdeps/s390/configure: Likewise.
35411 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35413
35414 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35415 file.
35416 * sysdeps/ia64/configure.ac: Likewise.
35417
35418 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35419
35420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35421 specify symbol version for ld.so. Do not include entry for
35422 libpthread.
35423 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35424 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35425 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35426
35427 [BZ #14171]
35428 * Makeconfig [$(build-shared) = yes]
35429 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35430 makefiles.
35431 [$(build-shared) = yes && $(soversions.mk-done) = t]
35432 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35433 [$(build-shared) = yes && $(soversions.mk-done) = t]
35434 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35435 to Makerules.
35436 [$(build-shared) = yes && $(soversions.mk-done) = t]
35437 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35438 here.
35439 [$(build-shared) = yes && $(soversions.mk-done) = t]
35440 (common-generated): Don't append gnu/lib-names.h and
35441 gnu/lib-names.stmp here.
35442 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35443 (lib-names-h-abi): New variable.
35444 [$(build-shared) = yes && $(soversions.mk-done) = t]
35445 (lib-names-stmp-abi): Likewise.
35446 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35447 abi-variants] (before-compile): Append
35448 $(common-objpfx)$(lib-names-h-abi).
35449 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35450 abi-variants] (common-generated): Append gnu/lib-names.h.
35451 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35452 abi-variants] (install-others-nosubdir): Depend on
35453 $(inst_includedir)/$(lib-names-h-abi).
35454 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35455 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35456 [$(build-shared) = yes && $(soversions.mk-done) = t]
35457 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35458 [$(build-shared) = yes && $(soversions.mk-done) = t]
35459 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35460 [$(build-shared) = yes && $(soversions.mk-done) = t]
35461 (common-generated): Append $(lib-names-h-abi) and
35462 $(lib-names-stmp-abi).
35463 * scripts/lib-names.awk: Do not handle multi being set.
35464 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35465 Remove variable.
35466 (abi-lp64_be-ld-soname): Likewise.
35467 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35468 Likewise.
35469 (abi-hard-ld-soname): Likewise.
35470 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35471 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35472 Remove variable.
35473 (abi-o32_hard-ld-soname): Likewise.
35474 (abi-o32_soft_2008-ld-soname): Likewise.
35475 (abi-o32_hard_2008-ld-soname): Likewise.
35476 (abi-n32_soft-ld-soname): Likewise.
35477 (abi-n32_hard-ld-soname): Likewise.
35478 (abi-n32_soft_2008-ld-soname): Likewise.
35479 (abi-n32_hard_2008-ld-soname): Likewise.
35480 (abi-n64_soft-ld-soname): Likewise.
35481 (abi-n64_hard-ld-soname): Likewise.
35482 (abi-n64_soft_2008-ld-soname): Likewise.
35483 (abi-n64_hard_2008-ld-soname): Likewise.
35484 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35485 Likewise.
35486 (abi-64-v2-ld-soname): Likewise.
35487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35488 ld.so entries.
35489 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35490 variable.
35491 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35492 entry.
35493 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35494 variable.
35495 (abi-64-ld-soname): Likewise.
35496 (abi-x32-ld-soname): Likewise.
35497 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35498 entry.
35499 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35500
35501 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35502
35503 [BZ #14138]
35504 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35505 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35506 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35507 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35508 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35509 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35510 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35511 syscall entry for GLIBC_2.2 symbol version.
35512 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35513 Likewise.
35514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35515 (setrlimit): Likewise.
35516 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35517 Likewise.
35518
35519 2014-09-23 Will Newton <will.newton@linaro.org>
35520
35521 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35522 _LINUX_ARM_SYSDEP_H include guard too.
35523 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35524 define.
35525
35526 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35527
35528 * sysdeps/unix/sysv/linux/eventfd.c:
35529 Make first argument unsigned.
35530 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35531 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35532
35533 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35534
35535 [BZ #16852]
35536 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35537 * socket/sys/socket.h: Likewise.
35538 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35539
35540 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35541
35542 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35543
35544 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
35545
35546 * time/tst-ftime.c: New test.
35547 * time/Makefile (tests): Add tst-ftime.
35548
35549 2014-09-17 Joseph Myers <joseph@codesourcery.com>
35550
35551 * soft-fp/extended.h: Fix comment formatting.
35552 * soft-fp/op-1.h: Likewise.
35553 * soft-fp/op-2.h: Likewise.
35554 * soft-fp/op-4.h: Likewise.
35555 * soft-fp/op-8.h: Likewise.
35556 * soft-fp/op-common.h: Likewise.
35557 * soft-fp/soft-fp.h: Likewise.
35558
35559 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35560
35561 2014-09-16 Joseph Myers <joseph@codesourcery.com>
35562
35563 [BZ #6652]
35564 * Makeconfig (soversions-default-setname): Remove variable.
35565 ($(common-objpfx)soversions.i): Don't pass default_setname to
35566 soversions.awk.
35567 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35568 oldest_abi to abi-versions.awk.
35569 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35570 * config.make.in (oldest-abi): Remove variable.
35571 * configure.ac (--enable-oldest-abi): Remove configure option.
35572 * configure: Regenerated.
35573 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35574 text.
35575 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35576 * scripts/soversions.awk: Do not handle default_setname variable.
35577 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35578 variable.
35579 * sysdeps/mach/hurd/configure: Regenerated.
35580 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35581 variable.
35582 * sysdeps/unix/sysv/linux/configure: Regenerated.
35583
35584 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35585
35586 * elf/Makefile (CFLAGS-interp.c): Remove.
35587 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35588 path string.
35589 * elf/interp.c: Include generated runtime-linker.h
35590
35591 * Makerules (lib%.so): Don't include $(+interp) in
35592 prerequisites.
35593 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35594 * dlfcn/eval.c: Remove file.
35595
35596 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35597 macros.
35598
35599 [BZ #17266]
35600 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35601 4.2 and newer.
35602
35603 [BZ #17370]
35604 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35605
35606 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35607 Jakub Jelinek <jakub@redhat.com>
35608
35609 [BZ #17266]
35610 * libio/stdio.h: Check definition of __fortify_function
35611 instead of __extern_always_inline to include bits/stdio2.h.
35612 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35613 check if __extern_always_inline is defined.
35614 [__USE_MISC || __USE_XOPEN]: Likewise.
35615 [__USE_ISOC99] Likewise.
35616 * misc/sys/cdefs.h (__fortify_function): Define only if
35617 __extern_always_inline is defined.
35618 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35619 __extern_always_inline and __extern_inline only for g++-4.3
35620 and newer or a compatible gcc.
35621
35622 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35623
35624 [BZ #17371]
35625 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35626 last change to handle zero prefix length.
35627
35628 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35629
35630 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35631 _SC_REGEX_VERSION.
35632
35633 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35634 _POSIX_RAW_SOCKETS.
35635
35636 2014-09-13 Allan McRae <allan@archlinux.org>
35637
35638 * po/ru.po: Update Russian translation from translation project.
35639
35640 2014-09-12 Roland McGrath <roland@hack.frob.com>
35641
35642 * locale/programs/locale.c (show_locale_vars): Inline local function
35643 into its sole call site. Clean up some style nits.
35644 (print_item): New function, broken out of ...
35645 (show_info): ... local function here. Clean up style nits.
35646
35647 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35648 out of ...
35649 (set_class_defaults): ... local function set_default here.
35650 Define set_default as a macro locally to pass constant parameters.
35651 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35652 rather than a shared local.
35653
35654 * stdlib/rpmatch.c (try): New function, broken out of ...
35655 (rpmatch): ... local function here. Also, prototypify definition.
35656
35657 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35658
35659 * scripts/soversions.awk: Do not handle configuration names.
35660 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35661 vendor and os variables to soversions.awk.
35662 * configure.ac: Do not modify gnu-* host_os.
35663 * configure: Regenerated
35664 * shlib-versions: Remove first column with configuration names.
35665 * nptl/shlib-versions: Likewise.
35666 * nptl_db/shlib-versions: Likewise.
35667 * sysdeps/hppa/shlib-versions: Likewise.
35668 * sysdeps/m68k/shlib-versions: Likewise.
35669 * sysdeps/mach/hurd/shlib-versions: Likewise.
35670 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35671 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35672 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35673 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35674 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35675 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35676 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35677 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35679 Likewise.
35680 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35681 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35682 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35683 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35684 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35685 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35686 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35687 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35688
35689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35690 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35692 Regenerated.
35693 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35695 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35696
35697 * shlib-versions: Remove OS-specific entries. Moved to files in
35698 sysdeps.
35699 * sysdeps/mach/hurd/shlib-versions: New file.
35700 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35701
35702 * nptl/shlib-versions: Remove architecture-specific entries.
35703 Moved to files in sysdeps.
35704 * shlib-versions: Likewise.
35705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35706 file.
35707 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35708 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35709 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35710 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35711
35712 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35713 (UDP_NO_CHECK6_RX): Likewise.
35714
35715 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35716
35717 * sysdeps/posix/sysconf.c (__sysconf): Spell
35718 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35719
35720 2014-08-12 Florian Weimer <fweimer@redhat.com>
35721
35722 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35723 loading.
35724 * iconv/Versions (__gconv_transliterate): Export for use from
35725 gconv modules.
35726 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35727 (struct __gconv_trans_data, __gconv_trans_fct,
35728 __gconv_trans_context_fct, __gconv_trans_query_fct,
35729 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35730 definitions.
35731 (struct __gconv_step_data): Remove __trans member.
35732 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35733 longer hidden. Remove unused trans_data argument.
35734 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35735 (__gconv_translit_find): Remove declaration.
35736 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35737 prototype.
35738 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35739 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35740 trans_data argument. Add hidden definition.
35741 (__gconv_translit_find): Remove.
35742 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35743 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35744 * iconv/skeleton.c: Remove transliteration initialization.
35745 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35746 __gconv_step_data initialization.
35747 * libio/iofwide.c (__libio_translit_): Remove.
35748 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35749 * wcsmbs/btowc.c (__btowc): Likewise.
35750 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35751 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35752 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35753 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35754 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35755 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35756 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35757 * wcsmbs/wctob.c (wctob): Likewise.
35758
35759 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35760
35761 [BZ #16194]
35762 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35763 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35764 register usage.
35765 * sysdeps/x86/Makefile: Adjust.
35766
35767 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35768 Roland McGrath <roland@hack.frob.com>
35769
35770 * locale/weight.h: Add include guard.
35771 (findidx): Make static rather than auto; take new parameters
35772 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35773 * locale/weightwc.h: Likewise.
35774 * posix/fnmatch_loop.c
35775 (FCT): Change type of EXTRA from int32_t to wint_t.
35776 Don't include either header inside the function.
35777 Call FINDIDX rather than findidx, and pass new arguments.
35778 #undef FINDIDX at the end of the file.
35779 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35780 FINDIDX before including fnmatch_loop.c for the non-wide version.
35781 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35782 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35783 for the wide version.
35784 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35785 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35786 Pass new arguments to findidx.
35787 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35788 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35789 Don't #include it inside the function. Pass new arguments to findidx.
35790 * posix/regex_internal.h
35791 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35792 (re_string_elem_size_at): Don't #include it inside the function.
35793 Pass new arguments to findidx.
35794 * string/strcoll_l.c: #include WEIGHT_H at top level.
35795 (get_next_seq): Don't #include it inside the function.
35796 Pass new arguments to findidx.
35797 (get_next_seq_nocache): Likewise.
35798 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35799 (STRXFRM): Don't #include it inside the function.
35800 Pass new arguments to findidx.
35801
35802 2014-09-11 Florian Weimer <fweimer@redhat.com>
35803
35804 [BZ #17344]
35805 * malloc/malloc.c (unlink): Turn asserts into a call to
35806 malloc_printerr.
35807
35808 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35809
35810 [BZ #17370]
35811 * libio/wfileops (do_ftell_wide): Free OUT.
35812
35813 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35814
35815 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35816
35817 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35818
35819 [BZ #17363]
35820 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35821 group if the current group is empty.
35822
35823 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35824
35825 * benchtests/bench-memset.c (test_main): Add more test from size
35826 from 32 to 512 bytes.
35827 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35828 Add POWER8 memset object.
35829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35830 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35831 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35832 implementation.
35833 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35834 Likewise.
35835 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35836 multiarch POWER8 memset optimization.
35837 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35838 POWER8 memset optimization.
35839
35840 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35841 Remove bzero multiarch objects.
35842 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35843 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35844 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35845 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35846 Remove define.
35847 [__bzero]: Redefine to specific name.
35848 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35849 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35850 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35851 define.
35852 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35853 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35854
35855 2014-09-10 Florian Weimer <fweimer@redhat.com>
35856
35857 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35858 warnings into errors.
35859
35860 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35861 __cxa_thread_atexit_impl prototype.
35862
35863 2014-09-09 Steve Ellcey <sellcey@mips.com>
35864
35865 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35866 Fix capitalization of error message.
35867
35868 2014-09-09 Steve Ellcey <sellcey@mips.com>
35869
35870 * sysdeps/mips/preconfigure: Modify ABI tests.
35871
35872 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35873
35874 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35875
35876 2014-09-07 Roland McGrath <roland@hack.frob.com>
35877 Carlos O'Donell <carlos@systemhalted.org>
35878
35879 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35880 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35881 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35882 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35883 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35884 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35885 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35886 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35887 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35888 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35889 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35890 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35892 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35893 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35894 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35895 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35896 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35897 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35898 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35899 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35900 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35901 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35902 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35903 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35904 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35905 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35906 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35907 Deconditionalize the code that was previously under [RESET_PID].
35908 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35909 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35910 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35911 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35912 include sysdep.h.
35913
35914 2014-09-08 Allan McRae <allan@archlinux.org>
35915
35916 * version.h (RELEASE): Set to "development".
35917 (VERSION): Set to "2.20.90"
35918
35919 2014-09-07 Allan McRae <allan@archlinux.org
35920
35921 * version.h (RELEASE): Set to "stable".
35922 (VERSION): Set to "2.20"
35923 * include/features.h (__GLIBC_MINOR__): Set to 20.
35924
35925 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35926 Liebler.
35927
35928 * po/ko.po: Update Korean translation from translation project.
35929
35930 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35931
35932 [BZ #17354]
35933 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35934 macro for handling signed relocations.
35935
35936 2014-09-03 Florian Weimer <fweimer@redhat.com>
35937
35938 [BZ #17325]
35939 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35940 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35941 assert.
35942 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35943 * iconvdata/ibm935.c (BODY): Likewise.
35944 * iconvdata/ibm937.c (BODY): Likewise.
35945 * iconvdata/ibm939.c (BODY): Likewise.
35946 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35947 assert.
35948 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35949 script.
35950 * iconvdata/run-iconv-test.sh: New test loop for checking for
35951 decoder crashers.
35952
35953 2014-09-02 Khem Raj <raj.khem@gmail.com>
35954
35955 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35956 libm_hidden_ver.
35957
35958 2014-09-01 Allan McRae <allan@archlinux.org>
35959
35960 * po/eo.po: Update Esperanto translation from translation project.
35961
35962 * po/ca.po: Update Catalan translation from translation project.
35963
35964 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35965
35966 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35967 __proc_dostop call.
35968
35969 2014-08-27 Mark Wielaard <mjw@redhat.com>
35970
35971 [BZ #17319]
35972 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35973 to call set_thread_area instead of hand written asm.
35974 (__NR_set_thread_area): Removed define.
35975 (TLS_FLAG_WRITABLE): Likewise.
35976 (__ASSUME_SET_THREAD_AREA): Remove check.
35977 (TLS_EBX_ARG): Remove define.
35978 (TLS_LOAD_EBX): Likewise.
35979
35980 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35981
35982 Simplify atomicity of socket creation in bind.
35983
35984 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35985 looking up the name after linking the file.
35986
35987 2014-08-27 Allan McRae <allan@archlinux.org>
35988
35989 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35990
35991 2014-08-26 Florian Weimer <fweimer@redhat.com>
35992
35993 [BZ #17187]
35994 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35995 trans_compare, open_translit, __gconv_translit_find):
35996 Remove module loading code.
35997
35998 2014-08-26 Allan McRae <allan@archlinux.org>
35999
36000 * po/vi.po: Update Vietnamese translation from translation project.
36001
36002 * po/uk.po: Update Ukrainian translation from translation project.
36003
36004 * po/fr.po: Update French translation from translation project.
36005
36006 * po/ru.po: Update Russian translation from translation project.
36007
36008 * po/pl.po: Update Polish translation from translation project.
36009
36010 * po/cs.po: Update Czech translation from translation project.
36011
36012 * po/de.po: Update German translation from translation project.
36013
36014 * po/bg.po: Update Bulgarian translation from translation project.
36015
36016 * po/sv.po: Update Sweedish translation from translation project.
36017
36018 * po/nl.po: Update Dutch translation from translation project.
36019
36020 * po/es.po: Update Spanish translation from translation project.
36021
36022 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36023
36024 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36025
36026 * catgets/Makefile (CPPFLAGS-gencat): Remove.
36027 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36028 (CPPFLAGS-iconvconfig): Likewise.
36029 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36030
36031 * include/libc-symbols.h: Remove unnecessary check for
36032 NOT_IN_libc.
36033 * nptl/pthreadP.h: Likewise.
36034 * sysdeps/aarch64/setjmp.S: Likewise.
36035 * sysdeps/alpha/setjmp.S: Likewise.
36036 * sysdeps/arm/sysdep.h: Likewise.
36037 * sysdeps/i386/setjmp.S: Likewise.
36038 * sysdeps/m68k/setjmp.c: Likewise.
36039 * sysdeps/posix/getcwd.c: Likewise.
36040 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36041 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36042 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36043 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36044 * sysdeps/sh/sh3/setjmp.S: Likewise.
36045 * sysdeps/sh/sh4/setjmp.S: Likewise.
36046 * sysdeps/unix/alpha/sysdep.h: Likewise.
36047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36048 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36049 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36050 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36055 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36058 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36060 * sysdeps/x86_64/setjmp.S: Likewise.
36061
36062 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36063
36064 [BZ #17263]
36065 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36066 <stdint.h>.
36067 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36068 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36069
36070 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36071
36072 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36073
36074 [BZ #17262]
36075 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36076 and __x86_64__ when disabling x87 inline functions.
36077
36078 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36079
36080 [BZ #17259]
36081 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36082 asm statement with __cpuid_count.
36083
36084 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36085
36086 * configure.ac: Change __ehdr_start code to dereference the struct.
36087 Run readelf on the output to look for relocations.
36088 * configure: Regenerated.
36089
36090 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36091
36092 [BZ #17261]
36093 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36094 value to 0.
36095 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36096
36097 2014-08-12 Roland McGrath <roland@hack.frob.com>
36098
36099 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36100
36101 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36102
36103 [BZ #16892]
36104 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36105 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36106
36107 2014-08-12 Sean Anderson <seanga2@gmail.com>
36108
36109 * malloc/malloc.c: Fix typo in comment.
36110
36111 2014-08-09 Allan McRae <allan@archlinux.org>
36112
36113 * Regenerate libc.po.
36114
36115 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36116
36117 * intl/tst-gettext2.sh: Check every lang file for creation.
36118
36119 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36120
36121 * sysdeps/aarch64/fpu/math_private.h
36122 (libc_feholdsetround_noex_aarch64_ctx): New function.
36123
36124 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36125
36126 * sysdeps/arm/armv6/strcpy.S (strcpy):
36127 Fix performance issue in misaligned cases.
36128
36129 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36130
36131 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36132 Move definition from termios.h.
36133 (struct termio): Likewise.
36134 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36135 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36136 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36137 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36138 Likewise.
36139 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36140 Move definition to ioctl-types.h
36141 (struct termio): Likewise.
36142 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36143 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36144 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36145 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36146 Likewise.
36147
36148 2014-08-05 Richard Henderson <rth@redhat.com>
36149
36150 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36151 exceptions.
36152 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36153 Add fraiseexcpt.
36154 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36155 Use __feraiseexcept.
36156 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36157 Protect libm symbols with IS_IN_libm.
36158
36159 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36160
36161 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36162
36163 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36164
36165 2014-08-04 Will Newton <will.newton@linaro.org>
36166
36167 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36168 file.
36169
36170 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36171
36172 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36173 variants for each function.
36174
36175 2014-08-04 Roland McGrath <roland@hack.frob.com>
36176
36177 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36178 appended ...
36179 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36180 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36181 appended ...
36182 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36183 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36184 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36185 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36186 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36187 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36188 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36189 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36190 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36191 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36192 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36193 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36194 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36195 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36196 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36197 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36198 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36199 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36200 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36201 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36202 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36203 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36204 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36205 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36206 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36207 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36208 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36209 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36210 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36211 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36212 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36213 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36214 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36215 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36216 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36217 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36218 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36219 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36220 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36221 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36222 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36224 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36226 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36228 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36230 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36231 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36232 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36233 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36234 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36235 Update #include.
36236 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36237 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36238
36239 2014-08-04 Roland McGrath <roland@hack.frob.com>
36240
36241 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36242 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36243 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36244 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36245 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36246 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36247
36248 2014-08-04 Roland McGrath <roland@hack.frob.com>
36249
36250 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36251 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36252 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36253 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36254
36255 2014-08-04 Roland McGrath <roland@hack.frob.com>
36256
36257 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36258 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36259 (__libc_vfork): Define function under this name.
36260 (__vfork): Define as an alias.
36261 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36262 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36263
36264 2014-08-04 Roland McGrath <roland@hack.frob.com>
36265
36266 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36267 that was previously under [RESET_PID].
36268 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36269
36270 2014-08-04 Andreas Schwab <schwab@suse.de>
36271
36272 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36273
36274 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36275
36276 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36277 (main): Likewise.
36278
36279 2014-08-01 Roland McGrath <roland@hack.frob.com>
36280
36281 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36282
36283 2014-08-01 Richard Henderon <rth@redhat.com>
36284
36285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36286 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36287 typo in exact zero test.
36288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36289 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36290 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36291
36292 2014-08-01 Roland McGrath <roland@hack.frob.com>
36293
36294 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36295 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36296 * sysdeps/arm/sysdep.h: ... here.
36297 [!__ASSEMBLER__]: Include <stdint.h>.
36298
36299 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36300
36301 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36302 (HAVE_WCTYPE_H): Likewise.
36303 (HAVE_ISWCTYPE): Likewise.
36304 (ENABLE_NLS): Likewise.
36305 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36306 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36307
36308 * posix/regex_internal.c: Check if DEBUG is defined and is
36309 set.
36310
36311 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36312 (HAVE_MBSRTOWCS): Likewise.
36313 * posix/fnmatch.c: Include string.h unconditionally.
36314
36315 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36316
36317 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36318 reversal.
36319
36320 2014-07-31 Roland McGrath <roland@hack.frob.com>
36321
36322 * sysdeps/generic/safe-fatal.h: New file.
36323 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36324 * nptl/forward.c: Include it.
36325 (__pthread_unwind): Use __safe_fatal as default action, rather
36326 than a bogus use of INTERNAL_SYSCALL that could never work.
36327
36328 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36329 * configure.ac (libc_cv_builtin_trap): New test.
36330 * configure: Regenerated.
36331 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36332 (ABORT_INSTRUCTION): Define using __builtin_trap.
36333
36334 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36335 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36336 * sysdeps/nptl/nptl-signals.h: New file.
36337 * nptl/pthreadP.h: Include <nptl-signals.h>.
36338
36339 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36340
36341 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36342 (ONE_DIRECTION): Define.
36343 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36344 (ONE_DIRECTION): Define.
36345 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36346 (ONE_DIRECTION): Define.
36347
36348 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36349
36350 * sysdeps/s390/Makefile: Delete file.
36351 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36352 * sysdeps/s390/__longjmp.c: Delete file.
36353 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36354 Remove fields __flags and __reserved.
36355 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36356 and add versioning.
36357 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36358 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36359 * sysdeps/s390/rtld-setjmp.S: Likewise.
36360 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36361 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36362 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36363 * sysdeps/s390/s390-32/setjmp.S: ... here.
36364 Add versioning.
36365 (__sigsetjmp): Remove setting __flags field.
36366 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36367 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36368 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36369 * sysdeps/s390/s390-64/setjmp.S: ... here.
36370 Add versioning.
36371 (__sigsetjmp): Remove setting __flags field.
36372 * sysdeps/s390/setjmp.S: Delete file.
36373 * sysdeps/s390/sigjmp.c: Likewise.
36374 * sysdeps/s390/v1-longjmp.c: Likewise.
36375 * sysdeps/s390/v1-setjmp.h: Likewise.
36376 * sysdeps/s390/v1-sigjmp.c: Likewise.
36377 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36378 Remove v1-longjmp_chk.
36379 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36380 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36381 Include debug/longjmp_chk.c and add versioning.
36382 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36383 Include nptl/pt-longjmp.c and add versioning.
36384 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36385 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36386 Include __longjmp.c.
36387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36388 Move to ...
36389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36390 (__getcontext): Remove setting __flags field.
36391 Add versioning.
36392 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36393 Don't restore upper high grps.
36394 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36395 Likewise.
36396 (__swapcontext): Remove setting uc_flags field.
36397 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36398 Delete file.
36399 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36400 Include __longjmp.c.
36401 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36402 Move to ...
36403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36404 (__getcontext): Remove setting __flags field.
36405 Add versioning.
36406 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36407 (__swapcontext): Remove setting uc_flags field.
36408 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36409 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36410 Remove fields uc_high_gprs and __reserved.
36411 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36412 New file with reverted content.
36413 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36414 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36415 Regenerated.
36416 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36417 Regenerated.
36418
36419 2014-07-31 Andreas Schwab <schwab@suse.de>
36420
36421 * config.h.in (HAVE_IFUNC): Define to 0.
36422 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36423 definedness.
36424
36425 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36426
36427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36428 memmove-avx-unaligned, memcpy-avx-unaligned and
36429 mempcpy-avx-unaligned.
36430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36431 Add tests for AVX memcpy functions.
36432 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36433 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36434 memcpy_chk.
36435 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36436 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36437 memmove_chk.
36438 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36439 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36440 mempcpy_chk.
36441 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36442 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36443 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36444
36445 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36446
36447 [BZ #17213]
36448 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36449 powerpc64le.
36450
36451 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36452
36453 [BZ #16839]
36454 * manual/llio.texi: Add section about open file description locks.
36455 * manual/examples/ofdlocks.c: Example of open file description
36456 lock usage.
36457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36458 F_OFD_SETLK, and F_OFD_SETLKW.
36459
36460 2014-07-23 Allan McRae <allan@archlinux.org>
36461
36462 * po/es.po: Update Spanish translation from translation project.
36463
36464 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36465
36466 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36467
36468 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36469
36470 [BZ #17078]
36471 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36472 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36473 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36474
36475 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36476
36477 [BZ #17088]
36478 * math/fesetenv.c (__fesetenv)
36479 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36480 * math/feupdateenv.c (__feupdateenv)
36481 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36482
36483 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36484 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36485 (__ASSUME_SOCKETCALL): Do not define.
36486
36487 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36488 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36489 (__ASSUME_SOCKETCALL): Do not define.
36490 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36491 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36492 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36493 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36494 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36495 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36496 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36497 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36498
36499 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36500 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36501 (__ASSUME_SOCKETCALL): Do not define.
36502 (__ASSUME_IPC64): Define unconditionally.
36503 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36504 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36505 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36506 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36507 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36508 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36509 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36510 Likewise.
36511
36512 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36513 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36514 (__ASSUME_SOCKETCALL): Do not define.
36515 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36516 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36517 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36518 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36519 (__ASSUME_REQUEUE_PI): Define unconditionally.
36520 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36521 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36522 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36523 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36524 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36525 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36526
36527 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36528 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36529 (__ASSUME_SOCKETCALL): Do not define.
36530 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36531 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36532 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36533 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36534 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36535 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36536
36537 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36538 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36539 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36540 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36541 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36542 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36543 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36544 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36545 (__ASSUME_GETCPU_SYSCALL): Likewise.
36546
36547 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36548 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
36549 cases for individual architectures.
36550 * sysdeps/gnu/configure: Regenerated.
36551 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36552 LIBC_SLIBDIR_RTLDDIR.
36553 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36554 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36555 LIBC_SLIBDIR_RTLDDIR.
36556 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36558 LIBC_SLIBDIR_RTLDDIR.
36559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36560 Regenerated.
36561 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36562 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36563 file.
36564 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36565 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36566 file.
36567 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36568 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36569 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36570 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36571
36572 * sysdeps/aarch64/shlib-versions: Move to ...
36573 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36574 * sysdeps/alpha/shlib-versions: Move to ...
36575 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36576 * sysdeps/arm/shlib-versions: Move to ...
36577 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36578 * sysdeps/hppa/shlib-versions: Move all contents except for
36579 libgcc_s entry to ...
36580 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
36581 entry from ...
36582 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36583 * sysdeps/ia64/shlib-versions: Move to ...
36584 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36585 entry from ...
36586 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36587 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36588 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36589 * sysdeps/microblaze/shlib-versions: Move to ...
36590 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36591 * sysdeps/mips/shlib-versions: Move to ...
36592 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36593 entry from ...
36594 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36595 * sysdeps/tile/shlib-versions: Move to ...
36596 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36597 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36598 from ...
36599 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36600 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36601 entry from ...
36602 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36603
36604 2014-07-17 Will Newton <will.newton@linaro.org>
36605
36606 * sysdeps/arm/bits/atomic.h
36607 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36608 (__arch_compare_and_exchange_bool_16_int): Likewise.
36609 (__arch_compare_and_exchange_bool_64_int): Likewise.
36610
36611 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36612 into an #else block.
36613
36614 2014-07-16 Roland McGrath <roland@hack.frob.com>
36615
36616 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36617 just Linux configurations. Test empirically that the compiler sets
36618 __ARM_EABI__, rather than using the tuple to decide.
36619 * sysdeps/arm/preconfigure: Regenerated.
36620 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36621 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36622 contents appended ...
36623 * sysdeps/arm/configure.ac: ... here.
36624 * sysdeps/arm/configure: Regenerated.
36625
36626 2014-07-15 Roland McGrath <roland@hack.frob.com>
36627
36628 * nptl/pthread_kill.c: New file.
36629 * nptl/pthread_sigmask.c: New file.
36630 * nptl/pthread_sigqueue.c: New file.
36631
36632 * sysdeps/nptl/lowlevellock.h: New file.
36633 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36634 * sysdeps/nptl/lowlevellock-futex.h: New file.
36635
36636 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36637 Remove dead declarations.
36638
36639 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36640
36641 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36642 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36643 config-cflags-avx2.
36644 * sysdeps/x86_64/configure.ac: Likewise.
36645 * sysdeps/i386/configure: Regenerated.
36646 * sysdeps/x86_64/configure: Likewise.
36647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36648 memset-avx2 only if config-cflags-avx2 is yes.
36649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36650 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36651 defined.
36652 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36653 only if HAVE_AVX2_SUPPORT is defined.
36654 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36655
36656 2014-07-14 Alan Modra <amodra@gmail.com>
36657
36658 [BZ #17153]
36659 * elf/elf.h (DT_PPC64_NUM): Correct value.
36660 * NEWS: Add to fixed bug list.
36661
36662 2014-07-13 Jim Meyering <meyering@fb.com>
36663
36664 [BZ 17150]
36665 regex: don't deref NULL upon heap allocation failure
36666 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36667 failure in one more place.
36668 To trigger the segfault, configure grep -with-included-regex,
36669 build it, and run these commands:
36670 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36671
36672 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36673
36674 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36675
36676 2014-07-11 Richard Henderson <rth@redhat.com>
36677
36678 * sysdeps/aarch64/libm-test-ulps: Update.
36679
36680 2014-07-10 Florian Weimer <fweimer@redhat.com>
36681
36682 [BZ #17135]
36683 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36684 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36685 (__nptl_setxid): Initialize error member. Call
36686 __nptl_setxid_error.
36687 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36688 * nptl/descr.h (struct xid_command): Add error member.
36689 * nptl/tst-setuid3.c: New file.
36690 * nptl/Makefile (tests): Add it.
36691
36692 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36693
36694 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36695 New define.
36696 (__lll_trylock): Use __lll_base_trylock.
36697 (__lll_cond_trylock): Likewise.
36698
36699 2014-07-10 Roland McGrath <roland@hack.frob.com>
36700
36701 * nptl/pthread_create.c (start_thread): Use atomic_or and
36702 lll_futex_wake directly rather than lll_robust_dead.
36703 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36704 (lll_robust_dead): Macro removed.
36705 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36706 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36707 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36708 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36709 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36710 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36711 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36712 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36713 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36714 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36715 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36716 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36717 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36718 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36719 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36720
36721 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36722 Use atomic_compare_and_exchange_val_acq directly rather than
36723 lll_robust_trylock.
36724 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36725 (__lll_robust_trylock, lll_robust_trylock): Removed.
36726 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36727 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36728 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36729 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36730 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36731 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36732 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36733 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36734 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36735 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36736 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36737 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36738 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36740
36741 2014-07-02 Florian Weimer <fweimer@redhat.com>
36742
36743 * manual/locale.texi (Locale Names): New section documenting
36744 locale name syntax. Adjust menu and node chaining accordingly.
36745 (Choosing Locale): Reference Locale Names, Locale Categories.
36746 Mention setting LC_ALL=C. Reflect that name syntax is now
36747 documented.
36748 (Locale Categories): New section title. Reference Locale Names.
36749 LC_ALL is an environment variable, but not a category.
36750 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36751 description, now in Locale Name. Reference that section. Locale
36752 name syntax is now documented.
36753
36754 2014-07-02 Florian Weimer <fweimer@redhat.com>
36755
36756 [BZ #17137]
36757 * locale/findlocale.c (name_present, valid_locale_name): New
36758 functions.
36759 (_nl_find_locale): Use the loc_name variable to store name
36760 candidates. Call name_present and valid_locale_name to check and
36761 validate locale names. Return an error if the locale is invalid.
36762
36763 2014-07-02 Florian Weimer <fweimer@redhat.com>
36764
36765 * locale/setlocale.c (setlocale): Use strdup for allocating
36766 composite name copy.
36767
36768 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36769
36770 Sync up with gnulib.
36771 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36772 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36773 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36774 and _GL_ARG_NONNULL.
36775 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36776 [!_LIBC]: Include code for Windows and Cygwin.
36777 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36778 Include prototype for int strerror_r.
36779 [!_LIBC] (is_open): New function.
36780 (flush_stdout): New function.
36781 (print_errno_message): Use it.
36782 (error): Likewise.
36783 (error_at_line): Likewise.
36784 (error_tail) Add function attribute macros. Use
36785 __builtin_expect.
36786
36787 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36788
36789 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36790
36791 * io/ftw.c: Include sys/param.h unconditionally.
36792
36793 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36794
36795 [BZ #17125]
36796 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36797 libc_freeres_ptr.
36798 (freecache): New function to free CACHE on exit.
36799
36800 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36801 initialization.
36802
36803 2014-07-09 David S. Miller <davem@davemloft.net>
36804
36805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36806
36807 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36808 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36809 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36810 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36811 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36812 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36813 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36814 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36815 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36816 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36817 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36818 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36819 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36820
36821 2014-07-09 Andreas Schwab <schwab@suse.de>
36822
36823 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36824 output.
36825 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36826 (do_test): Likewise.
36827
36828 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36829
36830 2014-07-09 Will Newton <will.newton@linaro.org>
36831
36832 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36833 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36834 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36835 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36836 * sysdeps/hppa/start.S (_start): Likewise.
36837
36838 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36839
36840 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36841
36842 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36843 defined.
36844
36845 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36846
36847 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36848 after checking that it is non-NULL.
36849
36850 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36851
36852 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36853
36854 * sysdeps/powerpc/memmove.c: Remove file.
36855 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36856 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36857 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36858 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36859 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36860 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36861 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36862 string memmove instead of removed powerpc one.
36863
36864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36865 [weak_alias]: Fix compiler warning due trailing data.
36866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36867 [weak_alias]: Likewise.
36868 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36869 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36870
36871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36872 (__libc_ifunc_impl_list): Add memmove functions.
36873
36874 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36875
36876 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36877 Remove code.
36878 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36879 Likewise.
36880 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36881 Likewise.
36882 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36883 Likewise.
36884 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36885 Likewise.
36886 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36887 Likewise.
36888 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36889 Likewise.
36890 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36891 Likewise.
36892 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36893 Likewise.
36894 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36895 Likewise.
36896 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36897 Likewise.
36898 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36899 Likewise.
36900 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36901 Likewise.
36902 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36903 Likewise.
36904 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36905 Likewise.
36906 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36907 Likewise.
36908 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36909 Likewise.
36910
36911 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36912
36913 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36914 to avoid alignment traps in non-cacheable memory.
36915 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36916
36917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36918 multiarch objects.
36919 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36920 file: multiarch power7 memmove.
36921 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36922 multiarch default memmove.
36923 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36924 multiarch memove for powerpc32/power4.
36925
36926 * string/bcopy.c: Use full path to include memmove.c.
36927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36928 multiarch objects.
36929 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36930 bcopy for powerpc64.
36931 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36932 bcopy for powerpc64.
36933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36934 and memmove implementations.
36935 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36936 optimized multiarch memmove for POWER7/powerpc64.
36937 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36938 default multiarch memmove for powerpc64.
36939 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36940 multiarch for powerpc64.
36941 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36942 for POWER7/powerpc64.
36943 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36944 memmove for POWER7/powerpc64.
36945
36946 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36947 glibc default one.
36948
36949 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36950 __ELF_NATIVE_CLASS equal to 64.
36951
36952 2014-07-07 Roland McGrath <roland@hack.frob.com>
36953
36954 * sysdeps/nptl/lowlevellock.h: File removed.
36955
36956 * NEWS: NPTL is no longer an add-on!
36957 * nptl/internaltypes.h: Moved ...
36958 * sysdeps/nptl/internaltypes.h: ... here.
36959 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36960 * sysdeps/nptl/fork.c: Likewise.
36961 * sysdeps/nptl/gai_misc.h: Likewise.
36962 * sysdeps/nptl/librt-cancellation.c: Likewise.
36963 * sysdeps/nptl/jmp-unwind.c: Likewise.
36964 * sysdeps/nptl/setxid.h: Likewise.
36965 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36966 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36967 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36968 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36969 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36970 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36971 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36972 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36973 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36974 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36975 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36976 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36977 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36978 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36979 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36980 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36981 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36982 * nptl/Makeconfig: Moved ...
36983 * sysdeps/nptl/Makeconfig: ... here.
36984 * nptl/configure: File removed.
36985 * nptl/ANNOUNCE: File removed.
36986 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36987 * sysdeps/unix/sysv/linux/configure: Regenerated.
36988
36989 * nptl/Makefile (routines): Add libc_pthread_init,
36990 libc_multiple_threads, register-atfork and unregister-atfork.
36991 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36992 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36993 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36994 pthread-pi-defines.sym, structsem.sym.
36995 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36996 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36997 [$(subdir) = nptl] (tests): Add tst-setgetname.
36998 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36999 * sysdeps/unix/sysv/linux/sigaction.c: Just include
37000 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37001 [!LIBC_SIGACTION]: Remove aliases.
37002 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37003 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37004 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37005 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37006 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37007 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37008 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37010 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37011 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37012 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37013 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37014 __libc_allocate_rtsig_private.
37015 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37016 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37017 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37018 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37019 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37020 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37021 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37022 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37023 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37024 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37025 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37026 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37027 * nptl/internaltypes.h: ... here.
37028 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37029 * sysdeps/nptl/jmp-unwind.c: ... here.
37030 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37031 * nptl/libc-lowlevellock.c: ... here.
37032 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37033 * nptl/libc_multiple_threads.c: ... here.
37034 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37035 * nptl/libc_pthread_init.c: ... here.
37036 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37037 * nptl/lowlevelbarrier.sym: ... here.
37038 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37039 * nptl/lowlevelcond.sym: ... here.
37040 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37041 * nptl/lowlevellock.c: ... here.
37042 * nptl/lowlevellock.h: Moved ...
37043 * sysdeps/nptl/lowlevellock.h: ... here.
37044 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37045 * nptl/lowlevelrobustlock.c: ... here.
37046 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37047 * nptl/lowlevelrobustlock.sym: ... here.
37048 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37049 * nptl/lowlevelrwlock.sym: ... here.
37050 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37051 * nptl/pt-fork.c: ... here.
37052 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37053 * nptl/pthread-pi-defines.sym: ... here.
37054 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37055 * nptl/pthread_attr_getaffinity.c: ... here.
37056 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37057 * nptl/pthread_attr_setaffinity.c: ... here.
37058 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37059 * nptl/pthread_mutex_cond_lock.c: ... here.
37060 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37061 Update #include.
37062 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37063 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37064 * nptl/pthread_once.c: ... here, replacing old file.
37065 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37066 * nptl/pthread_yield.c: ... here.
37067 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37068 * nptl/register-atfork.c: ... here.
37069 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37070 * nptl/sem_post.c: ... here.
37071 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37072 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37073 * nptl/sem_timedwait.c: ... here.
37074 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37075 * nptl/sem_trywait.c: ... here.
37076 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37077 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37078 * nptl/sem_wait.c: ... here.
37079 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37080 * nptl/structsem.sym: ... here.
37081 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37082 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37083 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37084 * nptl/unregister-atfork.c: ... here.
37085 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37086 * nptl/unwindbuf.sym: ... here.
37087 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37088 * sysdeps/nptl/fork.c: ... here.
37089 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37090 * sysdeps/nptl/fork.h: ... here.
37091 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37092 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37093 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37094 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37095 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37096 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37097 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37098 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37099 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37100 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37101 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37102 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37103 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37104 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37105 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37106 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37107 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37108 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37109 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37110 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37111 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37112 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37113 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37114 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37115 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37116 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37117 * sysdeps/unix/sysv/linux/raise.c: ... here.
37118 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37119 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37120 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37121 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37122 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37123 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37124 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37125 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37126 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37127 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37128 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37129 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37130 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37131 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37132 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37133
37134 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37135
37136 * sysdeps/generic/memcopy.h: Add comment for
37137 MEMCPY_OK_FOR_FWD_MEMMOVE.
37138
37139 2014-07-04 Will Newton <will.newton@linaro.org>
37140
37141 * string/memchr.c: Merge from gnulib.
37142 [_LIBC]: Remove conditionals.
37143 (__ptr_t): Remove define.
37144 (LONG_MAX_32_BITS): Likewise.
37145 (LONG_MAX): Likewise.
37146 (MEMCHR): Use ANSI prototype and optimize algorithm.
37147
37148 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37149
37150 2014-07-03 Roland McGrath <roland@hack.frob.com>
37151
37152 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37153 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37154
37155 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37156 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37157 in a bare environment with no <stdlib.h> installed.
37158 * sysdeps/nptl/configure: Regenerated.
37159
37160 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37161
37162 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37163 AC_EGREP_CPP for kernel header checks, so they only succeed if
37164 including <linux/version.h> actually works right.
37165 * sysdeps/unix/sysv/linux/configure: Regenerated.
37166
37167 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37168 value so it's not diagnosed as unused.
37169
37170 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37171 thing) with "ifeq ($(subdir),rt)".
37172
37173 2014-07-03 Richard Henderson <rth@redhat.com>
37174
37175 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37176 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37177 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37178
37179 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37180 (math_force_eval): New.
37181
37182 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37183 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37184
37185 * sysdeps/alpha/fpu/s_round.c: Remove file.
37186 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37187
37188 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37189 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37190 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37191 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37192 (_dl_start, print_statistics): Likewise.
37193 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37194 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37195
37196 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37197 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37198 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37199 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37200 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37201 (HP_SMALL_TIMING_AVAIL): Define.
37202 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37203 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37204 (HP_SMALL_TIMING_AVAIL): Define.
37205 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37206 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37207
37208 * sysdeps/aarch64/hp-timing.h: New file.
37209
37210 * sysdeps/generic/hp-timing.h: Remove dead comment.
37211 * sysdeps/generic/hp-timing-common.h: New file.
37212 * sysdeps/alpha/hp-timing.h: Include it.
37213 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37214 * sysdeps/i386/i686/hp-timing.h: Likewise.
37215 * sysdeps/ia64/hp-timing.h: Likewise.
37216 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37217 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37218 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37219 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37220 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37221 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37222 (hp_timing_t): New.
37223
37224 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37225 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37226 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37227 * elf/rtld.c (_dl_start_final): Likewise.
37228 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37229 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37230 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37231 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37232 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37233 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37234 (HP_TIMING_DIFF_INIT): Remove.
37235 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37236 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37237 (HP_TIMING_DIFF_INIT): Remove.
37238 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37239 * sysdeps/i386/i686/hp-timing.c: Remove file.
37240 * sysdeps/x86_64/hp-timing.c: Remove file.
37241 * sysdeps/ia64/hp-timing.c: Remove file.
37242 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37243 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37245 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37246
37247 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37248 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37249 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37250 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37251 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37252 (HP_TIMING_ACCUM): Remove.
37253 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37255 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37256
37257 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37258 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37259 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37260 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37262 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37263 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37264 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37265
37266 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37267
37268 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37269
37270 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37271
37272 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37273
37274 Sync up with gettext.
37275 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37276 [_MSC_VER]: Include malloc.h
37277 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37278 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37279 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37280 TEMP_FAILURE_RETRY. Cast return of alloca.
37281 [!_LIBC] Call gl_rwlock_init.
37282 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37283
37284 2014-07-02 Roland McGrath <roland@hack.frob.com>
37285
37286 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37287 before checking its value.
37288
37289 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37290
37291 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37292
37293 * debug/memcpy_chk.c: Don't include pagecopy.h.
37294 * debug/mempcpy_chk.c: Likewise.
37295 * string/memcpy.c: Likewise.
37296 * string/memmove.c: Likewise.
37297 * sysdeps/powerpc/memmove.c: Likewise.
37298 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37299 definition of PAGE_COPY_FWD_MAYBE here...
37300 * sysdeps/generic/pagecopy.h: ... from here.
37301 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37302
37303 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37304 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37305
37306 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37308 optimizations.
37309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37310 (__libc_ifunc_impl_list): Likewise.
37311 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37312 multiarch strcat for PPC64.
37313 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37314 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37315
37316 2014-07-02 Roland McGrath <roland@hack.frob.com>
37317
37318 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37319
37320 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37321
37322 * intl/loadmsgcat.c: Remove declaration of
37323 get_sysdep_segment_value.
37324 (get_sysdep_segment_value): Use ISO C style.
37325 (_nl_load_domain): Use ISO C style. Get rid of redundant
37326 semicolon. Fix typo and formatting in comment.
37327 (_nl_unload_domain): Use ISO C style.
37328
37329 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37330
37331 2014-07-02 Will Newton <will.newton@linaro.org>
37332
37333 * malloc/obstack.c: Merge from gnulib master.
37334 [HAVE_CONFIG_H]: Remove conditional code.
37335 [!_LIBC]: Include config.h.
37336 [!ELIDE_CODE]: Don't include inttypes.h, include
37337 stdint.h unconditionally.
37338 (print_and_abort): Mark as _Noreturn.
37339 (_obstack_allocated_p): Mark as __attribute_pure__.
37340 (obstack_free): Rename to __obstack_free.
37341 [!__attribute__]: Remove conditional code.
37342 * malloc/obstack.h: Merge from gnulib master.
37343 [__cplusplus]: Move conditional down.
37344 [!__attribute_pure__]: Define __attribute_pure__ here
37345 if it is not already defined.
37346 (_obstack_memory_used): Mark as __attribute_pure__.
37347 [!__obstack_free]: Define as obstack_free.
37348 [__GNUC__]: Remove check for ancient NeXT gcc.
37349
37350 2014-07-02 Will Newton <will.newton@linaro.org>
37351 Paul Eggert <eggert@cs.ucla.edu>
37352
37353 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37354
37355 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37356
37357 * resolv/gethnamaddr.c: Add comment warning that the file is
37358 not maintained.
37359
37360 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37361
37362 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37363 entries.
37364
37365 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37366 entry for aio_cancel and aio_cancel64.
37367 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37368 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37369 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37370 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37371 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37372 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37373 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37374 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37375 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37376 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37377 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37378 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37379 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37380
37381 2014-07-01 Roland McGrath <roland@hack.frob.com>
37382
37383 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37384 * nptl/pthread_mutex_lock.c: Likewise.
37385 * nptl/pthread_mutex_timedlock.c: Likewise.
37386 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37387
37388 2014-07-01 Richard henderson <rth@redhat.com>
37389
37390 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37391 (__isnan, __isnanl): Remove.
37392 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37393
37394 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37395
37396 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37397
37398 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37399
37400 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37401
37402 * resolv/nss_dns/dns-host.c (getanswer_r)
37403 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37404
37405 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37406
37407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37408 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37409 undefine.
37410 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37411 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37412
37413 2014-07-01 Roland McGrath <roland@hack.frob.com>
37414
37415 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37416 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37417
37418 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37419 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37420
37421 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37422 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37423 ... here.
37424 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37425 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37426
37427 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37428 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37429 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37430 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37431
37432 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37433 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37434 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37435 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37436 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37437 Moved ...
37438 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37439 ... here.
37440 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37441 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37442 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37443 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37444 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37445 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37446 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37447 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37448 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37449 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37450 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37451 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37452 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37453 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37454 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37455 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37456 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37457 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37458 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37459 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37460 ... here.
37461 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37462 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37463 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37464 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37465 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37466 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37467 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37468 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37469
37470 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37471
37472 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37473 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37474 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37475 Add sysdep.
37476
37477 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37478
37479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37480
37481 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37482
37483 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37484 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37485
37486 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37487
37488 * sysdeps/arm/libm-test-ulps: Regenerated.
37489
37490 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37491 Roland McGrath <roland@hack.frob.com>
37492
37493 * test-skeleton.c (signal_handler): Kill the whole process group
37494 before killing the child individually.
37495 (main): Report any failure on `setpgid'.
37496
37497 2014-06-30 Roland McGrath <roland@hack.frob.com>
37498
37499 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37500 from _TLS_H to _ARM_NPTL_TLS_H.
37501 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37502 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37503
37504 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37505
37506 [BZ #16539]
37507 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37508 (__expm1l): Return argument unchanged when small but not
37509 subnormal.
37510
37511 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37512 include macro name.
37513 (_FP_UNPACK_RAW_1_P): Likewise.
37514 (_FP_PACK_RAW_1): Likewise.
37515 (_FP_PACK_RAW_1_P): Likewise.
37516 (_FP_MUL_MEAT_1_wide): Likewise.
37517 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37518 (_FP_MUL_MEAT_1_hard): Likewise.
37519 (_FP_DIV_MEAT_1_imm): Likewise.
37520 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37521 (_FP_DIV_MEAT_1_udiv): Likewise.
37522 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37523 (_FP_UNPACK_RAW_2): Likewise.
37524 (_FP_UNPACK_RAW_2_P): Likewise.
37525 (_FP_PACK_RAW_2): Likewise.
37526 (_FP_PACK_RAW_2_P): Likewise.
37527 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37528 (_FP_MUL_MEAT_2_wide): Likewise.
37529 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37530 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37531 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37532 (_FP_MUL_MEAT_2_gmp): Likewise.
37533 (_FP_DIV_MEAT_2_udiv): Likewise.
37534 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37535 (_FP_FRAC_SRL_4): Likewise.
37536 (_FP_FRAC_SRST_4): Likewise.
37537 (_FP_FRAC_SRS_4): Likewise.
37538 (_FP_UNPACK_RAW_4): Likewise.
37539 (_FP_UNPACK_RAW_4_P): Likewise.
37540 (_FP_PACK_RAW_4): Likewise.
37541 (_FP_PACK_RAW_4_P): Likewise.
37542 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37543 (_FP_MUL_MEAT_4_wide): Likewise.
37544 (_FP_MUL_MEAT_4_gmp): Likewise.
37545 (umul_ppppmnnn): Likewise.
37546 (_FP_DIV_MEAT_4_udiv): Likewise.
37547 (__FP_FRAC_ADD_4): Likewise.
37548 (__FP_FRAC_SUB_3): Likewise.
37549 (__FP_FRAC_SUB_4): Likewise.
37550 (__FP_FRAC_DEC_3): Likewise.
37551 (__FP_FRAC_DEC_4): Likewise.
37552 (__FP_FRAC_ADDI_4): Likewise.
37553 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37554 (_FP_FRAC_SRL_8): Likewise.
37555 (_FP_FRAC_SRS_8): Likewise.
37556
37557 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37558 include macro name.
37559 (FP_UNPACK_RAW_EP): Likewise.
37560 (FP_PACK_RAW_E): Likewise.
37561 (FP_PACK_RAW_EP): Likewise.
37562 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37563 (_FP_ISSIGNAN): Likewise.
37564 (_FP_ADD_INTERNAL): Likewise.
37565 (_FP_FMA): Likewise.
37566 (_FP_CMP): Likewise.
37567 (_FP_SQRT): Likewise.
37568 (_FP_TO_INT): Likewise.
37569 (_FP_FROM_INT): Likewise.
37570 (FP_EXTEND): Likewise.
37571 (_FP_DIV_MEAT_N_loop): Likewise.
37572
37573 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37574
37575 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37576 throughout.
37577
37578 2014-06-29 Joseph Myers <joseph@codesourcery.com>
37579
37580 [BZ #17097]
37581 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37582 result with correct sign in case of exponents that produce
37583 overflow except for X very close to 1.
37584
37585 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37586
37587 mktime: merge #if/#ifdef usage from glibc
37588 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37589 as that works with both Glibc's and Gnulib's style.
37590 See thread starting at Siddhesh Poyarekar's bug report at:
37591 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37592
37593 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37594
37595 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37596 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37597 * sysdeps/tile/tilegx/memmove.c: Remove file.
37598
37599 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37600
37601 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37602 abi-name definition.
37603 * scripts/soversions.awk: Do not handle or generate ABI lines.
37604 * shlib-versions: Remove ABI entries.
37605 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37606 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37607
37608 2014-06-27 Roland McGrath <roland@hack.frob.com>
37609
37610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37611 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37612 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37613 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37615 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37617 Moved ...
37618 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37619 ... here.
37620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37621 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37623 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37625 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37627 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37629 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37631 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37633 Moved ...
37634 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37635 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37636 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37638 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37640 Moved ...
37641 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37642 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37643 Moved ...
37644 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37646 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37647 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37648 Moved ...
37649 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37651 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37653 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37654 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37655 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37656 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37657 Moved ...
37658 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37659 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37660 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37662 Moved ...
37663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37664 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37665 Moved ...
37666 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37668 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37670 Moved ...
37671 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37672 ... here.
37673 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37674 Identical file removed.
37675 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37676 Moved ...
37677 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37678 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37679 Identical file removed.
37680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37681 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37682 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37683 Moved ...
37684 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37685 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37686 Identical file removed.
37687 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37688 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37689 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37690 Identical file removed.
37691 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37693 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37694 Identical file removed.
37695 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37696 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37697 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37698 Identical file removed.
37699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37700 Moved ...
37701 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37703 Identical file removed.
37704 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37705 Moved ...
37706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37707 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37708 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37709 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37710 Identical file removed.
37711 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37712 Moved ...
37713 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37714 ... here.
37715 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37716 Identical file removed.
37717 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37718 Moved ...
37719 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37720 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37721 Identical file removed.
37722 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37723 Moved ...
37724 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37725 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37726 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37727 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37728 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37729 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37730 Moved ...
37731 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37732 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37733 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37734
37735 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37736 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37737 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37738 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37739 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37740
37741 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37742
37743 [BZ #17092]
37744 * nscd/nscd.c (monitor_child): Return exit status of child
37745 instead of return value from wait syscall.
37746
37747 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37748
37749 * configure.ac (libc_commonpagesize): Remove variable.
37750 (libc_relro_required): Likewise.
37751 (libc_cv_z_relro): Remove configure test.
37752 * configure: Regenerated.
37753 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37754 variable.
37755 (libc_relro_required): Likewise.
37756 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37757 (libc_relro_required): Likewise.
37758 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37759 (libc_relro_required): Likewise.
37760 * sysdeps/arm/preconfigure: Regenerated.
37761 * sysdeps/ia64/preconfigure: Remove file.
37762 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37763 variable.
37764 (libc_relro_required): Likewise.
37765
37766 [BZ #16561]
37767 [BZ #16562]
37768 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37769 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37770 recompute overflowing results in original rounding mode.
37771 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37772 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37773 recompute overflowing results in original rounding mode.
37774 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37775 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37776 recompute overflowing results in original rounding mode.
37777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37778 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37779 recompute overflowing results in original rounding mode.
37780 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37781 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37782 recompute overflowing results in original rounding mode.
37783 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37784 (libc_feholdsetround_ctx): New macro.
37785 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37786 * sysdeps/i386/fpu/libm-test-ulps: Update.
37787 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37788
37789 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37790
37791 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37792 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37793 corresponding .cpsetup call.
37794
37795 2014-06-26 Roland McGrath <roland@hack.frob.com>
37796
37797 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37798 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37799 * sysdeps/arm/Makefile [$(subdir) = csu]
37800 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37801 (static-only-routines): Add aeabi_read_tp here.
37802 (shared-only-routines): Add libc-aeabi_read_tp here.
37803 (CFLAGS-libc-start.c): Add -fexceptions here.
37804 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37805 (sysdep_routines, static-only-routines, shared-only-routines):
37806 Don't add to these here.
37807 (CFLAGS-libc-start.c): Likewise.
37808
37809 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37810 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37811 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37812 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37813 * sysdeps/arm/Makefile [$(subdir) = rt]
37814 (librt-sysdep_routines, librt-shared-only-routines):
37815 Append rt-aeabi_unwind_cpp_pr1 here.
37816 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37817 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37818 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37819 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37820 Append nptl-aeabi_unwind_cpp_pr1 here.
37821 (tests): Filter out tst-cleanupx4 here.
37822 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37823 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37824 Don't do those here.
37825
37826 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37827
37828 * scripts/list-sources.sh: Do not handle ports specially.
37829
37830 2014-06-26 Roland McGrath <roland@hack.frob.com>
37831
37832 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37833 * sysdeps/arm/feupdateenv.c: Likewise.
37834
37835 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37836
37837 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37838
37839 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37840 trailing whitespace removed.
37841 * scripts/config.guess: Update to version 2014-03-23.
37842 * scripts/config.sub: Update to version 2014-05-01
37843 * scripts/install-sh: Update to version 2013-12-25.23.
37844 * scripts/move-if-change: Update from gnulib.
37845
37846 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37847
37848 * debug/memmove_chk.c: Remove pagecopy.h include.
37849
37850 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37851
37852 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37853 identical to gnulib mktime.
37854
37855 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37856
37857 * configure.ac: Do not test for machine being rs6000. Do not test
37858 for powerpc*-*soft.
37859 * configure: Regenerated.
37860
37861 [BZ #11505]
37862 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37863 test.
37864 * configure: Regenerated.
37865 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37866 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37867 Remove configure test.
37868 * sysdeps/arm/configure: Regenerated.
37869 * sysdeps/nptl/configure.ac: Do not check
37870 libc_cv_asm_cfi_directives.
37871 * sysdeps/nptl/configure: Regenerated.
37872 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37873 * sysdeps/x86_64/nptl/configure: Remove generated file.
37874 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37875 unconditional.
37876 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37877
37878 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37879
37880 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37881 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37882 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37883 it is defined.
37884
37885 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37886 instead of whether it is defined.
37887 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37888 * sysdeps/hppa/dl-machine.h: Likewise.
37889 * sysdeps/ia64/dl-machine.h: Likewise.
37890 * sysdeps/m68k/dl-machine.h: Likewise.
37891 * sysdeps/microblaze/dl-machine.h: Likewise.
37892 * sysdeps/mips/dl-machine.: Likewise.
37893 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37894 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37895 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37896 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37897 * sysdeps/sh/dl-machine.h: Likewise.
37898 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37900 * sysdeps/tile/dl-machine.h: Likewise.
37901 * sysdeps/x86_64/dl-machine.h: Likewise.
37902
37903 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37904 code.
37905 (verify_persistent_db): Likewise.
37906
37907 2014-06-26 Roland McGrath <roland@hack.frob.com>
37908
37909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37910 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37912 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37914 Moved ...
37915 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37916 ... here.
37917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37918 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37920 Identical file removed.
37921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37922 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37924 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37926 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37928 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37930 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37932 Moved ...
37933 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37935 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37937 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37939 Moved ...
37940 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37942 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37944 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37946 Identical file removed.
37947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37948 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37950 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37952 Moved ...
37953 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37954 ... here.
37955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37958 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37960 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37962 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37964 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37966 Moved ...
37967 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37969 Moved ...
37970 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37972 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37974 Moved ...
37975 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37977 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37978
37979 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37980 folded into ...
37981 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37982 * sysdeps/unix/sysv/linux/s390/Versions
37983 (libpthread: GLIBC_2.19): New version set.
37984 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37985 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37986 (librt: GLIBC_2.3.3): New version set.
37987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37988 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37989 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37990 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37991 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37992 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37993 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37994 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37995 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37996 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37997 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37998 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37999 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38000 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38001 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38002 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38003 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38004 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38005 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38006 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38007 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38009 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38011 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38012 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38013 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38014 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38015 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38016 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38017 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38018 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38023 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38025 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38027 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38029 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38031 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38032
38033 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38034 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38035 (__libc_vfork): Define the function under this name.
38036 [!NOT_IN_libc] (__vfork): Make this an alias.
38037 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38039 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38040 (__libc_vfork): Define the function under this name.
38041 [!NOT_IN_libc] (__vfork): Make this an alias.
38042 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38043 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38044 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38046 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38047 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38048
38049 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38050 code that was previously under [RESET_PID].
38051 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38052 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38053 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38054
38055 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38056 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38057 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38058 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38059 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38060 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38061 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38062 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38063 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38064 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38065 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38066 Moved ...
38067 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38068 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38069 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38070 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38072 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38073 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38074 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38075 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38076 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38077 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38078 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38079 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38080 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38081 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38082 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38083 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38084 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38085 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38086 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38087 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38088 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38089 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38090 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38091 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38092 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38093 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38095 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38096
38097 2014-06-25 Roland McGrath <roland@hack.frob.com>
38098
38099 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38100 that was previously under [RESET_PID].
38101 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38102
38103 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38104
38105 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38106 not undefine and redefine.
38107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38108 [O_CLOEXEC]: Make code unconditional.
38109 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38110 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38111 <kernel-features.h>.
38112 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38113 conditional variable definition.
38114 (shm_open) [O_CLOEXEC]: Make code unconditional.
38115 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38116 code.
38117
38118 * configure.ac (USE_REGPARMS): Don't define here.
38119 * configure: Regenerated.
38120 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38121 * sysdeps/i386/configure: Regenerated.
38122
38123 * nptl/createthread.c: Don't include kernel-features.h.
38124 * nptl/pthread_cancel.c: Likewise.
38125 * nptl/pthread_condattr_setclock.c: Likewise.
38126 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38127 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38128 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38129 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38130 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38131 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38132 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38135 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38136 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38137 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38138 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38139 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38140 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38141 * nscd/gai.c: Likewise.
38142 * nss/nss_db/db-open.c: Likewise.
38143 * sysdeps/generic/ldsodefs.h: Likewise.
38144 * sysdeps/sh/nptl/tls.h: Likewise.
38145 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38146 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38147 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38148 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38149 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38150 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38151 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38152 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38153 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38154 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38155 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38156 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38157 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38158 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38159 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38160 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38161 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38162 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38163 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38164 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38165 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38167 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38168 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38171 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38172 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38173 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38174 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38175 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38176 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38178 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38179 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38180 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38181 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38182 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38183 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38184 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38185 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38186 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38187 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38189 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38190 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38191 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38192 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38193 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38194 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38195 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38196 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38197 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38198 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38199 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38200 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38201 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38202 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38225 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38226 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38227 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38228 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38229 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38231 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38232 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38233 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38234 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38235 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38236 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38237 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38238 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38239 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38240 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38241 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38242 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38243 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38244 * sysdeps/unix/sysv/linux/system.c: Likewise.
38245 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38246 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38247 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38248 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38249 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38250 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38252
38253 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38254 * configure: Regenerated.
38255 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38256
38257 * configure.ac (base_machine): Do not set specially for particular
38258 machines here.
38259 * configure: Regenerated.
38260 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38261 settings from configure.ac.
38262 * sysdeps/i386/preconfigure: New file.
38263 * sysdeps/s390/preconfigure: Likewise.
38264 * sysdeps/sh/preconfigure: Likewise.
38265 * sysdeps/sparc/preconfigure: Likewise.
38266
38267 2014-06-25 Roland McGrath <roland@hack.frob.com>
38268
38269 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38270 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38271 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38272 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38273 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38274 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38275 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38276 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38277 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38278 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38279 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38280 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38281 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38283 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38286 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38287 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38288
38289 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38290 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38291 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38292 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38293 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38294 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38295 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38296 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38297 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38298 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38299 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38300 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38301 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38302 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38303 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38304 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38305 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38306 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38307 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38308 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38310 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38314 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38315 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38316 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38317 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38318 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38319 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38320 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38321 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38322 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38323 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38324 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38325 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38326 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38327
38328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38329 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38331 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38333 Moved ...
38334 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38335 ... here.
38336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38337 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38339 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38341 Moved ...
38342 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38344 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38348 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38350 Moved ...
38351 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38353 Moved ...
38354 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38356 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38358 Moved ...
38359 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38361 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38363 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38365 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38367 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38369 Moved ...
38370 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38371 ... here.
38372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38373 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38375 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38377 Moved ...
38378 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38380 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38382 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38384 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38386 Moved ...
38387 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38389 Moved ...
38390 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38392 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38394 Moved ...
38395 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38397 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38399 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38400
38401 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38402
38403 * timezone/checktab.awk: Update from tzcode 2014e.
38404 * timezone/private.h: Likewise.
38405 * timezone/tzfile.h: Likewise.
38406 * timezone/zdump.c: Likewise.
38407 * timezone/zic.c: Likewise.
38408
38409 * sysdeps/unix/sysv/linux/kernel-features.h
38410 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38412 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38413 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38414 Remove conditional code.
38415
38416 2014-06-25 Will Newton <will.newton@linaro.org>
38417
38418 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38419 (_dl_arm_cap_flags): Add HWCAP2 values.
38420 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38421 (_DL_HWCAP_COUNT): Increase to 37.
38422 (_DL_HWCAP_LAST): New define.
38423 (_DL_HWCAP2_LAST): New define.
38424 (_dl_procinfo): Add support for printing
38425 AT_HWCAP2 entries.
38426 (_dl_string_hwcap): Use _dl_hwcap_string.
38427
38428 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38429
38430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38431
38432 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38433
38434 * README: Do not mention ports directory.
38435
38436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38437 Remove macro.
38438 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38439 <kernel-features.h>.
38440 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38441 conditional variable definition.
38442 (__futimes): Update comment.
38443 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38444 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38445
38446 [BZ #16560]
38447 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38448 arguments close to 0.
38449 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38450 Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38452 Likewise.
38453 * math/auto-libm-test-in: Add more tests of exp10.
38454 * math/auto-libm-test-out: Regenerated.
38455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38456
38457 * sysdeps/unix/sysv/linux/kernel-features.h
38458 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38459 * sysdeps/unix/sysv/linux/readv.c: Do not include
38460 <kernel-features.h>.
38461 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38462 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38463 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38464 unconditional.
38465 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38466 conditional code.
38467 * sysdeps/unix/sysv/linux/writev.c: Do not include
38468 <kernel-features.h>.
38469 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38470 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38471 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38472 unconditional.
38473 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38474 conditional code.
38475
38476 2014-06-25 Will Newton <will.newton@linaro.org>
38477
38478 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38479 comment changes throughout the file. Remove checks
38480 for HAVE_*_H definitions that are not required.
38481 (__gen_tempname): Call abort if an unknown kind value is
38482 passed.
38483
38484 2014-06-25 Andreas Schwab <schwab@suse.de>
38485
38486 [BZ #17086]
38487 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38488 scalbln, scalblnf, scalblnl in libc.
38489
38490 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38491
38492 [BZ #17086]
38493 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38494 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38495 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38496
38497 2014-06-24 Roland McGrath <roland@hack.frob.com>
38498
38499 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38500 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38501 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38502 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38503 Update #include.
38504 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38505 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38506 Update #include.
38507 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38508 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38509 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38510 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38511 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38512 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38513 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38514 * sysdeps/x86/bits/semaphore.h: ... here.
38515 * sysdeps/x86/nptl/elide.h: Moved ...
38516 * sysdeps/x86/elide.h: ... here.
38517 * sysdeps/x86_64/nptl/Implies: File removed.
38518 * sysdeps/i386/nptl/Implies: File removed.
38519
38520 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38521
38522 [BZ #16539]
38523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38524 return the argument for normal arguments with exponent below -64.
38525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38526 Likewise.
38527 * math/auto-libm-test-in: Add another test of expm1.
38528 * math/auto-libm-test-out: Regenerated.
38529
38530 [BZ #16287]
38531 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38532 calling __erfcl for arguments at least 16.
38533 * math/auto-libm-test-in: Add more tests of erf.
38534 * math/auto-libm-test-out: Regenerated.
38535
38536 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38537 individual architectures.
38538 * sysdeps/unix/sysv/linux/configure: Regenerated.
38539 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38540 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38541 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38542 (ldd_rewrite_script): Define variable.
38543 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38545 file.
38546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38547 generated file.
38548 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38549 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38550 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38551 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38552 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38553 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38554 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38555 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38556
38557 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38558
38559 [BZ #17084]
38560 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38561 Rename member __data.d to __data.__elision_data.
38562
38563 2014-06-24 Wilco <wdijkstr@arm.com>
38564
38565 * NEWS: Add 16918 to fixed bug list.
38566
38567 2014-06-24 Wilco <wdijkstr@arm.com>
38568
38569 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38570
38571 2014-06-24 Wilco <wdijkstr@arm.com>
38572
38573 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38574 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38575 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38576 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38577 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38578 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38579 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38580 Use _FPU_MASK_RM.
38581
38582 2014-06-24 Wilco <wdijkstr@arm.com>
38583
38584 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38585
38586 2014-06-24 Wilco <wdijkstr@arm.com>
38587
38588 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38589 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38590 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38591 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38592
38593 2014-06-24 Wilco <wdijkstr@arm.com>
38594
38595 [BZ #16918]
38596 * sysdeps/arm/feupdateenv.c (feupdateenv):
38597 Rewrite to reduce FPSCR accesses and fix return value.
38598
38599 2014-06-24 Wilco <wdijkstr@arm.com>
38600
38601 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38602 Optimize to avoid unnecessary FPSCR writes.
38603 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38604 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38605 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38606 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38607
38608 2014-06-24 Wilco <wdijkstr@arm.com>
38609
38610 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38611 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38612 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38613 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38614 Call libc_fetestexcept_vfp.
38615 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38616 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38617 __SOFTFP__ ifdef so that they can be built for softfp.
38618
38619 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38620
38621 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38622 argument type signed char.
38623
38624 * Makerules (check-abi): Dump diff of symlist if the test
38625 fails.
38626
38627 2014-06-23 Roland McGrath <roland@hack.frob.com>
38628
38629 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38630 using abort.
38631
38632 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38633 Remove unused variable ST.
38634
38635 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38636
38637 [BZ #16354]
38638 [BZ #17061]
38639 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38640 small arguments before calling __expm1.
38641 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38642 small arguments before calling __expm1f.
38643 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38644 small arguments before calling __expm1l.
38645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38646 Likewise.
38647 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38648 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38649 spurious underflow for some cosh tests.
38650 * math/auto-libm-test-out: Regenerated.
38651 * sysdeps/i386/fpu/libm-test-ulps: Update.
38652
38653 [BZ #17050]
38654 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38655 (__ieee754_y1): Set errno if return value overflows.
38656 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38657 (__ieee754_y1f): Set errno if return value overflows.
38658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38659 (__ieee754_y1l): Set errno if return value overflows.
38660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38661 (__ieee754_y1l): Set errno if return value overflows.
38662 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38663 * math/auto-libm-test-out: Regenerated.
38664
38665 * math/gen-auto-libm-tests.c: Document use of
38666 ignore-zero-inf-sign.
38667 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38668 (input_flags): Add ignore-zero-inf-sign.
38669 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38670 * math/gen-libm-test.pl (generate_testfile): Handle
38671 ignore-zero-inf-sign.
38672 * math/auto-libm-test-in: Mark some cpow tests with
38673 ignore-zero-inf-sign and some with xfail-rounding.
38674 * math/auto-libm-test-out: Regenerated.
38675 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38676 * sysdeps/i386/fpu/libm-test-ulps: Update.
38677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38678
38679 [BZ #16315]
38680 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38681 overflowing or underflowing operations take place with sign of
38682 result.
38683 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38684 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38685 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38686 (__ieee754_pow): Recompute overflowing and underflowing results in
38687 original rounding mode.
38688 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38689 (__powl_helper): Allow negative argument X and scale negated value
38690 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38691 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38692 overflowing or underflowing operations take place with sign of
38693 result.
38694 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38695 Include <math.h>.
38696 * math/auto-libm-test-in: Add more tests of pow.
38697 * math/auto-libm-test-out: Regenerated.
38698 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38699 (pow_tonearest_test_data): Remove.
38700 (pow_test_tonearest): Likewise.
38701 (pow_towardzero_test_data): Likewise.
38702 (pow_test_towardzero): Likewise.
38703 (pow_downward_test_data): Likewise.
38704 (pow_test_downward): Likewise.
38705 (pow_upward_test_data): Likewise.
38706 (pow_test_upward): Likewise.
38707 (main): Don't call removed functions.
38708 * sysdeps/i386/fpu/libm-test-ulps: Update.
38709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710
38711 2014-06-23 Roland McGrath <roland@hack.frob.com>
38712
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38714 Moved ...
38715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38717 Moved ...
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38720 Moved ...
38721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38723 Moved ...
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38726 File removed.
38727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38728 File removed.
38729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38730 File removed.
38731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38732 File removed.
38733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38734 File removed.
38735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38736 File removed.
38737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38738 File removed.
38739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38740 File removed.
38741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38742 File removed.
38743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38744 File removed.
38745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38746 File removed.
38747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38748 File removed.
38749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38750 Moved ...
38751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38753 Moved ...
38754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38755 ... here.
38756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38757 Moved ...
38758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38760 Moved ...
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38763 Moved ...
38764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38766 Moved ...
38767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38769 Moved ...
38770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38772 Moved ...
38773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38775 Moved ...
38776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38779 ... here.
38780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38781 Moved ...
38782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38784 Moved ...
38785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38786 ... here.
38787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38788 Moved ...
38789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38790 ... here.
38791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38792 Moved ...
38793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38794 ... here.
38795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38796 Moved ...
38797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38799 Moved ...
38800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38804 Moved ...
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38806 ... here.
38807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38808 Moved ...
38809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38810 ... here.
38811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38812 Moved ...
38813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38815 Moved ...
38816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38818 Moved ...
38819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38821 Moved ...
38822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38824 Moved ...
38825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38826 ... here.
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38828 Moved ...
38829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38831 Moved ...
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38834 Moved ...
38835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38837 Moved ...
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38842 Moved ...
38843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38845 Moved ...
38846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38848 Moved ...
38849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38850 ... here.
38851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38852 Moved ...
38853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38854 ... here.
38855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38856 Moved ...
38857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38858 ... here.
38859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38860 Moved ...
38861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38863 Moved ...
38864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38866 Moved ...
38867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38869 Moved ...
38870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38871 ... here.
38872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38873 Moved ...
38874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38875 ... here.
38876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38877 Moved ...
38878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38879 ... here.
38880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38881 Moved ...
38882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38884 Moved ...
38885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38886
38887 2014-06-23 Will Newton <will.newton@linaro.org>
38888 Wilco <wdijkstr@arm.com>
38889
38890 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38891 implementation. Include get-rounding-mode.h.
38892 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38893 [!libc_feholdsetround_noex_ctx]: Define
38894 libc_feholdsetround_noex_ctx.
38895 [!libc_feholdsetround_noexf_ctx]: Define
38896 libc_feholdsetround_noexf_ctx.
38897 [!libc_feholdsetround_noexl_ctx]: Define
38898 libc_feholdsetround_noexl_ctx.
38899 (libc_feholdsetround_ctx): New function.
38900 (libc_feresetround_ctx): New function.
38901 (libc_feholdsetround_noex_ctx): New function.
38902 (libc_feresetround_noex_ctx): New function.
38903
38904 2014-06-23 Roland McGrath <roland@hack.frob.com>
38905
38906 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38907 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38908 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38909 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38910 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38911 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38912
38913 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38914 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38915 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38916 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38917 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38918 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38920 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38922 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38924 Moved ...
38925 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38926 ... here.
38927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38928 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38930 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38932 Moved ...
38933 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38935 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38937 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38939 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38941 Moved ...
38942 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38943 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38944 Moved ...
38945 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38946 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38947 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38949 Moved ...
38950 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38951 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38952 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38953 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38954 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38955 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38956 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38958 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38960 Moved ...
38961 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38962 ... here.
38963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38964 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38966 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38968 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38970 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38974 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38976 Moved ...
38977 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38978 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38979 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38980 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38981 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38982 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38983 Moved ...
38984 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38985 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38986 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38987 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38988 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38989
38990 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38991 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38993 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38994 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38995 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38996 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38997 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38999 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39000 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39001 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39002 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39003 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39004 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39005 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39006 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39007 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39008 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39009 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39010 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39011 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39012 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39013 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39014 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39015 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39016 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39017 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39018
39019 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39020
39021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39022 (FALLOC_FL_COLLAPSE_RANGE): New macro.
39023 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39024 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39025 (IPV6_PMTUDISC_INTERFACE): Likewise.
39026 (IPV6_PMTUDISC_OMIT): Likewise.
39027
39028 2014-06-23 Andreas Schwab <schwab@suse.de>
39029
39030 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39031 Remove unused errout label.
39032
39033 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39034
39035 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39036 macro: hardware supports Vector Crypto instructions.
39037
39038 2014-06-23 Will Newton <will.newton@linaro.org>
39039
39040 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39041 rather than __builtin_expect.
39042
39043 * elf/dl-lookup.c (undefined_msg): Remove variable.
39044 (_dl_lookup_symbol_x): Replace undefined_msg with string
39045 literal.
39046
39047 * elf/dl-lookup.c (do_lookup_unique): New function.
39048 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39049 to a separate function.
39050
39051 2014-06-23 Andreas Schwab <schwab@suse.de>
39052
39053 [BZ #17079]
39054 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39055 before reading the next line.
39056
39057 2014-06-23 Will Newton <will.newton@linaro.org>
39058
39059 * test-skeleton.c (signal_handler): Use printf and %m
39060 rather than perror. Use printf rather than fprintf to
39061 stderr. Use puts rather than fputs to stderr.
39062 (main): Likewise.
39063
39064 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39065
39066 * nscd/nscd.c (thread_info_t): Remove typedef.
39067 (thread_info): Remove variable.
39068
39069 2014-06-21 Allan McRae <allan@archlinux.org>
39070
39071 * NEWS: Mention CVE-2014-4043.
39072
39073 2014-06-20 Roland McGrath <roland@hack.frob.com>
39074
39075 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39076 * nptl/smp.h: ... here.
39077
39078 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39079
39080 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39081 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39082 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39083 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39084
39085 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39086 * nptl/stack-aliasing.h: New file.
39087 * sysdeps/i386/i686/stack-aliasing.h: New file.
39088 * sysdeps/i386/i686/nptl/Makefile: File removed.
39089 * sysdeps/x86_64/stack-aliasing.h: New file.
39090 * sysdeps/x86_64/nptl/Makefile
39091 (CFLAGS-pthread_create.c): Variable removed.
39092
39093 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39094 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39095 old file.
39096 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39097 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39098 old file.
39099
39100 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39101
39102 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39103 (__ASSUME_SIGFRAME_V2): Remove macro.
39104 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39105 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39106 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39107 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39108 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39109 Declare as function. Remove conditional macro definitions.
39110 (__default_rt_sa_restorer): Likewise.
39111 (__default_sa_restorer_v1): Remove declaration.
39112 (__default_sa_restorer_v2): Likewise.
39113 (__default_rt_sa_restorer_v1): Likewise.
39114 (__default_rt_sa_restorer_v2): Likewise.
39115 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39116 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39117 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39118
39119 2014-06-20 Roland McGrath <roland@hack.frob.com>
39120
39121 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39122 (libpthread-routines): Add sysdep.
39123 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39124 * sysdeps/unix/sysv/linux/sparc/Versions
39125 (libpthread: GLIBC_2.3.3): New version set.
39126 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39127 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39128 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39129 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39130 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39131 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39132 Moved ...
39133 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39134 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39135 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39136 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39137 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39138 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39139 * sysdeps/sparc/nptl/sem_init.c: ... here.
39140 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39141 * sysdeps/sparc/nptl/sem_post.c: ... here.
39142 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39143 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39144 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39145 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39146 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39148 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39149 (libpthread-routines): Add cpu_relax.
39150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39151 File removed.
39152 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39153 (librt: GLIBC_2.3.3): New version set.
39154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39155 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39157 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39160 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39162 Moved ...
39163 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39165 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39167 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39169 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39171 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39173 Moved ...
39174 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39175 Update #include.
39176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39177 Moved ...
39178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39179 Update #include.
39180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39181 Moved ...
39182 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39183 Update #include.
39184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39185 Moved ...
39186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39187 Update #include.
39188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39189 Moved ...
39190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39191 Update #include.
39192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39193 Moved ...
39194 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39195 Update #include.
39196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39197 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39203 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39205 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39207 Moved ...
39208 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39210 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39212 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39213
39214 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39215
39216 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39217 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39218 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39219 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39220 * nscd/nscd.c: Likewise.
39221 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39222 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39223 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39224 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39225
39226 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39227 <kernel-features.h>.
39228 (init_mq_netlink): Remove conditional have_sock_cloexec
39229 definitions. Remove code conditional on have_sock_cloexec < 0.
39230 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39231 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39232 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39233 <kernel-features.h>.
39234 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39235 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39236
39237 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39238
39239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39240 Add tests for memset_chk and memset.
39241
39242 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39243 with AVX2_Usable.
39244
39245 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39246
39247 [BZ #16046]
39248 * elf/tst-dl-iter-static.c: New file.
39249 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39250
39251 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39252 error.
39253
39254 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39255
39256 * sysdeps/unix/sysv/linux/kernel-features.h
39257 (__ASSUME_F_GETOWN_EX): Remove macro.
39258 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39259 <kernel-features.h>.
39260 (miss_F_GETOWN_EX): Remove variable or macro.
39261 (do_fcntl): Do not check miss_F_GETOWN_EX.
39262 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39263
39264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39265 Remove macro.
39266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39267 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39268 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39269
39270 * sysdeps/unix/sysv/linux/kernel-features.h
39271 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39272 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39273 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39274 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39275
39276 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39277
39278 [BZ #17075]
39279 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39280 Fix calculation of the symbol's value.
39281 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39282 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39283 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39284 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39285 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39286 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39287 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39288 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39289 (modules-names): Add `tst-armtlsdescmod',
39290 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39291 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39292 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39293 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39294 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39295 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39296 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39297 ($(objpfx)tst-armtlsdescloc): New dependency.
39298 ($(objpfx)tst-armtlsdescextnow): Likewise.
39299 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39300 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39301 TLS scheme support.
39302 * sysdeps/arm/configure: Regenerate.
39303
39304 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39305
39306 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39307 (__atfct_seterrno_2): Likewise.
39308 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39309 <kernel-features.h>.
39310 (__ASSUME_ATFCTS): Do not undefine and redefine.
39311 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39312 (__have_atfcts): Remove conditional definition.
39313 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39314 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39315 unreachable if [__ASSUME_ATFCTS].
39316 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39317 not undefine and redefine.
39318 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39319 <kernel-features.h>.
39320 (faccessat) [__NR_faccessat]: Make code unconditional.
39321 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39322 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39323 <kernel-features.h>.
39324 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39325 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39326 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39327 <kernel-features.h>.
39328 (fchownat) [__NR_fchownat]: Make code unconditional.
39329 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39330 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39331 <kernel-features.h>.
39332 (futimesat) [__NR_futimesat]: Make code unconditional.
39333 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39334 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39335 <kernel-features.h>.
39336 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39337 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39338 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39339 <kernel-features.h>.
39340 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39341 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39342 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39343 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39344 <kernel-features.h>.
39345 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39346 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39347 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39348 <kernel-features.h>.
39349 (linkat) [__NR_linkat]: Make code unconditional.
39350 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39351 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39352 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39353 <kernel-features.h>.
39354 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39355 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39356 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39357 <kernel-features.h>.
39358 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39359 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39360 * sysdeps/unix/sysv/linux/openat.c: Do not include
39361 <kernel-features.h>.
39362 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39363 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39364 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39365 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39366 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39367 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39368 <kernel-features.h>.
39369 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39370 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39371 result of INLINE_SYSCALL directly, not via int variable.
39372 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39373 <kernel-features.h>.
39374 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39375 (renameat) [__NR_renameat]: Make code unconditional.
39376 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39377 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39378 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39379 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39380 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39381 (__ASSUME_ATFCTS): Do not undefine and redefine.
39382 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39383 <kernel-features.h>.
39384 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39385 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39386 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39387 <kernel-features.h>.
39388 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39389 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39390 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39391 (__ASSUME_ATFCTS): Do not undefine and redefine.
39392 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39393 <kernel-features.h>.
39394 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39395 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39396 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39397 <kernel-features.h>.
39398 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39399 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39400
39401 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39402
39403 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39404
39405 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39406
39407 [BZ #17069]
39408 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39409 constructed tree before returning error.
39410 * posix/bug-regexp36.c: Expand test case.
39411
39412 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39413
39414 [BZ #6803]
39415 * math/libm-test.inc (scalbln_test_date):
39416 Add errno expectations.
39417 * math/w_scalblnf.c: New File.
39418 Add wrapper which checks for setting errno to ERANGE.
39419 Add weak_alias for corresponding scalbln function.
39420 * math/w_scalbln.c: Likewise.
39421 * math/w_scalblnl.c: Likewise.
39422 * math/Makefile (libm-calls): Add w_scalbln.
39423 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39424 Remove weak_alias for corresponding scalbln function.
39425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39429 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39430 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39431 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39432 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39433 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39434 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39435 Remove long_double_symbol for scalblnl function in libm, libc.
39436 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39437 Add wrapper which checks for setting errno to ERANGE.
39438 Add long_double_symbol for scalblnl function in libm, libc.
39439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39440 Remove long_double_symbol for scalblnl in libm.
39441 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39442 Add wrapper which checks for setting errno to ERANGE.
39443 Add long_double_symbol for scalblnl function in libm.
39444 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39445 Do not use wrapper because of own implementation.
39446
39447 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39448
39449 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39450 3 bytes for __pad1 for x32.
39451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39452
39453 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39454 H.J. Lu <hongjiu.lu@intel.com>
39455
39456 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39457 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39460 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39461
39462 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39463
39464 [BZ #17069]
39465 * posix/regcomp.c (parse_expression): Deallocate partially
39466 constructed tree before returning error.
39467 * posix/Makefile.c (tests): Add bug-regex36.
39468 (generated): Add bug-regex36.mtrace.
39469 (tests-special): Add $(objpfx)bug-regex36-mem.out
39470 (bug-regex36-ENV): New variable.
39471 ($(objpfx)bug-regex36-mem.out): New rule.
39472 * posix/bug-regex36.c: New file.
39473
39474 2014-06-19 Will Newton <will.newton@linaro.org>
39475
39476 * malloc/malloc.c (systrim): If extra is zero then return
39477 early.
39478
39479 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39480
39481 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39482
39483 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39484
39485 * sysdeps/aarch64/strchr.S: New file.
39486
39487 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39488
39489 [BZ #17022]
39490 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39491 from arguments -2 or below.
39492 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39493 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39494
39495 2014-06-18 Andreas Schwab <schwab@suse.de>
39496
39497 [BZ #17062]
39498 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39499 of a bracket expr not to run off the end of the string.
39500 * posix/Makefile (tests): Add tst-fnmatch3.
39501 * posix/tst-fnmatch3.c: New file.
39502
39503 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39504
39505 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39506 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39507 [$(cross-compiling) = no]: Likewise.
39508 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39509 [$(cross-compiling) = no]: Likewise.
39510
39511 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39512
39513 [BZ #17031]
39514 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39515 double, adjusted for any remainder from the high double.
39516 * math/libm-test.inc (nearbyint): Add tests.
39517 (rint): Likewise.
39518
39519 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39520
39521 * nptl/sysdeps/powerpc/Makefile: Moved ...
39522 * sysdeps/powerpc/nptl/Makefile: ... here.
39523 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39524 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39525 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39526 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39527 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39528 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39529 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39530 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39531 * nptl/sysdeps/powerpc/tls.h: Moved ...
39532 * sysdeps/powerpc/nptl/tls.h: ... here.
39533
39534 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39535
39536 [BZ #16681]
39537 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39538 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39539 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39540 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39541 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39542 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39543 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39544 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39545 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39546
39547 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
39548
39549 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39550
39551 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
39552
39553 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39554 defined operator.
39555
39556 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39557 $TIMEOUTFACTOR.
39558
39559 2014-06-16 Florian Weimer <fweimer@redhat.com>
39560
39561 [BZ #17058]
39562 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39563 non-executed part of the test.
39564
39565 2014-06-16 Andreas Schwab <schwab@suse.de>
39566
39567 * string/bits/string2.h (strdup, strndup): Update feature guard.
39568
39569 2014-06-14 David S. Miller <davem@davemloft.net>
39570
39571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39572
39573 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
39574
39575 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39576 that was previously under [RESET_PID].
39577 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39578
39579 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39580 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39581 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39583 (__libc_vfork): New strong alias.
39584 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39585
39586 2014-06-14 Andi Kleen <ak@linux.intel.com>
39587
39588 * sysdeps/generic/elide.h: New file.
39589
39590 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39591
39592 * Makefile (installed-headers): Adjust path of pthread.h header.
39593
39594 2014-06-13 Roland McGrath <roland@hack.frob.com>
39595
39596 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39597 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39598 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39599 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39600
39601 * nptl/sysdeps/s390/Makefile: Moved ...
39602 * sysdeps/s390/nptl/Makefile: ... here.
39603 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39604 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39605 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39606 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39607 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39608 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39609 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39610 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39611 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39612 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39613 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39614 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39615 * nptl/sysdeps/s390/tls.h: Moved ...
39616 * sysdeps/s390/nptl/tls.h: ... here.
39617
39618 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39619 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39620
39621 2014-06-13 David S. Miller <davem@davemloft.net>
39622
39623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39626 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39630 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39631 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39632 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39633 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39634 Remove RESET_PID cpp guards.
39635 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39636 Remove RESET_PID cpp guards.
39637 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39638
39639 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39640
39641 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39642 __sp to uintptr_t.
39643
39644 2014-06-13 Andi Kleen <ak@linux.intel.com>
39645
39646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39648 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39649 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39650 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39652 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39654 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39655 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39659 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39660 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39661 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39664 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39666
39667 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39668 (pthread_rwlock_rdlock): Add elision.
39669 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39670 (pthread_rwlock_wrlock): Add elision.
39671 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39672 (pthread_rwlock_trywrlock): Add elision.
39673 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39674 (pthread_rwlock_tryrdlock): Add elision.
39675 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39676 (pthread_rwlock_tryrdlock): Add elision unlock.
39677 * nptl/sysdeps/pthread/pthread.h:
39678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39679 (PTHREAD_RWLOCK_INITIALIZER,
39680 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39681 Handle new elision field.
39682 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39683 * sysdeps/arm/nptl/bits/pthreadtypes.h
39684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39685 * sysdeps/sh/nptl/bits/pthreadtypes.h
39686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39687 * sysdeps/tile/nptl/bits/pthreadtypes.h
39688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39689 * sysdeps/a/nptl/bits/pthreadtypes.h
39690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39691 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39699 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39703 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39705 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39707 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39708 (elision_init): Set try_xbegin to zero when no RTM.
39709 * sysdeps/x86/nptl/bits/pthreadtypes.h
39710 (pthread_rwlock_t): Change __pad1 to __rwelision.
39711 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39712
39713 2014-06-13 Andi Kleen <ak@linux.intel.com>
39714
39715 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39716 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39717 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39718 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39719
39720 2014-06-13 Meador Inge <meadori@codesourcery.com>
39721
39722 [BZ #16996]
39723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39724 that the cached result has been set before returning it.
39725
39726 2014-06-12 Roland McGrath <roland@hack.frob.com>
39727
39728 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39729 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39730 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39731 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39732 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39733 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39734
39735 * nptl/sysdeps/sparc/Makefile: Moved ...
39736 * sysdeps/sparc/nptl/Makefile: ... here.
39737 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39738 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39739 * nptl/sysdeps/sparc/tls.h: Moved ...
39740 * sysdeps/sparc/nptl/tls.h: ... here.
39741 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39742 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39743 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39744 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39745 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39746 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39747 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39748 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39749 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39750 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39751 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39752 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39753 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39754 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39755 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39756 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39757 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39759 Update #include.
39760 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39762 Update #include.
39763 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39764 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39765 Update #include.
39766 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39767 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39768 Update #include.
39769
39770 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39771
39772 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39773 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39774
39775 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39776 (struct list_links): Type removed.
39777 (struct thread_node, struct timer_node): Replace struct list_links
39778 with struct list_head.
39779 (list_unlink_ip): Likewise.
39780 * sysdeps/pthread/timer_routines.c
39781 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39782 (list_append, list_insbefore): Likewise.
39783 (list_init): Function removed.
39784 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39785 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39786 * sysdeps/pthread/Makefile: ... here, new file.
39787
39788 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39789 * sysdeps/nptl/Implies: ... here.
39790 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39791 * nptl/sysdeps/pthread/list.h: Moved ...
39792 * include/list.h: ... here.
39793 * nptl/sysdeps/pthread/createthread.c: Moved ...
39794 * nptl/createthread.c: ... here.
39795 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39796 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39797 * nptl/pt-longjmp.c: ... here.
39798 * nptl/sysdeps/pthread/Makefile: Moved ...
39799 * sysdeps/nptl/Makefile: ... here.
39800 * nptl/sysdeps/pthread/Subdirs: Moved ...
39801 * sysdeps/nptl/Subdirs: ... here.
39802 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39803 * sysdeps/nptl/aio_misc.h: ... here.
39804 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39805 * sysdeps/nptl/bits/libc-lock.h: ... here.
39806 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39807 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39808 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39809 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39810 * nptl/sysdeps/pthread/configure: Moved ...
39811 * sysdeps/nptl/configure: ... here.
39812 * nptl/sysdeps/pthread/configure.ac: Moved ...
39813 * sysdeps/nptl/configure.ac: ... here.
39814 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39815 * sysdeps/nptl/gai_misc.h: ... here.
39816 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39817 * sysdeps/nptl/librt-cancellation.c: ... here.
39818 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39819 * sysdeps/nptl/malloc-machine.h: ... here.
39820 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39821 * sysdeps/nptl/pthread-functions.h: ... here.
39822 * nptl/sysdeps/pthread/pthread.h: Moved ...
39823 * sysdeps/nptl/pthread.h: ... here.
39824 * nptl/sysdeps/pthread/setxid.h: Moved ...
39825 * sysdeps/nptl/setxid.h: ... here.
39826 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39827 * sysdeps/nptl/sigfillset.c: ... here.
39828 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39829 * sysdeps/nptl/tcb-offsets.h: ... here.
39830 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39831 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39832 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39833 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39834 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39835 * sysdeps/pthread/allocalim.h: ... here.
39836 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39837 * sysdeps/pthread/bits/sigthread.h: ... here.
39838 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39839 * sysdeps/pthread/flockfile.c: ... here.
39840 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39841 * sysdeps/pthread/ftrylockfile.c: ... here.
39842 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39843 * sysdeps/pthread/funlockfile.c: ... here.
39844 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39845 * sysdeps/pthread/posix-timer.h: ... here.
39846 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39847 * sysdeps/pthread/timer_create.c: ... here.
39848 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39849 * sysdeps/pthread/timer_delete.c: ... here.
39850 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39851 * sysdeps/pthread/timer_getoverr.c: ... here.
39852 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39853 * sysdeps/pthread/timer_gettime.c: ... here.
39854 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39855 * sysdeps/pthread/timer_routines.c: ... here.
39856 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39857 * sysdeps/pthread/timer_settime.c: ... here.
39858 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39859 * sysdeps/pthread/tst-timer.c: ... here.
39860 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39861 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39862
39863 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39864 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39865
39866 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39867 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39868 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39869 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39870 Update #include target.
39871 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39872 * sysdeps/i386/i686/nptl/Makefile: ... here.
39873 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39874 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39875 Update #include target.
39876 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39877 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39878 * nptl/sysdeps/i386/Makefile: Moved ...
39879 * sysdeps/i386/nptl/Makefile: ... here.
39880 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39881 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39882 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39883 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39884 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39885 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39886 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39887 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39888 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39889 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39890 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39891 * nptl/sysdeps/i386/tls.h: Moved ...
39892 * sysdeps/i386/nptl/tls.h: ... here.
39893
39894 * sysdeps/sh/Makefile [$(subdir) = csu]
39895 (gen-as-const-headers): Add tcb-offsets.sym.
39896 * nptl/sysdeps/sh/Makefile: File removed.
39897 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39898 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39899 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39900 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39901 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39902 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39903 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39904 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39905 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39906 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39907 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39908 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39909 * nptl/sysdeps/sh/tls.h: Moved ...
39910 * sysdeps/sh/nptl/tls.h: ... here.
39911 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39912 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39913 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39914 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39915 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39916 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39917 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39919 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39920 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39922 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39924 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39926 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39928 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39930 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39932 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39936 Moved ...
39937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39938 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39939 Moved ...
39940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39941 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39943 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39945 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39946 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39947 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39948 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39949 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39950 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39951 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39952 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39953 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39954 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39955 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39956 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39957 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39958 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39959
39960 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39961
39962 * posix/spawn_faction_addopen.c: Include string.h.
39963
39964 2014-06-11 Roland McGrath <roland@hack.frob.com>
39965
39966 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39967 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39968 * nptl/sysdeps/x86_64/Makefile: Moved ...
39969 * sysdeps/x86_64/nptl/Makefile: ... here.
39970 * nptl/sysdeps/x86_64/configure: Moved ...
39971 * sysdeps/x86_64/nptl/configure: ... here.
39972 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39973 * sysdeps/x86_64/nptl/configure.ac: ... here.
39974 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39975 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39976 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39977 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39978 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39979 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39980 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39981 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39982 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39983 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39984 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39985 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39986 * nptl/sysdeps/x86_64/tls.h: Moved ...
39987 * sysdeps/x86_64/nptl/tls.h: ... here.
39988 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39989 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39990 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39991 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39992
39993 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39994
39995 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39996
39997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39998
39999 2014-06-11 Joseph Myers <joseph@codesourcery.com>
40000
40001 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40002 type.
40003 [POSIX] (off_t): Likewise.
40004 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40005 [POSIX] (S_ISBLK): Require macro.
40006 [POSIX] (S_ISCHR): Likewise.
40007 [POSIX] (S_ISDIR): Likewise.
40008 [POSIX] (S_ISFIFO): Likewise.
40009 [POSIX] (S_ISREG): Likewise.
40010 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40011 optional-macro.
40012 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40013 type.
40014 [POSIX] (time_t): Likewise.
40015 [POSIX] (timer_t): Likewise.
40016
40017 2014-06-11 Florian Weimer <fweimer@redhat.com>
40018
40019 [BZ #17048]
40020 * posix/spawn_int.h (struct __spawn_action): Make the path string
40021 non-const to support deallocation.
40022 * posix/spawn_faction_addopen.c
40023 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40024 * posix/spawn_faction_destroy.c
40025 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
40026 path in all spawn_do_open actions.
40027 * posix/tst-spawn.c (do_test): Exercise the copy operation in
40028 posix_spawn_file_actions_addopen.
40029
40030 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40031
40032 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40033 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40034 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40035 conditional code always true.
40036 (__libc_vfork): New alias.
40037
40038 2014-06-11 Roland McGrath <roland@hack.frob.com>
40039
40040 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40041 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40042
40043 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40044
40045 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40046 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40047
40048 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40049 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40050
40051 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40052 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40053
40054 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40055
40056 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40057 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40058 multiarch strcmp for PPC64.
40059 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40060 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40062 multiarch optimizations.
40063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40064 (__libc_ifunc_impl_list): Likewise.
40065
40066 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40067
40068 * benchtests/scripts/validate_benchout.py: New script.
40069 * benchtests/Makefile (bench-func): Call it.
40070 * benchtests/scripts/benchout.schema.json: New file.
40071
40072 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40073
40074 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40075 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40076 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40077 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40078 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40079 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40080 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40081 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40082 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40083 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40084 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40085 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40086 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40087 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40088 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40089 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40091 Moved ...
40092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40093 ... here.
40094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40095 Moved ...
40096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40098 Moved ...
40099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40100 ... here.
40101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40102 Moved ...
40103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40104 ... here.
40105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40106 Moved ...
40107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40109 Moved ...
40110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40111 ... here.
40112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40113 Moved ...
40114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40115 ... here.
40116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40117 Moved ...
40118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40120 Moved ...
40121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40122 ... here.
40123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40124 Moved ...
40125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40126 ... here.
40127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40128 Moved ...
40129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40130 ... here.
40131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40132 Moved ...
40133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40135 Moved ...
40136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40137 ... here.
40138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40139 Moved ...
40140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40141 ... here.
40142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40143 Moved ...
40144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40145 ... here.
40146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40147 Moved ...
40148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40150 Moved ...
40151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40152 ... here.
40153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40154 Moved ...
40155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40156 ... here.
40157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40158 Moved ...
40159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40161 Moved ...
40162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40163 ... here.
40164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40165 Moved ...
40166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40168 Moved ...
40169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40171 Moved ...
40172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40173 ... here.
40174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40175 Moved ...
40176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40177 ... here.
40178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40179 Moved ...
40180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40181 ... here.
40182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40183 Moved ...
40184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40186 Moved ...
40187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40188 ... here.
40189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40190 Moved ...
40191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40192 ... here.
40193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40194 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40196 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40198 Moved ...
40199 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40200 ... here.
40201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40202 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40204 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40206 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40208 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40210 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40212 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40214 Moved ...
40215 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40216 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40217 Moved ...
40218 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40219 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40220 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40222 Moved ...
40223 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40224 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40225 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40226 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40227 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40228 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40229 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40230
40231 2014-06-10 Wilco <wdijkstr@arm.com>
40232
40233 * math/test-fenv-return.c: New file.
40234 * math/Makefile: Add new test test-fenv-return.
40235
40236 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40237
40238 [BZ #17042]
40239 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40240 when x - 1 is zero.
40241 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40242 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40243 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40244 0.0L for an argument of 1.0L.
40245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40246 Likewise.
40247 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40248 value when x - 1 is zero.
40249 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40250 * sysdeps/i386/fpu/libm-test-ulps: Update.
40251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40252
40253 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40254
40255 [BZ #15119]
40256 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40257
40258 2014-06-09 Roland McGrath <roland@hack.frob.com>
40259
40260 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40261 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40262
40263 2014-06-09 Roland McGrath <roland@hack.frob.com>
40264
40265 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40266 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40267
40268 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40269 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40270
40271 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40272 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40273
40274 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40275 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40276
40277 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40278 if not already defined.
40279 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40280 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40281 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40282 (TLS_INIT_TP): Use it.
40283 (TLS_DEFINE_INIT_TP): New macro.
40284 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40285
40286 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40287
40288 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40289 constant.
40290 [POSIX] (IXANY): Likewise.
40291 [POSIX] (OLCUC): Likewise.
40292 [POSIX || POSIX2008] (CBAUD): Do not allow.
40293 [POSIX || POSIX2008] (DEFECHO): Likewise.
40294 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40295 [POSIX || POSIX2008] (ECHOKE): Likewise.
40296 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40297 [POSIX || POSIX2008] (EXTA): Likewise.
40298 [POSIX || POSIX2008] (EXTB): Likewise.
40299 [POSIX || POSIX2008] (FLUSHO): Likewise.
40300 [POSIX || POSIX2008] (LOBLK): Likewise.
40301 [POSIX || POSIX2008] (PENDIN): Likewise.
40302 [POSIX || POSIX2008] (SWTCH): Likewise.
40303 [POSIX || POSIX2008] (VDISCARD): Likewise.
40304 [POSIX || POSIX2008] (VDSUSP): Likewise.
40305 [POSIX || POSIX2008] (VLNEXT): Likewise.
40306 [POSIX || POSIX2008] (VREPRINT): Likewise.
40307 [POSIX || POSIX2008] (VSTATUS): Likewise.
40308 [POSIX || POSIX2008] (VWERASE): Likewise.
40309 (B*): Change to B[0123456789]*.
40310 * conform/data/time.h-data [POSIX || UNIX98]
40311 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40312 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40313 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40314 [POSIX] (tm_*): Do not allow.
40315
40316 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40317
40318 * Makefile (install): Don't set LANGUAGE.
40319 * Makefile.in (install): Likewise.
40320 * assert/Makefile (test-assert-ENV): Remove variable.
40321 (test-assert-perr-ENV): Likewise.
40322 * elf/Makefile (neededtest4-ENV): Likewise.
40323 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40324 [$(cross-compiling) = no]: Don't set LANGUAGE.
40325 * io/ftwtest-sh (LANG): Remove variable.
40326 * libio/Makefile (tst-widetext-ENV): Likewise.
40327 * manual/install.texi (Running make install): Don't refer to
40328 environment settings for make install.
40329 * INSTALL: Regenerated.
40330 * nptl/tst-tls6.sh: Don't set LANG.
40331 * posix/globtest.sh (LANG): Remove variable.
40332 * string/Makefile (tester-ENV): Likewise.
40333 (inl-tester-ENV): Likewise.
40334 (noinl-tester-ENV): Likewise.
40335 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40336 [$(cross-compiling) = no]: Don't set LANGUAGE.
40337 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40338 without explicit environment settings.
40339
40340 2014-06-06 Roland McGrath <roland@hack.frob.com>
40341
40342 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40343 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40344 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40345 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40346
40347 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40348
40349 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40350 other files in the crypt directory.
40351 * crypt/crypt.c: Remove duplicate includes.
40352 * crypt/crypt-entry.c: Likewise.
40353 * crypt/crypt_util.c: Likewise.
40354
40355 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40356
40357 * Makeconfig (run-program-env): New variable.
40358 (run-program-prefix-before-env): Likewise.
40359 (run-program-prefix-after-env): Likewise.
40360 (run-program-prefix): Define in terms of new variables.
40361 (built-program-cmd-before-env): New variable.
40362 (built-program-cmd-after-env): Likewise.
40363 (built-program-cmd): Define in terms of new variables.
40364 (test-program-prefix-before-env): New variable.
40365 (test-program-prefix-after-env): Likewise.
40366 (test-program-prefix): Define in terms of new variables.
40367 (test-program-cmd-before-env): New variable.
40368 (test-program-cmd-after-env): Likewise.
40369 (test-program-cmd): Define in terms of new variables.
40370 * Rules (make-test-out): Use $(run-program-env).
40371 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40372 (help): Do not mention environment variables. Mention
40373 --timeoutfactor option.
40374 (timeoutfactor): New variable.
40375 (blacklist_exports): Remove function.
40376 (exports): Remove variable.
40377 (command): Do not include ${exports}.
40378 * manual/install.texi (Configuring and compiling): Do not mention
40379 test wrappers preserving environment variables. Mention that last
40380 assignment to a variable must take precedence.
40381 * INSTALL: Regenerated.
40382 * benchtests/Makefile (run-bench): Use $(run-program-env).
40383 * catgets/Makefile ($(objpfx)test1.cat): Use
40384 $(built-program-cmd-before-env), $(run-program-env) and
40385 $(built-program-cmd-after-env).
40386 ($(objpfx)test2.cat): Do not specify environment variables
40387 explicitly.
40388 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40389 $(run-program-env) and $(built-program-cmd-after-env).
40390 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40391 $(run-program-env) and $(test-program-cmd-after-env).
40392 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40393 explicitly.
40394 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40395 run_program_env and test_program_cmd_after_env arguments.
40396 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40397 * elf/tst-pathopt.sh: Use run_program_env argument.
40398 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40399 $(test-wrapper-env) and $(run-program-env).
40400 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40401 run_program_env arguments.
40402 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40403 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40404 $(test-program-prefix-before-env), $(run-program-env) and
40405 $(test-program-prefix-after-env).
40406 ($(objpfx)tst-gettext2.out): Likewise.
40407 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40408 run_program_env and test_program_prefix_after_env arguments.
40409 * intl/tst-gettext2.sh: Likewise.
40410 * intl/tst-gettext4.sh: Do not set environment variables
40411 explicitly.
40412 * intl/tst-gettext6.sh: Likewise.
40413 * intl/tst-translit.sh: Likewise.
40414 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40415 $(test-program-prefix-before-env), $(run-program-env) and
40416 $(test-program-prefix-after-env).
40417 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40418 run_program_env and test_program_prefix_after_env arguments.
40419 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40420 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40421 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40422 explicitly with each use of ${test_wrapper_env}.
40423 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40424 $(test-program-prefix-before-env), $(run-program-env) and
40425 $(test-program-prefix-after-env).
40426 * posix/tst-getconf.sh: Do not set environment variables
40427 explicitly.
40428 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40429 run_program_env and test_program_prefix_after_env arguments.
40430 * stdio-common/tst-printf.sh: Do not set environment variables
40431 explicitly.
40432 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40433 $(test-program-prefix-before-env), $(run-program-env) and
40434 $(test-program-prefix-after-env).
40435 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40436 run_program_env and test_program_prefix_after_env arguments.
40437 Split $test calls into $test_pre and $test.
40438 * timezone/Makefile (build-testdata): Use
40439 $(built-program-cmd-before-env), $(run-program-env) and
40440 $(built-program-cmd-after-env).
40441
40442 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40443
40444 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40445 strlen for non SHARED builds.
40446
40447 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40448
40449 * nptl/allocatestack.c (check_list): Inlined function...
40450 (__reclaim_stacks): ... here.
40451
40452 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40453
40454 [BZ #15698]
40455 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40456 memory overrun.
40457
40458 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40459
40460 * Rules (make-test-out): Include
40461 LOCPATH=$(common-objpfx)localedata in default environment.
40462 * debug/Makefile (tst-chk1-ENV): Remove variable.
40463 (tst-chk2-ENV): Likewise.
40464 (tst-chk3-ENV): Likewise.
40465 (tst-chk4-ENV): Likewise.
40466 (tst-chk5-ENV): Likewise.
40467 (tst-chk6-ENV): Likewise.
40468 (tst-lfschk1-ENV): Likewise.
40469 (tst-lfschk2-ENV): Likewise.
40470 (tst-lfschk3-ENV): Likewise.
40471 (tst-lfschk4-ENV): Likewise.
40472 (tst-lfschk5-ENV): Likewise.
40473 (tst-lfschk6-ENV): Likewise.
40474 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40475 (tst-iconv7-ENV): Likewise.
40476 * intl/Makefile (LOCPATH-ENV): Likewise.
40477 (tst-codeset-ENV): Likewise.
40478 (tst-gettext3-ENV): Likewise.
40479 (tst-gettext5-ENV): Likewise.
40480 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40481 (tst-fopenloc-ENV): Likewise.
40482 (tst-fgetws-ENV): Remove variable.
40483 (tst-ungetwc1-ENV): Likewise.
40484 (tst-ungetwc2-ENV): Likewise.
40485 (bug-ungetwc2-ENV): Likewise.
40486 (tst-swscanf-ENV): Likewise.
40487 (bug-ftell-ENV): Likewise.
40488 (tst-fgetwc-ENV): Likewise.
40489 (tst-fseek-ENV): Likewise.
40490 (tst-ftell-partial-wide-ENV): Likewise.
40491 (tst-ftell-active-handler-ENV): Likewise.
40492 (tst-ftell-append-ENV): Likewise.
40493 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40494 (tst-regexloc-ENV): Likewise.
40495 (bug-regex1-ENV): Likewise.
40496 (tst-regex-ENV): Likewise.
40497 (tst-regex2-ENV): Likewise.
40498 (bug-regex5-ENV): Likewise.
40499 (bug-regex6-ENV): Likewise.
40500 (bug-regex17-ENV): Likewise.
40501 (bug-regex18-ENV): Likewise.
40502 (bug-regex19-ENV): Likewise.
40503 (bug-regex20-ENV): Likewise.
40504 (bug-regex22-ENV): Likewise.
40505 (bug-regex23-ENV): Likewise.
40506 (bug-regex25-ENV): Likewise.
40507 (bug-regex26-ENV): Likewise.
40508 (bug-regex30-ENV): Likewise.
40509 (bug-regex32-ENV): Likewise.
40510 (bug-regex33-ENV): Likewise.
40511 (bug-regex34-ENV): Likewise.
40512 (bug-regex35-ENV): Likewise.
40513 (tst-rxspencer-ENV): Likewise.
40514 (tst-rxspencer-no-utf8-ENV): Likewise.
40515 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40516 (tst-sscanf-ENV): Likewise.
40517 (tst-swprintf-ENV): Likewise.
40518 (tst-swscanf-ENV): Likewise.
40519 (test-vfprintf-ENV): Likewise.
40520 (scanf13-ENV): Likewise.
40521 (bug14-ENV): Likewise.
40522 (tst-grouping-ENV): Likewise.
40523 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40524 (tst-strtod3-ENV): Likewise.
40525 (tst-strtod4-ENV): Likewise.
40526 (tst-strtod5-ENV): Likewise.
40527 (testmb2-ENV): Likewise./
40528 * string/Makefile (tst-strxfrm-ENV): Likewise.
40529 (tst-strxfrm2-ENV): Likewise.
40530 (bug-strcoll1-ENV): Likewise.
40531 (test-strcasecmp-ENV): Likewise.
40532 (test-strncasecmp-ENV): Likewise.
40533 * time/Makefile (tst-strptime-ENV): Likewise.
40534 (tst-ftime_l-ENV): Likewise.
40535 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40536 (tst-mbrtowc-ENV): Likewise.
40537 (tst-wcrtomb-ENV): Likewise.
40538 (tst-mbrtowc2-ENV): Likewise.
40539 (tst-c16c32-1-ENV): Likewise.
40540 (tst-mbsnrtowcs-ENV): Likewise.
40541
40542 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40543
40544 * manual/resource.texi (How to get information about the memory
40545 subsystem?): Fix typo.
40546 Reported by Peon de la Parra Ivan <peon@keba.com>
40547
40548 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
40549
40550 [BZ #16882]
40551 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40552 (pthread_spin_lock): Branch out of spin loop to proper location.
40553 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40554 (pthread_spin_lock): Likewise.
40555
40556 * nptl/tst-spin4.c: New test.
40557 * nptl/Makefile (tests): Add tst-spin4.
40558
40559 2014-06-03 Andreas Schwab <schwab@suse.de>
40560
40561 [BZ #15946]
40562 * resolv/res_send.c (send_dg): Reload file descriptor after
40563 calling reopen.
40564
40565 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
40566
40567 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40568
40569 2014-06-03 Richard Henderson <rth@redhat.com>
40570
40571 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40572 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40573 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40574 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
40575 in the SAVE_PID block.
40576 (__libc_vfork): New alias.
40577 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40578
40579 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40580 child in registers, not on the stack. Remove RESET_PID conditionals.
40581 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40582
40583 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40584
40585 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40586
40587 2014-06-03 Wilco <wdijkstr@arm.com>
40588
40589 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40590 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40591 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40592 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40593 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40594 Likewise.
40595
40596 2014-06-03 Wilco <wdijkstr@arm.com>
40597
40598 * sysdeps/aarch64/fpu/math_private.h
40599 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40600 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40601 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40602 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40603 Fix declarations.
40604
40605 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40606
40607 * crypt/crypt-private.h: Include ufc-crypt.h.
40608 (__b64_from_24bit): Declare extern.
40609 * crypt/crypt_util.c(__b64_from_24bit): New function.
40610 (b64t): New static const variable.
40611 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40612 (b64t): Remove variable.
40613 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40614 * crypt/sha256-crypt.c: Include crypt-private.h.
40615 (b64t): Remove variable.
40616 (__sha256_crypt_r): Remove b64_from_24bit and replace
40617 with __b64_from_24bit.
40618 * crypt/sha512-crypt.c: Likewise.
40619
40620 2014-06-02 Roland McGrath <roland@hack.frob.com>
40621
40622 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40623 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40624 Label the code __libc_vfork rather than __vfork.
40625 [!NOT_IN_libc] (vfork): Define as weak alias.
40626 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40627 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40628 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40629
40630 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40631
40632 * malloc/malloc.c (malloc_info): Fix format specifier for
40633 n_mmaps.
40634
40635 2014-06-02 Wilco <wdijkstr@arm.com>
40636
40637 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40638 FPCR write.
40639
40640 2014-06-02 Wilco <wdijkstr@arm.com>
40641
40642 [BZ #17009]
40643 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40644 Rewrite to reduce FPCR/FPSR accesses.
40645
40646 2014-06-01 David S. Miller <davem@davemloft.net>
40647
40648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40649
40650 2014-05-31 David S. Miller <davem@davemloft.net>
40651
40652 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40653 to occur in round to nearest mode when |x| >= 2.0
40654
40655 2014-05-30 Richard Henderson <rth@twiddle.net>
40656
40657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40658 (PSEUDO_RET_NOERRNO): Remove.
40659 (ret): Don't redefine.
40660 (ret_NOERRNO): Define in terms of ret.
40661 (ret_ERRVAL): Likewise.
40662
40663 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40664 use of PSEUDO_RET; perform the error check directly.
40665
40666 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40667
40668 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40669 with __int128_t.
40670
40671 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40672
40673 * malloc/malloc (malloc_info): Fix formatting.
40674
40675 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40676 Roland McGrath <roland@hack.frob.com>
40677
40678 * malloc/malloc (malloc_info): Also print mmapped statistics.
40679
40680 2014-05-30 Roland McGrath <roland@hack.frob.com>
40681
40682 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40683 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40684
40685 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40686
40687 * malloc/malloc.c (malloc_info): Inline mi_arena.
40688
40689 2014-05-29 Richard Henderson <rth@twiddle.net>
40690
40691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40692 Remove comma before expanding ASM_ARGS_##nr.
40693 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40694 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40695 of ASM_ARGS_##nr.
40696 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40697 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40698 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40699 (ASM_ARGS_1): Add leading comma.
40700
40701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40702 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40703 to __errno_location.
40704 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40705 Remove the expected plt for __errno_location.
40706
40707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40708 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40709 call to __read_tp.
40710
40711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40712 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40713 it and break it down.
40714 (DOCARGS_0, DOCARGS_1): Do nothing.
40715 (DOCARGS_2): Update to store into the new stack frame.
40716 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40717 (UNDOCARGS_1): Update to restore from the new stack frame.
40718 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40719 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40720
40721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40722 (SINGLE_THREAD_P): New parameter for result regno.
40723 (PSEUDO): Update to match; use cbz instead of beq.
40724
40725 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40726 Use ENTRY to define the _nocancel entry point. Share the syscall
40727 and syscall error check paths with the cancel path.
40728 (PSEUDO_END): New.
40729
40730 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40731 whitespace; tabs before and after asm mnemonics.
40732
40733 2014-05-29 Eric Wong <normalperson@yhbt.net>
40734
40735 [BZ #15132]
40736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40737 Call fstat64 or stat64 internally, depending on arguments passed.
40738 Replace stat buffer argument with file descriptor argument.
40739 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40740 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40741 Pass fd to __internal_statvfs instead of calling fstat64.
40742 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40743 Pass fd to __internal_statvfs64 instead of calling fstat64.
40744 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40745 Pass -1 to __internal_statvfs instead of calling stat64.
40746 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40747 Pass -1 to __internal_statvfs64 instead of calling stat64.
40748
40749 2014-05-28 Roland McGrath <roland@hack.frob.com>
40750
40751 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40752 that was previously under [RESET_PID].
40753 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40754
40755 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40756 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40757
40758 2014-05-27 Roland McGrath <roland@hack.frob.com>
40759
40760 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40761
40762 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40763 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40764
40765 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40766
40767 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40768
40769 2014-05-27 Andreas Schwab <schwab@suse.de>
40770
40771 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40772 TLS_INIT_TP macro.
40773 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40774 * elf/rtld.c (init_tls, dl_main): Likewise.
40775 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40776 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40777 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40778 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40779 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40780 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40781 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40782 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40783 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40784 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40785 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40786 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40787 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40788 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40789 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40790 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40791 * sysdeps/generic/tls.h: Update description.
40792
40793 2014-05-27 Will Newton <will.newton@linaro.org>
40794
40795 [BZ #16990]
40796 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40797 and restore r2 rather than just restoring.
40798
40799 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40800
40801 [BZ #16724]
40802 * libio/tst-ftell-append.c: New test case.
40803 * libio/Makefile (tests): Add test case.
40804 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40805 append mode.
40806 * libio/wfileops.c (do_ftell_wide): Likewise.
40807
40808 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40809
40810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40811
40812 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40813 ...
40814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40816 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40817 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40819 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40820 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40821 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40823 Moved ...
40824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40826 Moved ...
40827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40828 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40829 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40830 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40831 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40832 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40833 ...
40834 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40835 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40836 Moved ...
40837 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40838 here.
40839 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40840 ...
40841 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40842 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40843 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40844
40845 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40846 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40848 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40849
40850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40851 merge into ...
40852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40854 ...
40855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40857 ...
40858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40860 Moved ...
40861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40862 here.
40863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40864 Moved ...
40865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40867 Moved ...
40868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40869
40870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40871 conditional [RESET_PID].
40872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40874 removed.
40875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40876 removed.
40877
40878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40879 <tcb-offsets.h>.
40880 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40881 (__libc_vfork): New strong alias.
40882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40883 removed.
40884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40885 Removed.
40886
40887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40888 <tcb-offsets.h>.
40889 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40890 (__libc_vfork): New strong alias.
40891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40892 removed.
40893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40894 removed.
40895
40896 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40897
40898 * malloc/malloc.c (mi_arena): New function.
40899 (malloc_info): Remove nested function mi_arena. Call non-nosted
40900 function mi_arena.
40901
40902 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40903
40904 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40905 by insrwi.
40906 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40907 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40908 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40909 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40910 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40911 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40912 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40913
40914 2014-05-26 Andreas Schwab <schwab@suse.de>
40915
40916 [BZ #16984]
40917 * locale/programs/repertoire.c (repertoire_read): Add slash
40918 between I18NPATH element and file name.
40919 * locale/programs/locfile.c (locfile_read): Likewise.
40920
40921 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40922
40923 * nptl/pthread_mutexattr_settype.c
40924 (__pthread_mutexattr_settype):
40925 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40926
40927 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40928
40929 * nptl/tst-mutex5 (do_test):
40930 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40931
40932 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40933
40934 * benchtests/README: Document 'init' directive.
40935 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40936 BENCH_INIT.
40937 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40938 (parse_file): Recognize 'init' directive.
40939
40940 2014-05-26 Kyle McMartin <kyle@redhat.com>
40941
40942 [BZ #16796]
40943 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40944 alignment of struct pthread.
40945
40946 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40947
40948 [BZ #16878]
40949 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40950 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40951 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40952 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40953
40954 2014-05-25 Richard Henderson <rth@twiddle.net>
40955
40956 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40957 (SINGLE_THREAD_P_PIC): Remove.
40958 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40959 (SINGLE_THREAD_P_PIC): Remove.
40960
40961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40962 branch to syscall error ...
40963 (PSEUDO): ... here.
40964 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40965 from __local_syscall_error to .Lsyscall_error.
40966 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40967 (SYSCALL_ERROR): Update label name.
40968
40969 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40970 Do not use DOARGS/UNDOARGS.
40971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40972 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40973 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40974 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40975 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40976
40977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40978 block comment.
40979
40980 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40981 define if !NOT_IN_libc.
40982 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40983 define with non-default symbol versions.
40984
40985 2014-05-23 Richard Henderson <rth@twiddle.net>
40986
40987 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40988 (vfork, __vfork): Define via compat_symbol.
40989
40990 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40991 [!HAVE_IFUNC] (vfork_compat): Remove.
40992 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40993
40994 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40995
40996 [BZ #16978]
40997 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40998 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40999 variable.
41000
41001 2014-05-23 Richard Henderson <rth@twiddle.net>
41002
41003 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41004 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41005 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41006 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41007
41008 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41009 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41010 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41011 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41013 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41014 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41015 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41016 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41017 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41018 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41019 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41020 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41021 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41022 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41023 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41024 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41025 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41026 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41027 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41028 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41029 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41030 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41031 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41032 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41034 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41035 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41036 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41037 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41038 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41039 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41040 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41041 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41042 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41043 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41044 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41045 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41046 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41047 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41048 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41049 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41050 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41051 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41052 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41053 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41055 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41057 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41059 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41061 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41063 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41064
41065 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41066 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41067 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41068 before exiting on error.
41069 (__libc_vfork): New strong alias.
41070 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41071 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41072
41073 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41074 that was previously under [RESET_PID].
41075 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41076
41077 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41078
41079 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41080
41081 [BZ #16977]
41082 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41083 value when x - 1 is zero.
41084 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41085 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41086 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41087 0.0L for an argument of 1.0L.
41088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41089 Likewise.
41090 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41091 value when x - 1 is zero.
41092 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41093 * sysdeps/i386/fpu/libm-test-ulps: Update.
41094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41095
41096 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41097
41098 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41099 alphasort and versionsort.
41100
41101 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41102
41103 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41104 macro.
41105 [copysignf]: Likewise.
41106
41107 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41108
41109 * crypt/md5-crypt.c: Fix formatting.
41110
41111 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41112
41113 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41114 (b64_from_24bit): New function.
41115
41116 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41117
41118 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41119 libc_hidden_builtin_def to ifunc.
41120 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41121 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41122
41123 2014-05-21 Roland McGrath <roland@hack.frob.com>
41124
41125 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41126 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41127
41128 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41129
41130 * nscd/Depend (linuxthreads): Remove.
41131 (nptl): Add.
41132 * resolv/Depend (linuxthreads): Remove.
41133 * rt/Depend (linuxthreads): Remove.
41134
41135 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41136 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41137 $(common-objpfx)elf/.
41138 (link-libc-before-gnulib): Likewise.
41139 (elfobjdir): Remove variable.
41140 * Makefile (install): Use $(elf-objpfx) instead of
41141 $(common-objpfx)elf/.
41142 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41143 $(elfobjdir)/.
41144 (link-libc-deps): Likewise.
41145 ($(common-objpfx)libc.so): Likewise.
41146 ($(common-objpfx)linkobj/libc.so): Likewise.
41147 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41148 instead of $(common-objpfx)elf/.
41149 (symbolic-link-list): Likewise.
41150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41151 [$(cross-compiling) = no]: Likewise.
41152 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41153 $(elfobjdir)/.
41154 (static-gnulib-arch): Likewise.
41155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41156 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41157 $(common-objpfx)elf/.
41158
41159 2014-05-21 Richard Henderson <rth@redhat.com>
41160
41161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41162 (SINGLE_THREAD_P): Use the correct width load. Fold
41163 into the ldr offset.
41164
41165 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41166 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41167
41168 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41169
41170 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41171 (libgcc_s_resume): Use __attribute_used__.
41172 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41173 Likewise.
41174
41175 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41176
41177 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41178 optimization when used with float constants.
41179
41180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41181
41182 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41183
41184 [BZ #16915]
41185 * locale/nl_langinfo_l.c: Make direct reference to every
41186 _nl_current_CATEGORY symbol.
41187 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41188 (tests-static): Add tst-langinfo-static.
41189 (tests-special): Add tst-langinfo-static.out.
41190 ($(objpfx)tst-langinfo.out): Redirect output.
41191 ($(objpfx)tst-langinfo-static.out): New.
41192 * localedata/tst-langinfo.sh: Send output to stdout.
41193 * localedata/tst-langinfo-static.c: New file.
41194
41195 [BZ #16965]
41196 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41197 when the shift amount is modulo the limb size.
41198
41199 2014-05-20 Richard Henderson <rth@redhat.com>
41200
41201 [BZ #16967]
41202 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41203 Change type of sa_flags from unsigned int to int.
41204
41205 [BZ #16966]
41206 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41207
41208 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41209
41210 2014-05-20 Will Newton <will.newton@linaro.org>
41211
41212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41213 Test the return value of the system call in the nocancel case.
41214
41215 2014-05-20 Will Newton <will.newton@linaro.org>
41216 Yvan Roux <yvan.roux@linaro.org>
41217
41218 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41219 #include of asm/ptrace.h.
41220 (PTRACE_GET_THREAD_AREA): Remove #undef.
41221 (PTRACE_GETHBPREGS): Likewise.
41222 (PTRACE_SETHBPREGS): Likewise.
41223 (struct user_regs_struct): New structure.
41224 (struct user_fpsimd_struct): New structure.
41225 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41226 #include of asm/ptrace.h and second #include of sys/user.h.
41227 (PTRACE_GET_THREAD_AREA): Remove #undef.
41228 (PTRACE_GETHBPREGS): Likewise.
41229 (PTRACE_SETHBPREGS): Likewise.
41230 (ELF_NGREG): Use new struct user_regs_struct.
41231 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41232
41233 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41234
41235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41237
41238 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41239
41240 [BZ #16958]
41241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41242 membar to avoid block loads/stores to overlap previous stores.
41243
41244 2014-05-17 Richard Henderson <rth@redhat.com>
41245
41246 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41247 Create the __##syscall_name##_nocancel entry point.
41248 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41249 Remove; let the sysdep-cancel.h code create it.
41250
41251 2014-05-17 David S. Miller <davem@davemloft.net>
41252
41253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41254 Protect with __USE_GNU.
41255 (TIOCSET_TEMPT): Likewise.
41256 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41257 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41258 these are already provided in bits/ioctl-types.h
41259
41260 2014-05-16 Roland McGrath <roland@hack.frob.com>
41261
41262 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41263 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41264
41265 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41266 Use wait4 regardless of [__NR_waitpid].
41267
41268 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41269
41270 PR libgcc/60166
41271 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41272 (_FP_NANSIGN_Q): Set the quiet bit.
41273
41274 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41275
41276 * benchtests/Makefile
41277 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41278 not $(common-objpfx)math/libm.so.
41279 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41280 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41281 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41282 $(common-objpfx)dlfcn/libdl.so.
41283 ($(objpfx)tst-audit8): Depend on $(libm), not
41284 $(common-objpfx)math/libm.so.
41285 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41286 not $(common-objpfx)dlfcn/libdl.so.
41287 * math/Makefile
41288 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41289 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41290 [$(build-shared) = yes].
41291 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41292 $(common-objpfx)nptl/libpthread.so.
41293 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41294 $(common-objpfx)math/libm.so$(libm.so-version) or
41295 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41296 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41297 $(common-objpfx)dlfcn/libdl.so.
41298 * setjmp/Makefile (link-libm): Remove variable.
41299 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41300 * stdio-common/Makefile (link-libm): Remove variable.
41301 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41302 * stdlib/Makefile (link-libm): Remove variable.
41303 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41304 ($(objpfx)tst-strtod-round): Likewise.
41305 ($(objpfx)tst-tininess): Likewise.
41306 ($(objpfx)tst-strtod-underflow): Likewise.
41307 ($(objpfx)tst-strtod6): Likewise.
41308 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41309 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41310 $(common-objpfx)dlfcn/libdl.so.
41311
41312 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41313
41314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41315 BSD terminal modes definitions.
41316
41317 2014-05-16 Roland McGrath <roland@hack.frob.com>
41318
41319 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41320 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41321
41322 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41323 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41324 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41325 Don't do #include_next.
41326 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41327 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41328 Don't do #include_next.
41329 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41330 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41331 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41332 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41333
41334 2014-05-16 Allan McRae <allan@archlinux.org>
41335
41336 * po/sv.po: Update Swedish translation from translation project.
41337
41338 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41339 in sed expression.
41340
41341 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41342
41343 [BZ #16917]
41344 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41345 errno if the TIOCGPTN ioctl fails with an error different than
41346 EINVAL.
41347 * login/tst-ptsname.c: New file.
41348 * login/Makefile (tests): Add tst-ptsname.
41349
41350 [BZ #16943]
41351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41352 and prlimit64.
41353
41354 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41355
41356 [BZ #16849]
41357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41358 herrno to return EAI_AGAIN.
41359
41360 2014-05-14 Roland McGrath <roland@hack.frob.com>
41361
41362 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41363 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41364 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41365 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41366 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41367 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41368 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41369 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41371 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41372 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41373 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41374 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41375 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41376 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41377 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41378 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41379 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41380 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41381 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41382 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41383 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41384 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41385 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41386 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41387 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41388 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41389 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41390 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41391 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41393 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41395 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41397 Moved ...
41398 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41400 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41404 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41406 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41410 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41412 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41414 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41416 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41418 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41420 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41422 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41424 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41426 Moved ...
41427 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41429 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41433 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41435 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41439 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41441 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41443 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41445 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41447 Moved ...
41448 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41450 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41451
41452 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41453 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41454 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41455 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41456 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41457 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41458 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41459 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41460 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41461 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41462 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41463 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41464 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41465 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41466 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41467 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41468 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41469 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41470 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41471 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41472 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41473 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41474 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41475 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41476 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41477 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41478 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41479 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41481 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41482 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41483
41484 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41485 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41486
41487 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41488 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41489 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41490 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41491 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41493 Moved ...
41494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41496 Moved ...
41497 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41499 Moved ...
41500 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41501 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41502 Moved ...
41503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41504 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41505 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41506 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41507 Moved ...
41508 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41509 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41510 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41512 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41513 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41514 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41515 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41516 Moved ...
41517 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41518 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41519 Moved ...
41520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41521 ... here.
41522 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41523 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41525 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41527 Moved ...
41528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41529 ... here.
41530 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41531 Moved ...
41532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41533 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41534 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41535 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41536 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41538 Moved ...
41539 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41541 Moved ...
41542 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41544 Moved ...
41545 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41546 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41547 Moved ...
41548 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41549 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41550 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41551 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41552 Moved ...
41553 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41554 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41555 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41557 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41558 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41559 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41560 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41561 Moved ...
41562 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41563 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41564 Moved ...
41565 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41566 ... here.
41567 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41568 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41570 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41572 Moved ...
41573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41574 ... here.
41575 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41576 Moved ...
41577 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41578 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41579 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41580 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41581 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41582 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41583 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41584 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41585 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41587 Moved ...
41588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41590 Moved ...
41591 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41593 Moved ...
41594 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41596 Moved ...
41597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41598 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41599 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41600 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41601 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41603 Moved ...
41604 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41605 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41606 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41607 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41608 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41609 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41610 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41611 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41612 Moved ...
41613 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41614 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41615 Moved ...
41616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41617 ... here.
41618 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41619 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41620 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41621 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41622 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41623 Moved ...
41624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41625 ... here.
41626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41627 Moved ...
41628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41629 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41630 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41631 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41633 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41634 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41635 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41636 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41637 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41638 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41639
41640 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41641 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41642
41643 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41644 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41645
41646 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41647 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41648 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41649 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41650 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41651 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41652 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41653 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41654 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41655 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41658 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41659 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41660 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41662 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41664 Moved ...
41665 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41669 Moved ...
41670 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41672 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41674 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41678 Moved ...
41679 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41680 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41681 Moved ...
41682 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41683 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41684 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41686 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41688 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41689 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41690 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41691 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41692 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41693 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41694 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41695 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41696 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41697 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41698 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41699
41700 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41701 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41702 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41703 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41704 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41705
41706 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41707 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41708 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41709 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41710 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41711 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41712 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41713 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41714 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41715 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41716
41717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41718 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41719
41720 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41721 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41722 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41723 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41724 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41725 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41727 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41728 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41729 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41730 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41731 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41732 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41733 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41735 Update #include.
41736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41737 Likewise.
41738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41739 Likewise.
41740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41741 Likewise.
41742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41743 Likewise.
41744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41745 Likewise.
41746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41747 Likewise.
41748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41749 Likewise.
41750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41751 Likewise.
41752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41753 Likewise.
41754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41760 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41764 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41765 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41766 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41768 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41769
41770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41771 that was previously under [RESET_PID].
41772 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41773 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41774 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41775
41776 * sysdeps/i386/nptl/Implies: New file.
41777 * sysdeps/x86_64/nptl/Implies: New file.
41778 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41779 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41780 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41781 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41782
41783 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41784 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41785 (__libc_vfork): New strong alias.
41786 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41787 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41788
41789 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41790 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41791 (__libc_vfork): New strong alias.
41792 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41793 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41794
41795 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41796 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41797 (__libc_vfork): New strong alias.
41798 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41799 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41800 * nptl/pt-vfork.c: New file.
41801 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41802 (libpthread: GLIBC_2.20): New version set (empty).
41803
41804 2014-05-14 Will Newton <will.newton@linaro.org>
41805
41806 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41807 rather than #if.
41808
41809 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41810
41811 [BZ #16564]
41812 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41813 arguments with exponent 65 or above.
41814 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41815 arguments 0x1p113L or above.
41816 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41817 to arguments 0x1p107L or above.
41818 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41819 positive arguments with exponent 65 or above.
41820 * math/auto-libm-test-in: Add more tests of log1p.
41821 * math/auto-libm-test-out: Regenerated.
41822
41823 [BZ #16928]
41824 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41825 non-finite arguments is +0.
41826 * math/s_cacosf.c (__cacosf): Likewise.
41827 * math/s_cacosl.c (__cacosl): Likewise.
41828 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41829 * sysdeps/i386/fpu/libm-test-ulps: Update.
41830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41831
41832 [BZ #16927]
41833 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41834 value.
41835 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41836 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41837 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41838 for explicit high bit of mantissa when testing for argument equal
41839 to 1.
41840 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41841 * sysdeps/i386/fpu/libm-test-ulps: Update.
41842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41843
41844 [BZ #16516]
41845 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41846 (__erf): Scale by 16 instead of 8 in potentially underflowing
41847 case. Ensure exception if result actually underflows.
41848 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41849 (__erff): Scale by 16 instead of 8 in potentially underflowing
41850 case. Ensure exception if result actually underflows.
41851 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41852 (efx8): Remove variable.
41853 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41854 case. Ensure exception if result actually underflows.
41855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41856 (efx8): Remove variable.
41857 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41858 case. Ensure exception if result actually underflows.
41859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41860 (efx8): Remove variable.
41861 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41862 case. Ensure exception if result actually underflows.
41863 * math/auto-libm-test-in: Add more tests of erf.
41864 * math/auto-libm-test-out: Regenerated.
41865
41866 2014-05-14 Andreas Schwab <schwab@suse.de>
41867
41868 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41869 Remove code conditionalized on USE___THREAD.
41870
41871 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41872 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41873 not definedness.
41874
41875 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41876
41877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41878 Define unconditionally.
41879 (__ASSUME_O_CLOEXEC): Likewise.
41880 (__ASSUME_SOCK_CLOEXEC): Likewise.
41881 (__ASSUME_IN_NONBLOCK): Likewise.
41882 (__ASSUME_PIPE2): Likewise.
41883 (__ASSUME_EVENTFD2): Likewise.
41884 (__ASSUME_SIGNALFD4): Likewise.
41885 (__ASSUME_DUP3): Likewise.
41886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41887 (__ASSUME_DUP3): Do not define.
41888 (__ASSUME_EVENTFD2): Likewise.
41889 (__ASSUME_IN_NONBLOCK): Likewise.
41890 (__ASSUME_O_CLOEXEC): Likewise.
41891 (__ASSUME_PIPE2): Likewise.
41892 (__ASSUME_SIGNALFD4): Likewise.
41893 (__ASSUME_SOCK_CLOEXEC): Likewise.
41894 (__ASSUME_UTIMES): Undefine.
41895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41896 (__ASSUME_UTIMES): Do not define.
41897 (__ASSUME_O_CLOEXEC): Likewise.
41898 (__ASSUME_SOCK_CLOEXEC): Likewise.
41899 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41900 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41901 0x020621].
41902 (__ASSUME_PIPE2): Likewise.
41903 (__ASSUME_EVENTFD2): Likewise.
41904 (__ASSUME_SIGNALFD4): Likewise.
41905 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41906 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41907 Do not define.
41908 (__ASSUME_EVENTFD2): Likewise.
41909 (__ASSUME_SIGNALFD4): Likewise.
41910 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41911 (__ASSUME_32BITUIDS): Likewise.
41912 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41913 (__ASSUME_IPC64): Likewise.
41914 (__ASSUME_ST_INO_64_BIT): Likewise.
41915 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41916 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41918 (__ASSUME_UTIMES): Do not define.
41919 (__ASSUME_PSELECT): Likewise.
41920 (__ASSUME_PPOLL): Likewise.
41921 (__ASSUME_O_CLOEXEC): Likewise.
41922 (__ASSUME_SOCK_CLOEXEC): Likewise.
41923 (__ASSUME_IN_NONBLOCK): Likewise.
41924 (__ASSUME_PIPE2): Likewise.
41925 (__ASSUME_EVENTFD2): Likewise.
41926 (__ASSUME_SIGNALFD4): Likewise.
41927 (__ASSUME_DUP3): Likewise.
41928 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41929 (__ASSUME_UTIMES): Likewise.
41930 (__ASSUME_O_CLOEXEC): Likewise.
41931 (__ASSUME_SOCK_CLOEXEC): Likewise.
41932 (__ASSUME_IN_NONBLOCK): Likewise.
41933 (__ASSUME_PIPE2): Likewise.
41934 (__ASSUME_EVENTFD2): Likewise.
41935 (__ASSUME_SIGNALFD4): Likewise.
41936 (__ASSUME_DUP3): Likewise.
41937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41938 (__ASSUME_UTIMES): Likewise.
41939 (__ASSUME_O_CLOEXEC): Likewise.
41940 (__ASSUME_SOCK_CLOEXEC): Likewise.
41941 (__ASSUME_IN_NONBLOCK): Likewise.
41942 (__ASSUME_PIPE2): Likewise.
41943 (__ASSUME_EVENTFD2): Likewise.
41944 (__ASSUME_SIGNALFD4): Likewise.
41945 (__ASSUME_DUP3): Likewise.
41946 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41947 Likewise.
41948 (__ASSUME_UTIMES): Likewise.
41949 (__ASSUME_EVENTFD2): Likewise.
41950 (__ASSUME_SIGNALFD4): Likewise.
41951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41952 (__ASSUME_O_CLOEXEC): Likewise.
41953 (__ASSUME_SOCK_CLOEXEC): Likewise.
41954 (__ASSUME_IN_NONBLOCK): Likewise.
41955 (__ASSUME_PIPE2): Likewise.
41956 (__ASSUME_EVENTFD2): Likewise.
41957 (__ASSUME_SIGNALFD4): Likewise.
41958 (__ASSUME_DUP3): Likewise.
41959 (__ASSUME_UTIMES): Undefine.
41960
41961 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41962 feclearexcept. Remove symbol versioning code.
41963 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41964 symbol versioning code.
41965 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41966 symbol versioning code.
41967 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41968 feupdateenv. Remove symbol versioning code.
41969 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41970 fegetexceptflag. Remove symbol versioning code.
41971 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41972 fesetexceptflag. Remove symbol versioning code.
41973 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41974 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41975 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41976 (__posix_fadvise64_l32): Remove prototype.
41977 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41978 code.
41979
41980 2014-05-13 Roland McGrath <roland@hack.frob.com>
41981
41982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41983 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41984 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41985 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41986
41987 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41988
41989 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41990 current working directory
41991
41992 2014-05-13 Roland McGrath <roland@hack.frob.com>
41993
41994 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41995 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41996 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41997 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41998 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41999 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42000 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42001 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42002 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42003 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42004 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42005 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42006 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42007 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42008 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42009 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42010 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42011 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42012 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42013 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42014 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42015 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42016 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42017 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42018 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42019 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42020 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42021 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42022 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42023 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42024 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42025 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42026 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42027 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42028 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42029 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42030 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42031 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42032 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42033 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42034 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42035 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42036
42037 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42038 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42039
42040 * sysdeps/unix/sysv/linux/arm/Makefile
42041 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42042 Add rt-aeabi_unwind_cpp_pr1.
42043 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42044 Add nptl-aeabi_unwind_cpp_pr1.
42045 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42046 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42047 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42048 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42049 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42050 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42051
42052 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42053 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42054 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42055 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42056
42057 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42058 Deconditionalize the code that was previously under [RESET_PID].
42059 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42060
42061 * sysdeps/generic/exit-thread.h: New file.
42062 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42063 * include/unistd.h (__exit_thread): Remove declaration.
42064 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42065 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42066 * csu/libc-start.c: Include <exit-thread.h>.
42067 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42068 * nptl/pthread_create.c: Include <exit-thread.h>.
42069 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42070 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42071 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42072 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42073 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42074 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42075 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42076 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42077 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42078 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42079 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42080 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42081 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42082 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42083 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42084 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42085 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42086
42087 2014-05-13 Andreas Schwab <schwab@suse.de>
42088
42089 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42090
42091 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42092
42093 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42094 (__ASSUME_UTIMES): Do not condition on kernel version.
42095 (__ASSUME_PSELECT): Define unconditionally.
42096 (__ASSUME_PPOLL): Likewise.
42097 (__ASSUME_ATFCTS): Likewise.
42098 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42099 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42100 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42101 (__ASSUME_UTIMENSAT): Define unconditionally.
42102 (__ASSUME_PRIVATE_FUTEX): Likewise.
42103 (__ASSUME_FALLOCATE): Likewise.
42104 (__ASSUME_O_CLOEXEC): Likewise.
42105 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42106 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42107 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42108 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42109 (__ASSUME_IN_NONBLOCK): Likewise.
42110 (__ASSUME_PIPE2): Likewise.
42111 (__ASSUME_EVENTFD2): Likewise.
42112 (__ASSUME_SIGNALFD4): Likewise.
42113 (__ASSUME_DUP3): Likewise.
42114 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42115 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42116 (__ASSUME_AT_RANDOM): Likewise.
42117 (__ASSUME_PREADV): Likewise.
42118 (__ASSUME_PWRITEV): Likewise.
42119 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42120 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42121 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42122 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42123 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42125 (__ASSUME_O_CLOEXEC): Define unconditionally.
42126 (__ASSUME_PSELECT): Do not undefine conditionally.
42127 (__ASSUME_PPOLL): Likewise.
42128 (__ASSUME_ATFCTS): Likewise.
42129 (__ASSUME_SET_ROBUST_LIST): Likewise.
42130 (__ASSUME_UTIMENSAT): Likewise.
42131 (__ASSUME_FDATASYNC): Define unconditionally.
42132 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42133 (__ASSUME_SIGFRAME_V2): Likewise.
42134 )__ASSUME_EVENTFD2): Likewise.
42135 (__ASSUME_SIGNALFD4): Likewise.
42136 (__ASSUME_PSELECT): Do not undefine conditionally.
42137 (__ASSUME_PPOLL): Likewise.
42138 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42139 (__ASSUME_PSELECT): Define unconditionally.
42140 (__ASSUME_PPOLL): Likewise.
42141 (__ASSUME_O_CLOEXEC): Likewise.
42142 (__ASSUME_SOCK_CLOEXEC): Likewise.
42143 (__ASSUME_IN_NONBLOCK): Likewise.
42144 (__ASSUME_PIPE2): Likewise.
42145 (__ASSUME_EVENTFD2): Likewise.
42146 (__ASSUME_SIGNALFD4): Likewise.
42147 (__ASSUME_DUP3): Likewise.
42148 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42149 (__ASSUME_O_CLOEXEC): Likewise.
42150 (__ASSUME_SOCK_CLOEXEC): Likewise.
42151 (__ASSUME_IN_NONBLOCK): Likewise.
42152 (__ASSUME_PIPE2): Likewise.
42153 (__ASSUME_EVENTFD2): Likewise.
42154 (__ASSUME_SIGNALFD4): Likewise.
42155 (__ASSUME_DUP3): Likewise.
42156 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42157 (__ASSUME_EVENTFD2): Likewise.
42158 (__ASSUME_SIGNALFD4): Likewise.
42159 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42160
42161 2014-05-12 Andreas Schwab <schwab@suse.de>
42162
42163 [BZ #16932]
42164 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42165 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42166 than maximum RPC packet size.
42167 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42168 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42169 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42170 (_nss_nis_getservbyport_r): Likewise.
42171
42172 2014-05-12 Will Newton <will.newton@linaro.org>
42173
42174 * malloc/Makefile (tests): Add tst-mallopt.
42175 * malloc/tst-mallopt.c: New file.
42176
42177 2014-05-09 Roland McGrath <roland@hack.frob.com>
42178
42179 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42180 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42181
42182 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42183
42184 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42185 (tst-tlsmod6.so): Likewise.
42186
42187 2014-05-09 Roland McGrath <roland@hack.frob.com>
42188
42189 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42190
42191 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42192
42193 [BZ #16064]
42194 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42195 and <dl-procinfo.h>.
42196 (__fegetenv): Save SSE state in envp->__eip if supported.
42197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42198 envp->__eip if supported.
42199 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42200 and <dl-procinfo.h>.
42201 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42202 __data_offset and __data_selector in environment to 0. Set SSE
42203 state if supported.
42204 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42205 test-fenv-sse.
42206 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42207 -mfpmath=sse.
42208 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42209
42210 2014-05-09 Will Newton <will.newton@linaro.org>
42211
42212 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42213 and libc_relro_required for ARM.
42214 * sysdeps/arm/preconfigure: Regenerate.
42215
42216 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42217 Stefan Liebler <stli@linux.vnet.ibm.com>
42218
42219 * config.make.in (enable-lock-elision): New Makefile variable.
42220 * configure.ac: Likewise.
42221 * configure: Regenerate.
42222 * sysdeps/s390/configure.ac:
42223 Add check for gcc transactions support.
42224 * sysdeps/s390/configure: Regenerate.
42225 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42226 Build elision files if enabled.
42227 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42228 Add lock elision support for s390.
42229 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42230 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42231 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42232 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42233 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42234 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42235 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42236 Likewise.
42237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42238 Likewise.
42239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42240 Likewise.
42241 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42242 Likewise.
42243 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42244 (__lll_timedlock_elision, __lll_lock_elision)
42245 (__lll_unlock_elision, __lll_trylock_elision)
42246 (lll_timedlock_elision, lll_lock_elision)
42247 (lll_unlock_elision, lll_trylock_elision): Add.
42248 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42249 (pthread_mutex_t): Add lock elision support for s390.
42250
42251 2014-05-14 Wilco <wdijkstr@arm.com>
42252
42253 * sysdeps/arm/fclrexcpt.c: Cleanup.
42254 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42255 * sysdeps/arm/feenablxcpt.c: Cleanup.
42256 * sysdeps/arm/fegetenv.c: Cleanup.
42257 * sysdeps/arm/fegetexcept.c: Cleanup.
42258 * sysdeps/arm/fegetround.c: Cleanup.
42259 * sysdeps/arm/feholdexcpt.c: Cleanup.
42260 * sysdeps/arm/fesetenv.c: Cleanup.
42261 * sysdeps/arm/fesetround.c: Cleanup.
42262 * sysdeps/arm/feupdateenv.c: Cleanup.
42263 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42264 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42265 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42266 * sysdeps/arm/ftestexcept.c: Cleanup.
42267 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42268 * sysdeps/arm/setfpucw.c: Cleanup.
42269
42270 2014-05-09 Will Newton <will.newton@linaro.org>
42271
42272 * sysdeps/arm/armv7/strcmp.S: New file.
42273 * NEWS: Mention addition of ARMv7 optimized strcmp.
42274
42275 2014-05-08 Roland McGrath <roland@hack.frob.com>
42276
42277 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42278 look for %.ac rather than %.in.
42279
42280 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42281 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42282 * sysdeps/mach/hurd/configure: Regenerated.
42283 * sysdeps/unix/sysv/linux/configure: Regenerated.
42284
42285 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42286
42287 2014-05-07 Steve Ellcey <sellcey@mips.com>
42288
42289 [BZ# 16922]
42290 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42291 (LONG_SUB): Ditto.
42292 (PTR_SUB): Ditto.
42293
42294 2014-05-07 Andreas Schwab <schwab@suse.de>
42295
42296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42297 when skipping over non-matching result from nscd.
42298
42299 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42300
42301 [BZ #16876]
42302 * nptl/sockperf.c (client): Check socket return value.
42303
42304 [BZ #16877]
42305 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42306 nscd security class.
42307
42308 2014-05-06 Roland McGrath <roland@hack.frob.com>
42309
42310 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42311 * sysdeps/arm/unwind.h: ... here.
42312
42313 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42314
42315 [BZ# 16916]
42316 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42317 Define.
42318
42319 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42320
42321 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42322 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42323 multiarch strncpy for PPC64.
42324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42325 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42327 multiarch optimizations.
42328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42329 (__libc_ifunc_impl_list): Likewise.
42330 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42332 multiarch stpncpy for PPC64.
42333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42334 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42335
42336 2014-05-06 Andreas Schwab <schwab@suse.de>
42337
42338 [BZ #16912]
42339 * gmon/mcount.c (_MCOUNT_DECL): Use
42340 atomic_compare_and_exchange_bool_acq instead of
42341 catomic_compare_and_exchange_bool_acq.
42342
42343 2014-05-05 Roland McGrath <roland@hack.frob.com>
42344
42345 * elf/Makefile (others, install-bin): Remove pldd.
42346 (pldd-modules): Variable removed.
42347 ($(objpfx)pldd): Target removed.
42348 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42349 (others, install-bin): Append pldd here.
42350 ($(objpfx)pldd): New target.
42351
42352 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42353 to 0, so the first #if test emitted later doesn't see it undefined.
42354 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42355 * sysdeps/gnu/errlist.c: Regenerated.
42356
42357 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42358
42359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42360 [libc_hidden_builtin_def]: Define to empty value.
42361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42362 [libc_hidden_builtin_def]: Likewise.
42363 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42364 [libc_hidden_builtin_def]: Likewise.
42365 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42366 [libc_hidden_builtin_def]: Likewise.
42367 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42368 __redirect_memcpy and define ifunc as default hidden symbol.
42369 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42370 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42371
42372 2014-05-04 Adam Conrad <adconrad@0c3.net>
42373
42374 * locale/iso-4217.def: Reintroduce XDR currency.
42375
42376 2014-05-04 Allan McRae <allan@archlinux.org>
42377
42378 * po/eo.po: Update Esperanto translation from translation project.
42379
42380 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42381
42382 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42383 and FEATURE_INDEX_MAX to 1.
42384 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42385
42386 2014-05-01 Steve Ellcey <sellcey@mips.com>
42387
42388 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42389 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42390 * iconvdata/big5.c (ONE_DIRECTION): Define.
42391 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42392 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42393 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42394 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42395 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42396 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42397 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42398 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42399 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42400 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42401 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42402 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42403 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42404 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42405 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42406 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42407 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42408 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42409 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42410 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42411 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42412 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42413 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42414 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42415 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42416 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42417 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42418 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42419 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42420 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42421 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42422 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42423 * iconvdata/johab.c (ONE_DIRECTION): Define.
42424 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42425 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42426 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42427 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42428 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42429 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42430 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42431 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42432 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42433 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42434
42435 2014-05-01 Roland McGrath <roland@hack.frob.com>
42436
42437 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42438 (_IO_JUMPS_OFFSET): Define to 0.
42439
42440 * nptl/sysdeps/pthread/bits/libc-lock.h
42441 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42442 (__libc_lock_define_initialized_recursive): Always define using
42443 initializer. Modern compilers treat uninitialized (implicit zero) and
42444 explicit zero initializers the same (i.e. put the datum in bss).
42445
42446 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42447
42448 * nscd/nscd-client.h: Include <string.h>.
42449
42450 2014-05-01 David S. Miller <davem@davemloft.net>
42451
42452 [BZ #16885]
42453 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42454 multiple zero bytes exist at the end of a string.
42455 Reported by Aurelien Jarno <aurelien@aurel32.net>
42456
42457 * string/test-strcmp.c (check): Add explicit test for situations where
42458 there are multiple zero bytes after the first.
42459
42460 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42461
42462 [BZ #16890]
42463 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42464 when compiling wprintf.
42465 * stdio-common/tstdiomisc.c (t3): New function.
42466 (main): Call it.
42467
42468 2014-05-01 Steve Ellcey <sellcey@mips.com>
42469
42470 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42471 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42472 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42473 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42474
42475 2014-05-01 Steve Ellcey <sellcey@mips.com>
42476
42477 * stdlib/longlong.h: Updated from GCC.
42478
42479 2014-05-01 Will Newton <will.newton@linaro.org>
42480 Bernard Ogden <bernie.ogden@linaro.org>
42481
42482 * NEWS: Update fixed bug list.
42483
42484 [BZ #15119]
42485 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42486
42487 2014-04-30 David S. Miller <davem@davemloft.net>
42488
42489 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42490 (libc_feholdexcept_setround_sparc_ctx): New function.
42491 (libc_fesetenv_sparc_ctx): Likewise.
42492 (libc_feupdateenv_sparc_ctx): Likewise.
42493 (libc_feholdsetround_sparc_ctx): Likewise.
42494 (libc_feholdexcept_setround_ctx): Define.
42495 (libc_feholdexcept_setroundf_ctx): Likewise.
42496 (libc_feholdexcept_setroundl_ctx): Likewise.
42497 (libc_fesetenv_ctx): Likewise.
42498 (libc_fesetenvf_ctx): Likewise.
42499 (libc_fesetenvl_ctx): Likewise.
42500 (libc_feupdateenv_ctx): Likewise.
42501 (libc_feupdateenvf_ctx): Likewise.
42502 (libc_feupdateenvl_ctx): Likewise.
42503 (libc_feresetround_ctx): Likewise.
42504 (libc_feresetroundf_ctx): Likewise.
42505 (libc_feresetroundl_ctx): Likewise.
42506 (libc_feholdsetround_ctx): Likewise.
42507 (libc_feholdsetroundf_ctx): Likewise.
42508 (libc_feholdsetroundl_ctx): Likewise.
42509
42510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42511 with __USE_GNU instead of XOPEN cpp guards.
42512
42513 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42514 0.
42515
42516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42517 with XOPEN cpp guards.
42518
42519 2014-04-30 Julian Brown <julian@codesourcery.com>
42520
42521 [BZ #16888]
42522 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42523 handling.
42524
42525 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42526
42527 [BZ #9894]
42528 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42529 Change to 2.6.32.
42530 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42531 * sysdeps/unix/sysv/linux/configure: Regenerated.
42532 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42533 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42534 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42535 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42536 * README: Update reference to required Linux kernel version.
42537 * manual/install.texi (Linux): Update reference to required Linux
42538 kernel headers version.
42539 * INSTALL: Regenerated.
42540
42541 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42542 header inclusion.
42543 [POSIX] (limits.h): Likewise.
42544 [POSIX] (math.h): Likewise.
42545 [POSIX] (sys/wait.h): Likewise.
42546 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42547 function.
42548 [POSIX] (stddef.h): Do not allow header inclusion.
42549
42550 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42551
42552 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42553
42554 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42555
42556 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42557 Return immediately after lll_futex_wake.
42558
42559 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42560
42561 [BZ #16791]
42562 * nscd/nscd-client.h (datahead_init_common): Initialize entire
42563 structure.
42564 (datahead_init_pos): Call datahead_init_common early.
42565 (datahead_init_neg): Likewise.
42566
42567 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42568 datahead_init_neg): New functions.
42569 * nscd/aicache.c (addhstaiX): Use them.
42570 * nscd/grpcache.c (cache_addgr): Likewise.
42571 * nscd/hstcache.c (cache_addhst): Likewise.
42572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42573 * nscd/netgroupcache.c (do_notfound): Likewise.
42574 (addgetnetgrentX): Likewise.
42575 (addinnetgrX): Likewise.
42576 * nscd/pwdcache.c (cache_addpw): Likewise.
42577 * nscd/servicescache.c (cache_addserv): Likewise.
42578
42579 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42580 Atsushi Onoe <atsushi@onoe.org>
42581
42582 [BZ #14308]
42583 [BZ #12994]
42584 [BZ #13651]
42585 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42586 one response is valid.
42587 * resolv/res_send.c (send_dg): Check for validity of other
42588 response if the current response is a referral.
42589
42590 2014-04-29 Steve Ellcey <sellcey@mips.com>
42591
42592 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42593
42594 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42595
42596 [BZ #16823]
42597 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42598 Always divide by positive zero when computing -Inf result.
42599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42600 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42601
42602 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42603
42604 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42605 FPSCR if value do not change.
42606 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42607 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42608 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42609 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42610 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42611 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42612 function.
42613
42614 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42615
42616 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42617 * sysdeps/unix/sysv/linux/hppa: Move directory from
42618 ports/systeps/unix/sysv/linux/hppa.
42619 * README: Update listing for hppa-*-linux-gnu.
42620
42621 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42622
42623 [BZ #16754]
42624 * manual/stdio.texi (Hook functions): Fix types of stream hook
42625 functions.
42626 [BZ #16854]
42627 * socket/sys/socket.h: Fix typo in comment.
42628
42629 2014-04-28 Wilco <wdijkstr@arm.com>
42630
42631 * sysdeps/arm/fenv_private.h: New file.
42632 * sysdeps/arm/math_private.h: New file.
42633 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42634
42635 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42636
42637 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42638 with __int128_t.
42639 (La_x86_64_retval): Likewise.
42640
42641 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42642
42643 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42644 fpsr if value didn't change.
42645 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42646 to fpcr if value didn't change.
42647 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42648 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42649 fpsr or fpcr if value didn't change.
42650 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42651 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42652 fpcr if value didn't change.
42653 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42654 to fpsr if value didn't change.
42655
42656 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42657
42658 * nptl/tst-sem3.c: Use test-skeleton.c
42659 (main): Rename to do_test. Use return instead of
42660 exit.
42661 * nptl/tst-sem4.c: Use test-skeleton.c
42662 (main): Rename to do_test.
42663
42664 2014-04-22 David S. Miller <davem@davemloft.net>
42665
42666 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42667 (struct sigaction): New struct member __glibc_reserved0, change
42668 type of sa_flags to int.
42669
42670 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42671
42672 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42673 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42674
42675 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42676
42677 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42678 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42679
42680 2014-04-22 Will Newton <will.newton@linaro.org>
42681 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42682
42683 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42684 (__longjmp): Add longjmp and longjmp_target SystemTap
42685 probes.
42686 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42687 (__sigsetjmp): Add setjmp SystemTap probe.
42688
42689 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42690
42691 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42692 match manual order.
42693
42694 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42695
42696 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42697
42698 * sysdeps/powerpc/fpu/fenv_private.h
42699 (libc_feholdexcept_setroundl_ctx): Define to
42700 libc_feholdexcept_setround_ppc_ctx.
42701 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42702 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42703 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42704 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42705
42706 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42707
42708 * sysdeps/aarch64/math-tests.h: New file.
42709
42710 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42711
42712 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42713 New.
42714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42715 Check and set bit_AVX2_Usable.
42716 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42717 macro.
42718 (bit_AVX2): Likewise.
42719 (index_AVX2_Usable): Likewise.
42720 (CPUID_AVX2): Likewise.
42721 (HAS_AVX2): Likewise.
42722
42723 2014-04-17 Will Newton <will.newton@linaro.org>
42724
42725 * manual/setjmp.texi (System V contexts): Add note that
42726 calling setcontext on a context created by a call to a
42727 signal handler is undefined. Update text to note that
42728 setcontext from a signal handler is possible but not
42729 recommended.
42730
42731 [BZ #16629]
42732 * stdlib/tst-setcontext.c: Include signal.h.
42733 (main): Check that the signal stack before and
42734 after swapcontext is the same.
42735
42736 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42737 Re-implement to restore registers in user code and avoid
42738 rt_sigreturn system call.
42739
42740 2014-04-17 Wilco <wdijkstr@arm.com>
42741
42742 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42743 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42744 * math/test-fenv.c: Skip exception trap tests on targets which only
42745 support non-stop mode.
42746
42747 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42748 Wilco Dijkstra <wilco.dijkstra@arm.com>
42749
42750 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42751 (libc_feholdsetround_aarch64_ctx)
42752 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42753 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42754 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42755 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42756 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42757 (libc_feresetround_noexl_ctx): Define.
42758
42759 2014-04-16 Richard Henderson <rth@redhat.com>
42760
42761 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42762
42763 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42764 unwind tables.
42765
42766 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42767 const from the non-libc, non-ldso copy.
42768
42769 * sysdeps/alpha/libm-test-ulps: Regenerate.
42770
42771 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42772 Wilco Dijkstra <wilco.dijkstra@arm.com>
42773
42774 * sysdeps/aarch64/fpu/math_private.h: New file.
42775
42776 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42777
42778 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42779
42780 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42781
42782 [BZ #16275]
42783 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42784 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42786 Intel MPX bound registers before _dl_profile_fixup.
42787 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42788 registers after _dl_profile_fixup. Save and restore bound
42789 registers bnd0/bnd1 when calling _dl_call_pltexit.
42790 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42791 (LR_BND_OFFSET): Likewise.
42792 (LRV_BND0_OFFSET): Likewise.
42793 (LRV_BND1_OFFSET): Likewise.
42794
42795 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42796
42797 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42798 to...
42799 * sysdeps/mach/hurd/i386/tls.h: ... here.
42800 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42801 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42802 fields.
42803
42804 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42805
42806 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42807
42808 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42809
42810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42811
42812 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42813
42814 [BZ #14770]
42815 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42816 * sysdeps/s390/configure: Regenerate.
42817
42818 [BZ #16824]
42819 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42820 Set round-to-nearest internally to reduce error accumulation.
42821
42822 2014-04-16 Alan Modra <amodra@gmail.com>
42823
42824 [BZ #16740]
42825 [BZ #16619]
42826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42827 * math/libm-test.inc (frexp_test_data): Add tests.
42828 * NEWS: Update fixed bug list.
42829
42830 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42831
42832 * benchtests/Makefile: Depend on libraries in build directory.
42833 (bench-math): Separate out math tests.
42834 (bench-pthread): Separate out pthread tests.
42835 (bench): Include math and pthread tests.
42836
42837 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42838
42839 [BZ #16831]
42840 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42841 _dl_debug_initialize.
42842
42843 * configure.ac: Remove SELinux header check.
42844 * configure: Regenerate.
42845 * nscd/selinux.c (perms): Array of const char* to permission names.
42846 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42847 default policy. Call string_to_security_class and string_to_av_perm to
42848 translate strings. Enforce default policy and call avs_has_perm with
42849 results of translated strings.
42850
42851 2014-04-13 David S. Miller <davem@davemloft.net>
42852
42853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42854
42855 2014-04-12 Allan McRae <allan@archlinux.org>
42856
42857 [BZ #16838]
42858 * manual/string.texi (Collation Functions): Fix qsort argument
42859 order in example.
42860 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42861
42862 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42863
42864 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42865 Make the test a no-op if there are no exceptions defined.
42866
42867 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42868
42869 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42870 enable-hardcoded-path-in-tests
42871
42872 2014-04-11 Will Newton <will.newton@linaro.org>
42873
42874 * benchtests/Makefile (extra-objs): Add json-lib.o.
42875 (bench-func): Tidy up JSON output.
42876 * benchtests/bench-skeleton.c: Include json-lib.h.
42877 (main): Use JSON library functions to do output of
42878 benchmark results.
42879 * benchtests/bench-timing-type.c (main): Output the
42880 timing type simply, leaving formatting to the user.
42881 * benchtests/json-lib.c: New file.
42882 * benchtests/json-lib.h: Likewise.
42883
42884 2014-04-11 Torvald Riegel <triegel@redhat.com>
42885
42886 [BZ #15215]
42887 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42888 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42889 memory barriers. Add comments.
42890 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42891 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42892 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42893 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42894 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42895 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42896
42897 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42898
42899 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42900 * sysdeps/s390/s390-64/configure.ac: ... this ...
42901 * sysdeps/s390/configure.ac: ... to here.
42902 * sysdeps/s390/s390-32/configure: Delete file.
42903 * sysdeps/s390/s390-64/configure: Delete file.
42904 * sysdeps/s390/configure: Regenerate.
42905
42906 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42907
42908 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42909
42910 2014-04-11 Will Newton <will.newton@linaro.org>
42911
42912 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42913 to zero if it is not defined elsewhere. (mtrim): Test
42914 the value of MALLOC_DEBUG with #if rather than #ifdef.
42915
42916 2014-04-10 Torvald Riegel <triegel@redhat.com>
42917
42918 * benchtests/pthread_once-inputs: New file.
42919 * benchtests/pthread_once-source.c: New file.
42920 * benchtests/README: Update documentation.
42921
42922 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42923 H.J. Lu <hongjiu.lu@intel.com>
42924
42925 [BZ #16275]
42926 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42927 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42928 * sysdeps/x86_64/configure: Regenerated.
42929 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42930 macro.
42931 (REGISTER_SAVE_RAX): Likewise.
42932 (REGISTER_SAVE_RCX): Likewise.
42933 (REGISTER_SAVE_RDX): Likewise.
42934 (REGISTER_SAVE_RSI): Likewise.
42935 (REGISTER_SAVE_RDI): Likewise.
42936 (REGISTER_SAVE_R8): Likewise.
42937 (REGISTER_SAVE_R9): Likewise.
42938 (REGISTER_SAVE_BND0): Likewise.
42939 (REGISTER_SAVE_BND1): Likewise.
42940 (REGISTER_SAVE_BND2): Likewise.
42941 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42942 bound registers when calling _dl_fixup.
42943
42944 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42945
42946 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42947 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42948 of its definition.
42949 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42950 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42951 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42952 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42953 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42954 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42955 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42956
42957 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42958
42959 [BZ #15514]
42960 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42961 pathconf(_PC_NAME_MAX).
42962
42963 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42964
42965 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42966 Remove macro usage.
42967 (__PTHREAD_SPINS): Move definition to ...
42968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42969 (__PTHREAD_SPINS): ... here.
42970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42971 (__PTHREAD_SPIN): Likewise.
42972 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42973 (__PTHREAD_SPIN): Likewise.
42974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42975 (__PTHREAD_SPIN): Likewise.
42976 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42977 (__PTHREAD_SPIN): Likewise.
42978 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42979 (__PTHREAD_SPIN): Likewise.
42980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42981 (__PTHREAD_SPIN): Likewise.
42982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42983 (__PTHREAD_SPIN): Likewise.
42984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42985 (__PTHREAD_SPIN): Likewise.
42986 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42987 (__PTHREAD_SPIN): Likewise.
42988 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42989 (__PTHREAD_SPIN): Likewise.
42990 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42991 (__PTHREAD_SPIN): Likewise.
42992 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42993 (__PTHREAD_SPIN): Likewise.
42994
42995 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42997 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42998 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42999 imply folder.
43000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43001 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43002 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43003 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43004 correct imply path.
43005 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43006 strlen symbol for non multi-arch builds.
43007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43008 missing hidden_def and weak_alias.
43009
43010 2014-04-08 Carlos O'Donell <carlos@redhat.com>
43011
43012 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43013
43014 2014-04-07 Will Newton <will.newton@linaro.org>
43015
43016 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43017 and contents. [!_LIBC] Remove #ifndef and contents.
43018 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
43019 * string/memccpy.c (__memccpy): Use ANSI prototype.
43020 * string/memfrob.c (memfrob): Likewise.
43021 * string/strcoll.c (STRCOLL): Likewise.
43022 * string/strlen.c (strlen): Likewise.
43023 * string/strtok.c (STRTOK): Likewise.
43024 * string/strcat.c: Remove unused #include of memcopy.h.
43025 (strcat): Use ANSI prototype.
43026 * string/strchr.c: Remove unused #include of memcopy.h.
43027 (strchr): Use ANSI prototype.
43028 * string/strcmp.c: Remove unused #include of memcopy.h.
43029 (strcmp): Use ANSI prototype.
43030 * string/strcpy.c: Remove unused #include of memcopy.h.
43031 (strcpy): Use ANSI prototype.
43032
43033 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43034
43035 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43036 * config.make.in (config-extra-cppflags): Set it from
43037 libc_extra_cppflags.
43038 * configure.ac (libc_extra_cflags): Make it accumulate over
43039 configure fragments.
43040 (libc_extra_cppflags): New flag.
43041 * configure. Regenerate.
43042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43043 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43044 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43046
43047 [BZ #16815]
43048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43049 result for FE_DOWNWARD rounding mode.
43050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43051 Likewise.
43052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43053
43054 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43055
43056 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43057 in function argument name.
43058
43059 2014-04-03 David Svoboda <svoboda@cert.org>
43060
43061 [BZ #5666]
43062 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43063 explicitly.
43064
43065 2014-04-03 Roland McGrath <roland@hack.frob.com>
43066
43067 * elf/dl-unmap-segments.h: New file.
43068 * sysdeps/generic/ldsodefs.h
43069 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43070 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43071 * elf/dl-fptr.c: Likewise.
43072 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43073 * sysdeps/aarch64/tlsdesc.c: Likewise.
43074 * sysdeps/arm/tlsdesc.c: Likewise.
43075 * sysdeps/i386/tlsdesc.c: Likewise.
43076 * sysdeps/tile/dl-runtime.c: Likewise.
43077 * sysdeps/x86_64/tlsdesc.c: Likewise.
43078 * elf/dl-load.h: New file.
43079 * elf/dl-load.c: Include it.
43080 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43081 Macros moved to dl-load.h.
43082 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43083 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43084 Use _dl_unmap_segments in place of __munmap.
43085 Break out segment-mapping loop into ...
43086 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43087
43088 2014-04-03 Will Newton <will.newton@linaro.org>
43089
43090 * elf/dl-lookup.c (do_lookup_x): Remove comment
43091 referring to nested function and move variable
43092 declarations down to before first use.
43093
43094 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43095
43096 [BZ #16799]
43097 [BZ #16800]
43098 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43099 with 0 numerator.
43100 * math/s_catanf.c (__catanf): Likewise.
43101 * math/s_catanh.c (__catanh): Likewise.
43102 * math/s_catanhf.c (__catanhf): Likewise.
43103 * math/s_catanhl.c (__catanhl): Likewise.
43104 * math/s_catanl.c (__catanl): Likewise.
43105 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43106 by positive zero when computing -Inf result.
43107 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43108 (catanh_test): Likewise.
43109 * sysdeps/i386/fpu/libm-test-ulps: Update.
43110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43111
43112 [BZ #16789]
43113 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43114 instead of using underflowing value in computing result.
43115 * math/s_clog10.c (__clog10): Likewise.
43116 * math/s_clog10f.c (__clog10f): Likewise.
43117 * math/s_clog10l.c (__clog10l): Likewise.
43118 * math/s_clogf.c (__clogf): Likewise.
43119 * math/s_clogl.c (__clogl): Likewise.
43120 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43121 (clog10_test): Likewise.
43122 * sysdeps/i386/fpu/libm-test-ulps: Update.
43123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43124
43125 2014-04-02 Alan Modra <amodra@gmail.com>
43126
43127 [BZ #16739]
43128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43129 output when value is near a power of two. Use int64_t for lx and
43130 remove casts. Use decimal rather than hex exponent constants.
43131 Don't use long double multiplication when double will suffice.
43132 * math/libm-test.inc (nextafter_test_data): Add tests.
43133 * NEWS: Add 16739 and 16786 to bug list.
43134
43135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43136
43137 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43138
43139 2014-04-01 Will Newton <will.newton@linaro.org>
43140
43141 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43142 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43143
43144 2014-04-01 Florian Weimer <fweimer@redhat.com>
43145
43146 [BZ #13347]
43147 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43148 * nptl/tst-setuid2.c: New file.
43149 * nptl/Makefile (xtests): Add tst-setuid2.
43150
43151 2014-04-01 Alan Modra <amodra@gmail.com>
43152
43153 [BZ #16786]
43154 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43155
43156 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43157
43158 [BZ #6803]
43159 [BZ #6804]
43160 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43161 set errno as appropriate.
43162 * math/w_scalbf.c (__scalbf): Likewise.
43163 * math/w_scalbl.c (__scalbl): Likewise.
43164 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43165 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43166 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43167 Add more NaN tests.
43168
43169 [BZ #16349]
43170 * math/w_atan2.c: Include <errno.h>.
43171 (__atan2): Set errno for result underflowing to zero.
43172 * math/w_atan2f.c: Include <errno.h>.
43173 (__atan2f): Set errno for result underflowing to zero.
43174 * math/w_atan2l.c: Include <errno.h>.
43175 (__atan2l): Set errno for result underflowing to zero.
43176 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43177 tests.
43178 * math/auto-libm-test-out: Regenerated.
43179
43180 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43181
43182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43183 Encode instruction correctly in little endian.
43184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43185 Likewise.
43186 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43187 Likewise.
43188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43189 Likewise.
43190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43191 Likewise.
43192
43193 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43194
43195 [BZ #9894]
43196 * sysdeps/unix/sysv/linux/kernel-features.h
43197 [__sparc__ && !__arch64__ && !__sparc_v9__]
43198 (__ASSUME_SET_ROBUST_LIST): Do not define.
43199 [__sparc__ && !__arch64__ && !__sparc_v9__]
43200 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43201 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43202 Likewise.
43203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43204 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43205 (__ASSUME_REQUEUE_PI): Likewise.
43206 (__ASSUME_SET_ROBUST_LIST): Likewise.
43207 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43208 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43209 Undefine.
43210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43212 Likewise.
43213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43214 Likewise.
43215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43216 Likewise.
43217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43219 Undefine.
43220 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43221 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43222 Likewise.
43223
43224 [BZ #16648]
43225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43227 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43228
43229 2014-03-31 Will Newton <will.newton@linaro.org>
43230
43231 * benchtests/Makefile (bench): Add ffs and ffsll to list
43232 of tests.
43233 * benchtests/ffs-inputs: New file.
43234 * benchtests/ffsll-inputs: Likewise.
43235
43236 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43237
43238 [BZ #16770]
43239 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43240 too large before casting to int.
43241 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43242 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43243 * math/libm-test.inc (scalb_test_data): Add more tests.
43244
43245 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43246
43247 * benchtests/Makefile (DETAILED_OPT): New make option.
43248 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43249 set.
43250 * benchtests/bench-skeleton.c: Include stdbool.h.
43251 (main): Store and print timings per input.
43252 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43253 member to each argument value.
43254 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43255 (_print_arg_data): Initialize per-input timing to 0.
43256
43257 * benchtests/Makefile (timing-type): New binary.
43258 (bench-clean): Also remove bench-timing-type.
43259 (bench): New target for timing-type.
43260 (bench-func): Print output in JSON format.
43261 * benchtests/bench-skeleton.c (main): Print output in JSON
43262 format.
43263 * benchtests/bench-timing-type.c: New file.
43264 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43265 (TIMING_PRINT_STATS): Remove.
43266 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43267 name separately.
43268
43269 * benchtests/bench-modf.c: Remove.
43270 * benchtests/modf-inputs: New inputs file.
43271
43272 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43273
43274 [BZ #16362]
43275 * math/s_clog10.c (M_PI_LOG10E): New macro.
43276 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43277 imaginary parts are 0.
43278 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43279 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43280 imaginary parts are 0.
43281 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43282 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43283 imaginary parts are 0.
43284 * math/libm-test.inc (clog10_test_data): Update expected results
43285 for when real and imaginary parts are 0.
43286
43287 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43288
43289 * elf/dl-load.c: Finish conversion of __builtin_expect into
43290 __glibc_{un}likely.
43291
43292 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43293
43294 [BZ #16348]
43295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43296 1+x for argument with exponent below -67.
43297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43298 Likewise.
43299 * math/auto-libm-test-in: Add more tests of exp.
43300 * math/auto-libm-test-out: Regenerated.
43301
43302 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43303
43304 [BZ #16759]
43305 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43306 (nscd_getnetgrent): Use it.
43307
43308 [BZ #16760]
43309 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43310 of stpcpy.
43311
43312 2014-03-27 Andi Kleen <ak@linux.intel.com>
43313
43314 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43315 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43316 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43317 (lll_robust_unlock): Remove out of line section. Use cfi
43318 intrinsics.
43319 (LLL_STUB_UNWIND_INFO*): Remove.
43320 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43321 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43322 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43323 (lll_robust_unlock): Remove out of line section. Use cfi
43324 intrinsics.
43325 (LLL_STUB_UNWIND_INFO*): Remove.
43326
43327 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43328
43329 [BZ #16758]
43330 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43331 blank values.
43332
43333 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43334
43335 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43336
43337 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43338
43339 [BZ #16198]
43340 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43341 fnstenv.
43342 * math/test-fenv-preserve.c: New file.
43343 * math/Makefile (tests): Add test-fenv-preserve.
43344
43345 2014-03-26 Will Newton <will.newton@linaro.org>
43346
43347 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43348
43349 2014-03-25 Roland McGrath <roland@hack.frob.com>
43350
43351 * scripts/versionlist.awk: Partition the version sets and emit all
43352 GLIBC_* (sorted) before all others (sorted).
43353
43354 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43355
43356 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43357 GLIBC_2.2.5 version.
43358
43359 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43360
43361 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43362 calls.
43363
43364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43365 previous change.
43366
43367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43368
43369 2014-03-25 Andreas Schwab <schwab@suse.de>
43370
43371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43372 label to be used after in6ailist is initialized.
43373
43374 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43375
43376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43377 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43378
43379 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43380
43381 [BZ #16357]
43382 [BZ #16599]
43383 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43384 min_plus_half.
43385 (fp_formats): Update initializers.
43386 (init_fp_formats): Initialize new field.
43387 (output_for_one_input_case): Allow underflow for results up to
43388 min_plus_half.
43389 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43390 * math/auto-libm-test-in: Don't mark some underflows from asin and
43391 atanh as spurious.
43392 * math/auto-libm-test-out: Regenerated.
43393 * sysdeps/i386/fpu/libm-test-ulps: Update.
43394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43395
43396 2014-03-25 Andreas Schwab <schwab@suse.de>
43397
43398 * libio/Makefile (tst-ftell-partial-wide-ENV)
43399 (tst-ftell-active-handler-ENV): Define.
43400
43401 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43402
43403 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43404
43405 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43406
43407 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43408
43409 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43410
43411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43412 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43413 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43414
43415 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43416
43417 [BZ #16634]
43418 * elf/dl-load.c (open_verify): Add mode parameter.
43419 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43420 (open_path): Change from boolean 'secure' to complete flag 'mode'
43421 (_dl_map_object): Adjust.
43422 * elf/Makefile (tests): Add tst-dlopen-aout.
43423 * elf/tst-dlopen-aout.c: New test.
43424
43425 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43426
43427 [BZ #16714]
43428 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43429 (struct stat): Rename member pad0 to __glibc_reserved0.
43430
43431 [BZ #16712]
43432 * sysdeps/s390/s390-32/bits/wordsize.h
43433 (__WORDSIZE32_SIZE_ULONG): New define.
43434 * sysdeps/s390/s390-64/bits/wordsize.h
43435 (__WORDSIZE32_SIZE_ULONG): Likewise.
43436 * sysdeps/generic/stdint.h (SIZE_MAX):
43437 Define as UL if __WORDSIZE32_SIZE_ULONG.
43438
43439 [BZ #16713]
43440 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43441 (__glibc_reserved0): New variable.
43442 (sa_flags): Change type to int.
43443
43444 * posix/Makefile (before-compile): Use += before-compile instead
43445 of a :=.
43446
43447 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43448 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43449
43450 2014-03-20 Andreas Schwab <schwab@suse.de>
43451
43452 [BZ #16743]
43453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43454 non-matching result from nscd.
43455
43456 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43457
43458 * scripts/bench.py: Moved to ...
43459 * benchtests/scripts/bench.py: ... here.
43460 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43461
43462 2014-03-24 Andreas Schwab <schwab@suse.de>
43463
43464 [BZ #16002]
43465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43466 alloca_account and account alloca use for struct in6ailist.
43467
43468 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43469
43470 [BZ #16284]
43471 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43472 rounding mode to recompute results that overflow to infinity or
43473 underflow to zero.
43474 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43475 bug 16284.
43476 * math/auto-libm-test-out: Regenerated.
43477 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43478 (ccosh_test): Likewise.
43479 (csin_test_data): Use plus_oflow.
43480 (csin_test): Use ALL_RM_TEST.
43481 (csinh_test_data): Use plus_oflow.
43482 (csinh_test): Use ALL_RM_TEST.
43483 * sysdeps/i386/fpu/libm-test-ulps: Update.
43484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43485
43486 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43487
43488 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43489 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43490 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43491
43492 [BZ #16731]
43493 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43494 when x - 1 is zero.
43495 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43496 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43497 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43498 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43499 argument is 1.
43500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43501 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43502 zero.
43503 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43504 * sysdeps/i386/fpu/libm-test-ulps: Update.
43505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43506
43507 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43508
43509 * scripts/bench.pl: Remove file.
43510 * scripts/bench.py: New benchmark script.
43511 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43512 * benchtests/README: Mention python dependency.
43513 * scripts/pylintrc: New file.
43514 * scripts/pylint: New file.
43515
43516 * bits/mathdef.h: Use #ifdef instead of #if.
43517 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43518 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43519 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43521 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43522 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43523
43524 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43525 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43526
43527 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43529 and strpbrk-ppc64 objects.
43530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43531 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43532 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43533 multiarch strpbrk for POWER7.
43534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43535 multiarch strpbrk for PPC64.
43536 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43537 ifunc selector.
43538 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43539 strpbrk for POWER7.
43540
43541 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43542
43543 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43544 (atan_test): Likewise.
43545 (atanh_test_data): Use NO_TEST_INLINE for two tests.
43546 (atanh_test): Use ALL_RM_TEST.
43547 (atan2_test_data): Likewise.
43548 (cabs_test): Likewise.
43549 (cacosh_test): Likewise.
43550 (carg_test): Likewise.
43551 (casin_test): Likewise.
43552 (casinh_test): Likewise.
43553 (cbrt_test): Likewise.
43554 (csqrt_test): Likewise.
43555 (erf_test): Likewise.
43556 (erfc_test): Likewise.
43557 (pow10_test): Likewise.
43558 (exp2_test): Likewise.
43559 (hypot_test): Likewise.
43560 (j0_test): Likewise.
43561 (j1_test): Likewise.
43562 (lgamma_test): Likewise.
43563 (gamma_test): Likewise.
43564 (sincos_test): Likewise.
43565 (tanh_test): Likewise.
43566 (y0_test): Likewise.
43567 (y1_test): Likewise.
43568 * sysdeps/i386/fpu/libm-test-ulps: Update.
43569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43570
43571 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43572
43573 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43575 and strcspn-ppc64 objects.
43576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43577 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43578 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43579 multiarch strcspn for POWER7.
43580 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43581 multiarch strcspn for PPC64.
43582 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43583 ifunc selector.
43584 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43585 strcspn for POWER7.
43586
43587 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43588
43589 * math/gen-libm-test.pl (generate_testfile): Expect only function
43590 name as argument to AUTO_TESTS_* and pass results for all rounding
43591 modes to parse_args.
43592 (parse_auto_input): Separate inputs of automatic tests from
43593 outputs before storing in %auto_tests.
43594 * math/libm-test.inc (acos_test_data): Update call to
43595 AUTO_TESTS_f_f.
43596 (acos_test): Use ALL_RM_TEST.
43597 (acos_tonearest_test_data): Remove.
43598 (acos_test_tonearest): Likewise.
43599 (acos_towardzero_test_data): Likewise.
43600 (acos_test_towardzero): Likewise.
43601 (acos_downward_test_data): Likewise.
43602 (acos_test_downward): Likewise.
43603 (acos_upward_test_data): Likewise.
43604 (acos_test_upward): Likewise.
43605 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43606 (asin_test_data): Likewise.
43607 (asin_test): Use ALL_RM_TEST.
43608 (asin_tonearest_test_data): Remove.
43609 (asin_test_tonearest): Likewise.
43610 (asin_towardzero_test_data): Likewise.
43611 (asin_test_towardzero): Likewise.
43612 (asin_downward_test_data): Likewise.
43613 (asin_test_downward): Likewise.
43614 (asin_upward_test_data): Likewise.
43615 (asin_test_upward): Likewise.
43616 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43617 (atan_test_data): Likewise.
43618 (atanh_test_data): Likewise.
43619 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43620 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43621 (carg_test_data): Likewise.
43622 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43623 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43624 (ccosh_test_data): Likewise.
43625 (cexp_test_data): Likewise.
43626 (clog_test_data): Likewise.
43627 (clog10_test_data): Likewise.
43628 (cos_test_data): Update call to AUTO_TESTS_f_f.
43629 (cos_test): Use ALL_RM_TEST.
43630 (cos_tonearest_test_data): Remove.
43631 (cos_test_tonearest): Likewise.
43632 (cos_towardzero_test_data): Likewise.
43633 (cos_test_towardzero): Likewise.
43634 (cos_downward_test_data): Likewise.
43635 (cos_test_downward): Likewise.
43636 (cos_upward_test_data): Likewise.
43637 (cos_test_upward): Likewise.
43638 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43639 (cosh_test): Use ALL_RM_TEST.
43640 (cosh_tonearest_test_data): Remove.
43641 (cosh_test_tonearest): Likewise.
43642 (cosh_towardzero_test_data): Likewise.
43643 (cosh_test_towardzero): Likewise.
43644 (cosh_downward_test_data): Likewise.
43645 (cosh_test_downward): Likewise.
43646 (cosh_upward_test_data): Likewise.
43647 (cosh_test_upward): Likewise.
43648 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43649 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43650 (ctan_test_data): Likewise.
43651 (ctan_test): Use ALL_RM_TEST.
43652 (ctan_tonearest_test_data): Remove.
43653 (ctan_test_tonearest): Likewise.
43654 (ctan_towardzero_test_data): Likewise.
43655 (ctan_test_towardzero): Likewise.
43656 (ctan_downward_test_data): Likewise.
43657 (ctan_test_downward): Likewise.
43658 (ctan_upward_test_data): Likewise.
43659 (ctan_test_upward): Likewise.
43660 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43661 (ctanh_test): Use ALL_RM_TEST.
43662 (ctanh_tonearest_test_data): Remove.
43663 (ctanh_test_tonearest): Likewise.
43664 (ctanh_towardzero_test_data): Likewise.
43665 (ctanh_test_towardzero): Likewise.
43666 (ctanh_downward_test_data): Likewise.
43667 (ctanh_test_downward): Likewise.
43668 (ctanh_upward_test_data): Likewise.
43669 (ctanh_test_upward): Likewise.
43670 (erf_test_data): Update call to AUTO_TESTS_f_f.
43671 (erfc_test_data): Likewise.
43672 (exp_test_data): Likewise.
43673 (exp_test): Use ALL_RM_TEST.
43674 (exp_tonearest_test_data): Remove.
43675 (exp_test_tonearest): Likewise.
43676 (exp_towardzero_test_data): Likewise.
43677 (exp_test_towardzero): Likewise.
43678 (exp_downward_test_data): Likewise.
43679 (exp_test_downward): Likewise.
43680 (exp_upward_test_data): Likewise.
43681 (exp_test_upward): Likewise.
43682 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43683 (exp10_test): Use ALL_RM_TEST.
43684 (exp10_tonearest_test_data): Remove.
43685 (exp10_test_tonearest): Likewise.
43686 (exp10_towardzero_test_data): Likewise.
43687 (exp10_test_towardzero): Likewise.
43688 (exp10_downward_test_data): Likewise.
43689 (exp10_test_downward): Likewise.
43690 (exp10_upward_test_data): Likewise.
43691 (exp10_test_upward): Likewise.
43692 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43693 (expm1_test_data): Likewise.
43694 (expm1_test): Use ALL_RM_TEST.
43695 (expm1_tonearest_test_data): Remove.
43696 (expm1_test_tonearest): Likewise.
43697 (expm1_towardzero_test_data): Likewise.
43698 (expm1_test_towardzero): Likewise.
43699 (expm1_downward_test_data): Likewise.
43700 (expm1_test_downward): Likewise.
43701 (expm1_upward_test_data): Likewise.
43702 (expm1_test_upward): Likewise.
43703 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43704 (fma_test): Use ALL_RM_TEST.
43705 (fma_towardzero_test_data): Remove.
43706 (fma_test_towardzero): Likewise.
43707 (fma_downward_test_data): Likewise.
43708 (fma_test_downward): Likewise.
43709 (fma_upward_test_data): Likewise.
43710 (fma_test_upward): Likewise.
43711 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43712 (j0_test_data): Update call to AUTO_TESTS_f_f.
43713 (j1_test_data): Likewise.
43714 (jn_test_data): Update call to AUTO_TESTS_if_f.
43715 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43716 (log_test_data): Update call to AUTO_TESTS_f_f.
43717 (log10_test_data): Likewise.
43718 (log1p_test_data): Likewise.
43719 (log2_test_data): Likewise.
43720 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43721 (pow_tonearest_test_data): Likewise.
43722 (sin_test_data): Update call to AUTO_TESTS_f_f.
43723 (sin_test): Use ALL_RM_TEST.
43724 (sin_tonearest_test_data): Remove.
43725 (sin_test_tonearest): Likewise.
43726 (sin_towardzero_test_data): Likewise.
43727 (sin_test_towardzero): Likewise.
43728 (sin_downward_test_data): Likewise.
43729 (sin_test_downward): Likewise.
43730 (sin_upward_test_data): Likewise.
43731 (sin_test_upward): Likewise.
43732 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43733 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43734 (sinh_test): Use ALL_RM_TEST.
43735 (sinh_tonearest_test_data): Remove.
43736 (sinh_test_tonearest): Likewise.
43737 (sinh_towardzero_test_data): Likewise.
43738 (sinh_test_towardzero): Likewise.
43739 (sinh_downward_test_data): Likewise.
43740 (sinh_test_downward): Likewise.
43741 (sinh_upward_test_data): Likewise.
43742 (sinh_test_upward): Likewise.
43743 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43744 (sqrt_test): Use ALL_RM_TEST.
43745 (sqrt_tonearest_test_data): Remove.
43746 (sqrt_test_tonearest): Likewise.
43747 (sqrt_towardzero_test_data): Likewise.
43748 (sqrt_test_towardzero): Likewise.
43749 (sqrt_downward_test_data): Likewise.
43750 (sqrt_test_downward): Likewise.
43751 (sqrt_upward_test_data): Likewise.
43752 (sqrt_test_upward): Likewise.
43753 (tan_test_data): Update call to AUTO_TESTS_f_f.
43754 (tan_test): Use ALL_RM_TEST.
43755 (tan_tonearest_test_data): Remove.
43756 (tan_test_tonearest): Likewise.
43757 (tan_towardzero_test_data): Likewise.
43758 (tan_test_towardzero): Likewise.
43759 (tan_downward_test_data): Likewise.
43760 (tan_test_downward): Likewise.
43761 (tan_upward_test_data): Likewise.
43762 (tan_test_upward): Likewise.
43763 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43764 (tgamma_test_data): Likewise.
43765 (y0_test_data): Likewise.
43766 (y1_test_data): Likewise.
43767 (yn_test_data): Update call to AUTO_TESTS_if_f.
43768 (main): Do not call removed functions.
43769
43770 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43771
43772 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43773 (ldexp_test_data): Remove.
43774 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43775 scalbn_test_data.
43776 (scalb_test): Use ALL_RM_TEST.
43777
43778 2014-03-19 Andreas Schwab <schwab@suse.de>
43779
43780 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43781
43782 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43783
43784 [BZ #16649]
43785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43789 (__ASSUME_PREADV): Undefine.
43790 (__ASSUME_PWRITEV): Likewise.
43791
43792 2014-03-18 Roland McGrath <roland@hack.frob.com>
43793
43794 * bits/mman-linux.h: Add comment about non-Linux use.
43795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43796 bits/mman-linux.h resting place.
43797
43798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43799 * bits/mman-linux.h: ... here.
43800
43801 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43802
43803 * conform/conformtest.pl: Add standard definition when calling C
43804 preprocessor on data files.
43805 (checknamespace): Remove unused variable.
43806
43807 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43808
43809 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43810 minus_oflow, plus_uflow and minus_uflow in expected results.
43811 * math/libm-test.inc (scalbn_test_data): Add more tests of
43812 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43813 minus_uflow.
43814 (scalbn_test): Use ALL_RM_TEST.
43815 (scalbln_test_data): Add more tests of negative arguments. Use
43816 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43817 (scalbln_test): Use ALL_RM_TEST.
43818
43819 2014-03-18 Roland McGrath <roland@hack.frob.com>
43820
43821 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43822
43823 2014-03-18 Will Newton <will.newton@linaro.org>
43824
43825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43826 inaccurate comment.
43827
43828 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43829
43830 * Makerules [!subdir] (check-abi): Exit with error status if a
43831 test failed.
43832
43833 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43834
43835 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43836 for rint. Include results for all rounding modes.
43837 (nearbyint_test): Use ALL_RM_TEST.
43838 (rint_test_data): Include all tests used for nearbyint.
43839
43840 2014-03-17 Will Newton <will.newton@linaro.org>
43841
43842 * nptl/sysdeps/pthread/pthread.h: Revert previous
43843 change.
43844
43845 * sysdeps/generic/ldsodefs.h: Revert previous
43846 change.
43847
43848 * libio/genops.c: Revert previous change.
43849 * libio/libioP.h: Likewise.
43850 * stdio-common/vfprintf.c: Likewise.
43851
43852 * sysdeps/generic/math_private.h: Revert previous
43853 change.
43854
43855 * sysdeps/generic/math_private.h: Check whether
43856 HAVE_RM_CTX is defined with #ifdef rather
43857 than #if.
43858
43859 * argp/argp-fmtstream.h: Check whether
43860 __STRICT_ANSI__ is defined with #ifdef rather
43861 than #if.
43862 * argp/argp.h: Likewise.
43863
43864 * libio/genops.c: Check whether
43865 _IO_JUMPS_OFFSET is defined with #ifdef rather
43866 than #if.
43867 * libio/libioP.h: Likewise.
43868 * stdio-common/vfprintf.c: Likewise.
43869
43870 * sysdeps/generic/ldsodefs.h: Check whether
43871 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43872 than #if.
43873
43874 * nptl/sysdeps/pthread/pthread.h: Check
43875 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43876 its value.
43877
43878 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43879
43880 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43881 setting O_APPEND.
43882 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43883 test case.
43884
43885 [BZ #16680]
43886 * libio/fileops.c (_IO_file_open): Seek to end of file but
43887 don't cache the offset.
43888 (get_file_offset): Remove function.
43889 (do_ftell): Use cached offset when available.
43890 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43891 don't cache the offset.
43892 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43893 case.
43894 (do_one_test): Call it.
43895 (do_ftell_test): Fix up expected old offset for a+ mode.
43896 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43897 available.
43898
43899 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43900 up test status with function return status.
43901 (do_write_test): Likewise.
43902 (do_append_test): Likewise.
43903
43904 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43905 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43906 Remove.
43907
43908 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43909
43910 * math/gen-libm-test.pl (parse_args): Handle results specified for
43911 each rounding mode separately.
43912 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43913 tests and results from lrint_tonearest_test_data,
43914 lrint_towardzero_test_data, lrint_downward_test_data and
43915 lrint_upward_test_data.
43916 (lrint_test): Use ALL_RM_TEST.
43917 (lrint_tonearest_test_data): Remove.
43918 (lrint_test_tonearest): Likewise.
43919 (lrint_towardzero_test_data): Likewise.
43920 (lrint_test_towardzero): Likewise.
43921 (lrint_downward_test_data): Likewise.
43922 (lrint_test_downward): Likewise.
43923 (lrint_upward_test_data): Likewise.
43924 (lrint_test_upward): Likewise.
43925 (llrint_test_data): Merge in per-rounding-mode tests and results
43926 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43927 llrint_downward_test_data and llrint_upward_test_data.
43928 (llrint_test): Use ALL_RM_TEST.
43929 (llrint_tonearest_test_data): Remove.
43930 (llrint_test_tonearest): Likewise.
43931 (llrint_towardzero_test_data): Likewise.
43932 (llrint_test_towardzero): Likewise.
43933 (llrint_downward_test_data): Likewise.
43934 (llrint_test_downward): Likewise.
43935 (llrint_upward_test_data): Likewise.
43936 (llrint_test_upward): Likewise.
43937 (rint_test_data): Merge in per-rounding-mode tests and results
43938 from rint_tonearest_test_data, rint_towardzero_test_data,
43939 rint_downward_test_data and rint_upward_test_data. Add
43940 per-rounding-mode results for tests not in those arrays.
43941 (rint_test): Use ALL_RM_TEST.
43942 (rint_tonearest_test_data): Remove.
43943 (rint_test_tonearest): Likewise.
43944 (rint_towardzero_test_data): Likewise.
43945 (rint_test_towardzero): Likewise.
43946 (rint_downward_test_data): Likewise.
43947 (rint_test_downward): Likewise.
43948 (rint_upward_test_data): Likewise.
43949 (rint_test_upward): Likewise.
43950 (main): Don't call removed functions.
43951
43952 2014-03-14 Roland McGrath <roland@hack.frob.com>
43953
43954 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43955 "Compiled on ..." crapola. It is anti-useful.
43956
43957 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43958
43959 * scripts/evaluate-test.sh: Handle fourth argument to determine
43960 whether test run should stop on failure.
43961 * Makeconfig (stop-on-test-failure): New variable.
43962 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43963 $(stop-on-test-failure).
43964 * Makefile (tests): Give a summary of results from testing and
43965 exit with failure status if they include an ERROR or FAIL.
43966 (xtests): Likewise.
43967 * manual/install.texi (Configuring and compiling): Mention
43968 stop-on-test-failure=y.
43969 * INSTALL: Regenerated.
43970
43971 2014-03-14 Roland McGrath <roland@hack.frob.com>
43972
43973 * scripts/versionlist.awk: New file.
43974 * Makerules [$(build-shared) = yes]
43975 (postclean-generated): Add Versions.def, not Versions.def.v and
43976 Versions.def.v.i.
43977 ($(common-objpfx)Versions.def.v.i): Target removed.
43978 ($(common-objpfx)Versions.def): New target.
43979 ($(common-objpfx)Versions.all): Depend on that rather that
43980 $(common-objpfx)Versions.def.v.
43981 * Versions.def: File removed.
43982
43983 * Makeconfig (+gccwarn): Add -Wundef.
43984 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43985 a dl-sysdep.h breaking its contract.
43986 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43987 * include/stackinfo.h: New file.
43988 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43989 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43990 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43991 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43992 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43993 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43994 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43995 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43996 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43997 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43998 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43999 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44000 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44001 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44002 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44003
44004 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44005
44006 [BZ #16707]
44007 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44008 implementation.
44009 * math/libm-test.inc (round_test_data): Add more tests.
44010
44011 [BZ #16706]
44012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44013 implementation.
44014 * math/libm-test.inc (nearbyint_test_data): Add more tests.
44015
44016 [BZ #16701]
44017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44018 implementation.
44019 * math/libm-test.inc (ceil_test_data): Add more tests.
44020
44021 * math/libm-test.inc (trunc_test_data): Add more tests related to
44022 BZ#16414.
44023
44024 2014-03-14 Roland McGrath <roland@hack.frob.com>
44025
44026 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44027 with #if rather than #ifdef.
44028 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44029
44030 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44031
44032 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44033 first. Disable AVX-512 GCC support if assembler doesn't support
44034 it.
44035 * sysdeps/x86_64/configure: Regenerated.
44036
44037 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44038
44039 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44040 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44041 (__old_pthread_attr_setstack): Likewise.
44042 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44043 [!_STACK_GROWS_DOWN]: Likewise.
44044
44045 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44046
44047 * config.make.in (have-bash2): Delete.
44048 * configure.ac (libc_cv_have_bash2): Delete.
44049 * configure: Regenerate.
44050 * elf/Makefile (common-ldd-rewrite): Rename to ...
44051 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44052 (sh-ldd-rewrite): Delete.
44053 (bash-ldd-rewrite): Delete.
44054 (have-bash2): Delete checks.
44055 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44056 ldd-rewrite.
44057
44058 * config.make.in (have-ksh): Delete.
44059 (KSH): Delete.
44060 * configure.ac (libc_cv_have_ksh): Delete.
44061 * configure: Regenerate.
44062
44063 * elf/Makefile: Delete $(have-ksh) check.
44064 ($(objpfx)sotruss): Change KSH to BASH.
44065 * elf/sotruss.ksh: Rename to ...
44066 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44067 function style to match POSIX. Drop ksh vim mode setting.
44068
44069 * manual/time.texi (Specifying the Time Zone with TZ): Change
44070 Tuesday to Thursday.
44071
44072 * debug/tst-longjmp_chk2.c: Update header comment.
44073 (stackoverflow_handler): Add comment. Call assert on pass value.
44074
44075 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44076
44077 [BZ #16194]
44078 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44079 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44080 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44081 (La_x86_64_vector): Add zmm.
44082 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44083 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44084 ($(objpfx)tst-audit10): New target.
44085 ($(objpfx)tst-audit10.out): Likewise.
44086 (tst-audit10-ENV): New.
44087 (AVX512-CFLAGS): Likewise.
44088 (CFLAGS-tst-audit10.c): Likewise.
44089 (CFLAGS-tst-auditmod10a.c): Likewise.
44090 (CFLAGS-tst-auditmod10b.c): Likewise.
44091 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44092 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44093 * sysdeps/x86_64/configure: Regenerated.
44094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44095 AVX-512 zmm register support.
44096 (_dl_x86_64_save_sse): Likewise.
44097 (_dl_x86_64_restore_sse): Likewise.
44098 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44099 size vector registers.
44100 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44101 (ZMM_SIZE): Likewise.
44102 * sysdeps/x86_64/tst-audit10.c: New file.
44103 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44104 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44105
44106 2014-03-13 Roland McGrath <roland@hack.frob.com>
44107
44108 * configure.ac (HAVE_EHDR_START): New check.
44109 * configure: Regenerated.
44110 * config.h.in (HAVE_EHDR_START): New #undef.
44111 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44112 assuming the lowest-addressed segment maps the start of the file.
44113
44114 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44115
44116 * INSTALL: Regenerated.
44117
44118 2014-03-13 Will Newton <will.newton@linaro.org>
44119
44120 * manual/setjmp.texi (System V contexts): Improve
44121 clarity and grammar of documentation.
44122
44123 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44124
44125 [BZ #16381]
44126 * elf/Makefile (tests): Add tst-pie2.
44127 (tests-pie): Add tst-pie2.
44128 * elf/tst-pie2.c: New file.
44129 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44130 for ET_EXEC.
44131 * elf/rtld.c (map_doit): Load executable as lt_executable.
44132 (dl_main): Likewise.
44133
44134 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44135
44136 [BZ #16642]
44137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44138 (__ASSUME_PSELECT): Undefine.
44139
44140 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44141
44142 [BZ #16689]
44143 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44144 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44145 static build.
44146 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44147 selector for static builds.
44148
44149 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44150
44151 [BZ #16695]
44152 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44153 key in the buffer.
44154
44155 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44156
44157 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44158 IFUNC selector for static builds.
44159
44160 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44161
44162 * sysdeps/mips/math_private.h [__mips_hard_float]
44163 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44164 libc_feresetround_mips_ctx.
44165 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44166 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44167 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44168
44169 [BZ #16677]
44170 * math/s_nextafter.c (__nextafter): Do not return value from
44171 overflowing computation.
44172 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44173 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44175 Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44177 Likewise.
44178 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44179 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44180
44181 2014-03-11 Roland McGrath <roland@hack.frob.com>
44182
44183 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44184 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44185 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44186 the new mov targetting sp.
44187
44188 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44189
44190 [BZ #16683]
44191 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44192 Define it for static builds as well.
44193 (NO_BZERO_IMPL): Likewise.
44194
44195 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44196
44197 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44198 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44199 multiarch strspn for PPC64.
44200 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44201 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44203 (__libc_ifunc_impl_list): Likewise.
44204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44205 multiarch optimizations
44206 * string/strspn.c (strspn): Using macro to redefine symbol name.
44207
44208 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44209 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44210
44211 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44212 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44213 multiarch strncat for PPC64.
44214 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44215 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44217 (__libc_ifunc_impl_list): Likewise.
44218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44219 multiarch optimizations
44220
44221 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44222
44223 [BZ #16639]
44224 * nscd/nscd.service: Make service type forking.
44225
44226 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44227
44228 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44229 sign in non default rounding modes.
44230 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44231
44232 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44233
44234 * math/libm-test.inc (ALL_RM_TEST): New macro.
44235 (ceil_test): Use ALL_RM_TEST.
44236 (cimag_test): Likewise.
44237 (conj_test): Likewise.
44238 (copysign_test): Likewise.
44239 (cproj_test): Likewise.
44240 (creal_test): Likewise.
44241 (fabs_test): Likewise.
44242 (floor_test): Likewise.
44243 (fmax_test): Likewise.
44244 (fmin_test): Likewise.
44245 (fmod_test): Likewise.
44246 (fpclassify_test): Likewise.
44247 (frexp_test): Likewise.
44248 (ilogb_test): Likewise.
44249 (isfinite_test): Likewise.
44250 (finite_test): Likewise.
44251 (isgreater_test): Likewise.
44252 (isgreaterequal_test): Likewise.
44253 (isinf_test): Likewise.
44254 (isless_test): Likewise.
44255 (islessequal_test): Likewise.
44256 (islessgreater_test): Likewise.
44257 (isnan_test): Likewise.
44258 (isnormal_test): Likewise.
44259 (issignaling_test): Likewise.
44260 (isunordered_test): Likewise.
44261 (logb_test): Likewise.
44262 (logb_downward_test_data): Remove.
44263 (logb_test_downward): Likewise.
44264 (lround_test): Use ALL_RM_TEST.
44265 (llround_test): Likewise.
44266 (modf_test): Likewise.
44267 (nexttoward_test): Likewise.
44268 (remainder_test): Likewise.
44269 (drem_test): Likewise.
44270 (remainder_tonearest_test_data): Likewise.
44271 (remainder_test_tonearest): Likewise.
44272 (drem_test_tonearest): Likewise.
44273 (remainder_towardzero_test_data): Likewise.
44274 (remainder_test_towardzero): Likewise.
44275 (drem_test_towardzero): Likewise.
44276 (remainder_downward_test_data): Likewise.
44277 (remainder_test_downward): Likewise.
44278 (drem_test_downward): Likewise.
44279 (remainder_upward_test_data): Likewise.
44280 (remainder_test_upward): Likewise.
44281 (drem_test_upward): Likewise.
44282 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44283 (round_test): Use ALL_RM_TEST.
44284 (signbit_test): Likewise.
44285 (trunc_test): Likewise.
44286 (significand_test): Likewise.
44287 (main): Don't call removed functions.
44288
44289 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44290
44291 [BZ #16674]
44292 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44293 || __USE_XOPEN2K8].
44294 (ILL_ILLOPN): Likewise.
44295 (ILL_ILLADR): Likewise.
44296 (ILL_ILLTRP): Likewise.
44297 (ILL_PRVOPC): Likewise.
44298 (ILL_PRVREG): Likewise.
44299 (ILL_COPROC): Likewise.
44300 (ILL_BADSTK): Likewise.
44301 (FPE_INTDIV): Likewise.
44302 (FPE_INTOVF): Likewise.
44303 (FPE_FLTDIV): Likewise.
44304 (FPE_FLTOVF): Likewise.
44305 (FPE_FLTUND): Likewise.
44306 (FPE_FLTRES): Likewise.
44307 (FPE_FLTINV): Likewise.
44308 (FPE_FLTSUB): Likewise.
44309 (SEGV_MAPERR): Likewise.
44310 (SEGV_ACCERR): Likewise.
44311 (BUS_ADRALN): Likewise.
44312 (BUS_ADRERR): Likewise.
44313 (BUS_OBJERR): Likewise.
44314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44315 (TRAP_TRACE): Likewise.
44316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44317 __USE_XOPEN2K8].
44318 (CLD_KILLED): Likewise.
44319 (CLD_DUMPED): Likewise.
44320 (CLD_TRAPPED): Likewise.
44321 (CLD_STOPPED): Likewise.
44322 (CLD_CONTINUED): Likewise.
44323 (POLL_IN): Likewise.
44324 (POLL_OUT): Likewise.
44325 (POLL_MSG): Likewise.
44326 (POLL_ERR): Likewise.
44327 (POLL_PRI): Likewise.
44328 (POLL_HUP): Likewise.
44329 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44330 Likewise.
44331 (ILL_ILLOPN): Likewise.
44332 (ILL_ILLADR): Likewise.
44333 (ILL_ILLTRP): Likewise.
44334 (ILL_PRVOPC): Likewise.
44335 (ILL_PRVREG): Likewise.
44336 (ILL_COPROC): Likewise.
44337 (ILL_BADSTK): Likewise.
44338 (FPE_INTDIV): Likewise.
44339 (FPE_INTOVF): Likewise.
44340 (FPE_FLTDIV): Likewise.
44341 (FPE_FLTOVF): Likewise.
44342 (FPE_FLTUND): Likewise.
44343 (FPE_FLTRES): Likewise.
44344 (FPE_FLTINV): Likewise.
44345 (FPE_FLTSUB): Likewise.
44346 (SEGV_MAPERR): Likewise.
44347 (SEGV_ACCERR): Likewise.
44348 (BUS_ADRALN): Likewise.
44349 (BUS_ADRERR): Likewise.
44350 (BUS_OBJERR): Likewise.
44351 (BUS_MCEERR_AR): Likewise.
44352 (BUS_MCEERR_AO): Likewise.
44353 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44354 (TRAP_TRACE): Likewise.
44355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44356 __USE_XOPEN2K8].
44357 (CLD_KILLED): Likewise.
44358 (CLD_DUMPED): Likewise.
44359 (CLD_TRAPPED): Likewise.
44360 (CLD_STOPPED): Likewise.
44361 (CLD_CONTINUED): Likewise.
44362 (POLL_IN): Likewise.
44363 (POLL_OUT): Likewise.
44364 (POLL_MSG): Likewise.
44365 (POLL_ERR): Likewise.
44366 (POLL_PRI): Likewise.
44367 (POLL_HUP): Likewise.
44368 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44369 (ILL_ILLOPN): Likewise.
44370 (ILL_ILLADR): Likewise.
44371 (ILL_ILLTRP): Likewise.
44372 (ILL_PRVOPC): Likewise.
44373 (ILL_PRVREG): Likewise.
44374 (ILL_COPROC): Likewise.
44375 (ILL_BADSTK): Likewise.
44376 (FPE_INTDIV): Likewise.
44377 (FPE_INTOVF): Likewise.
44378 (FPE_FLTDIV): Likewise.
44379 (FPE_FLTOVF): Likewise.
44380 (FPE_FLTUND): Likewise.
44381 (FPE_FLTRES): Likewise.
44382 (FPE_FLTINV): Likewise.
44383 (FPE_FLTSUB): Likewise.
44384 (SEGV_MAPERR): Likewise.
44385 (SEGV_ACCERR): Likewise.
44386 (BUS_ADRALN): Likewise.
44387 (BUS_ADRERR): Likewise.
44388 (BUS_OBJERR): Likewise.
44389 (BUS_MCEERR_AR): Likewise.
44390 (BUS_MCEERR_AO): Likewise.
44391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44392 (TRAP_TRACE): Likewise.
44393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44394 __USE_XOPEN2K8].
44395 (CLD_KILLED): Likewise.
44396 (CLD_DUMPED): Likewise.
44397 (CLD_TRAPPED): Likewise.
44398 (CLD_STOPPED): Likewise.
44399 (CLD_CONTINUED): Likewise.
44400 (POLL_IN): Likewise.
44401 (POLL_OUT): Likewise.
44402 (POLL_MSG): Likewise.
44403 (POLL_ERR): Likewise.
44404 (POLL_PRI): Likewise.
44405 (POLL_HUP): Likewise.
44406 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44407 Likewise.
44408 (ILL_ILLOPN): Likewise.
44409 (ILL_ILLADR): Likewise.
44410 (ILL_ILLTRP): Likewise.
44411 (ILL_PRVOPC): Likewise.
44412 (ILL_PRVREG): Likewise.
44413 (ILL_COPROC): Likewise.
44414 (ILL_BADSTK): Likewise.
44415 (ILL_BADIADDR): Likewise.
44416 (ILL_BREAK): Likewise.
44417 (FPE_INTDIV): Likewise.
44418 (FPE_INTOVF): Likewise.
44419 (FPE_FLTDIV): Likewise.
44420 (FPE_FLTOVF): Likewise.
44421 (FPE_FLTUND): Likewise.
44422 (FPE_FLTRES): Likewise.
44423 (FPE_FLTINV): Likewise.
44424 (FPE_FLTSUB): Likewise.
44425 (FPE_DECOVF): Likewise.
44426 (FPE_DECDIV): Likewise.
44427 (FPE_DECERR): Likewise.
44428 (FPE_INVASC): Likewise.
44429 (FPE_INVDEC): Likewise.
44430 (SEGV_MAPERR): Likewise.
44431 (SEGV_ACCERR): Likewise.
44432 (SEGV_PSTKOVF): Likewise.
44433 (BUS_ADRALN): Likewise.
44434 (BUS_ADRERR): Likewise.
44435 (BUS_OBJERR): Likewise.
44436 (BUS_MCEERR_AR): Likewise.
44437 (BUS_MCEERR_AO): Likewise.
44438 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44439 (TRAP_TRACE): Likewise.
44440 (TRAP_BRANCH): Likewise.
44441 (TRAP_HWBKPT): Likewise.
44442 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44443 __USE_XOPEN2K8].
44444 (CLD_KILLED): Likewise.
44445 (CLD_DUMPED): Likewise.
44446 (CLD_TRAPPED): Likewise.
44447 (CLD_STOPPED): Likewise.
44448 (CLD_CONTINUED): Likewise.
44449 (POLL_IN): Likewise.
44450 (POLL_OUT): Likewise.
44451 (POLL_MSG): Likewise.
44452 (POLL_ERR): Likewise.
44453 (POLL_PRI): Likewise.
44454 (POLL_HUP): Likewise.
44455 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44456 (ILL_ILLOPN): Likewise.
44457 (ILL_ILLADR): Likewise.
44458 (ILL_ILLTRP): Likewise.
44459 (ILL_PRVOPC): Likewise.
44460 (ILL_PRVREG): Likewise.
44461 (ILL_COPROC): Likewise.
44462 (ILL_BADSTK): Likewise.
44463 (FPE_INTDIV): Likewise.
44464 (FPE_INTOVF): Likewise.
44465 (FPE_FLTDIV): Likewise.
44466 (FPE_FLTOVF): Likewise.
44467 (FPE_FLTUND): Likewise.
44468 (FPE_FLTRES): Likewise.
44469 (FPE_FLTINV): Likewise.
44470 (FPE_FLTSUB): Likewise.
44471 (SEGV_MAPERR): Likewise.
44472 (SEGV_ACCERR): Likewise.
44473 (BUS_ADRALN): Likewise.
44474 (BUS_ADRERR): Likewise.
44475 (BUS_OBJERR): Likewise.
44476 (BUS_MCEERR_AR): Likewise.
44477 (BUS_MCEERR_AO): Likewise.
44478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44479 (TRAP_TRACE): Likewise.
44480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44481 __USE_XOPEN2K8].
44482 (CLD_KILLED): Likewise.
44483 (CLD_DUMPED): Likewise.
44484 (CLD_TRAPPED): Likewise.
44485 (CLD_STOPPED): Likewise.
44486 (CLD_CONTINUED): Likewise.
44487 (POLL_IN): Likewise.
44488 (POLL_OUT): Likewise.
44489 (POLL_MSG): Likewise.
44490 (POLL_ERR): Likewise.
44491 (POLL_PRI): Likewise.
44492 (POLL_HUP): Likewise.
44493 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44494 (ILL_ILLOPN): Likewise.
44495 (ILL_ILLADR): Likewise.
44496 (ILL_ILLTRP): Likewise.
44497 (ILL_PRVOPC): Likewise.
44498 (ILL_PRVREG): Likewise.
44499 (ILL_COPROC): Likewise.
44500 (ILL_BADSTK): Likewise.
44501 (FPE_INTDIV): Likewise.
44502 (FPE_INTOVF): Likewise.
44503 (FPE_FLTDIV): Likewise.
44504 (FPE_FLTOVF): Likewise.
44505 (FPE_FLTUND): Likewise.
44506 (FPE_FLTRES): Likewise.
44507 (FPE_FLTINV): Likewise.
44508 (FPE_FLTSUB): Likewise.
44509 (SEGV_MAPERR): Likewise.
44510 (SEGV_ACCERR): Likewise.
44511 (BUS_ADRALN): Likewise.
44512 (BUS_ADRERR): Likewise.
44513 (BUS_OBJERR): Likewise.
44514 (BUS_MCEERR_AR): Likewise.
44515 (BUS_MCEERR_AO): Likewise.
44516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44517 (TRAP_TRACE): Likewise.
44518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44519 __USE_XOPEN2K8].
44520 (CLD_KILLED): Likewise.
44521 (CLD_DUMPED): Likewise.
44522 (CLD_TRAPPED): Likewise.
44523 (CLD_STOPPED): Likewise.
44524 (CLD_CONTINUED): Likewise.
44525 (POLL_IN): Likewise.
44526 (POLL_OUT): Likewise.
44527 (POLL_MSG): Likewise.
44528 (POLL_ERR): Likewise.
44529 (POLL_PRI): Likewise.
44530 (POLL_HUP): Likewise.
44531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44532 (ILL_ILLOPN): Likewise.
44533 (ILL_ILLADR): Likewise.
44534 (ILL_ILLTRP): Likewise.
44535 (ILL_PRVOPC): Likewise.
44536 (ILL_PRVREG): Likewise.
44537 (ILL_COPROC): Likewise.
44538 (ILL_BADSTK): Likewise.
44539 (FPE_INTDIV): Likewise.
44540 (FPE_INTOVF): Likewise.
44541 (FPE_FLTDIV): Likewise.
44542 (FPE_FLTOVF): Likewise.
44543 (FPE_FLTUND): Likewise.
44544 (FPE_FLTRES): Likewise.
44545 (FPE_FLTINV): Likewise.
44546 (FPE_FLTSUB): Likewise.
44547 (SEGV_MAPERR): Likewise.
44548 (SEGV_ACCERR): Likewise.
44549 (BUS_ADRALN): Likewise.
44550 (BUS_ADRERR): Likewise.
44551 (BUS_OBJERR): Likewise.
44552 (BUS_MCEERR_AR): Likewise.
44553 (BUS_MCEERR_AO): Likewise.
44554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44555 (TRAP_TRACE): Likewise.
44556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44557 __USE_XOPEN2K8].
44558 (CLD_KILLED): Likewise.
44559 (CLD_DUMPED): Likewise.
44560 (CLD_TRAPPED): Likewise.
44561 (CLD_STOPPED): Likewise.
44562 (CLD_CONTINUED): Likewise.
44563 (POLL_IN): Likewise.
44564 (POLL_OUT): Likewise.
44565 (POLL_MSG): Likewise.
44566 (POLL_ERR): Likewise.
44567 (POLL_PRI): Likewise.
44568 (POLL_HUP): Likewise.
44569 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44570 (ILL_ILLOPN): Likewise.
44571 (ILL_ILLADR): Likewise.
44572 (ILL_ILLTRP): Likewise.
44573 (ILL_PRVOPC): Likewise.
44574 (ILL_PRVREG): Likewise.
44575 (ILL_COPROC): Likewise.
44576 (ILL_BADSTK): Likewise.
44577 (ILL_DBLFLT): Likewise.
44578 (ILL_HARDWALL): Likewise.
44579 (FPE_INTDIV): Likewise.
44580 (FPE_INTOVF): Likewise.
44581 (FPE_FLTDIV): Likewise.
44582 (FPE_FLTOVF): Likewise.
44583 (FPE_FLTUND): Likewise.
44584 (FPE_FLTRES): Likewise.
44585 (FPE_FLTINV): Likewise.
44586 (FPE_FLTSUB): Likewise.
44587 (SEGV_MAPERR): Likewise.
44588 (SEGV_ACCERR): Likewise.
44589 (BUS_ADRALN): Likewise.
44590 (BUS_ADRERR): Likewise.
44591 (BUS_OBJERR): Likewise.
44592 (BUS_MCEERR_AR): Likewise.
44593 (BUS_MCEERR_AO): Likewise.
44594 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44595 (TRAP_TRACE): Likewise.
44596 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44597 __USE_XOPEN2K8].
44598 (CLD_KILLED): Likewise.
44599 (CLD_DUMPED): Likewise.
44600 (CLD_TRAPPED): Likewise.
44601 (CLD_STOPPED): Likewise.
44602 (CLD_CONTINUED): Likewise.
44603 (POLL_IN): Likewise.
44604 (POLL_OUT): Likewise.
44605 (POLL_MSG): Likewise.
44606 (POLL_ERR): Likewise.
44607 (POLL_PRI): Likewise.
44608 (POLL_HUP): Likewise.
44609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44610 (ILL_ILLOPN): Likewise.
44611 (ILL_ILLADR): Likewise.
44612 (ILL_ILLTRP): Likewise.
44613 (ILL_PRVOPC): Likewise.
44614 (ILL_PRVREG): Likewise.
44615 (ILL_COPROC): Likewise.
44616 (ILL_BADSTK): Likewise.
44617 (FPE_INTDIV): Likewise.
44618 (FPE_INTOVF): Likewise.
44619 (FPE_FLTDIV): Likewise.
44620 (FPE_FLTOVF): Likewise.
44621 (FPE_FLTUND): Likewise.
44622 (FPE_FLTRES): Likewise.
44623 (FPE_FLTINV): Likewise.
44624 (FPE_FLTSUB): Likewise.
44625 (SEGV_MAPERR): Likewise.
44626 (SEGV_ACCERR): Likewise.
44627 (BUS_ADRALN): Likewise.
44628 (BUS_ADRERR): Likewise.
44629 (BUS_OBJERR): Likewise.
44630 (BUS_MCEERR_AR): Likewise.
44631 (BUS_MCEERR_AO): Likewise.
44632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44633 (TRAP_TRACE): Likewise.
44634 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44635 __USE_XOPEN2K8].
44636 (CLD_KILLED): Likewise.
44637 (CLD_DUMPED): Likewise.
44638 (CLD_TRAPPED): Likewise.
44639 (CLD_STOPPED): Likewise.
44640 (CLD_CONTINUED): Likewise.
44641 (POLL_IN): Likewise.
44642 (POLL_OUT): Likewise.
44643 (POLL_MSG): Likewise.
44644 (POLL_ERR): Likewise.
44645 (POLL_PRI): Likewise.
44646 (POLL_HUP): Likewise.
44647 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44648 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44649
44650 [BZ #16670]
44651 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44652 before #include of <time.h>.
44653 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44654 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44655 (test-xfail-UNIX98/sched.h/conform): Likewise.
44656
44657 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44658
44659 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44660 error absence of trapping exception support.
44661 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44662
44663 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44664
44665 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44666 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44667 * timezone/Makefile (testdata): Move definition above include of
44668 Rules.
44669 (test-zones): New variable.
44670 (tests-special): Add zone files.
44671 (build-testdata): Use $(evaluate-test).
44672
44673 * elf/Makefile (tests-special): Rename tests to end with .out.
44674 ($(objpfx)noload-mem): Likewise.
44675 ($(objpfx)tst-leaks1-mem): Likewise.
44676 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44677 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44678 $(objpfx)test-iconvconfig.out.
44679 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44680 set -e inside subshell and redirect output to file.
44681 * iconvdata/Makefile (generated): Rename tests to end with .out.
44682 Correct type.
44683 (tests-special): Rename tests to end with .out.
44684 ($(objpfx)mtrace-tst-loading): Likewise.
44685 * intl/Makefile (generated): Likewise.
44686 (tests-special): Likewise.
44687 ($(objpfx)mtrace-tst-gettext): Likewise.
44688 * misc/Makefile (generated): Likewise.
44689 (tests-special): Likewise.
44690 ($(objpfx)tst-error1-mem): Likewise.
44691 * nptl/Makefile (tests-special): Likewise.
44692 ($(objpfx)tst-stack3-mem): Likewise.
44693 (generated): Likewise.
44694 * posix/Makefile (generated): Likewise.
44695 (tests-special): Likewise.
44696 (xtests-special): Likewise.
44697 ($(objpfx)tst-fnmatch-mem): Likewise.
44698 ($(objpfx)bug-regex2-mem): Likewise.
44699 ($(objpfx)bug-regex14-mem): Likewise.
44700 ($(objpfx)bug-regex21-mem): Likewise.
44701 ($(objpfx)bug-regex31-mem): Likewise.
44702 ($(objpfx)tst-vfork3-mem): Likewise.
44703 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44704 ($(objpfx)tst-pcre-mem): Likewise.
44705 ($(objpfx)tst-boost-mem): Likewise.
44706 ($(objpfx)bug-ga2-mem): Likewise.
44707 ($(objpfx)bug-glob2-mem): Likewise.
44708 * resolv/Makefile (generate): Likewise.
44709 (tests-special): Likewise.
44710 (xtests-special): Likewise.
44711 (generated): Likewise.
44712 ($(objpfx)mtrace-tst-leaks): Likewise.
44713 ($(objpfx)mtrace-tst-leaks2): Likewise.
44714
44715 * scripts/merge-test-results.sh: New file.
44716 * Makefile (tests-special-notdir): New variable.
44717 (tests): Run merge-test-results.sh.
44718 (xtests): Likewise.
44719 * Rules (tests-special-notdir): New variable.
44720 (xtests-special-notdir): Likewise.
44721 (tests): Run merge-test-results.sh
44722 (xtests): Likewise.
44723
44724 * Makeconfig (test-xfail-name): New variable.
44725 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44726 compute variable name for expected failures.
44727 * conform/Makefile (conformtest-headers-data): New variable.
44728 (conformtest-standards): Likewise.
44729 (conformtest-headers-ISO): Likewise.
44730 (conformtest-headers-ISO99): Likewise.
44731 (conformtest-headers-ISO11): Likewise.
44732 (conformtest-headers-POSIX): Likewise.
44733 (conformtest-headers-XPG3): Likewise.
44734 (conformtest-headers-XPG4): Likewise.
44735 (conformtest-headers-UNIX98): Likewise.
44736 (conformtest-headers-XOPEN2K): Likewise.
44737 (conformtest-headers-POSIX2008): Likewise.
44738 (conformtest-headers-XOPEN2K8): Likewise.
44739 (conformtest-header-list-base): Likewise.
44740 (conformtest-header-list-tests): Likewise.
44741 (conformtest-header-base): Likewise.
44742 (conformtest-header-tests): Likewise.
44743 (tests-special): Add $(conformtest-header-list-tests). If
44744 [$(fast-check) && !$(cross-compiling)], add
44745 $(conformtest-header-tests) instead of
44746 $(objpfx)run-conformtest.out.
44747 (generated): Add $(conformtest-header-list-base). If
44748 [$(fast-check) && !$(cross-compiling)], add
44749 $(conformtest-header-base). Remove previous setting.
44750 ($(conformtest-header-list-tests)): New target.
44751 (test-xfail-run-conformtest): Remove variable.
44752 ($(objpfx)run-conformtest.out): Remove target.
44753 (test-xfail-ISO11/complex.h/conform): New variable.
44754 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44755 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44756 (test-xfail-XPG3/varargs.h/conform): Likewise.
44757 (test-xfail-XPG4/varargs.h/conform): Likewise.
44758 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44759 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44760 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44761 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44762 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44763 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44764 (test-xfail-XPG3/ftw.h/conform): Likewise.
44765 (test-xfail-XPG3/grp.h/conform): Likewise.
44766 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44767 (test-xfail-XPG3/limits.h/conform): Likewise.
44768 (test-xfail-XPG3/pwd.h/conform): Likewise.
44769 (test-xfail-XPG3/search.h/conform): Likewise.
44770 (test-xfail-XPG3/signal.h/conform): Likewise.
44771 (test-xfail-XPG3/stdio.h/conform): Likewise.
44772 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44773 (test-xfail-XPG3/string.h/conform): Likewise.
44774 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44775 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44776 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44777 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44778 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44779 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44780 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44781 (test-xfail-XPG3/termios.h/conform): Likewise.
44782 (test-xfail-XPG3/time.h/conform): Likewise.
44783 (test-xfail-XPG3/unistd.h/conform): Likewise.
44784 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44785 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44786 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44787 (test-xfail-XPG4/netdb.h/conform): Likewise.
44788 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44789 (test-xfail-XPG4/signal.h/conform): Likewise.
44790 (test-xfail-XPG4/stdio.h/conform): Likewise.
44791 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44792 (test-xfail-XPG4/stropts.h/conform): Likewise.
44793 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44794 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44795 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44796 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44797 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44798 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44799 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44800 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44801 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44802 (test-xfail-XPG4/termios.h/conform): Likewise.
44803 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44804 (test-xfail-XPG4/unistd.h/conform): Likewise.
44805 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44806 (test-xfail-POSIX/sched.h/conform): Likewise.
44807 (test-xfail-POSIX/signal.h/conform): Likewise.
44808 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44809 (test-xfail-POSIX/tar.h/conform): Likewise.
44810 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44811 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44812 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44813 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44814 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44815 (test-xfail-UNIX98/sched.h/conform): Likewise.
44816 (test-xfail-UNIX98/signal.h/conform): Likewise.
44817 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44818 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44819 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44820 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44821 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44822 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44823 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44824 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44825 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44826 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44827 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44828 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44829 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44830 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44831 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44832 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44833 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44834 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44835 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44836 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44837 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44838 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44839 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44840 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44841 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44842 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44843 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44844 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44845 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44846 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44847 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44848 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44849 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44850 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44851 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44852 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44853 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44854 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44855 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44856 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44857 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44858 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44859 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44860 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44861 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44862 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44863 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44864 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44865 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44866 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44867 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44868 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44869 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44870 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44871 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44872 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44873 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44874 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44875 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44876 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44877 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44878 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44879 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44880 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44881 (conformtest-cc-flags): Likewise.
44882 ($(conformtest-header-tests): New target.
44883 * conform/check-header-lists.sh: New file.
44884 * conform/run-conformtest.sh: Remove.
44885
44886 * conform/conformtest.pl: Allow ' and \ in values given for
44887 constants.
44888 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44889 inclusion.
44890 [POSIX] (sys/types.h): Likewise.
44891 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44892 inclusion.
44893 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44894 inclusion.
44895 * conform/data/signal.h-data (SIGIO): Remove expectation.
44896 [XPG3] (SIGBUS): Do not expect.
44897 [POSIX || XPG3] (SIGPOLL): Likewise.
44898 [POSIX || XPG3] (SIGPROF): Likewise.
44899 [POSIX || XPG3] (SIGSYS): Likewise.
44900 [XPG3] (SIGTRAP): Likewise.
44901 [POSIX || XPG3] (SIGURG): Likewise.
44902 [POSIX || XPG3] (SIGVTALRM): Likewise.
44903 [POSIX || XPG3] (SIGXCPU): Likewise.
44904 [POSIX || XPG3] (SIGXFSZ): Likewise.
44905 [POSIX] (SA_SIGINFO): Expect.
44906 [XPG3] (siginfo_t): Do not expect type or contents.
44907 [POSIX] (si_pid): Do not expect element.
44908 [POSIX] (si_uid): Likewise.
44909 [POSIX] (si_addr): Likewise.
44910 [POSIX] (si_status): Likewise.
44911 [POSIX] (si_band): Likewise.
44912 [XPG4] (si_value): Likewise.
44913 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44914 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44915 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44916 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44917 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44918 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44919 [POSIX || XPG3] (ILL_COPROC): Likewise.
44920 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44921 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44922 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44923 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44924 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44925 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44926 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44927 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44928 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44929 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44930 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44931 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44932 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44933 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44934 [POSIX || XPG3] (CLD_EXITED): Likewise.
44935 [POSIX || XPG3] (CLD_KILLED): Likewise.
44936 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44937 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44938 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44939 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44940 [POSIX || XPG3] (POLL_IN): Likewise.
44941 [POSIX || XPG3] (POLL_OUT): Likewise.
44942 [POSIX || XPG3] (POLL_MSG): Likewise.
44943 [POSIX || XPG3] (POLL_ERR): Likewise.
44944 [POSIX || XPG3] (POLL_PRI): Likewise.
44945 [POSIX || XPG3] (POLL_HUP): Likewise.
44946 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44947 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44948 (SIG*): Do not allow.
44949 [XPG3] (si_*): Likewise.
44950 [XPG3] (SI_*): Likewise.
44951 [XPG3 || XPG4] (sigev_*): Likewise.
44952 [XPG3 || XPG4] (SIGEV_*): Likewise.
44953 [XPG3 || XPG4] (sival_*): Likewise.
44954 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44955 [POSIX || XPG3] (BUS_*): Likewise.
44956 [POSIX || XPG3] (CLD_*): Likewise.
44957 [POSIX || XPG3] (FPE_*): Likewise.
44958 [POSIX || XPG3] (ILL_*): Likewise.
44959 [POSIX || XPG3] (POLL_*): Likewise.
44960 [POSIX || XPG3] (SEGV_*): Likewise.
44961 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44962 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44963 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44964 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44965 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44966 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44967 Specify type and value.
44968 (TVERSLEN): Likewise.
44969 (REGTYPE): Likewise.
44970 (AREGTYPE): Likewise.
44971 (LNKTYPE): Likewise.
44972 (SYMTYPE): Likewise.
44973 (CHRTYPE): Likewise.
44974 (BLKTYPE): Likewise.
44975 (DIRTYPE): Likewise.
44976 (FIFOTYPE): Likewise.
44977 (CONTTYPE): Likewise.
44978 (TSUID): Likewise.
44979 (TSGID): Likewise.
44980 (TSVTX): Likewise.
44981 (TUREAD): Likewise.
44982 (TUWRITE): Likewise.
44983 (TUEXEC): Likewise.
44984 (TGREAD): Likewise.
44985 (TGWRITE): Likewise.
44986 (TGEXEC): Likewise.
44987 (TOREAD): Likewise.
44988 (TOWRITE): Likewise.
44989 (TOEXEC): Likewise.
44990 [POSIX] (TSVTX): Expect constant.
44991
44992 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44993
44994 * Makefile (tests): Change dependencies to ....
44995 (tests-special): ... additions to this variable.
44996 (tests): Depend on $(tests-special).
44997 * Makerules (check-abi-list): New variable.
44998 (check-abi): Depend on $(check-abi-list).
44999 [$(subdir) = elf] (tests-special): Add
45000 $(objpfx)check-abi-libc.out.
45001 [$(build-shared) = yes && subdir] (tests-special): Add
45002 $(check-abi-list).
45003 [$(build-shared) = yes && subdir] (tests): Do not depend on
45004 check-abi.
45005 * Rules (tests): Depend on $(tests-special).
45006 (xtests): Depend on $(xtests-special).
45007 * catgets/Makefile (tests): Change dependencies to ....
45008 (tests-special): ... additions to this variable.
45009 * conform/Makefile (tests): Change dependencies to ....
45010 (tests-special): ... additions to this variable.
45011 * elf/Makefile (tests): Change dependencies to ....
45012 (tests-special): ... additions to this variable.
45013 * grp/Makefile (tests): Change dependencies to ....
45014 (tests-special): ... additions to this variable.
45015 * iconv/Makefile (xtests): Change dependencies to ....
45016 (xtests-special): ... additions to this variable.
45017 * iconvdata/Makefile (tests): Change dependencies to ....
45018 (tests-special): ... additions to this variable.
45019 * intl/Makefile (tests): Change dependencies to ....
45020 (tests-special): ... additions to this variable. Also add
45021 $(objpfx)tst-gettext.out.
45022 * io/Makefile (tests): Change dependencies to ....
45023 (tests-special): ... additions to this variable.
45024 * libio/Makefile (tests): Change dependencies to ....
45025 (tests-special): ... additions to this variable.
45026 * malloc/Makefile (tests): Change dependencies to ....
45027 (tests-special): ... additions to this variable.
45028 * misc/Makefile (tests): Change dependencies to ....
45029 (tests-special): ... additions to this variable.
45030 * nptl/Makefile (tests): Change dependencies to ....
45031 (tests-special): ... additions to this variable.
45032 * nptl_db/Makefile (tests): Change dependencies to ....
45033 (tests-special): ... additions to this variable.
45034 * posix/Makefile (tests): Change dependencies to ....
45035 (tests-special): ... additions to this variable.
45036 (xtests): Change dependencies to ....
45037 (xtests-special): ... additions to this variable.
45038 * resolv/Makefile (tests): Change dependencies to ....
45039 (tests-special): ... additions to this variable.
45040 (xtests): Change dependencies to ....
45041 (xtests-special): ... additions to this variable.
45042 * stdio-common/Makefile (tests): Change dependencies to ....
45043 (tests-special): ... additions to this variable.
45044 (do-tst-unbputc): Remove target.
45045 (do-tst-printf): Likewise.
45046 * stdlib/Makefile (tests): Change dependencies to ....
45047 (tests-special): ... additions to this variable.
45048 * string/Makefile (tests): Change dependencies to ....
45049 (tests-special): ... additions to this variable.
45050 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45051 (tests-special): ... additions to this variable.
45052
45053 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45054 whole file.
45055 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45056 whole file.
45057 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45058 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45059
45060 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45061 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45062 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45063 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45064 * conform/data/libgen.h-data [XPG3]: Likewise.
45065 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45066 * conform/data/ndbm.h-data [XPG3]: Likewise.
45067 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45068 * conform/data/netdb.h-data [XPG3]: Likewise.
45069 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45070 * conform/data/poll.h-data [XPG3]: Likewise.
45071 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45072 * conform/data/strings.h-data [XPG3]: Likewise.
45073 * conform/data/stropts.h-data [XPG3]: Likewise.
45074 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45075 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45076 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45077 Likewise.
45078 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45079 * conform/data/sys/time.h-data [XPG3]: Likewise.
45080 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45081 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45082 * conform/data/sys/un.h-data [XPG3]: Likewise.
45083 * conform/data/syslog.h-data [XPG3]: Likewise.
45084 * conform/data/ucontext.h-data [XPG3]: Likewise.
45085 * conform/data/utmpx.h-data [XPG3]: Likewise.
45086 * conform/data/varargs.h-data [UNIX98]: Enable file.
45087
45088 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45089
45090 * math/libm-test.inc (struct test_f_f_data): Move expected results
45091 into structure for each rounding mode.
45092 (struct test_ff_f_data): Likewise.
45093 (struct test_ff_f_data_nexttoward): Likewise.
45094 (struct test_fi_f_data): Likewise.
45095 (struct test_fl_f_data): Likewise.
45096 (struct test_if_f_data): Likewise.
45097 (struct test_fff_f_data): Likewise.
45098 (struct test_c_f_data): Likewise.
45099 (struct test_f_f1_data): Likewise.
45100 (struct test_fF_f1_data): Likewise.
45101 (struct test_ffI_f1_data): Likewise.
45102 (struct test_c_c_data): Likewise.
45103 (struct test_cc_c_data): Likewise.
45104 (struct test_f_i_data): Likewise.
45105 (struct test_ff_i_data): Likewise.
45106 (struct test_f_l_data): Likewise.
45107 (struct test_f_L_data): Likewise.
45108 (struct test_fFF_11_data): Likewise.
45109 (RM_): New macro.
45110 (RM_FE_DOWNWARD): Likewise.
45111 (RM_FE_TONEAREST): Likewise.
45112 (RM_FE_TOWARDZERO): Likewise.
45113 (RM_FE_UPWARD): Likewise.
45114 (RUN_TEST_LOOP_f_f): Update references to expected results.
45115 (RUN_TEST_LOOP_2_f): Likewise.
45116 (RUN_TEST_LOOP_fff_f): Likewise.
45117 (RUN_TEST_LOOP_c_f): Likewise.
45118 (RUN_TEST_LOOP_f_f1): Likewise.
45119 (RUN_TEST_LOOP_fF_f1): Likewise.
45120 (RUN_TEST_LOOP_fI_f1): Likewise.
45121 (RUN_TEST_LOOP_ffI_f1): Likewise.
45122 (RUN_TEST_LOOP_c_c): Likewise.
45123 (RUN_TEST_LOOP_cc_c): Likewise.
45124 (RUN_TEST_LOOP_f_i): Likewise.
45125 (RUN_TEST_LOOP_f_i_tg): Likewise.
45126 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45127 (RUN_TEST_LOOP_f_b): Likewise.
45128 (RUN_TEST_LOOP_f_b_tg): Likewise.
45129 (RUN_TEST_LOOP_f_l): Likewise.
45130 (RUN_TEST_LOOP_f_L): Likewise.
45131 (RUN_TEST_LOOP_fFF_11): Likewise.
45132 * math/gen-libm-test.pl (parse_args): Output four copies of
45133 expected results for each test.
45134
45135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45136 (__ASSUME_UTIMES): Remove.
45137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45138 (__ASSUME_UTIMES): Likewise.
45139
45140 * math/gen-auto-libm-tests.c: Update comment on output format.
45141 (output_for_one_input_case): Generate before-rounding and
45142 after-rounding information as conditions on output flags not
45143 floating-point format.
45144 * math/auto-libm-test-out: Regenerated.
45145 * math/gen-libm-test.pl (cond_value): New function.
45146 (or_cond_value): Use cond_value.
45147 (generate_testfile): Handle conditional exceptions.
45148
45149 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45150
45151 * math/libm-test.inc (max_valid_error): New variable.
45152 (init_max_error): Take new argument specifying whether function
45153 results are exactly determined. Set max_valid_error and bound
45154 other variables for errors based on this argument.
45155 (set_max_error): Do not record results above max_valid_error.
45156 (check_float_internal): Only accept errors of up to 0.5ulps if
45157 also at most max_valid_error.
45158 (START): Take new argument EXACT and pass it to init_max_error.
45159 (acos_test): Update call to START.
45160 (acos_test_tonearest): Likewise.
45161 (acos_test_towardzero): Likewise.
45162 (acos_test_downward): Likewise.
45163 (acos_test_upward): Likewise.
45164 (acosh_test): Likewise.
45165 (asin_test): Likewise.
45166 (asin_test_tonearest): Likewise.
45167 (asin_test_towardzero): Likewise.
45168 (asin_test_downward): Likewise.
45169 (asin_test_upward): Likewise.
45170 (asinh_test): Likewise.
45171 (atan_test): Likewise.
45172 (atanh_test): Likewise.
45173 (atan2_test): Likewise.
45174 (cabs_test): Likewise.
45175 (cacos_test): Likewise.
45176 (cacosh_test): Likewise.
45177 (carg_test): Likewise.
45178 (casin_test): Likewise.
45179 (casinh_test): Likewise.
45180 (catan_test): Likewise.
45181 (catanh_test): Likewise.
45182 (cbrt_test): Likewise.
45183 (ccos_test): Likewise.
45184 (ccosh_test): Likewise.
45185 (ceil_test): Likewise.
45186 (cexp_test): Likewise.
45187 (cimag_test): Likewise.
45188 (clog_test): Likewise.
45189 (clog10_test): Likewise.
45190 (conj_test): Likewise.
45191 (copysign_test): Likewise.
45192 (cos_test): Likewise.
45193 (cos_test_tonearest): Likewise.
45194 (cos_test_towardzero): Likewise.
45195 (cos_test_downward): Likewise.
45196 (cos_test_upward): Likewise.
45197 (cosh_test): Likewise.
45198 (cosh_test_tonearest): Likewise.
45199 (cosh_test_towardzero): Likewise.
45200 (cosh_test_downward): Likewise.
45201 (cosh_test_upward): Likewise.
45202 (cpow_test): Likewise.
45203 (cproj_test): Likewise.
45204 (creal_test): Likewise.
45205 (csin_test): Likewise.
45206 (csinh_test): Likewise.
45207 (csqrt_test): Likewise.
45208 (ctan_test): Likewise.
45209 (ctan_test_tonearest): Likewise.
45210 (ctan_test_towardzero): Likewise.
45211 (ctan_test_downward): Likewise.
45212 (ctan_test_upward): Likewise.
45213 (ctanh_test): Likewise.
45214 (ctanh_test_tonearest): Likewise.
45215 (ctanh_test_towardzero): Likewise.
45216 (ctanh_test_downward): Likewise.
45217 (ctanh_test_upward): Likewise.
45218 (erf_test): Likewise.
45219 (erfc_test): Likewise.
45220 (exp_test): Likewise.
45221 (exp_test_tonearest): Likewise.
45222 (exp_test_towardzero): Likewise.
45223 (exp_test_downward): Likewise.
45224 (exp_test_upward): Likewise.
45225 (exp10_test): Likewise.
45226 (exp10_test_tonearest): Likewise.
45227 (exp10_test_towardzero): Likewise.
45228 (exp10_test_downward): Likewise.
45229 (exp10_test_upward): Likewise.
45230 (pow10_test): Likewise.
45231 (exp2_test): Likewise.
45232 (expm1_test): Likewise.
45233 (expm1_test_tonearest): Likewise.
45234 (expm1_test_towardzero): Likewise.
45235 (expm1_test_downward): Likewise.
45236 (expm1_test_upward): Likewise.
45237 (fabs_test): Likewise.
45238 (fdim_test): Likewise.
45239 (floor_test): Likewise.
45240 (fma_test): Likewise.
45241 (fma_test_towardzero): Likewise.
45242 (fma_test_downward): Likewise.
45243 (fma_test_upward): Likewise.
45244 (fmax_test): Likewise.
45245 (fmin_test): Likewise.
45246 (fmod_test): Likewise.
45247 (fpclassify_test): Likewise.
45248 (frexp_test): Likewise.
45249 (hypot_test): Likewise.
45250 (ilogb_test): Likewise.
45251 (isfinite_test): Likewise.
45252 (finite_test): Likewise.
45253 (isgreater_test): Likewise.
45254 (isgreaterequal_test): Likewise.
45255 (isinf_test): Likewise.
45256 (isless_test): Likewise.
45257 (islessequal_test): Likewise.
45258 (islessgreater_test): Likewise.
45259 (isnan_test): Likewise.
45260 (isnormal_test): Likewise.
45261 (issignaling_test): Likewise.
45262 (isunordered_test): Likewise.
45263 (j0_test): Likewise.
45264 (j1_test): Likewise.
45265 (jn_test): Likewise.
45266 (ldexp_test): Likewise.
45267 (lgamma_test): Likewise.
45268 (gamma_test): Likewise.
45269 (lrint_test): Likewise.
45270 (lrint_test_tonearest): Likewise.
45271 (lrint_test_towardzero): Likewise.
45272 (lrint_test_downward): Likewise.
45273 (lrint_test_upward): Likewise.
45274 (llrint_test): Likewise.
45275 (llrint_test_tonearest): Likewise.
45276 (llrint_test_towardzero): Likewise.
45277 (llrint_test_downward): Likewise.
45278 (llrint_test_upward): Likewise.
45279 (log_test): Likewise.
45280 (log10_test): Likewise.
45281 (log1p_test): Likewise.
45282 (log2_test): Likewise.
45283 (logb_test): Likewise.
45284 (logb_test_downward): Likewise.
45285 (lround_test): Likewise.
45286 (llround_test): Likewise.
45287 (modf_test): Likewise.
45288 (nearbyint_test): Likewise.
45289 (nextafter_test): Likewise.
45290 (nexttoward_test): Likewise.
45291 (pow_test): Likewise.
45292 (pow_test_tonearest): Likewise.
45293 (pow_test_towardzero): Likewise.
45294 (pow_test_downward): Likewise.
45295 (pow_test_upward): Likewise.
45296 (remainder_test): Likewise.
45297 (drem_test): Likewise.
45298 (remainder_test_tonearest): Likewise.
45299 (drem_test_tonearest): Likewise.
45300 (remainder_test_towardzero): Likewise.
45301 (drem_test_towardzero): Likewise.
45302 (remainder_test_downward): Likewise.
45303 (drem_test_downward): Likewise.
45304 (remainder_test_upward): Likewise.
45305 (drem_test_upward): Likewise.
45306 (remquo_test): Likewise.
45307 (rint_test): Likewise.
45308 (rint_test_tonearest): Likewise.
45309 (rint_test_towardzero): Likewise.
45310 (rint_test_downward): Likewise.
45311 (rint_test_upward): Likewise.
45312 (round_test): Likewise.
45313 (scalb_test): Likewise.
45314 (scalbn_test): Likewise.
45315 (scalbln_test): Likewise.
45316 (signbit_test): Likewise.
45317 (sin_test): Likewise.
45318 (sin_test_tonearest): Likewise.
45319 (sin_test_towardzero): Likewise.
45320 (sin_test_downward): Likewise.
45321 (sin_test_upward): Likewise.
45322 (sincos_test): Likewise.
45323 (sinh_test): Likewise.
45324 (sinh_test_tonearest): Likewise.
45325 (sinh_test_towardzero): Likewise.
45326 (sinh_test_downward): Likewise.
45327 (sinh_test_upward): Likewise.
45328 (sqrt_test): Likewise.
45329 (sqrt_test_tonearest): Likewise.
45330 (sqrt_test_towardzero): Likewise.
45331 (sqrt_test_downward): Likewise.
45332 (sqrt_test_upward): Likewise.
45333 (tan_test): Likewise.
45334 (tan_test_tonearest): Likewise.
45335 (tan_test_towardzero): Likewise.
45336 (tan_test_downward): Likewise.
45337 (tan_test_upward): Likewise.
45338 (tanh_test): Likewise.
45339 (tgamma_test): Likewise.
45340 (trunc_test): Likewise.
45341 (y0_test): Likewise.
45342 (y1_test): Likewise.
45343 (yn_test): Likewise.
45344 (significand_test): Likewise.
45345
45346 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45347 individual tests in comment.
45348 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45349 (prev_max_error): New variable.
45350 (prev_real_max_error): Likewise.
45351 (prev_imag_max_error): Likewise.
45352 (compare_ulp_data): Don't refer to test names in comment.
45353 (find_test_ulps): Remove function.
45354 (find_function_ulps): Likewise.
45355 (find_complex_function_ulps): Likewise.
45356 (init_max_error): Take function name as argument. Look up ulps
45357 for that function.
45358 (print_ulps): Remove function.
45359 (print_max_error): Use prev_max_error instead of calling
45360 find_function_ulps.
45361 (print_complex_max_error): Use prev_real_max_error and
45362 prev_imag_max_error instead of calling find_complex_function_ulps.
45363 (check_float_internal): Take max_ulp parameter instead of calling
45364 find_test_ulps. Don't call print_ulps.
45365 (check_float): Update call to check_float_internal.
45366 (check_complex): Update calls to check_float_internal.
45367 (START): Pass argument to init_max_error.
45368 * math/gen-libm-test.pl (%results): Don't include "kind"
45369 information.
45370 (parse_ulps): Don't handle ulps of individual tests.
45371 (print_ulps_file): Likewise.
45372 (output_ulps): Likewise.
45373 * math/README.libm-test: Update.
45374 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45375 individual tests.
45376 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45377 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45378 * sysdeps/arm/libm-test-ulps: Likewise.
45379 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45380 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45381 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45382 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45383 * sysdeps/microblaze/libm-test-ulps: Likewise.
45384 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45385 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45387 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45388 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45389 * sysdeps/sh/libm-test-ulps: Likewise.
45390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45391 * sysdeps/tile/libm-test-ulps: Likewise.
45392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45393
45394 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45395
45396 * math/libm-test.inc (print_complex_max_error): Check separately
45397 whether real and imaginary errors are within allowed range and
45398 pass 0 to print_complex_function_ulps instead of value within
45399 allowed range.
45400
45401 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45402
45403 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45404 formatting.
45405 (get_handles_fopen): Likewise.
45406 (do_write_test): Likewise.
45407
45408 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45409
45410 * libio/fileops.c (do_ftell): Use cached offset when
45411 available.
45412 * libio/iofwide.c (do_ftell_wide): Likewise.
45413 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45414 _IO_file_attach.
45415 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45416
45417 [BZ #16532]
45418 * libio/libioP.h (get_file_offset): New function.
45419 * libio/fileops.c (get_file_offset): Likewise.
45420 (do_ftell): Likewise.
45421 (_IO_new_file_seekoff): Split out ftell logic.
45422 * libio/wfileops.c (do_ftell_wide): Likewise.
45423 (_IO_wfile_seekoff): Split out ftell logic.
45424 * libio/tst-ftell-active-handler.c: New test case.
45425 * libio/Makefile (tests): Add it.
45426
45427 2014-03-03 Roland McGrath <roland@hack.frob.com>
45428
45429 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45430 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45431
45432 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45433
45434 [BZ #16639]
45435 * nscd/connections.c (nscd_init): Call do_exit.
45436 (start_threads): Call do_exit and notify_parent.
45437 (begin_drop_privileges): Call do_exit.
45438 (finish_drop_privileges): Likewise.
45439 * nscd/selinux.c (preserve_capabilities): Likewise.
45440 (install_real_capabilities): Likewise.
45441 (nscd_selinux_enabled): Likewise.
45442 (avc_create_thread): Likewise.
45443 (avc_alloc_lock): Likewise.
45444 (nscd_avc_init): Likewise.
45445 * nscd/nscd.c (parent_fd): New static variable.
45446 (main): Create a pipe between parent and child processes.
45447 Skip closing parent_fd.
45448 (monitor_child): New function.
45449 (do_exit): Likewise.
45450 (notify_parent): Likewise.
45451 * nscd/nscd.h (notify_parent): Likewise.
45452 (do_exit): Likewise.
45453
45454 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45455
45456 * malloc/malloc.c (__libc_calloc): Revert last change.
45457
45458 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45459
45460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45461
45462 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45463
45464 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45466 implementation.
45467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45468 (__libc_ifunc_impl_list): Likewise.
45469 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45470 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45471 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45472 * string/strrchr.c: Define STRRCHR.
45473
45474 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45475
45476 * benchtest/bench-strtok.c (simple_strtok): Delete.
45477 (strtok_string): Use as benchmark.
45478 * string/strtok (STRTOK): New macro.
45479
45480 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45481
45482 * manual/threads.texi: Add header and standard comments to all
45483 functions.
45484
45485 * elf/dl-lookup.c (check_match): New function.
45486 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45487 (do_lookup_x): Remove nested function check_match. Use non-nested
45488 function check_match.
45489
45490 2014-02-28 Roland McGrath <roland@hack.frob.com>
45491
45492 * csu/Makefile (generated, before-compile): Use += rather than =.
45493 * catgets/Makefile (generated, generated-dirs): Likewise.
45494 * debug/Makefile (generated): Likewise.
45495 * dlfcn/Makefile (generated): Likewise.
45496 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45497 * iconvdata/Makefile (before-compile, generated): Likewise.
45498 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45499 * libio/Makefile (generated): Likewise.
45500 * malloc/Makefile (generated): Likewise.
45501 * manual/Makefile (generated, generated-dirs): Likewise.
45502 * misc/Makefile (generated): Likewise.
45503 * posix/Makefile (generated): Likewise.
45504 * resolv/Makefile (generated): Likewise.
45505 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45506 * timezone/Makefile (generated, generated-dirs): Likewise.
45507
45508 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45509
45510 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45511
45512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45513 power8 implementation.
45514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45515 file: POWER8 llround ifunc implementation.
45516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45517 (__lllround): Add POWER8 implementation.
45518 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45519 POWER8 llround implementation.
45520
45521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45522 power8 implementation.
45523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45524 file: POWER8 llrint ifunc implementation.
45525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45526 Add POWER8 implementation.
45527 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45528 POWER8 llrint implementation.
45529
45530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45531 power8 implementation.
45532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45533 file: POWER8 finite ifunc implementation.
45534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45535 Add POWER8 implementation.
45536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45537 Likewise.
45538 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45539 POWER8 finite implementation.
45540 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45541
45542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45543 power8 implementation.
45544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45545 file: POWER8 isinf ifunc implementation.
45546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45547 POWER8 implementation.
45548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45549 Likewise.
45550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45551 isinf implementation.
45552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45553
45554 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45555 (INIT_ARCH): Add hwcap2 initialization.
45556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45557 power8 implementation.
45558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45559 file: POWER8 isnan ifunc implementation.
45560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45561 POWER8 implementation.
45562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45563 Likewise.
45564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45565 isnan implementation.
45566 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45567
45568 2014-02-27 Joey Ye <joey.ye@arm.com>
45569
45570 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45571 (_FP_NANFRAC_Q): Set to zero.
45572
45573 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45574
45575 [BZ #16623]
45576 * math/auto-libm-test-in: New test inputs.
45577 * math/auto-libm-test-out: Regenerate.
45578 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45579 and DA.
45580 (__cos): Likewise.
45581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45582
45583 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45584
45585 * scripts/evaluate-test.sh: Take new argument indicating whether
45586 failure is expected.
45587 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45588 indicating whether failure is expected.
45589 * conform/Makefile (test-xfail-run-conformtest): New variable.
45590 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45591 level.
45592 * posix/Makefile (test-xfail-annexc): New variable.
45593 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45594
45595 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45596
45597 * argp/Makefile: Include Makeconfig immediately after defining
45598 subdir.
45599 * assert/Makefile: Likewise.
45600 * benchtests/Makefile: Likewise.
45601 * catgets/Makefile: Likewise.
45602 * conform/Makefile: Likewise.
45603 * crypt/Makefile: Likewise.
45604 * csu/Makefile: Likewise.
45605 (all): Remove target.
45606 * ctype/Makefile: Include Makeconfig immediately after defining
45607 subdir.
45608 * debug/Makefile: Likewise.
45609 * dirent/Makefile: Likewise.
45610 * dlfcn/Makefile: Likewise.
45611 * gmon/Makefile: Likewise.
45612 * gnulib/Makefile: Likewise.
45613 * grp/Makefile: Likewise.
45614 * gshadow/Makefile: Likewise.
45615 * hesiod/Makefile: Likewise.
45616 * hurd/Makefile: Likewise.
45617 (all): Remove target.
45618 * iconvdata/Makefile: Include Makeconfig immediately after
45619 defining subdir.
45620 * inet/Makefile: Likewise.
45621 * intl/Makefile: Likewise.
45622 * io/Makefile: Likewise.
45623 * libio/Makefile: Likewise.
45624 (all): Remove target.
45625 * locale/Makefile: Include Makeconfig immediately after defining
45626 subdir.
45627 * login/Makefile: Likewise.
45628 * mach/Makefile: Likewise.
45629 (all): Remove target.
45630 * malloc/Makefile: Include Makeconfig immediately after defining
45631 subdir.
45632 (all): Remove target.
45633 * manual/Makefile: Include Makeconfig immediately after defining
45634 subdir.
45635 * math/Makefile: Likewise.
45636 * misc/Makefile: Likewise.
45637 * nis/Makefile: Likewise.
45638 * nss/Makefile: Likewise.
45639 * po/Makefile: Likewise.
45640 (all): Remove target.
45641 * posix/Makefile: Include Makeconfig immediately after defining
45642 subdir.
45643 * pwd/Makefile: Likewise.
45644 * resolv/Makefile: Likewise.
45645 * resource/Makefile: Likewise.
45646 * rt/Makefile: Likewise.
45647 * setjmp/Makefile: Likewise.
45648 * shadow/Makefile: Likewise.
45649 * signal/Makefile: Likewise.
45650 * socket/Makefile: Likewise.
45651 * soft-fp/Makefile: Likewise.
45652 * stdio-common/Makefile: Likewise.
45653 * stdlib/Makefile: Likewise.
45654 * streams/Makefile: Likewise.
45655 * string/Makefile: Likewise.
45656 * sunrpc/Makefile: Likewise.
45657 (all): Remove target.
45658 * sysvipc/Makefile: Include Makeconfig immediately after defining
45659 subdir.
45660 * termios/Makefile: Likewise.
45661 * time/Makefile: Likewise.
45662 * timezone/Makefile: Likewise.
45663 (all): Remove target.
45664 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45665 subdir.
45666 * wctype/Makefile: Likewise.
45667
45668 2014-02-26 Steve Ellcey <sellcey@mips.com>
45669
45670 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45671 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45672 (libc_feholdexcept_setround_mips): Ditto.
45673 (libc_feholdsetround): New.
45674 (libc_feholdsetroundf): New.
45675 (libc_feholdsetroundl): New.
45676 (libc_feupdateenv_test_mips): New.
45677 (libc_feupdateenv_test): New.
45678 (libc_feupdateenv_testf): New.
45679 (libc_feupdateenv_testl): New.
45680 (libc_feresetround): New.
45681 (libc_feresetroundf): New.
45682 (libc_feresetroundl): New.
45683 (libc_fetestexcept_mips): New.
45684 (libc_fetestexcept): New.
45685 (libc_fetestexceptf): New.
45686 (libc_fetestexceptl): New.
45687 (HAVE_RM_CTX): New.
45688 (libc_feholdexcept_setround_mips_ctx): New.
45689 (libc_feholdexcept_setround_ctx): New.
45690 (libc_feholdexcept_setroundf_ctx): New.
45691 (libc_feholdexcept_setroundl_ctx): New.
45692 (libc_fesetenv_mips_ctx): New.
45693 (libc_fesetenv_ctx): New.
45694 (libc_fesetenv_ctxf): New.
45695 (libc_fesetenv_ctxl): New.
45696 (libc_feupdateenv_mips_ctx): New.
45697 (libc_feupdateenv_ctx): New.
45698 (libc_feupdateenvf_ctx): New.
45699 (libc_feupdateenvl_ctx): New.
45700 (libc_feholdsetround_mips_ctx): New.
45701 (libc_feholdsetround_ctx): New.
45702 (libc_feholdsetroundf_ctx): New.
45703 (libc_feholdsetroundl_ctx): New.
45704 (libc_feresetround_mips_ctx): New.
45705 (libc_feresetround_ctx): New.
45706 (libc_feresetroundf_ctx): New.
45707 (libc_feresetroundl_ctx): New.
45708
45709 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45710
45711 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45712
45713 * manual/ipc.texi: New file.
45714 * manual/Makefile (chapters): Add ipc.
45715 * manual/job.texi: Add "Inter-Process Communication" to next.
45716 * manual/process.texi: Add "Inter-Process Communication" to prev.
45717
45718 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45719
45720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45721
45722 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45723
45724 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45725
45726 * manual/arith.texi: Fix spaces after sentences.
45727 * manual/charset.texi: Likewise.
45728 * manual/errno.texi: Likewise.
45729 * manual/install.texi: Likewise.
45730 * manual/llio.texi: Likewise.
45731 * manual/locale.texi: Likewise.
45732 * manual/maint.texi: Likewise.
45733 * manual/math.texi: Likewise.
45734 * manual/memory.texi: Likewise.
45735 * manual/message.texi: Likewise.
45736 * manual/probes.texi: Likewise.
45737 * manual/resource.texi: Likewise.
45738 * manual/signal.texi: Likewise.
45739 * manual/socket.texi: Likewise.
45740 * manual/stdio.texi: Likewise.
45741 * manual/string.texi: Likewise.
45742 * manual/time.texi: Likewise.
45743 * manual/users.texi: Likewise.
45744
45745 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45746
45747 [BZ #16632]
45748 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45749 _DEFAULT_SOURCE is defined.
45750
45751 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45752 Carlos O'Donell <carlos@redhat.com>
45753
45754 [BZ #16613]
45755 * elf/dl-tls.c (_dl_count_modids): New function.
45756 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45757 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45758 audit library and increment generation counter.
45759 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45760 * elf/tst-audit9.c: New file.
45761 * elf/tst-auditmod9a.c: New file.
45762 * elf/tst-auditmod9b.c: New file.
45763 * elf/Makefile: Add rules to build and run tst-audit9.
45764
45765 2014-02-25 Florian Weimer <fweimer@redhat.com>
45766
45767 [BZ #15347]
45768 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45769
45770 2014-02-25 Will Newton <will.newton@linaro.org>
45771
45772 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45773 (__longjmp): Restore sp and lr before restoring callee
45774 saved registers. Add longjmp and longjmp_target
45775 SystemTap probe point.
45776 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45777 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45778 Define to zero to match jmpbuf layout.
45779 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45780 (__sigsetjmp): Save sp and lr before saving callee
45781 saved registers. Add setjmp SystemTap probe point.
45782
45783 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45784
45785 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45786
45787 2014-02-24 Andreas Schwab <schwab@suse.de>
45788
45789 [BZ #15804]
45790 * elf/pldd.c (wait_for_ptrace_stop): New function.
45791 (main): Call it after attaching.
45792
45793 2014-02-22 Roland McGrath <roland@hack.frob.com>
45794
45795 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45796 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45797 Versions files is now verboten.
45798 * hurd/Versions (libc: GLIBC_2.0):
45799 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45800 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45801 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45802 * mach/Versions: Likewise.
45803
45804 * csu/Versions: Remove unused %include.
45805 * resolv/Versions: Likewise.
45806
45807 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45808
45809 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45810 ($(objpfx)check-local-headers.out): Likewise.
45811 ($(objpfx)begin-end-check.out): Likewise.
45812 * Makerules (check-abi-%.out): Likewise.
45813 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45814 ($(objpfx)test2.cat): Likewise.
45815 ($(objpfx)de/libc.cat): Likewise.
45816 ($(objpfx)test-gencat.out): Likewise.
45817 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45818 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45819 ($(objpfx)noload-mem): Likewise.
45820 ($(objpfx)tst-pathopt.out): Likewise.
45821 ($(objpfx)tst-rtld-load-self.out): Likewise.
45822 ($(objpfx)tst-array1-cmp.out): Likewise.
45823 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45824 ($(objpfx)tst-array2-cmp.out): Likewise.
45825 ($(objpfx)tst-array3-cmp.out): Likewise.
45826 ($(objpfx)tst-array4-cmp.out): Likewise.
45827 ($(objpfx)tst-array5-cmp.out): Likewise.
45828 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45829 ($(objpfx)check-textrel.out): Likewise.
45830 ($(objpfx)check-execstack.out): Likewise.
45831 ($(objpfx)check-localplt.out): Likewise.
45832 ($(objpfx)order2-cmp.out): Likewise.
45833 ($(objpfx)tst-leaks1-mem): Likewise.
45834 ($(objpfx)tst-leaks1-static-mem): Likewise.
45835 ($(objpfx)tst-initorder-cmp.out): Likewise.
45836 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45837 ($(objpfx)tst-unused-dep.out): Likewise.
45838 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45840 * iconv/Makefile (test-iconvconfig): Likewise.
45841 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45842 ($(objpfx)iconv-test.out): Likewise.
45843 ($(objpfx)tst-tables.out): Likewise.
45844 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45845 ($(objpfx)tst-gettext.out): Likewise.
45846 ($(objpfx)tst-translit.out): Likewise.
45847 ($(objpfx)tst-gettext2.out): Likewise.
45848 ($(objpfx)tst-gettext4.out): Likewise.
45849 ($(objpfx)tst-gettext6.out): Likewise.
45850 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45851 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45852 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45853 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45855 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45856 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45857 ($(objpfx)wordexp-tst.out): Likewise.
45858 ($(objpfx)annexc.out): Likewise.
45859 ($(objpfx)tst-fnmatch-mem): Likewise.
45860 ($(objpfx)bug-regex2-mem): Likewise.
45861 ($(objpfx)bug-regex14-mem): Likewise.
45862 ($(objpfx)bug-regex21-mem): Likewise.
45863 ($(objpfx)bug-regex31-mem): Likewise.
45864 ($(objpfx)tst-vfork3-mem): Likewise.
45865 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45866 ($(objpfx)tst-pcre-mem): Likewise.
45867 ($(objpfx)tst-boost-mem): Likewise.
45868 ($(objpfx)tst-getconf.out): Likewise.
45869 ($(objpfx)bug-ga2-mem): Likewise.
45870 ($(objpfx)bug-glob2-mem): Likewise.
45871 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45872 ($(objpfx)mtrace-tst-leaks2): Likewise.
45873 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45874 ($(objpfx)tst-printf.out): Likewise.
45875 ($(objpfx)tst-setvbuf1.out): Likewise.
45876 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45877 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45878 ($(objpfx)tst-fmtmsg.out): Likewise.
45879 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45880 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45881
45882 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45883 * bits/sigaction.h [__USE_MISC]: Likewise.
45884 * bits/waitstatus.h: Update #endif comments.
45885 * ctype/ctype.h: Likewise.
45886 * dirent/dirent.h: Likewise.
45887 [__USE_MISC]: Remove redundant conditionals.
45888 * grp/grp.h: Update #endif comments.
45889 [__USE_GNU]: Remove redundant conditionals.
45890 [__USE_MISC]: Likewise.
45891 * inet/netinet/in.h [__USE_GNU]: Likewise.
45892 * io/sys/stat.h [__USE_MISC]: Likewise.
45893 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45894 * libio/bits/stdio.h: Update #endif comments.
45895 [__USE_MISC]: Remove redundant conditionals.
45896 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45897 * libio/stdio.h: Update #endif comments.
45898 [__USE_MISC]: Remove redundant conditionals.
45899 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45900 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45901 * math/math.h: Update #else and #endif comments.
45902 [__USE_MISC]: Remove redundant conditionals.
45903 * misc/sys/uio.h: Update #endif comments.
45904 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45905 * posix/glob.h [__USE_MISC]: Likewise.
45906 * posix/sys/types.h: Update #endif comments.
45907 [__USE_MISC]: Remove redundant conditionals.
45908 * posix/sys/wait.h: Update #endif comments.
45909 [__USE_MISC]: Remove redundant conditionals.
45910 * posix/unistd.h: Update #endif comments.
45911 [__USE_MISC]: Remove redundant conditionals.
45912 * pwd/pwd.h [__USE_GNU]: Likewise.
45913 [__USE_MISC]: Likewise.
45914 * resolv/netdb.h [__USE_GNU]: Likewise.
45915 * signal/signal.h: Update #endif comments.
45916 [__USE_MISC]: Remove redundant conditionals.
45917 * stdlib/stdlib.h: Update #else and #endif comments.
45918 [__USE_MISC]: Remove redundant conditionals.
45919 [__USE_GNU]: Likewise.
45920 * string/bits/string2.h [__USE_MISC]: Likewise.
45921 * string/string.h: Update #endif comments.
45922 [__USE_MISC]: Remove redundant conditionals.
45923 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45924 Likewise.
45925 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45926 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45927 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45928 Likewise.
45929 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45930 Likewise.
45931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45932 comments.
45933 [__USE_MISC]: Remove redundant conditionals.
45934 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45935 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45936 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45937 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45938 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45939 Likewise.
45940 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45941 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45942 Likewise.
45943 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45944 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45945 Likewise.
45946 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45947 Likewise.
45948 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45949 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45950 Likewise.
45951 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45952 Likewise.
45953 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45954 * sysdeps/x86/bits/string.h: Update #endif comments.
45955 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45956 conditionals.
45957 * time/sys/time.h: Update #endif comments.
45958 * time/time.h: Likewise.
45959 [__USE_MISC]: Remove redundant conditionals.
45960
45961 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45962
45963 [BZ #16600]
45964 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45965
45966 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45967
45968 * Versions.def (librt): Add GLIBC_2.17.
45969
45970 2014-02-21 Adam Conrad <adconrad@0c3.net>
45971
45972 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45973 synonym for _SYS_AUXV_H to allow direct inclusion.
45974 * sysdeps/sparc/bits/hwcap.h: Likewise.
45975 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45976 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45977 * sysdeps/sparc/sysdep.h: Likewise.
45978
45979 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45980
45981 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45982
45983 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45984
45985 * benchtests/bench-strrchr.c: Print length instead of position.
45986
45987 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45988
45989 [BZ #16611]
45990 * sysdeps/unix/sysv/linux/kernel-features.h
45991 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45992 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45993 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45994 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45995 Likewise.
45996 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45997 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45998 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45999 (__ASSUME_SENDMMSG): Define instead of using previous
46000 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46001 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46002 (__ASSUME_SENDMMSG_SYSCALL): Define.
46003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46004 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46005 Likewise.
46006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46007 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46008 Likewise.
46009 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46011 Likewise.
46012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46013 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46014 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46015 [__ASSUME_SENDMMSG]: Change conditionals to
46016 [__ASSUME_SENDMMSG_SOCKETCALL].
46017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46018 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46019 Define.
46020 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46021 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46022 Likewise.
46023 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46024 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46025 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46026 [!__ASSUME_SENDMMSG]: Change conditional to
46027 [!__ASSUME_SENDMMSG_SOCKETCALL].
46028 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46029 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46030 Define.
46031
46032 [BZ #16610]
46033 * sysdeps/unix/sysv/linux/kernel-features.h
46034 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46035 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46036 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46037 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46038 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46039 [__i386__ || __sparc__]
46040 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46041 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46042 (__ASSUME_RECVMMSG): Define instead of using previous
46043 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46045 (__ASSUME_RECVMMSG_SYSCALL): Define.
46046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46047 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46048 Likewise.
46049 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46050 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46051 Likewise.
46052 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46053 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46054 Likewise.
46055 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46056 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46057 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46058 [__ASSUME_RECVMMSG]: Change condition to
46059 [__ASSUME_RECVMMSG_SOCKETCALL].
46060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46061 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46062 Define.
46063 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46064 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46065 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46066 Likewise.
46067 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46068 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46069 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46070 [!__ASSUME_RECVMMSG]: Change condition to
46071 [!__ASSUME_RECVMMSG_SOCKETCALL].
46072 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46073 (__ASSUME_RECVMMSG_SYSCALL): Define.
46074
46075 [BZ #16609]
46076 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46077 __powerpc__ || __s390__ || __sh__ || __sparc__]
46078 (__ASSUME_SOCKETCALL): Define.
46079 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46080 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46081 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46082 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46083 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46084 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46085 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46086 (__ASSUME_ACCEPT4): Define instead of using previous
46087 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46088 __powerpc__ || __sparc__ || __s390__)] condition.
46089 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46090 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46091 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46092 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46093 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46094 [!__ASSUME_ACCEPT4]: Change condition to
46095 [!__ASSUME_ACCEPT4_SOCKETCALL].
46096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46097 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46098 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46100 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46101 __ASSUME_ACCEPT4_SYSCALL.
46102 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46103 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46104 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46105 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46106 __ASSUME_ACCEPT4_SYSCALL.
46107 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46108 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46109 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46110 [__ASSUME_ACCEPT4]: Change condition to
46111 [__ASSUME_ACCEPT4_SOCKETCALL].
46112 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46113 (__ASSUME_SOCKETCALL): Define.
46114 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46115 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46116 (__ASSUME_SOCKETCALL): Define.
46117 (__ASSUME_ACCEPT4): Remove.
46118 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46119 Define.
46120 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46121 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46122 Likewise.
46123 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46124 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46125
46126 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46127 macro.
46128 (HWCAP_ARM_LPAE): Likewise.
46129 (HWCAP_ARM_EVTSTRM): Likewise.
46130 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46131 Add vpfd32, lpae and evtstrm.
46132 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46133 Increase to 22.
46134
46135 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46136
46137 * math/auto-libm-test-in: Add tests of clog10.
46138 * math/auto-libm-test-out: Regenerated.
46139 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46140 * sysdeps/i386/fpu/libm-test-ulps: Update.
46141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46142
46143 2014-02-18 Andreas Schwab <schwab@suse.de>
46144
46145 [BZ #16574]
46146 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46147 Store non-zero if the second buffer was newly allocated.
46148 (send_dg): Likewise.
46149 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46150 to send_vc and send_dg.
46151 (res_nsend): Pass NULL for ansp2_malloced.
46152 * resolv/res_query.c (__libc_res_nquery): Add parameter
46153 answerp2_malloced and pass it down to __libc_res_nsend.
46154 (res_nquery): Pass additional NULL to __libc_res_nquery.
46155 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46156 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46157 second answer buffer if answerp2_malloced was set.
46158 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46159 (__libc_res_nquerydomain): Add parameter
46160 answerp2_malloced and pass it down to __libc_res_nquery.
46161 (res_nquerydomain): Pass additional NULL to
46162 __libc_res_nquerydomain.
46163 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46164 additional NULL to __libc_res_nsend and __libc_res_nquery.
46165 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46166 additional NULL to __libc_res_nsearch.
46167 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46168 parameter of __libc_res_nsearch to check for separately allocated
46169 second buffer.
46170 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46171 __libc_res_nquery.
46172 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46173 additional NULL to __libc_res_nquery.
46174 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46175 __libc_res_nsearch.
46176 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46177 * include/resolv.h: Update prototypes of __libc_res_nquery,
46178 __libc_res_nsearch, __libc_res_nsend.
46179
46180 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46181
46182 * math/auto-libm-test-in: Add tests of fma.
46183 * math/auto-libm-test-out: Regenerated.
46184 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46185 (fma_towardzero_test_data): Likewise.
46186 (fma_downward_test_data): Likewise.
46187 (fma_upward_test_data): Likewise.
46188 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46189 mpc_mode.
46190 (rounding_modes): Add values for new field.
46191 (func_calc_method): Add value mpfr_fff_f.
46192 (func_calc_desc): Add mpfr_fff_f union field.
46193 (test_function): Add field exact_args.
46194 (FUNC): Add macro argument EXACT_ARGS.
46195 (FUNC_mpfr_f_f): Update call to FUNC.
46196 (FUNC_mpfr_f_f): Likewise.
46197 (FUNC_mpfr_ff_f): Likewise.
46198 (FUNC_mpfr_if_f): Likewise.
46199 (FUNC_mpc_c_f): Likewise.
46200 (FUNC_mpc_c_c): Likewise.
46201 (test_functions): Add fma. Update calls to FUNC.
46202 (handle_input_arg): Add argument exact_args.
46203 (add_test): Update call to handle_input_arg.
46204 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46205 (output_for_one_input_case): Update call to calc_generic_results.
46206 Recalculate exact zero results in each rounding mode.
46207
46208 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46209 non-negative before setting low bit.
46210 * math/auto-libm-test-in: Mark one asin test possibly having
46211 spurious underflow.
46212 * math/auto-libm-test-out: Regenerated.
46213 * sysdeps/i386/fpu/libm-test-ulps: Update.
46214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46215
46216 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46217
46218 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46219 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46220 ports/sysdeps/unix/sysv/linux/microblaze.
46221 * README: Add missing listing for microblaze*-*-linux-gnu.
46222
46223 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46224
46225 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46226 duplicate code
46227
46228 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46229
46230 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46231 * sysdeps/unix/sysv/linux/ia64: Move directory from
46232 ports/sysdeps/unix/sysv/linux/ia64.
46233 * README: Update listing for ia64-*-linux-gnu.
46234
46235 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46236 Joseph Myers <joseph@codesourcery.com>
46237
46238 * Makeconfig (test-name): New variable.
46239 (evaluate-test): Likewise.
46240 * Makerules (do-test-clean): Remove .test-result files.
46241 (common-mostlyclean): Likewise.
46242 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46243 * scripts/evaluate-test.sh: New file.
46244
46245 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46246
46247 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46248 separate $(objpfx)tst-fopenloc-cmp.out and
46249 $(objpfx)tst-fopenloc-mem.out targets.
46250 (tests): Update dependencies.
46251 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46252 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46253 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46254 (tst-rxspencer-no-utf8-ARGS): New variable.
46255 (tst-rxspencer-no-utf8-ENV): Likewise.
46256 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46257 instead of $(objpfx)tst-rxspencer-mem.
46258 ($(objpfx)tst-rxspencer-mem): Change target to
46259 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46260 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46261 * posix/tst-rxspencer-no-utf8.c: New file.
46262
46263 * elf/Makefile ($(objpfx)order.out): Remove rule.
46264 [$(run-built-tests) = yes] (tests): Depend on
46265 $(objpfx)order-cmp.out.
46266 ($(objpfx)order-cmp.out): New rule.
46267 [$(run-built-tests) = yes] (tests): Depend on
46268 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46269 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46270 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46271 $(objpfx)tst-array5-static-cmp.out.
46272 ($(objpfx)tst-array1.out): Remove rule.
46273 ($(objpfx)tst-array1-cmp.out): New rule.
46274 ($(objpfx)tst-array1-static.out): Remove rule.
46275 ($(objpfx)tst-array1-static-cmp.out): New rule.
46276 ($(objpfx)tst-array2.out): Remove rule.
46277 ($(objpfx)tst-array2-cmp.out): New rule.
46278 ($(objpfx)tst-array3.out): Remove rule.
46279 ($(objpfx)tst-array3-cmp.out): New rule.
46280 ($(objpfx)tst-array4.out): Remove rule.
46281 ($(objpfx)tst-array4-cmp.out): New rule.
46282 ($(objpfx)tst-array5.out): Remove rule.
46283 ($(objpfx)tst-array5-cmp.out): New rule.
46284 ($(objpfx)tst-array5-static.out): Remove rule.
46285 ($(objpfx)tst-array5-static-cmp.out): New rule.
46286 [$(run-built-tests) = yes] (tests): Depend on
46287 $(objpfx)order2-cmp.out.
46288 ($(objpfx)order2.out): Remove rule.
46289 ($(objpfx)order2-cmp.out): New rule.
46290 ($(objpfx)tst-initorder.out): Remove rule.
46291 [$(run-built-tests) = yes] (tests): Depend on
46292 $(objpfx)tst-initorder-cmp.out.
46293 ($(objpfx)tst-initorder-cmp.out): New rule.
46294 ($(objpfx)tst-initorder2.out): Remove rule.
46295 [$(run-built-tests) = yes] (tests): Depend on
46296 $(objpfx)tst-initorder2-cmp.out.
46297 ($(objpfx)tst-initorder2-cmp.out): New rule.
46298 [$(run-built-tests) = yes] (tests): Depend on
46299 $(objpfx)tst-unused-dep-cmp.out.
46300 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46301 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46302 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46303 on $(objpfx)tst-setvbuf1-cmp.out.
46304 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46305 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46306 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46307 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46308 ($(objpfx)tst-svc.out): Remove rule.
46309 ($(objpfx)tst-svc-cmp.out): New rule.
46310
46311 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46312
46313 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46314 * ctype/ctype.h [__USE_MISC]: Likewise.
46315 * dirent/dirent.h [__USE_MISC]: Likewise.
46316 * grp/grp.h [__USE_MISC]: Likewise.
46317 * io/fcntl.h [__USE_MISC]: Likewise.
46318 * io/sys/stat.h [__USE_MISC]: Likewise.
46319 * libio/stdio.h [__USE_MISC]: Likewise.
46320 * posix/unistd.h [__USE_MISC]: Likewise.
46321 * pwd/pwd.h [__USE_MISC]: Likewise.
46322 * stdlib.h [__USE_MISC]: Likewise.
46323 * string/bits/string2.h [__USE_MISC]: Likewise.
46324 * string/string.h [__USE_MISC]: Likewise.
46325 * time/time.h [__USE_MISC]: Likewise.
46326
46327 2014-02-13 Andreas Schwab <schwab@suse.de>
46328
46329 [BZ #16574]
46330 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46331 second answer buffer if it was separately allocated.
46332
46333 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46334
46335 * sysdeps/mips/math-tests.h: Include <features.h>.
46336 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46337 (ROUNDING_TESTS_long_double): Do not define.
46338 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46339 (EXCEPTION_TESTS_long_double): Likewise.
46340 * sysdeps/mips/mips64/libm-test-ulps: Update.
46341
46342 * include/features.h (__USE_BSD): Remove macro definitions.
46343 (__USE_SVID): Likewise.
46344 (_BSD_SOURCE): Likewise.
46345 (_SVID_SOURCE): Likewise.
46346 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46347 from definition of _DEFAULT_SOURCE.
46348 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46349 [_DEFAULT_SOURCE].
46350 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46351 * bits/mman.h [__USE_BSD]: Likewise.
46352 * bits/termios.h [__USE_BSD]: Likewise.
46353 * bits/waitstatus.h [__USE_BSD]: Likewise.
46354 * ctype/ctype.h [__USE_SVID]: Likewise.
46355 * dirent/dirent.h [__USE_BSD]: Likewise.
46356 * grp/grp.h [__USE_SVID]: Likewise.
46357 [__USE_BSD]: Likewise.
46358 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46359 * io/fcntl.h [__USE_BSD]: Likewise.
46360 * io/ftw.h [__USE_BSD]: Likewise.
46361 * io/sys/stat.h [__USE_BSD]: Likewise.
46362 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46363 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46364 * libio/stdio.h [__USE_SVID]: Likewise.
46365 [__USE_BSD]: Likewise.
46366 * math/math.h [__USE_SVID]: Likewise.
46367 [__USE_BSD]: Likewise.
46368 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46369 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46370 * misc/search.h [__USE_SVID]: Likewise.
46371 * misc/sys/mman.h [__USE_BSD]: Likewise.
46372 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46373 * misc/sys/uio.h [__USE_BSD]: Likewise.
46374 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46375 * posix/glob.h [__USE_BSD]: Likewise.
46376 * posix/regex.h [__USE_BSD]: Likewise.
46377 * posix/sys/types.h [__USE_BSD]: Likewise.
46378 [__USE_SVID]: Likewise.
46379 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46380 * posix/sys/wait.h [__USE_BSD]: Likewise.
46381 [__USE_SVID]: Likewise.
46382 * posix/unistd.h [__USE_BSD]: Likewise.
46383 [__USE_SVID]: Likewise.
46384 * pwd/pwd.h [__USE_SVID]: Likewise.
46385 * resolv/netdb.h [__USE_BSD]: Likewise.
46386 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46387 * signal/signal.h [__USE_BSD]: Likewise.
46388 [__USE_SVID]: Likewise.
46389 * socket/sys/socket.h [__USE_BSD]: Likewise.
46390 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46391 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46392 [__USE_SVID]: Likewise.
46393 * string/bits/string2.h [__USE_BSD]: Likewise.
46394 [__USE_SVID]: Likewise.
46395 * string/bits/string3.h [__USE_BSD]: Likewise.
46396 * string/endian.h [__USE_BSD]: Likewise.
46397 * string/string.h [__USE_SVID]: Likewise.
46398 [__USE_BSD]: Likewise.
46399 * string/strings.h [__USE_BSD]: Likewise.
46400 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46401 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46402 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46403 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46404 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46405 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46406 Likewise.
46407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46408 Likewise.
46409 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46410 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46411 Likewise.
46412 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46413 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46414 Likewise.
46415 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46416 Likewise.
46417 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46418 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46420 Likewise.
46421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46422 Likewise.
46423 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46424 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46425 * termios/termios.h [__USE_BSD]: Likewise.
46426 * time/sys/time.h [__USE_BSD]: Likewise.
46427 * time/time.h [__USE_BSD]: Likewise.
46428 [__USE_SVID]: Likewise.
46429
46430 * Makefile (subdir_targets): Remove subdir_lint.out.
46431
46432 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46433 (do-tst-printf): Likewise.
46434 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46435 $(objpfx)tst-printf.out.
46436
46437 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46438
46439 * Makerules (check-abi-%): Change target to
46440 $(objpfx)check-abi-%.out.
46441 (check-abi target): Update dependencies.
46442 (check-abi-pattern variable): Redirect output of diff to $@.
46443 (check-abi variable): Likewise.
46444 * elf/Makefile (check-abi): Update dependencies.
46445
46446 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46447 unused.
46448 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46449 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46450 subnormal range.
46451 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46452 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46453 value has largest subnormal exponent.
46454 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46455 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46456 * sysdeps/aarch64/soft-fp/sfp-machine.h
46457 (_FP_TININESS_AFTER_ROUNDING): New macro.
46458 * sysdeps/alpha/soft-fp/sfp-machine.h
46459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46460 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46461 Likewise.
46462 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46463 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46464 * sysdeps/mips/soft-fp/sfp-machine.h
46465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46466 * sysdeps/powerpc/soft-fp/sfp-machine.h
46467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46468 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46469 Likewise.
46470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46471 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46473 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46474 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46475 Likewise.
46476
46477 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46478
46479 [BZ #16545]
46480 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46481 model 1.
46482
46483 2014-02-12 Richard Henderson <rth@redhat.com>
46484
46485 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46486 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46487 * sysdeps/unix/sysv/linux/alpha: Move directory from
46488 ports/sysdeps/unix/sysv/linux/alpha.
46489 * README: Update listing for alpha-*-linux-gnu.
46490
46491 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46492
46493 * include/features.h: Update comment documenting feature test
46494 macros.
46495 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46496 _DEFAULT_SOURCE.
46497 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46498 (_SVID_SOURCE): Likewise.
46499 (_DEFAULT_SOURCE): Update description of default features.
46500 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46501 with _GNU_SOURCE.
46502 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46503 (S_ISVTX): Likewise.
46504 * manual/math.texi (Mathematical Constants): Likewise.
46505 * manual/signal.texi (Interrupted Primitives): Likewise.
46506 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46507 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46508 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46509 Don't refer to _SVID_SOURCE in warning text.
46510
46511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46512
46513 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46514 already defined.
46515 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46516 * sysdeps/mips/dl-lookup.c: Remove.
46517 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46518
46519 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46520
46521 [BZ #16447]
46522 * math/auto-libm-test-in: Add testcase for expl.
46523 * math/auto-libm-test-out: Regenerate.
46524 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46525 calculation of unsafe.
46526 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46527
46528 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46529
46530 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46531 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46532 ports/sysdeps/unix/sysv/linux/aarch64.
46533 * README: Update listing for aarch64*-*-linux-gnu.
46534
46535 2014-02-11 Will Newton <will.newton@linaro.org>
46536
46537 * manual/probes.texi (Mathematical Function Probes): Use
46538 "triggered" instead of "hit".
46539
46540 * manual/probes.texi (Internal Probes): Add documentation
46541 of setjmp, longjmp and longjmp_target probes.
46542
46543 * include/stap-probe.h: Add comment about probe argument
46544 format.
46545
46546 * malloc/mtrace.c (attribute_hidden): Remove unused macro
46547 definition. (tr_where, tr_freehook, tr_mallochook,
46548 tr_reallochook, tr_memalignhook): Use ANSI protoype.
46549
46550 2014-02-11 David S. Miller <davem@davemloft.net>
46551
46552 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46553 processing int_tests.
46554
46555 2014-02-10 Joseph Myers <joseph@codesourcery.com>
46556
46557 * sysdeps/mips: Move directory from ports/sysdeps/mips.
46558 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46559 * sysdeps/unix/sysv/linux/mips: Move directory from
46560 ports/sysdeps/unix/sysv/linux/mips.
46561 * README: Update listing for mips-*-linux-gnu and
46562 mips64-*-linux-gnu.
46563
46564 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
46565
46566 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46567 * sysdeps/unix/sysv/linux/m68k: Move directory from
46568 ports/sysdeps/unix/sysv/linux/m68k.
46569 * README: Update listing for m68k-*-linux-gnu.
46570
46571 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
46572
46573 * sysdeps/tile: Move directory from ports/sysdeps/tile.
46574 * sysdeps/unix/sysv/linux/generic: Move directory from
46575 ports/sysdeps/unix/sysv/linux/generic.
46576 * sysdeps/unix/sysv/linux/tile: Move directory from
46577 ports/sysdeps/unix/sysv/linux/tile.
46578 * README: Update listing for tile*-*-linux-gnu.
46579
46580 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
46581
46582 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46583 __builtin_expect.
46584 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46585 * catgets/open_catalog.c (__open_catalog): Likewise.
46586 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46587 * debug/confstr_chk.c: Likewise.
46588 * debug/fread_chk.c (__fread_chk): Likewise.
46589 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46590 * debug/getgroups_chk.c: Likewise.
46591 * debug/mbsnrtowcs_chk.c: Likewise.
46592 * debug/mbsrtowcs_chk.c: Likewise.
46593 * debug/mbstowcs_chk.c: Likewise.
46594 * debug/memcpy_chk.c: Likewise.
46595 * debug/memmove_chk.c: Likewise.
46596 * debug/mempcpy_chk.c: Likewise.
46597 * debug/memset_chk.c: Likewise.
46598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46599 * debug/strcat_chk.c (__strcat_chk): Likewise.
46600 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46601 * debug/strncat_chk.c (__strncat_chk): Likewise.
46602 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46603 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46604 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46605 * debug/wcpncpy_chk.c: Likewise.
46606 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46607 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46608 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46609 * debug/wcsncpy_chk.c: Likewise.
46610 * debug/wcsnrtombs_chk.c: Likewise.
46611 * debug/wcsrtombs_chk.c: Likewise.
46612 * debug/wcstombs_chk.c: Likewise.
46613 * debug/wmemcpy_chk.c: Likewise.
46614 * debug/wmemmove_chk.c: Likewise.
46615 * debug/wmempcpy_chk.c: Likewise.
46616 * debug/wmemset_chk.c: Likewise.
46617 * dirent/scandirat.c (SCANDIRAT): Likewise.
46618 * dlfcn/dladdr1.c (dladdr1): Likewise.
46619 * dlfcn/dladdr.c (dladdr): Likewise.
46620 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46621 * dlfcn/dlerror.c (__dlerror): Likewise.
46622 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46623 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46624 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46625 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46626 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46627 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46628 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46629 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46630 Likewise.
46631 * elf/dl-conflict.c: Likewise.
46632 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46633 * elf/dl-dst.h: Likewise.
46634 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46635 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46637 * elf/dl-init.c (call_init, _dl_init): Likewise.
46638 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46639 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46640 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46641 Likewise.
46642 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46643 Likewise.
46644 * elf/dl-minimal.c (__libc_memalign): Likewise.
46645 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46646 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46647 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46648 * elf/dl-sym.c (do_sym): Likewise.
46649 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46650 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46651 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46652 * elf/dl-writev.h (_dl_writev): Likewise.
46653 * elf/ldconfig.c (search_dir): Likewise.
46654 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46655 (dl_main): Likewise.
46656 * elf/setup-vdso.h (setup_vdso): Likewise.
46657 * grp/compat-initgroups.c (compat_call): Likewise.
46658 * grp/fgetgrent.c (fgetgrent): Likewise.
46659 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46660 * grp/putgrent.c (putgrent): Likewise.
46661 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46662 Likewise.
46663 * hurd/hurdinit.c: Likewise.
46664 * iconvdata/8bit-gap.c (struct): Likewise.
46665 * iconvdata/ansi_x3.110.c : Likewise.
46666 * iconvdata/big5.c : Likewise.
46667 * iconvdata/big5hkscs.c : Likewise.
46668 * iconvdata/cp1255.c: Likewise.
46669 * iconvdata/cp1258.c : Likewise.
46670 * iconvdata/cp932.c : Likewise.
46671 * iconvdata/euc-cn.c: Likewise.
46672 * iconvdata/euc-jisx0213.c : Likewise.
46673 * iconvdata/euc-jp.c: Likewise.
46674 * iconvdata/euc-jp-ms.c : Likewise.
46675 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46676 * iconvdata/gb18030.c : Likewise.
46677 * iconvdata/gbbig5.c (const): Likewise.
46678 * iconvdata/gbgbk.c: Likewise.
46679 * iconvdata/gbk.c : Likewise.
46680 * iconvdata/ibm1364.c : Likewise.
46681 * iconvdata/ibm930.c : Likewise.
46682 * iconvdata/ibm932.c: Likewise.
46683 * iconvdata/ibm933.c : Likewise.
46684 * iconvdata/ibm935.c : Likewise.
46685 * iconvdata/ibm937.c : Likewise.
46686 * iconvdata/ibm939.c : Likewise.
46687 * iconvdata/ibm943.c: Likewise.
46688 * iconvdata/iso_11548-1.c: Likewise.
46689 * iconvdata/iso-2022-cn.c : Likewise.
46690 * iconvdata/iso-2022-cn-ext.c : Likewise.
46691 * iconvdata/iso-2022-jp-3.c: Likewise.
46692 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46693 * iconvdata/iso-2022-kr.c : Likewise.
46694 * iconvdata/iso646.c (gconv_end): Likewise.
46695 * iconvdata/iso_6937-2.c : Likewise.
46696 * iconvdata/iso_6937.c : Likewise.
46697 * iconvdata/iso8859-1.c: Likewise.
46698 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46699 * iconvdata/shift_jisx0213.c : Likewise.
46700 * iconvdata/sjis.c : Likewise.
46701 * iconvdata/t.61.c : Likewise.
46702 * iconvdata/tcvn5712-1.c : Likewise.
46703 * iconvdata/tscii.c: Likewise.
46704 * iconvdata/uhc.c : Likewise.
46705 * iconvdata/unicode.c (gconv_end): Likewise.
46706 * iconvdata/utf-16.c (gconv_end): Likewise.
46707 * iconvdata/utf-32.c (gconv_end): Likewise.
46708 * iconvdata/utf-7.c (base64): Likewise.
46709 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46710 * iconv/gconv_close.c (__gconv_close): Likewise.
46711 * iconv/gconv_open.c (__gconv_open): Likewise.
46712 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46713 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46714 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46715 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46716 (ucs4le_internal_loop_single): Likewise.
46717 * iconv/iconv.c (iconv): Likewise.
46718 * iconv/iconv_close.c: Likewise.
46719 * iconv/loop.c (SINGLE): Likewise.
46720 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46721 * include/atomic.h: Likewise.
46722 * inet/inet6_option.c (option_alloc): Likewise.
46723 * intl/bindtextdom.c (set_binding_values): Likewise.
46724 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46725 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46726 * intl/localealias.c (read_alias_file): Likewise.
46727 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46728 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46729 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46730 * libio/fmemopen.c (fmemopen): Likewise.
46731 * libio/iofgets.c (_IO_fgets): Likewise.
46732 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46733 * libio/iofgetws.c (fgetws): Likewise.
46734 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46735 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46736 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46737 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46738 * locale/findlocale.c (_nl_find_locale): Likewise.
46739 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46740 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46741 Likewise.
46742 * locale/setlocale.c (setlocale): Likewise.
46743 * login/programs/pt_chown.c (main): Likewise.
46744 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46745 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46746 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46747 (mmap, mmap64, mremap, munmap): Likewise.
46748 * math/e_exp2l.c: Likewise.
46749 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46750 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46751 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46752 * math/s_catan.c (__catan): Likewise.
46753 * math/s_catanf.c (__catanf): Likewise.
46754 * math/s_catanh.c (__catanh): Likewise.
46755 * math/s_catanhf.c (__catanhf): Likewise.
46756 * math/s_catanhl.c (__catanhl): Likewise.
46757 * math/s_catanl.c (__catanl): Likewise.
46758 * math/s_ccosh.c (__ccosh): Likewise.
46759 * math/s_ccoshf.c (__ccoshf): Likewise.
46760 * math/s_ccoshl.c (__ccoshl): Likewise.
46761 * math/s_cexp.c (__cexp): Likewise.
46762 * math/s_cexpf.c (__cexpf): Likewise.
46763 * math/s_cexpl.c (__cexpl): Likewise.
46764 * math/s_clog10.c (__clog10): Likewise.
46765 * math/s_clog10f.c (__clog10f): Likewise.
46766 * math/s_clog10l.c (__clog10l): Likewise.
46767 * math/s_clog.c (__clog): Likewise.
46768 * math/s_clogf.c (__clogf): Likewise.
46769 * math/s_clogl.c (__clogl): Likewise.
46770 * math/s_csin.c (__csin): Likewise.
46771 * math/s_csinf.c (__csinf): Likewise.
46772 * math/s_csinh.c (__csinh): Likewise.
46773 * math/s_csinhf.c (__csinhf): Likewise.
46774 * math/s_csinhl.c (__csinhl): Likewise.
46775 * math/s_csinl.c (__csinl): Likewise.
46776 * math/s_csqrt.c (__csqrt): Likewise.
46777 * math/s_csqrtf.c (__csqrtf): Likewise.
46778 * math/s_csqrtl.c (__csqrtl): Likewise.
46779 * math/s_ctan.c (__ctan): Likewise.
46780 * math/s_ctanf.c (__ctanf): Likewise.
46781 * math/s_ctanh.c (__ctanh): Likewise.
46782 * math/s_ctanhf.c (__ctanhf): Likewise.
46783 * math/s_ctanhl.c (__ctanhl): Likewise.
46784 * math/s_ctanl.c (__ctanl): Likewise.
46785 * math/w_pow.c: Likewise.
46786 * math/w_powf.c: Likewise.
46787 * math/w_powl.c: Likewise.
46788 * math/w_scalb.c (sysv_scalb): Likewise.
46789 * math/w_scalbf.c (sysv_scalbf): Likewise.
46790 * math/w_scalbl.c (sysv_scalbl): Likewise.
46791 * misc/error.c (error_tail): Likewise.
46792 * misc/pselect.c (__pselect): Likewise.
46793 * nis/nis_callback.c (__nis_create_callback): Likewise.
46794 * nis/nis_call.c (__nisfind_server): Likewise.
46795 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46796 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46797 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46798 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46799 * nis/nis_lookup.c (nis_lookup): Likewise.
46800 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46801 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46802 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46803 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46804 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46805 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46806 * nis/nss_compat/compat-initgroups.c (add_group)
46807 (internal_getgrent_r): Likewise.
46808 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46809 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46810 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46811 (internal_getspnam_r): Likewise.
46812 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46813 (_nss_nis_getaliasbyname_r): Likewise.
46814 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46815 (_nss_nis_getntohost_r): Likewise.
46816 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46817 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46818 (_nss_nis_getgrgid_r): Likewise.
46819 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46820 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46821 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46822 (_nss_nis_gethostbyname4_r): Likewise.
46823 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46824 (initgroups_netid): Likewise.
46825 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46826 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46827 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46828 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46829 (_nss_nis_getprotobynumber_r): Likewise.
46830 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46831 (_nss_nis_getsecretkey): Likewise.
46832 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46833 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46834 (_nss_nis_getpwuid_r): Likewise.
46835 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46836 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46837 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46838 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46839 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46840 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46841 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46842 Likewise.
46843 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46844 (_nss_nisplus_getntohost_r): Likewise.
46845 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46846 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46847 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46848 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46849 Likewise.
46850 * nis/nss_nisplus/nisplus-initgroups.c
46851 (_nss_nisplus_initgroups_dyn): Likewise.
46852 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46853 (_nss_nisplus_getnetbyaddr_r): Likewise.
46854 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46855 (_nss_nisplus_getprotobynumber_r): Likewise.
46856 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46857 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46858 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46859 Likewise.
46860 * nis/nss_nisplus/nisplus-service.c
46861 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46862 (_nss_nisplus_getservbyport_r): Likewise.
46863 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46864 (_nss_nisplus_getspnam_r): Likewise.
46865 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46866 Likewise.
46867 * nscd/aicache.c (addhstaiX): Likewise.
46868 * nscd/cache.c (cache_search, prune_cache): Likewise.
46869 * nscd/connections.c (register_traced_file, send_ro_fd)
46870 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46871 (main_loop_epoll): Likewise.
46872 * nscd/grpcache.c (addgrbyX): Likewise.
46873 * nscd/hstcache.c (addhstbyX): Likewise.
46874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46875 * nscd/mem.c (gc, mempool_alloc): Likewise.
46876 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46877 (addinnetgrX): Likewise.
46878 * nscd/nscd-client.h (__nscd_acquire_maplock)
46879 (__nscd_drop_map_ref): Likewise.
46880 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46881 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46882 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46883 Likewise.
46884 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46886 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46887 (__nscd_get_map_ref): Likewise.
46888 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46889 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46890 Likewise.
46891 * nscd/pwdcache.c (addpwbyX): Likewise.
46892 * nscd/selinux.c (preserve_capabilities): Likewise.
46893 * nscd/servicescache.c (addservbyX): Likewise.
46894 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46895 * posix/fnmatch.c (fnmatch): Likewise.
46896 * posix/getopt.c (_getopt_internal_r): Likewise.
46897 * posix/glob.c (glob, glob_in_dir): Likewise.
46898 * posix/wordexp.c (exec_comm_child): Likewise.
46899 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46900 (getanswer_r, gaih_getanswer_slice): Likewise.
46901 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46902 * resolv/res_init.c: Likewise.
46903 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46904 * resolv/res_query.c (__libc_res_nquery): Likewise.
46905 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46906 Likewise.
46907 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46908 * stdio-common/perror.c (perror): Likewise.
46909 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46910 * stdio-common/tmpnam.c (tmpnam): Likewise.
46911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46912 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46913 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46914 Likewise.
46915 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46916 * stdlib/putenv.c (putenv): Likewise.
46917 * stdlib/setenv.c (__add_to_environ): Likewise.
46918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46919 * stdlib/strtol_l.c (INTERNAL): Likewise.
46920 * string/memmem.c (memmem): Likewise.
46921 * string/strerror.c (strerror): Likewise.
46922 * string/strnlen.c (__strnlen): Likewise.
46923 * string/test-memmem.c (simple_memmem): Likewise.
46924 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46925 * sunrpc/pm_getport.c (__get_socket): Likewise.
46926 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46927 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46928 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46929 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46930 Likewise.
46931 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46934 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46936 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46937 Likewise.
46938 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46939 Likewise.
46940 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46941 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46943 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46944 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46946 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46948 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46949 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46950 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46951 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46952 Likewise.
46953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46954 Likewise.
46955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46956 Likewise.
46957 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46961 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46962 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46963 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46966 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46967 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46969 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46970 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46973 Likewise.
46974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46975 Likewise.
46976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46977 Likewise.
46978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46979 Likewise.
46980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46982 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46983 Likewise.
46984 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46985 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46986 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46987 * sysdeps/posix/sleep.c: Likewise.
46988 * sysdeps/posix/tempname.c: Likewise.
46989 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46991 Likewise.
46992 * sysdeps/powerpc/powerpc32/dl-machine.h
46993 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46996 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46997 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46998 Likewise.
46999 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47001 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47003 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47004 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47005 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47006 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47007 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47008 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47010 (elf_machine_lazy_rel): Likewise.
47011 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47013 (elf_machine_lazy_rel): Likewise.
47014 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47015 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47016 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47017 * sysdeps/unix/grantpt.c (grantpt): Likewise.
47018 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47019 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47020 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47022 Likewise.
47023 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47024 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47025 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47026 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47027 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47029 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47030 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47031 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47032 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47033 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47034 Likewise.
47035 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47036 (__posix_fallocate64_l64): Likewise.
47037 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47038 (posix_fallocate): Likewise.
47039 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47040 Likewise.
47041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47042 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47043 (getifaddrs_internal): Likewise.
47044 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47045 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47046 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47047 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47048 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47049 (__posix_fallocate64_l64): Likewise.
47050 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47051 Likewise.
47052 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47053 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47054 (__get_clockfreq): Likewise.
47055 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47056 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47057 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47060 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47061 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47062 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47063 Likewise.
47064 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47065 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47066 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47068 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47069 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47070 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47071 Likewise.
47072 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47073 (posix_fallocate): Likewise.
47074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47075 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47076 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47077 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47078 (elf_machine_rela, elf_machine_rela_relative)
47079 (elf_machine_lazy_rel): Likewise.
47080 * time/asctime.c (asctime_internal): Likewise.
47081 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47082 * time/tzset.c (__tzset_parse_tz): Likewise.
47083 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47084 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47085 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47086 * wcsmbs/wcsmbsload.h: Likewise.
47087
47088 [BZ #15894]
47089 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47090
47091 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47092 (arena_get2): Remove THREAD_STATS conditionals.
47093 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47094 (__malloc_stats, int): Likewise.
47095
47096 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47097
47098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47099 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47100
47101 * manual/setjmp.texi: Fix typos/grammar errors.
47102
47103 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47104 Only return early when n is <= 0. Delete unused return statement.
47105
47106 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47107 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47108 * debug/tst-longjmp_chk3.c: New file.
47109
47110 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47111 (test_main): Replace code with set_fortify_handler call.
47112 * debug/test-strcpy_chk.c: Likewise.
47113 * debug/tst-chk1.c: Likewise.
47114 * debug/tst-longjmp_chk.c: Likewise.
47115 * test-skeleton.c: Include fcntl.h & paths.h
47116 (set_fortify_handler): Define.
47117
47118 * debug/tst-longjmp_chk.c: Add header comment and include
47119 ../test-skeleton.c.
47120 (do_test): Mark static.
47121 (TEST_FUNCTION): Define.
47122
47123 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47124 (IP_PMTUDISC_INTERFACE): Likewise.
47125 (IP_MULTICAST_IF): Likewise.
47126 (IP_MULTICAST_TTL): Likewise.
47127 (IP_MULTICAST_LOOP): Likewise.
47128 (IP_ADD_MEMBERSHIP): Likewise.
47129 (IP_DROP_MEMBERSHIP): Likewise.
47130 (IP_UNBLOCK_SOURCE): Likewise.
47131 (IP_BLOCK_SOURCE): Likewise.
47132 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47133 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47134 (IP_MSFILTER): Likewise.
47135 (MCAST_JOIN_GROUP): Likewise.
47136 (MCAST_BLOCK_SOURCE): Likewise.
47137 (MCAST_UNBLOCK_SOURCE): Likewise.
47138 (MCAST_LEAVE_GROUP): Likewise.
47139 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47140 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47141 (MCAST_MSFILTER): Likewise.
47142 (IP_MULTICAST_ALL): Likewise.
47143 (IP_UNICAST_IF): Likewise.
47144
47145 * timezone/Makefile: Delete $(have-ksh) check.
47146 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47147 * timezone/tzselect.ksh: Add +x mode bits.
47148
47149 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47150 (ANON_INODE_FS_MAGIC): Likewise.
47151 (BDEVFS_MAGIC): Likewise.
47152 (BINFMTFS_MAGIC): Likewise.
47153 (BTRFS_TEST_MAGIC): Likewise.
47154 (CRAMFS_MAGIC_WEND): Likewise.
47155 (DEBUGFS_MAGIC): Likewise.
47156 (ECRYPTFS_SUPER_MAGIC): Likewise.
47157 (EXT3_SUPER_MAGIC): Likewise.
47158 (EXT4_SUPER_MAGIC): Likewise.
47159 (FUTEXFS_SUPER_MAGIC): Likewise.
47160 (HOSTFS_SUPER_MAGIC): Likewise.
47161 (HUGETLBFS_MAGIC): Likewise.
47162 (MINIX3_SUPER_MAGIC): Likewise.
47163 (MTD_INODE_FS_MAGIC): Likewise.
47164 (NILFS_SUPER_MAGIC): Likewise.
47165 (OPENPROM_SUPER_MAGIC): Likewise.
47166 (PIPEFS_MAGIC): Likewise.
47167 (PSTOREFS_MAGIC): Likewise.
47168 (QNX6_SUPER_MAGIC): Likewise.
47169 (RAMFS_MAGIC): Likewise.
47170 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47171 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47172 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47173 (SECURITYFS_MAGIC): Likewise.
47174 (SELINUX_MAGIC): Likewise.
47175 (SMACK_MAGIC): Likewise.
47176 (SOCKFS_MAGIC): Likewise.
47177 (SQUASHFS_MAGIC): Likewise.
47178 (STACK_END_MAGIC): Likewise.
47179 (TMPFS_MAGIC): Likewise.
47180 (USBDEVICE_SUPER_MAGIC): Likewise.
47181 (V9FS_MAGIC): Likewise.
47182 (XENFS_SUPER_MAGIC): Likewise.
47183 (CRAMFS_MAGIC): Fix typo in comment.
47184 (EXT2_SUPER_MAGIC): Update comment.
47185 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47186
47187 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47188
47189 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47190 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47191 * sysdeps/unix/sysv/linux/arm: Move directory from
47192 ports/sysdeps/unix/sysv/linux/arm.
47193 * README: Update listing for arm-*-linux-gnueabi.
47194
47195 * README: Remove mention of am33.
47196
47197 2014-02-07 Roland McGrath <roland@hack.frob.com>
47198
47199 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47200 than the comma operator, to avoid "rhs of comma has no effect"
47201 compiler warnings.
47202 (__sigfillset, __sigandset, __sigorset): Likewise.
47203 * include/signal.h (__sigemptyset): Likewise.
47204 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47205
47206 2014-02-07 Allan McRae <allan@archlinux.org>
47207
47208 * version.h (RELEASE): Set to "development".
47209 (VERSION): Set to "2.19.90"
47210 * NEWS: Add 2.20 section.
47211
47212 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47213
47214 [BZ #16529]
47215 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47216
47217 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47218
47219 * manual/contrib.texi: Update entry for Carlos O'Donell,
47220 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47221
47222 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47223
47224 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47225
47226 * sysdeps/unix/sysv/linux/kernel-features.h
47227 [__LINUX_KERNEL_VERSION >= 0x020621]
47228 (__ASSUME_PROC_PID_TASK_COMM): Define.
47229
47230 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47231
47232 [BZ #16398]
47233 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47234 conversion when destination buffer does not have enough space.
47235 * libio/tst-ftell-partial-wide.c: New test case.
47236 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47237
47238 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47239 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47240 Leonard and Allan McRae.
47241
47242 2014-02-04 David S. Miller <davem@davemloft.net>
47243
47244 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47245 32-bit.
47246
47247 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47248
47249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47250 New file
47251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47252 New file
47253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47254 New file.
47255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47256 New file.
47257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47258 New file.
47259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47260 New file.
47261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47262 New file.
47263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47264 New file.
47265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47266 New file.
47267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47268 New file.
47269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47270 New file.
47271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47272 New file.
47273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47274 New file.
47275
47276 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47277
47278 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47279 * shlib-versions: Likewise.
47280
47281 2014-02-04 Roland McGrath <roland@hack.frob.com>
47282 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47283
47284 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47285 (abilist-pattern): New variable, set to %-le.abilist.
47286
47287 * Makerules (abilist-pattern): New variable.
47288 (vpath): Use $(abilist-pattern) in place of %.abilist.
47289 (check-abi-% pattern rule): Likewise.
47290 (check-abi, update-abi): Likewise.
47291
47292 2014-02-04 Eric Wong <normalperson@yhbt.net>
47293
47294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47295
47296 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47297
47298 * manual/startup.texi: Add next, previous, and top entries for
47299 the `Program Arguments' and `Environment Variables' nodes.
47300
47301 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47302
47303 * manual/macros.texi: Add comments before MTASC-safety macros.
47304
47305 * manual/users.texi: Document MTASC-safety properties.
47306
47307 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47308 (pthread_getspecific, pthread_setspecific): Format with
47309 @deftypefun, and add @safety note.
47310 * manual/signal.texi: Move comments that analyze the above
47311 functions to their home place.
47312
47313 2014-02-03 Allan McRae <allan@archlinux.org>
47314
47315 * po/sl.po: Update Slovenian translation from translation project.
47316
47317 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47318
47319 * manual/time.texi (timegm): Add missing blank after @c.
47320 Reported by Joseph Myers <joseph@codesourcery.com>.
47321
47322 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47323
47324 * manual/check-safety.sh: New.
47325 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47326
47327 * manual/terminal.texi: Document MTASC-safety properties.
47328
47329 * manual/filesys.texi: Document MTASC-safety properties.
47330
47331 * manual/errno.texi: Document MTASC-safety properties.
47332
47333 * manual/intro.texi: Document safety identifiers and
47334 conditionals.
47335
47336 * manual/string.texi (wcstok): Fix prototype.
47337 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47338
47339 * manual/time.texi: Document MTASC-safety properties.
47340
47341 * manual/string.texi: Document MTASC-safety properties.
47342
47343 * manual/threads.texi: Document MTASC-safety properties.
47344
47345 * manual/stdio.texi: Document MTASC-safety properties.
47346
47347 * manual/syslog.texi: Document MTASC-safety properties.
47348
47349 * manual/sysinfo.texi: Document MTASC-safety properties.
47350
47351 * manual/startup.texi: Document MTASC-safety properties.
47352
47353 * manual/socket.texi: Document MTASC-safety properties.
47354
47355 * manual/signal.texi: Document MTASC-safety properties.
47356
47357 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47358
47359 * manual/setjmp.texi: Document MTASC-safety properties.
47360
47361 * manual/search.texi: Document MTASC-safety properties.
47362
47363 * manual/resource.texi: Document MTASC-safety properties.
47364
47365 * manual/process.texi: Document MTASC-safety properties.
47366
47367 * manual/platform.texi: Document MTASC-safety properties.
47368
47369 * manual/pipe.texi: Document MTASC-safety properties.
47370
47371 * manual/pattern.texi: Document MTASC-safety properties.
47372
47373 * manual/message.texi: Document MTASC-safety properties.
47374
47375 [BZ #12751]
47376 * manual/memory.texi: Document MTASC-safety properties.
47377
47378 * manual/math.texi: Document MTASC-safety properties.
47379
47380 * manual/locale.texi: Document MTASC-safety properties.
47381
47382 * manual/llio.texi: Document MTASC-safety properties.
47383
47384 * manual/libdl.texi: New.
47385
47386 * manual/lang.texi: Document MTASC-safety properties.
47387
47388 * manual/job.texi: Document MTASC-safety properties.
47389
47390 * manual/getopt.texi: Document MTASC-safety properties.
47391
47392 * manual/ctype.texi: Document MTASC-safety properties.
47393
47394 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47395
47396 [BZ #16046]
47397 * csu/libc-tls.c (static_map): Remove variable.
47398 (__libc_setup_tls): Use main executable's link map for TLS data.
47399 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47400 casing for LM_ID_BASE and GL(dl_nns).
47401 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47402 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47403 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47404 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47405 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47406 member.
47407 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47408 l_phnum members.
47409
47410 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47411
47412 * manual/debug.texi: Document MTASC-safety properties.
47413
47414 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47415
47416 [BZ #16510]
47417 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47418 of __x86_64__ when disabling x87 inline functions.
47419
47420 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47421
47422 * manual/charset.texi: Document MTASC-safety properties.
47423
47424 * manual/crypt.texi: Document MTASC-safety properties.
47425
47426 * manual/conf.texi: Document MTASC-safety properties.
47427
47428 * manual/arith.texi: Document MTASC-safety properties.
47429
47430 * manual/argp.texi: Document MTASC-safety properties.
47431
47432 * manual/macros.texi: Introduce macros to document multi
47433 thread, asynchronous signal and asynchronous cancellation
47434 safety properties.
47435 * manual/intro.texi: Introduce the properties themselves.
47436
47437 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47438
47439 * sysdeps/sh/sh4/Makefile: New file.
47440
47441 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47442
47443 * math/gen-libm-test.pl ($srcdir): New variable.
47444 ($auto_input): Use it.
47445
47446 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47447
47448 [BZ #16506]
47449 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47450 access beyond array bounds when parsing netgroups file.
47451
47452 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47453 the old buffer before realloc.
47454
47455 2014-01-27 Allan McRae <allan@archlinux.org>
47456
47457 * po/fr.po: Update French translation from translation project.
47458
47459 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47460
47461 * sysdeps/sh/libm-test-ulps: Regenerate.
47462
47463 2014-01-24 David S. Miller <davem@davemloft.net>
47464
47465 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47466
47467 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47468
47469 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47470 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47471
47472 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47473
47474 [BZ #16474]
47475 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47476 string pointers after reallocation.
47477
47478 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47479
47480 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47481 __SH4A__ instead of __SH_FPU_ANY__.
47482
47483 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47484
47485 * sysdeps/sh/fpu_control.h: New file.
47486 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47487 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47488 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47489 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47490 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47491 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47492 * sysdeps/sh/sys/ucontext.h: Remove.
47493 * sysdeps/sh/sys: Remove directory.
47494
47495 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47496
47497 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47498 s390/sys/ucontext.h.
47499 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47500 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47501
47502 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47503
47504 [BZ #15605]
47505 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47506
47507 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47508
47509 [BZ#16431]
47510 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47511 Adjust the vDSO correctly for internal calls.
47512 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47513
47514 2014-01-20 Allan McRae <allan@archlinux.org>
47515
47516 * po/ca.po: Update Catalan translation from translation project.
47517
47518 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47519
47520 * sysdeps/s390/sotruss-lib.c: New file.
47521
47522 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47523
47524 [BZ#16430]
47525 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47526 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47527 local calls issues by not having a PLT stub required for IFUNC calls.
47528 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47529
47530 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47531
47532 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47533 * math/test-fpucw-static.c: Likewise.
47534
47535 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47536
47537 [BZ #16453]
47538 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47539
47540 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47541
47542 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47543 implementation for powerpc.
47544
47545 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
47546
47547 [BZ #14782]
47548 * sysdeps/posix/system.c (__libc_system): Do not enable
47549 asynchronous cancellation.
47550
47551 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47552
47553 [BZ #16427]
47554 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47555 handling only for numbers special also in the IEEE case.
47556
47557 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47558
47559 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47560
47561 2014-01-11 Allan McRae <allan@archlinux.org>
47562
47563 * po/bg.po: Update Bulgarian translation from translation project.
47564
47565 * po/de.po: Update German translation from translation project.
47566
47567 2014-01-10 Roland McGrath <roland@hack.frob.com>
47568
47569 * sysdeps/generic/gcc-compat.h: New file.
47570
47571 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47572
47573 * benchtests/asin-inputs: Correct slow inputs.
47574 * benchtests/acos-inputs: Likewise.
47575
47576 2014-01-10 Allan McRae <allan@archlinux.org>
47577
47578 * po:sv.po: Update Swedish translation from translation project.
47579
47580 * po/vi.po: Update Vietnamese translation from translation project.
47581
47582 * po/eo.po: Update Esperanto translation from translation project.
47583
47584 * po/cs.po: Update Czech translation from translation project.
47585
47586 * po/nl.po: Update Dutch translation from translation project.
47587
47588 * po/pl.po: Update Polish translation from translation project.
47589
47590 * po/ru.po: Update Russian translation from translation project.
47591
47592 * po/uk.po: Update Ukrainian translation from translation project.
47593
47594 2014-01-08 Brooks Moses <bmoses@google.com>
47595
47596 * elf/dl-load.c: Fix comment typo.
47597
47598 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47599
47600 * po/header.pot: Rename to...
47601 * po/pot.header: ... this.
47602 * po/Makefile: Use pot.header.
47603
47604 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47605 Maxim Kuvyrkov <maxim@kugelworks.com>
47606
47607 [BZ #16394]
47608 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47609 SRC and DEST against LEN.
47610
47611 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47612
47613 [BZ #16414]
47614 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47615 implementation.
47616 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47617
47618 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47619
47620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47621
47622 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47623
47624 [BZ #16408]
47625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47626 for large positive arguments.
47627
47628 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47629
47630 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47631
47632 * math/auto-libm-test-in: Mark various tests with
47633 xfail-rounding:ldbl-128ibm.
47634 * math/auto-libm-test-out: Regenerated.
47635
47636 [BZ #16407]
47637 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47638 Increase overflow threshold.
47639
47640 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47641
47642 [BZ #14286]
47643 * stdio-common/vfprintf.c: Check for integer overflow.
47644
47645 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47646
47647 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47648 the first argument and return value of __tls_get_addr_internal.
47649
47650 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47651
47652 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47653 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47654
47655 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47656
47657 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47658 * sysdeps/s390/rtld-global-offsets.sym: New file.
47659 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47660 GLIBC_2.19 symbol.
47661 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47662 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47664 ... this.
47665 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47666 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47667 ... this.
47668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47669 Regenerate.
47670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47671 Regenerate.
47672 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47673 halfs of GPRs for high_gprs contexts.
47674 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47675 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47676 field.
47677 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47678 uc_flags field.
47679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47680 64 bit versions:
47681 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47682 for high GPRs (uc_high_gprs) and for future extensions
47683 (__reserved).
47684 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47685 for future extensions (__reserved).
47686 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47687 64 bit versions:
47688 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47689 SC_HIGHGPRS offset definition.
47690 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47691 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47692
47693 * Versions.def: Add GLIBC_2.19 for libpthread.
47694 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47695 siglongjmp for libpthread with GLIBC_2.19 symver.
47696 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47697 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47698 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47699 * sysdeps/s390/__longjmp.c: New file.
47700 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47701 * sysdeps/s390/longjmp.c: New file.
47702 * sysdeps/s390/setjmp.S: New file.
47703 * sysdeps/s390/sigjmp.S: New file.
47704 * sysdeps/s390/v1-longjmp.c: New file.
47705 * sysdeps/s390/v1-setjmp.h: New file.
47706 * sysdeps/s390/v1-sigjmp.c: New file.
47707 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47708 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47709 GLIBC_2.19 version.
47710 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47711 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47712 versioned symbols for ____longjmp_chk.
47713 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47714 Likewise.
47715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47716 Regenerate.
47717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47718 Regenerate.
47719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47720 Regenerate.
47721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47722 Regenerate.
47723 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47724 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47725 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47726 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47727 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47728 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47729 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47730 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47731 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47732 * sysdeps/s390/rtld-__longjmp.c: New file.
47733 * sysdeps/s390/rtld-setjmp.S: New file.
47734
47735 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47736
47737 [BZ #16400]
47738 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47739 Return -__logl (x) for small positive arguments without evaluating
47740 a polynomial.
47741
47742 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47743
47744 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47745 Rename to ...
47746 (__ptrace_peeksiginfo_args): ... this.
47747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47750
47751 2014-01-06 Allan McRae <allan@archlinux.org>
47752
47753 * inet/netinet/in.h: Fix typo in comment.
47754
47755 2014-01-05 Andreas Jaeger <aj@suse.de>
47756
47757 * sysdeps/i386/fpu/libm-test-ulps: Update.
47758
47759 2014-01-05 Allan McRae <allan@archlinux.org>
47760
47761 * po/libc.pot: Regenerated.
47762
47763 * malloc/memusagestat.c: Fix gettext call formatting.
47764
47765 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47766
47767 * nscd/nscd.c: Improve usage() output.
47768
47769 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47770
47771 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47772 * sysdeps/unix/sysv/linux/configure: Regenerated.
47773 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47774 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47775
47776 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47777
47778 [BZ #16390]
47779 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47780 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47781
47782 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47783
47784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47785 extra tokens at end of #undef directive.
47786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47787 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47788 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47789
47790 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47791
47792 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47793
47794 * math/auto-libm-test-in: Mark various tests with
47795 xfail-rounding:ldbl-128ibm.
47796 * math/auto-libm-test-out: Regenerated.
47797
47798 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47799
47800 [BZ #16386]
47801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47802 numbers with subnormal high part when calculating exponent.
47803
47804 [BZ #16385]
47805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47806 fabs.
47807
47808 [BZ #16384]
47809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47810 M_LN2l.
47811 (__ieee754_acoshl): Use __log1pl not __log1p.
47812
47813 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47814
47815 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47816 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47817 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47818 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47819 (reused_arena, arena_get2): Convert to GNU style.
47820 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47821 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47822 (memalign_check, __malloc_set_state): Likewise.
47823 * malloc/mallocbug.c (main): Likewise.
47824 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47825 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47826 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47827 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47828 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47829 (__posix_memalign, malloc_info): Likewise.
47830 * malloc/malloc.h: Likewise.
47831 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47832 (mallochook, memalignhook, reallochook, mabort): Likewise.
47833 * malloc/mcheck.h: Likewise.
47834 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47835 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47836 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47837 * malloc/morecore.c (__default_morecore): Likewise.
47838 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47839 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47840 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47841 (print_and_abort): Likewise.
47842 * malloc/obstack.h: Likewise.
47843 * malloc/set-freeres.c (__libc_freeres): Likewise.
47844 * malloc/tst-mallocstate.c (main): Likewise.
47845 * malloc/tst-mtrace.c (main): Likewise.
47846 * malloc/tst-realloc.c (do_test): Likewise.
47847
47848 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47849
47850 [BZ #16366]
47851 * nscd/netgroupcache.c (do_notfound): New function.
47852 (addgetnetgrentX): Use it.
47853
47854 [BZ # 16365]
47855 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47856 NSS_STATUS_NOTFOUND.
47857
47858 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47859
47860 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47862
47863 2014-01-01 Allan McRae <allan@archlinux.org>
47864
47865 * scripts/update-copyrights: Update configure input file suffix.
47866
47867 * NEWS: Update copyright year.
47868 * catgets/gencat.c: Likewise.
47869 * csu/version.c: Likewise.
47870 * debug/catchsegv.sh: Likewise.
47871 * debug/pcprofiledump.c: Likewise.
47872 * debug/xtrace.sh: Likewise.
47873 * elf/ldconfig.c: Likewise.
47874 * elf/ldd.bash.in: Likewise.
47875 * elf/pldd.c: Likewise.
47876 * elf/sotruss.ksh: Likewise.
47877 * elf/sprof.c: Likewise.
47878 * iconv/iconv_prog.c: Likewise.
47879 * iconv/iconvconfig.c: Likewise.
47880 * locale/programs/locale.c: Likewise.
47881 * locale/programs/localedef.c: Likewise.
47882 * login/programs/pt_chown.c: Likewise.
47883 * malloc/memusage.sh: Likewise.
47884 * malloc/memusagestat.c: Likewise.
47885 * malloc/mtrace.pl: Likewise.
47886 * manual/libc.texinfo: Likewise.
47887 * nscd/nscd.c: Likewise.
47888 * nss/getent.c: Likewise.
47889 * nss/makedb.c: Likewise.
47890 * posix/getconf.c: Likewise.
47891 * scripts/test-installation.pl: Likewise.
47892
47893 * All files with FSF copyright notices: Update copyright dates
47894 using scripts/update-copyrights.
47895 * intl/plural.c: Regenerated.
47896 * locale/programs/charmap-kw.h: Likewise.
47897 * locale/programs/locfile-kw.h: Likewise.
47898
47899 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47900
47901 * sysdeps/unix/sysv/linux/configure: Regenerated.
47902 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47903 the linux/fanotify.h header.
47904 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47905 HAVE_LINUX_FANOTIFY_H is defined.
47906
47907 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47908
47909 * benchtests/cos-inputs: New inputs.
47910 * benchtests/sin-inputs: Likewise.
47911
47912 * benchtests/atan-inputs: New inputs. Fix name of multiple
47913 precision fallback inputs.
47914
47915 * benchtests/atanh-inputs: New inputs.
47916 * benchtests/tanh-inputs: Likewise.
47917
47918 * benchtests/acosh-inputs: New inputs.
47919 * benchtests/asinh-inputs: Likewise.
47920
47921 * benchtests/cosh-inputs: New inputs.
47922 * benchtests/sinh-inputs: Likewise.
47923
47924 * benchtests/acos-inputs: Add more inputs.
47925 * benchtests/asin-inputs: Likewise.
47926
47927 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47928
47929 [BZ #16375]
47930 * manual/arith.texi: Fix spelling.
47931 * manual/charset.texi: Likewise.
47932 * manual/errno.texi: Likewise.
47933 * manual/filesys.texi: Likewise.
47934 * manual/lang.texi: Likewise.
47935 * manual/llio.texi: Likewise.
47936 * manual/locale.texi: Likewise.
47937 * manual/message.texi: Likewise.
47938 * manual/resource.texi: Likewise.
47939 * manual/search.texi: Likewise.
47940 * manual/setjmp.texi: Likewise.
47941 * manual/stdio.texi: Likewise.
47942 * manual/string.texi: Likewise.
47943 * manual/sysinfo.texi: Likewise.
47944 * manual/time.texi: Likewise.
47945
47946 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47947
47948 * po/sl.po: New file.
47949
47950 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47951
47952 * .gitignore: Add core/.gdbinit/.gdb_history.
47953
47954 2013-12-27 Allan McRae <allan@archlinux.org>
47955
47956 [BZ #16369]
47957 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47958 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47959
47960 2013-12-24 Brooks Moses <bmoses@google.com>
47961
47962 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47963 all compilers that claim C++98 compliance, not just GCC.
47964 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47965 Likewise.
47966
47967 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47968
47969 * NEWS: Restore accidentally deleted bug-fix entries.
47970
47971 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47972 Ondřej Bílka <neleai@seznam.cz>
47973
47974 [BZ #15073]
47975 * malloc/malloc.c (_int_free): Perform sanity check only if we
47976 have_lock.
47977
47978 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47979
47980 [BZ #12986]
47981 * manual/stdio.texi (String Input Conversions): Clarify that character
47982 classes are not supported.
47983
47984 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47985
47986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47987
47988 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47989
47990 [BZ #16337]
47991 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47992 Calculate results for small negative arguments directly rather
47993 than using reflection formula with special underflow handling.
47994
47995 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47996 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47997 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47998 (fchflags): Likewise.
47999 (revoke): Likewise.
48000 (setlogin): Likewise.
48001 (sigaltstack): Likewise.
48002 (wait4): Likewise.
48003 (sigblock): Remove.
48004 (sigsetmask): Likewise.
48005 (wait3): Likewise.
48006 (waitpid): Likewise.
48007 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48008 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48009 file.
48010 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48011 * sysdeps/unix/bsd/Makefile: ... here.
48012 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48013 * sysdeps/unix/bsd/Versions: ... here.
48014 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48015 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48016 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48017 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48018 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48019 * sysdeps/unix/bsd/sigblock.c: ... here.
48020 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48021 * sysdeps/unix/bsd/sigsetmask.c: ... here.
48022 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48023 * sysdeps/unix/bsd/sigvec.c: ... here.
48024 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48025 * sysdeps/unix/bsd/tcdrain.c: ... here.
48026 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48027 * sysdeps/unix/bsd/tcgetattr.c: ... here.
48028 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48029 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48030 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48031 * sysdeps/unix/bsd/wait.c: ... here.
48032 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48033 * sysdeps/unix/bsd/wait3.c: ... here.
48034 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48035 * sysdeps/unix/bsd/waitpid.c: ... here.
48036
48037 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48038
48039 [BZ #16356]
48040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48041 round-to-nearest for [!USE_AS_EXPM1L].
48042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48043 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48044 more tests of exp and exp10. Expect some exp10 tests to miss
48045 exceptions or fail in directed rounding modes.
48046 * math/auto-libm-test-out: Regenerated.
48047 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48048 (exp10_test_tonearest): New function.
48049 (exp10_towardzero_test_data): New array.
48050 (exp10_test_towardzero): New function.
48051 (exp10_downward_test_data): New array.
48052 (exp10_test_downward): New function.
48053 (exp10_upward_test_data): New array.
48054 (exp10_test_upward): New function.
48055 (main): Call the new functions.
48056 * sysdeps/i386/fpu/libm-test-ulps: Update.
48057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48058
48059 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48060
48061 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48062 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48063 * math/auto-libm-test-out: Regenerated.
48064 * math/libm-test.inc (acosh_test_data): Add more tests.
48065 (atanh_test_data): Likewise.
48066 (ceil_test_data): Likewise.
48067 (copysign_test_data): Likewise.
48068 * sysdeps/i386/fpu/libm-test-ulps: Update.
48069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48070
48071 * timezone/checktab.awk: Update from tzcode 2013i.
48072 * timezone/private.h: Likewise.
48073 * timezone/scheck.c: Likewise.
48074 * timezone/tzfile.h: Likewise.
48075 * timezone/tzselect.ksh: Likewise.
48076 * timezone/zdump.c: Likewise.
48077 * timezone/zic.c: Likewise.
48078
48079 * math/auto-libm-test-in: Add tests of cpow.
48080 * math/auto-libm-test-out: Regenerated.
48081 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48083 mpc_cc_c.
48084 (func_calc_desc): Add mpc_cc_c union field.
48085 (test_functions): Add cpow.
48086 (special_fill_2pi): New function.
48087 (special_real_inputs): Add 2pi.
48088 (calc_generic_results): Handle mpc_cc_c.
48089 * sysdeps/i386/fpu/libm-test-ulps: Update.
48090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48091
48092 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48093 csqrt, ctan and ctanh.
48094 * math/auto-libm-test-out: Regenerated.
48095 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48096 (TEST_COND_x86): Likewise.
48097 (ccos_test_data): Use AUTO_TESTS_c_c.
48098 (ccosh_test_data): Likewise.
48099 (cexp_test_data): Likewise.
48100 (clog_test_data): Likewise.
48101 (csqrt_test_data): Likewise.
48102 (ctan_test_data): Likewise.
48103 (ctan_tonearest_test_data): Likewise.
48104 (ctan_towardzero_test_data): Likewise.
48105 (ctan_downward_test_data): Likewise.
48106 (ctan_upward_test_data): Likewise.
48107 (ctanh_test_data): Likewise.
48108 (ctanh_tonearest_test_data): Likewise.
48109 (ctanh_towardzero_test_data): Likewise.
48110 (ctanh_downward_test_data): Likewise.
48111 (ctanh_upward_test_data): Likewise.
48112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48113 mpc_c_c.
48114 (func_calc_desc): Add mpc_c_c union field.
48115 (FUNC_mpc_c_c): New macro.
48116 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48117 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48118 ctanh.
48119 (special_fill_min_subnorm_p120): New function.
48120 (special_real_inputs): Add min_subnorm_p120.
48121 (calc_generic_results): Handle mpc_c_c.
48122 * sysdeps/i386/fpu/libm-test-ulps: Update.
48123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48124
48125 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48126
48127 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48128 (do_sin_slow): New functions.
48129 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48130 (cslow2, csloww1, csloww2): Use the new functions.
48131
48132 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48133 Use M to change sign of result instead of X. Assume X is
48134 positive.
48135 (csloww1): Likewise.
48136 (__sin): Adjust.
48137 (__cos): Adjust.
48138
48139 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48140 arguments A and DA.
48141 (__sin): Adjust.
48142 (__cos): Likewise.
48143
48144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48145 (__cos): Likewise.
48146 (sloww1): Don't adjust sign of DX.
48147 (csloww1): Likewise.
48148 (sloww2): Use X directly and don't adjust sign of DX.
48149 (csloww2): Likewise.
48150
48151 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48152
48153 * math/auto-libm-test-in: Add tests of cabs and carg.
48154 * math/auto-libm-test-out: Regenerated.
48155 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48156 (carg_test_data): Likewise.
48157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48158 mpc_c_f.
48159 (func_calc_desc): Add mpc_c_f union field.
48160 (test_functions): Add cabs and carg.
48161 (calc_generic_results): Handle mpc_c_f.
48162
48163 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48164 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48165 as a macro and a compat symbol.
48166 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48167 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48168 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48169 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48170 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48172 not use .hidden.
48173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48174 Likewise.
48175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48176 Likewise.
48177 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48178 Likewise.
48179 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48180 Likewise.
48181 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48182 Likewise.
48183 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48184 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48185 from GLIBC_2.3.2.
48186
48187 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48188
48189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48190
48191 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48192
48193 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48194 trailing whitespace removed.
48195 * scripts/config.guess: Update to version 2013-11-29.
48196 * scripts/config.sub: Update to version 2013-10-01.
48197
48198 * math/auto-libm-test-in: Add tests of sincos.
48199 * math/auto-libm-test-out: Regenerated.
48200 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48201 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48202 mpfr_f_11.
48203 (func_calc_desc): Add mpfr_f_11 union field.
48204 (test_functions): Add sincos.
48205 (calc_generic_results): Handle mpfr_f_11.
48206 * sysdeps/i386/fpu/libm-test-ulps: Update.
48207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48208
48209 2013-12-19 Andreas Schwab <schwab@suse.de>
48210
48211 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48212 CALL_MCOUNT.
48213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48214 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48215 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48216
48217 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48218
48219 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48220 * sysdeps/i386/fpu/libm-test-ulps: Update.
48221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48222
48223 [BZ #16293]
48224 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48225 round-to-nearest mode when using frndint.
48226 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48227 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48229 Likewise.
48230 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48231 sinh test to fail.
48232 * math/auto-libm-test-out: Regenerated.
48233 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48234 (TEST_COND_x86): Likewise.
48235 (expm1_tonearest_test_data): New array.
48236 (expm1_test_tonearest): New function.
48237 (expm1_towardzero_test_data): New array.
48238 (expm1_test_towardzero): New function.
48239 (expm1_downward_test_data): New array.
48240 (expm1_test_downward): New function.
48241 (expm1_upward_test_data): New array.
48242 (expm1_test_upward): New function.
48243 (main): Run the new test functions.
48244 * sysdeps/i386/fpu/libm-test-ulps: Update.
48245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48246
48247 * include/features.h: Update comment documenting feature test
48248 macros. Mention _DEFAULT_SOURCE in comment.
48249 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48250 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48251 _BSD_SOURCE and _SVID_SOURCE.
48252 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48253 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48254 !_SVID_SOURCE]: Likewise.
48255 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48256 (__USE_POSIX_IMPLICITLY): Define.
48257 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48258 (_POSIX_SOURCE): Undefine and redefine.
48259 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48260 (_POSIX_C_SOURCE): Likewise.
48261 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48262 (Feature Test Macros): Update documentation of default features.
48263
48264 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48265
48266 * benchtests/Makefile: Add bench-strtok.
48267 * benchtests/bench-strtok.c: New file: strtok benchtest.
48268
48269 2013-12-19 Allan McRae <allan@archlinux.org>
48270
48271 * manual/install.texi: Suppress menu for plain text output.
48272 * INSTALL: Regenerated.
48273
48274 2013-12-18 Brooks Moses <bmoses@google.com>
48275
48276 [BZ #15846]
48277 * misc/getauxval.c: Include errno.h.
48278 (__getauxval): Set errno to ENOENT if the requested type is not
48279 found.
48280 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48281 don't declare with __attribute_const__.
48282 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48283 * manual/startup.texi: Document that getauxval sets errno.
48284
48285 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48286
48287 * math/auto-libm-test-in: Add tests of jn and yn.
48288 * math/auto-libm-test-out: Regenerated.
48289 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48290 (yn_test_data): Likewise.
48291 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48292 mpfr_if_f.
48293 (func_calc_desc): Add mpfr_if_f union field.
48294 (FUNC_mpfr_if_f): New macro.
48295 (test_functions): Add jn and yn.
48296 (calc_generic_results): Assert type of second input for
48297 mpfr_ff_f. Handle mpfr_if_f.
48298 (output_for_one_input_case): Disable all checking for arguments
48299 fitting floating-point types in case of an integer argument.
48300 * sysdeps/i386/fpu/libm-test-ulps: Update.
48301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48302
48303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48304 Don't expect fegetround reference in libm.so.
48305
48306 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48307
48308 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48309 $(config-cflags-nofma).
48310
48311 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48312
48313 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48314 * math/auto-libm-test-out: Regenerated.
48315
48316 [BZ #16338]
48317 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48318 to determine exponent and adjust argument to have exponent of -1.
48319 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48320 log2.
48321 * math/auto-libm-test-out: Regenerated.
48322 * sysdeps/i386/fpu/libm-test-ulps: Update.
48323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48324
48325 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48326
48327 * manual/probes.texi: Remove cases when per-thread arenas are
48328 disabled.
48329
48330 2013-12-18 Andreas Schwab <schwab@suse.de>
48331
48332 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48333 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48334 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48335 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48336 * sysdeps/i386/i686/multiarch/Makefile: Update.
48337 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48338
48339 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48340
48341 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48342 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48343
48344 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48345
48346 [BZ #15968]
48347 Support TZ transition times < 00:00:00.
48348 This is needed for version-3 tz-format files; it supports time
48349 stamps past 2037 for America/Godthab (the only entry in the tz
48350 database for which this change is relevant).
48351 * manual/time.texi (TZ Variable): Document transition times
48352 from -167:59:59 through -00:00:01.
48353 * time/tzset.c (tz_rule): Time of day is now signed.
48354 (__tzset_parse_tz): Parse negative time of day.
48355
48356 Document TZ transition times >= 25:00:00.
48357 * manual/time.texi (TZ Variable): Document transition times from
48358 25:00:00 through 167:59:59. These are already supported, and this
48359 support will help with version-3 tz-format files.
48360
48361 * manual/time.texi (TZ Variable): Modernize North America example
48362 to reflect current (i.e., 2007-and-later) daylight saving rules.
48363
48364 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48365
48366 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48367
48368 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48369 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48372 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48373 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48374 * sysdeps/unix/bsd/clock.c: Likewise.
48375 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48376 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48377 * sysdeps/unix/bsd/init-posix.c: Likewise.
48378 * sysdeps/unix/bsd/poll.c: Likewise.
48379 * sysdeps/unix/bsd/ptsname.c: Likewise.
48380 * sysdeps/unix/bsd/seekdir.c: Likewise.
48381 * sysdeps/unix/bsd/setegid.c: Likewise.
48382 * sysdeps/unix/bsd/seteuid.c: Likewise.
48383 * sysdeps/unix/bsd/setgid.c: Likewise.
48384 * sysdeps/unix/bsd/setrgid.c: Likewise.
48385 * sysdeps/unix/bsd/setruid.c: Likewise.
48386 * sysdeps/unix/bsd/setsid.c: Likewise.
48387 * sysdeps/unix/bsd/setuid.c: Likewise.
48388 * sysdeps/unix/bsd/sigaction.c: Likewise.
48389 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48390 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48391 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48392 * sysdeps/unix/bsd/telldir.c: Likewise.
48393 * sysdeps/unix/bsd/times.c: Likewise.
48394 * sysdeps/unix/bsd/usleep.c: Likewise.
48395
48396 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48397 ($(objpfx)libbsd-compat.a): Remove rule.
48398
48399 * include/features.h (__FAVOR_BSD): Do not define.
48400 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48401 features conflicting with POSIX.
48402 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48403 (_BSD_SOURCE): Remove description of not being a subset of other
48404 feature test macros.
48405 * manual/job.texi (getpgrp): Do not document BSD version.
48406 (getpgid): Do not document by reference to BSD getpgrp.
48407 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48408 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48409 * signal/signal.h [__FAVOR_BSD]: Likewise.
48410 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48411 instead of making contents conditional on [__FAVOR_BSD].
48412 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48413
48414 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48415
48416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48417
48418 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48419
48420 [BZ #16314]
48421 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48422 values below 2**-450, not 2**-500.
48423 * math/auto-libm-test-in: Don't allow spurious underflow from
48424 hypot.
48425 * math/auto-libm-test-out: Regenerated.
48426
48427 [BZ #16316]
48428 [BZ #16330]
48429 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48430 values of ha and hb and sort them after adjusting subnormal
48431 arguments.
48432 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48433 Likewise.
48434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48435 values of ea and eb and sort them after adjusting subnormal
48436 arguments.
48437 * math/auto-libm-test-in: Do not expect some hypot tests of
48438 subnormals to fail. Add more hypot tests.
48439 * math/auto-libm-test-out: Regenerated.
48440
48441 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48442
48443 [BZ #13304]
48444 * sysdeps/sh/s_fma.c: New file.
48445 * sysdeps/sh/s_fmaf.c: New file.
48446 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48447 version.
48448 * sysdeps/sh/Implies: Add sh/soft-fp.
48449
48450 2013-12-16 Roland McGrath <roland@hack.frob.com>
48451
48452 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48453 level of indirection to members `objname', `errstring', `malloced'.
48454 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48455 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48456 it as the __longjmp argument (just pass 1 instead).
48457 (_dl_catch_error): Initialize C with argument pointers and address of
48458 volatile local ERRCODE rather than copying values out of C at return.
48459
48460 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48461
48462 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48463 * math/auto-libm-test-out: Regenerated.
48464 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48465 (hypot_test_data): Likewise.
48466 (pow_test_data): Likewise.
48467 (pow_tonearest_test_data): Likewise.
48468 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48469 mpfr_ff_f.
48470 (func_calc_desc): Add mpfr_ff_f union field.
48471 (FUNC_mpfr_ff_f): New macro.
48472 (test_functions): Add atan2, hypot and pow.
48473 (special_fill_min): New function.
48474 (special_fill_minus_min): Likewise.
48475 (special_fill_min_subnorm): Likewise.
48476 (special_fill_minus_min_subnorm): Likewise.
48477 (special_real_inputs): Add min, -min, min_subnorm and
48478 -min_subnorm.
48479 (calc_generic_results): Handle mpfr_ff_f.
48480 * sysdeps/i386/fpu/libm-test-ulps: Update.
48481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48482
48483 2013-12-16 Will Newton <will.newton@linaro.org>
48484
48485 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48486 (Aligned Memory Blocks): Add documentation for aligned_alloc
48487 and suggest it as an alternative to posix_memalign.
48488 (Hooks for Malloc): Document __memalign_hook is also called
48489 for aligned_alloc. (Summary of Malloc): Add summary for
48490 aligned alloc. Document __memalign_hook is also called
48491 for aligned_alloc.
48492
48493 2013-12-16 Will Newton <will.newton@linaro.org>
48494
48495 * manual/memory.texi (Malloc Examples): Clarify default
48496 alignment documentation. Suggest posix_memalign rather
48497 than memalign or valloc.
48498 (Aligned Memory Blocks): Remove suggestion to use memalign
48499 or valloc. Remove obsolete comment about BSD.
48500 Document memalign errno values and mark the function obsolete.
48501 Document posix_memalign returned error codes. Mark valloc
48502 as obsolete. (Hooks for Malloc): __memalign_hook is also
48503 called for posix_memalign and valloc.
48504 (Summary of Malloc): Add posix_memalign to function summary.
48505 __memalign_hook is also called for posix_memalign and valloc.
48506
48507 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48508
48509 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48510 TAYLOR_SIN.
48511 (__sin): Adjust.
48512 (__cos): Likewise.
48513 (sloww): Use mynumber union. Expand ternary operator into
48514 if-else statements.
48515 (cslow): use mynumber union.
48516
48517 2013-12-16 Allan McRae <allan@archlinux.org>
48518
48519 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48520 * configure: Regenerated.
48521
48522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48523
48524 [BZ #14120]
48525 * configure.ac: Added --enable-maintainer-mode. Check for
48526 autoconf when enabled.
48527 * configure: Regenerated.
48528
48529 * nscd/nscd.service: New file.
48530 * nscd/nscd.tmpfiles: New file.
48531
48532 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48533
48534 [BZ #12100]
48535 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48536 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48537 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48538 (strstr): Add __strstr_sse2_unaligned ifunc.
48539 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48540 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48541 (strcasestr): Remove __strcasestr_sse42 ifunc.
48542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48545
48546 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48547
48548 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48549 * sysdeps/sh/bits/fenv.h: ... here.
48550 * sysdeps/sh/sh4/fpu/bits: Remove directory.
48551
48552 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48553
48554 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48555
48556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48557 hypotf multiarch implementations.
48558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48561 multiarch hypot for PPC64.
48562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48565 multiarch hypotf for PPC64.
48566
48567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48568 modff multiarch implementations.
48569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48572 multiarch modf for PPC64.
48573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48576 multiarch modff for PPC64.
48577
48578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48579 and logl multiarch implementations.
48580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48583 multiarch logb for PPC64.
48584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48587 multiarch logb for PPC64.
48588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48591 multiarch logb for PPC64.
48592
48593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48594 isinff multiarch implementation.
48595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48596 file.
48597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48599 multiarch isinf for PPC64.
48600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48601 file.
48602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48603 multiarch isinff for PPC64.
48604
48605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48606 finitef multiarch implementation.
48607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48608 file.
48609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48611 multiarch finite for PPC64.
48612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48613 file.
48614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48615 multiarch finitef for PPC64.
48616
48617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48618 lrint multiarch implementation.
48619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48620 file.
48621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48623 multiarch llrint for PPC64.
48624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48625 multiarch lrint for PPC64.
48626
48627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48628 copysignf multiarch implementation.
48629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48630 file.
48631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48632 file.
48633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48634 multiarch copysign for PPC64.
48635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48636 multiarch copysignf for PPC64.
48637
48638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48639 multiarch implementation.
48640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48641 file.
48642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48643 file.
48644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48645 file.
48646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48647 file.
48648 multiarch llround for PPC64.
48649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48650 multiarch trunc for PPC64.
48651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48652 multiarch truncf for PPC64.
48653
48654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48655 multiarch implementation.
48656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48657 file.
48658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48659 file.
48660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48661 file.
48662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48663 file.
48664 multiarch llround for PPC64.
48665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48666 multiarch round for PPC64.
48667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48668 multiarch roundf for PPC64.
48669
48670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48671 multiarch implementation.
48672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48673 file.
48674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48675 file.
48676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48677 file.
48678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48679 file.
48680 multiarch llround for PPC64.
48681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48682 multiarch floor for PPC64.
48683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48684 multiarch floorf for PPC64.
48685
48686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48687 multiarch implementation.
48688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48689 file.
48690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48691 file.
48692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48693 file.
48694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48695 file.
48696 multiarch llround for PPC64.
48697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48698 multiarch ceil for PPC64.
48699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48700 multiarch ceilf for PPC64.
48701
48702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48703 multiarch implementation.
48704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48705 file.
48706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48707 file.
48708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48709 file.
48710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48711 multiarch llround for PPC64.
48712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48713 multiarch lround for PPC64.
48714
48715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48716 multiarch implementation.
48717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48720 file.
48721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48724 multiarch isnan for PPC64.
48725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48726 multiarch isnanf for PPC64.
48727
48728 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48729 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48730 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48731 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48732 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48734
48735 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48736 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48739
48740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48741 multiarch implementations.
48742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48743 (__libc_ifunc_impl_list): Likewise.
48744 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48745 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48747 multiarch stpcpy for PPC64.
48748
48749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48750 multiarch implementations.
48751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48752 (__libc_ifunc_impl_list): Likewise.
48753 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48754 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48755 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48756 multiarch strcpy for PPC64.
48757
48758 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48759 redefine function name.
48760 (_wordcopy_fwd_dest_aligned): Likewise.
48761 (_wordcopy_bwd_aligned): Likewise.
48762 (_wordcopy_bwd_dest_aligned): Likewise.
48763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48764 multiarch implementations.
48765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48766 (__libc_ifunc_impl_list): Likewise.
48767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48771 multiarch wcscpy for PPC64.
48772
48773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48774 multiarch implementations.
48775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48776 (__libc_ifunc_impl_list): Likewise.
48777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48778 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48780 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48781 multiarch wcscpy for PPC64.
48782
48783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48784 multiarch implementations.
48785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48786 (__libc_ifunc_impl_list): Likewise.
48787 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48788 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48789 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48790 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48791 multiarch wcsrchr for PPC64.
48792
48793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48794 multiarch implementations.
48795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48796 (__libc_ifunc_impl_list): Likewise.
48797 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48798 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48799 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48800 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48801 multiarch wcschr for PPC64.
48802
48803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48804 multiarch implementations.
48805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48806 (__libc_ifunc_impl_list): Likewise.
48807 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48808 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48809 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48810 multiarch strchrnul for PPC64.
48811
48812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48813 implementations.
48814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48815 (__libc_ifunc_impl_list): Likewise.
48816 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48817 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48818 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48819 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48820 strchr for PPC64.
48821
48822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48823 implementations.
48824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48825 (__libc_ifunc_impl_list): Likewise.
48826 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48827 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48828 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48829 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48830 strncmp for PPC64.
48831
48832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48833 multiarch implementations.
48834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48835 (__libc_ifunc_impl_list): Likewise.
48836 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48837 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48838 strncasecmp for PPC64.
48839 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48840 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48841 multiarch strncasecmp_l for PPC64.
48842
48843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48844 multiarch implementations.
48845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48846 (__libc_ifunc_impl_list): Likewise.
48847 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48848 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48849 multiarch strcasecmp for PPC64.
48850 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48851 file.
48852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48853 multiarch strcasecmp_l for PPC64.
48854
48855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48856 implementations.
48857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48858 (__libc_ifunc_impl_list): Likewise.
48859 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48860 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48861 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48862 strnlen for PPC64.
48863
48864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48865 implementations.
48866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48867 (__libc_ifunc_impl_list): Likewise.
48868 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48869 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48870 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48871 strlen for PPC64.
48872
48873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48874 implementations.
48875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48876 (__libc_ifunc_impl_list): Likewise.
48877 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48878 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48879 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48880 rawmemrchr for PPC64.
48881
48882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48883 implementation.
48884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48885 (__libc_ifunc_impl_list): Likewise.
48886 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48887 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48888 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48889 memrchr for PPC64.
48890
48891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48892 implementation.
48893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48894 (__libc_ifunc_impl_list): Likewise.
48895 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48896 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48897 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48898 memchr for PPC64.
48899
48900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48901 implementation.
48902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48903 (__libc_ifunc_impl_list): Likewise.
48904 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48905 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48906 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48907 mempcpy for PPC64.
48908
48909 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48910 avoid cretion of __bzero symbol.
48911 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48912 Likewise.
48913 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48914 Likewise.
48915 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48916 Likewise.
48917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48918 multiarch implementations.
48919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48920 (__libc_ifunc_impl_list): Likewise.
48921 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48922 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48923 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48924 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48925 bzero for PPC32.
48926 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48927 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48928 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48929 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48930 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48931 memset for PPC64.
48932 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48933
48934 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48936 implementations.
48937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48938 (__libc_ifunc_impl_list): Likewise.
48939 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48940 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48941 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48942 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48943 memcmp for PPC64.
48944
48945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48946 multiarch for POWER/PPC64.
48947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48948 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48949 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48950 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48955 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48956 memcpy for PPC64.
48957
48958 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48959 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48960 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48961 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48962 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48963 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48964 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48965 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48966 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48967 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48968 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48969 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48970 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48971 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48972 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48980
48981 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48982
48983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48984
48985 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48986
48987 * benchtests/Makefile (bench): Add exp2 and log2.
48988 (LDLIBS-bench-exp2): Add -lm.
48989 (LDLIBS-bench-log2): Likewise.
48990 * benchtests/exp2-inputs: New inputs file.
48991 * benchtests/log2-inputs: New inputs file.
48992 * benchtests/log-inputs: Add new inputs.
48993 * benchtests/tan-inputs: Likewise.
48994
48995 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48996
48997 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48998 definition...
48999 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49000 (csloww2): ... from here.
49001
49002 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49003 instead of structures.
49004 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49005 (POLYNOMIAL): Likewise.
49006 (TAYLOR_SLOW): Likewise.
49007 (__sin): Likewise.
49008 (__cos): Likewise.
49009 (slow1): Likewise.
49010 (slow2): Likewise.
49011 (sloww): Likewise.
49012 (sloww1); Likewise.
49013 (sloww2): Likewise.
49014 (bsloww1): Likewise.
49015 (bsloww2): Likewise.
49016 (cslow2): Likewise.
49017 (csloww): Likewise.
49018 (csloww1): Likewise.
49019 (csloww2): Likewise.
49020
49021 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
49022
49023 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49024 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49025 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49026 * malloc/hooks.c (realloc_check): Likewise.
49027
49028 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49029 * malloc/arena.c: Remove PER_THREAD conditional.
49030 [!PER_THREAD]: Remove code.
49031 (ptmalloc_unlock_all2): Likewise.
49032 (ptmalloc_init): Likewise.
49033 (_int_new_arena): Likewise.
49034 (arena_get2): Likewise.
49035 * malloc/hooks.c (__malloc_get_state): Likewise.
49036 (__malloc_set_state): Likewise.
49037 * malloc/malloc.c: Likewise.
49038 (struct malloc_state): Likewise.
49039 (struct malloc_par): Likewise.
49040 (__libc_realloc): Likewise.
49041 (__libc_mallopt): Likewise.
49042
49043 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49044
49045 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49046
49047 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49048
49049 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49050 macro to a function. Check for zero perturb_byte.
49051 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49052
49053 * malloc/malloc.c: (force_reg): Remove.
49054 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49055 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49056 force_reg by atomic_forced_read.
49057 * malloc/arena.c (ptmalloc_init): Likewise.
49058 * malloc/hooks.c (top_check): Likewise.
49059
49060 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49061
49062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49063
49064 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49065
49066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49067
49068 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49069
49070 * math/auto-libm-test-in: Add tests of lgamma.
49071 * math/auto-libm-test-out: Regenerated.
49072 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49073 (M_LOG_2_SQRT_PIl): Likewise.
49074 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49075 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49076 mpfr_f_f1.
49077 (func_calc_desc): Add mpfr_f_f1 union field.
49078 (ARGS1): New macro.
49079 (ARGS2): Likewise.
49080 (ARGS3): Likewise.
49081 (ARGS4): Likewise.
49082 (RET1): Likewise.
49083 (RET2): Likewise.
49084 (CALC): Likewise.
49085 (FUNC): Likewise.
49086 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49087 (test_functions): Add lgamma.
49088 (calc_generic_results): Handle mpfr_f_f1.
49089 * sysdeps/i386/fpu/libm-test-ulps: Update.
49090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49091
49092 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49093
49094 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49095 __mpn_add_n for PowerPC64/POWER7.
49096 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49097 __mpn_sub_n for PowerPC64/POWER7.
49098
49099 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49100 __mpn_addmul_1 for PowerPC64.
49101 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49102 __mpn_submul_1 for PowerPC64.
49103 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49104 for PowerPC64.
49105 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49106 for PowerPC64.
49107
49108 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49109
49110 [BZ #15089]
49111 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49112
49113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49114
49115 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49116
49117 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49118 add multiarch folders.
49119 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49120 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49121 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49122 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49123 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49124 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49125 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49126 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49127 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49128 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49129 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49136
49137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49138 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49140 New file.
49141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49142 New file.
49143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49144 multiarch __ieee754_hypot for PowerPC32.
49145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49146 New file.
49147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49148 New file.
49149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49150 multiarch __ieee754_hypotf for PowerPC32.
49151
49152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49153 long_double_symbol only if __logbl is defined.
49154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49155 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49157 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49159 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49161 path for implementation.
49162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49163 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49165 logb, and logbl multiarch implementations for PowerPC32.
49166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49167 file.
49168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49169 file.
49170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49171 multiarch logb for PowerPC32.
49172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49173 file.
49174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49175 file.
49176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49177 multiarch logbf for PowerPC32.
49178 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49180 file.
49181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49182 multiarch logbl implementation for PowerPC32.
49183
49184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49185 and modff multiarch implementations.
49186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49187 New file.
49188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49189 New file.
49190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49191 multiarch modf for PowerPC32.
49192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49193 New file.
49194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49195 New file.
49196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49197 multiarch modff for PowerPC32.
49198
49199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49200 and lrintf multiarch implementations.
49201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49202 New file.
49203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49204 New file.
49205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49206 multiarch lrint for PowerPC32.
49207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49208 file: multiarch lrintf for PowerPC32.
49209
49210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49211 and lroundf multiarch implementations.
49212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49213 New file.
49214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49215 New file.
49216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49217 New file.
49218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49219 multiarch lround for PowerPC32.
49220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49221 file: multiarch lroundf for PowerPC32.
49222
49223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49224 copysign and copysignf multiarch implementations.
49225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49226 New file.
49227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49228 New file.
49229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49230 file: multiarch copysign for PowerPC32.
49231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49232 file: multiarch copysignf for PowerPC32.
49233
49234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49235 and truncf multiarch implementations.
49236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49237 New file.
49238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49239 file.
49240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49241 multiarch trunc for PowerPC32.
49242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49243 New file.
49244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49245 New file.
49246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49247 multiarch truncf for PowerPC32.
49248
49249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49250 and roundf multiarch implementations.
49251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49252 New file.
49253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49254 file.
49255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49256 multiarch round for PowerPC32.
49257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49258 New file.
49259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49260 New file.
49261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49262 multiarch roundf for PowerPC32.
49263
49264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49265 and floorf multiarch implementations.
49266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49267 New file.
49268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49269 file.
49270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49271 multiarch floor for PowerPC32.
49272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49273 New file.
49274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49275 New file.
49276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49277 multiarch floorf for PowerPC32.
49278
49279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49280 and ceilf multiarch implementations.
49281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49282 New file.
49283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49284 file.
49285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49286 multiarch ceil for PowerPC32.
49287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49288 New file.
49289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49290 file.
49291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49292 multiarch ceilf for PowerPC32.
49293
49294 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49295 is defined.
49296 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49297 FINITEF is defined.
49298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49299 and finitef multiarch implementations.
49300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49301 New file.
49302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49303 file.
49304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49305 multiarch finite for PowerPC32.
49306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49307 New file.
49308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49309 file: multiarch finitef for PowerPC32.
49310
49311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49312 and isinff multiarch implementations.
49313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49314 file.
49315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49316 file.
49317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49318 multiarch isinf for PowerPC32.
49319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49320 New file.
49321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49322 multiarch isinff for PowerPC32.
49323
49324 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49325 alias when __isnan is defined.
49326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49327 and isnanf multiarch implementations.
49328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49329 file.
49330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49331 file.
49332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49333 file.
49334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49335 file.
49336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49337 multiarch isnan for PowerPC32.
49338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49339 New file.
49340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49341 New file.
49342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49343 multiarch isnanf for PowerPC32.
49344
49345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49346 and sqrtf multiarch implementations.
49347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49348 file.
49349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49350 file.
49351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49352 multiarch sqrt for PowerPC32.
49353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49354 file.
49355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49356 file.
49357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49358 multiarch sqrtf for PowerPC32.
49359
49360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49361 and llroundf multiarch implementations.
49362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49363 New file.
49364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49365 New file.
49366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49367 New file.
49368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49369 file: multiarch llround for PowerPC32.
49370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49371 file: multiarch llroundf for PowerPC32.
49372
49373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49374 multiarch PowerPC32 fpu implementations.
49375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49376 New file.
49377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49378 New file.
49379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49380 multiarch llrint for PowerPC32.
49381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49382 New file.
49383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49384 New file.
49385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49386 file.
49387
49388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49389
49390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49391 file.
49392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49393 file.
49394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49395 file.
49396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49397 multiarch wordcopy for PPC32.
49398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49399 wordcopy objects.
49400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49401 (__libc_ifunc_impl_list): Likewise.
49402 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49403 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49404 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49405 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49407 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49408
49409 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49411 file.
49412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49413 file.
49414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49415 file.
49416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49417 multiarch wcscpy for PPC32.
49418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49419 multiarch objects.
49420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49421 (__libc_ifunc_impl_list): Likewise.
49422 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49423 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49424 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49425 sysdeps/powerpc/power6/wcscpy.c.
49426
49427 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49429 file.
49430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49431 file.
49432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49433 file.
49434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49435 multiarch wcsrchr for PPC32.
49436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49437 multiarch objects.
49438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49439 (__libc_ifunc_impl_list): Likewise.
49440 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49441 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49442 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49443 sysdeps/powerpc/power6/wcsrchr.c.
49444
49445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49446 file.
49447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49448 file.
49449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49451 multiarch wcschr for PPc32.
49452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49453 multiarch objects.
49454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49455 (__libc_ifunc_impl_list): Likewise.
49456 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49457 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49458 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49459 sysdeps/powerpc/power6/wcschr.c.
49460
49461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49462 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49463 file.
49464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49465 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49466 file: multiarch strchr for PPC32.
49467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49468 multiarch objects.
49469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49470 (__libc_ifunc_impl_list): Likewise.
49471
49472 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49473 name.
49474 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49475 file.
49476 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49477 file.
49478 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49479 multiarch strchrnul for PPC32.
49480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49481 multiarch objects.
49482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49483 (__libc_ifunc_impl_list): Likewise.
49484
49485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49486 file.
49487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49488 multiarch strncasecmp for PPC32.
49489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49490 file.
49491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49492 multiarch strncasecmp_l for PPC32.
49493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49494 strncasecmp multiarch objects.
49495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49496 (__libc_ifunc_impl_list): Likewise.
49497
49498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49499 file.
49500 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49501 multiarch strncasecmp for PPC32.
49502 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49503 New file.
49504 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49505 multiarch strcasecmp_l for PPC32.
49506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49507 multiarch objects.
49508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49509 (__libc_ifunc_impl_list): Likewise.
49510
49511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49512 file.
49513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49514 file.
49515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49516 multiarch strncmp for PPC32.
49517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49518 multiarch objects.
49519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49520 (__libc_ifunc_impl_list): Likewise.
49521
49522 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49523 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49524 file.
49525 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49526 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49528 multiarch objects.
49529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49530 (__libc_ifunc_impl_list): Likewise.
49531
49532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49533 file.
49534 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49535 file.
49536 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49538 multiarch objects.
49539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49540 (__libc_ifunc_impl_list): Likewise.
49541
49542 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49543 file.
49544 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49545 file.
49546 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49547 multiarch rawmemchr for PPC32.
49548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49549 multiarch objects.
49550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49551 (__libc_ifunc_impl_list): Likewise.
49552
49553 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49554 file.
49555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49556 file.
49557 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49558 file: memrchr multiarch for PPC32.
49559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49560 multiarch objects.
49561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49562 (__libc_ifunc_impl_list): Likewise.
49563
49564 * string/memchr.c (__memchr): Using macro to redefine symbol name.
49565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49566 file.
49567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49568 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49569 multiarch memchr for PPC32.
49570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49571 multiarch objects.
49572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49573 (__libc_ifunc_impl_list): Likewise.
49574
49575 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49576 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49577 file.
49578 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49579 file.
49580 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49581 file: multiarch mempcpy for PPC32.
49582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49583 multiarch objects.
49584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49585 (__libc_ifunc_impl_list): Likewise.
49586
49587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49588 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49589 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49591 multiarch bzero for PPC32.
49592 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49593 file.
49594 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49595 file.
49596 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49597 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49598 file: multiarch memset for PPC32.
49599 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49601 memset multiarch objects.
49602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49603 (__libc_ifunc_impl_list): Likewise.
49604
49605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49606 file.
49607 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49609 memcmp for PPC32.
49610 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49612 multiarch objects.
49613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49614 (__libc_ifunc_impl_list): Likewise.
49615
49616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49617 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49619 file.
49620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49621 file.
49622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49623 file.
49624 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49625 multiarch memcpy for PPC32.
49626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49627 multiarch objects.
49628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49629 (__libc_ifunc_impl_list): Likewise.
49630
49631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49632 support multiarch for POWER/PPC32.
49633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49634 Likewise.
49635 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49637 Implies file to make multiarch folder appers before the fpu and
49638 default folder for power4 configuration.
49639
49640 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49641
49642 * scripts/bench.pl: Append volatile keyword to type.
49643
49644 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49645
49646 * sysdeps/sh/sotruss-lib.c: New file.
49647 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49648
49649 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49650
49651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49652
49653 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49654
49655 [BZ #6810]
49656 * math/w_tgamma.c: Include <errno.h>.
49657 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49658 * math/w_tgammaf.c: Include <errno.h>.
49659 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49660 * math/w_tgammal.c: Include <errno.h>.
49661 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49662 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49663 underflow. Add more tgamma tests.
49664 * math/auto-libm-test-out: Regenerated.
49665 * sysdeps/i386/fpu/libm-test-ulps: Update.
49666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49667
49668 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49669 sin, sinh, tan, tanh, tgamma, y0 and y1.
49670 * math/auto-libm-test-out: Regenerated.
49671 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49672 (TEST_COND_x86): Likewise.
49673 (M_E2l): Remove macro.
49674 (M_E3l): Likewise.
49675 (M_2_SQRT_PIl): Likewise.
49676 (M_SQRT_PIl): Likewise.
49677 (M_1_DIV_El): Likewise.
49678 (log_test_data): Use AUTO_TESTS_f_f.
49679 (log10_test_data): Likewise.
49680 (log1p_test_data): Likewise.
49681 (log2_test_data): Likewise.
49682 (sin_test_data): Likewise.
49683 (sin_tonearest_test_data): Likewise.
49684 (sin_towardzero_test_data): Likewise.
49685 (sin_downward_test_data): Likewise.
49686 (sin_upward_test_data): Likewise.
49687 (sinh_test_data): Likewise.
49688 (sinh_tonearest_test_data): Likewise.
49689 (sinh_towardzero_test_data): Likewise.
49690 (sinh_downward_test_data): Likewise.
49691 (sinh_upward_test_data): Likewise.
49692 (tan_test_data): Likewise.
49693 (tan_tonearest_test_data): Likewise.
49694 (tan_towardzero_test_data): Likewise.
49695 (tan_downward_test_data): Likewise.
49696 (tan_upward_test_data): Likewise.
49697 (tanh_test_data): Likewise.
49698 (tgamma_test_data): Likewise.
49699 (y0_test_data): Likewise.
49700 (y1_test_data): Likewise.
49701 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49702 (special_real_inputs): Add pi/4.
49703 * sysdeps/i386/fpu/libm-test-ulps: Update.
49704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49705
49706 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49707
49708 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49709 "longjmp_target" static probes.
49710 (__longjmp): Rename to __longjmp_symbol.
49711 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49712 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49713 on which longjmp to generate.
49714 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49715 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49716 probe.
49717 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49718 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49719 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49720 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49721 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49722 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49724 __longjmp_symbol based on which __longjmp to generate.
49725 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49726 probe.
49727 (setjmp): Rename to setjmp_symbol.
49728 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49729 (_setjmp): Rename to _setjmp_symbol.
49730 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49731 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49732 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49733 which setjmp to generate.
49734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49735 "longjmp_target" static probes.
49736
49737 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49738
49739 * benchtests/README: Add note about output arguments.
49740 * benchtests/bench-sincos.c: Remove file.
49741 * benchtests/sincos-inputs: New file.
49742 * scripts/bench.pl: Identify output arguments and define
49743 static variables for them.
49744
49745 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49746
49747 [BZ #15941]
49748 * Makefile (INSTALL): Add install-plain.texi as the primary
49749 dependency.
49750 * manual/install-plain.texi: New file.
49751 * manual/install.texi: Include node directive only for
49752 non-plaintext output.
49753
49754 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49755
49756 * stdlib/longlong.h: Update from GCC.
49757
49758 [BZ #6807]
49759 [BZ #15901]
49760 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49761 * math/w_j0f.c (y0f): Likewise.
49762 * math/w_j0l.c (__y0l): Likewise.
49763 * math/w_j1.c (y1): Likewise.
49764 * math/w_j1f.c (y1f): Likewise.
49765 * math/w_j1l.c (__y1l): Likewise.
49766 * math/w_jn.c (yn): Likewise.
49767 * math/w_jnf.c (ynf): Likewise.
49768 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49769 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49770 value for Bessel function domain errors outside _SVID_ mode.
49771 Adjust sign of return value for yn (negative integer, 0).
49772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49773 by zero in return for negative x and set sign appropriately for
49774 negative n.
49775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49777 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49778 expectations in error cases.
49779 (y1_test_data): Likewise.
49780 (yn_test_data): Likewise.
49781 * sysdeps/i386/fpu/libm-test-ulps: Update.
49782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49783
49784 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49785
49786 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49787 "64" to "64-v1". Add "64-v2".
49788 (abi-64-options): Rename to ...
49789 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49790 (abi-64-condition): Rename to ...
49791 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49792 (abi-64-ld-soname): Rename to ...
49793 (abi-64-v1-ld-soname): ... this.
49794 (abi-64-v2-options): Define.
49795 (abi-64-v2-condition): Likewise.
49796 (abi-64-v2-ld-soname): Likewise.
49797 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49798 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49802
49803 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49804 Alan Modra <amodra@gmail.com>
49805
49806 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49807 New versions for use with the ELFv2 ABI.
49808 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49809 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49810 declaration.
49811 (struct La_ppc64v2_retval): Likewise.
49812 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49813 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49814 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49815 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49816 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49817 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49818 Do not save or restore CR.
49819 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49820 (_dl_profile_resolve): Do no save or restore CR. Support extended
49821 return values for ELFv2 ABI. Fix location of FPR return registers.
49822 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49823 updated values for _CALL_ELF == 2.
49824 (La_regs, La_retval, int_retval): Likewise.
49825
49826 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49827
49828 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49829 (FRAME_MIN_SIZE_PARM): Likewise.
49830 (FRAME_BACKCHAIN): Likewise.
49831 (FRAME_CR_SAVE): Likewise.
49832 (FRAME_LR_SAVE): Likewise.
49833 (FRAME_TOC_SAVE): Likewise.
49834 (FRAME_PARM_SAVE): Likewise.
49835 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49836 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49837 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49838 (call_mcount_parm_offset): New macro.
49839 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49840 (PROF): Use symbolic stack frame offsets.
49841 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49842 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49843 Redefine in terms of FRAME_MIN_SIZE.
49844 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49845 (_dl_profile_resolve): Likewise. Update comment.
49846 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49847 symbols stack frame offsets.
49848 (__sigsetjmp): Likewise.
49849 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49850 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49851 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49852 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49853
49854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49855 (FRAME_BACKCHAIN): Remove.
49856 (FRAME_CR_SAVE): Likewise.
49857 (FRAME_LR_SAVE): Likewise.
49858 (FRAME_COMPILER_DW): Likewise.
49859 (FRAME_LINKER_DW): Likewise.
49860 (FRAME_TOC_SAVE): Likewise.
49861 (FRAME_PARM_SAVE): Likewise.
49862 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49863 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49864 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49866 (CHECK_SP): Use symbolic stack frame offsets.
49867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49868 zone" instead of caller's parameter save area for temp storage.
49869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49870 Likewise. Also, use symbolic stack frame offsets.
49871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49872 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49873 our own stack frame instead of the caller's.
49874 (__socket): Use symbolic stack frame offsets.
49875
49876 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49877 Alan Modra <amodra@gmail.com>
49878
49879 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49880 Define.
49881 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49882 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49883 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49884 New function.
49885 (elf_machine_fixup_plt): Call it.
49886 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49887 reloc arguments.
49888 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49890 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49891 r2 before calling target.
49892
49893 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49894 Alan Modra <amodra@gmail.com>
49895
49896 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49897 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49898 versions of macros to support ELFv2 ABI.
49899 (LOCALENTRY): New macro.
49900 (ENTRY, EALIGN): Use it.
49901 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49902 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49903 fall through into ENTRY entry point.
49904 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49905 Only define if _CALL_ELF != 2.
49906
49907 (elf_machine_matches_host): Verify ABI version matches.
49908 (RTLD_START): Use LOCALENTRY.
49909 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49910 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49911 (PLT_ENTRY_WORDS): New macro.
49912 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49913 (elf_machine_runtime_setup): Support ELFv2 ABI.
49914 (elf_machine_fixup_plt): Likewise.
49915 (elf_machine_plt_conflict): Likewise.
49916 (resolve_ifunc): Likewise.
49917 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49919 Likewise.
49920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49921 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49923 (makecontext): Support ELFv2 ABI.
49924 * elf/elf.h (EF_PPC64_ABI): Define.
49925
49926 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49927
49928 * sysdeps/powerpc/powerpc64/sysdep.h
49929 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49930 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49931 (ENTRY) [ASSEMBLER]: ... but instead here ...
49932 (EALIGN) [ASSEMBLER]: ... and here.
49933 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49934 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49935 (ENTRY_2) [!ASSEMBLER]: Use it.
49936 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49937 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49938 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49939 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49940 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49942 Use PPC64_LOAD_FUNCPTR.
49943
49944 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49945
49946 2013-12-04 Alan Modra <amodra@gmail.com>
49947
49948 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49949 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49950 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49951 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49952
49953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49954 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49955 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49956 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49957 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49958 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49959
49960 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49961
49962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49963 (__makecontext): Fix incorrect CFI when backtracing out of
49964 context created via makecontext.
49965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49966 (__setcontext): Fix incorrect CFI during switch to new context.
49967 (__novec_setcontext): Likewise.
49968
49969 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49970
49971 [BZ #4772]
49972 * time/strptime_l.c (__strptime_internal): Allow modifiers
49973 in strptime.
49974 * time/tst-strptime.c (day_tests): Add testcase.
49975
49976 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49977
49978 * scripts/bench.pl: Skip over blank lines.
49979
49980 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49981
49982 [BZ #926]
49983 * manual/time.texi (Calendar Time): Clarify what timezone functions
49984 use.
49985
49986 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49987
49988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49989
49990 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49991
49992 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49993 implementation.
49994 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49995 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49996 * debug/memset_chk.c (__memset_chk): Likewise.
49997 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49998 * debug/strncpy_chk.c: Likewise.
49999
50000 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50001
50002 [BZ #15268]
50003 [BZ #15425]
50004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50005 (__ieee754_exp): For possibly underflowing results, check size of
50006 result and force underflow exception if required.
50007 * math/auto-libm-test-in: Add more tests of exp.
50008 * math/auto-libm-test-out: Regenerated.
50009 * sysdeps/i386/fpu/libm-test-ulps: Update.
50010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50011
50012 [BZ #16283]
50013 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50014 * math/w_exp2f.c (__exp2f): Likewise.
50015 * math/w_exp2l.c (__exp2l): Likewise.
50016 * math/auto-libm-test-in: Do not allow missing errno on exp2
50017 underflow.
50018 * math/auto-libm-test-out: Regenerated.
50019
50020 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
50021
50022 [BZ #16274]
50023 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50024 handle filename validation.
50025 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50026 (do_open): Delete.
50027
50028 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50029
50030 [BZ #6786]
50031 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50032 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50033 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50034 <float.h>.
50035 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50037 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50039 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50041 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50042 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50043 Add more erfc tests.
50044 * math/auto-libm-test-out: Regenerated.
50045 * sysdeps/i386/fpu/libm-test-ulps: Update.
50046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50047
50048 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50049 exp2, expm1, j0 and j1.
50050 * math/auto-libm-test-out: Regenerated.
50051 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50052 (erfc_test_data): Likewise.
50053 (exp_test_data): Likewise.
50054 (exp_tonearest_test_data): Likewise.
50055 (exp_towardzero_test_data): Likewise.
50056 (exp_downward_test_data): Likewise.
50057 (exp_upward_test_data): Likewise.
50058 (exp10_test_data): Likewise.
50059 (exp2_test_data): Likewise.
50060 (expm1_test_data): Likewise.
50061 (j0_test_data): Likewise.
50062 (j1_test_data): Likewise.
50063 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50064 (input_flag_type): Add flag_xfail_rounding.
50065 (input_flags): Add xfail-rounding.
50066 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50067 (output_for_one_input_case): Handle flag_xfail_rounding.
50068 * sysdeps/i386/fpu/libm-test-ulps: Update.
50069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50070
50071 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50072
50073 [BZ #16289]
50074 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50075 division by 0.
50076
50077 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50078
50079 [BZ #16195]
50080 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50081 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50082 (STAP_PROBE0): New macro.
50083 (STAP_PROBE1): Likewise.
50084 (STAP_PROBE2): Likewise.
50085 (STAP_PROBE3): Likewise.
50086 (STAP_PROBE4): Likewise.
50087
50088 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50089
50090 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50091
50092 2013-12-02 Steve Ellcey <sellcey@mips.com>
50093
50094 * benchtests/Makefile (bench): Add sqrt.
50095 (LDLIBS-bench-sqrt): New.
50096 * benchtests/sqrt-input: New.
50097
50098 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50099
50100 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50101 (GAIH_EAI): Likewise.
50102 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50103 (gaih_inet): Likewise.
50104 (getaddrinfo): Don't use GAIH_EAI.
50105
50106 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50107 (struct gaih): Remove definition.
50108
50109 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50110
50111 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50112 Use HERRNOP directly.
50113
50114 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50115
50116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50117
50118 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50119
50120 * math/gen-auto-libm-tests.c (test_functions): Add more
50121 single-argument functions.
50122 (special_fill_pi_2): New function.
50123 (special_fill_minus_pi_2): Likewise.
50124 (special_fill_pi_6): Likewise.
50125 (special_fill_minus_pi_6): Likewise.
50126 (special_fill_pi_3): Likewise.
50127 (special_fill_2pi_3): Likewise.
50128 (special_fill_e): Likewise.
50129 (special_fill_1_e): Likewise.
50130 (special_fill_e_minus_1): Likewise.
50131 (special_real_inputs): Add more special inputs.
50132 (output_for_one_input_case): Do not require ERANGE on underflow to
50133 zero if round-to-nearest result does not underflow to zero, unless
50134 exact results required.
50135 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50136 atan, atanh, cbrt, cos and cosh.
50137 * math/auto-libm-test-out: Regenerated.
50138 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50139 (acos_tonearest_test_data): Likewise.
50140 (acos_towardzero_test_data): Likewise.
50141 (acos_downward_test_data): Likewise.
50142 (acos_upward_test_data): Likewise.
50143 (acosh_test_data): Likewise.
50144 (asin_test_data): Likewise.
50145 (asin_tonearest_test_data): Likewise.
50146 (asin_towardzero_test_data): Likewise.
50147 (asin_upward_test_data): Likewise.
50148 (asinh_test_data): Likewise.
50149 (atan_test_data): Likewise.
50150 (atanh_test_data): Likewise.
50151 (cbrt_test_data): Likewise.
50152 (cos_test_data): Likewise.
50153 (cos_tonearest_test_data): Likewise.
50154 (cos_towardzero_test_data): Likewise.
50155 (cos_downward_test_data): Likewise.
50156 (cos_upward_test_data): Likewise.
50157 (cosh_test_data): Likewise.
50158 (cosh_tonearest_test_data): Likewise.
50159 (cosh_towardzero_test_data): Likewise.
50160 (cosh_downward_test_data): Likewise.
50161 (cosh_upward_test_data): Likewise.
50162 * sysdeps/i386/fpu/libm-test-ulps: Update.
50163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50164
50165 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50166
50167 [BZ #6787]
50168 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50169 * math/w_exp10f.c (__exp10f): Likewise.
50170 * math/w_exp10l.c (__exp10l): Likewise.
50171 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50172 errno settings in existing tests.
50173
50174 [BZ #14032]
50175 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50176 precision control set to double precision.
50177 * sysdeps/i386/fpu/w_sqrt.c: New file.
50178 * math/auto-libm-test-in: Add more tests.
50179 * math/auto-libm-test-out: Update.
50180
50181 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50182 (sqrt_test_tonearest): New function.
50183 (sqrt_towardzero_test_data): New variable.
50184 (sqrt_test_towardzero): New function.
50185 (sqrt_downward_test_data): New variable.
50186 (sqrt_test_downward): New function.
50187 (sqrt_upward_test_data): New variable.
50188 (sqrt_test_upward): New function.
50189 (main): Call the new functions.
50190
50191 * math/gen-auto-libm-tests.c: New file.
50192 * math/auto-libm-test-in: Likewise.
50193 * math/auto-libm-test-out: New generated file.
50194 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50195 variables.
50196 (%beautify): Add generated representations of zero.
50197 (top level): Set $auto_input and call parse_auto_input.
50198 (beautify): Remove trailing "f" from hex float constants.
50199 (parse_args): Handle XFAIL_TEST.
50200 (convert_condition): New function.
50201 (or_value): Likewise.
50202 (or_cond_value): Likewise.
50203 (generate_testfile): Handle AUTO_TESTS_* lines.
50204 (parse_auto_input): New function.
50205 * math/libm-test.inc (XFAIL_TEST): New macro.
50206 (ERRNO_UNCHANGED): Update value.
50207 (ERRNO_EDOM): Likewise.
50208 (ERRNO_ERANGE): Likewise.
50209 (IGNORE_RESULT): Likewise.
50210 (TEST_COND_flt_32): New macro.
50211 (TEST_COND_dbl_64): Likewise.
50212 (TEST_COND_ldbl_96_intel): Likewise.
50213 (TEST_COND_ldbl_96_m68k): Likewise.
50214 (TEST_COND_ldbl_128): Likewise.
50215 (TEST_COND_ldbl_128ibm): Likewise.
50216 (TEST_COND_long32): Likewise.
50217 (TEST_COND_long64): Likewise.
50218 (TEST_COND_before_rounding): Likewise.
50219 (TEST_COND_after_rounding): Likewise.
50220 (enable_test): Handle XFAIL_TEST flag.
50221 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50222 with finite results.
50223 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50224 auto-libm-test-out.
50225
50226 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50227 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50228
50229 [BZ #16214]
50230 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50231 __tls_get_addr_internal instead of __tls_get_offset in order to
50232 avoid GOT pointer dependency. Make rtld export
50233 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50234 __tls_get_addr since we are a __tls_get_offset platform.
50235 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50236 GOT pointer being set up before.
50237 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50238
50239 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50240
50241 * manual/math.texi (Errors in Math Functions): Document accuracy
50242 goals.
50243
50244 [BZ #15004]
50245 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50246 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50248 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50249 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50250 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50251 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50252 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50255 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50256 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50257 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50260 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50261
50262 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50263 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50264 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50265 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50266 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50267 Likewise.
50268 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50269 Likewise.
50270 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50271 Likewise.
50272 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50273 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50274 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50275 atomic-feupdateenv and flt-rounds.
50276 * sysdeps/powerpc/nofpu/Versions (libc): Add
50277 __atomic_feholdexcept, __atomic_feclearexcept,
50278 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50280 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50281 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50282 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50283 here.
50284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50285 Update.
50286
50287 * manual/arith.texi (FP Exceptions): Document that exceptions may
50288 not be raised when matherr is used.
50289 (Math Error Reporting): Document overflow in directed rounding
50290 modes. Document that errno may not be set when finite values are
50291 returned on overflow. Document intent to set errno on underflow
50292 only for underflow to zero.
50293
50294 [BZ #16271]
50295 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50296 round-to-nearest then adjust result for other rounding modes.
50297 * include/fenv.h (fegetround): Use libm_hidden_proto.
50298 * math/fegetround.c (fegetround): Use libm_hidden_def.
50299 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50300 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50301 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50302 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50303 Likewise.
50304 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50305 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50306 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50307 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50308
50309 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50310
50311 [BZ #16077]
50312 * nss/Versions (libnss_files): Add
50313 _nss_files_gethostbyname3_r.
50314 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50315 New function.
50316 (HOST_DB_LOOKUP): Remove macro.
50317 (_nss_files_gethostbyname_r): Implement function without the
50318 HOST_DB_LOOKUP macro.
50319 (_nss_files_gethostbyname2_r): Likewise.
50320
50321 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50322
50323 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50324
50325 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50326
50327 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50328 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50329 warning.
50330
50331 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50332
50333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50334 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50336 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50337 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50338 __fe_nomask_env_priv and attribute_hidden.
50339 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50340 (libc_feupdateenv_test_ppc): Likewise.
50341 (libc_feresetround_ppc): Likewise.
50342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50343 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50344 compat_symbol macro.
50345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50346 (__fe_nomask_env): Likewise.
50347 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50348
50349 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50350
50351 * string/Makefile: Remove ifunc tests.
50352 * string/test-string.h: Define TEST_IFUNC.
50353 * string/test-bcopy-ifunc.c: Remove.
50354 * string/test-bzero-ifunc.c: Likewise.
50355 * string/test-memccpy-ifunc.c: Likewise.
50356 * string/test-memchr-ifunc.c: Likewise.
50357 * string/test-memcmp-ifunc.c: Likewise.
50358 * string/test-memcpy-ifunc.c: Likewise.
50359 * string/test-memmem-ifunc.c: Likewise.
50360 * string/test-memmove-ifunc.c: Likewise.
50361 * string/test-mempcpy-ifunc.c: Likewise.
50362 * string/test-memrchr-ifunc.c: Likewise.
50363 * string/test-memset-ifunc.c: Likewise.
50364 * string/test-rawmemchr-ifunc.c: Likewise.
50365 * string/test-stpcpy-ifunc.c: Likewise.
50366 * string/test-stpncpy-ifunc.c: Likewise.
50367 * string/test-strcasecmp-ifunc.c: Likewise.
50368 * string/test-strcasestr-ifunc.c: Likewise.
50369 * string/test-strcat-ifunc.c: Likewise.
50370 * string/test-strchr-ifunc.c: Likewise.
50371 * string/test-strchrnul-ifunc.c: Likewise.
50372 * string/test-strcmp-ifunc.c: Likewise.
50373 * string/test-strcpy-ifunc.c: Likewise.
50374 * string/test-strcspn-ifunc.c: Likewise.
50375 * string/test-strlen-ifunc.c: Likewise.
50376 * string/test-strncasecmp-ifunc.c: Likewise.
50377 * string/test-strncat-ifunc.c: Likewise.
50378 * string/test-strncmp-ifunc.c: Likewise.
50379 * string/test-strncpy-ifunc.c: Likewise.
50380 * string/test-strnlen-ifunc.c: Likewise.
50381 * string/test-strpbrk-ifunc.c: Likewise.
50382 * string/test-strrchr-ifunc.c: Likewise.
50383 * string/test-strspn-ifunc.c: Likewise.
50384 * string/test-strstr-ifunc.c: Likewise.
50385
50386 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50387
50388 * benchtests/Makefile: Remove ifunc tests.
50389 * benchtests/bench-string.h: Define TEST_IFUNC.
50390 * benchtests/bench-bcopy-ifunc.c: Remove.
50391 * benchtests/bench-bzero-ifunc.c: Likewise.
50392 * benchtests/bench-memccpy-ifunc.c: Likewise.
50393 * benchtests/bench-memchr-ifunc.c: Likewise.
50394 * benchtests/bench-memcmp-ifunc.c: Likewise.
50395 * benchtests/bench-memcpy-ifunc.c: Likewise.
50396 * benchtests/bench-memmem-ifunc.c: Likewise.
50397 * benchtests/bench-memmove-ifunc.c: Likewise.
50398 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50399 * benchtests/bench-memrchr-ifunc.c: Likewise.
50400 * benchtests/bench-memset-ifunc.c: Likewise.
50401 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50402 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50403 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50404 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50405 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50406 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50407 * benchtests/bench-strcat-ifunc.c: Likewise.
50408 * benchtests/bench-strchr-ifunc.c: Likewise.
50409 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50410 * benchtests/bench-strcmp-ifunc.c: Likewise.
50411 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50412 * benchtests/bench-strcpy-ifunc.c: Likewise.
50413 * benchtests/bench-strcspn-ifunc.c: Likewise.
50414 * benchtests/bench-strlen-ifunc.c: Likewise.
50415 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50416 * benchtests/bench-strncat-ifunc.c: Likewise.
50417 * benchtests/bench-strncmp-ifunc.c: Likewise.
50418 * benchtests/bench-strncpy-ifunc.c: Likewise.
50419 * benchtests/bench-strnlen-ifunc.c: Likewise.
50420 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50421 * benchtests/bench-strrchr-ifunc.c: Likewise.
50422 * benchtests/bench-strsep-ifunc.c: Likewise.
50423 * benchtests/bench-strspn-ifunc.c: Likewise.
50424 * benchtests/bench-strstr-ifunc.c: Likewise.
50425
50426 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50427
50428 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50429
50430 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50431
50432 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50433 * rt/aio.h: Likewise.
50434 * sysdeps/gnu/bits/utmp.h: Likewise.
50435 * sysdeps/gnu/bits/utmpx.h: Likewise.
50436 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50437 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50438 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50439 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50440 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50441 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50442 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50443 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50444 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50445 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50446 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50447 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50448 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50451 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50452 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50453 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50454 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50455 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50456 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50457 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50458 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50459 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50460 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50462 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50463 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50464 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50465 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50466 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50467 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50468 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50469 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50470 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50471 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50472 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50473 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50474 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50475 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50476 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50477 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50478
50479 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50480
50481 [BZ #16245]
50482 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50483 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50484
50485 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50486
50487 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50488 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50489 Likewise.
50490
50491 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50492
50493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50494 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50495 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50496 (__fesetround): Remove define.
50497 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50498 rounding and exceptions handling.
50499 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50500 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50501 (__fe_nomask_env): Likewise.
50502 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50503 __fegetround instead of fegetround.
50504 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50505 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50506
50507 2013-11-21 Roland McGrath <roland@hack.frob.com>
50508
50509 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50510 it's there.
50511
50512 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50513
50514 2013-11-21 Meador Inge <meadori@codesourcery.com>
50515
50516 [BZ #11157]
50517 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50518 (encrypt_r): Likewise.
50519 * malloc/obstack.h (obstack_free): Likewise.
50520 * posix/unistd.h (encrypt): Likewise.
50521
50522 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50523
50524 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50525 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50526 DL_CALL_DT_FINI() that call the functions directly.
50527 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50528 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50529 * elf/dl-fini.c: Likewise.
50530
50531 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50532
50533 * malloc/hooks.c (memalign_check): Add alignment rounding.
50534 * malloc/malloc.c (_mid_memalign): New function.
50535 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50536 Implement by calling _mid_memalign.
50537 * manual/probes.texi (Memory Allocation Probes): Remove
50538 memory_valloc_retry and memory_pvalloc_retry.
50539
50540 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50541
50542 * locale/programs/locarchive.c (open_archive): Add const
50543 qualifier to ARCHIVEFNAME and copy default fname to
50544 DEFAULT_FNAME.
50545
50546 [BZ #15601]
50547 * libio/tst-widetext.input: Rename Oriya to Odia.
50548 * locale/iso-639.def: Likewise.
50549
50550 * manual/probes.texi (Mathematical Function Probes): Add
50551 documentation for sin, cos, asin and acos probes.
50552 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50553 (__sin32): Add slowasin probe.
50554 (__cos32): Add slowacos probe.
50555 (__mpsin): Add slowsin probe.
50556 (__mpcos): Add slowcos probe.
50557
50558 2013-11-19 Joseph Myers <joseph@codesourcery.com>
50559
50560 [BZ #15483]
50561 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50562 thread-local __sim_exceptions_thread and global
50563 __sim_exceptions_global.
50564 (__sim_disabled_exceptions): Change to thread-local
50565 __sim_disabled_exceptions_thread and global
50566 __sim_disabled_exceptions_global.
50567 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50568 and global __sim_round_mode_global.
50569 (__simulate_exceptions): Use thread-local floating-point state and
50570 set global state from it as needed.
50571 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50572 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50573 __sim_round_mode_thread.
50574 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50575 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50576 and global __sim_exceptions_global.
50577 (__sim_disabled_exceptions): Change to thread-local
50578 __sim_disabled_exceptions_thread and global
50579 __sim_disabled_exceptions_global.
50580 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50581 and global __sim_round_mode_global.
50582 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50583 (SIM_SET_GLOBAL): Likewise.
50584 * sysdeps/powerpc/soft-fp/sfp-machine.h
50585 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50586 __sim_round_mode_thread.
50587 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50588 __sim_disabled_exceptions_thread.
50589 (__sim_exceptions): Change to __sim_exceptions_thread.
50590 (__sim_disabled_exceptions): Change to
50591 __sim_disabled_exceptions_thread.
50592 (__sim_round_mode): Change to __sim_round_mode_thread.
50593 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50594 thread-local floating-point state and set global state from it as
50595 needed.
50596 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50597 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50598 (__sim_disabled_exceptions): Remove extern declaration.
50599 (feenableexcept): Use thread-local floating-point state and set
50600 global state from it as needed.
50601 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50602 extern declaration.
50603 (__sim_disabled_exceptions): Likewise.
50604 (__sim_round_mode): Likewise.
50605 (__fegetenv): Use thread-local floating-point state.
50606 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50607 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50608 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50609 floating-point state and set global state from it as needed.
50610 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50611 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50612 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50613 Likewise.
50614 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50615 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50616 Likewise.
50617 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50618 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50619 Use __sim_round_mode_thread.
50620 * math/test-fenv-tls.c: New file.
50621 * math/Makefile (tests): Add test-fenv-tls.
50622 ($(objpfx)test-fenv-tls): Depend on
50623 $(common-objpfx)nptl/libpthread.so.
50624
50625 2013-11-19 Andreas Schwab <schwab@suse.de>
50626
50627 * locale/programs/locale.c (show_info): Decode wordarray elements.
50628 * locale/categories.def (LC_MONETARY): Add element for
50629 _NL_MONETARY_CRNCYSTR.
50630 * locale/C-monetary.c (conversion_rate): New variable.
50631 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50632 element.
50633
50634 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50635
50636 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50637 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50638
50639 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50640
50641 * elf/Makefile (tst-auxv): New test.
50642 * elf/tst-auxv.c: New
50643 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50644
50645 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50646
50647 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50648 (hidden_proto): Caller changed.
50649 (hidden_tls_proto): New macro.
50650 (libc_hidden_tls_proto): Likewise.
50651 (rtld_hidden_tls_proto): Likewise.
50652 (libm_hidden_tls_proto): Likewise.
50653 (libresolv_hidden_tls_proto): Likewise.
50654 (librt_hidden_tls_proto): Likewise.
50655 (libdl_hidden_tls_proto): Likewise.
50656 (libnss_files_hidden_tls_proto): Likewise.
50657 (libnsl_hidden_tls_proto): Likewise.
50658 (libnss_nisplus_hidden_tls_proto): Likewise.
50659 (libutil_hidden_tls_proto): Likewise.
50660
50661 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50662
50663 [BZ #10253]
50664 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50665 (decompose_rpath): Defer expansion to fillin_rpath.
50666 (_dl_init_paths): Pass linkmap to fillin_rpath.
50667
50668 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50669
50670 * benchtests/Makefile: Add strsep.
50671 * benchtests/bench-strsep.c: New file: strsep benchtest.
50672 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50673
50674 2013-11-18 Andreas Schwab <schwab@suse.de>
50675
50676 * locale/programs/locale.c (show_info) [case byte]: Check for
50677 '\377' instead of '\177'.
50678 * locale/C-monetary.c (not_available): Always use "\377".
50679 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50680 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50681 detect unavailable sign_posn locale elements.
50682 * locale/localeconv.c (__localeconv): For grouping and
50683 mon_grouping handle "\177" and "\377" like no grouping.
50684 (INT_ELEM): New macro. Use it to set all numeric members.
50685 * locale/programs/ld-monetary.c (monetary_read)
50686 <tok_mon_grouping>: Normalize single -1 to the empty string.
50687 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50688 Likewise.
50689
50690 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50691
50692 [BZ #16055]
50693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50694 when we match (nil).
50695 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50696
50697 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50698
50699 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50700 (NO_TEST_INLINE): Update value.
50701 (ERRNO_UNCHANGED): Likewise.
50702 (ERRNO_EDOM): Likewise.
50703 (ERRNO_ERANGE): Likewise.
50704 (IGNORE_RESULT): Likewise.
50705 (check_float_internal): Check signs of NaN results if
50706 TEST_NAN_SIGN used.
50707 (check_complex): Pass TEST_NAN_SIGN flag through to second
50708 check_float_internal call.
50709 (copysign_test_data): Add tests with quiet NaNs as second
50710 argument. Use TEST_NAN_SIGN.
50711 (fabs_test_data): Add test of negative quiet NaN argument. Use
50712 TEST_NAN_SIGN.
50713 (signbit_test_data): Add tests of quiet NaN argument.
50714 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50715
50716 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50717 $ignore_result.
50718 (parse_args): Handle function results specified as IGNORE.
50719 * math/libm-test.inc (IGNORE_RESULT): New macro.
50720 (check_float_internal): Do not check numerical result if flag
50721 IGNORE_RESULT set.
50722 (check_complex): Pass through IGNORE_RESULT to second
50723 check_float_internal call.
50724 (check_int): Do not check numerical result if flag IGNORE_RESULT
50725 set.
50726 (check_long): Likewise.
50727 (check_bool): Likewise.
50728 (check_longlong): Likewise.
50729 (lrint_test_data): Add tests of infinite and NaN arguments.
50730 (lrint_tonearest_test_data): Likewise.
50731 (lrint_towardzero_test_data): Likewise.
50732 (lrint_downward_test_data): Likewise.
50733 (lrint_upward_test_data): Likewise.
50734 (llrint_test_data): Likewise.
50735 (llrint_tonearest_test_data): Likewise.
50736 (llrint_towardzero_test_data): Likewise.
50737 (llrint_downward_test_data): Likewise.
50738 (llrint_upward_test_data): Likewise.
50739 (lround_test_data): Likewise.
50740 (llround_test_data): Likewise.
50741
50742 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50743 (ERRNO_UNCHANGED): Update value.
50744 (ERRNO_EDOM): Likewise.
50745 (ERRNO_ERANGE): Likewise.
50746 (NO_TEST_INLINE_FLOAT): New macro.
50747 (NO_TEST_INLINE_DOUBLE): Likewise.
50748 (enable_test): New function.
50749 (RUN_TEST_f_f): Check enable_test before running test.
50750 (RUN_TEST_2_f): Likewise.
50751 (RUN_TEST_fff_f): Likewise.
50752 (RUN_TEST_c_f): Likewise.
50753 (RUN_TEST_f_f1): Likewise.
50754 (RUN_TEST_fF_f1): Likewise.
50755 (RUN_TEST_fI_f1): Likewise.
50756 (RUN_TEST_ffI_f1): Likewise.
50757 (RUN_TEST_c_c): Likewise.
50758 (RUN_TEST_cc_c): Likewise.
50759 (RUN_TEST_f_i): Likewise.
50760 (RUN_TEST_f_i_tg): Likewise.
50761 (RUN_TEST_ff_i_tg): Likewise.
50762 (RUN_TEST_f_b): Likewise.
50763 (RUN_TEST_f_b_tg): Likewise.
50764 (RUN_TEST_f_l): Likewise.
50765 (RUN_TEST_f_L): Likewise.
50766 (RUN_TEST_fFF_11): Likewise.
50767 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50768 conditionals.
50769 (cosh_test_data): Likewise.
50770 (exp_test_data): Likewise.
50771 (expm1_test_data): Likewise.
50772 (hypot_test_data): Likewise.
50773 (pow_test_data): Likewise.
50774 (sinh_test_data): Likewise.
50775 (tanh_test_data): Likewise.
50776 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50777 flags argument.
50778
50779 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50780 tests with quiet NaN input and output.
50781 (acosh_test_data): Likewise.
50782 (asin_test_data): Likewise.
50783 (asinh_test_data): Likewise.
50784 (atan_test_data): Likewise.
50785 (atanh_test_data): Likewise.
50786 (atan2_test_data): Likewise.
50787 (cbrt_test_data): Likewise.
50788 (cos_test_data): Likewise.
50789 (cosh_test_data): Likewise.
50790 (erf_test_data): Likewise.
50791 (erfc_test_data): Likewise.
50792 (exp_test_data): Likewise.
50793 (exp10_test_data): Likewise.
50794 (exp2_test_data): Likewise.
50795 (expm1_test_data): Likewise.
50796 (hypot_test_data): Likewise.
50797 (j0_test_data): Likewise.
50798 (j1_test_data): Likewise.
50799 (jn_test_data): Likewise.
50800 (lgamma_test_data): Likewise.
50801 (log_test_data): Likewise.
50802 (log10_test_data): Likewise.
50803 (log1p_test_data): Likewise.
50804 (log2_test_data): Likewise.
50805 (pow_test_data): Likewise.
50806 (scalb_test_data): Likewise.
50807 (sin_test_data): Likewise.
50808 (sincos_test_data): Likewise.
50809 (sinh_test_data): Likewise.
50810 (tan_test_data): Likewise.
50811 (tanh_test_data): Likewise.
50812 (tgamma_test_data): Likewise.
50813 (y0_test_data): Likewise.
50814 (y1_test_data): Likewise.
50815 (yn_test_data): Likewise.
50816
50817 [BZ #16167]
50818 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50819 argument being NaN and avoid computations with second argument in
50820 that case.
50821 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50822 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50823 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50824
50825 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50826
50827 * locale/iso-639.def: Add Chitwani Tharu (the).
50828
50829 2013-11-14 Andreas Schwab <schwab@suse.de>
50830
50831 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50832 word instead of empty string.
50833
50834 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50835
50836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50837 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50839 (__fe_nomask_env): Likewise.
50840
50841 2013-11-13 Steve Ellcey <sellcey@mips.com>
50842
50843 * benchtests/bench-timing.h: Include time.h.
50844
50845 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50846
50847 [BZ #15997]
50848 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50849 to 3.4.0 for x32.
50850 * sysdeps/unix/sysv/linux/configure: Regenerated.
50851
50852 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50853
50854 [BZ #16151]
50855 * stdlib/strtod_l.c (round_and_return): Do not consider
50856 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50857 exponent one less than half the least subnormal exponent.
50858 * stdlib/test-strtod-round-data: Add more tests.
50859 * stdlib/tst-strtod-round.c (tests): Regenerated.
50860
50861 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50862
50863 [BZ #14143]
50864 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50865 (__fe_mask_env): Likewise.
50866 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50867 libm_hidden_proto and add function prototype.
50868 (__fe_mask_env): Add function prototype.
50869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50870 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50872 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50874 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50875
50876 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50877
50878 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50879 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50880
50881 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50882
50883 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50884 of htab_find_slot().
50885
50886 2013-11-11 David S. Miller <davem@davemloft.net>
50887
50888 [BZ #16150]
50889 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50890 symbol in the non-vis3 case in static builds.
50891 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50892 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50893 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50894 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50895
50896 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50897
50898 [BZ #387]
50899 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50900 it is empty.
50901
50902 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50903
50904 * benchtests/Makefile: Add bench-strtod.
50905 * benchtests/bench-strtod.c: New file: strtod benchtest
50906
50907 2013-11-11 Andreas Schwab <schwab@suse.de>
50908
50909 [BZ #16153]
50910 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50911 terminating NUL in key length.
50912
50913 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50914
50915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50916 Add artificial ODP entry for vDSO symbol for PPC64.
50917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50918 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50919
50920 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50921
50922 [BZ #15374]
50923 * nss/getent.c (services_keys): Recognize services starting with digit.
50924
50925 2013-11-06 David S. Miller <davem@davemloft.net>
50926
50927 [BZ #15985]
50928 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50929 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50930
50931 2013-11-06 Will Newton <will.newton@linaro.org>
50932
50933 * manual/memory.texi (Malloc Examples): Remove register
50934 keyword from examples.
50935
50936 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50937
50938 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50939
50940 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50941
50942 [BZ #6981]
50943 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50944 depending on [__GCC_IEC_559 > 0].
50945 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50946 depending on [__GCC_IEC_559_COMPLEX > 0].
50947
50948 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50949
50950 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50951 to iso-639.def.
50952
50953 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50954
50955 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50956
50957 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50958
50959 [BZ #16112]
50960 * malloc/malloc (malloc_info): Do not handle first bin as
50961 special case.
50962
50963 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50964
50965 * locale/iso-639.def: Add Central Nahuatl (nhn).
50966
50967 2013-11-01 Bruno Haible <bruno@clisp.org>
50968
50969 [BZ #7003]
50970 * manual/math.texi (BSD Random): Specify range upper bound as
50971 in POSIX.
50972
50973 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50974
50975 * locale/iso-639.def: Add Meadow Mari (mhr).
50976
50977 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50978
50979 [BZ #14752], [BZ #15763]
50980 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50981 Validate name.
50982 * rt/tst_shm.c: Add test for escaping directory.
50983
50984 2013-10-31 Andreas Schwab <schwab@suse.de>
50985
50986 [BZ #15917]
50987 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50988 followed by 'x' as part of digit sequence.
50989 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50990
50991 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50992
50993 [BZ #16037]
50994 * configure.ac: allow GNU Make 4.0 and greater.
50995 * configure: Regenerated.
50996
50997 2013-10-30 Will Newton <will.newton@linaro.org>
50998
50999 [BZ #16038]
51000 * malloc/hooks.c (memalign_check): Limit alignment to the
51001 maximum representable power of two.
51002 * malloc/malloc.c (__libc_memalign): Likewise.
51003 * malloc/tst-memalign.c (do_test): Add test for very
51004 large alignment values.
51005 * malloc/tst-posix_memalign.c (do_test): Likewise.
51006
51007 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51008
51009 [BZ #11087]
51010 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51011 (munmap_chunk): Likewise.
51012 (mremap_chunk): Likewise.
51013
51014 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51015
51016 [BZ #15799]
51017 * stdlib/div.c (div): Remove obsolete code.
51018 * stdlib/ldiv.c (ldiv): Likewise.
51019 * stdlib/lldiv.c (lldiv): Likewise.
51020
51021 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51022
51023 [BZ #16071]
51024 * nss/nss_files/files-XXX.c (get_contents_ret): New
51025 enumerator.
51026 (get_contents): New function.
51027 (internal_getent): Use it. Expand size of LINEBUFLEN.
51028
51029 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51030
51031 * configure.in: Moved to ...
51032 * configure.ac: ... here. Change reference to configure.in
51033 to configure.ac.
51034 * sysdeps/arm/preconfigure.ac: ... here.
51035 configure.in to configure.ac.
51036 * sysdeps/gnu/configure.in: Moved to ...
51037 * sysdeps/gnu/configure.ac: ... here.
51038 * sysdeps/i386/configure.in: Moved to ...
51039 * sysdeps/i386/configure.ac: ... here.
51040 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51041 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51042 * sysdeps/mach/configure.in: Moved to ...
51043 * sysdeps/mach/configure.ac: ... here.
51044 * sysdeps/mach/hurd/configure.in: Moved to ...
51045 * sysdeps/mach/hurd/configure.ac: ... here.
51046 * sysdeps/powerpc/configure.in: Moved to ...
51047 * sysdeps/powerpc/configure.ac: ... here.
51048 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51049 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51050 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51051 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51052 * sysdeps/s390/s390-32/configure.in: Moved to ...
51053 * sysdeps/s390/s390-32/configure.ac: ... here.
51054 * sysdeps/s390/s390-64/configure.in: Moved to ...
51055 * sysdeps/s390/s390-64/configure.ac: ... here.
51056 * sysdeps/sh/configure.in: Moved to ...
51057 * sysdeps/sh/configure.ac: ... here.
51058 * sysdeps/sparc/configure.in: Moved to ...
51059 * sysdeps/sparc/configure.ac: ... here.
51060 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51061 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51062 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51063 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51064 * sysdeps/x86_64/configure.in: Moved to ...
51065 * sysdeps/x86_64/configure.ac: ... here.
51066 * sysdeps/x86_64/preconfigure.in: Moved to ...
51067 * sysdeps/x86_64/preconfigure.ac: ... here.
51068 * aclocal.m4: Change reference to configure.in to configure.ac.
51069 * config.h.in: Likewise.
51070 * manual/install.texi: Likewise.
51071 * manual/maint.texi: Likewise.
51072 * Makefile: Likewise.
51073 * malloc/Makefile: Likewise.
51074 * nscd/Makefile: Likewise.
51075 * Makeconfig: Change reference to configure.in and
51076 preconfigure.in to configure.ac and preconfigure.ac
51077 respectively.
51078 * INSTALL: Regenerated.
51079 * configure: Likewise.
51080 * sysdeps/gnu/configure: Likewise.
51081 * sysdeps/i386/configure: Likewise.
51082 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51083 * sysdeps/mach/configure: Likewise.
51084 * sysdeps/mach/hurd/configure: Likewise.
51085 * sysdeps/powerpc/configure: Likewise.
51086 * sysdeps/powerpc/powerpc32/configure: Likewise.
51087 * sysdeps/powerpc/powerpc64/configure: Likewise.
51088 * sysdeps/s390/s390-32/configure: Likewise.
51089 * sysdeps/s390/s390-64/configure: Likewise.
51090 * sysdeps/sh/configure: Likewise.
51091 * sysdeps/sparc/configure: Likewise.
51092 * sysdeps/unix/sysv/linux/configure: Likewise.
51093 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51094 * sysdeps/x86_64/configure: Likewise.
51095 * sysdeps/x86_64/preconfigure: Likewise.
51096
51097 2013-10-29 Andreas Schwab <schwab@suse.de>
51098
51099 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51100
51101 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51102
51103 * benchtests/pow-inputs: Add new inputs.
51104
51105 * benchtests/exp-inputs: Add new inputs.
51106
51107 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51108 conditional check for return value.
51109 (__cos32): Likewise.
51110
51111 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51112
51113 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51114 to provide a boost for large inputs with word alignment.
51115 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51116 implementation based on optimized PPC64 strcpy.
51117 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51118 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51119 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51120 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51121
51122 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51123
51124 [BZ #2801]
51125 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51126
51127 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51128
51129 [BZ #14876]
51130 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51131 * time/tst-strptime.c (day_tests): Add testcase.
51132
51133 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51134
51135 [BZ #14029]
51136 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51137
51138 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51139
51140 [BZ #16074]
51141 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51142 MAP_FAILED on error.
51143
51144 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51145
51146 [BZ #16072]
51147 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51148 heap for large requests.
51149
51150 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51151
51152 [BZ #9954]
51153 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51154 result if the result has no associated interface.
51155 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51156 interface for all 127.X.Y.Z addresses.
51157
51158 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51159
51160 * locale/iso-639.def: Add Ligurian (lij)
51161
51162 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51163
51164 [BZ #15825]
51165 * sunrpc/rpc_main.c: Document rpcgen -5.
51166
51167 2013-10-19 Michael Stahl <mstahl@redhat.com>
51168
51169 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51170
51171 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51172
51173 [BZ #10278]
51174 * posix/glob.c: Match only directories when trailing slash is present.
51175 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51176 (main): Add testcase.
51177
51178 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51179
51180 [BZ #15670]
51181 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51182
51183 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51184
51185 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51186 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51187 AUTH_DES and cindex for FIPS 140-2.
51188 (DES Encryption): Add cindex FIPS 46-3.
51189
51190 * locale/locarchive.h (struct locarhandle): Add fname.
51191 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51192 if an optional argument was specified to --list-archive,
51193 otherwise NULL.
51194 * locale/programs/locarchive.c (show_archive_content): Take new
51195 argument fname and pass it via ah.fname to open_archive.
51196 * locale/programs/localedef.h: Update decl.
51197 (open_archive): If AH->fname is non-null, open that file
51198 rather than the default file name, and don't ignore ENOENT.
51199 (create_archive): Set AH.fname to NULL.
51200 (delete_locales_from_archive): Likewise.
51201 (add_locales_to_archive): Likewise.
51202 * locale/programs/locfile.c (write_all_categories): Likewise.
51203
51204 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51205 Aldy Hernandez <aldyh@redhat.com>
51206
51207 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51208 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51209 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51210 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51211 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51212 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51213 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51214 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51215 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51216 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51217 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51218 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51219 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51220 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51222 Likewise.
51223 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51224 Likewise.
51225 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51226 Likewise.
51227 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51228 Likewise.
51229 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51230 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51231 Likewise.
51232 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51233 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51234 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51235 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51236 Likewise.
51237 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51238 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51239 * sysdeps/powerpc/preconfigure: Likewise.
51240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51241 Likewise.
51242 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51243 Replace contents of file by #include of <fenv_libc.h>.
51244 * sysdeps/powerpc/soft-fp/sfp-machine.h
51245 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51246 and <sys/prctl.h>.
51247 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51255 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51256 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51257 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51258 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51260 Allow copysignl PLT reference to be missing.
51261
51262 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51263 Joseph Myers <joseph@codesourcery.com
51264
51265 [BZ #15948]
51266 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51267 single character.
51268 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51269
51270 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51271
51272 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51273 * elf/tst-tls1.c: Likewise.
51274 * elf/tst-tls10.h: Likewise.
51275 * elf/tst-tls14.c: Likewise.
51276 * elf/tst-tls2.c: Likewise.
51277 * elf/tst-tls3.c: Likewise.
51278 * elf/tst-tls4.c: Likewise.
51279 * elf/tst-tls5.c: Likewise.
51280 * elf/tst-tls6.c: Likewise.
51281 * elf/tst-tls7.c: Likewise.
51282 * elf/tst-tls8.c: Likewise.
51283 * elf/tst-tls9.c: Likewise.
51284 * elf/tst-tlsmod1.c: Likewise.
51285 * elf/tst-tlsmod13.c: Likewise.
51286 * elf/tst-tlsmod13a.c: Likewise.
51287 * elf/tst-tlsmod14a.c: Likewise.
51288 * elf/tst-tlsmod16a.c: Likewise.
51289 * elf/tst-tlsmod16b.c: Likewise.
51290 * elf/tst-tlsmod2.c: Likewise.
51291 * elf/tst-tlsmod3.c: Likewise.
51292 * elf/tst-tlsmod4.c: Likewise.
51293 * elf/tst-tlsmod5.c: Likewise.
51294 * elf/tst-tlsmod6.c: Likewise.
51295
51296 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51297
51298 [BZ #12486]
51299 * malloc/malloc.c: remove checks for statistics.
51300
51301 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51302
51303 [BZ #15277]
51304 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51305 * inet/tst-network.c: Add testcase.
51306
51307 2013-10-17 Andreas Schwab <schwab@suse.de>
51308
51309 [BZ #15218]
51310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51311 to determine canonical name.
51312
51313 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51314
51315 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51316 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51327 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51328 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51332 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51338 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51339 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51340 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51342 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51343 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51344 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51355 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51356 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51359 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51361 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51362 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51363 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51364 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51365 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51366 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51367 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51368 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51370 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51372 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51373
51374 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51375
51376 [BZ #16041]
51377 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51378 make result into a quiet NaN.
51379
51380 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51381
51382 * soft-fp/adddf3.c: Fix horizontal whitespace.
51383 * soft-fp/addsf3.c: Likewise.
51384 * soft-fp/addtf3.c: Likewise.
51385 * soft-fp/divdf3.c: Likewise.
51386 * soft-fp/divsf3.c: Likewise.
51387 * soft-fp/divtf3.c: Likewise.
51388 * soft-fp/double.h: Likewise.
51389 * soft-fp/eqdf2.c: Likewise.
51390 * soft-fp/eqsf2.c: Likewise.
51391 * soft-fp/eqtf2.c: Likewise.
51392 * soft-fp/extenddftf2.c: Likewise.
51393 * soft-fp/extended.h: Likewise.
51394 * soft-fp/extendsfdf2.c: Likewise.
51395 * soft-fp/extendsftf2.c: Likewise.
51396 * soft-fp/extendxftf2.c: Likewise.
51397 * soft-fp/fixdfdi.c: Likewise.
51398 * soft-fp/fixdfsi.c: Likewise.
51399 * soft-fp/fixdfti.c: Likewise.
51400 * soft-fp/fixsfdi.c: Likewise.
51401 * soft-fp/fixsfsi.c: Likewise.
51402 * soft-fp/fixsfti.c: Likewise.
51403 * soft-fp/fixtfdi.c: Likewise.
51404 * soft-fp/fixtfsi.c: Likewise.
51405 * soft-fp/fixtfti.c: Likewise.
51406 * soft-fp/fixunsdfdi.c: Likewise.
51407 * soft-fp/fixunsdfsi.c: Likewise.
51408 * soft-fp/fixunsdfti.c: Likewise.
51409 * soft-fp/fixunssfdi.c: Likewise.
51410 * soft-fp/fixunssfsi.c: Likewise.
51411 * soft-fp/fixunssfti.c: Likewise.
51412 * soft-fp/fixunstfdi.c: Likewise.
51413 * soft-fp/fixunstfsi.c: Likewise.
51414 * soft-fp/fixunstfti.c: Likewise.
51415 * soft-fp/floatdidf.c: Likewise.
51416 * soft-fp/floatdisf.c: Likewise.
51417 * soft-fp/floatditf.c: Likewise.
51418 * soft-fp/floatsidf.c: Likewise.
51419 * soft-fp/floatsisf.c: Likewise.
51420 * soft-fp/floatsitf.c: Likewise.
51421 * soft-fp/floattidf.c: Likewise.
51422 * soft-fp/floattisf.c: Likewise.
51423 * soft-fp/floattitf.c: Likewise.
51424 * soft-fp/floatundidf.c: Likewise.
51425 * soft-fp/floatundisf.c: Likewise.
51426 * soft-fp/floatunditf.c: Likewise.
51427 * soft-fp/floatunsidf.c: Likewise.
51428 * soft-fp/floatunsisf.c: Likewise.
51429 * soft-fp/floatunsitf.c: Likewise.
51430 * soft-fp/floatuntidf.c: Likewise.
51431 * soft-fp/floatuntisf.c: Likewise.
51432 * soft-fp/floatuntitf.c: Likewise.
51433 * soft-fp/fmadf4.c: Likewise.
51434 * soft-fp/fmasf4.c: Likewise.
51435 * soft-fp/fmatf4.c: Likewise.
51436 * soft-fp/gedf2.c: Likewise.
51437 * soft-fp/gesf2.c: Likewise.
51438 * soft-fp/getf2.c: Likewise.
51439 * soft-fp/ledf2.c: Likewise.
51440 * soft-fp/lesf2.c: Likewise.
51441 * soft-fp/letf2.c: Likewise.
51442 * soft-fp/muldf3.c: Likewise.
51443 * soft-fp/mulsf3.c: Likewise.
51444 * soft-fp/multf3.c: Likewise.
51445 * soft-fp/negdf2.c: Likewise.
51446 * soft-fp/negsf2.c: Likewise.
51447 * soft-fp/negtf2.c: Likewise.
51448 * soft-fp/op-1.h: Likewise.
51449 * soft-fp/op-2.h: Likewise.
51450 * soft-fp/op-4.h: Likewise.
51451 * soft-fp/op-8.h: Likewise.
51452 * soft-fp/op-common.h: Likewise.
51453 * soft-fp/quad.h: Likewise.
51454 * soft-fp/single.h: Likewise.
51455 * soft-fp/soft-fp.h: Likewise.
51456 * soft-fp/sqrtdf2.c: Likewise.
51457 * soft-fp/sqrtsf2.c: Likewise.
51458 * soft-fp/sqrttf2.c: Likewise.
51459 * soft-fp/subdf3.c: Likewise.
51460 * soft-fp/subsf3.c: Likewise.
51461 * soft-fp/subtf3.c: Likewise.
51462 * soft-fp/truncdfsf2.c: Likewise.
51463 * soft-fp/trunctfdf2.c: Likewise.
51464 * soft-fp/trunctfsf2.c: Likewise.
51465 * soft-fp/trunctfxf2.c: Likewise.
51466 * soft-fp/unorddf2.c: Likewise.
51467 * soft-fp/unordsf2.c: Likewise.
51468 * soft-fp/unordtf2.c: Likewise.
51469
51470 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51471
51472 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51473 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51474
51475 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51476
51477 * elf/dl-libc.c: Clear initfini list after freeing.
51478
51479 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51480
51481 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51482 * soft-fp/addsf3.c: Likewise.
51483 * soft-fp/addtf3.c: Likewise.
51484 * soft-fp/divdf3.c: Likewise.
51485 * soft-fp/divsf3.c: Likewise.
51486 * soft-fp/divtf3.c: Likewise.
51487 * soft-fp/double.h: Likewise.
51488 * soft-fp/eqdf2.c: Likewise.
51489 * soft-fp/eqsf2.c: Likewise.
51490 * soft-fp/eqtf2.c: Likewise.
51491 * soft-fp/extenddftf2.c: Likewise.
51492 * soft-fp/extended.h: Likewise.
51493 * soft-fp/extendsfdf2.c: Likewise.
51494 * soft-fp/extendsftf2.c: Likewise.
51495 * soft-fp/extendxftf2.c: Likewise.
51496 * soft-fp/fixdfdi.c: Likewise.
51497 * soft-fp/fixdfsi.c: Likewise.
51498 * soft-fp/fixdfti.c: Likewise.
51499 * soft-fp/fixsfdi.c: Likewise.
51500 * soft-fp/fixsfsi.c: Likewise.
51501 * soft-fp/fixsfti.c: Likewise.
51502 * soft-fp/fixtfdi.c: Likewise.
51503 * soft-fp/fixtfsi.c: Likewise.
51504 * soft-fp/fixtfti.c: Likewise.
51505 * soft-fp/fixunsdfdi.c: Likewise.
51506 * soft-fp/fixunsdfsi.c: Likewise.
51507 * soft-fp/fixunsdfti.c: Likewise.
51508 * soft-fp/fixunssfdi.c: Likewise.
51509 * soft-fp/fixunssfsi.c: Likewise.
51510 * soft-fp/fixunssfti.c: Likewise.
51511 * soft-fp/fixunstfdi.c: Likewise.
51512 * soft-fp/fixunstfsi.c: Likewise.
51513 * soft-fp/fixunstfti.c: Likewise.
51514 * soft-fp/floatdidf.c: Likewise.
51515 * soft-fp/floatdisf.c: Likewise.
51516 * soft-fp/floatditf.c: Likewise.
51517 * soft-fp/floatsidf.c: Likewise.
51518 * soft-fp/floatsisf.c: Likewise.
51519 * soft-fp/floatsitf.c: Likewise.
51520 * soft-fp/floattidf.c: Likewise.
51521 * soft-fp/floattisf.c: Likewise.
51522 * soft-fp/floattitf.c: Likewise.
51523 * soft-fp/floatundidf.c: Likewise.
51524 * soft-fp/floatundisf.c: Likewise.
51525 * soft-fp/floatunsidf.c: Likewise.
51526 * soft-fp/floatunsisf.c: Likewise.
51527 * soft-fp/floatuntidf.c: Likewise.
51528 * soft-fp/floatuntisf.c: Likewise.
51529 * soft-fp/floatuntitf.c: Likewise.
51530 * soft-fp/fmadf4.c: Likewise.
51531 * soft-fp/fmasf4.c: Likewise.
51532 * soft-fp/fmatf4.c: Likewise.
51533 * soft-fp/gedf2.c: Likewise.
51534 * soft-fp/gesf2.c: Likewise.
51535 * soft-fp/getf2.c: Likewise.
51536 * soft-fp/ledf2.c: Likewise.
51537 * soft-fp/lesf2.c: Likewise.
51538 * soft-fp/letf2.c: Likewise.
51539 * soft-fp/muldf3.c: Likewise.
51540 * soft-fp/mulsf3.c: Likewise.
51541 * soft-fp/multf3.c: Likewise.
51542 * soft-fp/negdf2.c: Likewise.
51543 * soft-fp/negsf2.c: Likewise.
51544 * soft-fp/negtf2.c: Likewise.
51545 * soft-fp/op-1.h: Likewise.
51546 * soft-fp/op-2.h: Likewise.
51547 * soft-fp/op-4.h: Likewise.
51548 * soft-fp/op-8.h: Likewise.
51549 * soft-fp/op-common.h: Likewise.
51550 * soft-fp/quad.h: Likewise.
51551 * soft-fp/single.h: Likewise.
51552 * soft-fp/soft-fp.h: Likewise.
51553 * soft-fp/sqrtdf2.c: Likewise.
51554 * soft-fp/sqrtsf2.c: Likewise.
51555 * soft-fp/sqrttf2.c: Likewise.
51556 * soft-fp/subdf3.c: Likewise.
51557 * soft-fp/subsf3.c: Likewise.
51558 * soft-fp/subtf3.c: Likewise.
51559 * soft-fp/truncdfsf2.c: Likewise.
51560 * soft-fp/trunctfdf2.c: Likewise.
51561 * soft-fp/trunctfsf2.c: Likewise.
51562 * soft-fp/trunctfxf2.c: Likewise.
51563 * soft-fp/unorddf2.c: Likewise.
51564 * soft-fp/unordsf2.c: Likewise.
51565 * soft-fp/unordtf2.c: Likewise.
51566
51567 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
51568
51569 [BZ #15672]
51570 * misc/error.c (error_tail): Fix possible buffer overflow.
51571
51572 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
51573
51574 [BZ #13028]
51575 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51576 address.
51577
51578 2013-10-14 P. J. McDermott <pj@pehjota.net>
51579
51580 [BZ #832]
51581 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51582 testing pipefail option.
51583
51584 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51585
51586 * soft-fp/double.h: Indent preprocessor directives inside #if.
51587 * soft-fp/extended.h: Likewise.
51588 * soft-fp/op-2.h: Likewise.
51589 * soft-fp/op-4.h: Likewise.
51590 * soft-fp/op-common.h: Likewise.
51591 * soft-fp/quad.h: Likewise.
51592 * soft-fp/single.h: Likewise.
51593 * soft-fp/soft-fp.h: Likewise.
51594
51595 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51596
51597 * iconv/iconv_prog.c: Fix typos.
51598 * stdio-common/psiginfo-data.h: Likewise.
51599
51600 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51601
51602 [BZ #15764]
51603 * locale/setlocale.c: Fix typo.
51604
51605 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51606
51607 [BZ #16036]
51608 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51609 signaling NaN arguments.
51610 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51611 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51612
51613 [BZ #14910]
51614 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51615 unordered operands.
51616 * soft-fp/gesf2.c (__gesf2): Likewise.
51617 * soft-fp/getf2.c (__getf2): Likewise.
51618 * soft-fp/ledf2.c (__ledf2): Likewise.
51619 * soft-fp/lesf2.c (__lesf2): Likewise.
51620 * soft-fp/letf2.c (__letf2): Likewise.
51621
51622 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51623 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51624 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51625 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51626 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51627 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51628 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51629 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51630 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51631 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51632 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51633 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51634 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51635 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51636 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51637 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51638 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51639 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51640 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51641 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51642 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51643 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51644 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51645 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51646 * soft-fp/floattidf.c (__floattidf): Likewise.
51647 * soft-fp/floattisf.c (__floattisf): Likewise.
51648 * soft-fp/floattitf.c (__floattitf): Likewise.
51649 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51650 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51651 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51652 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51653 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51654 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51655 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51656 * soft-fp/gesf2.c (__gesf2): Likewise.
51657 * soft-fp/getf2.c (__getf2): Likewise.
51658 * soft-fp/ledf2.c (__ledf2): Likewise.
51659 * soft-fp/lesf2.c (__lesf2): Likewise.
51660 * soft-fp/letf2.c (__letf2): Likewise.
51661
51662 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51663 Undefine and redefine.
51664 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51665 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51666 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51667 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51668 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51669 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51670 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51671 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51672 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51673 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51674 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51675 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51676 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51677 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51678 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51679
51680 [BZ #16032]
51681 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51682 without decrementing exponent if mantissa >= that for the
51683 denominator, not >.
51684 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51685 denominator, not >. Decrement exponent in < case instead of
51686 incrementing in >= case.
51687 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51688 without decrementing exponent if mantissa >= that for the
51689 denominator, not >.
51690
51691 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51692 computing saturated result for unsigned overflow.
51693
51694 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51695 Jeff Law <law@redhat.com>
51696
51697 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51698 (atan2Mp): Add systemtap probe marker.
51699 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51700 (__ieee754_log): Add systemtap probe marker.
51701 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51702 (atanMp): Add systemtap probe marker.
51703 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51704 (tanMp): Add systemtap probe marker.
51705 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51706 (__slowexp): Add systemtap probe marker.
51707 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51708 (__slowpow): Add systemtap probe marker.
51709 * manual/probes.texi: Document probes.
51710
51711 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51712
51713 [BZ #15362]
51714 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51715 written.
51716 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51717 written.
51718 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51719 written to buffer but not flushed.
51720 * libio/iofwrite_u.c: Likewise.
51721 * libio/iopadn.c: Return bytes returned even if EOF was
51722 encountered.
51723 * libio/iowpadn.c: Likewise.
51724 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51725 if _IO_padn does not write the whole buffer.
51726 [!COMPILE_WPRINTF] (PAD): Likewise.
51727
51728 2013-10-10 David S. Miller <davem@davemloft.net>
51729
51730 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51731 directory block.
51732
51733 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51734
51735 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51736 instead of FSF address.
51737 * soft-fp/fixdfti.c: Likewise.
51738 * soft-fp/fixsfti.c: Likewise.
51739 * soft-fp/fixtfti.c: Likewise.
51740 * soft-fp/fixunsdfti.c: Likewise.
51741 * soft-fp/fixunssfti.c: Likewise.
51742 * soft-fp/fixunstfti.c: Likewise.
51743 * soft-fp/floattidf.c: Likewise.
51744 * soft-fp/floattisf.c: Likewise.
51745 * soft-fp/floattitf.c: Likewise.
51746 * soft-fp/floatuntidf.c: Likewise.
51747 * soft-fp/floatuntisf.c: Likewise.
51748 * soft-fp/floatuntitf.c: Likewise.
51749 * soft-fp/trunctfxf2.c: Likewise.
51750
51751 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51752 * soft-fp/fixdfti.c: Likewise.
51753 * soft-fp/fixsfti.c: Likewise.
51754 * soft-fp/fixtfti.c: Likewise.
51755 * soft-fp/fixunsdfti.c: Likewise.
51756 * soft-fp/fixunssfti.c: Likewise.
51757 * soft-fp/fixunstfti.c: Likewise.
51758 * soft-fp/floattidf.c: Likewise.
51759 * soft-fp/floattisf.c: Likewise.
51760 * soft-fp/floattitf.c: Likewise.
51761 * soft-fp/floatuntidf.c: Likewise.
51762 * soft-fp/floatuntisf.c: Likewise.
51763 * soft-fp/floatuntitf.c: Likewise.
51764 * soft-fp/trunctfxf2.c: Likewise.
51765
51766 2013-10-10 David S. Miller <davem@davemloft.net>
51767
51768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51769
51770 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51771
51772 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51773 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51774 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51775 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51776 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51777 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51778 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51779
51780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51781 for NaNs before doing comparisons on argument.
51782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51783 Likewise.
51784
51785 2013-10-10 Will Newton <will.newton@linaro.org>
51786
51787 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51788 passed to _int_memalign does not overflow.
51789
51790 2013-10-10 Torvald Riegel <triegel@redhat.com>
51791
51792 * scripts/bench.pl: Add include-sources directive.
51793 * benchtests/README: Update documentation.
51794
51795 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51796
51797 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51798 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51799 instead of FP_INIT_ROUNDMODE.
51800 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51801 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51802
51803 [BZ #16034]
51804 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51805 copy class of input value.
51806 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51807 not handle exceptions.
51808 * soft-fp/negsf2.c (__negsf2): Likewise.
51809 * soft-fp/negtf2.c (__negtf2): Likewise.
51810 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51811
51812 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51813
51814 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51815 semicolon. From Linux kernel.
51816
51817 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51818
51819 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51820
51821 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51822
51823 [BZ #156]
51824 * manual/socket.texi: Added statement about buffer
51825 for gethostbyname2_r.
51826
51827 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51828
51829 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51830 Use .p2align directive instead, throughout.
51831 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51832 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51833 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51836 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51837 * sysdeps/x86_64/strchr.S: Likewise.
51838 * sysdeps/x86_64/strrchr.S: Likewise.
51839
51840 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51841
51842 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51843
51844 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51845
51846 * sysdeps/generic/math_private.h (__mpsin1): Remove
51847 declaration.
51848 (__mpcos1): Likewise.
51849 (__mpsin): New argument __range_reduce.
51850 (__mpcos): Likewise.
51851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51852 (slow): Use __mpsin and __mpcos.
51853 (slow1): Likewise.
51854 (slow2): Likewise.
51855 (sloww): Likewise.
51856 (sloww1): Likewise.
51857 (sloww2): Likewise.
51858 (bsloww): Likewise.
51859 (bsloww1): Likewise.
51860 (bsloww2): Likewise.
51861 (cslow2): Likewise.
51862 (csloww): Likewise.
51863 (csloww1): Likewise.
51864 (csloww2): Likewise.
51865 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51866 range_reduce. Merge in __mpsin1.
51867 (__mpcos): Likewise.
51868 (__mpsin1): Remove.
51869 (__mpcos1): Likewise.
51870
51871 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51872
51873 * locale/loadlocale.c (_nl_intern_locale_data): Use
51874 LOCFILE_ALIGNED_P.
51875 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51876 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51877 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51878 obstack data is appropriately aligned.
51879 (obstack_int32_grow_fast): Likewise.
51880 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51881 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51882 (add_locale_uint32_array): Likewise.
51883
51884 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51885
51886 * benchtests/Makefile: Remove ARGLIST and RET variables.
51887 ($(objpfx)bench-%.c): Pass only function name to the script.
51888 * benchtests/README: Update documentation.
51889 * benchtests/acos-inputs: Add new directives.
51890 * benchtests/acosh-inputs: Likewise.
51891 * benchtests/asin-inputs: Likewise.
51892 * benchtests/asinh-inputs: Likewise.
51893 * benchtests/atan-inputs: Likewise.
51894 * benchtests/atanh-inputs: Likewise.
51895 * benchtests/cos-inputs: Likewise.
51896 * benchtests/cosh-inputs: Likewise.
51897 * benchtests/exp-inputs: Likewise.
51898 * benchtests/log-inputs: Likewise.
51899 * benchtests/pow-inputs: Likewise.
51900 * benchtests/rint-inputs: Likewise.
51901 * benchtests/sin-inputs: Likewise.
51902 * benchtests/sinh-inputs: Likewise.
51903 * benchtests/tan-inputs: Likewise.
51904 * benchtests/tanh-inputs: Likewise.
51905 * scripts/bench.pl: Add support for new directives.
51906
51907 2013-10-07 Alan Modra <amodra@gmail.com>
51908
51909 * README: Fix careless merge.
51910
51911 2013-10-05 Alan Modra <amodra@gmail.com>
51912
51913 * NEWS: Mention powerpc64le support and bugs fixed.
51914 * README: Both big-endian and little-endian powerpc64 supported.
51915
51916 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51917
51918 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51919 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51920 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51921 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51922
51923 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51924
51925 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51926 match prototype.
51927
51928 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51929
51930 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51931 Move -mhard-float appending from
51932 ports/sysdeps/powerpc/powerpc32/Makefile.
51933 [$(with-fp) = yes] (ASFLAGS): Likewise.
51934 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51935 * sysdeps/powerpc/nofpu: Move directory from
51936 ports/sysdeps/powerpc/nofpu.
51937 * sysdeps/powerpc/soft-fp: Move directory from
51938 ports/sysdeps/powerpc/soft-fp.
51939 * sysdeps/powerpc/powerpc32/405: Move directory from
51940 ports/sysdeps/powerpc/powerpc32/405.
51941 * sysdeps/powerpc/powerpc32/440: Move directory from
51942 ports/sysdeps/powerpc/powerpc32/440.
51943 * sysdeps/powerpc/powerpc32/464: Move directory from
51944 ports/sysdeps/powerpc/powerpc32/464.
51945 * sysdeps/powerpc/powerpc32/476: Move directory from
51946 ports/sysdeps/powerpc/powerpc32/476.
51947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51952 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51954 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51956 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51957 * README: Update for powerpc-*-linux-gnu software floating point
51958 support in libc.
51959
51960 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51961 case to powerpc/powerpc32*.
51962 * sysdeps/unix/sysv/linux/configure: Regenerated.
51963
51964 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51965 (_FPU_MASK_OM): Define as 0x04.
51966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51968 0x00c10080.
51969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51970 0x0000003c.
51971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51972
51973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51975 getcontext_e500.
51976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51977 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51978 setcontext_e500.
51979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51980 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51981 and setcontext_e500.
51982
51983 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51984
51985 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51986
51987 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51988
51989 * manual/threads.texi (Default Thread Attributes): Fix typo.
51990
51991 2013-10-04 Will Newton <will.newton@linaro.org>
51992
51993 * malloc/Makefile: Add tst-memalign.
51994 * malloc/tst-memalign.c: New file.
51995
51996 * malloc/tst-posix_memalign.c: Add comments.
51997 (do_test): Add comments and call free on all potentially
51998 allocated pointers. Add space after cast.
51999
52000 * malloc/tst-pvalloc.c: Add comments.
52001 (do_test): Add comments and call free on all potentially
52002 allocated pointers. Remove duplicate check for NULL pointer.
52003 Add space after cast.
52004
52005 * malloc/tst-valloc.c: Add comments.
52006 (do_test): Add comments and call free on all potentially
52007 allocated pointers. Remove duplicate check for NULL pointer.
52008 Add space after cast.
52009
52010 2013-10-04 Alan Modra <amodra@gmail.com>
52011
52012 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52013 Use stdint types in rather than __attribute__((mode())).
52014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52015
52016 2013-10-04 Alan Modra <amodra@gmail.com>
52017
52018 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52019 Correct handling of unaligned relocs for little-endian.
52020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52021
52022 2013-10-04 Alan Modra <amodra@gmail.com>
52023
52024 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52025 * configure: Regenerate.
52026 * nptl/shlib-versions: Powerpc*le starts at 2.18.
52027 * shlib-versions: Likewise.
52028
52029 2013-10-04 Alan Modra <amodra@gmail.com>
52030
52031 * string/tester.c (test_memrchr): Increment reported test cycle.
52032
52033 2013-10-04 Alan Modra <amodra@gmail.com>
52034
52035 * string/test-memcpy.c (do_one_test): When reporting errors, print
52036 string address and don't overrun end of string.
52037
52038 2013-10-04 Alan Modra <amodra@gmail.com>
52039
52040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52041 insrdi. Make better use of reg selection to speed exit slightly.
52042 Schedule entry path a little better. Remove useless "are we done"
52043 checks on entry to main loop. Handle wrapping around zero address.
52044 Correct main loop count. Handle single left-over word from main
52045 loop inline rather than by using loop_small. Remove extra word
52046 case in loop_small caused by wrong loop count. Add little-endian
52047 support.
52048 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52049 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52050 cache hint.
52051 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52053 support. Avoid rlwimi.
52054 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52055
52056 2013-10-04 Alan Modra <amodra@gmail.com>
52057
52058 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52059 insrdi. Formatting.
52060 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52061 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52062 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52063 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52064 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52065 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52066
52067 2013-10-04 Alan Modra <amodra@gmail.com>
52068
52069 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52073 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52074 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52075 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52078 use of regs. Use power7 mtocrf. Tidy function tails.
52079
52080 2013-10-04 Alan Modra <amodra@gmail.com>
52081
52082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52083 Formatting. Consistently use rXXX register defines or rN defines.
52084 Use early exit labels that avoid restoring unused non-volatile regs.
52085 Make cr field use more consistent with rWORDn compares. Rename
52086 regs used as shift registers for unaligned loop, using rN defines
52087 for short lifetime/multiple use regs.
52088 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52090 addi 1,1,64 to pop stack frame. Simplify return value code.
52091 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52092
52093 2013-10-04 Alan Modra <amodra@gmail.com>
52094
52095 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52096 support. Correct typos, formatting. Optimize tail. Use insrdi
52097 rather than rlwimi.
52098 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52099 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52100 little-endian support. Correct typos.
52101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52102 rather than rlwimi.
52103 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52104 in loop and entry code to keep "and." results.
52105 (strchr): Add little-endian support. Comment. Move cntlzd
52106 earlier in tail.
52107 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52108
52109 2013-10-04 Alan Modra <amodra@gmail.com>
52110
52111 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52112 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52113 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52114 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52115
52116 2013-10-04 Alan Modra <amodra@gmail.com>
52117
52118 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52119 (rTMP): Define as r11.
52120 (strcmp): Add little-endian support. Optimise tail.
52121 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52123 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52125 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52128
52129 2013-10-04 Alan Modra <amodra@gmail.com>
52130
52131 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52132 little-endian support. Remove unnecessary "are we done" tests.
52133 Handle "s" wrapping around zero and extremely large "size".
52134 Correct main loop count. Handle single left-over word from main
52135 loop inline rather than by using small_loop. Correct comments.
52136 Delete "zero" tail, use "end_max" instead.
52137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52138
52139 2013-10-04 Alan Modra <amodra@gmail.com>
52140
52141 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52142 support. Don't branch over align.
52143 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52144 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52145 support. Rearrange tmp reg use to suit. Comment.
52146 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52147
52148 2013-10-04 Alan Modra <amodra@gmail.com>
52149
52150 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52151
52152 2013-10-04 Alan Modra <amodra@gmail.com>
52153
52154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52155 conditional form of branch and link when obtaining pc.
52156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52157
52158 2013-10-04 Alan Modra <amodra@gmail.com>
52159
52160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52161 HIWORD/LOWORD.
52162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52164
52165 2013-10-04 Alan Modra <amodra@gmail.com>
52166
52167 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52168 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52169 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52170 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52171 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52172 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52173 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52174 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52175 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52176 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52177
52178 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52179 Alistair Popple <alistair@ozlabs.au.ibm.com>
52180 Alan Modra <amodra@gmail.com>
52181
52182 [BZ #15723]
52183 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52185 _dl_hwcap access for little-endian.
52186 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52187 destroy vmx regs when saving unaligned.
52188 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52189 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52190 destroy vmx regs when saving unaligned.
52191
52192 2013-10-04 Alan Modra <amodra@gmail.com>
52193
52194 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52195 Don't use a union to pack hi/low value.
52196
52197 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52198
52199 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52200 for little-endian.
52201 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52203 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52204 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52205 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52206
52207 2013-10-04 Alan Modra <amodra@gmail.com>
52208
52209 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52210 constants to usual value for .cst8 section, and remove redundant
52211 high address load.
52212 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52213 constant for 0x1p52. Load little-endian words of double from
52214 correct stack offsets.
52215
52216 2013-10-04 Alan Modra <amodra@gmail.com>
52217
52218 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52219 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52220 words of double from correct stack offsets.
52221 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52222 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52223 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52227 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52228 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52229 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52230 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52231 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52232 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52234 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52235 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52236 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52237 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52238
52239 2013-10-04 Alan Modra <amodra@gmail.com>
52240
52241 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52242 64-bit int/double union.
52243 (_FPU_SETCW): Likewise.
52244 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52245 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52246
52247 2013-10-04 Alan Modra <amodra@gmail.com>
52248
52249 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52250 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52251
52252 2013-10-04 Alan Modra <amodra@gmail.com>
52253
52254 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52255 use vector int constants.
52256 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52257
52258 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52259
52260 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52261 array with long long.
52262 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52263 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52264 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52265 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52266 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52267 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52268 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52269 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52270 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52271 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52272 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52273 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52274 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52275
52276 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52277
52278 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52279 (__signbit): Likewise. Correct for little-endian.
52280 (__signbitl): Call __signbit.
52281 (lrint): Correct for little-endian.
52282 (lrintf): Call lrint.
52283
52284 2013-10-04 Alan Modra <amodra@gmail.com>
52285
52286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52287 union 32-bit int array member with 64-bit int array.
52288 (t515, tm256): Double rather than long double.
52289 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52290
52291 2013-10-04 Alan Modra <amodra@gmail.com>
52292
52293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52294 Delete.
52295 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52297 version of math_ldbl.h.
52298
52299 2013-10-04 Alan Modra <amodra@gmail.com>
52300
52301 [BZ #15734], [BZ #15735]
52302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52303 all uses of ieee875 long double macros and unions. Simplify test
52304 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52305 ldbl_extract_mantissa value for ix,iy exponents. Properly
52306 normalize after ldbl_extract_mantissa, and don't add hidden bit
52307 already handled. Don't treat low word of ieee854 mantissa like
52308 low word of IBM long double and mask off bit when testing for
52309 zero.
52310 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52311 all uses of ieee875 long double macros and unions. Simplify tests
52312 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52313 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52314 two1022, instead use their values. Recognise that tests for large
52315 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52317 Rewrite all uses of ieee875 long double macros and unions. Simplify
52318 test for 0.0L and nan. Correct negation.
52319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52320 ieee875 long double macros and unions. Correct output for large
52321 magnitude x. Correct absolute value calculation.
52322 (__erfcl): Likewise.
52323 * math/libm-test.inc: Add tests for errors discovered in IBM long
52324 double versions of fmodl, remainderl, erfl and erfcl.
52325
52326 2013-10-04 Alan Modra <amodra@gmail.com>
52327
52328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52329 all uses of ieee854 long double macros and unions. Simplify tests
52330 for long doubles that are fully specified by the high double.
52331 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52332 Likewise.
52333 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52334 Remove dead code too.
52335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52336 (__ieee754_ynl): Likewise.
52337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52340 Remove dead code too.
52341 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52342 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52344 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52345 Simplify.
52346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52347 Simplify.
52348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52349 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52350 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52351 Comment on variable precision.
52352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52354 Likewise.
52355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52358 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52359 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52360
52361 2013-10-04 Alan Modra <amodra@gmail.com>
52362
52363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52365 all uses of ieee854 long double macros and unions.
52366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52370 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52371 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52372 Likewise.
52373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52374 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52375 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52377 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52379 Simplify sign and nan test too.
52380 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52382 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52383 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52384 Likewise.
52385 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52386 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52387 Likewise.
52388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52389 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52390 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52392 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52394
52395 2013-10-04 Alan Modra <amodra@gmail.com>
52396
52397 * stdio-common/printf_size.c (__printf_size): Don't use
52398 union ieee854_long_double in fpnum union.
52399 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52400 signbit macro to retrieve sign from long double.
52401 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52402 retrieve sign from long double.
52403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52404 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52405 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52406 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52407 * math/test-misc.c (main): Don't use union ieee854_long_double.
52408
52409 2013-10-04 Alan Modra <amodra@gmail.com>
52410
52411 [BZ #15680]
52412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52414 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52415 calculation. Remove unnecessary test for denormal exponent.
52416 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52417 Correct handling of denormals. Avoid undefined shift behaviour.
52418 Correct normalisation of low mantissa when low double is denormal.
52419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52420 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52421 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52422 Correct normalisation of low mantissa. Test for overflow of high
52423 mantissa and normalise.
52424 (ldbl_nearbyint): Use more readable constant for two52.
52425 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52426 (__mpn_construct_long_double): Fix test for overflow of high
52427 mantissa and correct normalisation. Avoid undefined shift.
52428
52429 2013-10-04 Alan Modra <amodra@gmail.com>
52430
52431 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52432 (union ibm_extended_long_double): Define as an array of ieee754_double.
52433 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52434 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52435 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52438 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52440 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52441 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52443 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52444
52445 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52446
52447 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52448 page size instead of calling getpagesize.
52449
52450 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52451 (LOCFILE_ALIGN_MASK): Likewise.
52452 (LOCFILE_ALIGN_UP): Likewise.
52453 (LOCFILE_ALIGNED_P): Likewise.
52454 * locale/programs/ld-collate.c (collate_output): Use the new
52455 macros instead of __alignof__ (int32_t).
52456 * locale/weight.h (findidx): Likewise.
52457
52458 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52459
52460 [BZ #431]
52461 * manual/string.texi: Fix strncat and wcsncat.
52462
52463 2013-10-03 Brooks Moses <bmoses@google.com>
52464
52465 [BZ #15915]
52466 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52467 * Makerules: ...here, and adjust associated comments.
52468
52469 2013-10-02 Will Newton <will.newton@linaro.org>
52470
52471 * malloc/Makefile: Add tst-pvalloc.
52472 * malloc/tst-pvalloc.c: New file.
52473
52474 2013-10-02 Will Newton <will.newton@linaro.org>
52475
52476 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52477 improve test coverage.
52478
52479 2013-10-02 Will Newton <will.newton@linaro.org>
52480
52481 * malloc/Makefile: Add tst-posix_memalign.
52482 * malloc/tst-posix_memalign.c: New file.
52483
52484 2013-10-01 Eric Blake <eblake@redhat.com>
52485
52486 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52487 Use __THROWNL rather than __THROW on static functions.
52488
52489 2013-09-30 Petr Machata <pmachata@redhat.com>
52490
52491 * elf/elf.h (R_AARCH64_ABS16): New macro.
52492 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52493 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52494 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52495 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52496 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52497 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52498 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52499 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52500 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52501 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52502 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52503 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52504 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52505 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52506 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52507 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52508 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52509 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52510 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52511 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52512 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52513 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52514 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52515 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52516 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52517 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52518 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52519 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52520 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52521 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52522 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52523 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52524 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52525 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52526 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52527 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52528 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52529 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52530 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52531 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52532 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52533 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52534 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52535 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52536 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52537 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52538 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52539 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52540 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52541 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52542 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52543 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52544 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52545 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52546 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52547 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52548 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52549 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52550 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52551 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52552 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52553 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52554 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52555 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52556 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52557 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52558 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52559 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52560 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52561 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52562 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52563 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52564 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52565 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52566 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52567 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52568 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52569 (R_AARCH64_TLSDESC_LDR): Likewise.
52570 (R_AARCH64_TLSDESC_ADD): Likewise.
52571 (R_AARCH64_TLSDESC_CALL): Likewise.
52572
52573 2013-09-30 Andreas Schwab <schwab@suse.de>
52574
52575 [BZ #15048]
52576 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52577 the nss database lookup.
52578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52580
52581 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52582
52583 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52584
52585 2013-09-28 P. J. McDermott <pj@pehjota.net>
52586
52587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52588 ${Bash-specific parameter/pattern/string} parameter expansion.
52589 * sysdeps/unix/make-syscalls.sh: Likewise.
52590
52591 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52592
52593 * sysdeps/sh/stackguard-macros.h: New file.
52594
52595 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52596
52597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52599 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52600 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52602 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52603
52604 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52605
52606 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52607 Fix thread ID register.
52608
52609 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52610
52611 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52612 [POSIX || UNIX98]: Require rather than permitting all symbols from
52613 <time.h>.
52614 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52615 element of struct sched_param.
52616 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52617 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52618 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52619 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52620 constant.
52621
52622 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52623
52624 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52625 argument calculation.
52626
52627 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52628
52629 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52630 Expect macro.
52631 [POSIX] (pthread_attr_t): Do not require type.
52632 [POSIX] (pthread_cond_t): Likewise.
52633 [POSIX] (pthread_condattr_t): Likewise.
52634 [POSIX] (pthread_key_t): Likewise.
52635 [POSIX] (pthread_mutex_t): Likewise.
52636 [POSIX] (pthread_mutexattr_t): Likewise.
52637 [POSIX] (pthread_once_t): Likewise.
52638 [POSIX] (pthread_t): Likewise.
52639 [POSIX-based standards] (pthread_atfork): Expect function.
52640
52641 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52642 Richard Sandiford <richard@codesourcery.com>
52643
52644 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52645 (swap_endianness_p): New extern variable.
52646 (set_big_endian): New inline function.
52647 (maybe_swap_uint32): Likewise.
52648 (maybe_swap_uint32_array): Likewise.
52649 (maybe_swap_uint32_obstack): Likewise.
52650 * locale/programs/locfile.c: Include <stdbool.h>.
52651 (swap_endianness_p): New variable.
52652 (add_locale_uint32): Call maybe_swap_uint32.
52653 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52654 (write_locale_data): Call maybe_swap_uint32_array.
52655 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52656 maybe_swap_uint32.
52657 (obstack_int32_grow_fast): Likewise.
52658 (output_weightwc): Call maybe_swap_uint32_obstack.
52659 (collate_output): Likewise.
52660 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52661 (OPT_LITTLE_ENDIAN): Likewise.
52662 (options): Add --little-endian and --big-endian options.
52663 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52664 * locale/programs/locarchive.c: Include "locfile.h".
52665 (GET): New macro.
52666 (SET): Likewise.
52667 (INC): Likewise.
52668 (create_archive): Use the new macros to access fields of
52669 structures directly mapped from or written to locale archives.
52670 (oldlocrecentcmp): Likewise.
52671 (enlarge_archive): Likewise.
52672 (insert_name): Likewise.
52673 (add_alias): Likewise.
52674 (add_locale): Likewise.
52675 (delete_locales_from_archive): Likewise.
52676 (show_archive_content): Likewise.
52677 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52678 locale data.
52679
52680 2013-09-24 Roland McGrath <roland@hack.frob.com>
52681
52682 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52683 http://www.gnu.org/doc/freemanuals.texi.
52684 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52685
52686 2013-09-24 Will Newton <will.newton@linaro.org>
52687
52688 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52689 macro.
52690
52691 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52692
52693 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52694 unsigned char.
52695
52696 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52697
52698 * manual/threads.texi (POSIX Threads): Fix a typo.
52699
52700 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52701
52702 [BZ #14547]
52703 * string/tst-strcoll-overflow.c: New test case.
52704 * string/Makefile (xtests): Add tst-strcoll-overflow.
52705 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52706 cache if string sizes may cause integer overflow.
52707
52708 [BZ #14547]
52709 * string/strcoll_l.c (coll_seq): New members rule, idx,
52710 save_idx and back_us.
52711 (get_next_seq_nocache): New function.
52712 (do_compare_nocache): New function.
52713 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52714 when malloc fails.
52715
52716 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52717
52718 [BZ #15754]
52719 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52720 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52721 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52722
52723 [BZ #15754]
52724 * elf/Makefile (tests): Add tst-ptrguard1.
52725 (tests-static): Add tst-ptrguard1-static.
52726 (tst-ptrguard1-ARGS): Define.
52727 (tst-ptrguard1-static-ARGS): Define.
52728 * elf/tst-ptrguard1.c: New file.
52729 * elf/tst-ptrguard1-static.c: New file.
52730 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52731 * sysdeps/i386/stackguard-macros.h: Likewise.
52732 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52733 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52734 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52735 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52736 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52737 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52738
52739 2013-09-23 Hector Marco <hecmargi@upv.es>
52740 Ismael Ripoll <iripoll@disca.upv.es>
52741 Carlos O'Donell <carlos@redhat.com>
52742
52743 [BZ #15754]
52744 * sysdeps/generic/stackguard-macros.h: Define
52745 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52746 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52747 Define __pointer_chk_guard_local.
52748 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52749 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52750
52751 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52752
52753 [BZ #15859]
52754 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52755
52756 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52757
52758 * include/string.h (__ffs): Declare as hidden.
52759 * string/ffs.c (__ffs): Define as hidden.
52760 * sysdeps/i386/ffs.c (__ffs): Likewise.
52761 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52762 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52763 * sysdeps/s390/ffs.c (__ffs): Likewise.
52764 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52765
52766 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52767
52768 * NEWS: Mention malloc probes.
52769
52770 * malloc/arena.c (new_heap): New memory_heap_new probe.
52771 (grow_heap): New memory_heap_more probe.
52772 (shrink_heap): New memory_heap_less probe.
52773 (heap_trim): New memory_heap_free probe.
52774 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52775 (systrim): New memory_sbrk_less probe.
52776 * manual/probes.texi: Document them.
52777
52778 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52779 * manual/probes.texi: Document it.
52780
52781 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52782 (__libc_realloc): Add memory_realloc_retry probe.
52783 (__libc_memalign): Add memory_memalign_retry probe.
52784 (__libc_valloc): Add memory_valloc_retry probe.
52785 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52786 (__libc_calloc): Add memory_calloc_retry probe.
52787 * manual/probes.texi: Document them.
52788
52789 * malloc/arena.c (get_free_list): Add probe
52790 memory_arena_reuse_free_list.
52791 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52792 and memory_arena_reuse.
52793 (arena_get2) [!PER_THREAD]: Likewise.
52794 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52795 memory_arena_reuse_realloc.
52796 * manual/probes.texi: Document them.
52797
52798 * malloc/malloc.c (__libc_free): Add
52799 memory_mallopt_free_dyn_thresholds probe.
52800 (__libc_mallopt): Add multiple memory_mallopt probes.
52801 * manual/probes.texi: Document them.
52802
52803 * malloc/malloc.c: Include stap-probe.h.
52804 (__libc_mallopt): Add memory_mallopt probe.
52805 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52806 * manual/probes.texi: New.
52807 * manual/Makefile (chapters): Add probes.
52808 * manual/threads.texi: Set next node.
52809
52810 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52811
52812 [BZ #15963, #13985]
52813 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52814 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52815 Add `Chinese' to `nan' entry name.
52816
52817 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52818
52819 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52820 (POLYNOMIAL): Likewise.
52821 (TAYLOR_SINCOS): Likewise.
52822 (TAYLOR_SLOW): Likewise.
52823 (__sin): Use TAYLOR_SINCOS.
52824 (__cos): Likewise.
52825 (slow): Use TAYLOR_SLOW.
52826 (sloww): Likewise.
52827 (bsloww): Likewise.
52828 (csloww): Likewise.
52829
52830 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52831
52832 * stdlib/strtod_l.c: Fix buffer overrun.
52833
52834 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52835
52836 * benchtests/Makefile (bench): Add sincos.
52837 * benchtests/bench-sincos.c: New file.
52838
52839 * math/libm-test.inc (cos_test_data): New test inputs.
52840 (sin_test_data): Likewise.
52841
52842 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52843 macro.
52844 (__sin): Use it.
52845 (__cos): Likewise.
52846 (slow1): Likewise.
52847 (slow2): Likewise.
52848 (sloww1): Likewise.
52849 (sloww2): Likewise.
52850 (bsloww1): Likewise.
52851 (bsloww2): Likewise.
52852 (cslow2): Likewise.
52853 (csloww1): Likewise.
52854 (csloww2): Likewise.
52855
52856 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52857 function.
52858 (__sin): Use it.
52859 (__cos): Likewise.
52860
52861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52862 gotos.
52863 (__cos): Likewise.
52864
52865 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52866
52867 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52868 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52869 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52870 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52871 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52872 * elf/cache.c (print_entry): Handle the new cache flags.
52873
52874 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52875 Aldy Hernandez <aldyh@redhat.com>
52876
52877 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52878 Change condition to [_SOFT_FLOAT].
52879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52891 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52894 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52895 declaration.
52896
52897 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52898
52899 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52900 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52901 (__longjmp): Use LOAD_GP to load saved GPRs.
52902 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52903 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52904 (__sigsetjmp): Use SAVE_GP to save GPRs.
52905
52906 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52907 Do not append -msoft-float.
52908 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52909
52910 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52911
52912 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52913
52914 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52915
52916 [BZ #15966]
52917 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52918 (_FPU_GETCW): Use initial "__" on variable and field names but not
52919 on macro parameter name.
52920 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52921 parentheses around reference to macro parameter.
52922
52923 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52924
52925 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52926 prototype.
52927 (ctype_startup): Use uint32_t in cast and sizeof for
52928 ctype->charnames.
52929
52930 2013-09-11 Jia Liu <proljc@gmail.com>
52931
52932 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52933 __daddr_t_defined.
52934 [__FreeBSD__]: Likewise.
52935
52936 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52937
52938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52939 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52940 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52941 (strchr): Remove __strchr_sse42 ifunc selection.
52942 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52943 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52944
52945 2013-09-11 Will Newton <will.newton@linaro.org>
52946
52947 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52948 parameter to RES. Remove hardcoded 1000 value.
52949 * benchtests/bench-skeleton.c (main): Pass RES parameter
52950 to TIMING_INIT and multiply result by 1000.
52951
52952 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52953
52954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52955
52956 2013-09-11 Andreas Schwab <schwab@suse.de>
52957
52958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52959 if not defined.
52960 (O_TMPFILE) [__USE_GNU]: Define.
52961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52962 Define.
52963
52964 2013-09-11 Will Newton <will.newton@linaro.org>
52965
52966 [BZ #15857]
52967 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52968 does not overflow.
52969
52970 2013-09-11 Will Newton <will.newton@linaro.org>
52971
52972 [BZ #15856]
52973 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52974 does not overflow.
52975
52976 2013-09-11 Will Newton <will.newton@linaro.org>
52977
52978 [BZ #15855]
52979 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52980 does not overflow.
52981
52982 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52983
52984 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52986 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52987 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52989
52990 2013-09-10 Allan McRae <allan@archlinux.org>
52991
52992 [BZ #15748]
52993 * manual/arith.texi (Parsing of Floats): Clarify
52994 cross-reference.
52995
52996 [BZ #15849]
52997 * manual/install.texi (Running make install): Mention
52998 --enable-pt-chown.
52999 * INSTALL: Regenerated.
53000
53001 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
53002
53003 * csu/init-first.c (_init): Remove the !SHARED condition around
53004 FPU control word initialization.
53005 * elf/dl-support.c (_dl_fpu_control): New variable.
53006 (_dl_aux_init) <AT_FPUCW>: Initialize it.
53007 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53008 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53009 * math/test-fpucw-static.c: New file.
53010 * math/test-fpucw-ieee.c: New file.
53011 * math/test-fpucw-ieee-static.c: New file.
53012 * math/Makefile (tests): Add `test-fpucw-ieee' and
53013 `$(tests-static)'.
53014 (tests-static): New variable.
53015 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53016 dependency to...
53017 [($(build-shared),yes)]
53018 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53019 ... this.
53020 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53021 New dependency.
53022
53023 2013-09-09 Allan McRae <allan@archlinux.org>
53024
53025 [BZ #15939]
53026 * manual/string.texi (Collation Functions): Fix typo in
53027 strcoll example.
53028 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53029
53030 [BZ #15893]
53031 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53032
53033 [BZ #15892]
53034 * libio/memstream.c (open_memstream): Fix memory leak.
53035 * libio/wmemstream.c (open_wmemstream): Likewise.
53036
53037 [BZ #15895]
53038 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53039
53040 2013-09-09 Will Newton <will.newton@linaro.org>
53041
53042 * malloc/Makefile: Add tst-realloc to tests.
53043 * malloc/tst-realloc.c: New file.
53044
53045 2013-09-09 Allan McRae <allan@archlinux.org>
53046
53047 [BZ #15844]
53048 * COPYING: Update from GNU website to fix FSF address.
53049 * COPYING.LIB: Likewise.
53050
53051 2013-09-06 David S. Miller <davem@davemloft.net>
53052
53053 * po/zh_TW.po: Update Chinese (traditional) translation from
53054 translation project.
53055
53056 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53057 Joseph Myers <joseph@codesourcery.com>
53058
53059 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53060 "localeinfo.h".
53061 (obstack_chunk_alloc): New macro.
53062 (obstack_chunk_free): Likewise.
53063 (record_offset): New function.
53064 (init_locale_data): Likewise.
53065 (align_locale_data): Likewise.
53066 (add_locale_empty): Likewise.
53067 (add_locale_raw_data): Likewise.
53068 (add_locale_raw_obstack): Likewise.
53069 (add_locale_string): Likewise.
53070 (add_locale_wstring): Likewise.
53071 (add_locale_uint32): Likewise.
53072 (add_locale_uint32_array): Likewise.
53073 (add_locale_char): Likewise.
53074 (start_locale_structure): Likewise.
53075 (end_locale_structure): Likewise.
53076 (start_locale_prelude): Likewise.
53077 (end_locale_prelude): Likewise.
53078 (write_locale_data): Take locale_file structure rather than an
53079 iovec.
53080 * locale/programs/locfile.h: Include "obstack.h".
53081 (struct locale_file): Change to store locale file contents instead
53082 of header.
53083 (init_locale_data): New prototype.
53084 (align_locale_data): Likewise.
53085 (add_locale_empty): Likewise.
53086 (add_locale_raw_data): Likewise.
53087 (add_locale_raw_obstack): Likewise.
53088 (add_locale_string): Likewise.
53089 (add_locale_wstring): Likewise.
53090 (add_locale_uint32): Likewise.
53091 (add_locale_uint32_array): Likewise.
53092 (add_locale_char): Likewise.
53093 (start_locale_structure): Likewise.
53094 (end_locale_structure): Likewise.
53095 (start_locale_prelude): Likewise.
53096 (end_locale_prelude): Likewise.
53097 (write_locale_data): Update prototype.
53098 * locale/programs/3level.h (struct TABLE): Remove result field.
53099 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53100 Use new locale_file interface.
53101 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53102 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53103 * locale/programs/ld-address.c (address_output): Use new
53104 locale_file interface.
53105 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53106 NO_ADD_LOCALE.
53107 (collate_finish): Don't call collseq_table_finalize.
53108 (collate_output): Use new locale_file interface.
53109 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53110 in file.
53111 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53112 (TABLE): Move defines earlier in file.
53113 (ELEMENT): Likewise.
53114 (DEFAULT): Likewise.
53115 (wctrans_table_add): Move macro and inline function earlier in
53116 file.
53117 (struct wctype_table): Move type earlier in file.
53118 (add_locale_wctype_table): New static prototype.
53119 (struct locale_ctype_t): Use logical types instead of struct iovec
53120 pointers for members.
53121 (ctype_output): Use new locale_file interface.
53122 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53123 new locale_file interface.
53124 (allocate_arrays): Update for use of new locale_file interface.
53125 * locale/programs/ld-identification.c (identification_output): Use
53126 new locale_file interface.
53127 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53128 * locale/programs/ld-messages.c (messages_output): Likewise.
53129 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53130 * locale/programs/ld-name.c (name_output): Likewise.
53131 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53132 * locale/programs/ld-paper.c (paper_output): Likewise.
53133 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53134 * locale/programs/ld-time.c (time_output): Likewise.
53135
53136 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53137
53138 * benchtests/Makefile: Add memrchr benchmark.
53139 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53140 benchmark as memrchr.
53141 * benchtests/bench-memrchr-ifunc.c: New file.
53142 * benchtests/bench-memrchr.c: New file.
53143
53144 2013-09-06 Will Newton <will.newton@linaro.org>
53145
53146 * benchtests/Makefile (string-bench): Add memcpy.
53147
53148 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53149 Cong Wang <amwang@redhat.com>
53150
53151 [BZ #15850]
53152 * sysdeps/unix/sysv/linux/bits/in.h
53153 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53154 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53155 before __USE_KERNEL_IPV6_DEFS uses.
53156 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53157 IPPROTO_BEETPH.
53158 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53159 sockaddr_in6, or ipv6_mreq.
53160
53161 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53162
53163 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53164 memory access for final bytes in some large inputs.
53165 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53166
53167 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53168
53169 * string/test-memrchr.c: New file.
53170 * string/test-memrchr-ifunc.c: New file.
53171 * string/Makefile: Add new memrchr testcase.
53172
53173 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53174
53175 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53176 fanotify_init returns EPERM.
53177
53178 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53179
53180 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53181 errors.
53182 (top level): Treat second token from macro or constant entries for
53183 allowed headers as allowed.
53184 * include/complex.h: Condition internal declarations on
53185 [!_ISOMAC].
53186 * include/fenv.h: Condition include of <stdbool.h> and internal
53187 declarations on [!_ISOMAC].
53188
53189 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53190
53191 [BZ #15923]
53192 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53193
53194 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53195
53196 * configure.in (--enable-versioning): Remove configure option.
53197 (libc_cv_asm_symver_directive): Remove configure test.
53198 (libc_cv_ld_version_script_option): Likewise.
53199 (VERSIONING): Remove variable and AC_SUBST.
53200 (DO_VERSIONING): Remove AC_DEFINE.
53201 * configure: Regenerated.
53202 * config.h.in (DO_VERSIONING): Remove macro.
53203 * Makerules [$(versioning) = yes]: Change conditionals to
53204 [$(build-shared) = yes].
53205 * config.make.in (versioning): Remove variable.
53206 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53207 [$(build-shared) = yes].
53208 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53209 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53210 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53211 [$(build-shared) = yes].
53212 * extra-lib.mk [$(versioning) = yes]: Likewise.
53213 * hurd/Makefile [$(versioning) = yes]: Likewise.
53214 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53215 [SHARED].
53216 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53217 [SHARED].
53218 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53219 [SHARED && !NO_HIDDEN].
53220 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53221 [SHARED].
53222 [SHARED && DO_VERSIONING]: Likewise..
53223 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53224 [$(build-shared) = yes].
53225 * manual/install.texi (--disable-versioning): Remove
53226 documentation.
53227 * INSTALL: Regenerated.
53228 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53229 to [SHARED].
53230 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53231 [$(build-shared) = yes].
53232 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53233 * sysdeps/i386/i686/multiarch/strstr-c.c
53234 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53235 [SHARED && !NO_HIDDEN].
53236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53237 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53238 * sysdeps/powerpc/powerpc32/dl-machine.c
53239 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53240 * sysdeps/powerpc/powerpc32/sysdep.h
53241 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53242 to [SHARED && PIC && !NO_HIDDEN].
53243 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53244 conditional to [SHARED].
53245
53246 2013-09-04 Will Newton <will.newton@linaro.org>
53247
53248 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53249 * benchtests/bench-string.h: Include bench-timing.h instead
53250 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53251 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53252 call to HP_TIMING_DIFF_INIT.
53253 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53254 instead of hp-timing.h macros.
53255 * benchtests/bench-memchr.c: Likewise.
53256 * benchtests/bench-memcmp.c: Likewise.
53257 * benchtests/bench-memcpy.c: Likewise.
53258 * benchtests/bench-memmem.c: Likewise.
53259 * benchtests/bench-memmove.c: Likewise.
53260 * benchtests/bench-memset.c: Likewise.
53261 * benchtests/bench-rawmemchr.c: Likewise.
53262 * benchtests/bench-strcasecmp.c: Likewise.
53263 * benchtests/bench-strcasestr.c: Likewise.
53264 * benchtests/bench-strcat.c: Likewise.
53265 * benchtests/bench-strchr.c: Likewise.
53266 * benchtests/bench-strcmp.c: Likewise.
53267 * benchtests/bench-strcpy.c: Likewise.
53268 * benchtests/bench-strcpy_chk.c: Likewise.
53269 * benchtests/bench-strlen.c: Likewise.
53270 * benchtests/bench-strncasecmp.c: Likewise.
53271 * benchtests/bench-strncat.c: Likewise.
53272 * benchtests/bench-strncmp.c: Likewise.
53273 * benchtests/bench-strncpy.c: Likewise.
53274 * benchtests/bench-strnlen.c: Likewise.
53275 * benchtests/bench-strpbrk.c: Likewise.
53276 * benchtests/bench-strrchr.c: Likewise.
53277 * benchtests/bench-strspn.c: Likewise.
53278 * benchtests/bench-strstr.c: Likewise.
53279
53280 2013-09-04 Will Newton <will.newton@linaro.org>
53281
53282 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53283
53284 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53285
53286 [BZ #15427]
53287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53288 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53289 * math/libm-test.inc (lgamma_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-03 Ondřej Bílka <neleai@seznam.cz>
53294
53295 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53297 Add ifunc.
53298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53299 Add strcmp-sse2-unaligned
53300 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53301
53302 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53303
53304 * Versions.def (libc): Add GLIBC_2.19.
53305
53306 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53307
53308 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53309 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53310
53311 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53312
53313 [BZ #14155]
53314 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53315 intermediate calculations in recurrence.
53316 (__ieee754_ynf): Likewise.
53317 * math/libm-test.inc (jn_test_data): Do not allow spurious
53318 underflow exception. Add more tests.
53319 (yn_test_data): Add more tests.
53320 * sysdeps/i386/fpu/libm-test-ulps: Update.
53321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53322
53323 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53324
53325 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53326
53327 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53328
53329 * csu/init-first.c: Fix then/than typos.
53330 * locale/programs/ld-collate.c: Likewise.
53331 * locale/programs/linereader.h: Likewise.
53332 * manual/charset.texi: Likewise.
53333 * manual/filesys.texi: Likewise.
53334 * manual/stdio.texi: Likewise.
53335 * manual/string.texi: Likewise.
53336 * stdlib/fmtmsg.c: Likewise.
53337 * sysdeps/i386/stpncpy.S: Likewise.
53338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53339 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53341 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53342
53343 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53344
53345 * elf/dl-open.c: Fix typos.
53346 * iconvdata/gbbig5.c: Likewise.
53347 * iconvdata/iso-2022-jp.c: Likewise.
53348 * iconv/gconv_int.h: Likewise.
53349 * iconv/loop.c: Likewise.
53350 * nis/rpcsvc/nis.h: Likewise.
53351 * resolv/ns_name.c: Likewise.
53352 * stdio-common/vfscanf.c: Likewise.
53353 * streams/stropts.h: Likewise.
53354 * sunrpc/rpc_thread.c: Likewise.
53355 * sysdeps/i386/strpbrk.S: Likewise.
53356 * sysdeps/ieee754/k_standard.c: Likewise.
53357 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53359 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53360 * sysdeps/mach/hurd/profil.c: Likewise.
53361 * sysdeps/s390/dl-procinfo.h: Likewise.
53362 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53363 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53364 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53365 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53367
53368 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53369
53370 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53372
53373 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53374
53375 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53376 aix specific files.
53377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53378 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53379 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53380 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53381 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53382 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53383 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53384 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53385
53386 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53387 Roland McGrath <roland@hack.frob.com>
53388
53389 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53390 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53391
53392 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53393
53394 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53395 __executable_start symbol instead of _start.
53396
53397 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53398
53399 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53400 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53401 Move macros to...
53402 * sysdeps/gnu/ldsodefs.h: ... this new file.
53403
53404 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53405 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53406 instead of ELFOSABI_LINUX.
53407
53408 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53409 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53410 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53411 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53412 Likewise.
53413 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53414 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53415 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53416 Likewise.
53417 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53418 (ibm_extended_long_double): Add ieee_nan member.
53419 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53420 (do_test): New function.
53421
53422 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53423 TEST_TRUNC.
53424 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53425 functions, renamed from truncdfsf_test, trunctfsf_test,
53426 trunctfdf_test.
53427 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53428 functions.
53429 (do_test): Run all these.
53430
53431 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53432
53433 * argp/argp-help.c: Fix typos.
53434 * argp/argp-parse.c: Likewise.
53435 * debug/backtracesyms.c: Likewise.
53436 * elf/elf.h: Likewise.
53437 * malloc/malloc.c: Likewise.
53438 * nis/nis_print.c: Likewise.
53439 * resolv/res_comp.c: Likewise.
53440 * stdlib/stdlib.h: Likewise.
53441 * sunrpc/clnt_tcp.c: Likewise.
53442 * sunrpc/clnt_udp.c: Likewise.
53443 * sunrpc/clnt_unix.c: Likewise.
53444 * sysdeps/unix/bsd/ptsname.c: Likewise.
53445 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53448 Likewise.
53449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53450 Likewise.
53451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53452 Likewise.
53453 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53454
53455 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53456
53457 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53459
53460 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53461
53462 [BZ #15897]
53463 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53464 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53465 ($(objpfx)bug-dl-leaf): New rule.
53466 ($(objpfx)bug-dl-leaf.so): Likewise.
53467 ($(objpfx)bug-dl-leaf.out): Likewise.
53468 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53469 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53470 * dlfcn/bug-dl-leaf.c: New test.
53471 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53472 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53473 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53474 (dlclose): Likewise.
53475 (dlmopen): Likewise.
53476
53477 2013-08-27 Roland McGrath <roland@hack.frob.com>
53478
53479 * include/netdb.h [!_ISOMAC]:
53480 Don't include <tls.h>.
53481 (h_errno, __libc_h_errno): Move declaration and macros out of
53482 [_LIBC_REENTRANT].
53483
53484 * include/resolv.h [_RESOLV_H_]:
53485 Don't include <tls.h>.
53486 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53487 * resolv/res_libc.c: Don't include <tls.h>.
53488 (_res): Use __attribute__ ((nocommon)) in place of
53489 __attribute__ ((section (".bss"))).
53490
53491 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53492 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53493
53494 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53495
53496 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53497 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53498
53499 * resolv/res_mkquery.c: Include <sys/time.h>.
53500
53501 * inet/ifreq.c: Moved to ...
53502 * sysdeps/unix/ifreq.c: ... here.
53503 * inet/ifreq.c: New file, true stub version.
53504
53505 * socket/sa_len.c: New file.
53506 * socket/Makefile (aux): Add it.
53507 * sysdeps/unix/sysv/linux/Makefile
53508 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53509 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53510 and #include <socket/sa_len.c>.
53511 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53512 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53513
53514 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53515 * bits/socket.h: ... here.
53516
53517 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53518 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53519 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53520
53521 2013-08-27 Andreas Schwab <schwab@suse.de>
53522
53523 [BZ #15736]
53524 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53525 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53526 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53527 * string/test-strcasecmp.c (test_main): Run tests in several
53528 locales.
53529 * string/test-strncasecmp.c (test_main): Likewise.
53530
53531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53532 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53533 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53535 (__strncasecmp_ssse3) [PIC]: Likewise.
53536
53537 2013-08-26 Roland McGrath <roland@hack.frob.com>
53538
53539 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53540
53541 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53542 instead of explicitly declaring xdecrypt.
53543 * nis/nss_nis/nis-publickey.c: Likewise.
53544
53545 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53546
53547 [BZ #15890]
53548 * nscd/aicache.c: Include res_hconf.h.
53549 (addhstaiX): Initialize res_hconf.
53550
53551 2013-08-26 Andreas Schwab <schwab@suse.de>
53552
53553 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53554 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53555
53556 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53557
53558 * nscd/aicache.c (addhstaiX): Fix indentation.
53559
53560 2013-08-25 Mike Frysinger <vapier@gentoo.org>
53561
53562 * configure.ac: Quote $build_pt_chown test.
53563 * configure: Regenerated.
53564
53565 2013-08-23 Joseph Myers <joseph@codesourcery.com>
53566
53567 [BZ #15532]
53568 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53569 * math/s_cexpf.c (__cexpf): Likewise.
53570 * math/s_cexpl.c (__cexpl): Likewise.
53571 * math/libm-test.inc (cexp_test_data): Correct expected return
53572 value for NaN + i0. Add another test.
53573
53574 2013-08-22 David S. Miller <davem@davemloft.net>
53575
53576 * po/ca.po: Update Catalan translation from translation project.
53577 * po/uk.po: Add Ukrainian translations from translation project.
53578
53579 2013-08-21 Joseph Myers <joseph@codesourcery.com>
53580
53581 [BZ #15797]
53582 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53583 is infinite, not alongside NaN test.
53584 * math/s_fdimf.c (__fdimf): Likewise.
53585 * math/s_fdiml.c (__fdiml): Likewise.
53586 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53587 errno is unchanged.
53588
53589 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53590
53591 * argp/argp-help.c: Fix typos.
53592 * crypt/speeds.c: Likewise.
53593 * csu/check_fds.c: Likewise.
53594 * elf/dl-load.c: Likewise.
53595 * elf/dl-open.c: Likewise.
53596 * elf/reldep3.c: Likewise.
53597 * elf/reldep.c: Likewise.
53598 * elf/sprof.c: Likewise.
53599 * iconv/iconv_charmap.c: Likewise.
53600 * iconv/skeleton.c: Likewise.
53601 * iconv/strtab.c: Likewise.
53602 * io/lockf64.c: Likewise.
53603 * libio/libioP.h: Likewise.
53604 * resolv/gai_notify.c: Likewise.
53605 * resolv/ns_name.c: Likewise.
53606 * resolv/ns_samedomain.c: Likewise.
53607 * resolv/res_send.c: Likewise.
53608 * stdlib/random.c: Likewise.
53609 * sunrpc/rpc/xdr.h: Likewise.
53610 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53611 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53612 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53613 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53618 * sysdeps/mach/hurd/check_fds.c: Likewise.
53619 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53620 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53623 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53624 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53625 * sysdeps/pthread/aio_notify.c: Likewise.
53626 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53627 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53630 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53631
53632 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53633
53634 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53635 version if bit_Slow_SSE4_2 is set.
53636 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53638
53639 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53640
53641 [BZ #15867]
53642 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53643 trampoline stack frame information.
53644 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53646 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53647 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53648 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53649 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53650 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53651 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53652 sa_flags value.
53653 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53654 interrupting a syscall and set with option SA_SIGINFO.
53655
53656 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53657
53658 [BZ #15531]
53659 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53660 argument is infinite.
53661 * math/s_cprojf.c (__cprojf): Likewise.
53662 * math/s_cprojl.c (__cprojl): Likewise.
53663 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53664 * math/libm-test.inc (cproj_test_data): Add more tests.
53665
53666 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53667
53668 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53669 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53670 size. Use __ffs to determine corresponding shift.
53671
53672 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53673 Roland McGrath <roland@hack.frob.com>
53674
53675 * Makefile (INSTALL): Remove trailing blank lines from output of
53676 makeinfo.
53677
53678 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53679
53680 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53681 Align 32 bit compat elf_greg to 8 bytes.
53682
53683 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53684
53685 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53686
53687 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53688
53689 * string/strcoll_l.c (coll_seq): New structure.
53690 (get_next_seq_cached): New function.
53691 (get_next_seq): New function.
53692 (do_compare): New function.
53693 (STRCOLL): Use GNU style definition. Simplify implementation
53694 by using get_next_seq, get_next_seq_cached and do_compare.
53695
53696 2013-08-16 Florian Weimer <fweimer@redhat.com>
53697
53698 [BZ #14699]
53699 CVE-2013-4237
53700 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53701 member.
53702 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53703 member.
53704 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53705 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53706 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53707 conditional.
53708 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53709 GETDENTS_64BIT_ALIGNED.
53710 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53711 * manual/filesys.texi (Reading/Closing Directory): Document
53712 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53713 strongly.
53714 * manual/conf.texi (Limits for Files): Add portability note to
53715 NAME_MAX, PATH_MAX.
53716 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53717
53718 2013-08-13 Andreas Schwab <schwab@suse.de>
53719
53720 [BZ #15749]
53721 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53722 of fabs.
53723 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53724 LDBL_MAX_EXP >= 16384]: Add tests for it.
53725
53726 2013-08-12 David S. Miller <davem@davemloft.net>
53727
53728 * version.h (RELEASE): Set to "development".
53729 (VERSION): Set to "2.18.90".
53730 * NEWS: Add 2.19 section.
53731
53732 2013-08-03 David S. Miller <davem@davemloft.net>
53733
53734 * po/ko.po: Update Korean translation from translation project.
53735
53736 2013-08-01 David S. Miller <davem@davemloft.net>
53737
53738 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53739 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53740 Bilka.
53741
53742 2013-07-30 David S. Miller <davem@davemloft.net>
53743
53744 * po/fr.po: Update French translation from translation project.
53745
53746 2013-07-28 David S. Miller <davem@davemloft.net>
53747
53748 * po/cs.po: Update Czech translation from translation project.
53749
53750 * po/sv.po: Update Swedish translation from translation project.
53751
53752 2013-07-27 David S. Miller <davem@davemloft.net>
53753
53754 * po/eo.po: Update Esperanto translation from translation project.
53755
53756 * po/vi.po: Update Vietnamese translation from translation project.
53757
53758 * po/de.po: Update German translation from translation project.
53759
53760 2013-07-26 David S. Miller <davem@davemloft.net>
53761
53762 * po/bg.po: Update Bulgarian translation from translation project.
53763
53764 * po/nl.po: Update Dutch translation from translation project.
53765 * po/pl.po: Update Polish translation from translation project.
53766 * po/ru.po: Update Russian translation from translation project.
53767
53768 2013-07-24 David S. Miller <davem@davemloft.net>
53769
53770 * po/libc.pot: Update.
53771
53772 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53773
53774 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53775 variable page size.
53776 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53777 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53778 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53779
53780 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53781
53782 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53783
53784 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53785 Andreas Schwab <schwab@suse.de>
53786 Roland McGrath <roland@hack.frob.com>
53787 Joseph Myers <joseph@codesourcery.com>
53788 Carlos O'Donell <carlos@redhat.com>
53789
53790 [BZ #15755]
53791 * config.h.in: Define HAVE_PT_CHOWN.
53792 * config.make.in (build-pt-chown): New variable.
53793 * configure.in (--enable-pt_chown): New configure option.
53794 * configure: Regenerate.
53795 * login/Makefile: Include Makeconfig. Build pt_chown only if
53796 build-pt-chown is enabled.
53797 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53798 pt_chown to fix pty ownership.
53799 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53800 CLOSE_ALL_FDS.
53801 * manual/install.texi (Configuring and compiling): Mention
53802 --enable-pt_chown. Add @findex for grantpt.
53803 * INSTALL: Regenerate.
53804
53805 2013-07-20 David S. Miller <davem@davemloft.net>
53806
53807 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53808 difference between 32-bit and 64-bit.
53809
53810 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53811
53812 [BZ #15711]
53813 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53814 Avoid system header dependency with -ffreestanding.
53815 ($(objpfx)bits/syscall%d): Likewise.
53816
53817 2013-07-13 David S. Miller <davem@davemloft.net>
53818
53819 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53820 underflows from atanl/atan2l due to bug 15319.
53821 (casinh_test_data): Likewise.
53822
53823 2013-07-07 David S. Miller <davem@davemloft.net>
53824
53825 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53826
53827 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53828
53829 * sysdeps/i386/fpu/libm-test-ulps: Update.
53830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53831
53832 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53833
53834 * configure.in (--enable-lock-elision): Fix message text.
53835 * INSTALL: Regenerate.
53836 * configure: Regenerate.
53837
53838 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53839
53840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53841
53842 2013-07-03 Andreas Jaeger <aj@suse.de>
53843
53844 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53845 define.
53846 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53847 (ptrace_peeksiginfo_args): Add.
53848 (__ptrace_peeksiginfo_flags): Add.
53849 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53852
53853 2013-07-03 Allan McRae <allan@archlinux.org>
53854
53855 * sysdeps/i386/fpu/libm-test-ulps: Update.
53856
53857 2013-07-02 David S. Miller <davem@davemloft.net>
53858
53859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53860
53861 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53862
53863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53864
53865 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53866
53867 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53869
53870 2013-07-02 Andi Kleen <ak@linux.intel.com>
53871
53872 * config.h.in (ENABLE_LOCK_ELISION): Add.
53873 * configure.in (--enable-lock-elision): Add option.
53874 * manual/install.texi: Document --enable lock elision.
53875 * configure: Regenerate
53876 * INSTALL: Regenerate.
53877
53878 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53879
53880 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53881 SSE4.2 strcasecmp for libc.a.
53882 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53883
53884 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53885
53886 [BZ #13304]
53887 * soft-fp/op-common.h (_FP_FMA): New macro.
53888 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53889 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53890 (_FP_MUL_MEAT_1_imm): ... here.
53891 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53892 (_FP_MUL_MEAT_1_wide): ... here.
53893 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53894 (_FP_MUL_MEAT_1_hard): ... here.
53895 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53896 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53897 (_FP_MUL_MEAT_2_wide): ... here.
53898 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53899 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53900 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53901 (_FP_MUL_MEAT_2_gmp): ... here.
53902 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53903 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53904 (_FP_MUL_MEAT_4_wide): ... here.
53905 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53906 (_FP_MUL_MEAT_4_gmp): ... here.
53907 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53908 (_FP_WFRACBITS_DW_S): Likewise.
53909 (_FP_WFRACXBITS_DW_S): Likewise.
53910 (_FP_HIGHBIT_DW_S): Likewise.
53911 (FP_FMA_S): Likewise.
53912 (_FP_FRAC_HIGH_DW_S): Likewise.
53913 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53914 (_FP_WFRACBITS_DW_D): Likewise.
53915 (_FP_WFRACXBITS_DW_D): Likewise.
53916 (_FP_HIGHBIT_DW_D): Likewise.
53917 (FP_FMA_D): Likewise.
53918 (_FP_FRAC_HIGH_DW_D): Likewise.
53919 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53920 (_FP_WFRACBITS_DW_E): Likewise.
53921 (_FP_WFRACXBITS_DW_E): Likewise.
53922 (_FP_HIGHBIT_DW_E): Likewise.
53923 (FP_FMA_E): Likewise.
53924 (_FP_FRAC_HIGH_DW_E): Likewise.
53925 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53926 (_FP_WFRACBITS_DW_Q): Likewise.
53927 (_FP_WFRACXBITS_DW_Q): Likewise.
53928 (_FP_HIGHBIT_DW_Q): Likewise.
53929 (FP_FMA_Q): Likewise.
53930 (_FP_FRAC_HIGH_DW_Q): Likewise.
53931 * soft-fp/fmasf4.c: New file.
53932 * soft-fp/fmadf4.c: Likewise.
53933 * soft-fp/fmatf4.c: Likewise.
53934
53935 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53936
53937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53938 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53939 Silvermont.
53940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53941 macro.
53942 (index_Slow_SSE4_2): Likewise.
53943 (index_Prefer_PMINUB_for_stringop): Likewise.
53944 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53945 bit_Slow_SSE4_2 is set.
53946 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53948
53949 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53950
53951 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53952 rtld_global._dl_hwcap2.
53953 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53954 POWER8.
53955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53956 POWER8 feature descriptions defined in _dl_hwcap2.
53957 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53958 string handling for POWER8 feature bits.
53959 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53960 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53961 _dl_powerpc_cap_flags.
53962 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53963 * sysdeps/powerpc/rtld-global-offsets.sym
53964 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53965 _dl_hwcap2 in the rtld_global_ro structure.
53966
53967 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53968
53969 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53970 hardware capabilities in support of AT_HWCAP2.
53971 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53972 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53973 GLRO(dl_hwcap2).
53974 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53975 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53976 explicitly the unknown a_type display mechanism is used.
53977 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53978 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53979 struct member.
53980 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53981 to macro prototype for AT_HWCAP2 support.
53982 * sysdeps/i386/dl-procinfo.h: Likewise.
53983 * sysdeps/s390/dl-procinfo.h: Likewise.
53984 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53985 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53986 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53987 return -1 for unknown a_type display fallback.
53988 * sysdeps/sparc/dl-procinfo.h: Likewise.
53989 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53990 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53991
53992 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53993
53994 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53995 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53996
53997 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53998
53999 [BZ #12492]
54000 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54001 mprotect making __stack_prot writable.
54002
54003 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
54004 Joseph Myers <joseph@codesourcery.com>
54005
54006 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54007 as being properly aligned.
54008
54009 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
54010
54011 * dlfcn/modstatic5.c: New file.
54012 * dlfcn/tststatic5.c: New file.
54013 * dlfcn/Makefile (tests): Add tststatic5.
54014 (tests-static): Likewise.
54015 (modules-names): Add modstatic5.
54016 (tststatic5-ENV): New variable.
54017 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54018
54019 [BZ #15022]
54020 * elf/dl-support.c (_dl_main_map): New variable.
54021 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54022 (_dl_nns, _dl_load_adds): Set to 1.
54023 (_dl_initial_searchlist): Refer to _dl_main_map.
54024 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54025 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54026 call to _dl_get_origin.
54027 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54028 around call_map.
54029 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54030 * dlfcn/modstatic3.c: New file.
54031 * dlfcn/tststatic3.c: New file.
54032 * dlfcn/tststatic4.c: New file.
54033 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54034 (tests-static): Likewise.
54035 (modules-names): Add modstatic3.
54036 (tststatic3-ENV, tststatic4-ENV): New variables.
54037 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54038 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54039
54040 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54041
54042 * configure.in (CC): Require GCC version 4.4 or later.
54043 * configure: Regenerated.
54044 * manual/install.texi (Tools for Compilation): Update GCC version
54045 requirement.
54046 * INSTALL: Regenerated.
54047
54048 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54049
54050 [BZ #15674]
54051 * string/test-memcmp.c (check2): New.
54052 (main): Call check2.
54053
54054 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54055
54056 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54057
54058 [BZ #15022]
54059 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54060 over to...
54061 (dl_open_worker) [!SHARED]: ... here.
54062
54063 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54064
54065 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54066
54067 2013-06-25 Richard Henderson <rth@redhat.com>
54068
54069 * locale/programs/locarchive.c: Include <libc-internal.h>
54070
54071 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54072
54073 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54074 trailing whitespace removed.
54075
54076 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54077
54078 [BZ #10283]
54079 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54080 * locale/programs/locarchive.c: Include libc-mmap.h.
54081 (prepare_address_space): Take two new outputs (the mmap base and len).
54082 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54083 values.
54084 (create_archive): Declare new mmap base and len values for
54085 prepare_address_space, and store the result in ah.
54086 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54087 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54088 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54089 Declare new mmap base and len values for
54090 prepare_address_space, and store the result in new_ah.
54091 (open_archive): Declare new mmap base and len values for
54092 prepare_address_space, and store the result in ah.
54093 (close_archive): If ah->mmap_base is not NULL, use that and
54094 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54095 * sysdeps/generic/libc-mmap.h: New file.
54096
54097 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54098
54099 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54100 (ALIGN_UP): Likewise.
54101 (PTR_ALIGN_DOWN): Likewise.
54102 (PTR_ALIGN_UP): Likewise.
54103
54104 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54105
54106 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54107 entry mapped to PPC_PLATFORM_POWER8.
54108 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54109 POWER8.
54110 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54111 (_dl_string_platform): Add case for exporting platform position for
54112 POWER8.
54113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54114 search path to sysdeps/powerpc/powerpc32/power8 directory.
54115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54116 search path to sysdeps/powerpc/powerpc64/power8 directory.
54117 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54118 power7 directories.
54119 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54120 power7 directories.
54121
54122 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54123
54124 * INSTALL: Regenerate.
54125
54126 * nscd/connections.c (nscd_init): Fix comment.
54127
54128 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54129
54130 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54131
54132 [BZ #15667]
54133 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54134 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54135
54136 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54137
54138 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54139 DL_DST_REQ_STATIC.
54140 (DL_DST_REQ_STATIC): Remove macro.
54141
54142 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54143
54144 [BZ #7006]
54145 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54146 with a shift of 0 bits.
54147
54148 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54149
54150 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54151 $(tststatic-ENV).
54152
54153 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54154
54155 [BZ #15655]
54156 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54157
54158 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54159
54160 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54161 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54162 accepts -fno-tree-loop-distribute-patterns.
54163 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54164 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54165 recursive call.
54166 * string/memset.c (memset): Likewise.
54167 * string/test-memmove.c (simple_memmove): Disable loop transformation
54168 to library calls.
54169 * string/test-memset.c (simple_memset): Likewise.
54170 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54171 * benchtests/bench-memset.c (simple_memset): Likewise.
54172 * configure: Regenerated.
54173
54174 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54175
54176 * math/test-misc.c (main): Ignore fesetround failure when failures
54177 of subsequent rounding tests would be ignored.
54178
54179 [BZ #15654]
54180 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54181 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54182 * math/fegetenv.c (__fegetenv): Return 0.
54183 * math/fegetexcept.c (fegetexcept): Return 0.
54184 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54185 FE_TONEAREST.
54186 * math/feholdexcpt.c (feholdexcept): Return 0.
54187 * math/fesetenv.c (__fesetenv): Return 0.
54188 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54189 argument FE_TONEAREST.
54190 * math/feupdateenv.c (__feupdateenv): Return 0.
54191 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54192
54193 2013-06-18 Roland McGrath <roland@hack.frob.com>
54194
54195 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54196 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54197 ($(objpfx)rtld-%.os rules): Use them.
54198
54199 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54200
54201 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54202 fields.
54203
54204 2013-06-17 Roland McGrath <roland@hack.frob.com>
54205
54206 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54207 length of target pattern, then descending length of dependency pattern.
54208 * configure.in (AWK): Require gawk 3.1.2 or newer.
54209 * manual/install.texi (Tools for Compilation): Say that we do.
54210 * configure: Regenerated.
54211
54212 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54213 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54214 * scripts/sysd-rules.awk: ... this new script.
54215 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54216 than a glob-style pattern.
54217
54218 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54219
54220 * math/test-misc.c (main): Do not treat incorrectly rounded
54221 conversions as failure unless ROUNDING_TESTS passes.
54222
54223 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54224
54225 [BZ #15631]
54226 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54227 restore exception state around main square root computation, then
54228 check for inexactness explicitly.
54229
54230 * math/libm-test.inc (fma_test_data): Add another test.
54231
54232 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54233
54234 * manual/threads.texi (Non-POSIX Extensions): New document
54235 node. Document pthread_getattr_default_np and
54236 pthread_setattr_default_np.
54237
54238 * Versions.def (libpthread): Add GLIBC_2.18.
54239 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54241 Likewise.
54242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54243 Likewise.
54244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54245 Likewise.
54246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54247 Likewise.
54248 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54249 Likewise.
54250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54251 Likewise.
54252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54253 Likewise.
54254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54255 Likewise.
54256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54257 Likewise.
54258
54259 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54260
54261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54262 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54263
54264 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54265 H.J. Lu <hjl.tools@gmail.com>
54266
54267 [BZ #15627]
54268 * sysdeps/x86_64/rtld-memset.c: Remove file.
54269 * sysdeps/x86_64/rtld-memset.S: New file.
54270
54271 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54272
54273 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54274 (test_in_one_mode): Take arguments for whether the rounding mode
54275 is supported for each floating-point type.
54276 (do_test): Pass new arguments to test_in_one_mode using
54277 ROUNDING_TESTS.
54278
54279 2013-06-13 Roland McGrath <roland@hack.frob.com>
54280
54281 * posix/tst-waitid.c (do_test): Distinguish different instances of
54282 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54283 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54284 before entering the kernel for waitpid.
54285
54286 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54287
54288 * NEWS: Fix note on clock function precision. Text by Roland
54289 McGrath.
54290
54291 2013-06-13 Roland McGrath <roland@hack.frob.com>
54292
54293 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54294 it into place only when and if the sanity check passes.
54295
54296 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54297
54298 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54299 output for whether conversion result is exact. Take argument
54300 indicating whether type is IBM long double.
54301 (round_for_all): Change need_exact field to ibm_ld.
54302 * stdlib/tst-strtod-round.c (struct exactness): New type.
54303 (struct test): Change bool ld_ok field to struct exactness exact.
54304 (TEST): Update all definitions for change to field.
54305 (tests): Regenerate array contents.
54306 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54307 field value. Check for IBM long double here.
54308 (do_test): Update calls to test_in_one_mode.
54309
54310 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54311
54312 [BZ #12515]
54313 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54314 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54315
54316 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54317
54318 [BZ #15605]
54319 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54320 generated by the compiler on loop optimizations.
54321 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54322 general definitions.
54323
54324 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54325
54326 * math/bug-nextafter.c: Include <math-tests.h>.
54327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54328 the relevant type.
54329 * math/bug-nexttoward.c: Include <math-tests.h>.
54330 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54331 the relevant type.
54332 * math/test-misc.c: Include <math-tests.h>.
54333 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54334 the relevant type.
54335
54336 2013-06-12 Andreas Jaeger <aj@suse.de>
54337
54338 * po/ia.po: Update Interlingua translation from translation
54339 project.
54340
54341 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54342
54343 * include/fenv.h: Include stdbool.h.
54344 (struct rm_ctx): New structure.
54345 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54346 Define macro.
54347 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54348 (SET_RESTORE_ROUNDF): Likewise.
54349 (SET_RESTORE_ROUNDL): Likewise.
54350 (SET_RESTORE_ROUND_NOEX): Likewise.
54351 (SET_RESTORE_ROUND_NOEXF): Likewise.
54352 (SET_RESTORE_ROUND_NOEXL): Likewise.
54353 (SET_RESTORE_ROUND_53BIT): Likewise.
54354 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54355 (libc_feresetround_noexf_ctx): Likewise.
54356 (libc_feresetround_noexl_ctx): Likewise.
54357 (libc_feholdsetround_53bit_ctx): Likewise.
54358 (libc_feresetround_53bit_ctx): Likewise.
54359 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54360 (libc_feholdexcept_setround_sse_ctx): New function.
54361 (libc_fesetenv_sse_ctx): Likewise.
54362 (libc_feupdateenv_sse_ctx): Likewise.
54363 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54364 (libc_feholdexcept_setround_387_ctx): Likewise.
54365 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54366 (libc_feholdsetround_387_prec_ctx): Likewise.
54367 (libc_feholdsetround_387_ctx): Likewise.
54368 (libc_feholdsetround_387_53bit_ctx): Likewise.
54369 (libc_feholdsetround_sse_ctx): Likewise.
54370 (libc_feresetround_sse_ctx): Likewise.
54371 (libc_feresetround_387_ctx): Likewise.
54372 (libc_feupdateenv_387_ctx): Likewise.
54373 (libc_feholdexcept_setroundf_ctx): Define macro.
54374 (libc_fesetenvf_ctx): Likewise.
54375 (libc_feupdateenvf_ctx): Likewise.
54376 (libc_feholdsetroundf_ctx): Likewise.
54377 (libc_feresetroundf_ctx): Likewise.
54378 (libc_feholdexcept_setround_ctx): Likewise.
54379 (libc_fesetenv_ctx): Likewise.
54380 (libc_feupdateenv_ctx): Likewise.
54381 (libc_feholdsetround_ctx): Likewise.
54382 (libc_feresetround_ctx): Likewise.
54383 (libc_feholdexcept_setroundl_ctx): Likewise.
54384 (libc_feupdateenvl_ctx): Likewise.
54385 (libc_feholdsetroundl_ctx): Likewise.
54386 (libc_feresetroundl_ctx): Likewise.
54387 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54388 (libc_feresetround_53bit_ctx): Likewise.
54389
54390 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54391
54392 * locale/iso-639.def: Convert to UTF-8.
54393
54394 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54395
54396 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54397 (EXCEPTION_TESTS_double): Likewise.
54398 (EXCEPTION_TESTS_long_double): Likewise.
54399 (EXCEPTION_TESTS): Likewise.
54400 * math/libm-test.inc (test_exceptions): Only test exceptions if
54401 EXCEPTION_TESTS (FLOAT).
54402
54403 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54404
54405 * benchtests/Makefile (string-bench): Add strcpy_chk and
54406 stpcpy_chk.
54407 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54408 * benchtests/bench-stpcpy_chk.c: New file.
54409 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54410 * benchtests/bench-strcpy_chk.c: New file.
54411 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54412 code.
54413 (do_test): Likewise.
54414
54415 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54416
54417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54418 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54419 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54420 with tabs where appropriate.
54421 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54422 dl-procinfo.h.
54423 [PPC_PLATFORM_PPC440]: Likewise.
54424 [PPC_PLATFORM_PPC464]: Likewise.
54425 [PPC_PLATFORM_PPC476]: Likewise.
54426 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54427 ppc464, and ppc476 platform strings merging from ports/
54428 dl-procinfo.h.
54429
54430 2013-06-11 Andreas Schwab <schwab@suse.de>
54431
54432 [BZ #14991]
54433 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54434 (from_ucs4_idx): Regenerate.
54435 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54436 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54437 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54438 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54439 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54440 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54441 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54442 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54443 from FROM_LOOP and TO_LOOP specific macros.
54444 (BODY): Handle combining characters.
54445 * iconvdata/BIG5HKSCS.irreversible: Update.
54446 * iconvdata/BIG5HKSCS.precomposed: New file.
54447 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54448 characters.
54449 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54450
54451 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54452
54453 * include/sys/time.h: Fix indentation and add copyright header.
54454
54455 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54456 (do_test): Likewise.
54457 * string/test-memchr.c (do_one_test): Likewise.
54458 (do_test): Likewise.
54459 * string/test-memcmp.c (do_one_test): Likewise.
54460 (do_test): Likewise.
54461 * string/test-memcpy.c (do_one_test): Likewise.
54462 (do_test): Likewise.
54463 * string/test-memmem.c (do_one_test): Likewise.
54464 (do_test): Likewise.
54465 (do_random_tests): Likewise.
54466 * string/test-memmove.c (do_one_test): Likewise.
54467 (do_test): Likewise.
54468 * string/test-memset.c (do_one_test): Likewise.
54469 (do_test): Likewise.
54470 * string/test-rawmemchr.c (do_one_test): Likewise.
54471 (do_test): Likewise.
54472 * string/test-strcasecmp.c (do_one_test): Likewise.
54473 (do_test): Likewise.
54474 * string/test-strcasestr.c (do_one_test): Likewise.
54475 (do_test): Likewise.
54476 * string/test-strcat.c (do_one_test): Likewise.
54477 (do_test): Likewise.
54478 * string/test-strchr.c (do_one_test): Likewise.
54479 (do_test): Likewise.
54480 * string/test-strcmp.c (do_one_test): Likewise.
54481 (do_test): Likewise.
54482 * string/test-strcpy.c (do_one_test): Likewise.
54483 (do_test): Likewise.
54484 * string/test-string.h: Likewise.
54485 (test_init): Likewise.
54486 * string/test-strlen.c (do_one_test): Likewise.
54487 (do_test): Likewise.
54488 * string/test-strncasecmp.c (do_one_test): Likewise.
54489 (do_test): Likewise.
54490 * string/test-strncat.c (do_one_test): Likewise.
54491 (do_test): Likewise.
54492 * string/test-strncmp.c (do_one_test): Likewise.
54493 (do_test_limit): Likewise.
54494 (do_test): Likewise.
54495 * string/test-strncpy.c (do_one_test): Likewise.
54496 (do_test): Likewise.
54497 * string/test-strnlen.c (do_one_test): Likewise.
54498 (do_test): Likewise.
54499 * string/test-strpbrk.c (do_one_test): Likewise.
54500 (do_test): Likewise.
54501 * string/test-strrchr.c (do_one_test): Likewise.
54502 (do_test): Likewise.
54503 * string/test-strspn.c (do_one_test): Likewise.
54504 (do_test): Likewise.
54505 * string/test-strstr.c (do_one_test): Likewise.
54506 (do_test): Likewise.
54507
54508 * benchtests/Makefile (string-bench): Add string benchmarks.
54509 * benchtests/bench-bcopy-ifunc.c: New file.
54510 * benchtests/bench-bcopy.c: New file.
54511 * benchtests/bench-bzero-ifunc.c: New file.
54512 * benchtests/bench-bzero.c: New file.
54513 * benchtests/bench-memccpy-ifunc.c: New file.
54514 * benchtests/bench-memccpy.c: New file.
54515 * benchtests/bench-memchr-ifunc.c: New file.
54516 * benchtests/bench-memchr.c: New file.
54517 * benchtests/bench-memcmp-ifunc.c: New file.
54518 * benchtests/bench-memcmp.c: New file.
54519 * benchtests/bench-memmem-ifunc.c: New file.
54520 * benchtests/bench-memmem.c: New file.
54521 * benchtests/bench-memmove-ifunc.c: New file.
54522 * benchtests/bench-memmove.c: New file.
54523 * benchtests/bench-mempcpy-ifunc.c: New file.
54524 * benchtests/bench-mempcpy.c: New file.
54525 * benchtests/bench-memset-ifunc.c: New file.
54526 * benchtests/bench-memset.c: New file.
54527 * benchtests/bench-rawmemchr-ifunc.c: New file.
54528 * benchtests/bench-rawmemchr.c: New file.
54529 * benchtests/bench-stpcpy-ifunc.c: New file.
54530 * benchtests/bench-stpcpy.c: New file.
54531 * benchtests/bench-stpncpy-ifunc.c: New file.
54532 * benchtests/bench-stpncpy.c: New file.
54533 * benchtests/bench-strcasecmp-ifunc.c: New file.
54534 * benchtests/bench-strcasecmp.c: New file.
54535 * benchtests/bench-strcasestr-ifunc.c: New file.
54536 * benchtests/bench-strcasestr.c: New file.
54537 * benchtests/bench-strcat-ifunc.c: New file.
54538 * benchtests/bench-strcat.c: New file.
54539 * benchtests/bench-strchr-ifunc.c: New file.
54540 * benchtests/bench-strchr.c: New file.
54541 * benchtests/bench-strchrnul-ifunc.c: New file.
54542 * benchtests/bench-strchrnul.c: New file.
54543 * benchtests/bench-strcmp-ifunc.c: New file.
54544 * benchtests/bench-strcmp.c: New file.
54545 * benchtests/bench-strcpy-ifunc.c: New file.
54546 * benchtests/bench-strcpy.c: New file.
54547 * benchtests/bench-strcspn-ifunc.c: New file.
54548 * benchtests/bench-strcspn.c: New file.
54549 * benchtests/bench-strlen-ifunc.c: New file.
54550 * benchtests/bench-strlen.c: New file.
54551 * benchtests/bench-strncasecmp-ifunc.c: New file.
54552 * benchtests/bench-strncasecmp.c: New file.
54553 * benchtests/bench-strncat-ifunc.c: New file.
54554 * benchtests/bench-strncat.c: New file.
54555 * benchtests/bench-strncmp-ifunc.c: New file.
54556 * benchtests/bench-strncmp.c: New file.
54557 * benchtests/bench-strncpy-ifunc.c: New file.
54558 * benchtests/bench-strncpy.c: New file.
54559 * benchtests/bench-strnlen-ifunc.c: New file.
54560 * benchtests/bench-strnlen.c: New file.
54561 * benchtests/bench-strpbrk-ifunc.c: New file.
54562 * benchtests/bench-strpbrk.c: New file.
54563 * benchtests/bench-strrchr-ifunc.c: New file.
54564 * benchtests/bench-strrchr.c: New file.
54565 * benchtests/bench-strspn-ifunc.c: New file.
54566 * benchtests/bench-strspn.c: New file.
54567 * benchtests/bench-strstr-ifunc.c: New file.
54568 * benchtests/bench-strstr.c: New file.
54569
54570 * benchtests/Makefile: Disable parallel execution of targets.
54571 (string-bench): Add memcpy.
54572 (benchset): New variable to store a list of benchmark sets.
54573 (bench-func): Renamed from bench.
54574 (bench-set): New target.
54575 (bench): Depend on bench-func and bench-set.
54576 * benchtests/README: Add section on benchmark sets.
54577 * benchtests/bench-memcpy-ifunc.c: New file.
54578 * benchtests/bench-memcpy.c: New file.
54579 * benchtests/bench-string.h: New file.
54580
54581 2013-06-11 Andreas Schwab <schwab@suse.de>
54582
54583 [BZ #15577]
54584 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54585 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54586 values in the triple.
54587 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54588 terminator in the group key.
54589
54590 2013-06-11 Andreas Jaeger <aj@suse.de>
54591
54592 * po/zh_TW.po: Update Chinese (traditional) translation from
54593 translation project.
54594
54595 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54596
54597 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54598 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54599 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54601 (clock_getcpuclockid): Likewise.
54602 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54603 Add weak_alias and libc_hidden_def.
54604 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54605 * rt/clock_gettime.c (clock_gettime): Rename to
54606 __clock_gettime. Add weak_alias and libc_hidden_def.
54607 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54608 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54609 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54610 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54611 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54612 Likewise.
54613 * rt/clock_settime.c (clock_settime): Rename to
54614 __clock_settime. Add weak_alias and libc_hidden_def.
54615 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54616
54617 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54618
54619 * mach/err_boot.sub: Remove trailing whitespace.
54620 * mach/err_ipc.sub: Likewise.
54621 * mach/err_mach.sub: Likewise.
54622
54623 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54624 (ROUNDING_TESTS_double): Likewise.
54625 (ROUNDING_TESTS_long_double): Likewise.
54626 (ROUNDING_TESTS): Likewise.
54627 * math/libm-test.inc: Include <math-tests.h>.
54628 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54629 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54630 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54631 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54632
54633 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54634
54635 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54636 of assigning.
54637
54638 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54639
54640 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54641 otherwise empty TRANS lines.
54642 * sysdeps/gnu/errlist.c: Regenerated.
54643
54644 * catgets/gencat.c (error_print): Use (void) in function
54645 definition.
54646 * crypt/crypt_util.c (__init_des): Likewise.
54647 * crypt/speeds.c (Stop): Likewise.
54648 (main): Likewise.
54649 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54650 * inet/ruserpass.c (token): Likewise.
54651 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54652 * intl/localealias.c (extend_alias_table): Likewise.
54653 * intl/plural-exp.c (init_germanic_plural): Likewise.
54654 * libio/fcloseall.c (__fcloseall): Likewise.
54655 * libio/genops.c (_IO_flush_all): Likewise.
54656 (_IO_flush_all_linebuffered): Likewise.
54657 (_IO_cleanup): Likewise.
54658 (_IO_iter_begin): Likewise.
54659 (_IO_iter_end): Likewise.
54660 (_IO_list_lock): Likewise.
54661 (_IO_list_unlock): Likewise.
54662 (_IO_list_resetlock): Likewise.
54663 * libio/getchar.c (getchar): Likewise.
54664 * libio/getchar_u.c (getchar_unlocked): Likewise.
54665 * libio/getwchar.c (getwchar): Likewise.
54666 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54667 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54668 * login/getpt.c (__getpt): Likewise.
54669 * login/tst-utmp.c (main): Likewise.
54670 * malloc/hooks.c (__malloc_check_init): Likewise.
54671 * malloc/malloc.c (__malloc_stats): Likewise.
54672 * malloc/mtrace.c (tr_break): Likewise.
54673 (mtrace): Likewise.
54674 (muntrace): Likewise.
54675 * misc/fstab.c (endfsent): Likewise.
54676 * misc/getclktck.c (__getclktck): Likewise.
54677 * misc/getdtsz.c (__getdtablesize): Likewise.
54678 * misc/gethostid.c (gethostid): Likewise.
54679 * misc/getpagesize.c (__getpagesize): Likewise.
54680 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54681 (__get_nprocs): Likewise.
54682 (__get_phys_pages): Likewise.
54683 (__get_avphys_pages): Likewise.
54684 * misc/getttyent.c (getttyent): Likewise.
54685 (setttyent): Likewise.
54686 (endttyent): Likewise.
54687 * misc/getusershell.c (getusershell): Likewise.
54688 (endusershell): Likewise.
54689 (setusershell): Likewise.
54690 (initshells): Likewise.
54691 * misc/hsearch.c (__hdestroy): Likewise.
54692 * misc/sync.c (sync): Likewise.
54693 * misc/syslog.c (closelog_internal): Likewise.
54694 (closelog): Likewise.
54695 * misc/ttyslot.c (ttyslot): Likewise.
54696 * misc/vhangup.c (vhangup): Likewise.
54697 * posix/fork.c (__fork): Likewise.
54698 * posix/getegid.c (__getegid): Likewise.
54699 * posix/geteuid.c (__geteuid): Likewise.
54700 * posix/getgid.c (__getgid): Likewise.
54701 * posix/getpid.c (__getpid): Likewise.
54702 * posix/getppid.c (__getppid): Likewise.
54703 * posix/getuid.c (__getuid): Likewise.
54704 * posix/pause.c (pause): Likewise.
54705 * posix/setpgrp.c (setpgrp): Likewise.
54706 * posix/setsid.c (__setsid): Likewise.
54707 * posix/test-vfork.c (noop): Likewise.
54708 * resolv/gethnamaddr.c (_endhtent): Likewise.
54709 (_gethtent): Likewise.
54710 (ht_endhostent): Likewise.
54711 (gethostent): Likewise.
54712 (dns_service): Likewise.
54713 * stdlib/drand48.c (drand48): Likewise.
54714 * stdlib/lrand48.c (lrand48): Likewise.
54715 * stdlib/mrand48.c (mrand48): Likewise.
54716 * stdlib/rand.c (rand): Likewise.
54717 * stdlib/random.c (__random): Likewise.
54718 * stdlib/setenv.c (clearenv): Likewise.
54719 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54720 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54721 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54722 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54723 (__get_nprocs): Likewise.
54724 (__get_phys_pages): Likewise.
54725 (__get_avphys_pages): Likewise.
54726 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54727 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54728 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54729 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54730 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54731 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54732 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54733 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54734 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54735 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54736 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54737 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54738 * sysdeps/posix/clock.c (clock): Likewise.
54739 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54740 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54741 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54742 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54743 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54744 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54745 (__get_nprocs_conf): Likewise.
54746 (__get_phys_pages): Likewise.
54747 (__get_avphys_pages): Likewise.
54748 * time/clock.c (clock): Likewise.
54749 * time/tzset.c (__tzname_max): Likewise.
54750
54751 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54752
54753 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54754 (__bswap_32): Do not use "register".
54755 * crypt/crypt.c (_ufc_doit_r): Likewise.
54756 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54757 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54758 * gmon/gmon.c (__monstartup): Likewise.
54759 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54760 * hurd/hurdmalloc.c (more_memory): Likewise.
54761 (malloc): Likewise.
54762 (free): Likewise.
54763 (realloc): Likewise.
54764 (malloc_fork_prepare): Likewise.
54765 (malloc_fork_parent): Likewise.
54766 (malloc_fork_child): Likewise.
54767 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54768 (_svcauth_des): Likewise.
54769 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54770 * inet/inet_net.c (inet_network): Likewise.
54771 * inet/inet_netof.c (inet_netof): Likewise.
54772 * inet/rcmd.c (__validuser2_sa): Likewise.
54773 * io/fts.c (fts_open): Likewise.
54774 (fts_load): Likewise.
54775 (fts_close): Likewise.
54776 (fts_read): Likewise.
54777 (fts_children): Likewise.
54778 (fts_build): Likewise.
54779 (fts_stat): Likewise.
54780 (fts_sort): Likewise.
54781 (fts_alloc): Likewise.
54782 (fts_lfree): Likewise.
54783 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54784 (_IO_file_xsgetn): Likewise.
54785 (_IO_file_xsgetn_mmap): Likewise.
54786 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54787 (_IO_cookie_write): Likewise.
54788 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54789 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54790 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54791 * malloc/obstack.c (_obstack_begin): Likewise.
54792 (_obstack_begin_1): Likewise.
54793 (_obstack_newchunk): Likewise.
54794 (_obstack_allocated_p): Likewise.
54795 (obstack_free): Likewise.
54796 (_obstack_memory_used): Likewise.
54797 * misc/getttyent.c (getttynam): Likewise.
54798 (getttyent): Likewise.
54799 (skip): Likewise.
54800 (value): Likewise.
54801 * misc/getusershell.c (initshells): Likewise.
54802 * misc/syslog.c (__vsyslog_chk): Likewise.
54803 * misc/ttyslot.c (ttyslot): Likewise.
54804 * nis/nis_hash.c (__nis_hash): Likewise.
54805 * posix/fnmatch_loop.c (FCT): Likewise.
54806 * posix/getconf.c (print_all): Likewise.
54807 (main): Likewise.
54808 * posix/getopt.c (exchange): Likewise.
54809 * posix/glob.c (globfree): Likewise.
54810 (prefix_array): Likewise.
54811 (__glob_pattern_type): Likewise.
54812 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54813 (NS_GET32): Likewise.
54814 (NS_PUT16): Likewise.
54815 (NS_PUT32): Likewise.
54816 * resolv/gethnamaddr.c (getanswer): Likewise.
54817 (gethostbyname2): Likewise.
54818 (gethostbyaddr): Likewise.
54819 (_gethtent): Likewise.
54820 (_gethtbyname2): Likewise.
54821 (_gethtbyaddr): Likewise.
54822 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54823 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54824 * resolv/res_init.c (__res_vinit): Likewise.
54825 (net_mask): Likewise.
54826 * resolv/res_mkquery.c (outchar): Likewise.
54827 (PRINT): Likewise.
54828 * stdio-common/printf_fp.c (outchar): Likewise.
54829 (PRINT): Likewise.
54830 * stdio-common/printf_fphex.c (outchar): Likewise.
54831 (PRINT): Likewise.
54832 * stdio-common/printf_size.c (outchar): Likewise.
54833 (PRINT): Likewise.
54834 * stdio-common/test_rdwr.c (main): Likewise.
54835 * stdio-common/tfformat.c (matches): Likewise.
54836 * stdio-common/vfprintf.c (outchar): Likewise.
54837 (printf_unknown): Likewise.
54838 (buffered_vfprintf): Likewise.
54839 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54840 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54841 (ReadFile): Likewise.
54842 * stdlib/qsort.c (SWAP): Likewise.
54843 (_quicksort): Likewise.
54844 * stdlib/setenv.c (__add_to_environ): Likewise.
54845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54846 * stdlib/strtol_l.c (__strtol_l): Likewise.
54847 * stdlib/tst-strtod.c (main): Likewise.
54848 * stdlib/tst-strtol.c (main): Likewise.
54849 * stdlib/tst-strtoll.c (main): Likewise.
54850 * string/bits/string2.h (__strcmp_cc): Likewise.
54851 (__strcmp_cg): Likewise.
54852 (__strcspn_c1): Likewise.
54853 (__strcspn_c2): Likewise.
54854 (__strcspn_c3): Likewise.
54855 (__strspn_c1): Likewise.
54856 (__strspn_c2): Likewise.
54857 (__strspn_c3): Likewise.
54858 (__strsep_1c): Likewise.
54859 (__strsep_2c): Likewise.
54860 (__strsep_3c): Likewise.
54861 * string/memccpy.c (__memccpy): Likewise.
54862 * string/stpcpy.c (__stpcpy): Likewise.
54863 * string/strcmp.c (strcmp): Likewise.
54864 * string/strrchr.c (strrchr): Likewise.
54865 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54866 Likewise.
54867 * sysdeps/mach/hurd/getcwd.c
54868 (_hurd_canonicalize_directory_name_internal): Likewise.
54869 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54870 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54871 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54872 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54873 Likewise, in both definitions.
54874 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54875 definitions.
54876 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54877 64] (__bswap_64): Likewise.
54878 * time/test_time.c (main): Likewise.
54879 * time/tzfile.c (__tzfile_read): Likewise.
54880 (__tzfile_compute): Likewise.
54881 * time/tzset.c (__tzset_parse_tz): Likewise.
54882 (tzset_internal): Likewise.
54883 (compute_change): Likewise.
54884 * wcsmbs/wcscat.c (__wcscat): Likewise.
54885 * wcsmbs/wcschr.c (wcschr): Likewise.
54886 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54887 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54888 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54889 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54890 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54891 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54892 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54894 * wcsmbs/wmemset.c (wmemset): Likewise.
54895
54896 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54897
54898 * scripts/config.guess: Update to version 2013-05-16.
54899 * scripts/config.sub: Update to version 2013-04-24.
54900 * scripts/install-sh: Update to version 2011-11-20.07.
54901 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54902 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54903
54904 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54905
54906 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54907 * elf/sln.c: Likewise.
54908 * hurd/hurd/ioctl.h: Likewise.
54909 * hurd/hurdmalloc.c: Likewise.
54910 * hurd/xattr.c: Likewise.
54911 * include/shlib-compat.h: Likewise.
54912 * inet/ruserpass.c: Likewise.
54913 * libio/iofgets_u.c: Likewise.
54914 * libio/iofgetws_u.c: Likewise.
54915 * locale/programs/ld-identification.c: Likewise.
54916 * locale/programs/ld-time.c: Likewise.
54917 * mach/msg-destroy.c: Likewise.
54918 * nss/nss_files/files-netgrp.c: Likewise.
54919 * resolv/res_data.c: Likewise.
54920 * soft-fp/op-1.h: Likewise.
54921 * soft-fp/op-2.h: Likewise.
54922 * soft-fp/op-4.h: Likewise.
54923 * soft-fp/op-common.h: Likewise.
54924 * stdio-common/printf_fphex.c: Likewise.
54925 * stdlib/strtod_l.c: Likewise.
54926 * sunrpc/rpc/clnt.h: Likewise.
54927 * sysdeps/generic/framestate.c: Likewise.
54928 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54929 * sysdeps/i386/bsd-setjmp.S: Likewise.
54930 * sysdeps/i386/__longjmp.S: Likewise.
54931 * sysdeps/i386/setjmp.S: Likewise.
54932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54933 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54937 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54941 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54942 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54943 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54944 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54945 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54946 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54947 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54948 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54949 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54950 * sysdeps/ieee754/support.c: Likewise.
54951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54952 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54953 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54954 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54955 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54956 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54957 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54958 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54959 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54960 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54961 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54962 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54963 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54964 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54965 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54966 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54967 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54969
54970 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54971
54972 * posix/transbug.c: Remove executable mode.
54973
54974 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54975
54976 * crypt/speeds.c: Remove trailing whitespace.
54977 * dlfcn/default.c: Likewise.
54978 * elf/ifuncdep2.c: Likewise.
54979 * elf/ifuncmain1.c: Likewise.
54980 * elf/ifuncmain1vis.c: Likewise.
54981 * elf/testobj.h: Likewise.
54982 * elf/tst-stackguard1.c: Likewise.
54983 * gmon/sys/gmon.h: Likewise.
54984 * hurd/hurdmsg.c: Likewise.
54985 * hurd/new-fd.c: Likewise.
54986 * hurd/ports-get.c: Likewise.
54987 * iconvdata/ibm1008_420.c: Likewise.
54988 * inet/tst-getni1.c: Likewise.
54989 * inet/tst-getni2.c: Likewise.
54990 * libio/ioungetc.c: Likewise.
54991 * libio/wfiledoalloc.c: Likewise.
54992 * manual/libm-err-tab.pl: Likewise.
54993 * math/w_dremf.c: Likewise.
54994 * misc/ftruncate.c: Likewise.
54995 * posix/bug-glob2.c: Likewise.
54996 * posix/tst-pcre.c: Likewise.
54997 * posix/wait4.c: Likewise.
54998 * resolv/README: Likewise.
54999 * resolv/res_debug.h: Likewise.
55000 * resolv/tst-inet_ntop.c: Likewise.
55001 * setjmp/bug269-setjmp.c: Likewise.
55002 * soft-fp/extended.h: Likewise.
55003 * soft-fp/op-1.h: Likewise.
55004 * soft-fp/op-2.h: Likewise.
55005 * soft-fp/op-4.h: Likewise.
55006 * soft-fp/op-8.h: Likewise.
55007 * soft-fp/testit.c: Likewise.
55008 * stdio-common/bug16.c: Likewise.
55009 * stdlib/random.c: Likewise.
55010 * sunrpc/rpcsvc/rquota.x: Likewise.
55011 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55012 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55014 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55015 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55016 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55017 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55018 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55019 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55021 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55022 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55024 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55025 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55026 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55027 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55029 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55033 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55034 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55036 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55039 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55040 * sysdeps/ieee754/s_lib_version.c: Likewise.
55041 * sysdeps/mach/hurd/check_fds.c: Likewise.
55042 * sysdeps/mach/hurd/getsockname.c: Likewise.
55043 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55044 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55045 * sysdeps/powerpc/bits/link.h: Likewise.
55046 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55047 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55048 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55049 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55050 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55051 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55052 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55053 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55054 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55055 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55056 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55057 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55058 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55059 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55060 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55061 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55065 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55066 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55067 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55069 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55070 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55073 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55074 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55080 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55081 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55082 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55083 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55084 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55085 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55086 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55087 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55088 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55089 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55090 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55091 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55092 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55093 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55094 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55095 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55097 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55098 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55099 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55100 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55101 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55102 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55103 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55105 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55106 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55107 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55108 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55109 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55110 * sysdeps/powerpc/sysdep.h: Likewise.
55111 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55112 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55113 * sysdeps/sh/dl-trampoline.S: Likewise.
55114 * sysdeps/sh/memset.S: Likewise.
55115 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55116 * sysdeps/sh/strlen.S: Likewise.
55117 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55118 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55119 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55120 * sysdeps/sparc/sparc32/rem.S: Likewise.
55121 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55122 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55123 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55124 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55125 * sysdeps/sparc/sparc32/urem.S: Likewise.
55126 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55127 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55128 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55129 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55130 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55131 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55132 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55133 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55134 * sysdeps/unix/bsd/times.c: Likewise.
55135 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55136 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55140 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55141 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55142 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55143 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55144 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55146 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55147 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55148 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55149 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55150 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55151 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55152 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55153 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55154 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55155 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55156 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55157 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55158 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55159 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55160 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55161 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55162 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55163 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55164 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55165 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55166 * sysdeps/x86_64/strcspn.S: Likewise.
55167
55168 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55169
55170 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55171 generated file. Regenerate properly from gen-translit.pl.
55172 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55173 locale/C-translit.h.
55174
55175 2013-06-05 Andreas Schwab <schwab@suse.de>
55176
55177 [BZ #15100]
55178 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55179 week as 6 instead of -1.
55180 * time/tst-strptime.c (day_tests): Add test case.
55181
55182 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55183
55184 * sysdeps/generic/math_private.h
55185 (libc_feholdexcept_setround_53bit): Replace with
55186 libc_feholdsetround_53bit.
55187 (libc_feupdateenv_53bit): Replace with
55188 libc_feresetround_53bit.
55189 (SET_RESTORE_ROUND_53BIT): Adjust.
55190
55191 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55192
55193 * string/test-strchrnul.c: Add copyright header.
55194
55195 * posix/tst-getaddrinfo4.c: Increase test timeout.
55196
55197 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55198
55199 [BZ #15536]
55200 * math/libm-test.inc (MAX_EXP): Remove
55201 (MIN_EXP): Define.
55202 (ulp): Use MIN_EXP - MANT_DIG.
55203 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55204
55205 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55206
55207 * po/be.po: Revert last change.
55208 * po/zh_CN.po: Likewise.
55209 * po/header.pot: Likewise.
55210
55211 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55212
55213 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55214 link-libc-deps to empty as target-specific variable.
55215 * Makerules (link-libc-args): New variable.
55216 (libc-for-link): Likewise.
55217 (link-libc-deps): Likewise.
55218 (lib%.so): Depend on $(link-libc-deps). Link with
55219 $(link-libc-args).
55220 (build-module): Link with $(link-libc-args).
55221 (build-module-asneeded): Likewise.
55222 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55223 list of objects.
55224 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55225 target-specific variable.
55226 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55227 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55228 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55229 libc.
55230 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55231 libc and ld.so.
55232 ($(objpfx)libpcprofile.so): Likewise.
55233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55234 libc_nonshared.a.
55235 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55236 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55237 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55238 $(link-libc-deps).
55239 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55240 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55241 * login/Makefile ($(objpfx)libutil.so): Likewise.
55242 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55243 * math/Makefile ($(objpfx)libm.so): Likewise.
55244 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55245 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55246 variable instead of depending directly on libc.
55247 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55248 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55249 $(link-libc-deps).
55250 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55251 libc.
55252 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55253 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55254 ($(objpfx)libanl.so): Likewise.
55255 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55256 ld.so.
55257 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55258 $(link-libc-deps).
55259 * sysdeps/i386/fpu/Makefile: Remove file.
55260 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55261 ($(objpfx)libm.so): Remove dependency on ld.so.
55262
55263 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55264
55265 [BZ # 15553]
55266 * nis/yp_xdr.c (XDRMAXNAME): Define.
55267 (XDRMAXRECORD): Define.
55268 (xdr_domainname): Use XDRMAXNAME.
55269 (xdr_mapname): Likewise.
55270 (xdr_peername): Likewise.
55271 (xdr_keydat): Use XDRMAXRECORD.
55272 (xdr_valdat): Likewise.
55273
55274 2013-05-30 Jeff Law <law@redhat.com>
55275
55276 [BZ #14256]
55277 * manual/errno.texi (ESTALE): Update to account for more than
55278 just NFS file systems.
55279 * sysdeps/gnu/errlist.c: Regenerated.
55280
55281 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55282
55283 [BZ #15465]
55284 * elf/Makefile (tests): Add tst-null-argv.
55285 (modules-names): Add tst-null-argv-lib.
55286 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55287 (tst-null-argv-ENV): Set environment for tst-null-argv.
55288 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55289 (RTLD_PROGNAME): New macro.
55290 * elf/tst-null-argv.c: New test case.
55291 * elf/tst-null-argv-lib.c: Library for test case.
55292 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55293 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55294 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55295 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55296 * elf/dl-init.c (call_init): Likewise.
55297 (_dl_init): Likewise.
55298 * elf/dl-load.c (print_search_path): Likewise.
55299 (_dl_map_object): Likewise.
55300 * elf/dl-lookup.c (do_lookup_x): Likewise.
55301 (add_dependency): Likewise.
55302 (_dl_lookup_symbol_x): Likewise.
55303 (_dl_debug_bindings): Likewise.
55304 * elf/dl-open.c (_dl_show_scope): Likewise.
55305 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55306 * elf/dl-version.c (match_symbol): Likewise.
55307 (_dl_check_map_versions): Likewise.
55308 * elf/rtld.c (dl_main): Likewise.
55309 (print_unresolved): Use RTLD_PROGNAME.
55310 (print_missing_version): Likewise.
55311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55312 (elf_machine_rela): Likewise.
55313 * sysdeps/powerpc/powerpc32/dl-machine.c
55314 (__process_machine_rela): Likewise.
55315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55316 Likewise.
55317 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55318 Likewise.
55319 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55320 Likewise.
55321 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55323 Likewise.
55324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55325 Likewise.
55326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55327
55328 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55329
55330 * po/be.po: Add descriptive title.
55331 * po/zh_CN.po: Likewise.
55332 * po/header.pot: Likewise.
55333
55334 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55335
55336 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55337 error message.
55338 (enlarge_archive): Likewise.
55339
55340 2013-05-28 Ben North <ben@redfrontdoor.org>
55341
55342 * manual/arith.texi (frexp): It is the magnitude of the return
55343 value which lies in [0.5, 1), not the return value itself.
55344
55345 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55346
55347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55348
55349 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55350
55351 * stdio-common/bug26.c (main): Correct fscanf template.
55352
55353 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55354 declare _dl_skip_args.
55355
55356 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55357 Don't declare.
55358
55359 * manual/platform.texi: Add missing @end deftypefun.
55360
55361 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55362
55363 [BZ #15529]
55364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55365 bit of mantissa of 2^16382.
55366 * math/libm-test.inc (hypot_test_data): Add more tests.
55367
55368 * math/libm-test.inc: Add drem and pow10 to list of tested
55369 functions.
55370 (pow10_test): New function.
55371 (drem_test): Likewise.
55372 (drem_test_tonearest): Likewise.
55373 (drem_test_towardzero): Likewise.
55374 (drem_test_downward): Likewise.
55375 (drem_test_upward): Likewise.
55376 (main): Call the new functions.
55377
55378 * math/libm-test.inc (finite_test_data): Remove.
55379 (finite_test): Run tests from isfinite_test_data.
55380 (gamma_test_data): Remove.
55381 (gamma_test): Run tests from lgamma_test_data.
55382 * sysdeps/i386/fpu/libm-test-ulps: Update.
55383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55384
55385 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55386
55387 * manual/platform.texi: Add PowerPC PPR function set documentation.
55388 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55389 implementation.
55390
55391 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55392
55393 * math/libm-test.inc (MAX_EXP): Define.
55394 (ULPDIFF): Define.
55395 (ulp): New function.
55396 (check_float_internal): Use ULPDIFF.
55397 (cpow_test): Disable failing test.
55398 (check_ulp): Test ulp() implementation.
55399 (main): Call check_ulp before starting tests.
55400
55401 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55402
55403 * math/gen-libm-test.pl (generate_testfile): Do not handle
55404 START_DATA and END_DATA.
55405 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55406 END_DATA.
55407 (acos_tonearest_test_data): Likewise.
55408 (acos_towardzero_test_data): Likewise.
55409 (acos_downward_test_data): Likewise.
55410 (acos_upward_test_data): Likewise.
55411 (acosh_test_data): Likewise.
55412 (asin_test_data): Likewise.
55413 (asin_tonearest_test_data): Likewise.
55414 (asin_towardzero_test_data): Likewise.
55415 (asin_downward_test_data): Likewise.
55416 (asin_upward_test_data): Likewise.
55417 (asinh_test_data): Likewise.
55418 (atan_test_data): Likewise.
55419 (atanh_test_data): Likewise.
55420 (atan2_test_data): Likewise.
55421 (cabs_test_data): Likewise.
55422 (cacos_test_data): Likewise.
55423 (cacosh_test_data): Likewise.
55424 (carg_test_data): Likewise.
55425 (casin_test_data): Likewise.
55426 (casinh_test_data): Likewise.
55427 (catan_test_data): Likewise.
55428 (catanh_test_data): Likewise.
55429 (cbrt_test_data): Likewise.
55430 (ccos_test_data): Likewise.
55431 (ccosh_test_data): Likewise.
55432 (ceil_test_data): Likewise.
55433 (cexp_test_data): Likewise.
55434 (cimag_test_data): Likewise.
55435 (clog_test_data): Likewise.
55436 (clog10_test_data): Likewise.
55437 (conj_test_data): Likewise.
55438 (copysign_test_data): Likewise.
55439 (cos_test_data): Likewise.
55440 (cos_tonearest_test_data): Likewise.
55441 (cos_towardzero_test_data): Likewise.
55442 (cos_downward_test_data): Likewise.
55443 (cos_upward_test_data): Likewise.
55444 (cosh_test_data): Likewise.
55445 (cosh_tonearest_test_data): Likewise.
55446 (cosh_towardzero_test_data): Likewise.
55447 (cosh_downward_test_data): Likewise.
55448 (cosh_upward_test_data): Likewise.
55449 (cpow_test_data): Likewise.
55450 (cproj_test_data): Likewise.
55451 (creal_test_data): Likewise.
55452 (csin_test_data): Likewise.
55453 (csinh_test_data): Likewise.
55454 (csqrt_test_data): Likewise.
55455 (ctan_test_data): Likewise.
55456 (ctan_tonearest_test_data): Likewise.
55457 (ctan_towardzero_test_data): Likewise.
55458 (ctan_downward_test_data): Likewise.
55459 (ctan_upward_test_data): Likewise.
55460 (ctanh_test_data): Likewise.
55461 (ctanh_tonearest_test_data): Likewise.
55462 (ctanh_towardzero_test_data): Likewise.
55463 (ctanh_downward_test_data): Likewise.
55464 (ctanh_upward_test_data): Likewise.
55465 (erf_test_data): Likewise.
55466 (erfc_test_data): Likewise.
55467 (exp_test_data): Likewise.
55468 (exp_tonearest_test_data): Likewise.
55469 (exp_towardzero_test_data): Likewise.
55470 (exp_downward_test_data): Likewise.
55471 (exp_upward_test_data): Likewise.
55472 (exp10_test_data): Likewise.
55473 (exp2_test_data): Likewise.
55474 (expm1_test_data): Likewise.
55475 (fabs_test_data): Likewise.
55476 (fdim_test_data): Likewise.
55477 (finite_test_data): Likewise.
55478 (floor_test_data): Likewise.
55479 (fma_test_data): Likewise.
55480 (fma_towardzero_test_data): Likewise.
55481 (fma_downward_test_data): Likewise.
55482 (fma_upward_test_data): Likewise.
55483 (fmax_test_data): Likewise.
55484 (fmin_test_data): Likewise.
55485 (fmod_test_data): Likewise.
55486 (fpclassify_test_data): Likewise.
55487 (frexp_test_data): Likewise.
55488 (gamma_test_data): Likewise.
55489 (hypot_test_data): Likewise.
55490 (ilogb_test_data): Likewise.
55491 (isfinite_test_data): Likewise.
55492 (isgreater_test_data): Likewise.
55493 (isgreaterequal_test_data): Likewise.
55494 (isinf_test_data): Likewise.
55495 (isless_test_data): Likewise.
55496 (islessequal_test_data): Likewise.
55497 (islessgreater_test_data): Likewise.
55498 (isnan_test_data): Likewise.
55499 (isnormal_test_data): Likewise.
55500 (issignaling_test_data): Likewise.
55501 (isunordered_test_data): Likewise.
55502 (j0_test_data): Likewise.
55503 (j1_test_data): Likewise.
55504 (jn_test_data): Likewise.
55505 (ldexp_test_data): Likewise.
55506 (lgamma_test_data): Likewise.
55507 (lrint_test_data): Likewise.
55508 (lrint_tonearest_test_data): Likewise.
55509 (lrint_towardzero_test_data): Likewise.
55510 (lrint_downward_test_data): Likewise.
55511 (lrint_upward_test_data): Likewise.
55512 (llrint_test_data): Likewise.
55513 (llrint_tonearest_test_data): Likewise.
55514 (llrint_towardzero_test_data): Likewise.
55515 (llrint_downward_test_data): Likewise.
55516 (llrint_upward_test_data): Likewise.
55517 (log_test_data): Likewise.
55518 (log10_test_data): Likewise.
55519 (log1p_test_data): Likewise.
55520 (log2_test_data): Likewise.
55521 (logb_test_data): Likewise.
55522 (logb_downward_test_data): Likewise.
55523 (lround_test_data): Likewise.
55524 (llround_test_data): Likewise.
55525 (modf_test_data): Likewise.
55526 (nearbyint_test_data): Likewise.
55527 (nextafter_test_data): Likewise.
55528 (nexttoward_test_data): Likewise.
55529 (pow_test_data): Likewise.
55530 (pow_tonearest_test_data): Likewise.
55531 (pow_towardzero_test_data): Likewise.
55532 (pow_downward_test_data): Likewise.
55533 (pow_upward_test_data): Likewise.
55534 (remainder_test_data): Likewise.
55535 (remainder_tonearest_test_data): Likewise.
55536 (remainder_towardzero_test_data): Likewise.
55537 (remainder_downward_test_data): Likewise.
55538 (remainder_upward_test_data): Likewise.
55539 (remquo_test_data): Likewise.
55540 (rint_test_data): Likewise.
55541 (rint_tonearest_test_data): Likewise.
55542 (rint_towardzero_test_data): Likewise.
55543 (rint_downward_test_data): Likewise.
55544 (rint_upward_test_data): Likewise.
55545 (round_test_data): Likewise.
55546 (scalb_test_data): Likewise.
55547 (scalbn_test_data): Likewise.
55548 (scalbln_test_data): Likewise.
55549 (signbit_test_data): Likewise.
55550 (sin_test_data): Likewise.
55551 (sin_tonearest_test_data): Likewise.
55552 (sin_towardzero_test_data): Likewise.
55553 (sin_downward_test_data): Likewise.
55554 (sin_upward_test_data): Likewise.
55555 (sincos_test_data): Likewise.
55556 (sinh_test_data): Likewise.
55557 (sinh_tonearest_test_data): Likewise.
55558 (sinh_towardzero_test_data): Likewise.
55559 (sinh_downward_test_data): Likewise.
55560 (sinh_upward_test_data): Likewise.
55561 (sqrt_test_data): Likewise.
55562 (tan_test_data): Likewise.
55563 (tan_tonearest_test_data): Likewise.
55564 (tan_towardzero_test_data): Likewise.
55565 (tan_downward_test_data): Likewise.
55566 (tan_upward_test_data): Likewise.
55567 (tanh_test_data): Likewise.
55568 (tgamma_test_data): Likewise.
55569 (trunc_test_data): Likewise.
55570 (y0_test_data): Likewise.
55571 (y1_test_data): Likewise.
55572 (yn_test_data): Likewise.
55573 (significand_test_data): Likewise.
55574
55575 * math/gen-libm-test.pl (@functions): Remove variable.
55576 (generate_testfile): Don't handle START and END lines.
55577 * math/libm-test.inc (START): New macro.
55578 (END): Likewise.
55579 (END_COMPLEX): Likewise.
55580 (acos_test): Use END macro without arguments.
55581 (acos_test_tonearest): Likewise.
55582 (acos_test_towardzero): Likewise.
55583 (acos_test_downward): Likewise.
55584 (acos_test_upward): Likewise.
55585 (acosh_test): Likewise.
55586 (asin_test): Likewise.
55587 (asin_test_tonearest): Likewise.
55588 (asin_test_towardzero): Likewise.
55589 (asin_test_downward): Likewise.
55590 (asin_test_upward): Likewise.
55591 (asinh_test): Likewise.
55592 (atan_test): Likewise.
55593 (atanh_test): Likewise.
55594 (atan2_test): Likewise.
55595 (cabs_test): Likewise.
55596 (cacos_test): Use END_COMPLEX macro without arguments.
55597 (cacosh_test): Likewise.
55598 (carg_test): Use END macro without arguments.
55599 (casin_test): Use END_COMPLEX macro without arguments.
55600 (casinh_test): Likewise.
55601 (catan_test): Likewise.
55602 (catanh_test): Likewise.
55603 (cbrt_test): Use END macro without arguments.
55604 (ccos_test): Use END_COMPLEX macro without arguments.
55605 (ccosh_test): Likewise.
55606 (ceil_test): Use END macro without arguments.
55607 (cexp_test): Use END_COMPLEX macro without arguments.
55608 (cimag_test): Use END macro without arguments.
55609 (clog_test): Use END_COMPLEX macro without arguments.
55610 (clog10_test): Likewise.
55611 (conj_test): Likewise.
55612 (copysign_test): Use END macro without arguments.
55613 (cos_test): Likewise.
55614 (cos_test_tonearest): Likewise.
55615 (cos_test_towardzero): Likewise.
55616 (cos_test_downward): Likewise.
55617 (cos_test_upward): Likewise.
55618 (cosh_test): Likewise.
55619 (cosh_test_tonearest): Likewise.
55620 (cosh_test_towardzero): Likewise.
55621 (cosh_test_downward): Likewise.
55622 (cosh_test_upward): Likewise.
55623 (cpow_test): Use END_COMPLEX macro without arguments.
55624 (cproj_test): Likewise.
55625 (creal_test): Use END macro without arguments.
55626 (csin_test): Use END_COMPLEX macro without arguments.
55627 (csinh_test): Likewise.
55628 (csqrt_test): Likewise.
55629 (ctan_test): Likewise.
55630 (ctan_test_tonearest): Likewise.
55631 (ctan_test_towardzero): Likewise.
55632 (ctan_test_downward): Likewise.
55633 (ctan_test_upward): Likewise.
55634 (ctanh_test): Likewise.
55635 (ctanh_test_tonearest): Likewise.
55636 (ctanh_test_towardzero): Likewise.
55637 (ctanh_test_downward): Likewise.
55638 (ctanh_test_upward): Likewise.
55639 (erf_test): Use END macro without arguments.
55640 (erfc_test): Likewise.
55641 (exp_test): Likewise.
55642 (exp_test_tonearest): Likewise.
55643 (exp_test_towardzero): Likewise.
55644 (exp_test_downward): Likewise.
55645 (exp_test_upward): Likewise.
55646 (exp10_test): Likewise.
55647 (exp2_test): Likewise.
55648 (expm1_test): Likewise.
55649 (fabs_test): Likewise.
55650 (fdim_test): Likewise.
55651 (finite_test): Likewise.
55652 (floor_test): Likewise.
55653 (fma_test): Likewise.
55654 (fma_test_towardzero): Likewise.
55655 (fma_test_downward): Likewise.
55656 (fma_test_upward): Likewise.
55657 (fmax_test): Likewise.
55658 (fmin_test): Likewise.
55659 (fmod_test): Likewise.
55660 (fpclassify_test): Likewise.
55661 (frexp_test): Likewise.
55662 (gamma_test): Likewise.
55663 (hypot_test): Likewise.
55664 (ilogb_test): Likewise.
55665 (isfinite_test): Likewise.
55666 (isgreater_test): Likewise.
55667 (isgreaterequal_test): Likewise.
55668 (isinf_test): Likewise.
55669 (isless_test): Likewise.
55670 (islessequal_test): Likewise.
55671 (islessgreater_test): Likewise.
55672 (isnan_test): Likewise.
55673 (isnormal_test): Likewise.
55674 (issignaling_test): Likewise.
55675 (isunordered_test): Likewise.
55676 (j0_test): Likewise.
55677 (j1_test): Likewise.
55678 (jn_test): Likewise.
55679 (ldexp_test): Likewise.
55680 (lgamma_test): Likewise.
55681 (lrint_test): Likewise.
55682 (lrint_test_tonearest): Likewise.
55683 (lrint_test_towardzero): Likewise.
55684 (lrint_test_downward): Likewise.
55685 (lrint_test_upward): Likewise.
55686 (llrint_test): Likewise.
55687 (llrint_test_tonearest): Likewise.
55688 (llrint_test_towardzero): Likewise.
55689 (llrint_test_downward): Likewise.
55690 (llrint_test_upward): Likewise.
55691 (log_test): Likewise.
55692 (log10_test): Likewise.
55693 (log1p_test): Likewise.
55694 (log2_test): Likewise.
55695 (logb_test): Likewise.
55696 (logb_test_downward): Likewise.
55697 (lround_test): Likewise.
55698 (llround_test): Likewise.
55699 (modf_test): Likewise.
55700 (nearbyint_test): Likewise.
55701 (nextafter_test): Likewise.
55702 (nexttoward_test): Likewise.
55703 (pow_test): Likewise.
55704 (pow_test_tonearest): Likewise.
55705 (pow_test_towardzero): Likewise.
55706 (pow_test_downward): Likewise.
55707 (pow_test_upward): Likewise.
55708 (remainder_test): Likewise.
55709 (remainder_test_tonearest): Likewise.
55710 (remainder_test_towardzero): Likewise.
55711 (remainder_test_downward): Likewise.
55712 (remainder_test_upward): Likewise.
55713 (remquo_test): Likewise.
55714 (rint_test): Likewise.
55715 (rint_test_tonearest): Likewise.
55716 (rint_test_towardzero): Likewise.
55717 (rint_test_downward): Likewise.
55718 (rint_test_upward): Likewise.
55719 (round_test): Likewise.
55720 (scalb_test): Likewise.
55721 (scalbn_test): Likewise.
55722 (scalbln_test): Likewise.
55723 (signbit_test): Likewise.
55724 (sin_test): Likewise.
55725 (sin_test_tonearest): Likewise.
55726 (sin_test_towardzero): Likewise.
55727 (sin_test_downward): Likewise.
55728 (sin_test_upward): Likewise.
55729 (sincos_test): Likewise.
55730 (sinh_test): Likewise.
55731 (sinh_test_tonearest): Likewise.
55732 (sinh_test_towardzero): Likewise.
55733 (sinh_test_downward): Likewise.
55734 (sinh_test_upward): Likewise.
55735 (sqrt_test): Likewise.
55736 (tan_test): Likewise.
55737 (tan_test_tonearest): Likewise.
55738 (tan_test_towardzero): Likewise.
55739 (tan_test_downward): Likewise.
55740 (tan_test_upward): Likewise.
55741 (tanh_test): Likewise.
55742 (tgamma_test): Likewise.
55743 (trunc_test): Likewise.
55744 (y0_test): Likewise.
55745 (y1_test): Likewise.
55746 (yn_test): Likewise.
55747 (significand_test): Likewise.
55748
55749 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55750
55751 [BZ #15381]
55752 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55753
55754 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55755
55756 [BZ #14894]
55757 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55758 __ppc_mdoio and __ppc_mdoom.
55759 * manual/platform.texi: Document new functions __ppc_yield,
55760 __ppc_mdoio and __ppc_mdoom.
55761
55762 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55763
55764 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55765 (main): Mention "tls" pseudo-hwcap is legacy.
55766 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55767
55768 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55769
55770 * math/gen-libm-test.pl (parse_args): Output only string of
55771 arguments as text for test name, not full call or descriptions of
55772 tests for extra outputs.
55773 (generate_testfile): Do not pass function name to parse_args.
55774 Generate this_func variable from START.
55775 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55776 field to arg_str.
55777 (struct test_ff_f_data): Likewise.
55778 (test_ff_f_data_nexttoward): Likewise.
55779 (struct test_fi_f_data): Likewise.
55780 (struct test_fl_f_data): Likewise.
55781 (struct test_if_f_data): Likewise.
55782 (struct test_fff_f_data): Likewise.
55783 (struct test_c_f_data): Likewise.
55784 (struct test_f_f1_data): Likewise. Remove field extra_name.
55785 (struct test_fF_f1_data): Likewise.
55786 (struct test_ffI_f1_data): Likewise.
55787 (struct test_c_c_data): Rename test_name field to arg_str.
55788 (struct test_cc_c_data): Likewise.
55789 (struct test_f_i_data): Likewise.
55790 (struct test_ff_i_data): Likewise.
55791 (struct test_f_l_data): Likewise.
55792 (struct test_f_L_data): Likewise.
55793 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55794 and extra2_name.
55795 (COMMON_TEST_SETUP): New macro.
55796 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55797 (COMMON_TEST_CLEANUP): Likewise.
55798 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55799 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55800 macros.
55801 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55802 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55803 macros.
55804 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55805 (RUN_TEST_fff_f): Take argument string. Call new setup and
55806 cleanup macros.
55807 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55808 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55809 macros.
55810 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55811 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55812 macros.
55813 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55814 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55815 cleanup macros.
55816 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55817 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55818 cleanup macros.
55819 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55820 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55821 cleanup macros.
55822 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55823 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55824 macros.
55825 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55826 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55827 macros.
55828 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55829 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55830 macros.
55831 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55832 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55833 cleanup macros.
55834 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55835 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55836 cleanup macros.
55837 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55838 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55839 macros.
55840 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55841 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55842 cleanup macros.
55843 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55844 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55845 macros.
55846 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55847 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55848 macros.
55849 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55850 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55851 cleanup macros.
55852 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55853
55854 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55855
55856 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55857 to _sifields.sigfault.
55858 (si_addr_lsb): Define new macro.
55859 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55861 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55862
55863 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55864
55865 [BZ #15441]
55866 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55867 returns -1.
55868 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55869 null return -1.
55870 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55871 loading the domain.
55872
55873 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55874
55875 * math/gen-libm-test.pl (parse_args): Do not include expected
55876 result in test name.
55877 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55879 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55880 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55881 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55883
55884 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55885
55886 * benchtests/Makefile: Sort function entries.
55887
55888 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55889 tanh, asinh, acosh, atanh.
55890 * benchtests/acos-inputs: New file.
55891 * benchtests/acosh-inputs: New file.
55892 * benchtests/asin-inputs: New file.
55893 * benchtests/asinh-inputs: New file.
55894 * benchtests/atanh-inputs: New file.
55895 * benchtests/cosh-inputs: New file.
55896 * benchtests/log-inputs: New file.
55897 * benchtests/sinh-inputs: New file.
55898 * benchtests/tanh-inputs: New file.
55899
55900 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55901
55902 [BZ #15339]
55903 * posix/tst-getaddrinfo4.c: New test.
55904 * posix/Makefile (tests): Add it.
55905
55906 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55907
55908 [BZ #15339]
55909 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55910 when no services were used.
55911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55912 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55913
55914 2013-05-21 Andreas Schwab <schwab@suse.de>
55915
55916 [BZ #15014]
55917 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55918 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55919 successful.
55920 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55921 redundant variable declarations and reallocation of buffer when
55922 parsing as IPv6 address. Always set NSS status when called from
55923 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55924 buffer too small. Correct computation of needed size.
55925 * nss/Makefile (tests): Add test-digits-dots.
55926 * nss/test-digits-dots.c: New test.
55927
55928 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55929
55930 * benchtests/Makefile: Remove instructions for adding
55931 benchmark tests.
55932 * benchtests/README: New file to explain how to execute and
55933 enhance the benchmark tests.
55934
55935 2013-05-21 Andreas Schwab <schwab@suse.de>
55936
55937 [BZ #15493]
55938 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55939 * setjmp/tst-sigsetjmp.c: New test.
55940
55941 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55942
55943 * sysdeps/x86_64/memset.S (memset): New implementation.
55944 (__bzero): Likewise.
55945 (__memset_tail): New function.
55946
55947 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55948
55949 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55950 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55951 __memcpy_sse2_unaligned ifunc selection.
55952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55953 Add memcpy-sse2-unaligned.S.
55954 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55955 Add: __memcpy_sse2_unaligned.
55956
55957 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55958
55959 [BZ #15490]
55960 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55961 math_force_eval before restoring floating-point envrionment.
55962 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55964 Likewise.
55965 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55966 <math_private.h>.
55967 (__nearbyintl): Use math_force_eval before restoring
55968 floating-point environment.
55969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55970
55971 * math/gen-libm-test.pl (special_functions): Remove.
55972 (parse_args): Don't handle TEST_extra. Handle functions with no
55973 return value.
55974 * math/libm-test.inc (struct test_sincos_data): Replace with
55975 struct test_fFF_11_data.
55976 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55977 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55978 (sincos_test_data): Change element type to struct
55979 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55980 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55981 RUN_TEST_LOOP_sincos.
55982 * math/README.libm-test: Don't mention special handling of
55983 individual functions.
55984 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55987 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55988 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55990
55991 * math/gen-libm-test.pl (get_variable): Remove function.
55992 (parse_args): Don't show pointer parameters to call in test
55993 names. Use "extra output N" in test names for extra outputs
55994 rather than naming variables.
55995
55996 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55997
55998 [BZ #15488]
55999 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56000 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56001 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56002 double tests.
56003 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56004 disable.
56005 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56006 check_long_double.
56007
56008 * math/gen-libm-test.pl (@tests): Remove variable.
56009 ($count): Likewise.
56010 (new_test): Remove function.
56011 (show_exceptions): New function.
56012 (special_functions): Use show_exceptions instead of new_test.
56013 (parse_args): Likewise.
56014 (generate_testfile): Pass only function name in generated call to
56015 print_max_error or print_complex_max_error.
56016 (get_ulps): Do not handle complex tests specially.
56017 (output_test): Rename to ...
56018 (get_all_ulps_for_test): ... this. Return a string rather than
56019 printing to a file. Require ulps to be present.
56020 (output_ulps): Generate arrays rather than #defines.
56021 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56022 (struct ulp_data): New type.
56023 (BUILD_COMPLEX_ULP): Remove macro.
56024 (compare_ulp_data): New function.
56025 (find_ulps): Likewise.
56026 (find_test_ulps): Likewise.
56027 (find_function_ulps): Likewise.
56028 (find_complex_function_ulps): Likewise.
56029 (print_max_error): Determine allowed ulps using
56030 find_function_ulps.
56031 (print_complex_max_error): Determine allowed ulps using
56032 find_complex_function_ulps.
56033 (check_float_internal): Determine max ulps using find_test_ulps.
56034 (check_float): Do not take max_ulp parameter. Update call to
56035 check_float_internal.
56036 (check_complex): Likewise.
56037 (check_int): Do not take max_ulp parameter.
56038 (check_long): Likewise.
56039 (check_bool): Likewise.
56040 (check_longlong): Likewise.
56041 (struct test_f_f_data): Remove max_ulp field.
56042 (struct test_ff_f_data): Likewise.
56043 (struct test_ff_f_data_nexttoward): Likewise.
56044 (struct test_fi_f_data): Likewise.
56045 (struct test_fl_f_data): Likewise.
56046 (struct test_if_f_data): Likewise.
56047 (struct test_fff_f_data): Likewise.
56048 (struct test_c_f_data): Likewise.
56049 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56050 (struct test_fF_f1_data): Likewise.
56051 (struct test_ffI_f1_data): Likewise.
56052 (struct test_c_c_data): Remove max_ulp field.
56053 (struct test_cc_c_data): Likewise.
56054 (struct test_f_i_data): Likewise.
56055 (struct test_ff_i_data): Likewise.
56056 (struct test_f_l_data): Likewise.
56057 (struct test_f_L_data): Likewise.
56058 (struct test_sincos_data): Likewise.
56059 (RUN_TEST_f_f): Do not handle ulps.
56060 (RUN_TEST_LOOP_f_f): Likewise.
56061 (RUN_TEST_2_f): Likewise.
56062 (RUN_TEST_LOOP_2_f): Likewise.
56063 (RUN_TEST_fff_f): Likewise.
56064 (RUN_TEST_LOOP_fff_f): Likewise.
56065 (RUN_TEST_c_f): Likewise.
56066 (RUN_TEST_LOOP_c_f): Likewise.
56067 (RUN_TEST_f_f1): Likewise.
56068 (RUN_TEST_LOOP_f_f1): Likewise.
56069 (RUN_TEST_fF_f1): Likewise.
56070 (RUN_TEST_LOOP_fF_f1): Likewise.
56071 (RUN_TEST_fI_f1): Likewise.
56072 (RUN_TEST_LOOP_fI_f1): Likewise.
56073 (RUN_TEST_ffI_f1): Likewise.
56074 (RUN_TEST_LOOP_ffI_f1): Likewise.
56075 (RUN_TEST_c_c): Likewise.
56076 (RUN_TEST_LOOP_c_c): Likewise.
56077 (RUN_TEST_cc_c): Likewise.
56078 (RUN_TEST_LOOP_cc_c): Likewise.
56079 (RUN_TEST_f_i): Likewise.
56080 (RUN_TEST_LOOP_f_i): Likewise.
56081 (RUN_TEST_f_i_tg): Likewise.
56082 (RUN_TEST_LOOP_f_i_tg): Likewise.
56083 (RUN_TEST_ff_i_tg): Likewise.
56084 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56085 (RUN_TEST_f_b): Likewise.
56086 (RUN_TEST_LOOP_f_b): Likewise.
56087 (RUN_TEST_f_b_tg): Likewise.
56088 (RUN_TEST_LOOP_f_b_tg): Likewise.
56089 (RUN_TEST_f_l): Likewise.
56090 (RUN_TEST_LOOP_f_l): Likewise.
56091 (RUN_TEST_f_L): Likewise.
56092 (RUN_TEST_LOOP_f_L): Likewise.
56093 (RUN_TEST_sincos): Likewise.
56094 (RUN_TEST_LOOP_sincos): Likewise.
56095
56096 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56097
56098 [BZ #15480]
56099 [BZ #15485]
56100 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56101 main case of finite arguments, set rounding mode to FE_TONEAREST
56102 and discard exceptions.
56103 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56104 exceptions.
56105 (remainder_tonearest_test_data): New variable.
56106 (remainder_test_tonearest): New function.
56107 (remainder_towardzero_test_data): New variable.
56108 (remainder_test_towardzero): New function.
56109 (remainder_downward_test_data): New variable.
56110 (remainder_test_downward): New function.
56111 (remainder_upward_test_data): New variable.
56112 (remainder_test_upward): New function.
56113 (main): Call the new test functions.
56114
56115 * math/libm-test.inc (struct test_f_f1_data): Remove field
56116 extra_init.
56117 (struct test_fF_f1_data): Likewise.
56118 (struct test_ffI_f1_data): Likewise.
56119 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56120 based on value of EXTRA_EXPECTED.
56121 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56122 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56123 EXTRA_VAR based on value of EXTRA_EXPECTED.
56124 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56125 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56126 EXTRA_VAR based on value of EXTRA_EXPECTED.
56127 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56128 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56129 EXTRA_VAR based on value of EXTRA_EXPECTED.
56130 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56131 * math/gen-libm-test.pl (parse_args): Don't output initializers
56132 for extra output values.
56133
56134 * math/libm-test.inc (check_int): Expect result to be exactly
56135 equal to expected value and do not handle ulps.
56136 (check_long): Likewise.
56137 (check_longlong): Likewise.
56138
56139 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56140 exceptions.
56141 (cimag_test_data): Likewise.
56142 (conj_test_data): Likewise.
56143 (copysign_test_data): Likewise.
56144 (cproj_test_data): Likewise.
56145 (creal_test_data): Likewise.
56146 (fabs_test_data): Likewise.
56147 (fdim_test_data): Likewise.
56148 (finite_test_data): Likewise.
56149 (floor_test_data): Likewise.
56150 (fmax_test_data): Likewise.
56151 (fmin_test_data): Likewise.
56152 (fmod_test_data): Likewise.
56153 (fpclassify_test_data): Likewise.
56154 (frexp_test_data): Likewise.
56155 (ilogb_test_data): Likewise.
56156 (isfinite_test_data): Likewise.
56157 (isgreater_test_data): Likewise.
56158 (isgreaterequal_test_data): Likewise.
56159 (isinf_test_data): Likewise.
56160 (isless_test_data): Likewise.
56161 (islessequal_test_data): Likewise.
56162 (islessgreater_test_data): Likewise.
56163 (isnan_test_data): Likewise.
56164 (isnormal_test_data): Likewise.
56165 (issignaling_test_data): Likewise.
56166 (isunordered_test_data): Likewise.
56167 (ldexp_test_data): Likewise.
56168 (lrint_test_data): Likewise.
56169 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56170 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56171 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56172 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56173 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56174 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56175 test input.
56176 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56177 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56178 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56179 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56180 that test input.
56181 (lrint_downward_test_data): Test for "inexact" exceptions.
56182 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56183 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56184 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56185 test input.
56186 (lrint_upward_test_data): Test for "inexact" exceptions.
56187 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56188 test input.
56189 (llrint_test_data): Test for "inexact" exceptions.
56190 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56191 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56192 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56193 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56194 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56195 (llrint_downward_test_data): Test for "inexact" exceptions.
56196 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56197 (llrint_upward_test_data): Test for "inexact" exceptions.
56198 (logb_test_data): Likewise.
56199 (logb_downward_test_data): Likewise.
56200 (nextafter_test_data): Likewise.
56201 (nexttoward_test_data): Likewise.
56202 (remainder_test_data): Likewise.
56203 (remquo_test_data): Likewise.
56204 (scalbn_test_data): Likewise.
56205 (scalbln_test_data): Likewise.
56206 (signbit_test_data): Likewise.
56207 (sqrt_test_data): Likewise.
56208 (significand_test_data): Likewise.
56209
56210 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56211
56212 [BZ #15424]
56213 * benchtests/bench-modf.c (struct args): Mark arg0 as
56214 volatile.
56215 * scripts/bench.pl: Mark members of struct args as volatile.
56216
56217 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56218
56219 [BZ # 15497]
56220 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56221 negative infinity on POWER6 or lower.
56222 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56223
56224 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56225
56226 [BZ #15442]
56227 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56228 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56229 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56230 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56231 (_FP_SETQNAN): New macro.
56232 (_FP_SETQNAN_SEMIRAW): Likewise.
56233 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56234 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56235 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56236 (FP_EXTEND): Use _FP_FRAC_SNANP.
56237 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56238 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56239 into account.
56240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56241 New macro.
56242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56243 Likewise.
56244
56245 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56246
56247 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56248 with DIVIDE_BY_ZERO_EXCEPTION.
56249 (gamma_test_data): Likewise.
56250 (lgamma_test_data): Likewise.
56251 (log_test_data): Likewise.
56252 (log10_test_data): Likewise.
56253 (log2_test_data): Likewise.
56254 (tgamma_test_data): Likewise.
56255
56256 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56257 (acos_test_tonearest): Likewise.
56258 (acos_test_towardzero): Likewise.
56259 (acos_test_downward): Likewise.
56260 (acos_test_upward): Likewise.
56261 (acosh_test): Likewise.
56262 (asin_test): Likewise.
56263 (asin_test_tonearest): Likewise.
56264 (asin_test_towardzero): Likewise.
56265 (asin_test_downward): Likewise.
56266 (asin_test_upward): Likewise.
56267 (asinh_test): Likewise.
56268 (atan_test): Likewise.
56269 (atanh_test): Likewise.
56270 (atan2_test): Likewise.
56271 (cabs_test): Likewise.
56272 (cacos_test): Likewise.
56273 (cacosh_test): Likewise.
56274 (casin_test): Likewise.
56275 (casinh_test): Likewise.
56276 (catan_test): Likewise.
56277 (catanh_test): Likewise.
56278 (cbrt_test): Likewise.
56279 (ccos_test): Likewise.
56280 (ccosh_test): Likewise.
56281 (cexp_test): Likewise.
56282 (clog_test): Likewise.
56283 (clog10_test): Likewise.
56284 (cos_test): Likewise.
56285 (cos_test_tonearest): Likewise.
56286 (cos_test_towardzero): Likewise.
56287 (cos_test_downward): Likewise.
56288 (cos_test_upward): Likewise.
56289 (cosh_test): Likewise.
56290 (cosh_test_tonearest): Likewise.
56291 (cosh_test_towardzero): Likewise.
56292 (cosh_test_downward): Likewise.
56293 (cosh_test_upward): Likewise.
56294 (cpow_test): Likewise.
56295 (csin_test): Likewise.
56296 (csinh_test): Likewise.
56297 (csqrt_test): Likewise.
56298 (ctan_test): Likewise.
56299 (ctan_test_tonearest): Likewise.
56300 (ctan_test_towardzero): Likewise.
56301 (ctan_test_downward): Likewise.
56302 (ctan_test_upward): Likewise.
56303 (ctanh_test): Likewise.
56304 (ctanh_test_tonearest): Likewise.
56305 (ctanh_test_towardzero): Likewise.
56306 (ctanh_test_downward): Likewise.
56307 (ctanh_test_upward): Likewise.
56308 (erf_test): Likewise.
56309 (erfc_test): Likewise.
56310 (exp_test): Likewise.
56311 (exp_test_tonearest): Likewise.
56312 (exp_test_towardzero): Likewise.
56313 (exp_test_downward): Likewise.
56314 (exp_test_upward): Likewise.
56315 (exp10_test): Likewise.
56316 (exp2_test): Likewise.
56317 (expm1_test): Likewise.
56318 (fmod_test): Likewise.
56319 (gamma_test): Likewise.
56320 (hypot_test): Likewise.
56321 (j0_test): Likewise.
56322 (j1_test): Likewise.
56323 (jn_test): Likewise.
56324 (lgamma_test): Likewise.
56325 (log_test): Likewise.
56326 (log10_test): Likewise.
56327 (log1p_test): Likewise.
56328 (log2_test): Likewise.
56329 (logb_test_downward): Likewise.
56330 (pow_test): Likewise.
56331 (pow_test_tonearest): Likewise.
56332 (pow_test_towardzero): Likewise.
56333 (pow_test_downward): Likewise.
56334 (pow_test_upward): Likewise.
56335 (remainder_test): Likewise.
56336 (remquo_test): Likewise.
56337 (sin_test): Likewise.
56338 (sin_test_tonearest): Likewise.
56339 (sin_test_towardzero): Likewise.
56340 (sin_test_downward): Likewise.
56341 (sin_test_upward): Likewise.
56342 (sincos_test): Likewise.
56343 (sinh_test): Likewise.
56344 (sinh_test_tonearest): Likewise.
56345 (sinh_test_towardzero): Likewise.
56346 (sinh_test_downward): Likewise.
56347 (sinh_test_upward): Likewise.
56348 (sqrt_test): Likewise.
56349 (tan_test): Likewise.
56350 (tan_test_tonearest): Likewise.
56351 (tan_test_towardzero): Likewise.
56352 (tan_test_downward): Likewise.
56353 (tan_test_upward): Likewise.
56354 (tanh_test): Likewise.
56355 (tgamma_test): Likewise.
56356 (y0_test): Likewise.
56357 (y1_test): Likewise.
56358 (yn_test): Likewise.
56359
56360 * math/gen-libm-test.pl (adjust_arg): Remove function.
56361 (special_function): Remove argument $in_func. Only handle
56362 generating output for tables of tests, not inside functions.
56363 (parse_args): Likewise.
56364 (generate_testfile): Remove variable $in_func. Update call to
56365 parse_args.
56366 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56367 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56368 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56369 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56370 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56371 (MAX_VALUE_INIT): Rename macro to max_value.
56372 (MIN_VALUE_INIT): Rename macro to min_value.
56373 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56374 (plus_zero): Remove variable.
56375 (minus_zero): Likewise.
56376 (plus_infty): Likewise.
56377 (minus_infty): Likewise.
56378 (qnan_value): Likewise.
56379 (max_value): Likewise.
56380 (min_value): Likewise.
56381 (min_subnorm_value): Likewise.
56382
56383 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56384
56385 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56386 uint64_t or uint32_t usage.
56387 * crypt/sha256-block.c: Likewise.
56388 * crypt/sha256-crypt.c: Likewise.
56389 * crypt/sha256.c: Likewise.
56390 * crypt/sha512-block.c: Likewise.
56391 * crypt/sha512-crypt.c: Likewise.
56392 * crypt/sha512.c: Likewise.
56393 * debug/backtrace-tst.c: Likewise.
56394 * debug/pcprofiledump.c: Likewise.
56395 * elf/cache.c: Likewise.
56396 * elf/dl-cache.c: Likewise.
56397 * elf/dl-misc.c: Likewise.
56398 * elf/dl-profile.c: Likewise.
56399 * elf/dl-support.c: Likewise.
56400 * elf/ldconfig.c: Likewise.
56401 * elf/sprof.c: Likewise.
56402 * iconv/dummy-repertoire.c: Likewise.
56403 * iconv/iconv_charmap.c: Likewise.
56404 * iconv/skeleton.c: Likewise.
56405 * iconvdata/8bit-generic.c: Likewise.
56406 * iconvdata/cp737.h: Likewise.
56407 * iconvdata/cp775.h: Likewise.
56408 * iconvdata/ibm1008.h: Likewise.
56409 * iconvdata/ibm1025.h: Likewise.
56410 * iconvdata/ibm1046.h: Likewise.
56411 * iconvdata/ibm1097.h: Likewise.
56412 * iconvdata/ibm1112.h: Likewise.
56413 * iconvdata/ibm1122.h: Likewise.
56414 * iconvdata/ibm1123.h: Likewise.
56415 * iconvdata/ibm1124.h: Likewise.
56416 * iconvdata/ibm1129.h: Likewise.
56417 * iconvdata/ibm1130.h: Likewise.
56418 * iconvdata/ibm1132.h: Likewise.
56419 * iconvdata/ibm1133.h: Likewise.
56420 * iconvdata/ibm1137.h: Likewise.
56421 * iconvdata/ibm1140.h: Likewise.
56422 * iconvdata/ibm1141.h: Likewise.
56423 * iconvdata/ibm1142.h: Likewise.
56424 * iconvdata/ibm1143.h: Likewise.
56425 * iconvdata/ibm1144.h: Likewise.
56426 * iconvdata/ibm1145.h: Likewise.
56427 * iconvdata/ibm1146.h: Likewise.
56428 * iconvdata/ibm1147.h: Likewise.
56429 * iconvdata/ibm1148.h: Likewise.
56430 * iconvdata/ibm1149.h: Likewise.
56431 * iconvdata/ibm1153.h: Likewise.
56432 * iconvdata/ibm1154.h: Likewise.
56433 * iconvdata/ibm1155.h: Likewise.
56434 * iconvdata/ibm1156.h: Likewise.
56435 * iconvdata/ibm1157.h: Likewise.
56436 * iconvdata/ibm1158.h: Likewise.
56437 * iconvdata/ibm1160.h: Likewise.
56438 * iconvdata/ibm1161.h: Likewise.
56439 * iconvdata/ibm1162.h: Likewise.
56440 * iconvdata/ibm1163.h: Likewise.
56441 * iconvdata/ibm1164.h: Likewise.
56442 * iconvdata/ibm1166.h: Likewise.
56443 * iconvdata/ibm1167.h: Likewise.
56444 * iconvdata/ibm12712.h: Likewise.
56445 * iconvdata/ibm1390.h: Likewise.
56446 * iconvdata/ibm1399.h: Likewise.
56447 * iconvdata/ibm16804.h: Likewise.
56448 * iconvdata/ibm4517.h: Likewise.
56449 * iconvdata/ibm4899.h: Likewise.
56450 * iconvdata/ibm4909.h: Likewise.
56451 * iconvdata/ibm4971.h: Likewise.
56452 * iconvdata/ibm5347.h: Likewise.
56453 * iconvdata/ibm803.h: Likewise.
56454 * iconvdata/ibm856.h: Likewise.
56455 * iconvdata/ibm901.h: Likewise.
56456 * iconvdata/ibm902.h: Likewise.
56457 * iconvdata/ibm9030.h: Likewise.
56458 * iconvdata/ibm9066.h: Likewise.
56459 * iconvdata/ibm921.h: Likewise.
56460 * iconvdata/ibm922.h: Likewise.
56461 * iconvdata/ibm9448.h: Likewise.
56462 * iconvdata/isiri-3342.h: Likewise.
56463 * iconvdata/jis0201.h: Likewise.
56464 * include/link.h: Likewise.
56465 * include/netdb.h: Likewise.
56466 * inet/check_native.c: Likewise.
56467 * inet/check_pf.c: Likewise.
56468 * inet/getipv4sourcefilter.c: Likewise.
56469 * inet/getnameinfo.c: Likewise.
56470 * inet/getsourcefilter.c: Likewise.
56471 * inet/htonl.c: Likewise.
56472 * inet/setipv4sourcefilter.c: Likewise.
56473 * inet/setsourcefilter.c: Likewise.
56474 * inet/test-inet6_opt.c: Likewise.
56475 * inet/tst-network.c: Likewise.
56476 * locale/C-collate.c: Likewise.
56477 * locale/C-ctype.c: Likewise.
56478 * locale/C-time.c: Likewise.
56479 * locale/C-translit.h: Likewise.
56480 * locale/loadarchive.c: Likewise.
56481 * locale/programs/3level.h: Likewise.
56482 * locale/programs/charmap.c: Likewise.
56483 * locale/programs/charmap.h: Likewise.
56484 * locale/programs/ld-address.c: Likewise.
56485 * locale/programs/ld-collate.c: Likewise.
56486 * locale/programs/ld-ctype.c: Likewise.
56487 * locale/programs/ld-identification.c: Likewise.
56488 * locale/programs/ld-measurement.c: Likewise.
56489 * locale/programs/ld-messages.c: Likewise.
56490 * locale/programs/ld-monetary.c: Likewise.
56491 * locale/programs/ld-name.c: Likewise.
56492 * locale/programs/ld-numeric.c: Likewise.
56493 * locale/programs/ld-paper.c: Likewise.
56494 * locale/programs/ld-telephone.c: Likewise.
56495 * locale/programs/ld-time.c: Likewise.
56496 * locale/programs/linereader.c: Likewise.
56497 * locale/programs/locale.c: Likewise.
56498 * locale/programs/locarchive.c: Likewise.
56499 * locale/programs/locfile.h: Likewise.
56500 * locale/programs/repertoire.c: Likewise.
56501 * locale/programs/simple-hash.c: Likewise.
56502 * locale/programs/simple-hash.h: Likewise.
56503 * malloc/memusage.c: Likewise.
56504 * malloc/memusagestat.c: Likewise.
56505 * nis/nis_defaults.c: Likewise.
56506 * nis/nis_hash.c: Likewise.
56507 * nis/nis_print.c: Likewise.
56508 * nis/nis_xdr.c: Likewise.
56509 * nscd/connections.c: Likewise.
56510 * nscd/hstcache.c: Likewise.
56511 * nscd/nscd_gethst_r.c: Likewise.
56512 * nscd/nscd_getserv_r.c: Likewise.
56513 * nscd/nscd_helper.c: Likewise.
56514 * nscd/servicescache.c: Likewise.
56515 * nss/makedb.c: Likewise.
56516 * nss/nss_db/db-XXX.c: Likewise.
56517 * nss/nss_db/db-initgroups.c: Likewise.
56518 * nss/nss_db/db-netgrp.c: Likewise.
56519 * nss/nss_files/files-network.c: Likewise.
56520 * nss/nss_files/files-parse.c: Likewise.
56521 * posix/bug-regex5.c: Likewise.
56522 * posix/fnmatch_loop.c: Likewise.
56523 * posix/regcomp.c: Likewise.
56524 * posix/regexec.c: Likewise.
56525 * posix/tst-rfc3484-2.c: Likewise.
56526 * posix/tst-rfc3484-3.c: Likewise.
56527 * posix/tst-rfc3484.c: Likewise.
56528 * resolv/nss_dns/dns-canon.c: Likewise.
56529 * resolv/nss_dns/dns-network.c: Likewise.
56530 * resolv/res_init.c: Likewise.
56531 * resolv/res_mkquery.c: Likewise.
56532 * resolv/tst-aton.c: Likewise.
56533 * stdlib/cxa_atexit.c: Likewise.
56534 * stdlib/cxa_finalize.c: Likewise.
56535 * stdlib/gen-fpioconst.c: Likewise.
56536 * stdlib/strtol_l.c: Likewise.
56537 * string/tst-endian.c: Likewise.
56538 * sunrpc/auth_des.c: Likewise.
56539 * sunrpc/clnt_udp.c: Likewise.
56540 * sunrpc/rtime.c: Likewise.
56541 * sunrpc/svcauth_des.c: Likewise.
56542 * sunrpc/xdr.c: Likewise.
56543 * sunrpc/xdr_intXX_t.c: Likewise.
56544 * sunrpc/xdr_rec.c: Likewise.
56545 * sysdeps/generic/ldconfig.h: Likewise.
56546 * sysdeps/generic/ldsodefs.h: Likewise.
56547 * sysdeps/generic/memusage.h: Likewise.
56548 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56549 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56550 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56555 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56556 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56558 * sysdeps/posix/getaddrinfo.c: Likewise.
56559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56563 * sysdeps/powerpc/test-gettimebase.c: Likewise.
56564 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56565 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56566 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56567 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56568 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56569 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56570 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56571 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56572 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56573 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56574 * sysdeps/x86_64/dl-tls.h: Likewise.
56575 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56576 * time/alt_digit.c: Likewise.
56577 * time/era.c: Likewise.
56578 * wcsmbs/tst-c16c32-1.c: Likewise.
56579
56580 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56581
56582 * math/libm-test.inc (struct test_sincos_data): New type.
56583 (RUN_TEST_LOOP_sincos): New macro.
56584 (sincos_test_data): New variable.
56585 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56586
56587 2013-05-16 Richard Henderson <rth@redhat.com>
56588
56589 * math/atest-exp2.c (LIMB64): New macro.
56590 (CONSTSZ): New macro.
56591 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56592 (hexdig): Move ...
56593 (print_mpn_fp): ... to function scope.
56594 (read_mpn_hex): Remove.
56595 (get_log2): Remove.
56596 (exp2_mpn): Use mp_log2.
56597 (main): Use mp_exp1.
56598
56599 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56600
56601 * math/libm-test.inc: Remove comment about not testing "inexact"
56602 exceptions.
56603 (INEXACT_EXCEPTION): New macro.
56604 (NO_INEXACT_EXCEPTION): Likewise.
56605 (INVALID_EXCEPTION_OK): Update value.
56606 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56607 (OVERFLOW_EXCEPTION_OK): Likewise.
56608 (UNDERFLOW_EXCEPTION_OK): Likewise.
56609 (IGNORE_ZERO_INF_SIGN): Likewise.
56610 (ERRNO_UNCHANGED): Likewise.
56611 (ERRNO_EDOM): Likewise.
56612 (ERRNO_ERANGE): Likewise.
56613 (test_exceptions): Handle testing "inexact" exceptions.
56614 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56615 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56616 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56617 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56618 INEXACT_EXCEPTION.
56619 (rint_towardzero_test_data): Likewise.
56620 (rint_downward_test_data): Likewise.
56621 (rint_upward_test_data): Likewise.
56622
56623 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56624 with OVERFLOW_EXCEPTION.
56625 (exp10_test_data): Likewise.
56626 (exp2_test_data): Likewise.
56627 (expm1_test_data): Likewise.
56628 (lgamma_test_data): Likewise.
56629 (pow_test_data): Likewise.
56630 (tgamma_test_data): Likewise.
56631 (yn_test_data): Remove duplicate test of overflow.
56632
56633 * math/libm-test.inc (struct test_cc_c_data): New type.
56634 (RUN_TEST_LOOP_cc_c): New macro.
56635 (cpow_test_data): New variable.
56636 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56637
56638 * math/libm-test.inc (struct test_f_L_data): New type.
56639 (RUN_TEST_LOOP_f_L): New macro.
56640 (llrint_test_data): New variable.
56641 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56642 (llrint_tonearest_test_data): New variable.
56643 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56644 (llrint_towardzero_test_data): New variable.
56645 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56646 (llrint_downward_test_data): New variable.
56647 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56648 (llrint_upward_test_data): New variable.
56649 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56650 (llround_test_data): New variable.
56651 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56652
56653 2013-05-13 Peter Collingbourne <pcc@google.com>
56654
56655 * math/atest-exp2.c (get_log2): Remove const attribute.
56656
56657 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56658
56659 * math/libm-test.inc (struct test_f_l_data): New type.
56660 (RUN_TEST_LOOP_f_l): New macro.
56661 (lrint_test_data): New variable.
56662 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56663 (lrint_tonearest_test_data): New variable.
56664 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56665 (lrint_towardzero_test_data): New variable.
56666 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56667 (lrint_downward_test_data): New variable.
56668 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56669 (lrint_upward_test_data): New variable.
56670 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56671 (lround_test_data): New variable.
56672 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56673
56674 2013-05-15 Peter Collingbourne <pcc@google.com>
56675
56676 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56677 (EXTRACT_WORDS64) Use where appropriate.
56678 (INSERT_WORDS64) Likewise.
56679
56680 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56681 constraints with x constraints.
56682 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56683
56684 * malloc/obstack.c (_obstack_compat): Add initializer.
56685
56686 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56687
56688 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56689 si_trapno and add si_addr_lsb to _sifields.sigfault.
56690 (si_trapno): Remove macro.
56691 (si_addr_lsb): Define new macro.
56692 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56693
56694 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56695
56696 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56697 instead of TEST_f_l.
56698 (llrint_test_tonearest): Likewise.
56699 (llrint_test_towardzero): Likewise.
56700 (llrint_test_downward): Likewise.
56701 (llrint_test_upward): Likewise.
56702 (llround_test): Likewise.
56703
56704 * math/libm-test.inc (struct test_f_i_data): Add comment.
56705 (RUN_TEST_LOOP_f_b): New macro.
56706 (RUN_TEST_LOOP_f_b_tg): Likewise.
56707 (finite_test_data): New variable.
56708 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56709 (isfinite_test_data): New variable.
56710 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56711 (isinf_test_data): New variable.
56712 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56713 (isnan_test_data): New variable.
56714 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56715 (isnormal_test_data): New variable.
56716 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56717 (issignaling_test_data): New variable.
56718 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56719 (signbit_test_data): New variable.
56720 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56721
56722 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56723 with INVALID_EXCEPTION.
56724 (acosh_test_data): Likewise.
56725 (asin_test_data): Likewise.
56726 (atanh_test_data): Likewise.
56727 (fmod_test_data): Likewise.
56728 (log_test_data): Likewise.
56729 (log10_test_data): Likewise.
56730 (log2_test_data): Likewise.
56731 (pow_test_data): Likewise.
56732 (sqrt_test_data): Likewise.
56733 (y0_test_data): Likewise.
56734 (y1_test_data): Likewise.
56735 (yn_test_data): Likewise.
56736
56737 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56738 function contents.
56739
56740 * math/libm-test.inc (struct test_ff_i_data): New type.
56741 (RUN_TEST_LOOP_ff_i_tg): New macro.
56742 (isgreater_test_data): New variable.
56743 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56744 (isgreaterequal_test_data): New variable.
56745 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56746 (isless_test_data): New variable.
56747 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56748 (islessequal_test_data): New variable.
56749 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56750 (islessgreater_test_data): New variable.
56751 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56752 (isunordered_test_data): New variable.
56753 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56754
56755 2013-05-14 David S. Miller <davem@davemloft.net>
56756
56757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56758
56759 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56760
56761 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56762
56763 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56764 extra_test to int.
56765 (struct test_f_i_data): Change type of max_ulp to int.
56766
56767 * math/libm-test.inc (test_ffI_f1_data): New type.
56768 (RUN_TEST_LOOP_ffI_f1): New macro.
56769 (remquo_test_data): New variable.
56770 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56771
56772 * setjmp/tst-setjmp-fp.c: New file.
56773 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56774 (link-libm): New variable.
56775 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56776
56777 * math/libm-test.inc (struct test_f_i_data): New type.
56778 (RUN_TEST_LOOP_f_i): New macro.
56779 (RUN_TEST_LOOP_f_i_tg): Likewise.
56780 (fpclassify_test_data): New variable.
56781 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56782 (ilogb_test_data): New variable.
56783 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56784
56785 * math/libm-test.inc (scalbln_test): Correct function name in END
56786 call.
56787
56788 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56789 (RUN_TEST_LOOP_fI_f1): New macro.
56790 (frexp_test_data): New variable.
56791 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56792
56793 * math/libm-test.inc (struct test_fF_f1_data): New type.
56794 (RUN_TEST_LOOP_fF_f1): New macro.
56795 (modf_test_data): New variable.
56796 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56797
56798 * math/libm-test.inc (struct test_f_f1_data): New type.
56799 (RUN_TEST_LOOP_f_f1): New macro.
56800 (gamma_test_data): New variable.
56801 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56802 (lgamma_test_data): New variable.
56803 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56804
56805 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56806
56807 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56808 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56809 (main): Comment "tls" pseudo-hwcap.
56810
56811 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56812
56813 * math/libm-test.inc (struct test_fl_f_data): New type.
56814 (RUN_TEST_LOOP_fl_f): New variable.
56815 (scalbln_test_data): New variable.
56816 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56817
56818 * math/libm-test.inc (struct test_fi_f_data): New type.
56819 (RUN_TEST_LOOP_fi_f): New macro.
56820 (ldexp_test_data): New variable.
56821 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56822 (scalbn_test_data): New variable.
56823 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56824
56825 * math/libm-test.inc (struct test_c_f_data): New type.
56826 (RUN_TEST_LOOP_c_f): New macro.
56827 (cabs_test_data): New variable.
56828 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56829 (carg_test_data): New variable.
56830 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56831 (cimag_test_data): New variable.
56832 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56833 (creal_test_data): New variable.
56834 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56835
56836 * math/libm-test.inc (struct test_if_f_data): New type.
56837 (RUN_TEST_LOOP_if_f): New macro.
56838 (jn_test_data): New variable.
56839 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56840 (yn_test_data): New variable.
56841 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56842
56843 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56844
56845 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56846
56847 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56848 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56849
56850 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56851
56852 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56853 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56854 (bench-deps): Add bench-timing.h.
56855 * benchtests-bench-skeleton.c: Include bench-timing.h.
56856 (main): Use TIMING_* macros instead of clock_gettime.
56857 * benchtests/bench-timing.h: New file.
56858
56859 [BZ #14582]
56860 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56861 Renamed from _LIB_VERSION.
56862 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56863
56864 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56865
56866 * math/libm-test.inc (struct test_fff_f_data): New type.
56867 (RUN_TEST_LOOP_fff_f): New macro.
56868 (fma_test_data): New variable.
56869 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56870 (fma_towardzero_test_data): New variable.
56871 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56872 (fma_downward_test_data): New variable.
56873 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56874 (fma_upward_test_data): New variable.
56875 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56876
56877 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56878 (struct test_c_c_data): New type.
56879 (RUN_TEST_LOOP_c_c): New macro.
56880 (cacos_test_data): New variable.
56881 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56882 (cacosh_test_data): New variable.
56883 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56884 (casin_test_data): New variable.
56885 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56886 (casinh_test_data): New variable.
56887 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56888 (catan_test_data): New variable.
56889 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56890 (catanh_test_data): New variable.
56891 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56892 (ccos_test_data): New variable.
56893 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56894 (ccosh_test_data): New variable.
56895 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56896 (cexp_test_data): New variable.
56897 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56898 (clog_test_data): New variable.
56899 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56900 (clog10_test_data): New variable.
56901 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56902 (conj_test_data): New variable.
56903 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56904 (cproj_test_data): New variable.
56905 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56906 (csin_test_data): New variable.
56907 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56908 (csinh_test_data): New variable.
56909 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56910 (csqrt_test_data): New variable.
56911 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56912 (ctan_test_data): New variable.
56913 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56914 (ctan_tonearest_test_data): New variable.
56915 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56916 (ctan_towardzero_test_data): New variable.
56917 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56918 (ctan_downward_test_data): New variable.
56919 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56920 (ctan_upward_test_data): New variable.
56921 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56922 (ctanh_test_data): New variable.
56923 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56924 (ctanh_tonearest_test_data): New variable.
56925 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56926 (ctanh_towardzero_test_data): New variable.
56927 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56928 (ctanh_downward_test_data): New variable.
56929 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56930 (ctanh_upward_test_data): New variable.
56931 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56932 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56933 of BUILD_COMPLEX.
56934
56935 * math/libm-test.inc (struct test_ff_f_data): New type.
56936 (struct test_ff_f_data_nexttoward): Likewise.
56937 (RUN_TEST_LOOP_2_f): New macro.
56938 (RUN_TEST_LOOP_ff_f): Likewise.
56939 (atan2_test_data): New variable.
56940 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56941 (copysign_test_data): New variable.
56942 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56943 (fdim_test_data): New variable.
56944 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56945 (fmax_test_data): New variable.
56946 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56947 (fmin_test_data): New variable.
56948 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56949 (fmod_test_data): New variable.
56950 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56951 (hypot_test_data): New variable.
56952 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56953 (nextafter_test_data): New variable.
56954 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56955 (nexttoward_test_data): New variable.
56956 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56957 (pow_test_data): New variable.
56958 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56959 (pow_tonearest_test_data): New variable.
56960 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56961 (pow_towardzero_test_data): New variable.
56962 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56963 (pow_downward_test_data): New variable.
56964 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56965 (pow_upward_test_data): New variable.
56966 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56967 (remainder_test_data): New variable.
56968 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56969 (scalb_test_data): New variable.
56970 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56971 * sysdeps/i386/fpu/libm-test-ulps: Update.
56972
56973 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56974
56975 * math/libm-test.inc (fma_test): Use max_value instead of local
56976 variable fltmax.
56977 (nextafter_test): Likewise.
56978
56979 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56980 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56981 (acos_downward_test_data): New variable.
56982 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56983 (acos_upward_test_data): New variable.
56984 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56985 (acosh_test_data): New variable.
56986 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56987 (asin_test_data): New variable.
56988 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56989 (asin_tonearest_test_data): New variable.
56990 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56991 (asin_towardzero_test_data): New variable.
56992 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56993 (asin_downward_test_data): New variable.
56994 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56995 (asin_upward_test_data): New variable.
56996 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56997 (asinh_test_data): New variable.
56998 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56999 (atan_test_data): New variable.
57000 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57001 (atanh_test_data): New variable.
57002 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57003 (cbrt_test_data): New variable.
57004 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57005 (ceil_test_data): New variable.
57006 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57007 (cos_test_data): New variable.
57008 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57009 (cos_tonearest_test_data): New variable.
57010 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57011 (cos_towardzero_test_data): New variable.
57012 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57013 (cos_downward_test_data): New variable.
57014 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57015 (cos_upward_test_data): New variable.
57016 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57017 (cosh_test_data): New variable.
57018 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57019 (cosh_tonearest_test_data): New variable.
57020 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57021 (cosh_towardzero_test_data): New variable.
57022 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57023 (cosh_downward_test_data): New variable.
57024 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57025 (cosh_upward_test_data): New variable.
57026 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57027 (erf_test_data): New variable.
57028 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57029 (erfc_test_data): New variable.
57030 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57031 (exp_test_data): New variable.
57032 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57033 (exp_tonearest_test_data): New variable.
57034 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57035 (exp_towardzero_test_data): New variable.
57036 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57037 (exp_downward_test_data): New variable.
57038 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57039 (exp_upward_test_data): New variable.
57040 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57041 (exp10_test_data): New variable.
57042 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57043 (exp2_test_data): New variable.
57044 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57045 (expm1_test_data): New variable.
57046 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57047 (fabs_test_data): New variable.
57048 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57049 (floor_test_data): New variable.
57050 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57051 (j0_test_data): New variable.
57052 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57053 (j1_test_data): New variable.
57054 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57055 (log_test_data): New variable.
57056 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57057 (log10_test_data): New variable.
57058 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57059 (log1p_test_data): New variable.
57060 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57061 (log2_test_data): New variable.
57062 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57063 (logb_test_data): New variable.
57064 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57065 (logb_downward_test_data): New variable.
57066 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57067 (nearbyint_test_data): New variable.
57068 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57069 (rint_test_data): New variable.
57070 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57071 (rint_tonearest_test_data): New variable.
57072 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57073 (rint_towardzero_test_data): New variable.
57074 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57075 (rint_downward_test_data): New variable.
57076 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57077 (rint_upward_test_data): New variable.
57078 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57079 (round_test_data): New variable.
57080 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57081 (sin_test_data): New variable.
57082 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57083 (sin_tonearest_test_data): New variable.
57084 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57085 (sin_towardzero_test_data): New variable.
57086 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57087 (sin_downward_test_data): New variable.
57088 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57089 (sin_upward_test_data): New variable.
57090 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57091 (sinh_test_data): New variable.
57092 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57093 (sinh_tonearest_test_data): New variable.
57094 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57095 (sinh_towardzero_test_data): New variable.
57096 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57097 (sinh_downward_test_data): New variable.
57098 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57099 (sinh_upward_test_data): New variable.
57100 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57101 (sqrt_test_data): New variable.
57102 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57103 (tan_test_data): New variable.
57104 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57105 (tan_tonearest_test_data): New variable.
57106 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57107 (tan_towardzero_test_data): New variable.
57108 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57109 (tan_downward_test_data): New variable.
57110 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57111 (tan_upward_test_data): New variable.
57112 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57113 (tanh_test_data): New variable.
57114 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57115 (tgamma_test_data): New variable.
57116 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57117 (trunc_test_data): New variable.
57118 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57119 (y0_test_data): New variable.
57120 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57121 (y1_test_data): New variable.
57122 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57123 (significand_test_data): New variable.
57124 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57125
57126 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57127
57128 [BZ #12387]
57129 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57130
57131 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57132
57133 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57134
57135 2013-05-10 Andreas Jaeger <aj@suse.de>
57136
57137 [BZ #15448]
57138 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57139 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57140
57141 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57142
57143 * math/gen-libm-test.pl (adjust_arg): New function.
57144 (special_functions): Handle generating output in both functions
57145 and arrays.
57146 (parse_args): Likewise.
57147 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57148 $in_func argument to parse_args.
57149 * math/libm-test.inc (struct test_f_f_data): New type.
57150 (IF_ROUND_INIT_): New macro.
57151 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57152 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57153 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57154 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57155 (ROUND_RESTORE_): Likewise.
57156 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57157 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57158 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57159 (ROUND_RESTORE_FE_UPWARD): Likewise.
57160 (RUN_TEST_LOOP_f_f): New macro.
57161 (acos_test_data): New variable.
57162 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57163 (acos_tonearest_test_data): New variable.
57164 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57165
57166 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57167
57168 * benchtests/bench-skeleton.c (startup): Fix coding style.
57169
57170 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57171
57172 [BZ #6809]
57173 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57174 negative infinity argument.
57175 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57176 negative infinity argument.
57177 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57178 negative infinity argument.
57179 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57180 domain errors.
57181
57182 2013-05-10 Florian Weimer <fweimer@redhat.com>
57183
57184 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57185 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57186 * iconv/iconv_prog.c (main): Likewise.
57187 * locale/programs/charmap-dir.c (charmap_readdir)
57188 (fopen_uncompressed): Likewise.
57189 * locale/programs/locfile.c (siblings_uncached)
57190 (write_locale_data): Use lstat64 instead of lstat.
57191 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57192 stat.
57193
57194 2013-05-10 Andreas Jaeger <aj@suse.de>
57195
57196 [BZ #15395]
57197 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57198 localization.
57199 Include <locale.h>.
57200
57201 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57202
57203 * elf/dl-close.c (_dl_close_worker): Add comments.
57204
57205 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57206
57207 [BZ #15359]
57208 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57209 high part of pi/2.
57210 (__ieee754_rem_pio2l): Update comments.
57211
57212 [BZ #15429]
57213 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57214 high part of pi/2.
57215 (__ieee754_rem_pio2l): Update comments.
57216
57217 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57218 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57219
57220 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57221 M_PI_4l.
57222
57223 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57224 (M_PI_34_LOG10El): Likewise.
57225 (M_PI2_LOG10El): Likewise.
57226 (M_PI4_LOG10El): Likewise.
57227 (M_PI_LOG10El): Likewise.
57228
57229 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57230
57231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57232
57233 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57234
57235 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57236 (MINUS_ZERO_INIT): Likewise.
57237 (PLUS_INFTY_INIT): Likewise.
57238 (MINUS_INFTY_INIT): Likewise.
57239 (QNAN_VALUE_INIT): Likewise.
57240 (MAX_VALUE_INIT): Likewise.
57241 (MIN_VALUE_INIT): Likewise.
57242 (MIN_SUBNORM_VALUE_INIT): Likewise.
57243 (plus_zero): Initialize with PLUS_ZERO_INIT.
57244 (minus_zero): Initialize with MINUS_ZERO_INIT.
57245 (plus_infty): Initialize with PLUS_INFTY_INIT.
57246 (minus_infty): Initialize with MINUS_INFTY_INIT.
57247 (qnan_value): Initialize with QNAN_VALUE_INIT.
57248 (max_value): Initialize with MAX_VALUE_INIT.
57249 (min_value): Initialize with MIN_VALUE_INIT.
57250 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57251
57252 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57253 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57254 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57255 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57256
57257 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57258 (RUN_TEST_2_f): Likewise.
57259 (RUN_TEST_ff_f): Likewise.
57260 (RUN_TEST_fi_f): Likewise.
57261 (RUN_TEST_fl_f): Likewise.
57262 (RUN_TEST_fff_f): Likewise.
57263 (RUN_TEST_c_f): Likewise.
57264 (RUN_TEST_f_f1): Likewise.
57265 (RUN_TEST_fF_f1): Likewise.
57266 (RUN_TEST_fI_f1): Likewise.
57267 (RUN_TEST_ffI_f1): Likewise.
57268 (RUN_TEST_c_c): Likewise.
57269 (RUN_TEST_cc_c): Likewise.
57270 (RUN_TEST_f_i): Likewise.
57271 (RUN_TEST_f_i_tg): Likewise.
57272 (RUN_TEST_ff_i_tg): Likewise.
57273 (RUN_TEST_f_b): Likewise.
57274 (RUN_TEST_f_b_tg): Likewise.
57275 (RUN_TEST_f_l): Likewise.
57276 (RUN_TEST_f_L): Likewise.
57277 (RUN_TEST_sincos): Likewise.
57278 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57279 whether to show exceptions. Do not include ");\n" in return
57280 value.
57281 (special_functions): Output call to RUN_TEST_sincos instead of
57282 check_float calls. Update calls to new_test.
57283 (parse_args): Output call to single RUN_TEST_* macro instead of
57284 check_* calls and other assignments. Update calls to new_test.
57285
57286 [BZ #2546]
57287 [BZ #2560]
57288 [BZ #5159]
57289 [BZ #15426]
57290 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57291 input to result for tgamma overflow.
57292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57293 (gamma_coeff): New variable.
57294 (NCOEFF): New macro.
57295 (gamma_positive): New function.
57296 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57297 underflow here. Use gamma_positive instead of exp (lgamma) for
57298 other arguments.
57299 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57300 (gamma_coeff): New variable.
57301 (NCOEFF): New macro.
57302 (gammaf_positive): New function.
57303 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57304 underflow here. Use gamma_positive instead of exp (lgamma) for
57305 other arguments.
57306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57307 (gamma_coeff): New variable.
57308 (NCOEFF): New macro.
57309 (gammal_positive): New function.
57310 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57311 underflow here. Use gamma_positive instead of exp (lgamma) for
57312 other arguments.
57313 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57314 (gamma_coeff): New variable.
57315 (NCOEFF): New macro.
57316 (gammal_positive): New function.
57317 (__ieee754_gammal_r): Handle positive infinity, overflow and
57318 underflow here. Handle NaN the same as positive infinity. Remove
57319 check x < 0xffffffff for negative integers. Use gamma_positive
57320 instead of exp (lgamma) for other arguments.
57321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57322 (gamma_coeff): New variable.
57323 (NCOEFF): New macro.
57324 (gammal_positive): New function.
57325 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57326 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57327 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57328 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57329 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57330 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57331 * sysdeps/generic/math_private.h (__gamma_productf): New
57332 prototype.
57333 (__gamma_product): Likewise.
57334 (__gamma_productl): Likewise.
57335 * math/Makefile (libm-calls): Add gamma_product.
57336 * math/libm-test.inc (tgamma_test): Add more tests.
57337 * sysdeps/i386/fpu/libm-test-ulps: Update.
57338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57339
57340 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57341
57342 * benchtests/bench-skeleton.c (main): Preheat CPU.
57343
57344 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57345
57346 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57347
57348 2013-05-07 Roland McGrath <roland@hack.frob.com>
57349
57350 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57351 and _dl_skip_args_internal.
57352
57353 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57354
57355 * manual/message.texi (Message Translation): Talk about users.
57356 Message to key mapping impacts design.
57357
57358 2013-05-06 Roland McGrath <roland@hack.frob.com>
57359
57360 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57361
57362 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57363
57364 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57365 * sysdeps/wordsize-64/glob64.c: ... here.
57366
57367 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57368 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57369 New macros.
57370
57371 * debug/getlogin_r_chk.c: Moved to ...
57372 * login/getlogin_r_chk.c: ... here.
57373 * debug/Makefile (routines): Move getlogin_r_chk to ...
57374 * login/Makefile (routines): ... here.
57375 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57376 * login/Versions (libc: GLIBC_2.4): ... here.
57377
57378 * io/poll.c (__poll): Renamed from poll.
57379 Add libc_hidden_def.
57380 (poll): Define as weak alias.
57381
57382 * debug/ptsname_r_chk.c: Moved to ...
57383 * login/ptsname_r_chk.c: ... here.
57384 * debug/Makefile (routines): Move ptsname_r_chk to ...
57385 * login/Makefile (routines): ... here.
57386 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57387 * login/Versions (libc: GLIBC_2.4): ... here.
57388
57389 * posix/getlogin.c: Moved to ...
57390 * login/getlogin.c: ... here.
57391 * posix/getlogin_r.c: Moved to ...
57392 * login/getlogin_r.c: ... here.
57393 * posix/getlogin_r.c: Moved to ...
57394 * login/getlogin_r.c: ... here.
57395 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57396 * login/Makefile (routines): ... here.
57397 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57398 * login/Versions (libc: GLIBC_2.0): ... here.
57399
57400 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57401 (setrlimit): Define as weak alias.
57402
57403 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57404 Call __ names for open, ftruncate, and close.
57405 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57406 (truncate): Define as weak alias.
57407
57408 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57409
57410 * math/gen-libm-test.pl (parse_args): Initialize x before each
57411 test of frexp, modf and remquo.
57412
57413 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57414 test signgam value.
57415
57416 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57417
57418 [BZ #15418]
57419 [BZ #15419]
57420 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57421 internal tests.
57422 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57423
57424 2013-05-06 Roland McGrath <roland@hack.frob.com>
57425
57426 * elf/dl-writev.h: New file.
57427 * elf/dl-misc.c: Include it.
57428 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57429 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57430
57431 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57432
57433 * math/libm-test.inc (noXFails): Remove variable.
57434 (noXPasses): Likewise.
57435 (BUILD_COMPLEX_INT): Remove macro.
57436 (print_screen): Remove xfail argument.
57437 (print_screen_max_error): Likewise.
57438 (update_stats): Likewise.
57439 (print_max_error): Likewise. Update calls to other affected
57440 functions.
57441 (print_complex_max_error): Likewise.
57442 (test_single_exception): Update calls to print_screen.
57443 (test_single_errno): Likewise.
57444 (check_float_internal): Remove xfail argument. Update calls to
57445 other affected functions.
57446 (check_float): Likewise.
57447 (check_complex): Likewise.
57448 (check_int): Likewise.
57449 (check_long): Likewise.
57450 (check_bool): Likewise.
57451 (check_longlong): Likewise.
57452 (main): Don't print noXFails and noXPasses.
57453 * math/gen-libm-test.pl (top level): Don't mention expected
57454 failure handling in comment.
57455 (new_test): Don't handle expected failures.
57456 (parse_args): Don't mention expected failure handling in comment.
57457 (generate_testfile): Don't handle expected failures.
57458 (parse_ulps): Likewise.
57459 (print_ulps_file): Likewise.
57460 (get_failure): Remove function.
57461 (output_test): Don't handle expected failures.
57462 * make/README.libm-test: Don't mention expected failure handling.
57463
57464 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57465 (minus_zero): Likewise.
57466 (plus_infty): Likewise.
57467 (minus_infty): Likewise.
57468 (qnan_value): Likewise.
57469 (max_value): Likewise.
57470 (min_value): Likewise.
57471 (min_subnorm_value): Likewise.
57472 (initialize): Do not initialize those variables dynamically.
57473
57474 2013-05-03 Roland McGrath <roland@hack.frob.com>
57475
57476 * io/open.c (__open_2): Moved to ...
57477 * io/open_2.c: ... this new file.
57478 * io/open64.c (__open64_2): Moved to ...
57479 * io/open64_2.c: ... this new file.
57480 * io/openat.c (__openat_2): Moved to ...
57481 * io/openat_2.c: ... this new file.
57482 * io/openat64.c (__openat64_2): Moved to ...
57483 * io/openat64_2.c: ... this new file.
57484 * io/Makefile (routines): Add them.
57485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57486 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57487 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57488 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57489 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57490 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57491 (__openat64): Add hidden_ver.
57492 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57493 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57494
57495 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57496 Separately conditionalize setting of GLRO(dl_sysinfo) so
57497 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57498 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57499
57500 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57501
57502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57503 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57504 definition.
57505 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57506 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57507 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57508 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57509 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57510
57511 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57512
57513 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57514 test signgam value.
57515
57516 * math/libm-test.inc (hypot_test): Do not use
57517 IGNORE_ZERO_INF_SIGN.
57518
57519 2013-05-03 Andreas Jaeger <aj@suse.de>
57520
57521 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57522 Linux 3.9.
57523 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57524 (PF_MAX): Adjust for VSOCK change.
57525
57526 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57527
57528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57529
57530 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57531
57532 [BZ #15264]
57533 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57534 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57535 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57536
57537 2013-05-02 David S. Miller <davem@davemloft.net>
57538
57539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57540
57541 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57542
57543 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57544
57545 2013-05-01 Roland McGrath <roland@hack.frob.com>
57546
57547 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57548
57549 2013-05-01 Richard Smith <richard@metafoo.co.uk>
57550
57551 [BZ #14952]
57552 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57553 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57554 Use __attribute__ ((__gnu_inline__)).
57555 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57556 Don't use __attribute__ ((__gnu_inline__)).
57557
57558 2013-05-01 Joseph Myers <joseph@codesourcery.com>
57559
57560 [BZ #15423]
57561 * math/s_catan.c (__catan): Handle small real or imaginary part of
57562 input specially to avoid spurious underflow.
57563 * math/s_catanf.c (__catanf): Likewise.
57564 * math/s_catanh.c (__catanh): Likewise.
57565 * math/s_catanhf.c (__catanhf): Likewise.
57566 * math/s_catanhl.c (__catanhl): Likewise.
57567 * math/s_catanl.c (__catanl): Likewise.
57568 * math/libm-test.inc (catan_test): Add more tests.
57569 (catanh_test): Likewise.
57570 * sysdeps/i386/fpu/libm-test-ulps: Update.
57571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57572
57573 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57574
57575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57576
57577 2013-04-30 Joseph Myers <joseph@codesourcery.com>
57578
57579 [BZ #15416]
57580 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57581 accurately for denominator in atan2.
57582 * math/s_catanf.c (__catanf): Likewise.
57583 * math/s_catanh.c (__catanh): Likewise.
57584 * math/s_catanhf.c (__catanhf): Likewise.
57585 * math/s_catanhl.c (__catanhl): Likewise.
57586 * math/s_catanl.c (__catanl): Likewise.
57587 * math/libm-test.inc (catan_test): Add more tests.
57588 (catanh_test): Likewise.
57589 * sysdeps/i386/fpu/libm-test-ulps: Update.
57590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57591
57592 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57593
57594 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57595
57596 * benchtests/Makefile (bench): Remove slow benchmarks.
57597 * benchtests/atan-inputs: Add slow benchmark inputs.
57598 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57599 (BENCH_FUNC): Accept variant offset.
57600 (VARIANT): Define.
57601 * benchtests/bench-skeleton.c (main): Run benchmark for each
57602 variant.
57603 * benchtests/cos-inputs: Add slow benchmark inputs.
57604 * benchtests/exp-inputs: Likewise.
57605 * benchtests/pow-inputs: Likewise.
57606 * benchtests/sin-inputs: Likewise.
57607 * benchtests/slowatan-inputs: Remove.
57608 * benchtests/slowatan.c: Remove.
57609 * benchtests/slowcos-inputs: Remove.
57610 * benchtests/slowcos.c: Remove.
57611 * benchtests/slowexp-inputs: Remove.
57612 * benchtests/slowexp.c: Remove.
57613 * benchtests/slowpow-inputs: Remove.
57614 * benchtests/slowpow.c: Remove.
57615 * benchtests/slowsin-inputs: Remove.
57616 * benchtests/slowsin.c: Remove.
57617 * benchtests/slowtan-inputs: Remove.
57618 * benchtests/slowtan.c: Remove.
57619 * benchtests/tan-inputs: Add slow benchmark inputs.
57620 * scripts/bench.pl: Parse comments and directives.
57621
57622 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57623 in CPPFLAGS.
57624 ($(objpfx)bench-%.c): Remove *-ITER.
57625 * benchtests/bench-modf.c: Remove definition of ITER.
57626 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57627 (main): Loop for DURATION seconds instead of fixed number of
57628 iterations.
57629 * scripts/bench.pl: Don't expect iterations in parameters.
57630
57631 2013-04-29 Roland McGrath <roland@hack.frob.com>
57632
57633 * io/fchdir.c (__fchdir): Renamed from fchdir.
57634 (fchdir): Define as weak alias.
57635
57636 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57637
57638 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57639 (ERRNO_EDOM): Likewise.
57640 (ERRNO_ERANGE): Likewise.
57641 (noErrnoTests): New variable.
57642 (init_max_error): Set errno to 0.
57643 (test_single_errno): New function.
57644 (test_errno): Likewise.
57645 (check_float_internal): Call test_errno. Set errno to 0.
57646 (check_complex): Refer to errno tests in comment.
57647 (check_int): Call test_errno. Set errno to 0.
57648 (check_long): Likewise.
57649 (check_bool): Likewise.
57650 (check_longlong): Likewise.
57651 (cos_test): Use ERRNO_* flags for errno tests instead of
57652 check_int.
57653 (expm1_test): Likewise.
57654 (fmod_test): Likewise.
57655 (ilogb_test): Likewise.
57656 (lgamma_test): Likewise.
57657 (pow_test): Likewise.
57658 (remainder_test): Likewise.
57659 (sin_test): Likewise.
57660 (tan_test): Likewise.
57661 (yn_test): Likewise.
57662 (initialize): Set errno to 0.
57663 (main): Print number of errno tests.
57664 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57665
57666 2013-04-29 Andreas Jaeger <aj@suse.de>
57667
57668 [BZ #15084]
57669 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57670 and RES_USEVC.
57671
57672 [BZ #15085]
57673 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57674 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57675 unimplemented.
57676
57677 [BZ #15380]
57678 * stdlib/random.c (__initstate): Return NULL if
57679 __initstate fails.
57680
57681 [BZ #15086]
57682 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57683 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57684 RES_SNGLKUPREOP.
57685
57686 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57687
57688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57689
57690 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57691
57692 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57693 of individual tests.
57694 (casin_test): Likewise.
57695 (casinh_test): Likewise.
57696
57697 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57698
57699 [BZ #15409]
57700 * math/s_catan.c (__catan): Handle arguments with large real or
57701 imaginary part separately without squaring.
57702 * math/s_catanf.c (__catanf): Likewise.
57703 * math/s_catanh.c (__catanh): Likewise.
57704 * math/s_catanhf.c (__catanhf): Likewise.
57705 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57706 and redefine.
57707 (__catanhl): Handle arguments with large real or imaginary part
57708 separately without squaring.
57709 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57710 and redefine.
57711 (__catanl): Handle arguments with large real or imaginary part
57712 separately without squaring.
57713 * math/libm-test.inc (catan_test): Add more tests.
57714 (catanh_test): Likewise.
57715 * sysdeps/i386/fpu/libm-test-ulps: Update.
57716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57717
57718 2013-04-27 Andreas Jaeger <aj@suse.de>
57719
57720 [BZ #15007]
57721 * stdlib/stdlib.h: Update guards for qecvt.
57722 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57723 <stdlib.h>.
57724
57725 2013-04-27 Allan McRae <allan@archlinux.org>
57726
57727 * sysdeps/i386/fpu/libm-test-ulps: Update.
57728
57729 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57730
57731 [BZ #15406]
57732 * math/s_catan.c: Include <float.h>.
57733 (__catan): Ensure underflow exception occurs for underflowed
57734 result.
57735 * math/s_catanf.c: Include <float.h>.
57736 (__catanf): Ensure underflow exception occurs for underflowed
57737 result.
57738 * math/s_catanh.c: Include <float.h>.
57739 (__catanh): Ensure underflow exception occurs for underflowed
57740 result.
57741 * math/s_catanhf.c: Include <float.h>.
57742 (__catanhf): Ensure underflow exception occurs for underflowed
57743 result.
57744 * math/s_catanhl.c: Include <float.h>.
57745 (__catanhl): Ensure underflow exception occurs for underflowed
57746 result.
57747 * math/s_catanl.c: Include <float.h>.
57748 (__catanl): Ensure underflow exception occurs for underflowed
57749 result.
57750 * math/libm-test.inc (catan_test): Add more tests.
57751 (catanh_test): Likewise.
57752
57753 [BZ #15405]
57754 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57755 underflowed result.
57756 * math/s_ccoshf.c (__ccoshf): Likewise.
57757 * math/s_ccoshl.c (__ccoshl): Likewise.
57758 * math/s_csin.c (__csin): Likewise.
57759 * math/s_csinf.c (__csinf): Likewise.
57760 * math/s_csinh.c (__csinh): Likewise.
57761 * math/s_csinhf.c (__csinhf): Likewise.
57762 * math/s_csinhl.c (__csinhl): Likewise.
57763 * math/s_csinl.c (__csinl): Likewise.
57764 * math/libm-test.inc (ccos_test): Add more tests.
57765 (ccosh_test): Likewise.
57766 (csin_test): Likewise.
57767 (csinh_test): Likewise.
57768
57769 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57770
57771 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57772 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57773 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57774 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57775 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57776 powerpc/power5+/fpu folders.
57777 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57778
57779
57780 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57781
57782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57783
57784 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57785
57786 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57787 additions to variable.
57788 [$(config-machine) = x86_64] (modules-names): Likewise.
57789 ($(objpfx)tst-audit3): Remove dependency.
57790 ($(objpfx)tst-audit3.out): Likewise.
57791 ($(objpfx)tst-audit4): Likewise.
57792 ($(objpfx)tst-audit4.out): Likewise.
57793 ($(objpfx)tst-audit5): Likewise.
57794 ($(objpfx)tst-audit5.out): Likewise.
57795 ($(objpfx)tst-audit6): Likewise.
57796 ($(objpfx)tst-audit6.out): Likewise.
57797 ($(objpfx)tst-audit7): Likewise.
57798 ($(objpfx)tst-audit7.out): Likewise.
57799 (tst-audit3-ENV): Remove variable.
57800 (tst-audit4-ENV): Likewise.
57801 (tst-audit5-ENV): Likewise.
57802 (tst-audit6-ENV): Likewise.
57803 (tst-audit7-ENV): Likewise.
57804 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57805 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57806 addition to variable.
57807 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57808 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57809 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57810 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57811 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57812 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57813 tst-audit3, tst-audit4 and tst-audit5.
57814 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57815 tst-audit6 and tst-audit7.
57816 [$(subdir) = elf] (modules-names): Add audit modules for those
57817 tests.
57818 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57819 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57820 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57821 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57822 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57823 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57824 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57825 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57826 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57827 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57828 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57829 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57830 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57831 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57832 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57833 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57834 Likewise.
57835 [$(subdir) = elf && $(config-cflags-avx) = yes]
57836 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57837 [$(subdir) = elf && $(config-cflags-avx) = yes]
57838 (CFLAGS-tst-auditmod4a.c): Likewise.
57839 [$(subdir) = elf && $(config-cflags-avx) = yes]
57840 (CFLAGS-tst-auditmod4b.c): Likewise.
57841 [$(subdir) = elf && $(config-cflags-avx) = yes]
57842 (CFLAGS-tst-auditmod6b.c): Likewise.
57843 [$(subdir) = elf && $(config-cflags-avx) = yes]
57844 (CFLAGS-tst-auditmod6c.c): Likewise.
57845 [$(subdir) = elf && $(config-cflags-avx) = yes]
57846 (CFLAGS-tst-auditmod7b.c): Likewise.
57847 * elf/tst-audit3.c: Move to ...
57848 * sysdeps/x86_64/tst-audit3.c: ... here.
57849 * elf/tst-audit4.c: Move to ...
57850 * sysdeps/x86_64/tst-audit4.c: ... here.
57851 * elf/tst-audit5.c: Move to ...
57852 * sysdeps/x86_64/tst-audit5.c: ... here.
57853 * elf/tst-audit6.c: Move to ...
57854 * sysdeps/x86_64/tst-audit6.c: ... here.
57855 * elf/tst-audit7.c: Move to ...
57856 * sysdeps/x86_64/tst-audit7.c: ... here.
57857 * elf/tst-auditmod3a.c: Move to ...
57858 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57859 * elf/tst-auditmod3b.c: Move to ...
57860 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57861 * elf/tst-auditmod4a.c: Move to ...
57862 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57863 * elf/tst-auditmod4b.c: Move to ...
57864 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57865 * elf/tst-auditmod5a.c: Move to ...
57866 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57867 * elf/tst-auditmod5b.c: Move to ...
57868 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57869 * elf/tst-auditmod6a.c: Move to ...
57870 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57871 * elf/tst-auditmod6b.c: Move to ...
57872 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57873 * elf/tst-auditmod6c.c: Move to ...
57874 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57875 * elf/tst-auditmod7a.c: Move to ...
57876 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57877 * elf/tst-auditmod7b.c: Move to ...
57878 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57879
57880 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57881
57882 [BZ #15366]
57883 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57884 define unconditionally.
57885 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57886 define unconditionally.
57887 (INT8_C, INT16_C, etc.): Likewise.
57888
57889 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57890
57891 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57892 __ehdr_start with hidden visibility.
57893
57894 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57895
57896 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57897
57898 * math/libm-test.inc (cos_test): Use accurate hex constants.
57899 (sincost_test): Likewise.
57900
57901 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57902
57903 * math/libm-test.inc (catan_test): Add more tests.
57904 (catanh_test): Likewise.
57905
57906 * math/s_catanf.c (__catanf): Use suffixed floating-point
57907 constants.
57908 * math/s_catanhf.c (__catanhf): Likewise.
57909 * math/s_catanhl.c (__catanhl): Likewise.
57910 * math/s_catanl.c (__catanl): Likewise.
57911
57912 [BZ #15394]
57913 * math/s_catan.c (__catan): Calculate imaginary part of result
57914 with log1p not log unless computing log of number close to 0.
57915 * math/s_catanf.c (__catanf): Likewise.
57916 * math/s_catanl.c (__catanl): Likewise.
57917 * math/s_catanh.c (__catanh): Calculate real part of result with
57918 log1p not log unless computing log of number close to 0.
57919 * math/s_catanhf.c (__catanhf): Likewise.
57920 * math/s_catanhl.c (__catanhl): Likewise.
57921 * math/libm-test.inc (catan_test): Add more tests.
57922 (catanh_test): Likewise.
57923 * sysdeps/i386/fpu/libm-test-ulps: Update.
57924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57925
57926 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57927
57928 * benchtests/Makefile: Mention files in which fast and slow
57929 paths of math functions are implemented.
57930
57931 2013-04-23 Roland McGrath <roland@hack.frob.com>
57932
57933 * sysdeps/posix/timespec_get.c: New file.
57934
57935 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57936
57937 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57938 POWER.
57939 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57940 for POWER.
57941 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57942 powerpc/power5/fpu folders.
57943 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57944 * benchtests/Makefile: Add modf testcase.
57945 * benchtests/bench-modf.c: New file: Benchmark test for mo
57946
57947 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57948
57949 [BZ #14888]
57950 * time/Makefile (tests): Add tst-strptime-whitespace.
57951 * time/strptime_l.c (get_number): Use ISSPACE.
57952 (__strptime_internal): Likewise.
57953 * time/tst-strptime-whitespace.c: New test case.
57954
57955 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57956
57957 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57958 member.
57959 (_nss_files_init): Set it here.
57960
57961 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57962
57963 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57964 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57965 unsigned.
57966
57967 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57968
57969 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57970
57971 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57972
57973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57974 size just once.
57975
57976 2013-04-21 David S. Miller <davem@davemloft.net>
57977
57978 * po/ru.po: Update Russion translation from translation project.
57979
57980 2013-04-17 Adam Conrad <adconrad@0c3.net>
57981
57982 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57983 and setfsgid.
57984
57985 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57986
57987 * configure.in: Remove i386 configure warning. Remove i386 case.
57988 * configure: Regenerate.
57989 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57990 Add example to error message.
57991 * sysdeps/i386/configure: Regenerate.
57992
57993 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57994
57995 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57996 slowtan.
57997 * benchtests/cos-inputs: New file.
57998 * benchtests/slowcos-inputs: New file.
57999 * benchtests/slowcos.c: New file.
58000 * benchtests/slowtan-inputs: New file.
58001 * benchtests/slowtan.c: New file.
58002 * benchtests/tan-inputs: New file.
58003
58004 2013-04-16 Roland McGrath <roland@hack.frob.com>
58005
58006 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58007 considered kosher.
58008
58009 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58010
58011 * benchtests/Makefile: Include cppflags-iterator.mk to add
58012 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58013
58014 * Makefile.in (bench-clean): New target.
58015 * benchtests/Makefile (bench-clean): Likewise.
58016
58017 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
58018
58019 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58020
58021 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
58022
58023 * stdio-common/tstdiomisc.c: Fix coding-style violation.
58024
58025 2013-04-15 Andreas Schwab <schwab@suse.de>
58026
58027 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58029 * nscd/pwdcache.c (cache_addpw): Likewise.
58030 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58031 more than recsize.
58032
58033 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58034
58035 * benchtests/Makefile (bench): Write all output to
58036 bench-out.tmp together.
58037
58038 2013-04-15 Andreas Schwab <schwab@suse.de>
58039
58040 * nscd/nscd.c (main): Don't fork again after closing files.
58041
58042 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58043
58044 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58045
58046 * benchtests/Rules (bench-deps): Collect dependencies into a
58047 single variable. Add Makefile to dependencies.
58048 ($(objpfx)bench-%.c): Depend on bench-deps.
58049
58050 2013-04-12 Roland McGrath <roland@hack.frob.com>
58051 Xavier Roche <roche+kml2@exalead.com>
58052
58053 [BZ #15361]
58054 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58055 just that it's a file descriptor.
58056 * manual/llio.texi (Synchronizing AIO Operations): Update description
58057 for EBADF error from aio_fsync.
58058
58059 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58060
58061 * Rules (bench): Move target definition...
58062 * benchtests/Makefile: ... here.
58063
58064 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58065
58066 * math/libm-test.inc (cos_test): Fix PI/2 test.
58067 (sincos_test): Likewise.
58068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58069 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58070
58071 2013-04-11 Andreas Schwab <schwab@suse.de>
58072
58073 [BZ #13988]
58074 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58075 accept exponent character only when digits were seen.
58076 * stdio-common/Makefile (tests): Add bug26.
58077 * stdio-common/bug26.c: New file.
58078
58079 [BZ #14293]
58080 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58081 non-freeable.
58082
58083 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58084
58085 * Makeconfig (rtld-prefix): Define built linker prefix.
58086 * Rules (run-bench): Use it.
58087 * math/Makefile (run-regen-ulps): Likewise.
58088
58089 * Rules (bench): Remove eval.
58090
58091 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58092 Roland McGrath <roland@hack.frob.com>
58093 Ondrej Bilka <neleai@seznam.cz>
58094
58095 [BZ #15346]
58096 * time/getdate.c: Include ctype.h and alloca.h.
58097 (__getdate_r): Trim leading and trailing spaces of input.
58098 * time/tst-getdate.c (tests): Add tests with leading and
58099 trailing spaces.
58100
58101 2013-04-08 Roland McGrath <roland@hack.frob.com>
58102
58103 [BZ #14280]
58104 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58105 when computing value.
58106
58107 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58108
58109 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58110 Use testrun.sh to run libm tests.
58111
58112 [BZ #15309]
58113 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58114
58115 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58116
58117 [BZ #15264]
58118 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58119
58120 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58121
58122 * Makefile.in (regen-ulps): New target.
58123 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58124 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58125 [ifneq (no,$(PERL)] (regen-ulps): New target.
58126 [ifeq (no,$(PERL)] (regen-ulps): New target.
58127 * math/libm-test.inc (ulps_file_name): Define.
58128 (output_dir): New variable.
58129 (options): Add "output-dir" option.
58130 (parse_opt): Handle 'o' case.
58131 (main): If output_dir is non-NULL use it as a prefix
58132 otherwise use "".
58133 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58134
58135 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58136
58137 [BZ #10060, #10062]
58138 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58139 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58140 fail configure if __sync_val_compare_and_swap is not inlined.
58141 * sysdeps/i386/configure: Regenerate.
58142 * configure.in: Build for i686 when configured for i386.
58143 * configure: Regenerate.
58144 * README: Remove i386 reference.
58145
58146 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58147
58148 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58150
58151 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58152
58153 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58154 (lmsnanval): New variables.
58155 (F): Add conversion tests.
58156 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58157 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58158
58159 * stdio-common/tstdiomisc.c (F): Properly collect individual
58160 tests' results.
58161
58162 [BZ #14686, #15336]
58163 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58164 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58165 Instead, use input NaN values or generate a qNaN by arithmetic
58166 operation. Also fix bugs to comply with the standard.
58167 * math/libm-test.inc (remainder_test): Add more tests.
58168
58169 [BZ #15335, #15342]
58170 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58172 input NaN values or generate a qNaN by arithmetic operation.
58173
58174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58175 unreachable code.
58176
58177 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58178 definitions.
58179
58180 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58181
58182 [BZ #14478]
58183 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58184 underflowed result.
58185 * math/s_cexpf.c (__cexpf): Likewise.
58186 * math/s_cexpl.c (__cexpl): Likewise.
58187 * math/libm-test.inc (cexp_test): Add more tests.
58188
58189 2013-04-03 Andreas Schwab <schwab@suse.de>
58190
58191 [BZ #15330]
58192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58193 order arrays from heap if bigger than alloca cutoff.
58194
58195 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58196
58197 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58198 (SNAN_TESTS_double): Refer to GCC PR56831.
58199 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58200 GCC PR56828.
58201
58202 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58203
58204 * Rules (bench): Move bench.out after the run is complete.
58205
58206 * Rules (bench): Echo currently running benchmark.
58207
58208 * benchtests/Makefile (bench): Add atan and slowatan.
58209 * benchtests/atan-inputs: New file.
58210 * benchtests/slowatan-inputs: New file.
58211 * benchtests/slowatan.c: New file.
58212
58213 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58215 its value.
58216
58217 [BZ #15305]
58218 * sysdeps/unix/sysv/linux/kernel-features.h
58219 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58220 __ASSUME_XFS_RESTRICTED_CHOWN.
58221 * sysdeps/unix/sysv/linux/pathconf.c
58222 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58223 Save and restore errno.
58224
58225 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58226
58227 [BZ #15327]
58228 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58229 arguments using __kernel_casinh.
58230 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58231 arguments using __kernel_casinhf.
58232 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58233 arguments using __kernel_casinhl.
58234 * math/libm-test.inc (cacosh_test): Add more tests.
58235 * sysdeps/i386/fpu/libm-test-ulps: Update.
58236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58237
58238 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58239
58240 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58242
58243 * bench/Makefile (bench): Add sin and slowsin.
58244 * benchtests/sin-inputs: New file.
58245 * benchtests/slowsin-inputs: New file.
58246 * benchtests/slowsin.c: New file.
58247
58248 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58249 (bench): Add slowexp and slowpow.
58250 (exp-ITER): Increase iterations.
58251 (pow-ITER): Likewise.
58252 * benchtests/exp-inputs: Change input.
58253 * benchtests/pow-inputs: Likewise.
58254 * benchtests/slowexp-inputs: New file.
58255 * benchtests/slowexp.c: New file.
58256 * benchtests/slowpow-inputs: New file.
58257 * benchtests/slowpow.c: New file.
58258
58259 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58260
58261 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58262 instructions.
58263 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58264 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58265 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58266 * benchtests/Makefile: Add rint benchtest.
58267 * benchtests/rint-inputs: Input for rint benchtest.
58268
58269 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58270
58271 * Versions.def (libm): Add GLIBC_2.18.
58272 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58273 hidden libm prototypes.
58274 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58275 * math/Makefile (libm-calls): Add s_issignaling.
58276 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58277 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58278 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58279 declaration.
58280 * math/math.h [__USE_GNU] (issignaling): New macro.
58281 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58282 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58283 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58284 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58285 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58286 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58287 * manual/arith.texi (issignaling): New section.
58288 * manual/libm-err-tab.pl (@all_functions): Update comment.
58289 * math/gen-libm-test.pl (parse_args): Apply special handling for
58290 issignaling.
58291 * math/libm-test.inc (print_float, issignaling_test): New
58292 functions.
58293 (check_float_internal): Add issignaling checks.
58294 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58295 default definition.
58296 * sysdeps/powerpc/math-tests.h: New file.
58297 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58298 tests.
58299 * math/test-snan.c (TEST_FUNC): Likewise.
58300
58301 2013-03-30 David S. Miller <davem@davemloft.net>
58302
58303 * po/de.po: Update from translation team.
58304
58305 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58306
58307 [BZ #10357]
58308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58309 imaginary part less than 1.0 and real part less than 0.5
58310 specially.
58311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58313 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58314 (cacos_test): Add more tests.
58315 (casin_test): Likewise.
58316 (casinh_test): Likewise.
58317 * sysdeps/i386/fpu/libm-test-ulps: Update.
58318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58319
58320 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58321
58322 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58323 ONE with its value.
58324
58325 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58326 (__pow_mp): Replace ONE and MONE with their values.
58327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58328 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58330 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58331 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58333
58334 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58335
58336 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58337 (__pow_mp): Replace ZERO and MZERO with their values.
58338 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58340 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58342 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58343 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58344 (__sqr): Likewise.
58345
58346 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58347
58348 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58349
58350 2013-03-28 Roland McGrath <roland@hack.frob.com>
58351
58352 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58353 Declare with __attribute__ ((weak)).
58354 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58355 Call __call_tls_dtors only if it's not NULL.
58356
58357 2013-03-28 Roland McGrath <roland@hack.frob.com>
58358
58359 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58360 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58361 magic __ehdr_start linker symbol if it's defined.
58362 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58363 them up here if it was already done.
58364
58365 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58366 (_dl_aux_init): Use const in cast when setting it.
58367 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58368 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58369 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58370
58371 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58372 Declare them here.
58373 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58374 * csu/libc-tls.c: Nor here.
58375 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58376
58377 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58378 (__libc_message): Never call vsyslog.
58379
58380 2013-03-28 Alan Modra <amodra@gmail.com>
58381
58382 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58383 Define as empty.
58384 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58385 Likewise.
58386
58387 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58388
58389 [BZ #15214]
58390 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58391 underflow.
58392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58393
58394 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58395
58396 [BZ #15304]
58397 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58398 Don't add gid passed as argument.
58399
58400 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58401
58402 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58403
58404 [BZ #15307]
58405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58406 imaginary part between 1.0 and 1.5 and real part less than 0.5
58407 specially.
58408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58410 * math/libm-test.inc (cacos_test): Add more tests.
58411 (casin_test): Likewise.
58412 (casinh_test): Likewise.
58413 * sysdeps/i386/fpu/libm-test-ulps: Update.
58414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58415
58416 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58417
58418 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58419 constants.
58420 (norm): Likewise.
58421 (denorm): Likewise.
58422 (__dbl_mp): Likewise.
58423 (add_magnitudes): Likewise.
58424 (sub_magnitudes): Likewise.
58425 (__add): Likewise.
58426 (__sub): Likewise.
58427 (__mul): Likewise.
58428 (__sqr): Likewise.
58429 (__inv): Likewise.
58430 (__dvd): Likewise.
58431
58432 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58433 commented code.
58434 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58435 (__dubcos): Likewise.
58436 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58437 (__ieee754_acos): Likewise.
58438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58440 (__exp1): Likewise.
58441 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58443 (log1): Likewise.
58444 (my_log2): Likewise.
58445 (checkint): Likewise.
58446 * sysdeps/ieee754/dbl-64/e_remainder.c
58447 (__ieee754_remainder): Likewise.
58448 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58450 (bsloww): Likewise.
58451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58452
58453 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58455 MANTISSA_STORE_T to store computations on mantissa. Use
58456 macros for rounding and division.
58457 (denorm): Likewise.
58458 (__dbl_mp): Likewise.
58459 (add_magnitudes): Likewise.
58460 (sub_magnitudes): Likewise.
58461 (__mul): Likewise.
58462 (__sqr): Likewise.
58463 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58464 powers of two in terms of TWOPOW macro.
58465 (mp_no): Make type of mantissa as MANTISSA_T.
58466 [!RADIXI]: Define RADIXI.
58467 [!TWO52]: Define TWO52.
58468 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58469
58470 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58471
58472 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58473 llroundl symbol when building for PPC32.
58474
58475 2013-03-24 Mark H Weaver <mhw@netris.org>
58476
58477 * manual/arith.texi (Normalization Functions): Fix prototypes for
58478 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58479
58480 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58481
58482 [BZ #13889]
58483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58484 high value to check if expl overflow.
58485 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58486 to check for underflow and overflow.
58487 * math/libm-test.inc: Add exp test.
58488
58489 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58490
58491 [BZ #11120]
58492 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58493 with NOT_IN_libc.
58494
58495 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58496
58497 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58498 symbol.
58499
58500 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58501
58502 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58503 wrap blocks consisting of several statements.
58504
58505 * sysdeps/generic/math-tests.h: New file.
58506 * sysdeps/i386/fpu/math-tests.h: Likewise.
58507 * math/test-snan.c: Include it.
58508 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58509
58510 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58511
58512 [BZ #15285]
58513 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58514 (__ieee754_j0l): Do not improve calculations using cos of twice
58515 input for inputs above LDBL_MAX / 2.0L.
58516 (__ieee754_y0l): Likewise.
58517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58518 (__ieee754_j1l): Do not improve calculations using cos of twice
58519 input for inputs above LDBL_MAX / 2.0L.
58520 (__ieee754_y1l): Likewise.
58521 * math/libm-test.inc (j0_test): Add another test.
58522 (j1_test): Likewise.
58523 (y0_test): Likewise.
58524 (y1_test): Likewise.
58525 * sysdeps/i386/fpu/libm-test-ulps: Update.
58526
58527 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58528
58529 * Rules ($(objpfx)bench-%.c): Include code from a C source
58530 file.
58531
58532 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58533
58534 [BZ #15287]
58535 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58536 imaginary part 1.0 and real part less than 0.5 specially.
58537 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58538 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58539 * math/libm-test.inc (cacos_test): Add more tests.
58540 (casin_test): Likewise.
58541 (casinh_test): Likewise.
58542 * sysdeps/i386/fpu/libm-test-ulps: Update.
58543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58544
58545 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58546
58547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58548 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58549
58550 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58551
58552 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58553 * config.make.in (config-cflags-sse4): Remove variable.
58554 (config-cflags-avx): Likewise.
58555 (config-cflags-sse2avx): Likewise.
58556 (config-cflags-novzeroupper): Likewise.
58557 (config-asflags-i686): Likewise.
58558 (have-mfma4): Likewise.
58559 (have-as-vis3): Likewise.
58560 (MIG): Likewise.
58561 * configure.in (MIG): Do not AC_SUBST.
58562 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58563 (libc_cv_cc_sse4): Do not AC_SUBST.
58564 (libc_cv_cc_avx): Likewise.
58565 (libc_cv_cc_sse2avx): Likewise.
58566 (libc_cv_cc_novzeroupper): Likewise.
58567 (libc_cv_cc_fma4): Likewise.
58568 (libc_cv_as_i686): Likewise.
58569 (libc_cv_sparc_as_vis3): Likewise.
58570 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58571 LIBC_CONFIG_VAR.
58572 (config-asflags-i686): Likewise.
58573 (config-cflags-avx): Likewise.
58574 (config-cflags-sse2avx): Likewise.
58575 (have-mfma4): Likewise.
58576 (config-cflags-novzeroupper): Likewise.
58577 * sysdeps/mach/configure.in (MIG): Likewise.
58578 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58579 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58580 LIBC_CONFIG_VAR.
58581 (config-cflags-avx): Likewise.
58582 (config-cflags-sse2avx): Likewise.
58583 (have-mfma4): Likewise.
58584 (config-cflags-novzeroupper): Likewise.
58585 * configure: Regenerated.
58586 * sysdeps/i386/configure: Likewise.
58587 * sysdeps/mach/configure: Likewise.
58588 * sysdeps/sparc/configure: Likewise.
58589 * sysdeps/x86_64/configure: Likewise.
58590
58591 2013-03-20 Roland McGrath <roland@hack.frob.com>
58592
58593 [BZ #14812]
58594 * locale/programs/localedef.c (options): Put N_ translation marker
58595 on argument names, not just descriptions.
58596
58597 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58598
58599 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58600
58601 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58602
58603 [BZ #14176]
58604 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58605
58606 2013-03-19 Roland McGrath <roland@hack.frob.com>
58607
58608 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58609 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58610 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58611 [!BEFORE_ABORT] (before_abort): New function.
58612 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58613 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58614 (writev_for_fatal): New function.
58615 (WRITEV_FOR_FATAL): New macro; call that.
58616 (backtrace_and_maps): New function.
58617 (BEFORE_ABORT): New macro; call that.
58618 (struct str_list): Type removed.
58619 (__libc_message, __libc_fatal): Functions removed.
58620 Include <sysdeps/posix/libc_fatal.c> instead.
58621
58622 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58623
58624 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58625 constants.
58626 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58627 double constants.
58628
58629 2013-03-19 Andreas Schwab <schwab@suse.de>
58630
58631 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58632 * sysdeps/gnu/configure: Regenerate.
58633
58634 * configure.in: Substitute libc_cv_rtlddir.
58635 * configure: Regenerate.
58636 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58637 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58638 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58639 * elf/Makefile (install-others, CFLAGS-interp.c)
58640 (ldso_install, common-ldd-rewrite): Likewise.
58641 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58642 $(inst_slibdir)/$(rtld-installed-name).
58643 * scripts/rellns-sh: Add -p option.
58644 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58645 for source.
58646
58647 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58648
58649 * manual/nptl.texi: Renamed to ...
58650 * manual/threads.texi: ... this.
58651 * manual/Makefile (chapters): Update.
58652
58653 2013-03-18 Roland McGrath <roland@hack.frob.com>
58654
58655 [BZ #14812]
58656 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58657 on argument names, not just descriptions.
58658 * malloc/memusagestat.c (options): Likewise.
58659 * nss/getent.c (options): Likewise.
58660
58661 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58662
58663 [BZ #14812]
58664 * iconv/iconv_prog.c (options): Put N_ translation marker
58665 on argument names, not just descriptions.
58666 * iconv/iconvconfig.c (options): Likewise.
58667
58668 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58669
58670 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58671 implementation which is faster on all x86_64 architectures.
58672 Tested on AMD, Intel Nehalem, SNB, IVB.
58673 * sysdeps/x86_64/strnlen.S: Likewise.
58674
58675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58676 Remove all multiarch strlen and strnlen versions.
58677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58678 Remove strlen and strnlen related parts.
58679
58680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58681 Inline strlen part.
58682 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58683
58684 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58685 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58686 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58687 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58688 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58689 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58690
58691 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58692
58693 * manual/memory.texi (Malloc Tunable Parameters):
58694 Sort parameters alphabetically. Add comments for missing entries.
58695
58696 2013-03-17 David S. Miller <davem@davemloft.net>
58697
58698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58699
58700 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58701
58702 [BZ #15283]
58703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58704 for arguments at most half maximum finite value.
58705 * math/libm-test.inc (j0_test): Add more tests.
58706 (j1_test): Likewise.
58707 (y0_test): Likewise.
58708 (y1_test): Likewise.
58709 * sysdeps/i386/fpu/libm-test-ulps: Update.
58710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58711
58712 [BZ #14155]
58713 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58714 1 / x and functions P and Q for arguments above 0x1p256L.
58715 (__ieee754_y0l): Likewise.
58716 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58717 (__ieee754_y1l): Likewise.
58718 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58719 (j1_test): Likewise.
58720 (y0_test): Likewise.
58721 (y1_test): Likewise.
58722
58723 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58724
58725 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58726 variable.
58727
58728 2013-03-15 Roland McGrath <roland@hack.frob.com>
58729
58730 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58731 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58732 zero since it's initialized to EXEC_PAGESIZE.
58733
58734 * sysdeps/unix/sysv/linux/ldsodefs.h
58735 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58736 * sysdeps/generic/ldsodefs.h: ... here.
58737
58738 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58739
58740 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58741
58742 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58743 math/test-snan.c.
58744 * math/test-snan.c: Renamed from
58745 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58746 * math/Makefile (tests): Add test-snan.
58747 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58748 test-powerpc-snan.
58749
58750 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58751 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58752 functions.
58753 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58754 __builtin_nan family of functions.
58755 * math/libm-test.inc (initialize): Initialize qnan_value with
58756 __builtin_nan family of functions.
58757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58758 Remove variables.
58759 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58760 Remove functions.
58761 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58762 storage class. Initialize qNaN_var and sNaN_var with
58763 __builtin_nan and __builtin_nans families of functions,
58764 respectively.
58765
58766 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58767 (sqrt_test): Remove duplicate test with qNaN input.
58768 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58769 (round_test, signbit_test, significand_test): Note missing +/-Inf
58770 as well as qNaN tests.
58771
58772 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58773 qNaN_var. Fix a few strings, too.
58774 * math/libm-test.inc (nan_value): Rename to qnan_value.
58775 * math/gen-libm-test.pl (%beautify): Adjust to that.
58776 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58777 * math/test-misc.c (main): Likewise.
58778 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58779 to __qnan_bytes, and __qnan_union, respectively.
58780 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58781 Likewise.
58782 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58783 and lqnanval, respectively.
58784 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58785 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58786 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58787 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58788
58789 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58790 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58791 doubles.
58792
58793 * math/test-misc.c (main): Fix copy'n'pastos.
58794 * misc/tst-efgcvt.c (special): Likewise.
58795
58796 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58797 Remove declarations.
58798
58799 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58800
58801 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58802 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58803 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58804 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58805
58806 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58807
58808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58809 macro to return vdso values correctly in IFUNC implementations.
58810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58811 Optimization by using IFUNC.
58812
58813 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58814 Richard Henderson <rth@redhat.com>
58815 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58816
58817 * Makefile.in (bench): New target.
58818 * NEWS: Mention the benchmark framework.
58819 * Rules (bench): Likewise.
58820 (binaries-bench): Generate binaries for functions to
58821 benchmark.
58822 * benchtests/Makefile: New makefile for benchmark tests.
58823 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58824 programs.
58825 * benchtests/exp-inputs: New input file for EXP function.
58826 * benchtests/pow-inputs: New input file for POW function.
58827 * scripts/bench.pl: New script to generate source files for
58828 benchmark programs.
58829
58830 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58831
58832 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58833 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58834 computations on mantissa. Use macros for rounding and
58835 division.
58836 (denorm): Likewise.
58837 (__dbl_mp): Likewise.
58838 (add_magnitudes): Likewise.
58839 (sub_magnitudes): Likewise.
58840 (__mul): Likewise.
58841 (__sqr): Likewise.
58842 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58843 powers of two in terms of TWOPOW macro.
58844 (mp_no): Make type of mantissa as MANTISSA_T.
58845 [!RADIXI]: Define RADIXI.
58846 [!TWO52]: Define TWO52.
58847 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58848
58849 * manual/nptl.texi (cindex): Modify threads to pthreads.
58850
58851 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58852
58853 * sysdeps/x86_64/preconfigure: Regenerated.
58854
58855 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58856
58857 [BZ #14155]
58858 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58859 0x1p28 and above.
58860 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58861 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58862 0x1p28 and above.
58863 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58864 * math/libm-test.inc (j0_test): Do not allow one spurious
58865 underflow exception.
58866 (y1_test): Likewise.
58867
58868 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58869
58870 * manual/Makefile (chapters): Add nptl.
58871 * manual/debug.texi (Debugging Support): Add link to Threads
58872 chapter.
58873 * manual/nptl.texi: New file.
58874
58875 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58876
58877 2013-03-14 Petr Baudis <pasky@ucw.cz>
58878
58879 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58880 for non-NULL pointer before the memory validity test. Pointed
58881 out by Holger Brunck <holger.brunck@keymile.com>.
58882
58883 2013-03-13 Andreas Schwab <schwab@suse.de>
58884
58885 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58886 instead of .os.
58887
58888 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58889
58890 * timezone/zic.c: Update from tzcode 2013b.
58891
58892 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58893
58894 * manual/install.texi (Configuring and compiling):
58895 Mention i686 and i586.
58896 * INSTALL: Regenerate.
58897
58898 2013-03-12 Roland McGrath <roland@hack.frob.com>
58899
58900 * sysdeps/init_array/elf-init.c: New file.
58901 * csu/elf-init.c
58902 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58903 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58904
58905 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58906 __gmon_start__ as global, but as static with a .preinit_array pointer.
58907 * sysdeps/init_array/gmon-start.c: New file. Use that.
58908 * sysdeps/init_array/crti.S: New file, empty except for comments.
58909 * sysdeps/init_array/crtn.S: Likewise.
58910
58911 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58912
58913 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58914 definining bcopy.
58915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58916 Remove Prefer_SSE_for_memop.
58917 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58918 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58919 HAS_PREFER_SSE_FOR_MEMOP.
58920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58921 memset-x86-64.
58922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58923 Remove bzero, memset ifunc support.
58924 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58925 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58926 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58927 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58928
58929 2013-03-11 Andreas Schwab <schwab@suse.de>
58930
58931 [BZ #15234]
58932 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58933 by SHLIB_COMPAT.
58934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58935 (GLIBC_2.16): Remove pthread_atfork.
58936
58937 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58938
58939 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58940 (ptestcases.h): Likewise.
58941
58942 2013-03-08 Roland McGrath <roland@hack.frob.com>
58943
58944 * Makeconfig ($(common-objpfx)config.status): Depend on
58945 sysdeps/*/preconfigure{,.in} too.
58946
58947 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58948
58949 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58950 (__free_hook): Use void * instead of __malloc_ptr_t.
58951 (__malloc_hook): Likewise.
58952 (__realloc_hook): Likewise.
58953 (__memalign_hook): Likewise.
58954 (__after_morecore_hook): Likewise.
58955 * malloc/arena.c (save_malloc_hook): Likewise.
58956 (save_free_hook): Likewise.
58957 * malloc/hooks.c (malloc_hook_ini): Likewise.
58958 (realloc_hook_ini): Likewise.
58959 (memalign_hook_ini): Likewise.
58960 * malloc/malloc.c (malloc_hook_ini): Likewise.
58961 (realloc_hook_ini): Likewise.
58962 (memalign_hook_ini): Likewise.
58963 (__free_hook): Likewise.
58964 (__malloc_hook): Likewise.
58965 (__realloc_hook): Likewise.
58966 (__memalign_hook): Likewise.
58967 (__libc_malloc): Likewise.
58968 (__libc_free): Likewise.
58969 (__libc_realloc): Likewise.
58970 (__libc_memalign): Likewise.
58971 (__libc_valloc): Likewise.
58972 (__libc_pvalloc): Likewise.
58973 (__libc_calloc): Likewise.
58974 (__posix_memalign): Likewise.
58975 * malloc/morecore.c (__sbrk): Likewise.
58976 (__default_morecore): Likewise.
58977
58978 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58979
58980 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58981 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58982 __malloc_ptrdiff_t.
58983
58984 * malloc/malloc.h (__malloc_size_t): Remove macro.
58985 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58986 __malloc_size_t.
58987 (old_memalign_hook): Likewise.
58988 (old_realloc_hook): Likewise.
58989 (struct hdr): Likewise.
58990 (flood): Likewise.
58991 (mallochook): Likewise.
58992 (memalignhook): Likewise.
58993 (reallochook): Likewise.
58994 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58995 (tr_old_realloc_hook): Likewise.
58996 (tr_old_memalign_hook): Likewise.
58997 (tr_mallochook): Likewise.
58998 (tr_reallochook): Likewise.
58999 (tr_memalignhook): Likewise.
59000
59001 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59002
59003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59004 default_ldbl_pack and using as default implementation.
59005 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59006 implementation.
59007 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59008 redundant definition.
59009 (ldbl_insert_mantissa): Likewise.
59010 (ldbl_canonicalize): Likewise.
59011 (ldbl_nearbyint): Likewise.
59012 (ldbl_pack): Rename to ldbl_pack_ppc.
59013 (ldbl_unpack): Rename to ldbl_unpack_ppc.
59014 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59015 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59016
59017 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59018
59019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59020 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59021 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59022 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59024 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59025 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59026 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59027
59028 2013-03-07 Andreas Jaeger <aj@suse.de>
59029
59030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59031 bits/mman-linux.h.
59032
59033 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59034
59035 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59036 Include mpa.h and declare __MPEXP.
59037 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59039 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59040 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59042 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59044
59045 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59046 (__slowpow): Use long double EXPL and LOGL functions to
59047 compute POW.
59048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59049 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59051 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59052 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59053 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59054
59055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59056 intermediate variable to calculate exponent.
59057 (__sqr): Likewise.
59058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59059 Likewise.
59060 (__sqr): Likewise.
59061
59062 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59063 [!NO__SQR]: Define __sqr.
59064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59065 and NO__SQR. Remove all code except __mul and __sqr. Include
59066 sysdeps/ieee754/dbl-64/mpa.c.
59067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59068
59069 [BZ #12723]
59070 * posix/Makefile (tests): Add tst-pathconf.
59071 * posix/tst-pathconf.c: New test case.
59072 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59073 _PC_PIPE_BUF.
59074 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59075
59076 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59077
59078 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59079
59080 2013-03-06 Andreas Jaeger <aj@suse.de>
59081
59082 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59083 definition via __MAP_ANONYMOUS.
59084
59085 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59086 it's not part of Linux headers.
59087
59088 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59089 (MAP_HUGE_MASK): Define.
59090
59091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59092 Define.
59093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59095 Define.
59096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59097 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59098 Define.
59099 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59101 Define.
59102 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59103
59104 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59105 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59106 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59107 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59108 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59109 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59110
59111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59112 Handle f2fs.
59113
59114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59115 Handle f2fs and efivarfs.
59116
59117 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59118 f2fs.
59119
59120 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59121 (EFIVARFS_MAGIC): Add.
59122 (F2FS_LINK_MAX): Add.
59123
59124 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59125
59126 * stdio-common/vfprintf.c: Replace __builtin_expect with
59127 __glibc_unlikely.
59128
59129 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59130
59131 [BZ #13550]
59132 * sysdeps/generic/bp-sym.h: Remove file.
59133 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59134 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59135 <bp-sym.h> and <bp-asm.h>.
59136 (__longjmp): Don't use BP_SYM.
59137 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59138 and <bp-asm.h>.
59139 (memcpy): Don't use BP_SYM.
59140 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59141 <bp-sym.h> and <bp-asm.h>.
59142 (memcpy): Don't use BP_SYM.
59143 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59144 <bp-asm.h>.
59145 (memcpy): Don't use BP_SYM.
59146 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59147 <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/power4/memcmp.S: Don't include
59155 <bp-sym.h> and <bp-asm.h>.
59156 (memcmp): Don't use BP_SYM. Remove comment about bounded
59157 pointers.
59158 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59159 <bp-sym.h> and <bp-asm.h>.
59160 (memcpy): Don't use BP_SYM.
59161 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59162 <bp-sym.h> and <bp-asm.h>.
59163 (memset): Don't use BP_SYM.
59164 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59165 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59166 (__bzero): Don't use BP_SYM.
59167 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59168 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59170 <bp-sym.h> and <bp-asm.h>.
59171 (strncmp): Don't use BP_SYM. Remove comment about bounded
59172 pointers.
59173 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59174 <bp-sym.h> and <bp-asm.h>.
59175 (memcpy): Don't use BP_SYM.
59176 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59177 <bp-sym.h> and <bp-asm.h>.
59178 (memset): Don't use BP_SYM.
59179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59181 (__bzero): Don't use BP_SYM.
59182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59185 <bp-sym.h> and <bp-asm.h>.
59186 (__memchr): Don't use BP_SYM.
59187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59188 <bp-sym.h> and <bp-asm.h>.
59189 (memcmp): Don't use BP_SYM. Remove comment about bounded
59190 pointers.
59191 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59192 <bp-sym.h> and <bp-asm.h>.
59193 (memcpy): Don't use BP_SYM.
59194 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59195 <bp-sym.h> and <bp-asm.h>.
59196 (__mempcpy): Don't use BP_SYM.
59197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59198 <bp-sym.h> and <bp-asm.h>.
59199 (__memrchr): Don't use BP_SYM.
59200 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59201 <bp-sym.h> and <bp-asm.h>.
59202 (memset): Don't use BP_SYM.
59203 (__bzero): Likewise.
59204 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59205 <bp-sym.h> and <bp-asm.h>.
59206 (__rawmemchr): Don't use BP_SYM.
59207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59208 <bp-sym.h> and <bp-asm.h>.
59209 (__STRCMP): Don't use BP_SYM.
59210 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59211 <bp-sym.h> and <bp-asm.h>.
59212 (strchr): Don't use BP_SYM.
59213 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59214 <bp-sym.h> and <bp-asm.h>.
59215 (__strchrnul): Don't use BP_SYM.
59216 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59217 <bp-sym.h> and <bp-asm.h>.
59218 (strlen): Don't use BP_SYM.
59219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59220 <bp-sym.h> and <bp-asm.h>.
59221 (strncmp): Don't use BP_SYM. Remove comment about bounded
59222 pointers.
59223 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59224 <bp-sym.h> and <bp-asm.h>.
59225 (__strnlen): Don't use BP_SYM.
59226 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59227 <bp-sym.h> and <bp-asm.h>.
59228 (__GI__setjmp): Don't use BP_SYM.
59229 (_setjmp): Likewise.
59230 (__sigsetjmp): Likewise.
59231 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59232 (L(start_addresses)): Don't use BP_SYM.
59233 (_start): Likewise.
59234 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59235 <bp-asm.h>.
59236 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59237 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59238 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59239 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59240 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59241 <bp-asm.h>.
59242 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59243 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59244 about bounded pointers.
59245 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59246 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59247 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59248 <bp-asm.h>.
59249 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59250 about bounded pointers. Remove GKM FIXME comments.
59251 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59252 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59253 <bp-asm.h>.
59254 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59255 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59256 Remove GKM FIXME comments.
59257 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59258 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59259 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59260 <bp-asm.h>.
59261 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59262 about bounded pointers. Remove GKM FIXME comment.
59263 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59264 and <bp-asm.h>.
59265 (strncmp): Don't use BP_SYM. Remove comment about bounded
59266 pointers.
59267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59268 <bp-sym.h> and <bp-asm.h>.
59269 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59271 <bp-sym.h> and <bp-asm.h>.
59272 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59273 comment.
59274
59275 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59276
59277 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59278 call free(NULL).
59279
59280 2013-03-05 David S. Miller <davem@davemloft.net>
59281
59282 * po/es.po: Update from translation team.
59283
59284 2013-03-05 Andreas Jaeger <aj@suse.de>
59285
59286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59287 <bits/mman-linux.h>.
59288 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59289 is fine.
59290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59291 <bits/mman-linux.h> to end of file.
59292 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59293 is fine.
59294 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59295 <bits/mman-linux.h> to end of file.
59296 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59297 is fine.
59298 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59299 <bits/mman-linux.h> to end of file.
59300
59301 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59302 (MCL_CURRENT, MCL_FUTURE): Define here.
59303
59304 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59305
59306 [BZ #15232]
59307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59308 attribute_hidden.
59309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59310
59311 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59312
59313 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59314 fourth parameter needed for rt_sigprocmask syscall.
59315 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59316 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59317 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59318 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59319 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59320 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59321
59322 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59323
59324 [BZ #13550]
59325 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59326 comment about bounded pointers.
59327 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59328 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59329
59330 2013-03-04 Andreas Jaeger <aj@suse.de>
59331
59332 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59333 common definitions.
59334
59335 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59336 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59337 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59338 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59340 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59341
59342 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59343
59344 [BZ #15055]
59345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59346 __ieee754_sqrl instead of __sqrl.
59347
59348 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59349
59350 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59351 * sysdeps/powerpc/fpu_control.h: ... here.
59352 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59353 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59354 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59355 * sysdeps/powerpc/bits/mathinline.h: ... here.
59356
59357 2013-03-01 Roland McGrath <roland@hack.frob.com>
59358
59359 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59360 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59361 to just [NEED_DL_SYSINFO_DSO].
59362 * elf/dl-support.c: Likewise.
59363 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59364 * elf/rtld.c (dl_main): Likewise.
59365 * elf/setup-vdso.h (setup_vdso): Likewise.
59366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59367 * sysdeps/unix/sysv/linux/dl-sysdep.c
59368 (_dl_discover_osversion): Likewise.
59369
59370 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59371
59372 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59373 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59374
59375 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59376
59377 * NEWS: Mention libm performance improvements and non-x86 PI
59378 futex support.
59379
59380 * csu/libc-start.c (__pthread_initialize_minimal): Change
59381 function arguments.
59382 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59383
59384 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59385
59386 [BZ #13550]
59387 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59388 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59389 <bp-sym.h> and <bp-asm.h>.
59390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59391 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59392 and <bp-asm.h>.
59393 (memcpy): Don't use BP_SYM.
59394 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59395 <bp-asm.h>.
59396 (__mpn_add_n): Don't use BP_SYM.
59397 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59398 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59399 and <bp-asm.h>.
59400 (__mpn_addmul_1): Don't use BP_SYM.
59401 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59402 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59403 <bp-sym.h>.
59404 (_setjmp): Don't use BP_SYM.
59405 (__novmx_setjmp): Likewise.
59406 (__GI__setjmp): Likewise.
59407 (__vmx_setjmp): Likewise.
59408 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59409 <bp-sym.h>.
59410 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59411 (__bzero): Don't use BP_SYM.
59412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59414 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59415 <bp-sym.h> and <bp-asm.h>.
59416 (memcpy): Don't use BP_SYM.
59417 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59418 <bp-sym.h> and <bp-asm.h>.
59419 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59421 <bp-sym.h> and <bp-asm.h>.
59422 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59423 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59424 <bp-asm.h>.
59425 (__mpn_lshift): Don't use BP_SYM.
59426 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59427 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59428 <bp-asm.h>.
59429 (memset): Don't use BP_SYM.
59430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59432 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59433 <bp-asm.h>.
59434 (__mpn_mul_1): Don't use BP_SYM.
59435 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59437 <bp-sym.h> and <bp-asm.h>.
59438 (memcmp): Don't use BP_SYM.
59439 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59440 <bp-sym.h> and <bp-asm.h>.
59441 (memcpy): Don't use BP_SYM.
59442 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59443 <bp-sym.h> and <bp-asm.h>.
59444 (memset): Don't use BP_SYM.
59445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59446 <bp-sym.h> and <bp-asm.h>.
59447 (strncmp): Don't use BP_SYM.
59448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59449 <bp-sym.h> and <bp-asm.h>.
59450 (memcpy): Don't use BP_SYM.
59451 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59452 <bp-sym.h> and <bp-asm.h>.
59453 (memset): Don't use BP_SYM.
59454 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59455 <bp-sym.h> and <bp-asm.h>.
59456 (__memchr): Don't use BP_SYM.
59457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59458 <bp-sym.h> and <bp-asm.h>.
59459 (memcmp): Don't use BP_SYM.
59460 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59461 <bp-sym.h> and <bp-asm.h>.
59462 (memcpy): Don't use BP_SYM.
59463 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59464 <bp-sym.h> and <bp-asm.h>.
59465 (__mempcpy): Don't use BP_SYM.
59466 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59467 <bp-sym.h> and <bp-asm.h>.
59468 (__memrchr): Don't use BP_SYM.
59469 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59470 <bp-sym.h> and <bp-asm.h>.
59471 (memset): Don't use BP_SYM.
59472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59473 <bp-sym.h> and <bp-asm.h>.
59474 (__rawmemchr): Don't use BP_SYM.
59475 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59476 <bp-sym.h> and <bp-asm.h>.
59477 (__STRCMP): Don't use BP_SYM.
59478 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59479 <bp-sym.h> and <bp-asm.h>.
59480 (strchr): Don't use BP_SYM.
59481 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59482 <bp-sym.h> and <bp-asm.h>.
59483 (__strchrnul): Don't use BP_SYM.
59484 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59485 <bp-sym.h> and <bp-asm.h>.
59486 (strlen): Don't use BP_SYM.
59487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59488 <bp-sym.h> and <bp-asm.h>.
59489 (strncmp): Don't use BP_SYM.
59490 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59491 <bp-sym.h> and <bp-asm.h>.
59492 (__strnlen): Don't use BP_SYM.
59493 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59494 <bp-asm.h>.
59495 (__mpn_rshift): Don't use BP_SYM.
59496 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59497 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59498 <bp-sym.h> and <bp-asm.h>.
59499 (__sigsetjmp): Don't use BP_SYM.
59500 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59501 (L(start_addresses)): Don't use BP_SYM.
59502 (_start): Likewise.
59503 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59504 <bp-asm.h>.
59505 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59506 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59507 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59508 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59509 <bp-asm.h>.
59510 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59511 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59512 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59513 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59514 <bp-asm.h>.
59515 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59516 comments.
59517 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59518 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59519 <bp-asm.h>.
59520 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59521 FIXME comments.
59522 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59523 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59524 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59525 <bp-asm.h>.
59526 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59527 comment.
59528 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59529 and <bp-asm.h>.
59530 (strncmp): Don't use BP_SYM,
59531 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59532 <bp-asm.h>.
59533 (__mpn_sub_n): Don't use BP_SYM.
59534 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59535 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59536 and <bp-asm.h>.
59537 (__mpn_submul_1): Don't use BP_SYM.
59538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59540 <bp-sym.h> and <bp-asm.h>.
59541 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59543 <bp-sym.h> and <bp-asm.h>.
59544 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59545 comment.
59546
59547 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59548
59549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59550 Use ZK to minimize writes to Z.
59551 (sub_magnitudes): Simplify code a bit.
59552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59553 Use ZK to minimize writes to Z.
59554 (sub_magnitudes): Simplify code a bit.
59555
59556 2013-02-27 Roland McGrath <roland@hack.frob.com>
59557
59558 * csu/gmon-start.c: Add special exception to license text.
59559
59560 2013-02-27 Richard Henderson <rth@redhat.com>
59561
59562 * scripts/config.guess: Update from config.git.
59563 * scripts/config.sub: Likewise.
59564
59565 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59566
59567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59568
59569 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59570
59571 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59572
59573 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59574
59575 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59576
59577 2013-02-26 Roland McGrath <roland@hack.frob.com>
59578
59579 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59580 [$(build-shared = yes].
59581
59582 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59583
59584 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59585 (__mul): Reduce iterations for calculating mantissa.
59586
59587 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59588 MPTWO.
59589 (__mpranred): Likewise.
59590
59591 [BZ #15160]
59592 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59593 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59594
59595 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59596
59597 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59598 Define __attribute__.
59599
59600 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59601
59602 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59603 unused.
59604 * posix/regex_internal.h (__attribute): Remove.
59605 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59606 (re_string_context_at): Likewise.
59607 (bitset_not): Use __attribute__ and mark function as possibly
59608 unused.
59609 (bitset_merge): Likewise.
59610 (bitset_mask): Likewise.
59611 (re_string_char_size_at): Likewise.
59612 (re_string_wchar_at): Likewise.
59613 (re_string_elem_size_at): Likewise.
59614
59615 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59616
59617 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59618 code.
59619 (cc32): Likewise.
59620
59621 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59622 (__acr): Likewise.
59623 (__cpy): Likewise.
59624 (norm): Likewise.
59625 (denorm): Likewise.
59626 (__dbl_mp): Likewise.
59627 (add_magnitudes): Likewise.
59628 (sub_magnitudes): Likewise.
59629 (__mul): Likewise.
59630 (__inv): Likewise.
59631
59632 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59633 style.
59634
59635 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59636 style.
59637
59638 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59639 code.
59640
59641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59642 up changes with default code.
59643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59644 Likewise.
59645
59646 2013-02-24 Allan McRae <allan@archlinux.org>
59647
59648 * manual/socket.texi (The Internet Namespace): Order menu items
59649 to match that in the file.
59650
59651 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59652 node listing of the info page menu.
59653
59654 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59655
59656 [BZ #13550]
59657 * sysdeps/i386/bp-asm.h: Remove file.
59658 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59659 (PARMS): Do not use macros from bp-asm.h.
59660 (S1): Likewise.
59661 (S2): Likewise.
59662 (SIZE): Likewise.
59663 (__mpn_add_n): Do not use BP_SYM
59664 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59665 "bp-asm.h".
59666 (PARMS): Do not use macros from bp-asm.h.
59667 (S1): Likewise.
59668 (SIZE): Likewise.
59669 (__mpn_addmul_1): Do not use BP_SYM
59670 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59671 "bp-asm.h".
59672 (PARMS): Do not use macros from bp-asm.h.
59673 (SIGMSK): Likewise.
59674 (_setjmp): Likewise. Do not use BP_SYM.
59675 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59676 "bp-asm.h".
59677 (PARMS): Do not use macros from bp-asm.h.
59678 (SIGMSK): Likewise.
59679 (setjmp): Likewise. Do not use BP_SYM.
59680 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59681 "bp-asm.h".
59682 (PARMS): Do not use macros from bp-asm.h.
59683 (__frexp): Do not use BP_SYM.
59684 (frexp): Likewise.
59685 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59686 "bp-asm.h".
59687 (PARMS): Do not use macros from bp-asm.h.
59688 (__frexpf): Do not use BP_SYM.
59689 (frexpf): Likewise.
59690 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59691 "bp-asm.h".
59692 (PARMS): Do not use macros from bp-asm.h.
59693 (__frexpl): Do not use BP_SYM.
59694 (frexpl): Likewise.
59695 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59696 "bp-asm.h".
59697 (PARMS): Do not use macros from bp-asm.h.
59698 (__remquo): Do not use BP_SYM.
59699 (remquo): Likewise.
59700 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59701 "bp-asm.h".
59702 (PARMS): Do not use macros from bp-asm.h.
59703 (__remquof): Do not use BP_SYM.
59704 (remquof): Likewise.
59705 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59706 "bp-asm.h".
59707 (PARMS): Do not use macros from bp-asm.h.
59708 (__remquol): Do not use BP_SYM.
59709 (remquol): Likewise.
59710 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59711 "bp-asm.h".
59712 (PARMS): Do not use macros from bp-asm.h.
59713 (DEST): Likewise.
59714 (SRC): Likewise.
59715 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59716 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59717 "bp-asm.h".
59718 (PARMS): Do not use macros from bp-asm.h.
59719 (strlen): Do not use BP_SYM.
59720 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59721 "bp-asm.h".
59722 (PARMS): Do not use macros from bp-asm.h.
59723 (S1): Likewise.
59724 (S2): Likewise.
59725 (SIZE): Likewise.
59726 (__mpn_add_n): Do not use BP_SYM.
59727 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59728 "bp-asm.h".
59729 (PARMS): Do not use macros from bp-asm.h.
59730 (S1): Likewise.
59731 (SIZE): Likewise.
59732 (__mpn_addmul_1): Do not use BP_SYM.
59733 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59734 weak_alias.
59735 (bzero): Likewise.
59736 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59737 "bp-asm.h".
59738 (PARMS): Do not use macros from bp-asm.h.
59739 (S): Likewise.
59740 (SIZE): Likewise.
59741 (__mpn_lshift): Do not use BP_SYM.
59742 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59743 "bp-asm.h".
59744 (PARMS): Do not use macros from bp-asm.h.
59745 (DEST): Likewise.
59746 (SRC): Likewise.
59747 (LEN): Likewise.
59748 (memcpy): Likewise. Do not use BP_SYM.
59749 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59750 libc_hidden_def and weak_alias.
59751 (mempcpy): Do not use BP_SYM in weak_alias.
59752 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59753 "bp-asm.h".
59754 (PARMS): Do not use macros from bp-asm.h.
59755 (DEST): Likewise.
59756 (LEN): Likewise.
59757 [!BZERO_P] (CHR): Likewise.
59758 (memset): Likewise. Do not use BP_SYM.
59759 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59760 "bp-asm.h".
59761 (PARMS): Do not use macros from bp-asm.h.
59762 (S1): Likewise.
59763 (SIZE): Likewise.
59764 (__mpn_mul_1): Do not use BP_SYM.
59765 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59766 "bp-asm.h".
59767 (PARMS): Do not use macros from bp-asm.h.
59768 (S): Likewise.
59769 (SIZE): Likewise.
59770 (__mpn_rshift): Do not use BP_SYM.
59771 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59772 "bp-asm.h".
59773 (PARMS): Do not use macros from bp-asm.h.
59774 (STR): Likewise.
59775 (CHR): Likewise.
59776 (strchr): Likewise. Do not use BP_SYM.
59777 (index): Do not use BP_SYM in weak_alias.
59778 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59779 "bp-asm.h".
59780 (PARMS): Do not use macros from bp-asm.h.
59781 (DEST): Likewise.
59782 (SRC): Likewise.
59783 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59784 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59785 "bp-asm.h".
59786 (PARMS): Do not use macros from bp-asm.h.
59787 (strlen): Do not use BP_SYM.
59788 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59789 "bp-asm.h".
59790 (PARMS): Do not use macros from bp-asm.h.
59791 (S1): Likewise.
59792 (S2): Likewise.
59793 (SIZE): Likewise.
59794 (__mpn_sub_n): Do not use BP_SYM.
59795 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59796 "bp-asm.h".
59797 (PARMS): Do not use macros from bp-asm.h.
59798 (S1): Likewise.
59799 (SIZE): Likewise.
59800 (__mpn_submul_1): Do not use BP_SYM.
59801 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59802 "bp-asm.h".
59803 (PARMS): Do not use macros from bp-asm.h.
59804 (S1): Likewise.
59805 (S2): Likewise.
59806 (SIZE): Likewise.
59807 (__mpn_add_n): Do not use BP_SYM.
59808 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59809 weak_alias.
59810 (bzero): Likewise.
59811 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59812 "bp-asm.h".
59813 (PARMS): Do not use macros from bp-asm.h.
59814 (BLK2): Likewise.
59815 (LEN): Likewise.
59816 (memcmp): Do not use BP_SYM.
59817 (bcmp): Do not use BP_SYM in weak_alias.
59818 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59819 "bp-asm.h".
59820 (PARMS): Do not use macros from bp-asm.h.
59821 (DEST): Likewise.
59822 (SRC): Likewise.
59823 (LEN): Likewise.
59824 (memcpy): Likewise. Do not use BP_SYM.
59825 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59826 "bp-asm.h".
59827 (PARMS): Do not use macros from bp-asm.h.
59828 (DEST): Likewise.
59829 (SRC): Likewise.
59830 (LEN): Likewise.
59831 (memmove): Likewise. Do not use BP_SYM.
59832 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59833 "bp-asm.h".
59834 (PARMS): Do not use macros from bp-asm.h.
59835 (DEST): Likewise.
59836 (SRC): Likewise.
59837 (LEN): Likewise.
59838 (__mempcpy): Likewise. Do not use BP_SYM.
59839 (mempcpy): Do not use BP_SYM in weak_alias.
59840 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59841 "bp-asm.h".
59842 (PARMS): Do not use macros from bp-asm.h.
59843 (DEST): Likewise.
59844 (LEN): Likewise.
59845 [!BZERO_P] (CHR): Likewise.
59846 (memset): Likewise. Do not use BP_SYM.
59847 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59848 "bp-asm.h".
59849 (PARMS): Do not use macros from bp-asm.h.
59850 (STR2): Likewise.
59851 (strcmp): Do not use BP_SYM.
59852 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59853 "bp-asm.h".
59854 (PARMS): Do not use macros from bp-asm.h.
59855 (STR): Likewise.
59856 (DELIM): Likewise.
59857 [USE_AS_STRTOK_R] (SAVE): Likewise.
59858 (FUNCTION): Likewise. Do not use BP_SYM.
59859 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59860 aliases.
59861 (strtok_r): Likewise.
59862 (__GI___strtok_r): Likewise.
59863 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59864 (PARMS): Do not use macros from bp-asm.h.
59865 (S): Likewise.
59866 (SIZE): Likewise.
59867 (__mpn_lshift): Do not use BP_SYM.
59868 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59869 (PARMS): Do not use macros from bp-asm.h.
59870 (STR): Likewise.
59871 (CHR): Likewise.
59872 (__memchr): Do not use BP_SYM.
59873 (memchr): Do not use BP_SYM in weak_alias.
59874 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59875 (PARMS): Do not use macros from bp-asm.h.
59876 (BLK2): Likewise.
59877 (LEN): Likewise.
59878 (memcmp): Do not use BP_SYM.
59879 (bcmp): Do not use BP_SYM in weak_alias.
59880 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59881 (PARMS): Do not use macros from bp-asm.h.
59882 (S1): Likewise.
59883 (SIZE): Likewise.
59884 (__mpn_mul_1): Do not use BP_SYM.
59885 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59886 "bp-asm.h".
59887 (PARMS): Do not use macros from bp-asm.h.
59888 (STR): Likewise.
59889 (CHR): Likewise.
59890 (__rawmemchr): Do not use BP_SYM.
59891 (rawmemchr): Do not use BP_SYM in weak_alias.
59892 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59893 (PARMS): Do not use macros from bp-asm.h.
59894 (S): Likewise.
59895 (SIZE): Likewise.
59896 (__mpn_rshift): Do not use BP_SYM.
59897 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59898 (PARMS): Do not use macros from bp-asm.h.
59899 (SIGMSK): Likewise.
59900 (__sigsetjmp): Likewise. Do not use BP_SYM.
59901 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59902 (_start): Do not use BP_SYM.
59903 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59904 (PARMS): Do not use macros from bp-asm.h.
59905 (DEST): Likewise.
59906 (SRC): Likewise.
59907 (__stpcpy): Likewise. Do not use BP_SYM.
59908 (stpcpy): Do not use BP_SYM in weak_alias.
59909 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59910 "bp-asm.h".
59911 (PARMS): Do not use macros from bp-asm.h.
59912 (DEST): Likewise.
59913 (SRC): Likewise.
59914 (LEN): Likewise.
59915 (__stpncpy): Likewise. Do not use BP_SYM.
59916 (stpncpy): Do not use BP_SYM in weak_alias.
59917 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59918 (PARMS): Do not use macros from bp-asm.h.
59919 (STR): Likewise.
59920 (CHR): Likewise.
59921 (strchr): Likewise. Do not use BP_SYM.
59922 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59923 "bp-asm.h".
59924 (PARMS): Do not use macros from bp-asm.h.
59925 (STR): Likewise.
59926 (CHR): Likewise.
59927 (__strchrnul): Likewise. Do not use BP_SYM.
59928 (strchrnul): Do not use BP_SYM in weak_alias.
59929 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59930 "bp-asm.h".
59931 (PARMS): Do not use macros from bp-asm.h.
59932 (STOP): Likewise.
59933 (strcspn): Do not use BP_SYM.
59934 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59935 "bp-asm.h".
59936 (PARMS): Do not use macros from bp-asm.h.
59937 (STR): Likewise.
59938 (STOP): Likewise.
59939 (strpbrk): Likewise. Do not use BP_SYM.
59940 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59941 "bp-asm.h".
59942 (PARMS): Do not use macros from bp-asm.h.
59943 (STR): Likewise.
59944 (CHR): Likewise.
59945 (strrchr): Likewise. Do not use BP_SYM.
59946 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59947 (PARMS): Do not use macros from bp-asm.h.
59948 (SKIP): Likewise.
59949 (strspn): Do not use BP_SYM.
59950 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59951 (PARMS): Do not use macros from bp-asm.h.
59952 (STR): Likewise.
59953 (DELIM): Likewise.
59954 (SAVE): Likewise.
59955 (FUNCTION): Likewise. Do not use BP_SYM.
59956 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59957 aliases.
59958 (strtok_r): Likewise.
59959 (__GI___strtok_r): Likewise.
59960 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59961 (PARMS): Do not use macros from bp-asm.h.
59962 (S1): Likewise.
59963 (S2): Likewise.
59964 (SIZE): Likewise.
59965 (__mpn_sub_n): Do not use BP_SYM.
59966 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59967 "bp-asm.h".
59968 (PARMS): Do not use macros from bp-asm.h.
59969 (S1): Likewise.
59970 (SIZE): Likewise.
59971 (__mpn_submul_1): Do not use BP_SYM.
59972 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59973 <bp-sym.h>.
59974 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59975 and <bp-asm.h>.
59976 (PARMS): Do not use macros from bp-asm.h.
59977 (FLAGS): Likewise.
59978 (PTID): Likewise.
59979 (TLS): Likewise.
59980 (CTID): Likewise.
59981 (__clone): Do not use BP_SYM.
59982 (clone): Do not use BP_SYM in weak_alias.
59983 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59984 and <bp-asm.h>.
59985 (PARMS): Do not use macros from bp-asm.h.
59986 (LEN): Likewise.
59987 (__mmap64): Do not use BP_SYM.
59988 (mmap64): Do not use BP_SYM in weak_alias.
59989 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59990 <bp-sym.h> and <bp-asm.h>.
59991 (PARMS): Do not use macros from bp-asm.h.
59992 (__posix_fadvise64_l64): Do not use BP_SYM.
59993 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59994 (PARMS): Do not use macros from bp-asm.h.
59995 (NSOPS): Likewise.
59996 (semtimedop): Do not use BP_SYM.
59997 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59998 and <bp-asm.h>.
59999
60000 2013-02-21 Allan McRae <allan@archlinux.org>
60001
60002 * manual/message.texi (Charset conversion in gettext):
60003 Move @end statement to beginning of line.
60004
60005 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60006
60007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60008 static.
60009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60010 Likewise.
60011
60012 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60013 (denorm): Likewise.
60014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60016
60017 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60018
60019 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60020 tail-call to the resolved function if pltexit isn't needed.
60021
60022 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60023
60024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60025 or Y being zero as being unlikely.
60026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60027 Likewise.
60028
60029 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60030
60031 * manual/nss.texi (System Databases and Name Service Switch):
60032 Remove frobnicate @pxref.
60033
60034 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60035
60036 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60037 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60038
60039 2013-02-20 Petr Machata <pmachata@redhat.com>
60040
60041 * elf/elf.h (R_ARM_TARGET1): New macro.
60042 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60043 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60044 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60045 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60046 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60047 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60048 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60049 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60050 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60051 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60052 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60053 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60054 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60055 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60056 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60057 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60058 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60059 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60060 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60061 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60062 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60063 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60064 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60065 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60066 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60067 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60068 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60069 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60070 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60071 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60072 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60073 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60074 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60075 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60076 (R_ARM_THM_GOT_BREL12): Likewise.
60077 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60078 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60079 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60080 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60081 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60082 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60083 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60084 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60085 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60086
60087 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60088
60089 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60090 __attribute_used__ to __attribute__ ((unused)).
60091
60092 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60093
60094 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60095 powerpc mpa.c.
60096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60097 comment formatting.
60098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60099
60100 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60101
60102 [BZ #13550]
60103 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60104 Remove macro.
60105 (ENTER): Remove both macro definitions.
60106 (LEAVE): Likewise.
60107 (CHECK_BOUNDS_LOW): Likewise.
60108 (CHECK_BOUNDS_HIGH): Likewise.
60109 (CHECK_BOUNDS_BOTH): Likewise.
60110 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60111 (RETURN_BOUNDED_POINTER): Likewise.
60112 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60113 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60114 (POP_ERRNO_LOCATION_RETURN): Likewise.
60115 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60116 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60117 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60118 macros.
60119 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60120 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60121 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60122 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60123 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60124 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60125 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60126 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60127 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60128 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60129 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60130 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60131 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60132 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60133 removed macros.
60134 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60135 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60136 macros.
60137 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60138 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60139 * sysdeps/i386/i586/memset.S (memset): Likewise.
60140 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60141 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60142 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60143 macros.
60144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60145 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60146 Change uses of L(2) to L(out).
60147 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60148 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60149 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60150 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60151 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60152 removed macros.
60153 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60154 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60155 macros.
60156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60157 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60158 (RETURN): Do not use macro LEAVE.
60159 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60160 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60161 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60162 * sysdeps/i386/i686/memset.S (memset): Likewise.
60163 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60164 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60165 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60166 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60167 Likewise.
60168 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60169 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60170 L(1_2) and L(1_3) into L(1).
60171 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60172 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60173 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60174 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60175 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60176 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60177 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60178 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60179 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60180 macros.
60181 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60182 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60183 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60184 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60185 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60186 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60187 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60188 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60189 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60190 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60191 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60192 * sysdeps/i386/strspn.S (strspn): Likewise.
60193 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60194 conditional code.
60195 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60196 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60197 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60198 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60199 L(1_3) into L(1_1).
60200 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60201 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60202 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60203 macros.
60204 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60205
60206 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60207
60208 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60209 macro.
60210
60211 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60212
60213 * math/atest-exp.c (exp_mpn): Remove ROUND.
60214 * math/atest-exp2.c (exp_mpn): Likewise.
60215 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60216
60217 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60218 * stdlib/tst-tls-atexit-lib.c: Likewise.
60219 * stdlib/tst-tls-atexit.c: Likewise.
60220
60221 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60222
60223 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60224 and __attribute_alloc_size__.
60225
60226 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60227
60228 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60229 __attribute_alloc_size__.
60230 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60231 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60232
60233 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60234
60235 * include/programs/xmalloc.h: New file.
60236 * catgets/gencat.c: Include it.
60237 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60238 * elf/pldd.c: Likewise.
60239 * iconv/iconv_charmap.c: Likewise.
60240 * iconv/iconvconfig.c: Likewise.
60241 * iconv/strtab.c: Likewise.
60242 * locale/programs/locale.c: Likewise.
60243 * locale/programs/localedef.h: Likewise.
60244 * locale/programs/simple-hash.c: Likewise.
60245 * nscd/nscd.h: Likewise.
60246 * nss/makedb.c: Likewise.
60247 * sysdeps/generic/ldconfig.h: Likewise.
60248
60249 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60250
60251 * Versions.def: Add GLIBC_2.18.
60252 * include/link.h (struct link_map): New member l_tls_dtor_count.
60253 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60254 (__call_tls_dtors): Likewise.
60255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60256 __cxa_thread_atexit_impl.
60257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60258 Likewise.
60259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60260 Likewise.
60261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60262 Likewise.
60263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60264 Likewise.
60265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60267 Likewise.
60268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60269 Likewise.
60270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60272 Likewise.
60273 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60274 (tests): Add test case tst-tls-atexit.
60275 (modules-names): Add shared library for tst-tls-atexit.
60276 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60277 (GLIBC_PRIVATE): Add __call_tls_dtors.
60278 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60279 for libstdc++.
60280 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60281 * stdlib/tst-tls-atexit.c: New test case.
60282 * stdlib/tst-tls-atexit-lib.c: New test case.
60283
60284 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60285
60286 * elf/Versions (ld): Add _dl_find_dso_for_object.
60287 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60288 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60289 (dl_open_worker): Use _dl_find_dso_for_object.
60290 * elf/dl-sym.c (do_sym): Likewise.
60291 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60292
60293 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60294
60295 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60296 Syntactic changes only.
60297 (_dl_runtime_profile): Do a tail-call to the resolved function.
60298
60299 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60300
60301 [BZ #13550]
60302 * sysdeps/x86_64/bp-asm.h: Remove file.
60303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60304 <bp-sym.h> and <bp-asm.h>.
60305 (__clone): Do not use BP_SYM.
60306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60307 <bp-sym.h> and <bp-asm.h>.
60308 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60309 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60310 "bp-asm.h".
60311 (_setjmp): Do not use BP_SYM.
60312 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60313 "bp-asm.h".
60314 (setjmp): Do not use BP_SYM.
60315 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60316 libc_hidden_def.
60317 (mempcpy): Do not use BP_SYM in weak_alias.
60318 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60319 "bp-asm.h".
60320 (strchr): Do not use BP_SYM.
60321 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60322 "bp-asm.h".
60323 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60324 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60325 (_start): Do not use BP_SYM.
60326 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60327 "bp-asm.h".
60328 (strcat): Do not use BP_SYM.
60329 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60330 "bp-asm.h".
60331 (STRCMP): Do not use BP_SYM.
60332 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60333 "bp-asm.h".
60334 (STRCPY): Do not use BP_SYM.
60335 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60336 "bp-asm.h".
60337 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60338 "bp-asm.h".
60339 (FUNCTION): Do not use BP_SYM.
60340 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60341 weak_alias.
60342 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60343
60344 2013-02-17 Andreas Jaeger <aj@suse.de>
60345
60346 * time/Versions: Sort entries.
60347 * string/Versions: Likewise.
60348 * resolv/Versions: Likewise.
60349 * posix/Versions: Likewise.
60350 * iconv/Versions: Likewise.
60351 * elf/Versions: Likewise.
60352 * wcsmbs/Versions: Likewise.
60353
60354 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60355
60356 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60357 loop termination condition.
60358
60359 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60360 variable to calculate EZ.
60361 (__sqr): Likewise.
60362
60363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60364 the lower precision input.
60365
60366 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60367
60368 [BZ #13550]
60369 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60370 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60371 (run-via-rtld-prefix): Do not handle %-bp tests.
60372 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60373 (all-object-suffixes): Remove .ob.
60374 (bppfx): Remove variable.
60375 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60376 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60377 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60378 [$(build-bounded) = yes] (libtype.ob): Likewise.
60379 * Makerules (elide-routines.ob): Remove variable.
60380 (do-tests-clean): Do not handle *-bp.out.
60381 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60382 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60383 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60384 (tests): Do not include $(tests-bp.out).
60385 (xtests): Do not include $(xtests-bp.out).
60386 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60387 [$(build-bounded) = yes] ($(addprefix
60388 $(objpfx),$(binaries-bounded))): Remove rule.
60389 ($(objpfx)%-bp.out): Remove rule.
60390 * config.make.in (build-bounded): Remove variable.
60391 * crypt/Makefile [$(build-bounded) = yes]
60392 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60393 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60394 append to variable.
60395 [$(build-bounded) = yes] (install-lib): Likewise.
60396 [$(build-bounded) = yes] (generated): Likewise.
60397 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60398 Remove rule.
60399 * intl/Makefile [$(build-bounded) = yes]
60400 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60401 * math/Makefile [$(build-bounded) = yes]
60402 ($(tests:%=$(objpfx)%-bp): Likewise.
60403 * misc/Makefile [$(build-bounded) = yes]
60404 ($(objpfx)tst-tsearch-bp): Likewise.
60405 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60406 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60407 Remove dependency.
60408 * string/Makefile (o-objects.ob): Remove variable.
60409 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60410 (CFLAGS-.ob): Remove variable.
60411 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60412 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60413 both definitions of variable.
60414 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60415 (ASFLAGS-.ob): Remove variable.
60416
60417 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60418
60419 [BZ #13550]
60420 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60421 Remove __BOUNDED_POINTERS__ from condition.
60422 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60423 * string/bits/string2.h [!__NO_STRING_INLINES &&
60424 !__BOUNDED_POINTERS__]: Likewise.
60425 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60426 Likewise.
60427 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60428 Remove conditional code.
60429 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60430 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60431 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60432 condition.
60433
60434 [BZ #13550]
60435 * csu/libc-start.c: Do not include <bp-sym.h>.
60436 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60437 * elf/dl-open.c: Do not include <bp-sym.h>.
60438 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60439 * math/fegetenv.c: Do not include <bp-sym.h>.
60440 (fegetenv): Do not use BP_SYM in versioned symbols.
60441 * nptl/sysdeps/pthread/bits/libc-lockP.h
60442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60443 <bp-sym.h>.
60444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60445 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60447 (__pthread_mutex_destroy): Likewise.
60448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60449 (__pthread_mutex_lock): Likewise.
60450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60451 (__pthread_mutex_trylock): Likewise.
60452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60453 (__pthread_mutex_unlock): Likewise.
60454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60455 (__pthread_mutexattr_init): Likewise.
60456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60457 (__pthread_mutexattr_destroy): Likewise.
60458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60459 (__pthread_mutexattr_settype): Likewise.
60460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60461 (__pthread_rwlock_init): Likewise.
60462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60463 (__pthread_rwlock_destroy): Likewise.
60464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60465 (__pthread_rwlock_rdlock): Likewise.
60466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60467 (__pthread_rwlock_tryrdlock): Likewise.
60468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60469 (__pthread_rwlock_wrlock): Likewise.
60470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60471 (__pthread_rwlock_trywrlock): Likewise.
60472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60473 (__pthread_rwlock_unlock): Likewise.
60474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60475 (__pthread_key_create): Likewise.
60476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60477 (__pthread_setspecific): Likewise.
60478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60479 (__pthread_getspecific): Likewise.
60480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60481 Likewise.
60482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60483 (_pthread_cleanup_push_defer): Likewise.
60484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60485 (_pthread_cleanup_pop_restore): Likewise.
60486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60487 (pthread_setcancelstate): Likewise.
60488 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60489 <bp-sym.h>.
60490 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60491 (memchr): Do not use BP_SYM in weak_alias.
60492 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60493 (fegetenv): Do not use BP_SYM in versioned symbols.
60494 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60495 (fesetenv): Do not use BP_SYM in versioned symbols.
60496 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60497 (feupdateenv): Do not use BP_SYM in versioned symbols.
60498 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60499 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60500 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60501 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60502 (open64): Do not use BP_SYM in weak_alias.
60503 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60504 (fegetenv): Do not use BP_SYM in versioned symbols.
60505 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60506 (fesetenv): Do not use BP_SYM in versioned symbols.
60507 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60508 (feupdateenv): Do not use BP_SYM in versioned symbols.
60509 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60510 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60511 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60512 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60513 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60514 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60516 <bp-sym.h>.
60517 (__libc_start_main): Do not use BP_SYM.
60518
60519 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60520
60521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60522 redundant return line.
60523 (norm): Likewise.
60524 (denorm): Likewise.
60525 (dbl_mp): Likewise.
60526 (sub_magnitudes): Likewise.
60527 (__add): Likewise.
60528 (__sub): Likewise.
60529 (__mul): Likewise.
60530 (__inv): Likewise.
60531 (__dvd): Likewise.
60532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60533 (norm): Likewise.
60534 (denorm): Likewise.
60535 (dbl_mp): Likewise.
60536 (sub_magnitudes): Likewise.
60537 (__add): Likewise.
60538 (__sub): Likewise.
60539 (__mul): Likewise.
60540 (__inv): Likewise.
60541 (__dvd): Likewise.
60542
60543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60544 instead of __mul.
60545 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60546 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60547 (cc32): Likewise.
60548
60549 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60550 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60552 of __mul for squares.
60553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60554 function
60555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60556 Likewise.
60557 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60558 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60559
60560 2013-02-13 Joseph Myers <joseph@codesourcery.com>
60561
60562 [BZ #13550]
60563 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60564 code.
60565 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60566 prototype or function definition. Rename ubp_* variables and
60567 parameters. Remove argv definitions conditional on
60568 [__BOUNDED_POINTERS__].
60569 * debug/backtrace.c (__backtrace): Do not use __unbounded.
60570 * elf/dl-runtime.c (_dl_fixup): Likewise.
60571 * include/set-hooks.h (RUN_HOOK): Likewise.
60572 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60573 definition.
60574 * string/strcpy.c (strcpy): Do not use __unbounded.
60575 * sysdeps/generic/frame.h (struct layout): Likewise.
60576 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60577 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60578 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60579 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60580 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60581 (__backtrace): Likewise.
60582 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60583 use __ptrvalue.
60584 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60585 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60586 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60587 Likewise.
60588 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60589 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60591 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60592 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60593 Do not use __unbounded.
60594 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60595 Rename __unboundedrlimits parameter to rlimits in prototype.
60596 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60597 Do not use __unbounded.
60598 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60599 not use __ptrvalue.
60600 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60601 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60602 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60603 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60604 __ptrvalue or __unbounded.
60605 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60606 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60607 use __unbounded.
60608 (__new_msgctl): Do not use __ptrvalue.
60609 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60610 __unbounded.
60611 (__libc_msgrcv): Do not use __ptrvalue.
60612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60613 startup_info): Do not use __unbounded.
60614 (__libc_start_main): Likewise. Rename ubp_* variables and
60615 parameters. Remove argv definitions conditional on
60616 [__BOUNDED_POINTERS__].
60617 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60618 __ptrvalue.
60619 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60620 use __unbounded.
60621 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60622 or __ptrvalue.
60623 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60624 use __unbounded.
60625 (__new_shmctl): Do not use __ptrvalue.
60626 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60627 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60628 Likewise.
60629 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60630 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60631 (__libc_sigaction): Likewise.
60632 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60633 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60634 Likewise.
60635 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60636
60637 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60638
60639 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60640
60641 * string/mempcpy.c: Implement by calling memcpy.
60642
60643 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60644
60645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60646
60647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60648 evaluation.
60649
60650 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60651 values in the mantissa.
60652
60653 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60654 minimize writes to Z.
60655 (sub_magnitudes): Simplify code a bit.
60656
60657 2013-02-12 Roland McGrath <roland@hack.frob.com>
60658
60659 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60660 from the message. The linker prefixes all warnings with that already.
60661
60662 2013-02-12 Andreas Schwab <schwab@suse.de>
60663
60664 [BZ #15078]
60665 * posix/regexec.c (extend_buffers): Add parameter min_len.
60666 (check_matching): Pass minimum needed length.
60667 (clean_state_log_if_needed): Likewise.
60668 (get_subexp): Likewise.
60669 * posix/Makefile (tests): Add bug-regex34.
60670 (bug-regex34-ENV): Define.
60671 * posix/bug-regex34.c: New file.
60672
60673 [BZ #11561]
60674 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60675 elements compare against the byte sequence of it, not its name.
60676 * posix/Makefile (tests): Add bug-regex35.
60677 (bug-regex35-ENV): Define.
60678 * posix/bug-regex35.c: New file.
60679
60680 2013-02-11 Tom de Vries <tom@codesourcery.com>
60681
60682 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60683 comment.
60684 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60685 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60686 (CHECK_EOL): Add undef.
60687
60688 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60689
60690 * bits/stdlib-bsearch.h: New file.
60691 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60692 * stdlib/stdlib.h: Likewise.
60693
60694 2013-02-11 Roland McGrath <roland@hack.frob.com>
60695
60696 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60697 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60698 declaration.
60699 * manual/search.texi (Array Search Function): Add missing const in
60700 lfind prototype.
60701 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60702 declaration to use rlim_t.
60703 (Basic Scheduling Functions): Remove erroneous const from
60704 sched_getparam prototype. Remove erroneous * from
60705 sched_get_priority_max and sched_get_priority_min prototypes.
60706 (Resource Usage): Fix summary @comment on vtimes to refer to
60707 sys/vtimes.h rather than vtimes.h.
60708 Add missing *s in vtimes prototype.
60709 (Limits on Resources): Fix ulimit prototype to return long int.
60710 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60711 prototypes to use long int rather than double.
60712 (BSD Random): Fix initstate and setstate to use char *, not void *.
60713 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60714 prototype to make second argument 'struct aiocb64 *const[]'.
60715 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60716 (Status of AIO Operations): Remove erroneous const in aio_return and
60717 aio_return64 prototypes.
60718 (Synchronizing I/O): Fix sync prototype to return void.
60719 * manual/startup.texi (Suboptions): Remove an erroneous const in
60720 getsubopt prototype.
60721 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60722 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60723 use size_t rather than int.
60724 (Scanning All Users): Likewise for getpwent_r.
60725 (Setting Groups): Add missing const to setgroups prototype.
60726 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60727 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60728 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60729 'const void *' rather than 'const char *'.
60730 (Host Address Functions): Likewise for inet_ntop.
60731 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60732 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60733 ssize_t for return value.
60734 (Sending Data): Likewise for send, sendto, sendmsg.
60735 (Socket Option Functions): Add a missing const in setsockopt prototype.
60736 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60737 use wchar_t for the argument.
60738 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60739 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60740 take no arguments.
60741 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60742 double/float/long double for second argument.
60743 Fix return types of significand, significandf, significandl.
60744 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60745 argument in fchmod prototype.
60746 (File Owner): Use uid_t and gid_t in fchown prototype.
60747 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60748 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60749 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60750 use 'const struct dirent **' as argument types to CMP function pointer
60751 argument.
60752 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60753 (File Times): Fix summary magic @comment for struct utimbuf and utime
60754 to refer to utime.h, not time.h.
60755 * manual/string.texi (Argz Functions): Add missing const in
60756 argz_extract and argz_next prototypes.
60757 (Finding Tokens in a String): Likewise for basename.
60758 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60759 (Copying and Concatenation): Fix typo in wmemmove prototype.
60760 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60761 (Signal Stack): Remove erroneous const in sigstack prototype.
60762 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60763 prototype.
60764 (Simple Calendar Time): Likewise for stime.
60765 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60766 prototype.
60767 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60768 say sys/sysctl.h instead.
60769 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60770 and vsyslog prototypes.
60771
60772 2013-02-11 Tom de Vries <tom@codesourcery.com>
60773
60774 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60775 Remove.
60776
60777 2013-02-11 Roland McGrath <roland@hack.frob.com>
60778
60779 * misc/sys/mman.h: Fix typo in mremap comment.
60780
60781 2013-02-08 Roland McGrath <roland@hack.frob.com>
60782
60783 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60784 the '\0' terminator.
60785
60786 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60787
60788 [BZ #13550]
60789 * debug/segfault.c: Don't include <bp-checks.h>.
60790 * sysdeps/generic/bp-checks.h: Remove file.
60791 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60792 (__GETDENTS): Don't use CHECK_N.
60793 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60794 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60795 (__getgroups): Don't use CHECK_N.
60796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60797 (setgroups): Don't use CHECK_N.
60798 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60799 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60800 (__libc_msgrcv): Don't use CHECK_N.
60801 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60802 (__libc_msgsnd): Don't use CHECK_N.
60803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60804 <bp-checks.h>.
60805 (__libc_pread): Don't use CHECK_N.
60806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60807 include <bp-checks.h>.
60808 (__libc_pread64): Don't use CHECK_N.
60809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60810 include <bp-checks.h>.
60811 (__libc_pwrite): Don't use CHECK_N.
60812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60813 include <bp-checks.h>.
60814 (__libc_pwrite64): Don't use CHECK_N.
60815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60816 <bp-checks.h>.
60817 (__libc_pread): Don't use CHECK_N.
60818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60819 include <bp-checks.h>.
60820 (__libc_pread64): Don't use CHECK_N.
60821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60822 include <bp-checks.h>.
60823 (__libc_pwrite): Don't use CHECK_N.
60824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60825 include <bp-checks.h>.
60826 (__libc_pwrite64): Don't use CHECK_N.
60827 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60828 (do_pread): Don't use CHECK_N.
60829 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60830 (do_pread64): Don't use CHECK_N.
60831 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60832 (do_pwrite): Don't use CHECK_N.
60833 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60834 (do_pwrite64): Don't use CHECK_N.
60835 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60836 (__libc_readv): Don't use CHECK_N.
60837 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60838 (semop): Don't use CHECK_N.
60839 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60840 <bp-checks.h>.
60841 (semtimedop): Don't use CHECK_N.
60842 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60843 (__libc_pread): Don't use CHECK_N.
60844 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60845 <bp-checks.h>.
60846 (__libc_pread64): Don't use CHECK_N.
60847 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60848 <bp-checks.h>.
60849 (__libc_pwrite): Don't use CHECK_N.
60850 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60851 <bp-checks.h>.
60852 (__libc_pwrite64): Don't use CHECK_N.
60853 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60854 <bp-checks.h>.
60855 (__libc_msgrcv): Don't use CHECK_N.
60856 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60857 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60858 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60859 (__libc_writev): Don't use CHECK_N.
60860
60861 2013-02-08 Roland McGrath <roland@hack.frob.com>
60862
60863 * string/strcpy.c: Removed unused variable.
60864
60865 * Makeconfig (+sysdep-includes): Define with := rather than =.
60866 Use an existing include/ subdir of each sysdeps dir before it.
60867
60868 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60869
60870 * nscd/connection.c (register_traced_file): Comment function.
60871 [HAVE_INOTIFY] (union __inev): Define.
60872 [HAVE_INOTIFY] (inotify_check_files): New function.
60873 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60874 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60875 clear_db_cache.
60876 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60877
60878 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60879
60880 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60881 loaded if not already and that a failure is permanent.
60882
60883 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60884
60885 [BZ #15006]
60886 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60887 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60888
60889 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60890
60891 [BZ #13550]
60892 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60893 (CHECK_1_NULL_OK): Likewise.
60894 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60895 (__fxstat): Do not use CHECK_1.
60896 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60897 <bp-checks.h>.
60898 (___fxstat64): Do not use CHECK_1.
60899 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60900 <bp-checks.h>.
60901 (__fxstatat): Do not use CHECK_1.
60902 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60903 <bp-checks.h>.
60904 (__fxstatat64): Do not use CHECK_1.
60905 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60906 <bp-checks.h>.
60907 (__fxstat): Do not use CHECK_1.
60908 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60909 <bp-checks.h>.
60910 (__fxstatat): Do not use CHECK_1.
60911 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60912 <bp-checks.h>.
60913 (__getresgid): Do not use CHECK_1.
60914 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60915 <bp-checks.h>.
60916 (__getresuid): Do not use CHECK_1.
60917 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60918 <bp-checks.h>.
60919 (__lxstat): Do not use CHECK_1.
60920 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60921 <bp-checks.h>.
60922 (__old_msgctl): Do not use CHECK_1.
60923 (__new_msgctl): Likewise.
60924 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60925 <bp-checks.h>.
60926 (__new_setrlimit): Do not use CHECK_1.
60927 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60928 <bp-checks.h>.
60929 (__old_shmctl): Do not use CHECK_1.
60930 (__new_shmctl): Likewise.
60931 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60932 <bp-checks.h>.
60933 (__xstat): Do not use CHECK_1.
60934 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60935 (__lxstat): Do not use CHECK_1.
60936 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60937 <bp-checks.h>.
60938 (___lxstat64): Do not use CHECK_1.
60939 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60940 (__old_msgctl): Do not use CHECK_1.
60941 (__new_msgctl): Likewise.
60942 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60943 <bp-checks.h>.
60944 (__gettimeofday): Do not use CHECK_1.
60945 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60946 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60947 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60948 <bp-checks.h>.
60949 (__gettimeofday): Do not use CHECK_1.
60950 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60951 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60952 (__new_shmctl): Do not use CHECK_1.
60953 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60954 <bp-checks.h>.
60955 (do_sigtimedwait): Do not use CHECK_1.
60956 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60957 <bp-checks.h>.
60958 (do_sigwaitinfo): Do not use CHECK_1.
60959 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60960 <bp-checks.h>.
60961 (msgctl): Do not use CHECK_1.
60962 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60963 <bp-checks.h>.
60964 (shmctl): Do not use CHECK_1.
60965 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60966 (ustat): Do not use CHECK_1.
60967 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60968 <bp-checks.h>.
60969 (__fxstat): Do not use CHECK_1.
60970 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60971 <bp-checks.h>.
60972 (__fxstatat): Do not use CHECK_1.
60973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60974 <bp-checks.h>.
60975 (__lxstat): Do not use CHECK_1.
60976 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60977 <bp-checks.h>.
60978 (__xstat): Do not use CHECK_1.
60979 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60980 (__xstat): Do not use CHECK_1.
60981 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60982 (___xstat64): Do not use CHECK_1.
60983
60984 [BZ #13550]
60985 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60986 definitions.
60987 (CHECK_BOUNDS_HIGH): Likewise.
60988 * string/strcpy.c: Do not include <bp-checks.h>.
60989 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60990
60991 2013-02-07 Roland McGrath <roland@hack.frob.com>
60992
60993 * nscd/nscd-client.h (__nscd_drop_map_ref):
60994 Add __attribute__ ((unused)).
60995 * nis/nss-nisplus.h (niserr2nss): Likewise.
60996
60997 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60998 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60999
61000 * csu/libc-tls.c (init_static_tls, init_slotinfo):
61001 Remove inline keyword.
61002 * include/rounding-mode.h (round_away): Likewise.
61003 * libio/wfileops.c (adjust_wide_data): Likewise.
61004 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61005 (__m128i_strloadu_tolower): Likewise.
61006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61007 (__m128i_strloadu_tolower): Likewise.
61008 * time/mktime.c (ydhms_diff): Likewise.
61009 * locale/elem-hash.h (elem_hash): Likewise.
61010 * locale/setlocale.c (setdata): Likewise.
61011 * posix/regex_internal.h (re_string_char_size_at): Likewise.
61012 (re_string_wchar_at): Likewise.
61013 (bitset_not, bitset_merge, bitset_mask): Likewise.
61014 [!(__GNUC__ > 3)] (inline): Remove macro.
61015 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61016 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61017 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61018 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61019 * string/memcmp.c (memcmp_bytes): Likewise.
61020 * locale/programs/locarchive.c (compute_hashval): Likewise.
61021 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61022 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61023 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61024 * nss/getent.c (print_rpc, print_protocols): Likewise.
61025 (print_passwd, print_group, print_aliases): Likewise.
61026 * nis/nss-nisplus.h (niserr2nss): Likewise.
61027 * nscd/connections.c (restart_p): Likewise.
61028 Change return type to bool.
61029
61030 2013-02-05 Roland McGrath <roland@hack.frob.com>
61031
61032 * Makeconfig (all-Depend-files): Add existing
61033 $(sorted-subdirs:=/Depend) files.
61034 (all-subdirs): Remove nss.
61035 * sysdeps/unix/inet/Subdirs: Add it here instead.
61036 * hesiod/Depend: New file.
61037
61038 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61039 instead of calling alloca.
61040
61041 * io/lseek.c (__lseek): Rename to __libc_lseek.
61042 Define __lseek as an alias.
61043
61044 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61045
61046 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61047
61048 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61049 else clause and remove check for non-standard endianness.
61050
61051 2013-02-04 David S. Miller <davem@davemloft.net>
61052
61053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61054
61055 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61056
61057 [BZ #13550]
61058 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61059 (__ubp_memchr): Remove prototype.
61060 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61061 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61062 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61063 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61064 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61065 Remove alias.
61066 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61067 (__ubp_memchr): Likewise.
61068 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61069 (__ubp_memchr): Likewise.
61070 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61071 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61072 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61073 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61074 CHECK_STRING.
61075 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61076 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61077 (__getcwd): Do not use CHECK_STRING.
61078 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61079 <bp-checks.h>.
61080 (__real_chown): Do not use CHECK_STRING.
61081 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61082 <bp-checks.h>.
61083 (fchownat): Do not use CHECK_STRING.
61084 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61085 CHECK_STRING.
61086 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61087 <bp-checks.h>.
61088 (__lchown): Do not use CHECK_STRING.
61089 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61090 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61092 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61094 include <bp-checks.h>.
61095 (truncate64): Do not use CHECK_STRING.
61096 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61097 <bp-checks.h>.
61098 (__real_chown): Do not use CHECK_STRING.
61099 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61100 <bp-checks.h>.
61101 (__lchown): Do not use CHECK_STRING.
61102 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61103 <bp-checks.h>.
61104 (__chown): Do not use CHECK_STRING.
61105 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61106 <bp-checks.h>.
61107 (truncate64): Do not use CHECK_STRING.
61108 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61109 Likewise.
61110 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61111 (__xmknod): Do not use CHECK_STRING.
61112 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61113 <bp-checks.h>.
61114 (__xmknodat): Do not use CHECK_STRING.
61115 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61116 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61117
61118 2013-02-04 Andreas Schwab <schwab@suse.de>
61119
61120 [BZ #14142]
61121 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61122 * include/netdb.h: Likewise for h_errno.
61123 * elf/tst-stackguard1.c: Include <tls.h>.
61124
61125 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61126
61127 * elf/link.h (struct link_map): Extend the l_addr comment.
61128 * include/link.h (struct link_map): Likewise.
61129
61130 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61131
61132 [BZ #13550]
61133 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61134 (BOUNDED_1): Remove macro.
61135 * debug/backtrace.c: Don't include <bp-checks.h>.
61136 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61137 (__backtrace): Likewise.
61138 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61139 <bp-checks.h>.
61140 (__backtrace): Don't use BOUNDED_1.
61141 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61142 <bp-checks.h>.
61143 (__backtrace): Don't use BOUNDED_1.
61144 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61145 (__backtrace): Don't use BOUNDED_1.
61146 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61147 (shmat): Don't use BOUNDED_N.
61148
61149 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61150
61151 [BZ #13550]
61152 * sysdeps/generic/bp-start.h: Remove file.
61153 * csu/libc-start.c: Don't include <bp-start.h>.
61154 (LIBC_START_MAIN): Set up __environ directly instead of using
61155 INIT_ARGV_and_ENVIRON.
61156 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61157 <bp-start.h>.
61158
61159 [BZ #13550]
61160 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61161 definitions.
61162 (CHECK_FCNTL): Likewise.
61163 (CHECK_N_PAGES): Likewise.
61164
61165 [BZ #13550]
61166 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61167 definitions.
61168 (CHECK_SIGSET_NULL_OK): Likewise.
61169 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61170 <bp-checks.h>.
61171 (sigpending): Don't use CHECK_SIGSET.
61172 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61173 <bp-checks.h>.
61174 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61175 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61176 <bp-checks.h>.
61177 (do_sigsuspend): Don't use CHECK_SIGSET.
61178 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61179 use CHECK_SIGSET.
61180 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61181 (do_sigwait): Don't use CHECK_SIGSET.
61182 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61183 use CHECK_SIGSET.
61184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61185 include <bp-checks.h>.
61186 (sigpending): Don't use CHECK_SIGSET.
61187 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61188 include <bp-checks.h>.
61189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61190 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61191 <bp-checks.h>.
61192 (sigpending): Don't use CHECK_SIGSET.
61193 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61194 <bp-checks.h>.
61195 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61196
61197 [BZ #13550]
61198 * sysdeps/generic/bp-semctl.h: Remove file.
61199 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61200 <bp-checks.h> and <bp-semctl.h>.
61201 (__old_semctl): Don't use CHECK_SEMCTL.
61202 (__new_semctl): Likewise.
61203 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61204 and <bp-semctl.h>.
61205 (__old_semctl): Don't use CHECK_SEMCTL.
61206 (__new_semctl): Likewise.
61207 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61208 <bp-checks.h> and <bp-semctl.h>.
61209 (__old_semctl): Don't use CHECK_SEMCTL.
61210 (__new_semctl): Likewise.
61211 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61212 <bp-checks.h> and <bp-semctl.h>.
61213 (semctl): Don't use CHECK_SEMCTL.
61214
61215 [BZ #13550]
61216 * Makerules (elide-bp-thunks): Remove variable.
61217 (elide-routines.oS): Don't use $(elide-bp-thunks).
61218 (elide-routines.os): Likewise.
61219 (elide-routines.o): Likewise.
61220 (elide-routines.op): Likewise.
61221 (elide-routines.og): Likewise.
61222 (objects): Don't use $(bp-thunks).
61223 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61224 include.
61225 (common-generated): Do not add s-proto-bp.d.
61226 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61227 (int): Likewise.
61228 (typ): Likewise.
61229 Do not generate makefile rules for bounded-pointer thunks.
61230 * sysdeps/generic/bp-thunks.h: Remove file.
61231 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61232 * sysdeps/unix/s-proto-bp.S: Likewise.
61233
61234 [BZ #15062]
61235 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61236 parts of result separately when argument is not close to line from
61237 -i to i and one part of argument is small.
61238 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61239 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61240 * math/libm-test.inc (cacos_test): Add more tests.
61241 (casin_test): Likewise.
61242 (casinh_test): Likewise.
61243 * sysdeps/i386/fpu/libm-test-ulps: Update.
61244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61245
61246 2013-01-31 David S. Miller <davem@davemloft.net>
61247
61248 * po/de.po: Update from translation team.
61249
61250 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61251
61252 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61253
61254 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61255
61256 * configure.in (_AC_PROG_CC_C89): New definition.
61257 * configure: Regenerate.
61258
61259 * configure.in (AC_PROG_CPP): New definition.
61260 * configure: Regenerate.
61261
61262 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61263
61264 * debug/tst-backtrace.h: New file.
61265 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61266 (ret): Remove variable.
61267 (x): Likewise.
61268 (FAIL): Remove macro.
61269 (NO_INLINE): Likewise.
61270 (fn1): Use match function instead of strstr.
61271 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61272 (ret): Remove variable.
61273 (x): Likewise.
61274 (FAIL): Remove macro.
61275 (NO_INLINE): Likewise.
61276 (fn): Use match function instead of strstr.
61277 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61278 (ret): Remove variable.
61279 (x): Likewise.
61280 (FAIL): Remove macro.
61281 (NO_INLINE): Likewise.
61282 (handle_signal): Use match function instead of strstr.
61283 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61284 (ret): Remove variable.
61285 (x): Likewise.
61286 (FAIL): Remove macro.
61287 (NO_INLINE): Likewise.
61288 (handle_signal): Use match function instead of strstr.
61289
61290 2013-01-23 Roland McGrath <roland@hack.frob.com>
61291
61292 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61293
61294 2013-01-23 David S. Miller <davem@davemloft.net>
61295
61296 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61297 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61298 argument of CAS if possible.
61299 * sysdeps/sparc/sparc64/bits/atomic.h
61300 (__arch_compare_and_exchange_val_32_acq): Likewise.
61301 (__arch_compare_and_exchange_val_64_acq): Likewise.
61302
61303 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61304
61305 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61306 * sysdeps/posix/ulimit.c: ... this.
61307 Include <limits.h>.
61308 * sysdeps/unix/bsd/ulimit.c: Remove file.
61309
61310 2013-01-23 Adam Conrad <adconrad@0c3.net>
61311
61312 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61313 (LDFLAGS-tst-array5): Likewise.
61314
61315 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61316
61317 [BZ #15036]
61318 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61319 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61320 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61321 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61322
61323 2013-01-21 David S. Miller <davem@davemloft.net>
61324
61325 * sysdeps/sparc/backtrace.c: New file.
61326 * sysdeps/sparc/sparc32/backtrace.h: New file.
61327 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61328 * sysdeps/sparc/sparc64/backtrace.h: New file.
61329 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61330 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61331 -funwind-tables.
61332
61333 2013-01-21 Andreas Schwab <schwab@suse.de>
61334
61335 [BZ #15020]
61336 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61337 closed its stdout.
61338
61339 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61340
61341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61342 "mpa2.h".
61343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61344
61345 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61346 Mark Mitchell <mark@codesourcery.com>
61347 Tom de Vries <tom@codesourcery.com>
61348 Paul Pluzhnikov <ppluzhnikov@google.com>
61349
61350 * debug/tst-backtrace2.c: New file.
61351 * debug/tst-backtrace3.c: Likewise.
61352 * debug/tst-backtrace4.c: Likewise.
61353 * debug/tst-backtrace5.c: Likewise.
61354 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61355 (CFLAGS-tst-backtrace3.c): Likewise.
61356 (CFLAGS-tst-backtrace4.c): Likewise.
61357 (CFLAGS-tst-backtrace5.c): Likewise.
61358 (LDFLAGS-tst-backtrace2): Likewise.
61359 (LDFLAGS-tst-backtrace3): Likewise.
61360 (LDFLAGS-tst-backtrace4): Likewise.
61361 (LDFLAGS-tst-backtrace5): Likewise.
61362 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61363 tst-backtrace4 and tst-backtrace5.
61364
61365 2013-01-18 Anton Blanchard <anton@samba.org>
61366 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61367
61368 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61369 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61371 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61373 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61374 "+r" and remove output regs list as redundant. Add explicit inline
61375 asm to specify register of return val to work around compiler codegen
61376 bug. Remove (int) cast on return value. Add return type parameter to
61377 use in macro so that this macro does not truncate return value for
61378 64-bit values.
61379 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61380 pass to INTERNAL_VSYSCALL_NCS.
61381 (INLINE_VSYSCALL): Add 'long int' as return type to
61382 INTERNAL_VSYSCALL_NCS macro invocation.
61383 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61384 INTERNAL_VSYSCALL_NCS macro invocation.
61385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61386
61387 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61388
61389 [BZ #14496]
61390 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61391 Fix application of SIMD FP exception mask.
61392
61393 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61394 mp_no from a power of two.
61395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61396 __mpexp_twomm1. Use __pow_mp.
61397
61398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61399 multiplication.
61400
61401 2013-01-17 David S. Miller <davem@davemloft.net>
61402
61403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61404
61405 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61406
61407 [BZ #15023]
61408 * include/complex.h: Condition contents on [!_COMPLEX_H].
61409 (__kernel_casinhf): New prototype.
61410 (__kernel_casinh): Likewise.
61411 (__kernel_casinhl): Likewise.
61412 * math/Makefile (libm_calls): Add k_casinh.
61413 * math/k_casinh.c: New file.
61414 * math/k_casinhf.c: Likewise.
61415 * math/k_casinhl.c: Likewise.
61416 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61417 finite nonzero arguments.
61418 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61419 finite nonzero arguments.
61420 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61421 finite nonzero arguments.
61422 * math/s_casinh.c: Do not include <float.h>.
61423 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61424 * math/s_casinhf.c: Do not include <float.h>.
61425 (__casinhf): Move code for finite nonzero arguments to
61426 k_casinhf.c.
61427 * math/s_casinhl.c: Do not include <float.h>.
61428 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61429 redefine.
61430 (__casinhl): Move code for finite nonzero arguments to
61431 k_casinhl.c.
61432 * math/libm-test.inc (cacos_test): Add more tests.
61433 * sysdeps/i386/fpu/libm-test-ulps: Update.
61434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61435
61436 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61437
61438 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61439 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61440 [!HAVE_MREMAP]: Remove [defined linux] case.
61441 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61442
61443 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61444
61445 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61446
61447 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61448
61449 * elf/elf.h (R_386_SIZE32): New relocation.
61450 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61451 R_386_SIZE32.
61452 (elf_machine_rela): Likewise.
61453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61454 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61455
61456 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61457
61458 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61459 (FP_FAST_FMA): Do not define.
61460 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61461 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61462 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61463 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61464 !_SOFT_FLOAT]: Likewise.
61465 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61466 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61467 value.
61468 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61469 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61470 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61471 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61472 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61473 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61474 file.
61475
61476 2013-01-16 Andreas Schwab <schwab@suse.de>
61477
61478 [BZ #14327]
61479 * include/stdlib.h (__mktemp): Add declaration.
61480 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61481 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61482
61483 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61484
61485 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61486 definitions.
61487 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61488 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61489 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61490 definitions here.
61491 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61492 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61493 definitions.
61494 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61495 and ONE.
61496 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61497 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61499 definitions.
61500 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61501 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61502 definitions.
61503 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61504
61505 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61506
61507 2013-01-15 David S. Miller <davem@davemloft.net>
61508
61509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61510 trunc{,f} to libm-sysdep_routes.
61511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61513 file.
61514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61516 file.
61517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61518 file.
61519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61521 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61522 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61523 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61524 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61525 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61526 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61527
61528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61529 nearbyint{,f} to libm-sysdep_routes.
61530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61532 New file.
61533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61534 file.
61535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61536 New file.
61537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61538 file.
61539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61541 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61542 file.
61543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61544 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61545 file.
61546 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61547 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61548 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61549
61550 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61551 libc_feholdexcept and libc_fesetenv.
61552
61553 2013-01-15 Mike Frysinger <vapier@gentoo.org>
61554
61555 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61556
61557 2013-01-14 David S. Miller <davem@davemloft.net>
61558
61559 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61560 (SPARC_ASM_VIS2_IFUNC): Likewise.
61561 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61563 use of 'siam' instruction.
61564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61565 Likewise.
61566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61567 Likewise.
61568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61569 Likewise.
61570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61575 file.
61576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61577 file.
61578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61579 file.
61580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61581 file.
61582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61587 new VIS2 routines.
61588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61591 Likewise.
61592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61597 routines to libm-sysdep_routines.
61598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61599
61600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61601 fdim/fdimf to libm-sysdep_routines.
61602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61603 file.
61604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61606 file.
61607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61610 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61611 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61612 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61613 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61614
61615 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61616
61617 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61618 to optimize copies.
61619
61620 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61623
61624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61625 local variable MPTWO.
61626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61627 Likewise.
61628
61629 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61630
61631 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61632 GLOB_NOESCAPE.
61633
61634 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61635
61636 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61637
61638 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61639
61640 * manual/pattern.texi (glob_t): Document gl_flags.
61641 (glob64_t): Likewise.
61642
61643 2013-01-11 David S. Miller <davem@davemloft.net>
61644
61645 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61646 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61647 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61648 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61649 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61650 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61651 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61652 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61653 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61654 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61655 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61656 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61657 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61658
61659 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61660 sparc V9 rather than using V8 code.
61661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61663
61664 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61665 Move to...
61666 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61667 Here.
61668
61669 2013-01-11 Roland McGrath <roland@hack.frob.com>
61670
61671 [BZ #14941]
61672 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61673 not in the main loop.
61674 * configure: Regenerated.
61675
61676 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61677
61678 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61679 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61680 to just #else.
61681 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61682 [!__GLIBC_HAVE_LONG_LONG] case.
61683 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61684 condition to just #else.
61685 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61686 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61687 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61688 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61689 unconditional.
61690 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61691 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61692 #elif condition to just #else.
61693 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61694 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61695 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61696 #elif condition to just #else.
61697
61698 2013-01-11 Steve Ellcey <sellcey@mips.com>
61699
61700 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61701 (EF_MIPS_ARCH_64): Fix value.
61702 (EF_MIPS_ARCH_32R2): New.
61703 (EF_MIPS_ARCH_64R2): New.
61704
61705 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61706
61707 * Makeconfig (+link-pie-before-libc): New.
61708 (+link-pie-after-libc): Likewise.
61709 (+link-pie-tests): Likewise.
61710 (+link-pie): Rewritten.
61711 (link-before-libc): Remove $(config-LDFLAGS).
61712 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61713 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61714 (config-LDFLAGS): Renamed to ...
61715 (rtld-LDFLAGS): This.
61716 (rtld-tests-LDFLAGS): New macro.
61717 (link-libc-rpath-link): Likewise.
61718 (link-libc-tests-rpath-link): Likewise.
61719 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61720 (link-libc): Prepand $(link-libc-rpath-link).
61721 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61722 (test-program-prefix): New macro.
61723 (test-via-rtld-prefix): Likewise.
61724 (test-program-cmd): Likewise.
61725 (host-test-program-cmd): Likewise.
61726 * Makefile ($(common-objpfx)testrun.sh): Replace
61727 $(run-program-prefix) with $(test-program-prefix).
61728 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61729 $(rtld-LDFLAGS).
61730 ($(common-objpfx)shlib.lds): Likewise.
61731 (build-module-helper): Likewise.
61732 ($(common-objpfx)format.lds): Likewise.
61733 * Rules (binaries-pie-tests): New.
61734 (binaries-pie-notests): Likewise.
61735 (binaries-pie): Rewritten.
61736 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61737 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61738 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61739 (make-test-out): Replace $(host-built-program-cmd) with
61740 $(host-test-program-cmd).
61741 * config.make.in (build-hardcoded-path-in-tests): New variable.
61742 * configure.in (--enable-hardcoded-path-in-tests): New configure
61743 option.
61744 (hardcoded_path_in_tests): New AC_SUBST.
61745 * configure: Regenerated.
61746 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61747 $(built-program-cmd) with $(test-program-cmd).
61748 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61749 (test_program_cmd): This.
61750 * elf/Makefile ($(objpfx)order.out): Run test with
61751 $(test-program-prefix).
61752 ($(objpfx)order2.out): Likewise.
61753 ($(objpfx)tst-initorder.out): Likewise.
61754 ($(objpfx)tst-initorder2.out): Likewise.
61755 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61756 $(test-program-cmd).
61757 ($(objpfx)tst-array1-static.out): Likewise.
61758 ($(objpfx)tst-array2.out): Likewise.
61759 ($(objpfx)tst-array3.out): Likewise.
61760 ($(objpfx)tst-array4.out): Likewise.
61761 ($(objpfx)tst-array5.out): Likewise.
61762 ($(objpfx)tst-array5-static.out): Likewise.
61763 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61764 $(test-program-cmd).
61765 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61766 $(run-program-prefix) with $(test-program-prefix).
61767 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61768 (test_program_prefix): This.
61769 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61770 $(run-program-prefix) with $(test-program-prefix).
61771 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61772 (test_program_prefix): This.
61773 * iconvdata/tst-tables.sh: Likewise.
61774 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61775 $(run-program-prefix) with $(test-program-prefix).
61776 ($(objpfx)tst-translit.out): Likewise.
61777 ($(objpfx)tst-gettext2.out): Likewise.
61778 ($(objpfx)tst-gettext4.out): Likewise.
61779 ($(objpfx)tst-gettext6.out): Likewise.
61780 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61781 (test_program_prefix): This.
61782 * intl/tst-gettext2.sh: Likewise.
61783 * intl/tst-gettext4.sh Likewise.
61784 * intl/tst-gettext6.sh: Likewise.
61785 * intl/tst-translit.sh: Likewise.
61786 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61787 with $(test-program-cmd).
61788 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61789 $(run-program-prefix) with $(test-program-prefix).
61790 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61791 (test_program_prefix): This.
61792 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61793 $(run-program-prefix) with $(test-program-prefix).
61794 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61795 (test_program_prefix): This.
61796 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61797 * posix/Makefile ($(objpfx)globtest.out): Replace
61798 $(run-via-rtld-prefix) and $(test-wrapper) with
61799 $(test-program-prefix) and $(test-via-rtld-prefix).
61800 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61801 $(test-program-prefix).
61802 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61803 $(host-test-program-cmd).
61804 (tst-spawn-ARGS): Likewise.
61805 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61806 $(test-program-prefix).
61807 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61808 (test_via_rtld_prefix): This.
61809 (test_wrapper): Renamed to ...
61810 (test_program_prefix): This.
61811 (run_program_prefix): Replaced by test_program_prefix.
61812 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61813 (test_program_prefix): This.
61814 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61815 with $(host-test-program-cmd).
61816 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61817 $(run-program-prefix) with $(test-program-prefix).
61818 ($(objpfx)tst-printf.out): Likewise.
61819 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61820 $(test-program-cmd).
61821 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61822 (test_program_prefix): This.
61823 * stdio-common/tst-unbputc.sh: Likewise.
61824 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61825 $(run-program-prefix) with $(test-program-prefix).
61826 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61827 (test_program_prefix): This.
61828 * string/Makefile ($(objpfx)tst-svc.out): Replace
61829 $(built-program-cmd) with $(test-program-cmd).
61830
61831 2013-01-11 Andreas Jaeger <aj@suse.de>
61832
61833 [BZ #15003]
61834 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61835 value. Sync with Linux 3.7.
61836
61837 2013-01-10 David S. Miller <davem@davemloft.net>
61838
61839 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61840 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61841 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61842
61843 2013-01-10 Roland McGrath <roland@hack.frob.com>
61844
61845 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61846 never set.
61847 * configure: Regenerated.
61848
61849 2013-01-10 David S. Miller <davem@davemloft.net>
61850
61851 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61852 sparc V9 rather than using V8 code.
61853 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61854 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61855
61856 2013-01-10 Roland McGrath <roland@hack.frob.com>
61857
61858 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61859 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61860 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61861 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61862 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61863 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61864 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61865 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61866 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61867 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61868 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61869 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61870 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61871 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61872 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61873 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61874 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61875 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61876 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61877 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61878 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61879 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61880 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61881 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61882 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61883 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61884 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61885
61886 2013-01-10 David S. Miller <davem@davemloft.net>
61887
61888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61889
61890 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61891
61892 * posix/Makefile (tests-static): New variable.
61893 (tests): Add $(tests-static).
61894 (tst-exec-static-ARGS): New variable.
61895 (tst-spawn-static-ARGS): Likewise.
61896 * posix/tst-exec-static.c: New file.
61897 * posix/tst-spawn-static.c: Likewise.
61898 * posix/tst-exec.c: Support run directly.
61899 * posix/tst-spawn.c: Likewise.
61900
61901 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61902
61903 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61904 long.
61905 * math/bits/mathcalls.h (llrint): Likewise.
61906 (llround): Likewise.
61907 * stdlib/stdlib.h (struct drand48_data): Likewise.
61908 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61909 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61910 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61911 Likewise.
61912 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61913 Likewise.
61914 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61915 (elf_greg_t): Likewise.
61916 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61917 (__jmp_buf): Likewise.
61918 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61919 definitions.
61920 (llrint): Likewise, for all definitions.
61921 (llrintl): Likewise.
61922
61923 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61924 Remove [__GNUC__] condition.
61925 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61926 condition to just [__USE_ISOC99].
61927 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61928
61929 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61930
61931 [BZ #14200]
61932 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61933 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61934 defined.
61935 (_POSIX_V6_ILP32_OFF32): Likewise.
61936 (_XBS5_ILP32_OFF32): Likewise.
61937 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61938 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61939
61940 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61941
61942 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61943
61944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61945 doubles __mpexp_twomm1. Adjust usage.
61946 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61947 Remove.
61948
61949 2013-01-10 Andreas Schwab <schwab@suse.de>
61950
61951 [BZ #14964]
61952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61953 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61954
61955 2013-01-09 David S. Miller <davem@davemloft.net>
61956
61957 [BZ #15003]
61958 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61959 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61960 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61961 (TCP_FASTOPEN): Define.
61962 (tcp_repair_opt): New structure.
61963 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61964 enum values.
61965 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61966 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61967 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61968 (tcp_cookie_transactions): New structure.
61969
61970 2013-01-09 Anton Blanchard <anton@samba.org>
61971
61972 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61973 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61974 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61975 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61976
61977 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61978
61979 * include/features.h (__USE_ANSI): Remove.
61980
61981 2013-01-09 Roland McGrath <roland@hack.frob.com>
61982
61983 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61984
61985 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61986
61987 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61988
61989 * sysdeps/s390/fpu/libm-test-ulps: Update.
61990
61991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61992
61993 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61994 (__acr): Likewise.
61995 (__cpy): Likewise.
61996 (norm): Likewise.
61997 (denorm): Likewise.
61998 (__mp_dbl): Likewise.
61999 (__dbl_mp): Likewise.
62000 (add_magnitudes): Likewise.
62001 (sub_magnitudes): Likewise.
62002 (__add): Likewise.
62003 (__sub): Likewise.
62004 (__mul): Likewise.
62005 (__inv): Likewise.
62006 (__dvd): Likewise.
62007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62008 (__acr): Likewise.
62009 (__cpy): Likewise.
62010 (norm): Likewise.
62011 (denorm): Likewise.
62012 (__mp_dbl): Likewise.
62013 (__dbl_mp): Likewise.
62014 (add_magnitudes): Likewise.
62015 (sub_magnitudes): Likewise.
62016 (__add): Likewise.
62017 (__sub): Likewise.
62018 (__mul): Likewise.
62019 (__inv): Likewise.
62020 (__dvd): Likewise.
62021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62022 (__acr): Likewise.
62023 (__cpy): Likewise.
62024 (norm): Likewise.
62025 (denorm): Likewise.
62026 (__mp_dbl): Likewise.
62027 (__dbl_mp): Likewise.
62028 (add_magnitudes): Likewise.
62029 (sub_magnitudes): Likewise.
62030 (__add): Likewise.
62031 (__sub): Likewise.
62032 (__mul): Likewise.
62033 (__inv): Likewise.
62034 (__dvd): Likewise.
62035
62036 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62037
62038 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62039 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62040 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62041 2 && __USE_EXTERN_INLINES]: Likewise.
62042
62043 2013-01-08 Andreas Jaeger <aj@suse.de>
62044
62045 [BZ# 14985]
62046 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62047 Remove.
62048 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62049 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62050
62051 2013-01-07 Anton Blanchard <anton@samba.org>
62052
62053 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62054 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62055 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62056 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62057 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62058 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62059 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62060 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62062 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62063 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62064 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62069 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62071 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62072 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62073 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62076 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62077 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62078 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62079 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62080 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62082 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62083 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62085 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62086 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62087 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62088 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62089 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62091 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62092 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62093 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62095 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62096
62097 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62098
62099 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62100 (__MALLOC_PMT): Likewise.
62101 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62102 [__GNUC__], only on [_LIBC].
62103 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62104 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62105 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62106 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62107 forward declaration.
62108 (realloc_hook_ini): Likewise.
62109 (memalign_hook_ini): Likewise.
62110 (__libc_memalign): Do not use __MALLOC_PMT in variable
62111 declaration.
62112 (__libc_valloc): Likewise.
62113 (__libc_pvalloc): Likewise.
62114 (__libc_calloc): Likewise.
62115 (__posix_memalign): Likewise.
62116
62117 [BZ #14996]
62118 * math/s_casinh.c: Include <float.h>.
62119 (__casinh): Do not do computation with squaring and square root
62120 for large arguments.
62121 * math/s_casinhf.c: Include <float.h>.
62122 (__casinhf): Do not do computation with squaring and square root
62123 for large arguments.
62124 * math/s_casinhl.c: Include <float.h>.
62125 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62126 (__casinhl): Do not do computation with squaring and square root
62127 for large arguments.
62128 * math/libm-test.inc (casin_test): Add more tests.
62129 (casinh_test): Likewise.
62130 * sysdeps/i386/fpu/libm-test-ulps: Update.
62131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62132
62133 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62134
62135 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62136 (__x86_64_raw_data_cache_size): Likewise.
62137 (__x86_64_data_cache_size_half): Likewise.
62138 (__x86_64_raw_data_cache_size_half): Likewise.
62139 (__x86_64_shared_cache_size): Likewise.
62140 (__x86_64_raw_shared_cache_size): Likewise.
62141 (__x86_64_shared_cache_size_half): Likewise.
62142 (__x86_64_raw_shared_cache_size_half): Likewise.
62143 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62144 to ...
62145 (__x86_data_cache_size): This.
62146 (__x86_64_raw_data_cache_size): Renamed to ...
62147 (__x86_raw_data_cache_size): This.
62148 (__x86_64_data_cache_size_half): Renamed to ...
62149 (__x86_data_cache_size_half): This.
62150 (__x86_64_raw_data_cache_size_half): Renamed to ...
62151 (__x86_raw_data_cache_size_half): This.
62152 (__x86_64_shared_cache_size): Renamed to ...
62153 (__x86_shared_cache_size): This.
62154 (__x86_64_raw_shared_cache_size): Renamed to ...
62155 (__x86_raw_shared_cache_size): This.
62156 (__x86_64_shared_cache_size_half): Renamed to ...
62157 (__x86_shared_cache_size_half): This.
62158 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62159 (__x86_raw_shared_cache_size_half): This.
62160 * sysdeps/x86_64/memcpy.S: Updated.
62161 * sysdeps/x86_64/memset.S: Likewise.
62162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62165
62166 2013-01-04 David S. Miller <davem@davemloft.net>
62167
62168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62169
62170 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62171
62172 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62173 1 to avoid redefinition warning.
62174 (__USE_GNU): Don't define.
62175 (init_signaling_nan): Protoize.
62176
62177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62178
62179 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62180
62181 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62183 (__cpymn): Likewise.
62184 (norm): Remove commented code.
62185 (denorm): Likewise.
62186 (__mp_dbl): Likewise.
62187 (__inv): Likewise.
62188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62189 (__cpymn): Likewise.
62190 (norm): Remove commented code.
62191 (denorm): Likewise.
62192 (__mp_dbl): Likewise.
62193 (__inv): Likewise.
62194
62195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62196 mp_no value for 1.0 and 2.0.
62197 (norm): Use RADIXI instead of radixi.d.
62198 (denorm): Likewise.
62199 (__mul): Use 0.0 instead of zero.d.
62200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62201 mp_no value for 1.0 and 2.0.
62202 (norm): Use RADIXI instead of radixi.d.
62203 (denorm): Likewise.
62204 (__mul): Use 0.0 instead of zero.d.
62205
62206 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62207
62208 [BZ #14994]
62209 * math/s_casinh.c (__casinh): Reduce finite argument to first
62210 quadrant then set signs of results at the end.
62211 * math/s_casinhf.c (__casinhf): Likewise.
62212 * math/s_casinhl.c (__casinhl): Likewise.
62213 * math/libm-test.inc (casin_test): Add more tests.
62214 (casinh_test): Likewise.
62215 * sysdeps/i386/fpu/libm-test-ulps: Update.
62216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62217
62218 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62219
62220 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62221
62222 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62223
62224 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62225 declarations.
62226 (denorm): Likewise.
62227 (__mp_dbl): Likewise.
62228 (__inv): Likewise.
62229
62230 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62231 and adjust the header comment.
62232
62233 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62234 variable name from declaration.
62235
62236 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62237
62238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62239 Initialize COMMON_CPUID_INDEX_7 element.
62240 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62241 (CPUID_RTM): Likewise.
62242 (HAS_RTM): Likewise.
62243 (COMMON_CPUID_INDEX_7): New enum.
62244
62245 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62246
62247 [BZ #14981]
62248 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62249 size is zero, record memory as freed.
62250
62251 2013-01-03 Andreas Jaeger <aj@suse.de>
62252
62253 * po/ia.po: Add new Interlingua translation.
62254
62255 2012-01-03 Allan McRae <allan@archlinux.org>
62256
62257 * locale/programs/localedef.c: Fix description of '--posix' flag.
62258
62259 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62260
62261 * NEWS: Update dates in second copyright notice.
62262 * README: Update copyright dates in example.
62263 * manual/libc.texinfo: Update copyright dates.
62264 * scripts/test-installation.pl: Update copyright date in --version
62265 output.
62266
62267 * hurd/ctty-input.c: Fix copyright notice formatting.
62268 * hurd/ctty-output.c: Likewise.
62269 * hurd/dtable.c: Likewise.
62270 * hurd/hurd-raise.c: Likewise.
62271 * hurd/hurdprio.c: Likewise.
62272 * hurd/msgportdemux.c: Likewise.
62273 * misc/sys/file.h: Likewise.
62274 * misc/sys/ioctl.h: Likewise.
62275 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62276 * sysdeps/mach/hurd/chdir.c: Likewise.
62277 * sysdeps/mach/hurd/fchdir.c: Likewise.
62278 * sysdeps/mach/hurd/rename.c: Likewise.
62279 * sysdeps/mach/hurd/rmdir.c: Likewise.
62280 * sysdeps/mach/hurd/seekdir.c: Likewise.
62281 * sysdeps/mach/hurd/setsid.c: Likewise.
62282 * sysdeps/posix/wait3.c: Likewise.
62283
62284 * All files with FSF copyright notices: Update copyright dates
62285 using scripts/update-copyrights.
62286 * intl/plural.c: Regenerated.
62287 * locale/programs/charmap-kw.h: Likewise.
62288 * locale/programs/locfile-kw.h: Likewise.
62289
62290 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62291
62292 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62293 four values.
62294
62295 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62296 calculation loop and add branch prediction.
62297
62298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62299 check access beyond bounds of m1np.
62300
62301 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62302 MPTWO.
62303 (__inv): Remove local variable MPTWO to use the global
62304 constant.
62305 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62307 variable MPTWO.
62308 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62309 MP3HALFS static const.
62310
62311 2013-01-01 David S. Miller <davem@davemloft.net>
62312
62313 * po/ca.po: Update from translation team.
62314
62315 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62316
62317 * scripts/update-copyrights: New file.
62318 * Makeconfig: Reformat copyright notice.
62319 * ctype/ctype.h: Likewise.
62320 * debug/swprintf_chk.c: Likewise.
62321 * elf/dl-cache.c: Likewise.
62322 * elf/dl-debug.c: Likewise.
62323 * elf/dl-object.c: Likewise.
62324 * grp/initgroups.c: Likewise.
62325 * hurd/Makefile: Likewise.
62326 * hurd/hurd/signal.h: Likewise.
62327 * hurd/hurdfault.c: Likewise.
62328 * hurd/hurdioctl.c: Likewise.
62329 * hurd/hurdlookup.c: Likewise.
62330 * hurd/intr-msg.c: Likewise.
62331 * iconv/gconv_open.c: Likewise.
62332 * libio/swprintf.c: Likewise.
62333 * locale/lc-ctype.c: Likewise.
62334 * locale/nl_langinfo.c: Likewise.
62335 * mach/Machrules: Likewise.
62336 * mach/Makefile: Likewise.
62337 * malloc/obstack.h: Likewise.
62338 * manual/Makefile: Likewise.
62339 * manual/tsort.awk: Likewise.
62340 * misc/bits/stab.def: Likewise.
62341 * nis/nis_print_group_entry.c: Likewise.
62342 * nis/nis_table.c: Likewise.
62343 * nis/nss_compat/compat-pwd.c: Likewise.
62344 * nis/nss_compat/compat-spwd.c: Likewise.
62345 * po/Makefile: Likewise.
62346 * posix/fnmatch.c: Likewise.
62347 * posix/regex.h: Likewise.
62348 * resolv/Makefile: Likewise.
62349 * resolv/nss_dns/dns-network.c: Likewise.
62350 * resolv/res_hconf.c: Likewise.
62351 * scripts/gen-sorted.awk: Likewise.
62352 * soft-fp/soft-fp.h: Likewise.
62353 * stdio-common/printf.h: Likewise.
62354 * stdlib/monetary.h: Likewise.
62355 * stdlib/random.c: Likewise.
62356 * stdlib/random_r.c: Likewise.
62357 * sysdeps/generic/Makefile: Likewise.
62358 * sysdeps/gnu/Makefile: Likewise.
62359 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62363 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62367 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62369 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62370 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62371 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62372 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62373 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62374 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62375 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62379 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62380 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62381 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62382 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62383 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62384 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62385 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62386 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62387 * sysdeps/mach/hurd/errnos.awk: Likewise.
62388 * sysdeps/mach/hurd/fork.c: Likewise.
62389 * sysdeps/mach/hurd/getcwd.c: Likewise.
62390 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62391 * sysdeps/mach/hurd/mmap.c: Likewise.
62392 * sysdeps/mach/hurd/utimes.c: Likewise.
62393 * sysdeps/mach/hurd/xmknod.c: Likewise.
62394 * sysdeps/posix/profil.c: Likewise.
62395 * sysdeps/posix/readdir_r.c: Likewise.
62396 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62397 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62398 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62399 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62401 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62402 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62406 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62407 * sysdeps/pthread/lio_listio.c: Likewise.
62408 * sysdeps/sparc/dl-procinfo.h: Likewise.
62409 * sysdeps/unix/i386/sysdep.S: Likewise.
62410 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62411 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62412 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62413 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62415 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62416 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62417 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62418 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62419 * sysdeps/wordsize-32/divdi3.c: Likewise.
62420 * time/sys/time.h: Likewise.
62421 * wcsmbs/Makefile: Likewise.
62422
62423 2013-01-01 David S. Miller <davem@davemloft.net>
62424
62425 * po/fr.po: Update from translation team.
62426
62427 * catgets/gencat.c: Update copyright year.
62428 * csu/version.c: Likewise.
62429 * debug/catchsegv.sh: Likewise.
62430 * debug/pcprofiledump.c: Likewise.
62431 * debug/xtrace.sh: Likewise.
62432 * elf/ldconfig.c: Likewise.
62433 * elf/ldd.bash.in: Likewise.
62434 * elf/pldd.c: Likewise.
62435 * elf/sotruss.ksh: Likewise.
62436 * elf/sprof.c: Likewise.
62437 * iconv/iconv_prog.c: Likewise.
62438 * iconv/iconvconfig.c: Likewise.
62439 * locale/programs/locale.c: Likewise.
62440 * locale/programs/localedef.c: Likewise.
62441 * login/programs/pt_chown.c: Likewise.
62442 * malloc/memusage.sh: Likewise.
62443 * malloc/memusagestat.c: Likewise.
62444 * malloc/mtrace.pl: Likewise.
62445 * nscd/nscd.c: Likewise.
62446 * nss/getent.c: Likewise.
62447 * nss/makedb.c: Likewise.
62448 * posix/getconf.c: Likewise.
62449
62450 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62451
62452 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62453 numbers.
62454
62455 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62456
62457 * math/bits/mathcalls.h (modf): Use __nonnull.
62458
62459 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62460
62461 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62462 (split): Use macro CN instead of the bare value.
62463 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62464 could be used.
62465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62466 instead of the bare value.
62467 (power1): Likewise.
62468
62469 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62470
62471 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62472 __ATAN_TWOM.
62473 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62474
62475 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62476 their values.
62477 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62478 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62479 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62480 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62481
62482 2012-12-28 Andreas Jaeger <aj@suse.de>
62483
62484 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62485 values are from Linux 3.7.
62486
62487 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62488 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62489
62490 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62491
62492 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62493 TRUE case.
62494
62495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62496 (norm): Likewise.
62497 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62498 variables with preprocessor constants.
62499 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62500 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62502
62503 2012-12-27 Bruno Haible <bruno@clisp.org>
62504
62505 [BZ #14317]
62506 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62507 only if needed.
62508
62509 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62510
62511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62512 and use variable directly.
62513 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62514
62515 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62516 MPONE.
62517 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62519 variable MPONE.
62520 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62522 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62523 include directive. Remove local variable MPONE.
62524 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62525 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62527
62528 2012-12-25 David S. Miller <davem@davemloft.net>
62529
62530 * version.h (RELEASE): Set to "development".
62531 (VERSION): Set to "2.17.90".
62532 * NEWS: Add 2.18 section.
62533
62534 2012-12-21 David S. Miller <davem@davemloft.net>
62535
62536 * po/hr.po: Update from translation team.
62537
62538 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62539
62540 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62541
62542 2012-12-19 Steve Ellcey <sellcey@mips.com>
62543
62544 * NEWS: Mention new memcpy for MIPS.
62545
62546 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62547
62548 * manual/contrib.texi (Contributors): Spelling correction.
62549
62550 2012-12-15 David S. Miller <davem@davemloft.net>
62551
62552 * po/ru.po: Update from translation team.
62553
62554 2012-12-13 David S. Miller <davem@davemloft.net>
62555
62556 * NEWS: Mention IFUNC testsuite enhancements.
62557
62558 * po/pl.po: Update from translation team.
62559 * po/bg.po: Likewise.
62560
62561 * manual/contrib.texi (Contributors): Update entries for Hongjiu
62562 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
62563
62564 2012-12-11 David S. Miller <davem@davemloft.net>
62565
62566 * po/sv.po: Update from translation team.
62567
62568 * po/vi.po: Update from translation team.
62569
62570 * po/cs.po: Update from translation team.
62571
62572 * po/de.po: Update from translation team.
62573 * po/eo.po: Likewise.
62574 * po/nl.po: Likewise.
62575
62576 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62577
62578 [BZ #14246]
62579 * manual/argp.texi (Argp Helper Functions): Move node to follow
62580 Argp Parsing State.
62581
62582 [BZ #14872]
62583 * manual/conf.texi (Limits on File System Capacity): Mention if
62584 terminating null is included in the max size.
62585
62586 2012-12-10 Andreas Jaeger <aj@suse.de>
62587
62588 * po/cs.po: Update from translation team.
62589
62590 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62591
62592 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62593 void pointer and cast to uintptr_t.
62594 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62595 path.
62596 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62597 * sysdeps/s390/s390-64/memset.S: Likewise.
62598
62599 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62600
62601 [BZ #14833]
62602 * menual/message.texi (Message Translation): Fix typos.
62603 (Helper programs for gettext): Likewise.
62604
62605 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62606
62607 [BZ #14898]
62608 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62609 Change to -1.
62610
62611 2012-12-07 David S. Miller <davem@davemloft.net>
62612
62613 * po/libc.pot: Update.
62614
62615 2012-12-07 Richard Henderson <rth@redhat.com>
62616
62617 [BZ #10114]
62618 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62619 normal/normal case to before the switch.
62620 (_FP_DIV): Likewise.
62621
62622 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62623 Mike Frysinger <vapier@gentoo.org>
62624
62625 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62626 check for __NR_fadvise64_64.
62627
62628 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62629
62630 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62631 0, not just to plain "0" as a statement.
62632 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62633 with cw.
62634
62635 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62636
62637 * NEWS: Use sourceware.org in Bugzilla URL.
62638
62639 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62640
62641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62642 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62643
62644 * stdio-common/tst-put-error.c (do_test): Add newline to the
62645 padded test to ensure flush.
62646
62647 2012-12-05 Jeff Law <law@redhat.com>
62648
62649 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62650
62651 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62652
62653 * README: Don't refer to ports add-on as distributed separately.
62654 Mention AArch64 in list of systems supported in the ports add-on.
62655
62656 * LICENSES: Add more non-FSF copyright and license notices.
62657
62658 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62659 ((unused)).
62660
62661 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62662
62663 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62664 10000 as width of padded output.
62665
62666 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62667
62668 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62669
62670 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62671 variable LX with __attribute__ ((unused)).
62672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62673 Likewise.
62674 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62677 with __attribute__ ((unused)).
62678
62679 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62680
62681 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62682
62683 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62684
62685 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62686 (CFLAGS-nldbl-acos.c): New variable.
62687 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62688 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62689 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62690 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62691 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62692 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62693 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62694 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62695 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62696 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62697 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62698 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62699 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62700 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62701 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62702 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62703 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62704 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62705 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62706 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62707 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62708 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62709 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62710 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62711 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62712 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62713 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62714 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62715 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62716 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62717 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62718 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62719 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62720 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62721 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62722 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62723 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62724 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62725 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62726 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62727 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62728 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62729 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62730 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62731 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62732 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62733 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62734 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62735 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62736 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62737 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62738 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62739 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62740 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62741 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62742 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62743 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62744 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62745 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62746 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62747 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62748 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62749 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62750 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62751 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62752 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62753 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62754 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62755 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62756 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62757 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62758 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62759 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62760 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62761 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62762 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62763 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62764 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62765 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62766 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62767 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62768 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62769 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62770 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62771 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62772 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62773 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62774 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62775 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62776 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62777 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62778 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62779 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62780 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62781 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62782 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62783 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62784
62785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62786 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62787
62788 [BZ #14914]
62789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62790 whole low double instead of just low 47 bits when splitting values
62791 into two parts.
62792
62793 2012-12-03 Allan McRae <allan@archlinux.org>
62794
62795 * manual/stdio.texi (Predefined Printf Handlers): Remove
62796 @hsep and @vsep usage.
62797
62798 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62799
62800 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62801 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62802
62803 2012-12-03 Jeff Law <law@redhat.com>
62804
62805 * time/sys/time.h (settimeofday): Do not mark TV argument
62806 as __nonnull.
62807
62808 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62809
62810 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62811 when currently writing and seek to current position when not.
62812 * libio/Makefile (tests): Remove bug-fclose1.
62813 * libio/bug-fclose1.c: Delete.
62814
62815 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62816
62817 * manual/arith.texi (feenableexcept): Fix typo.
62818 (fedisableexcept): Likewise.
62819
62820 2012-11-30 Roland McGrath <roland@hack.frob.com>
62821
62822 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62823 second, differently-typed declaration, rather than a cast.
62824
62825 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62826
62827 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62828 * include/rpc/svc.h: ... here.
62829
62830 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62831
62832 [BZ #13013]
62833 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62834 depending n and resplen2 to catch cases where answer
62835 equals answerp2.
62836
62837 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62838
62839 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62840 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62841
62842 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62843
62844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62845
62846 2012-11-29 Roland McGrath <roland@hack.frob.com>
62847
62848 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62849
62850 2012-11-28 Jeff Law <law@redhat.com>
62851
62852 [BZ #13761]
62853 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62854 dataset_temporary. Track alloca usage into alloca_used.
62855 If dataset is large allocate and release it via malloc/free.
62856
62857 2012-06-04 Florian Weimer <fweimer@redhat.com>
62858
62859 [BZ #14197]
62860 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62861
62862 2012-11-28 David S. Miller <davem@davemloft.net>
62863
62864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62865
62866 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62867
62868 [BZ #14803]
62869 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62870 of pi/2 rounded to nearest to 64 bits.
62871 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62872 nearest to 64 bits.
62873 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62874 bits.
62875
62876 2012-11-28 Jeff Law <law@redhat.com>
62877 Martin Osvald <mosvald@redhat.com>
62878
62879 [BZ #14889]
62880 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62881 * sunrpc/svc.c: Include time.h.
62882 (__svc_accept_failed): New function.
62883 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62884 any reason other than EINTR, call __svc_accept_failed.
62885 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62886 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62887
62888 2012-11-28 Andreas Schwab <schwab@suse.de>
62889
62890 * scripts/abilist.awk: Also handle indirect functions in .opd
62891 section.
62892
62893 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62894
62895 [BZ #13881]
62896 * sysdeps/x86/fpu/powl_helper.c: New file.
62897 * sysdeps/x86/fpu/Makefile: Likewise.
62898 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62899 (p3): New object.
62900 (__ieee754_powl): Use __powl_helper for finite arguments except
62901 integer exponents below 8.
62902 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62903 (p3): New object.
62904 (__ieee754_powl): Use __powl_helper for finite arguments except
62905 integer exponents below 8.
62906 * math/libm-test.inc (pow_test): Add more tests and enable some
62907 previously disabled tests.
62908 * sysdeps/i386/fpu/libm-test-ulps: Update.
62909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62910
62911 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62912 Carlos O'Donell <carlos_odonell@mentor.com>
62913
62914 * nss/makedb.c (is_prime): Assert that input is odd and greater
62915 than 4. Note that fact in a comment too.
62916 (next_prime): Add 4 to input.
62917
62918 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62919
62920 [BZ #11741]
62921 * libio/Makefile (tests): Add test case tst-fwrite-error.
62922 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62923 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62924 * libio/tst-fwrite-error.c: New test case.
62925
62926 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62927
62928 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62929 before casting to void *.
62930 * include/libc-internal.h (__pointer_type): New macro.
62931 (__integer_if_pointer_type_sub): Likewise.
62932 (__integer_if_pointer_type): Likewise.
62933 (cast_to_integer): Likewise.
62934 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62935 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62936 before casting to atomic64_t.
62937 (atomic_exchange_acq): Likewise.
62938 (__arch_exchange_and_add_body): Likewise.
62939 (__arch_add_body): Likewise.
62940 (atomic_add_negative): Likewise.
62941 (atomic_add_zero): Likewise.
62942
62943 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62944
62945 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62946 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62947 (add_fdes): Likewise.
62948 (linear_search_fdes): Likewise.
62949 (binary_search_unencoded_fdes): Likewise.
62950
62951 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62952
62953 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62954
62955 2012-11-24 Adam Conrad <adconrad@0c3.net>
62956
62957 * configure.in: Autodetect C++ header directories.
62958 * configure: Regenerated.
62959
62960 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62961
62962 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62963
62964 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62965
62966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62967
62968 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62969
62970 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62971 LDBL_MANT_DIG == 106]: Disable some tests.
62972 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62973 Likewise.
62974 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62975 Likewise.
62976
62977 [BZ #14871]
62978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62979 input for small inputs. Return +/- pi/2 for large inputs.
62980 * math/libm-test.inc (atan_test): Add more tests.
62981
62982 * sysdeps/generic/unwind-dw2-fde-glibc.c
62983 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62984 __attribute__ ((unused)).
62985
62986 [BZ #14645]
62987 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62988 x * y if x and y are nonzero and z is zero.
62989
62990 [BZ #14811]
62991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62992 nonzero exponents with absolute value below 0x1p-117 to +/-
62993 0x1p-117.
62994
62995 [BZ #14869]
62996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62997 up arguments below 2**-450, not just those below 2**-500.
62998 * math/libm-test.inc (hypot_test): Add another test.
62999
63000 [BZ #14868]
63001 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63002 Return a+b for ratio over 2**120, not 2**60.
63003 * math/libm-test.inc (hypot_test): Add another test.
63004
63005 * math/libm-test.inc (clog_test): Use
63006 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63007 (clog10_test): Likewise.
63008
63009 [BZ #6778]
63010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63011
63012 2012-11-22 Andreas Schwab <schwab@suse.de>
63013
63014 * sysdeps/i386/fpu/libm-test-ulps: Update.
63015
63016 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
63017
63018 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63019 printf output with newline.
63020
63021 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
63022
63023 [BZ #14865]
63024 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63025 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63026 -z nodlopen, -z initfirst and -z execstack support.
63027 * configure: Regenerated.
63028
63029 * elf/elf.h (DF_1_NODIRECT): New macro.
63030 (DF_1_IGNMULDEF): Likewise.
63031 (DF_1_NOKSYMS): Likewise.
63032 (DF_1_NOHDR): Likewise.
63033 (DF_1_EDITED): Likewise.
63034 (DF_1_NORELOC): Likewise.
63035 (DF_1_SYMINTPOSE): Likewise.
63036 (DF_1_GLOBAUDIT): Likewise.
63037 (DF_1_SINGLETON): Likewise.
63038 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63039 DT_1_SUPPORTED_MASK bits.
63040 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63041
63042 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63043
63044 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63045
63046 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63047
63048 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63049 macro.
63050
63051 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63052 (sendmmsg): Move declarations...
63053 * socket/sys/socket.h: ... here.
63054 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63055 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63056 include it from...
63057 * socket/recvmmsg.c: ... this new file.
63058 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63059 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63060 definition of __sendmmsg hidden.
63061 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63062 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63063 Move ENOSYS stub into and include it from...
63064 * socket/sendmmsg.c: ... this new file.
63065 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63066 (sysdep_routines): Move recvmmsg and sendmmsg...
63067 * socket/Makefile (routines): ... here.
63068 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63069 (GLIBC_PRIVATE): Add __sendmmsg.
63070 * include/sys/socket.h (__sendmmsg): Add declarations.
63071 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63072 sendmmsg.
63073
63074 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63075
63076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63077 variable I1 with __attribute__ ((unused)).
63078 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63079
63080 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63081
63082 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63083 DUMMY variables with __attribute__ ((unused)).
63084
63085 * bits/byteswap.h: Include <bits/types.h>.
63086 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63087
63088 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63089
63090 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63091 string_t. Do not manually set errno.
63092 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63093 length with __strnlen. Make sure to both set errno and return it on
63094 failure.
63095
63096 2012-11-19 David S. Miller <davem@davemloft.net>
63097
63098 With help from Joseph Myers.
63099 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63100 very large arguments properly.
63101 * math/libm-test.inc (atan_test): New tests.
63102 (atan2_test): New tests.
63103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63105
63106 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63107
63108 [BZ #14856]
63109 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63110 Define to 3.
63111
63112 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63113 [POSIX] (EADDRNOTAVAIL): Likewise.
63114 [POSIX] (EAFNOSUPPORT): Likewise.
63115 [POSIX] (EALREADY): Likewise.
63116 [POSIX] (ECONNABORTED): Likewise.
63117 [POSIX] (ECONNREFUSED): Likewise.
63118 [POSIX] (ECONNRESET): Likewise.
63119 [POSIX] (EDESTADDRREQ): Likewise.
63120 [POSIX] (EDQUOT): Likewise.
63121 [POSIX] (EHOSTUNREACH): Likewise.
63122 [POSIX] (EIDRM): Likewise.
63123 [POSIX] (EISCONN): Likewise.
63124 [POSIX] (ELOOP): Likewise.
63125 [POSIX] (EMULTIHOP): Likewise.
63126 [POSIX] (ENETDOWN): Likewise.
63127 [POSIX] (ENETUNREACH): Likewise.
63128 [POSIX] (ENOBUFS): Likewise.
63129 [POSIX] (ENODATA): Likewise.
63130 [POSIX] (ENOLINK): Likewise.
63131 [POSIX] (ENOMSG): Likewise.
63132 [POSIX] (ENOPROTOOPT): Likewise.
63133 [POSIX] (ENOSR): Likewise.
63134 [POSIX] (ENOSTR): Likewise.
63135 [POSIX] (ENOTCONN): Likewise.
63136 [POSIX] (ENOTSOCK): Likewise.
63137 [POSIX] (EOPNOTSUPP): Likewise.
63138 [POSIX] (EOVERFLOW): Likewise.
63139 [POSIX] (EPROTO): Likewise.
63140 [POSIX] (EPROTONOSUPPORT): Likewise.
63141 [POSIX] (EPROTOTYPE): Likewise.
63142 [POSIX] (ESTALE): Likewise.
63143 [POSIX] (ETIME): Likewise.
63144 [POSIX] (ETXTBSY): Likewise.
63145 [POSIX] (EWOULDBLOCK): Likewise.
63146 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63147 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63148 [POSIX] (SEEK_CUR): Likewise.
63149 [POSIX] (SEEK_END): Likewise.
63150 [POSIX || UNIX98] (mode_t): Do not require.
63151 [POSIX] (off_t): Likewise.
63152 [POSIX] (pid_t): Likewise.
63153 [POSIX] (sys/stat.h): Do not allow header.
63154 [POSIX] (unistd.h): Likewise.
63155 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63156 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63157 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63158 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63159 require.
63160 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63161 sigevent): Specify elements.
63162 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63163 entry.
63164 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63165 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63166
63167 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63168 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63169 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63170 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63171 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63172 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63173 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63174 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63175 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63176 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63177 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63178 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63179 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63180 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63181 Likewise.
63182 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63183 Likewise.
63184 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63185 Likewise.
63186 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63187 Likewise.
63188 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63189 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63190 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63191 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63192 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63193 Specify lower bound on value.
63194 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63195 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63196 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63197 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63198 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63199 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63200 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63201 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63202 value.
63203 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63204 as optional.
63205 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63206 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63207 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63208 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63209 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63210 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63211 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63212 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63213 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63214 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63215 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63216 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63217 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63218 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63219 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63220 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63221 entry.
63222 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63223 optional.
63224 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63225 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63226 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63227 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63228 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63229 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63230 Likewise.
63231 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63232 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63233 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63234 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63235 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63236 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63237 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63238 as optional.
63239 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63240 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63241 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63242 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63243 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63244 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63245 specify as optional.
63246 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63247 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63248 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63249 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63250 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63251 [XPG3] (NL_LANGMAX): Likewise.
63252 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63253 [POSIX || XPG3] (NL_NMAX): Likewise.
63254 [POSIX || XPG3] (NL_SETMAX): Likewise.
63255 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63256 [XPG3] (NZERO): Likewise.
63257 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63258 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63259 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63260 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63261 (REG_ERANGE): Expect.
63262 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63263 optional-constant.
63264 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63265 Use (void) in prototype.
63266 [POSIX] (*_t): Allow.
63267 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63268 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63269 (WRDE_BADVAL): Expect.
63270
63271 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63272 expect.
63273 [XPG3 || XPG4] (O_RSYNC): Likewise.
63274 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63275 Likewise.
63276 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63277 [XPG3 || XPG4] (sigqueue): Likewise.
63278 [XPG3 || XPG4] (sigtimedwait): Likewise.
63279 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63280 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63281 [XPG3 || XPG4] (vsnprintf): Likewise.
63282 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63283 Likewise.
63284 [XPG3 || XPG4] (blksize_t): Likewise.
63285 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63286 Likewise.
63287 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63288 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63289 [XPG3 || XPG4] (struct itimerspec): Likewise.
63290 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63291 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63292 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63293 [XPG3 || XPG4] (clockid_t): Likewise.
63294 [XPG3 || XPG4] (timer_t): Likewise.
63295 [XPG3 || XPG4] (clock_getres): Likewise.
63296 [XPG3 || XPG4] (clock_gettime): Likewise.
63297 [XPG3 || XPG4] (clock_settime): Likewise.
63298 [XPG3 || XPG4] (nanosleep): Likewise.
63299 [XPG3 || XPG4] (timer_create): Likewise.
63300 [XPG3 || XPG4] (timer_delete): Likewise.
63301 [XPG3 || XPG4] (timer_gettime): Likewise.
63302 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63303 [XPG3 || XPG4] (timer_settime): Likewise.
63304 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63305 [XPG3 || XPG4] (getlogin_r): Likewise.
63306 [XPG3 || XPG4] (pread): Likewise.
63307 [XPG3 || XPG4] (pthread_atfork): Likewise.
63308 [XPG3 || XPG4] (pwrite): Likewise.
63309
63310 [BZ #14835]
63311 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63312 <bits/siginfo.h>.
63313
63314 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63315
63316 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63317 finalizing MALLSTREAM.
63318
63319 * sysdeps/mach/hurd/syncfs.c: New file.
63320
63321 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63322
63323 [BZ #14719]
63324 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63325 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63326 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63327 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63328 (_nss_dns_gethostbyname4_r): Likewise.
63329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63330 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63331
63332 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63333
63334 [BZ #13763]
63335 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63336
63337 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63338
63339 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63340 * elf/cache.c (print_entry): Print ",AArch64" for
63341 FLAG_AARCH64_LIB64
63342
63343 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63344 * elf/cache.c (print_entry): Print ",hard-float" for
63345 FLAG_ARM_LIBHF.
63346
63347 2012-11-18 David S. Miller <davem@davemloft.net>
63348
63349 With help from Joseph Myers.
63350 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63351 cutoff to 2**-13.
63352 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63353 cutoff to 2**-25.
63354 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63355 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63356 small.
63357 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63358 * math/libm-test.inc (y0_test): New tests.
63359 (y1_test): New tests.
63360 * sysdeps/i386/fpu/libm-test-ulps: Update.
63361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63363
63364 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63365
63366 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63367 64-bit targets.
63368 * configure: Regenerated.
63369
63370 2012-11-17 David S. Miller <davem@davemloft.net>
63371
63372 [BZ #14811]
63373 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63374 nonzero exponents with absolute value below 0x1p-128 to +/-
63375 0x1p-128.
63376
63377 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63378
63379 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63380
63381 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63382
63383 * posix/getconf-speclist.c: New file.
63384 * posix/posix-envs.def: Likewise.
63385 * posix/confstr.c (START_ENV_GROUP): New macro.
63386 (END_ENV_GROUP): Likewise.
63387 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63388 (KNOWN_PRESENT_ENV_STRING): Likewise.
63389 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63390 (UNKNOWN_ENVIRONMENT): Likewise.
63391 (confstr): Include posix-envs.def instead of handling
63392 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63393 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63394 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63395 (END_ENV_GROUP): Likewise.
63396 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63397 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63398 (UNKNOWN_ENVIRONMENT): Likewise.
63399 (__sysconf): Include posix-envs.def instead of handling associated
63400 cases directly here.
63401 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63402 preprocessing getconf-speclist.c rather than running getconf or
63403 generating empty file.
63404
63405 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63406
63407 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63408
63409 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63410
63411 [BZ #14672]
63412 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63413
63414 2012-11-16 David S. Miller <davem@davemloft.net>
63415
63416 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63417 smaller than LDBL_EPSILON/2.0L, just return xm1.
63418
63419 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63420
63421 * elf/tst-array1.c (init): Set constructor priority to 1000.
63422 (fini): Set destructor priority to 1000.
63423 * elf/tst-array2dep.c: Likewise.
63424
63425 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63426
63427 [BZ #11741]
63428 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63429 (_IO_new_file_xsputn): Also return EOF if none of the input
63430 data was written when overflow failed.
63431 * libio/iopadn.c (_IO_padn): Likewise.
63432 * libio/iowpadn.c (_IO_wpadn): Likewise.
63433 * stdio-common/tst-put-error.c: Add copyright notice.
63434 (do_test): Add case for printing padded string.
63435 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63436 _IO_padn returned error.
63437 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63438 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63439 return EOF.
63440
63441 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63442
63443 * libio/libioP.h: Add comment note that the references to C++
63444 bits are now obsolete.
63445
63446 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63447
63448 * math/libm-test.inc (check_complex): Use asprintf.
63449
63450 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63451
63452 * debug/pcprofiledump.c (print_version): Update copyright year.
63453 * malloc/memusagestat.c (print_version): Likewise.
63454
63455 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63456
63457 [BZ #14831]
63458 * elf/Makefile (tests): Add tst-audit8.
63459 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63460 ($(objpfx)tst-audit8.out): New target.
63461 (tst-audit8-ENV): New variable.
63462 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63463 audit if l_reloc_result is NULL.
63464 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63465 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63466 * elf/tst-audit8.c: New file.
63467
63468 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63469
63470 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63471 * misc/Makefile (CFLAGS-select.c): Define.
63472 * posix/Makefile (CFLAGS-pause.c): Define.
63473
63474 2012-11-13 David S. Miller <davem@davemloft.net>
63475
63476 * crypt/Makefile: Move test targets after toplevel Rules
63477 inclusion. Grab any necessary sysdep routines when linking.
63478 * crypt/md5.c (md5_process_block): Remove define, we will always
63479 name it __md5_process_block.
63480 (md5_finish_ctx): Update md5_process_block call.
63481 (md5_stream): Likewise.
63482 (md5_process_bytes): Likewise.
63483 (md5_process_block): Rename to __md5_process_block and move to ...
63484 * crypt/md5-block.c: ... here.
63485 * crypt/sha256.c (sha256_process_block): Move to ...
63486 * crypt/sha256-block.c: ... here.
63487 * crypt/sha512.c (sha512_process_block): Move to ...
63488 * crypt/sha512-block.c: ... here.
63489 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63490 path.
63491 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63492 * sysdeps/sparc/sparc64/multiarch/Makefile
63493 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63494 crypt subdir.
63495 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63496 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63497 multiarch changes.
63498 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63499 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63500 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63501 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63502 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63503 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63504 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63505 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63506 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63507 file.
63508 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63509 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63510 file.
63511 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63512
63513 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63514
63515 * timezone/tzselect.ksh: Update from tzcode git revision
63516 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63517 * timezone/zdump.c: Likewise.
63518 * timezone/zic.c: Likewise.
63519 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63520 in TZVERSION setting, not $(PKGVERSION).
63521 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63522 REPORT_BUGS_TO settings.
63523
63524 [BZ #14838]
63525 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63526 macro.
63527
63528 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63529
63530 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63531 detection to immediately after _FP_ROUND().
63532 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63533 bits are 0.
63534
63535 2012-11-11 David S. Miller <davem@davemloft.net>
63536
63537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63538 inttypes.h
63539 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63540 __close rather than their public counterparts.
63541
63542 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63543
63544 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63545 file.
63546 [UNIX98] (sem_timedwait): Do not expect.
63547 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63548 [XPG4 || UNIX98] (sockatmark): Do not expect.
63549 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63550 (clock_getcpuclockid): Do not expect.
63551 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63552 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63553 Do not expect.
63554 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63555 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63556 [UNIX98] (vwscanf): Likewise.
63557 [UNIX98] (vswscanf): Likewise.
63558
63559 2012-11-09 Joseph Myers <joseph@codesourcery.com>
63560
63561 * timezone/version.h: Remove file.
63562 * timezone/README: Do not refer to version.h.
63563 * timezone/Makefile ($(objpfx)zic.o): New dependency on
63564 $(objpfx)version.h.
63565 ($(objpfx)zdump.o): Likewise.
63566 ($(objpfx)version.h): New target.
63567
63568 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63569 2012i.
63570 * timezone/README: Don't mention modification to tzselect.ksh.
63571 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63572 work on unmodified tzselect.ksh. Substitute version numbers in
63573 tzselect.ksh.
63574
63575 * Makefile (format-me): Remove.
63576 (INSTALL): Adjust indentation. Use commands directly instead of
63577 using $(format-me).
63578
63579 * aclocal.m4 (ACX_PKGVERSION): New macro.
63580 (ACX_BUGURL): Likewise.
63581 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63582 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63583 (REPORT_BUGS_TO): Likewise.
63584 * configure: Regenerated.
63585 * config.h.in (PKGVERSION): New macro.
63586 (REPORT_BUGS_TO): Likewise.
63587 * config.make.in (PKGVERSION): New variable.
63588 (PKGVERSION_TEXI): Likewise.
63589 (REPORT_BUGS_TO): Likewise.
63590 (REPORT_BUGS_TEXI): Likewise.
63591 * Makefile (format-me): Use -I$(common-objpfx)manual.
63592 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63593 ($(common-objpfx)manual/%): New target.
63594 (manual/%): Remove target.
63595 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63596 (print_version): Use PKGVERSION.
63597 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63598 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63599 and REPORT_BUGS_TO.
63600 ($(objpfx)xtrace): Likewise.
63601 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63602 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63603 (print_version): Use PKGVERSION.
63604 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63605 (do_version): Use PKGVERSION.
63606 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63607 REPORT_BUGS_TO.
63608 (common-ldd-rewrite): Likewise.
63609 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63610 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63611 (print_version): Use PKGVERSION.
63612 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63613 * elf/pldd.c (argp_program_bug_address): Remove variable.
63614 (more_help): New function.
63615 (argp): Use more_help.
63616 (print_version): Use PKGVERSION.
63617 * elf/sln.c (main): Use PKGVERSION.
63618 (usage): Use REPORT_BUGS_TO.
63619 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63620 (top level): Use PKGVERSION.
63621 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63622 (print_version): Use PKGVERSION.
63623 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63624 (print_version): Use PKGVERSION.
63625 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63626 (print_version): Use PKGVERSION.
63627 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63628 (print_version): Use PKGVERSION.
63629 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63630 (print_version): Use PKGVERSION.
63631 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63632 (print_version): Use PKGVERSION.
63633 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63634 and BUGURL.
63635 ($(objpfx)memusage): Likewise.
63636 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63637 (do_version): Use PKGVERSION.
63638 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63639 (print_version): Use PKGVERSION.
63640 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63641 ($PKGVERSION): New variable.
63642 ($REPORT_BUGS_TO): Likewise.
63643 (usage): Use $REPORT_BUGS_TO.
63644 (top level): Use $PKGVERSION.
63645 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63646 ($(objpfx)pkgvers.texi): New rule.
63647 ($(objpfx)stamp-pkgvers): Likewise.
63648 * manual/install.texi: Include pkgvers.texi.
63649 (--with-pkgversion): Document new configure option.
63650 (--with-bugurl): Likewise.
63651 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63652 than necessarily for this particular distribution. Use
63653 REPORT_BUGS_TO for where to report bugs.
63654 * INSTALL: Regenerated.
63655 * manual/libc.texinfo: Include pkgvers.texi.
63656 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63657 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63658 (print_version): Use PKGVERSION.
63659 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63660 (print_version): Use PKGVERSION.
63661 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63662 (print_version): Use PKGVERSION.
63663 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63664 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63665 macro.
63666 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63667 (print_version): Use PKGVERSION.
63668 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63669 (print_version): Use PKGVERSION.
63670 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63671 and PKGVERSION.
63672
63673 * timezone/checktab.awk: Update from tzcode 2012i.
63674 * timezone/ialloc.c: Likewise.
63675 * timezone/private.h: Likewise.
63676 * timezone/scheck.c: Likewise.
63677 * timezone/tzfile.h: Likewise.
63678 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63679 (TZVERSION): Hardcode tzcode version number.
63680 * timezone/zdump.c: Update from tzcode 2012i.
63681 * timezone/zic.c: Likewise.
63682 * timezone/version.h: New file.
63683 * timezone/README: Describe version.h. Update upstream location.
63684
63685 [BZ #14824]
63686 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63687 (mktemp): Enable declaration.
63688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63692 Likewise.
63693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63694 Likewise.
63695 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63696 Likewise.
63697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63698 Likewise.
63699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63700 Likewise.
63701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63702 Likewise.
63703
63704 [BZ #14821]
63705 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63706 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63707 for copies of such integer values.
63708 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63709 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63710
63711 2012-11-09 Andreas Jaeger <aj@suse.de>
63712
63713 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63714 definitions and declarations that are provided by
63715 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63716
63717 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63718
63719 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63720 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63721 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63722 definition.
63723
63724 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63725
63726 * elf/elf.h: Update comment before AArch64 relocations.
63727
63728 2012-11-07 David S. Miller <davem@davemloft.net>
63729
63730 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63731 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63732 (__start_context): Declare.
63733 (__makecontext_ret): Delete.
63734 (__makecontext): Hook up __start_context instead of
63735 __makecontext_ret.
63736 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63737 (sysdep_routines): Add __start_context when in stdlib.
63738
63739 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63740
63741 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63742 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63743 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63744 hardcoded "nm".
63745 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63746 (READELF): New variable. Use it instead of hardcoded "readelf".
63747
63748 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63749
63750 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63751 * sysdeps/x86/Makefile: Here.
63752 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63753 * sysdeps/x86/tst-xmmymm.sh: This.
63754
63755 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63756
63757 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63758 expectations.
63759 [UNIX98] (pthread_barrier_t): Do not expect.
63760 [UNIX98] (pthread_barrierattr_t): Likewise.
63761 [UNIX98] (pthread_spinlock_t): Likewise.
63762 [UNIX98] (pthread_barrier_destroy): Likewise.
63763 [UNIX98] (pthread_barrier_init): Likewise.
63764 [UNIX98] (pthread_barrier_wait): Likewise.
63765 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63766 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63767 [UNIX98] (pthread_barrierattr_init): Likewise.
63768 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63769 [UNIX98] (pthread_getcpuclockid): Likewise.
63770 [UNIX98] (pthread_mutex_timedlock): Likewise.
63771 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63772 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63773 [UNIX98] (pthread_sigmask): Likewise.
63774 [UNIX98] (pthread_spin_destroy): Likewise.
63775 [UNIX98] (pthread_spin_init): Likewise.
63776 [UNIX98] (pthread_spin_lock): Likewise.
63777 [UNIX98] (pthread_spin_trylock): Likewise.
63778 [UNIX98] (pthread_spin_unlock): Likewise.
63779 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63780 Do not expect.
63781 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63782 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63783 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63784 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63785 [XPG3 || XPG4] (pthread_key_t): Likewise.
63786 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63787 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63788 [XPG3 || XPG4] (pthread_once_t): Likewise.
63789 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63790 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63791 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63792 [XPG3 || XPG4] (pthread_t): Likewise.
63793
63794 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63795 not expect.
63796 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63797
63798 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63799 Change function return type to int.
63800
63801 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63802 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63803 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63804 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63805 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63806 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63807 [!POSIX] (posix_madvise): Likewise.
63808 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63809 && !UNIX98].
63810 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63811 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63812 (mode_t): Likewise.
63813 (posix_mem_offset): Likewise.
63814 (posix_typed_mem_get_info): Likewise.
63815 (posix_typed_mem_open): Likewise.
63816
63817 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63818 Change condition to [XOPEN2K8].
63819
63820 * conform/conformtest.pl: Preprocess allow-header data with -x c
63821 instead of from stdin.
63822 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63823 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63824 [C99-based standards] (cerfc): Likewise.
63825 [C99-based standards] (cexp2): Likewise.
63826 [C99-based standards] (cexpm1): Likewise.
63827 [C99-based standards] (clog10): Likewise.
63828 [C99-based standards] (clog1p): Likewise.
63829 [C99-based standards] (clog2): Likewise.
63830 [C99-based standards] (clgamma): Likewise.
63831 [C99-based standards] (ctgamma): Likewise.
63832 [C99-based standards] (cerff): Likewise.
63833 [C99-based standards] (cerfcf): Likewise.
63834 [C99-based standards] (cexp2f): Likewise.
63835 [C99-based standards] (cexpm1f): Likewise.
63836 [C99-based standards] (clog10f): Likewise.
63837 [C99-based standards] (clog1pf): Likewise.
63838 [C99-based standards] (clog2f): Likewise.
63839 [C99-based standards] (clgammaf): Likewise.
63840 [C99-based standards] (ctgammaf): Likewise.
63841 [C99-based standards] (cerfl): Likewise.
63842 [C99-based standards] (cerfcl): Likewise.
63843 [C99-based standards] (cexp2l): Likewise.
63844 [C99-based standards] (cexpm1l): Likewise.
63845 [C99-based standards] (clog10l): Likewise.
63846 [C99-based standards] (clog1pl): Likewise.
63847 [C99-based standards] (clog2l): Likewise.
63848 [C99-based standards] (clgammal): Likewise.
63849 [C99-based standards] (ctgammal): Likewise.
63850 * conform/data/inttypes.h-data [C99-based standards]: Include
63851 stdint.h-data. Remove all expectations for stdint.h contents.
63852 [C99-based standards] (PRI*): Do not allow.
63853 [C99-based standards] (SCN*): Likewise.
63854 [C99-based standards] (*_t): Likewise.
63855 [C99-based-standards] (PRId8): Expect macro.
63856 [C99-based-standards] (PRIi8): Likewise.
63857 [C99-based-standards] (PRIo8): Likewise.
63858 [C99-based-standards] (PRIu8): Likewise.
63859 [C99-based-standards] (PRIx8): Likewise.
63860 [C99-based-standards] (PRIX8): Likewise.
63861 [C99-based-standards] (SCNd8): Likewise.
63862 [C99-based-standards] (SCNi8): Likewise.
63863 [C99-based-standards] (SCNo8): Likewise.
63864 [C99-based-standards] (SCNu8): Likewise.
63865 [C99-based-standards] (SCNx8): Likewise.
63866 [C99-based-standards] (PRIdLEAST8): Likewise.
63867 [C99-based-standards] (PRIiLEAST8): Likewise.
63868 [C99-based-standards] (PRIoLEAST8): Likewise.
63869 [C99-based-standards] (PRIuLEAST8): Likewise.
63870 [C99-based-standards] (PRIxLEAST8): Likewise.
63871 [C99-based-standards] (PRIXLEAST8): Likewise.
63872 [C99-based-standards] (SCNdLEAST8): Likewise.
63873 [C99-based-standards] (SCNiLEAST8): Likewise.
63874 [C99-based-standards] (SCNoLEAST8): Likewise.
63875 [C99-based-standards] (SCNuLEAST8): Likewise.
63876 [C99-based-standards] (SCNxLEAST8): Likewise.
63877 [C99-based-standards] (PRIdFAST8): Likewise.
63878 [C99-based-standards] (PRIiFAST8): Likewise.
63879 [C99-based-standards] (PRIoFAST8): Likewise.
63880 [C99-based-standards] (PRIuFAST8): Likewise.
63881 [C99-based-standards] (PRIxFAST8): Likewise.
63882 [C99-based-standards] (PRIXFAST8): Likewise.
63883 [C99-based-standards] (SCNdFAST8): Likewise.
63884 [C99-based-standards] (SCNiFAST8): Likewise.
63885 [C99-based-standards] (SCNoFAST8): Likewise.
63886 [C99-based-standards] (SCNuFAST8): Likewise.
63887 [C99-based-standards] (SCNxFAST8): Likewise.
63888 [C99-based-standards] (PRId16): Likewise.
63889 [C99-based-standards] (PRIi16): Likewise.
63890 [C99-based-standards] (PRIo16): Likewise.
63891 [C99-based-standards] (PRIu16): Likewise.
63892 [C99-based-standards] (PRIx16): Likewise.
63893 [C99-based-standards] (PRIX16): Likewise.
63894 [C99-based-standards] (SCNd16): Likewise.
63895 [C99-based-standards] (SCNi16): Likewise.
63896 [C99-based-standards] (SCNo16): Likewise.
63897 [C99-based-standards] (SCNu16): Likewise.
63898 [C99-based-standards] (SCNx16): Likewise.
63899 [C99-based-standards] (PRIdLEAST16): Likewise.
63900 [C99-based-standards] (PRIiLEAST16): Likewise.
63901 [C99-based-standards] (PRIoLEAST16): Likewise.
63902 [C99-based-standards] (PRIuLEAST16): Likewise.
63903 [C99-based-standards] (PRIxLEAST16): Likewise.
63904 [C99-based-standards] (PRIXLEAST16): Likewise.
63905 [C99-based-standards] (SCNdLEAST16): Likewise.
63906 [C99-based-standards] (SCNiLEAST16): Likewise.
63907 [C99-based-standards] (SCNoLEAST16): Likewise.
63908 [C99-based-standards] (SCNuLEAST16): Likewise.
63909 [C99-based-standards] (SCNxLEAST16): Likewise.
63910 [C99-based-standards] (PRIdFAST16): Likewise.
63911 [C99-based-standards] (PRIiFAST16): Likewise.
63912 [C99-based-standards] (PRIoFAST16): Likewise.
63913 [C99-based-standards] (PRIuFAST16): Likewise.
63914 [C99-based-standards] (PRIxFAST16): Likewise.
63915 [C99-based-standards] (PRIXFAST16): Likewise.
63916 [C99-based-standards] (SCNdFAST16): Likewise.
63917 [C99-based-standards] (SCNiFAST16): Likewise.
63918 [C99-based-standards] (SCNoFAST16): Likewise.
63919 [C99-based-standards] (SCNuFAST16): Likewise.
63920 [C99-based-standards] (SCNxFAST16): Likewise.
63921 [C99-based-standards] (PRId32): Likewise.
63922 [C99-based-standards] (PRIi32): Likewise.
63923 [C99-based-standards] (PRIo32): Likewise.
63924 [C99-based-standards] (PRIu32): Likewise.
63925 [C99-based-standards] (PRIx32): Likewise.
63926 [C99-based-standards] (PRIX32): Likewise.
63927 [C99-based-standards] (SCNd32): Likewise.
63928 [C99-based-standards] (SCNi32): Likewise.
63929 [C99-based-standards] (SCNo32): Likewise.
63930 [C99-based-standards] (SCNu32): Likewise.
63931 [C99-based-standards] (SCNx32): Likewise.
63932 [C99-based-standards] (PRIdLEAST32): Likewise.
63933 [C99-based-standards] (PRIiLEAST32): Likewise.
63934 [C99-based-standards] (PRIoLEAST32): Likewise.
63935 [C99-based-standards] (PRIuLEAST32): Likewise.
63936 [C99-based-standards] (PRIxLEAST32): Likewise.
63937 [C99-based-standards] (PRIXLEAST32): Likewise.
63938 [C99-based-standards] (SCNdLEAST32): Likewise.
63939 [C99-based-standards] (SCNiLEAST32): Likewise.
63940 [C99-based-standards] (SCNoLEAST32): Likewise.
63941 [C99-based-standards] (SCNuLEAST32): Likewise.
63942 [C99-based-standards] (SCNxLEAST32): Likewise.
63943 [C99-based-standards] (PRIdFAST32): Likewise.
63944 [C99-based-standards] (PRIiFAST32): Likewise.
63945 [C99-based-standards] (PRIoFAST32): Likewise.
63946 [C99-based-standards] (PRIuFAST32): Likewise.
63947 [C99-based-standards] (PRIxFAST32): Likewise.
63948 [C99-based-standards] (PRIXFAST32): Likewise.
63949 [C99-based-standards] (SCNdFAST32): Likewise.
63950 [C99-based-standards] (SCNiFAST32): Likewise.
63951 [C99-based-standards] (SCNoFAST32): Likewise.
63952 [C99-based-standards] (SCNuFAST32): Likewise.
63953 [C99-based-standards] (SCNxFAST32): Likewise.
63954 [C99-based-standards] (PRId64): Likewise.
63955 [C99-based-standards] (PRIi64): Likewise.
63956 [C99-based-standards] (PRIo64): Likewise.
63957 [C99-based-standards] (PRIu64): Likewise.
63958 [C99-based-standards] (PRIx64): Likewise.
63959 [C99-based-standards] (PRIX64): Likewise.
63960 [C99-based-standards] (SCNd64): Likewise.
63961 [C99-based-standards] (SCNi64): Likewise.
63962 [C99-based-standards] (SCNo64): Likewise.
63963 [C99-based-standards] (SCNu64): Likewise.
63964 [C99-based-standards] (SCNx64): Likewise.
63965 [C99-based-standards] (PRIdLEAST64): Likewise.
63966 [C99-based-standards] (PRIiLEAST64): Likewise.
63967 [C99-based-standards] (PRIoLEAST64): Likewise.
63968 [C99-based-standards] (PRIuLEAST64): Likewise.
63969 [C99-based-standards] (PRIxLEAST64): Likewise.
63970 [C99-based-standards] (PRIXLEAST64): Likewise.
63971 [C99-based-standards] (SCNdLEAST64): Likewise.
63972 [C99-based-standards] (SCNiLEAST64): Likewise.
63973 [C99-based-standards] (SCNoLEAST64): Likewise.
63974 [C99-based-standards] (SCNuLEAST64): Likewise.
63975 [C99-based-standards] (SCNxLEAST64): Likewise.
63976 [C99-based-standards] (PRIdFAST64): Likewise.
63977 [C99-based-standards] (PRIiFAST64): Likewise.
63978 [C99-based-standards] (PRIoFAST64): Likewise.
63979 [C99-based-standards] (PRIuFAST64): Likewise.
63980 [C99-based-standards] (PRIxFAST64): Likewise.
63981 [C99-based-standards] (PRIXFAST64): Likewise.
63982 [C99-based-standards] (SCNdFAST64): Likewise.
63983 [C99-based-standards] (SCNiFAST64): Likewise.
63984 [C99-based-standards] (SCNoFAST64): Likewise.
63985 [C99-based-standards] (SCNuFAST64): Likewise.
63986 [C99-based-standards] (SCNxFAST64): Likewise.
63987 [C99-based-standards] (PRIdMAX): Likewise.
63988 [C99-based-standards] (PRIiMAX): Likewise.
63989 [C99-based-standards] (PRIoMAX): Likewise.
63990 [C99-based-standards] (PRIuMAX): Likewise.
63991 [C99-based-standards] (PRIxMAX): Likewise.
63992 [C99-based-standards] (PRIXMAX): Likewise.
63993 [C99-based-standards] (SCNdMAX): Likewise.
63994 [C99-based-standards] (SCNiMAX): Likewise.
63995 [C99-based-standards] (SCNoMAX): Likewise.
63996 [C99-based-standards] (SCNuMAX): Likewise.
63997 [C99-based-standards] (SCNxMAX): Likewise.
63998 [C99-based-standards] (PRIdPTR): Likewise.
63999 [C99-based-standards] (PRIiPTR): Likewise.
64000 [C99-based-standards] (PRIoPTR): Likewise.
64001 [C99-based-standards] (PRIuPTR): Likewise.
64002 [C99-based-standards] (PRIxPTR): Likewise.
64003 [C99-based-standards] (PRIXPTR): Likewise.
64004 [C99-based-standards] (SCNdPTR): Likewise.
64005 [C99-based-standards] (SCNiPTR): Likewise.
64006 [C99-based-standards] (SCNoPTR): Likewise.
64007 [C99-based-standards] (SCNuPTR): Likewise.
64008 [C99-based-standards] (SCNxPTR): Likewise.
64009 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64010 allow.
64011 * conform/data/stdint.h-data: Update comments to clarify
64012 requirements.
64013 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
64014 type.
64015 [C99-based standards] (INT8_MAX): Likewise.
64016 [C99-based standards] (INT16_MIN): Likewise.
64017 [C99-based standards] (INT16_MAX): Likewise.
64018 [C99-based standards] (INT32_MIN): Likewise.
64019 [C99-based standards] (INT32_MAX): Likewise.
64020 [C99-based standards] (INT64_MIN): Likewise.
64021 [C99-based standards] (INT64_MAX): Likewise.
64022 [C99-based standards] (UINT8_MAX): Likewise.
64023 [C99-based standards] (UINT16_MAX): Likewise.
64024 [C99-based standards] (UINT32_MAX): Likewise.
64025 [C99-based standards] (UINT64_MAX): Likewise.
64026 [C99-based standards] (INT_LEAST8_MIN): Likewise.
64027 [C99-based standards] (INT_LEAST8_MAX): Likewise.
64028 [C99-based standards] (INT_LEAST16_MIN): Likewise.
64029 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64030 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64031 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64032 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64033 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64034 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64035 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64036 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64037 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64038 [C99-based standards] (INT_FAST8_MIN): Likewise.
64039 [C99-based standards] (INT_FAST8_MAX): Likewise.
64040 [C99-based standards] (INT_FAST16_MIN): Likewise.
64041 [C99-based standards] (INT_FAST16_MAX): Likewise.
64042 [C99-based standards] (INT_FAST32_MIN): Likewise.
64043 [C99-based standards] (INT_FAST32_MAX): Likewise.
64044 [C99-based standards] (INT_FAST64_MIN): Likewise.
64045 [C99-based standards] (INT_FAST64_MAX): Likewise.
64046 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64047 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64048 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64049 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64050 [C99-based standards] (INTPTR_MIN): Likewise.
64051 [C99-based standards] (INTPTR_MAX): Likewise.
64052 [C99-based standards] (UINTPTR_MAX): Likewise.
64053 [C99-based standards] (INTMAX_MIN): Likewise.
64054 [C99-based standards] (INTMAX_MAX): Likewise.
64055 [C99-based standards] (UINTMAX_MAX): Likewise.
64056 [C99-based standards] (PTRDIFF_MIN): Likewise.
64057 [C99-based standards] (PTRDIFF_MAX): Likewise.
64058 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64059 [C99-based standards] (SIZE_MAX): Likewise.
64060 [C99-based standards] (WCHAR_MAX): Likewise.
64061 [C99-based standards] (WINT_MAX): Likewise.
64062 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64063 constraint on value.
64064 [C99-based standards] (WCHAR_MIN): Likewise.
64065 [C99-based standards] (WINT_MIN): Likewise.
64066 [C99-based standards] (*_t): Allow.
64067 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64068 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64069 Include math.h-data and complex.h-data. Remove all expectations
64070 of math.h and complex.h contents.
64071 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64072 at end of line.
64073 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64074 (struct tm): Expect tag.
64075 [C99-based-standards] (wcstof): Expect function.
64076 [C99-based-standards] (wcstold): Likewise.
64077 [C99-based-standards] (wcstoll): Likewise.
64078 [C99-based-standards] (wcstoull): Likewise.
64079 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64080 macro-int-constant. Specify type.
64081 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64082 constraint on value.
64083 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64084 Specify type.
64085 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64086 Specify value.
64087 [ISO C standards]: Do not allow headers.
64088 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64089 wcs[abcdefghijklmnopqrstuvwxyz]*.
64090 [ISO C standards] (*_t): Do not allow.
64091 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64092 Expect function.
64093 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64094 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64095 Specify type.
64096 [ISO C standards]: Do not allow headers.
64097 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64098 is[abcdefghijklmnopqrstuvwxyz]*.
64099 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64100 to[abcdefghijklmnopqrstuvwxyz]*.
64101 [ISO C standards] (*_t): Do not allow.
64102 * conform/data/stdalign.h-data: New file.
64103 * conform/data/stdbool.h-data: Likewise.
64104 * conform/data/stdnoreturn.h-data: Likewise.
64105
64106 2012-11-07 Roland McGrath <roland@hack.frob.com>
64107
64108 [BZ #14815]
64109 * manual/filesys.texi (Directory Entries): Typo fix.
64110 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64111
64112 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64113
64114 * elf/elf.h (EM_AARCH64): New macro.
64115 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64116 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64117 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64118 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64119 (R_AARCH64_TLSDESC): Likewise.
64120 (NT_ARM_TLS): Likewise.
64121 (NT_ARM_HW_BREAK): Likewise.
64122 (NT_ARM_HW_WATCH): Likewise.
64123
64124 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64125
64126 [BZ #14811]
64127 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64128 (__ieee754_powl): Saturate nonzero exponents with absolute value
64129 below 0x1p-79 to +/- 0x1p-79.
64130 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64131 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64132 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64133 nonzero exponents with absolute value below 0x1p-32 to +/-
64134 0x1p-32.
64135 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64136 (__ieee754_powl): Saturate nonzero exponents with absolute value
64137 below 0x1p-79 to +/- 0x1p-79.
64138 * math/libm-test.inc (pow_test): Add more tests.
64139
64140 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64141
64142 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64143 _dl_s390_cap_flags with kernel. Increase string length.
64144 (_dl_s390_platforms): Add z196 and zEC12.
64145
64146 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64147
64148 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64149 Change XOPEN21K to XOPEN2K.
64150
64151 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64152
64153 * string/memmove.c: Use memcpy when possible.
64154
64155 2012-11-06 Andreas Jaeger <aj@suse.de>
64156
64157 * po/eo.po: Update from translation team.
64158
64159 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64160
64161 [BZ #14793]
64162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64163 exponent and small x and y exponents, scale x or y up. Increase
64164 by 2 the exponent used in scaling up.
64165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64167 * math/libm-test.inc (fma_test): Add more tests.
64168 (fma_test_towardzero): Likewise.
64169 (fma_test_downward): Likewise.
64170 (fma_test_upward): Likewise.
64171
64172 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64173
64174 [BZ #14805]
64175 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64176 fenv_t *.
64177
64178 [BZ #14801]
64179 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64180 namespace for names of struct fields.
64181 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64182 fenv_t fields.
64183 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64184 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64185
64186 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64187
64188 [BZ #3665]
64189 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64190
64191 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64192
64193 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64194 PTR_DEMANGLE.
64195
64196 [BZ #5246]
64197 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64198 PTR_DEMANGLE.
64199
64200 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64201
64202 [BZ #14797]
64203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64204 definitely overflow as x * y not x * y + z.
64205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64207 * math/libm-test.inc (fma_test): Add more tests.
64208 (fma_test_towardzero): Likewise.
64209 (fma_test_downward): Likewise.
64210 (fma_test_upward): Likewise.
64211
64212 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64213
64214 [BZ #157]
64215
64216 * include/stub-tag.h: Remove file.
64217 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64218 '#include' of it.
64219 * manual/maint.texi (Porting): Don't reference it.
64220 * Makerules ($(objpfx)stubs): Likewise.
64221 * dirent/closedir.c: Don't include <stub-tag.h>.
64222 * dirent/dirfd.c: Likewise.
64223 * dirent/fdopendir.c: Likewise.
64224 * dirent/getdents.c: Likewise.
64225 * dirent/getdents64.c: Likewise.
64226 * dirent/opendir.c: Likewise.
64227 * dirent/readdir.c: Likewise.
64228 * dirent/readdir64.c: Likewise.
64229 * dirent/readdir64_r.c: Likewise.
64230 * dirent/readdir_r.c: Likewise.
64231 * dirent/rewinddir.c: Likewise.
64232 * dirent/seekdir.c: Likewise.
64233 * dirent/telldir.c: Likewise.
64234 * gmon/profil.c: Likewise.
64235 * grp/setgroups.c: Likewise.
64236 * inet/if_index.c: Likewise.
64237 * io/access.c: Likewise.
64238 * io/chdir.c: Likewise.
64239 * io/chmod.c: Likewise.
64240 * io/chown.c: Likewise.
64241 * io/close.c: Likewise.
64242 * io/dup.c: Likewise.
64243 * io/dup2.c: Likewise.
64244 * io/dup3.c: Likewise.
64245 * io/euidaccess.c: Likewise.
64246 * io/faccessat.c: Likewise.
64247 * io/fchdir.c: Likewise.
64248 * io/fchmod.c: Likewise.
64249 * io/fchmodat.c: Likewise.
64250 * io/fchown.c: Likewise.
64251 * io/fchownat.c: Likewise.
64252 * io/fcntl.c: Likewise.
64253 * io/flock.c: Likewise.
64254 * io/fstatfs.c: Likewise.
64255 * io/fstatfs64.c: Likewise.
64256 * io/fstatvfs.c: Likewise.
64257 * io/fstatvfs64.c: Likewise.
64258 * io/futimens.c: Likewise.
64259 * io/fxstat.c: Likewise.
64260 * io/fxstat64.c: Likewise.
64261 * io/fxstatat.c: Likewise.
64262 * io/fxstatat64.c: Likewise.
64263 * io/getcwd.c: Likewise.
64264 * io/isatty.c: Likewise.
64265 * io/lchmod.c: Likewise.
64266 * io/lchown.c: Likewise.
64267 * io/link.c: Likewise.
64268 * io/linkat.c: Likewise.
64269 * io/lseek.c: Likewise.
64270 * io/lseek64.c: Likewise.
64271 * io/lxstat64.c: Likewise.
64272 * io/mkdir.c: Likewise.
64273 * io/mkdirat.c: Likewise.
64274 * io/mkfifo.c: Likewise.
64275 * io/mkfifoat.c: Likewise.
64276 * io/open.c: Likewise.
64277 * io/open64.c: Likewise.
64278 * io/openat.c: Likewise.
64279 * io/openat64.c: Likewise.
64280 * io/pipe.c: Likewise.
64281 * io/pipe2.c: Likewise.
64282 * io/poll.c: Likewise.
64283 * io/posix_fadvise.c: Likewise.
64284 * io/posix_fadvise64.c: Likewise.
64285 * io/posix_fallocate.c: Likewise.
64286 * io/posix_fallocate64.c: Likewise.
64287 * io/read.c: Likewise.
64288 * io/readlink.c: Likewise.
64289 * io/readlinkat.c: Likewise.
64290 * io/rmdir.c: Likewise.
64291 * io/sendfile.c: Likewise.
64292 * io/sendfile64.c: Likewise.
64293 * io/statfs.c: Likewise.
64294 * io/statfs64.c: Likewise.
64295 * io/statvfs.c: Likewise.
64296 * io/statvfs64.c: Likewise.
64297 * io/symlink.c: Likewise.
64298 * io/symlinkat.c: Likewise.
64299 * io/ttyname.c: Likewise.
64300 * io/ttyname_r.c: Likewise.
64301 * io/umask.c: Likewise.
64302 * io/unlink.c: Likewise.
64303 * io/unlinkat.c: Likewise.
64304 * io/utime.c: Likewise.
64305 * io/utimensat.c: Likewise.
64306 * io/write.c: Likewise.
64307 * io/xmknod.c: Likewise.
64308 * io/xmknodat.c: Likewise.
64309 * io/xstat.c: Likewise.
64310 * io/xstat64.c: Likewise.
64311 * login/getpt.c: Likewise.
64312 * login/grantpt.c: Likewise.
64313 * login/unlockpt.c: Likewise.
64314 * math/e_acoshl.c: Likewise.
64315 * math/e_acosl.c: Likewise.
64316 * math/e_asinl.c: Likewise.
64317 * math/e_atan2l.c: Likewise.
64318 * math/e_atanhl.c: Likewise.
64319 * math/e_coshl.c: Likewise.
64320 * math/e_expl.c: Likewise.
64321 * math/e_fmodl.c: Likewise.
64322 * math/e_gammal_r.c: Likewise.
64323 * math/e_hypotl.c: Likewise.
64324 * math/e_j0l.c: Likewise.
64325 * math/e_j1l.c: Likewise.
64326 * math/e_jnl.c: Likewise.
64327 * math/e_lgammal_r.c: Likewise.
64328 * math/e_log10l.c: Likewise.
64329 * math/e_log2l.c: Likewise.
64330 * math/e_logl.c: Likewise.
64331 * math/e_powl.c: Likewise.
64332 * math/e_rem_pio2l.c: Likewise.
64333 * math/e_sinhl.c: Likewise.
64334 * math/e_sqrtl.c: Likewise.
64335 * math/fclrexcpt.c: Likewise.
64336 * math/fedisblxcpt.c: Likewise.
64337 * math/feenablxcpt.c: Likewise.
64338 * math/fegetenv.c: Likewise.
64339 * math/fegetexcept.c: Likewise.
64340 * math/fegetround.c: Likewise.
64341 * math/feholdexcpt.c: Likewise.
64342 * math/fesetenv.c: Likewise.
64343 * math/fesetround.c: Likewise.
64344 * math/feupdateenv.c: Likewise.
64345 * math/fgetexcptflg.c: Likewise.
64346 * math/fraiseexcpt.c: Likewise.
64347 * math/fsetexcptflg.c: Likewise.
64348 * math/ftestexcept.c: Likewise.
64349 * math/k_cosl.c: Likewise.
64350 * math/k_rem_pio2l.c: Likewise.
64351 * math/k_sinl.c: Likewise.
64352 * math/k_tanl.c: Likewise.
64353 * math/s_asinhl.c: Likewise.
64354 * math/s_atanl.c: Likewise.
64355 * math/s_cbrtl.c: Likewise.
64356 * math/s_erfl.c: Likewise.
64357 * math/s_expm1l.c: Likewise.
64358 * math/s_log1pl.c: Likewise.
64359 * math/s_tanhl.c: Likewise.
64360 * misc/acct.c: Likewise.
64361 * misc/brk.c: Likewise.
64362 * misc/chflags.c: Likewise.
64363 * misc/chroot.c: Likewise.
64364 * misc/fchflags.c: Likewise.
64365 * misc/fgetxattr.c: Likewise.
64366 * misc/flistxattr.c: Likewise.
64367 * misc/fremovexattr.c: Likewise.
64368 * misc/fsetxattr.c: Likewise.
64369 * misc/fsync.c: Likewise.
64370 * misc/ftruncate.c: Likewise.
64371 * misc/futimes.c: Likewise.
64372 * misc/futimesat.c: Likewise.
64373 * misc/getdomain.c: Likewise.
64374 * misc/getdtsz.c: Likewise.
64375 * misc/gethostid.c: Likewise.
64376 * misc/gethostname.c: Likewise.
64377 * misc/getloadavg.c: Likewise.
64378 * misc/getpagesize.c: Likewise.
64379 * misc/getsysstats.c: Likewise.
64380 * misc/getxattr.c: Likewise.
64381 * misc/gtty.c: Likewise.
64382 * misc/ioctl.c: Likewise.
64383 * misc/lgetxattr.c: Likewise.
64384 * misc/listxattr.c: Likewise.
64385 * misc/llistxattr.c: Likewise.
64386 * misc/lremovexattr.c: Likewise.
64387 * misc/lsetxattr.c: Likewise.
64388 * misc/lutimes.c: Likewise.
64389 * misc/madvise.c: Likewise.
64390 * misc/mincore.c: Likewise.
64391 * misc/mlock.c: Likewise.
64392 * misc/mlockall.c: Likewise.
64393 * misc/mmap.c: Likewise.
64394 * misc/mprotect.c: Likewise.
64395 * misc/msync.c: Likewise.
64396 * misc/munlock.c: Likewise.
64397 * misc/munlockall.c: Likewise.
64398 * misc/munmap.c: Likewise.
64399 * misc/preadv.c: Likewise.
64400 * misc/preadv64.c: Likewise.
64401 * misc/ptrace.c: Likewise.
64402 * misc/pwritev.c: Likewise.
64403 * misc/pwritev64.c: Likewise.
64404 * misc/readv.c: Likewise.
64405 * misc/reboot.c: Likewise.
64406 * misc/remap_file_pages.c: Likewise.
64407 * misc/removexattr.c: Likewise.
64408 * misc/revoke.c: Likewise.
64409 * misc/select.c: Likewise.
64410 * misc/setdomain.c: Likewise.
64411 * misc/setegid.c: Likewise.
64412 * misc/seteuid.c: Likewise.
64413 * misc/sethostid.c: Likewise.
64414 * misc/sethostname.c: Likewise.
64415 * misc/setregid.c: Likewise.
64416 * misc/setreuid.c: Likewise.
64417 * misc/setxattr.c: Likewise.
64418 * misc/sstk.c: Likewise.
64419 * misc/stty.c: Likewise.
64420 * misc/swapoff.c: Likewise.
64421 * misc/swapon.c: Likewise.
64422 * misc/sync.c: Likewise.
64423 * misc/syncfs.c: Likewise.
64424 * misc/syscall.c: Likewise.
64425 * misc/truncate.c: Likewise.
64426 * misc/ualarm.c: Likewise.
64427 * misc/usleep.c: Likewise.
64428 * misc/ustat.c: Likewise.
64429 * misc/utimes.c: Likewise.
64430 * misc/vhangup.c: Likewise.
64431 * misc/writev.c: Likewise.
64432 * posix/_exit.c: Likewise.
64433 * posix/alarm.c: Likewise.
64434 * posix/execve.c: Likewise.
64435 * posix/fexecve.c: Likewise.
64436 * posix/fork.c: Likewise.
64437 * posix/fpathconf.c: Likewise.
64438 * posix/getaddrinfo.c: Likewise.
64439 * posix/getegid.c: Likewise.
64440 * posix/geteuid.c: Likewise.
64441 * posix/getgid.c: Likewise.
64442 * posix/getgroups.c: Likewise.
64443 * posix/getlogin.c: Likewise.
64444 * posix/getlogin_r.c: Likewise.
64445 * posix/getpgid.c: Likewise.
64446 * posix/getpid.c: Likewise.
64447 * posix/getppid.c: Likewise.
64448 * posix/getresgid.c: Likewise.
64449 * posix/getresuid.c: Likewise.
64450 * posix/getsid.c: Likewise.
64451 * posix/getuid.c: Likewise.
64452 * posix/glob64.c: Likewise.
64453 * posix/nanosleep.c: Likewise.
64454 * posix/pathconf.c: Likewise.
64455 * posix/pause.c: Likewise.
64456 * posix/posix_madvise.c: Likewise.
64457 * posix/pread.c: Likewise.
64458 * posix/pread64.c: Likewise.
64459 * posix/pwrite.c: Likewise.
64460 * posix/pwrite64.c: Likewise.
64461 * posix/sched_getaffinity.c: Likewise.
64462 * posix/sched_getp.c: Likewise.
64463 * posix/sched_gets.c: Likewise.
64464 * posix/sched_primax.c: Likewise.
64465 * posix/sched_primin.c: Likewise.
64466 * posix/sched_rr_gi.c: Likewise.
64467 * posix/sched_setaffinity.c: Likewise.
64468 * posix/sched_setp.c: Likewise.
64469 * posix/sched_sets.c: Likewise.
64470 * posix/sched_yield.c: Likewise.
64471 * posix/setgid.c: Likewise.
64472 * posix/setlogin.c: Likewise.
64473 * posix/setpgid.c: Likewise.
64474 * posix/setresgid.c: Likewise.
64475 * posix/setresuid.c: Likewise.
64476 * posix/setsid.c: Likewise.
64477 * posix/setuid.c: Likewise.
64478 * posix/sleep.c: Likewise.
64479 * posix/spawni.c: Likewise.
64480 * posix/sysconf.c: Likewise.
64481 * posix/times.c: Likewise.
64482 * posix/wait.c: Likewise.
64483 * posix/wait3.c: Likewise.
64484 * posix/wait4.c: Likewise.
64485 * posix/waitpid.c: Likewise.
64486 * resolv/gai_sigqueue.c: Likewise.
64487 * resource/getpriority.c: Likewise.
64488 * resource/getrlimit.c: Likewise.
64489 * resource/getrusage.c: Likewise.
64490 * resource/nice.c: Likewise.
64491 * resource/setpriority.c: Likewise.
64492 * resource/setrlimit.c: Likewise.
64493 * resource/ulimit.c: Likewise.
64494 * rt/aio_cancel.c: Likewise.
64495 * rt/aio_fsync.c: Likewise.
64496 * rt/aio_read.c: Likewise.
64497 * rt/aio_sigqueue.c: Likewise.
64498 * rt/aio_suspend.c: Likewise.
64499 * rt/aio_write.c: Likewise.
64500 * rt/clock_getres.c: Likewise.
64501 * rt/clock_gettime.c: Likewise.
64502 * rt/clock_nanosleep.c: Likewise.
64503 * rt/clock_settime.c: Likewise.
64504 * rt/lio_listio.c: Likewise.
64505 * rt/mq_close.c: Likewise.
64506 * rt/mq_getattr.c: Likewise.
64507 * rt/mq_notify.c: Likewise.
64508 * rt/mq_open.c: Likewise.
64509 * rt/mq_receive.c: Likewise.
64510 * rt/mq_send.c: Likewise.
64511 * rt/mq_setattr.c: Likewise.
64512 * rt/mq_timedreceive.c: Likewise.
64513 * rt/mq_timedsend.c: Likewise.
64514 * rt/mq_unlink.c: Likewise.
64515 * rt/shm_open.c: Likewise.
64516 * rt/shm_unlink.c: Likewise.
64517 * rt/timer_create.c: Likewise.
64518 * rt/timer_delete.c: Likewise.
64519 * rt/timer_getoverr.c: Likewise.
64520 * rt/timer_gettime.c: Likewise.
64521 * rt/timer_settime.c: Likewise.
64522 * setjmp/__longjmp.c: Likewise.
64523 * setjmp/setjmp.c: Likewise.
64524 * signal/kill.c: Likewise.
64525 * signal/killpg.c: Likewise.
64526 * signal/raise.c: Likewise.
64527 * signal/sigaction.c: Likewise.
64528 * signal/sigaltstack.c: Likewise.
64529 * signal/sigblock.c: Likewise.
64530 * signal/sigignore.c: Likewise.
64531 * signal/sigintr.c: Likewise.
64532 * signal/signal.c: Likewise.
64533 * signal/sigpause.c: Likewise.
64534 * signal/sigpending.c: Likewise.
64535 * signal/sigqueue.c: Likewise.
64536 * signal/sigreturn.c: Likewise.
64537 * signal/sigset.c: Likewise.
64538 * signal/sigsetmask.c: Likewise.
64539 * signal/sigstack.c: Likewise.
64540 * signal/sigsuspend.c: Likewise.
64541 * signal/sigtimedwait.c: Likewise.
64542 * signal/sigvec.c: Likewise.
64543 * signal/sigwait.c: Likewise.
64544 * signal/sigwaitinfo.c: Likewise.
64545 * signal/sysv_signal.c: Likewise.
64546 * socket/accept.c: Likewise.
64547 * socket/accept4.c: Likewise.
64548 * socket/bind.c: Likewise.
64549 * socket/connect.c: Likewise.
64550 * socket/getpeername.c: Likewise.
64551 * socket/getsockname.c: Likewise.
64552 * socket/getsockopt.c: Likewise.
64553 * socket/isfdtype.c: Likewise.
64554 * socket/listen.c: Likewise.
64555 * socket/recv.c: Likewise.
64556 * socket/recvfrom.c: Likewise.
64557 * socket/recvmsg.c: Likewise.
64558 * socket/send.c: Likewise.
64559 * socket/sendmsg.c: Likewise.
64560 * socket/sendto.c: Likewise.
64561 * socket/setsockopt.c: Likewise.
64562 * socket/shutdown.c: Likewise.
64563 * socket/sockatmark.c: Likewise.
64564 * socket/socket.c: Likewise.
64565 * socket/socketpair.c: Likewise.
64566 * stdio-common/ctermid.c: Likewise.
64567 * stdio-common/cuserid.c: Likewise.
64568 * stdio-common/remove.c: Likewise.
64569 * stdio-common/rename.c: Likewise.
64570 * stdio-common/renameat.c: Likewise.
64571 * stdio-common/tempname.c: Likewise.
64572 * stdlib/getcontext.c: Likewise.
64573 * stdlib/makecontext.c: Likewise.
64574 * stdlib/setcontext.c: Likewise.
64575 * stdlib/swapcontext.c: Likewise.
64576 * stdlib/system.c: Likewise.
64577 * streams/fattach.c: Likewise.
64578 * streams/fdetach.c: Likewise.
64579 * streams/getmsg.c: Likewise.
64580 * streams/getpmsg.c: Likewise.
64581 * streams/putmsg.c: Likewise.
64582 * streams/putpmsg.c: Likewise.
64583 * sysdeps/unix/bsd/getpt.c: Likewise.
64584 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64585 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64586 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64588 Likewise.
64589 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64590 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64591 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64592 * sysvipc/msgctl.c: Likewise.
64593 * sysvipc/msgget.c: Likewise.
64594 * sysvipc/msgrcv.c: Likewise.
64595 * sysvipc/msgsnd.c: Likewise.
64596 * sysvipc/semctl.c: Likewise.
64597 * sysvipc/semget.c: Likewise.
64598 * sysvipc/semop.c: Likewise.
64599 * sysvipc/semtimedop.c: Likewise.
64600 * sysvipc/shmat.c: Likewise.
64601 * sysvipc/shmctl.c: Likewise.
64602 * sysvipc/shmdt.c: Likewise.
64603 * sysvipc/shmget.c: Likewise.
64604 * termios/tcdrain.c: Likewise.
64605 * termios/tcflow.c: Likewise.
64606 * termios/tcflush.c: Likewise.
64607 * termios/tcgetattr.c: Likewise.
64608 * termios/tcgetpgrp.c: Likewise.
64609 * termios/tcsendbrk.c: Likewise.
64610 * termios/tcsetattr.c: Likewise.
64611 * termios/tcsetpgrp.c: Likewise.
64612 * time/adjtime.c: Likewise.
64613 * time/clock.c: Likewise.
64614 * time/getitimer.c: Likewise.
64615 * time/gettimeofday.c: Likewise.
64616 * time/setitimer.c: Likewise.
64617 * time/settimeofday.c: Likewise.
64618 * time/stime.c: Likewise.
64619 * time/time.c: Likewise.
64620
64621 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64622
64623 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64624 /usr/old/bin.
64625
64626 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64627 instead of spaces.
64628 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64629
64630 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64631
64632 [BZ #14796]
64633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64634 FE_TONEAREST before applying Dekker multiplication and Knuth
64635 addition. Clear inexact exceptions and check for exact zero
64636 results afterwards.
64637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64638 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64640 * math/libm-test.inc (fma_test): Add more tests.
64641 (fma_test_towardzero): Likewise.
64642 (fma_test_downward): Likewise.
64643 (fma_test_upward): Likewise.
64644 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64645 function.
64646 (libc_fesetround): New macro.
64647 (libc_fesetroundf): Likewise.
64648 (libc_fesetroundl): Likewise.
64649 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64650 function.
64651 (libc_fesetround_387): Likewise.
64652 (libc_fesetroundf): New macro.
64653 (libc_fesetround): Likewise.
64654 (libc_fesetroundl): Likewise.
64655 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64656 function.
64657 (libc_fesetroundf): New macro.
64658 (libc_fesetround): Likewise.
64659 (libc_fesetroundl): Likewise.
64660 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64661 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64662 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64663 libm_hidden_ver.
64664 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64665 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64666 libm_hidden_def.
64667 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64668 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64669 libm_hidden_ver.
64670 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64671 libm_hidden_def.
64672
64673 [BZ #3439]
64674 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64675 integer constant usable in #if and use that to give value to enum
64676 constant.
64677 (FE_DIVBYZERO): Likewise.
64678 (FE_UNDERFLOW): Likewise.
64679 (FE_OVERFLOW): Likewise.
64680 (FE_INVALID): Likewise.
64681 (FE_INVALID_SNAN): Likewise.
64682 (FE_INVALID_ISI): Likewise.
64683 (FE_INVALID_IDI): Likewise.
64684 (FE_INVALID_ZDZ): Likewise.
64685 (FE_INVALID_IMZ): Likewise.
64686 (FE_INVALID_COMPARE): Likewise.
64687 (FE_INVALID_SOFTWARE): Likewise.
64688 (FE_INVALID_SQRT): Likewise.
64689 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64690 (FE_TONEAREST): Likewise.
64691 (FE_TOWARDZERO): Likewise.
64692 (FE_UPWARD): Likewise.
64693 (FE_DOWNWARD): Likewise.
64694 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64695 (FE_DIVBYZERO): Likewise.
64696 (FE_OVERFLOW): Likewise.
64697 (FE_UNDERFLOW): Likewise.
64698 (FE_INEXACT): Likewise.
64699 (FE_TONEAREST): Likewise.
64700 (FE_DOWNWARD): Likewise.
64701 (FE_UPWARD): Likewise.
64702 (FE_TOWARDZERO): Likewise.
64703 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64704 (FE_UNDERFLOW): Likewise.
64705 (FE_OVERFLOW): Likewise.
64706 (FE_DIVBYZERO): Likewise.
64707 (FE_INVALID): Likewise.
64708 (FE_TONEAREST): Likewise.
64709 (FE_TOWARDZERO): Likewise.
64710 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64711 (FE_OVERFLOW): Likewise.
64712 (FE_UNDERFLOW): Likewise.
64713 (FE_DIVBYZERO): Likewise.
64714 (FE_INEXACT): Likewise.
64715 (FE_TONEAREST): Likewise.
64716 (FE_TOWARDZERO): Likewise.
64717 (FE_UPWARD): Likewise.
64718 (FE_DOWNWARD): Likewise.
64719 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64720 (FE_DIVBYZERO): Likewise.
64721 (FE_OVERFLOW): Likewise.
64722 (FE_UNDERFLOW): Likewise.
64723 (FE_INEXACT): Likewise.
64724 (FE_TONEAREST): Likewise.
64725 (FE_DOWNWARD): Likewise.
64726 (FE_UPWARD): Likewise.
64727 (FE_TOWARDZERO): Likewise.
64728
64729 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64730
64731 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64732
64733 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64734
64735 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64736 commands. Quote $PWD.
64737 (blacklist_exports): Don't use remove_newlines. Replace "declare
64738 -x" by "export".
64739 (remove_newlines): Remove.
64740
64741 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64742
64743 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64744 * stdlib/stdlib.h (atof): Moved to ...
64745 * include/bits/stdlib-float.h: Here. New file.
64746 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64747 * stdlib/bits/stdlib-float.h: New file.
64748 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64749 -mno-sse -mno-mmx.
64750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64751 <xmmintrin.h>.
64752
64753 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64754
64755 * conform/conformtest.pl (@headers): Add fenv.h.
64756 * conform/data/fenv.h-data: New file.
64757 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64758 include of <math/fenv.h>.
64759
64760 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64761 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64762 && !UNIX98]. Enables tests for XOPEN2K8.
64763 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64764 POSIX2008]: Likewise.
64765
64766 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64767 (struct rusage): Do not expect type or its members.
64768
64769 [BZ #3439]
64770 * math/math.h (FP_NAN): Define macro to integer constant usable in
64771 #if and use that to give value to enum constant.
64772 (FP_INFINITE): Likewise.
64773 (FP_ZERO): Likewise.
64774 (FP_SUBNORMAL): Likewise.
64775 (FP_NORMAL): Likewise.
64776
64777 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64778
64779 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64780 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64781 arguments.
64782
64783 2012-11-02 Roland McGrath <roland@hack.frob.com>
64784
64785 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64786 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64787 autoconf-time if not.
64788 * configure.in: Remove AC_PREREQ.
64789
64790 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64791
64792 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64793 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64794 of the internal implementation.
64795
64796 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64797
64798 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64799 except include of <misc/sys/syslog.h>.
64800
64801 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64802
64803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64804 function returns with a NULL context exit with zero.
64805
64806 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64807
64808 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64809
64810 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64811
64812 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64813 (run_program_cmd): This.
64814 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64815 (tst_langinfo): New variable. Use it.
64816
64817 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64818
64819 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64820 floating point opcodes.
64821
64822 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64823
64824 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64825 variable.
64826
64827 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64828
64829 * sysdeps/mach/hurd/powerpc: Remove directory.
64830 * sysdeps/mach/powerpc: Likewise.
64831
64832 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64833
64834 * scripts/check-local-headers.sh: Ignore c++ headers.
64835
64836 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64837
64838 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64839 __libc_cleanup_region_start argument.
64840
64841 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64842
64843 [BZ #14784]
64844 [BZ #14785]
64845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64846 x * y using scaling, not as x * y + z.
64847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64849 * math/libm-test.inc (fma_test): Add more tests.
64850 (fma_test_towardzero): Likewise.
64851 (fma_test_downward): Likewise.
64852 (fma_test_upward): Likewise.
64853
64854 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64855
64856 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64857
64858 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64859
64860 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64861 New variable.
64862
64863 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64864
64865 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64866
64867 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64868
64869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64870 Fix sort order.
64871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64872 Likewise.
64873
64874 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64875
64876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64877 Fix the order of the list for glibc 2.17.
64878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64879 Likewise.
64880
64881 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64882
64883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64884
64885 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64886
64887 [BZ #14610]
64888 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64889 for low part of x being zero before using __atanl (y).
64890 * math/libm-test.inc (atan2_test): Add another test.
64891
64892 * manual/install.texi (Configuring and compiling): Document
64893 general use of test-wrapper and test-wrapper-env.
64894 * INSTALL: Regenerated.
64895
64896 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64897 (__fma): Do not extract and scale down low bits on after-rounding
64898 systems when result rounded to normal precision would have normal
64899 exponent.
64900 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64901 (__fmal): Do not extract and scale down low bits on after-rounding
64902 systems when result rounded to normal precision would have normal
64903 exponent.
64904 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64905 (__fmal): Do not extract and scale down low bits on after-rounding
64906 systems when result rounded to normal precision would have normal
64907 exponent.
64908 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64909 macro.
64910 (fma_test): Add more tests.
64911 (fma_test_towardzero): Likewise.
64912 (fma_test_downward): Likewise.
64913 (fma_test_upward): Likewise.
64914
64915 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64916
64917 * sysdeps/i386/tininess.h: Renamed to ...
64918 * sysdeps/x86/tininess.h: This.
64919 * sysdeps/x86_64/tininess.h: Removed.
64920
64921 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64922
64923 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64924 input. Use $(build-program-cmd).
64925 ($(objpfx)tst-array1-static.out): Likewise.
64926 ($(objpfx)tst-array2.out): Likewise.
64927 ($(objpfx)tst-array3.out): Likewise.
64928 ($(objpfx)tst-array4.out): Likewise.
64929 ($(objpfx)tst-array5.out): Likewise.
64930 ($(objpfx)tst-array5-static.out): Likewise.
64931
64932 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64933
64934 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64935 if defined.
64936
64937 * nss/nsswitch.h (nss_interface_function): Provide new
64938 macro for use with NSS functions.
64939 * grp/initgroups.c: Use new macro.
64940 * nss/getXXbyYY.c: Likewise.
64941 * nss/getXXbyYY_r.c: Likewise.
64942 * nss/getXXent.c: Likewise.
64943 * nss/getXXent_r.c: Likewise.
64944 * sysdeps/posix/getaddrinfo.c: Likewise.
64945
64946 2012-10-30 Andreas Jaeger <aj@suse.de>
64947
64948 * po/ru.po: Update Russion translation from translation project.
64949
64950 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64951
64952 [BZ #14152]
64953 [BZ #14783]
64954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64955 result and shift together with sticky bit instead of replicating
64956 round-to-nearest rounding.
64957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64959 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64960 missing underflow exceptions.
64961 (fma_test_towardzero): Add more tests.
64962 (fma_test_downward): Likewise.
64963 (fma_test_upward): Likewise.
64964
64965 [BZ #14047]
64966 * sysdeps/generic/tininess.h: New file.
64967 * sysdeps/i386/tininess.h: Likewise.
64968 * sysdeps/sh/tininess.h: Likewise.
64969 * sysdeps/x86_64/tininess.h: Likewise.
64970 * stdlib/tst-strtod-underflow.c: Likewise.
64971 * stdlib/tst-tininess.c: Likewise.
64972 * stdlib/strtod_l.c: Include <tininess.h>.
64973 (round_and_return): Do not set errno for exact underflow cases.
64974 Force an underflow exception when setting errno for underflow.
64975 Determine underflow based on rounding to normal precision if
64976 TININESS_AFTER_ROUNDING.
64977 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64978 ERANGE for exact underflow cases.
64979 * stdlib/Makefile (tests): Add tst-tininess and
64980 tst-strtod-underflow.
64981 ($(objpfx)tst-tininess): Use $(link-libm).
64982 ($(objpfx)tst-strtod-underflow): Likewise.
64983
64984 2012-10-30 Andreas Jaeger <aj@suse.de>
64985
64986 [BZ#14767]
64987 * elf/Makefile (tests): Remove conditional for have-initfini-array
64988 since this is now always required and the variable does not exist
64989 anymore.
64990 (tests-static): Likewise.
64991 (modules-names): Likewise.
64992
64993 * po/eo.po: Add Esperanto translation from translation project.
64994
64995 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64996 merged with constructor/destructor.
64997 (init_array): Likewise.
64998 * elf/tst-array2dep.c (fini_array): Likewise.
64999 (init_array): Likewise.
65000
65001 2012-10-29 Mike Frysinger <vapier@gentoo.org>
65002
65003 * manual/message.texi: Delete @cartouche tags.
65004
65005 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
65006
65007 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65008 EOPNOTSUPP.
65009 * sysdeps/mach/hurd/fsync.c: Likewise.
65010
65011 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65012 [_POSIX_REALTIME_SIGNALS]: Change condition to
65013 [_POSIX_REALTIME_SIGNALS > 0].
65014
65015 2012-10-27 Andreas Jaeger <aj@suse.de>
65016
65017 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65018 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65020 [__WORDSIZE != 64]: Likewise.
65021
65022 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
65023
65024 * iconvdata/tst-table.sh: Remove ${SHELL}.
65025 * iconvdata/tst-tables.sh: Likewise.
65026
65027 2012-10-25 David S. Miller <davem@davemloft.net>
65028
65029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65030 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65031 of strtoull.
65032
65033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65034 ifunc-impl-list.c
65035 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65036 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65037 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65038 file.
65039
65040 2012-10-25 Roland McGrath <roland@hack.frob.com>
65041
65042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65043 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65044 __getdirentries.
65045
65046 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65047 Jim Blandy <jimb@codesourcery.com>
65048
65049 * scripts/cross-test-ssh.sh: New file.
65050 * manual/install.texi (Configuring and compiling): Document use of
65051 cross-test-ssh.sh.
65052 * INSTALL: Regenerated.
65053
65054 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65055
65056 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65057 EOPNOTSUPP.
65058
65059 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65060
65061 * Makeconfig (run-program-prefix): Fix comment.
65062
65063 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65064 Jim Blandy <jimb@codesourcery.com>
65065
65066 * Makeconfig (test-wrapper): New variable,
65067 (test-wrapper-env): Likewise.
65068 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65069 (run-built-tests): Define to yes.
65070 (run-program-prefix): Use $(test-wrapper).
65071 (built-program-cmd): Likewise.
65072 * Rules (make-test-out): Use $(test-wrapper-env) and
65073 $(host-built-program-cmd).
65074 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65075 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65076 tst-pathopt.sh.
65077 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65078 $(test-wrapper-env) to tst-rtld-load-self.sh.
65079 ($(objpfx)order2.out): Use $(test-wrapper).
65080 ($(objpfx)tst-initorder.out): Likewise.
65081 ($(objpfx)tst-initorder2.out): Likewise.
65082 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65083 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65084 (test_wrapper_env): New variable. Use it to run ld.so.
65085 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65086 Use it to run ld.so.
65087 (test_wrapper_env): Likewise.
65088 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65089 $(test-wrapper) to run-iconv-test.sh.
65090 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65091 (ICONV): Use $test_wrapper.
65092 * posix/Makefile ($(objpfx)globtest.out): Pass
65093 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65094 globtest.sh, not $(run-program-prefix).
65095 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65096 (test_wrapper): Likewise.
65097 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65098 set together with run_via_rtld_prefix.
65099 (run_program_prefix): Define in terms of test_wrapper and
65100 run_via_rtld_prefix.
65101
65102 2012-10-24 Roland McGrath <roland@hack.frob.com>
65103
65104 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65105 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65106 Targets removed.
65107
65108 [BZ #14743]
65109 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65110 Declare __clock_getres, __clock_gettime, __clock_settime,
65111 __clock_nanosleep, and __clock_getcpuclockid.
65112 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65113 Remove librt_hidden_def (clock_gettime).
65114 * sysdeps/unix/clock_gettime.c: Likewise.
65115 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65117 * rt/clock_getres.c: Define __clock_getres as an alias.
65118 * sysdeps/posix/clock_getres.c: Likewise.
65119 * rt/clock_settime.c: Define __clock_settime as an alias.
65120 * sysdeps/unix/clock_settime.c: Likewise.
65121 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65122 * sysdeps/unix/clock_nanosleep.c: Likewise.
65123 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65124 * rt/clock-compat.c: New file.
65125 * rt/Makefile (librt-routines): Add clock-compat and move
65126 $(clock-routines) to ...
65127 (routines): ... here, new variable.
65128 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65129 Don't add get_clockfreq here.
65130 * rt/Versions (libc: GLIBC_2.17): New version set.
65131 Add clock_* symbols here.
65132 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65134 (GLIBC_2.17): Add clock_* symbols.
65135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65139 Likewise.
65140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65141 Likewise.
65142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65146 * NEWS: Mention the move.
65147
65148 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65149 Use __open, __read, __close rather than their public counterparts.
65150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65151 (__get_clockfreq_via_cpuinfo): Likewise.
65152 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65153 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65154
65155 * config.h.in (HAVE_IFUNC): New #undef.
65156 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65157 was successful.
65158 * configure: Regenerated.
65159
65160 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65161
65162 * configure.in: Move READELF check to start of file.
65163 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65164 libc_cv_asm_gnu_indirect_function in the process.
65165 * configure: Regenerated.
65166
65167 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65168
65169 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65170 send the output to /dev/null.
65171 (libc_cv_cc_with_libunwind): Likewise.
65172 (libc_cv_as_noexecstack): Likewise.
65173 * configure: Regenerate.
65174
65175 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65176
65177 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65178
65179 * posix/globtest.sh (TMPDIR): Do not set.
65180 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65181 (testout): Likewise.
65182
65183 2012-10-24 Andreas Jaeger <aj@suse.de>
65184
65185 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65186 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65187 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65188 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65189 posix_fadvise64, posix_fallocate64.
65190
65191 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65192 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65193 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65194 Likewise.
65195 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65196 Likewise.
65197 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65198
65199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65200 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65201 <bits/fcntl-linux.h>.
65202 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65203
65204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65205 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65206 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65207 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65208 [__WORDSIZE != 64]: Likewise.
65209
65210 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65211
65212 * Makeconfig (run-built-tests): New variable.
65213 * Rules [$(cross-compiling) = yes]: Change condition to
65214 [$(run-built-tests) = no].
65215 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65216 to [$(run-built-tests) = yes].
65217 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65218 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65219 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65220 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65221 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65222 * io/Makefile [$(cross-compiling) = no]: Likewise.
65223 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65224 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65225 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65226 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65227 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65228 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65229 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65230 * string/Makefile [$(cross-compiling) = no]: Likewise.
65231
65232 * posix/Makefile ($(objpfx)globtest.out): Pass
65233 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65234 $(rtld-installed-name).
65235 * posix/globtest.sh (elf_objpfx): Remove variable.
65236 (rtld_installed_name): Likewise.
65237 (library_path): Likewise.
65238 (run_program_prefix): New variable. Use for running globtest
65239 binary.
65240
65241 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65242 Joseph Myers <joseph@codesourcery.com>
65243
65244 * Makeconfig (host-built-program-cmd): New variable.
65245 * elf/Makefile (tst-stackguard1-ARGS): Use
65246 $(host-built-program-cmd).
65247 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65248 (tst-spawn-ARGS): Likewise.
65249 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65250
65251 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65252 Jim Blandy <jimb@codesourcery.com>
65253
65254 * Makeconfig (run-via-rtld-prefix): New variable.
65255 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65256 (built-program-cmd): Likewise.
65257
65258 2012-10-22 Andreas Jaeger <aj@suse.de>
65259
65260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65261 __O_RSYNC if it exists, otherwise to O_SYNC.
65262
65263 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65264 Joseph Myers <joseph@codesourcery.com>
65265
65266 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65267 /dev/null.
65268 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65269 from /dev/null
65270 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65271 /dev/null.
65272
65273 2012-10-22 Andreas Jaeger <aj@suse.de>
65274
65275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65276 Define always.
65277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65278
65279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65280 bits/fcntl-linux.h.
65281
65282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65283 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65284
65285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65286 to __O_LARGEFILE.
65287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65288 to __O_LARGEFILE.
65289
65290 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65291 Joseph Myers <joseph@codesourcery.com>
65292
65293 * config.make.in (NM): New variable.
65294
65295 2012-10-21 Andreas Jaeger <aj@suse.de>
65296
65297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65298 definitions and declarations that are provided by
65299 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65300
65301 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65302
65303 [BZ #14683]
65304 * elf/Makefile (tests-static): Add tst-leaks1-static.
65305 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65306 ($(objpfx)tst-leaks1-static): New rule.
65307 ($(objpfx)tst-leaks1-static-mem): Likewise.
65308 (tst-leaks1-static-ENV): New macro.
65309 * elf/dl-open.c (dl_open_worker): Check the main application
65310 only if SHARED is defined.
65311 * elf/tst-leaks1-static.c: New file.
65312
65313 2012-10-20 Andreas Jaeger <aj@suse.de>
65314
65315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65316 generic values for Linux.
65317 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65318 and declarations that are provided by <bits/fcntl-linux.h> and
65319 include <bits/fcntl-linux.h>.
65320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65322
65323 2012-10-20 Roland McGrath <roland@hack.frob.com>
65324
65325 * io/fcntl.h: Move include of <bits/types.h> to the top and
65326 include it unconditionally.
65327
65328 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65329
65330 * wcsmbs/Makefile (tests-ifunc): New variable.
65331 (tests): Add $(tests-ifunc).
65332 * wcsmbs/test-wcschr-ifunc.c: New file.
65333 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65334 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65335 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65336 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65337 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65338
65339 * string/Makefile (tests-ifunc): New variable.
65340 (tests): Add $(tests-ifunc).
65341 * string/test-memccpy.c (TEST_NAME): New macro.
65342 * string/test-memchr.c (TEST_NAME): Likewise.
65343 * string/test-memcmp.c (TEST_NAME): Likewise.
65344 * string/test-memcpy.c (TEST_NAME): Likewise.
65345 * string/test-memmem.c (TEST_NAME): Likewise.
65346 * string/test-memmove.c (TEST_NAME): Likewise.
65347 * string/test-memset.c (TEST_NAME): Likewise.
65348 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65349 * string/test-stpcpy.c (TEST_NAME): Likewise.
65350 * string/test-stpncpy.c (TEST_NAME): Likewise.
65351 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65352 * string/test-strcasestr.c (TEST_NAME): Likewise.
65353 * string/test-strcat.c (TEST_NAME): Likewise.
65354 * string/test-strchr.c (TEST_NAME): Likewise.
65355 * string/test-strcmp.c(TEST_NAME): Likewise.
65356 * string/test-strcpy.c (TEST_NAME): Likewise.
65357 * string/test-strcspn.c (TEST_NAME): Likewise.
65358 * string/test-strlen.c (TEST_NAME): Likewise.
65359 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65360 * string/test-strncmp.c (TEST_NAME): Likewise.
65361 * string/test-strncpy.c (TEST_NAME): Likewise.
65362 * string/test-strnlen.c (TEST_NAME): Likewise.
65363 * string/test-strpbrk.c (TEST_NAME): Likewise.
65364 * string/test-strrchr.c (TEST_NAME): Likewise.
65365 * string/test-strspn.c (TEST_NAME): Likewise.
65366 * string/test-strstr.c (TEST_NAME): Likewise.
65367 * string/test-bcopy-ifunc.c: New file.
65368 * string/test-bzero-ifunc.c: Likewise.
65369 * string/test-memccpy-ifunc.c: Likewise.
65370 * string/test-memchr-ifunc.c: Likewise.
65371 * string/test-memcmp-ifunc.c: Likewise.
65372 * string/test-memcpy-ifunc.c: Likewise.
65373 * string/test-memmem-ifunc.c: Likewise.
65374 * string/test-memmove-ifunc.c: Likewise.
65375 * string/test-mempcpy-ifunc.c: Likewise.
65376 * string/test-memset-ifunc.c: Likewise.
65377 * string/test-rawmemchr-ifunc.c: Likewise.
65378 * string/test-stpcpy-ifunc.c: Likewise.
65379 * string/test-stpncpy-ifunc.c: Likewise.
65380 * string/test-strcasecmp-ifunc.c: Likewise.
65381 * string/test-strcasestr-ifunc.c: Likewise.
65382 * string/test-strcat-ifunc.c: Likewise.
65383 * string/test-strchr-ifunc.c: Likewise.
65384 * string/test-strchrnul-ifunc.c: Likewise.
65385 * string/test-strcmp-ifunc.c: Likewise.
65386 * string/test-strcpy-ifunc.c: Likewise.
65387 * string/test-strcspn-ifunc.c: Likewise.
65388 * string/test-strlen-ifunc.c: Likewise.
65389 * string/test-strncasecmp-ifunc.c: Likewise.
65390 * string/test-strncat-ifunc.c: Likewise.
65391 * string/test-strncmp-ifunc.c: Likewise.
65392 * string/test-strncpy-ifunc.c: Likewise.
65393 * string/test-strnlen-ifunc.c: Likewise.
65394 * string/test-strpbrk-ifunc.c: Likewise.
65395 * string/test-strrchr-ifunc.c: Likewise.
65396 * string/test-strspn-ifunc.c: Likewise.
65397 * string/test-strstr-ifunc.c: Likewise.
65398
65399 * debug/Makefile (tests-ifunc): New variable.
65400 (tests): Add $(tests-ifunc).
65401 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65402 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65403 * debug/test-stpcpy_chk-ifunc.c: New file.
65404 * debug/test-strcpy_chk-ifunc.c: Likewise.
65405
65406 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65407
65408 [BZ #13601]
65409 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65410 header is not read in.
65411
65412 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65413
65414 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65415 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65416 directly. Pass built executable to script as
65417 $(built-program-cmd).
65418 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65419 $testprogram without using LD_LIBRARY_PATH and $ldso.
65420
65421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65422 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65423 $(rtld-installed-name).
65424 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65425 (rtld_installed_name): Likewise.
65426 (library_path): Likewise.
65427 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65428 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65429 $(run-program-prefix) to tst-tables.sh.
65430 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65431 it to run tst-table-from and tst-table-to.
65432 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65433 Pass it to tst-table.sh.
65434 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65435 $(run-program-prefix) to tst-gettext.sh.
65436 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65437 tst-translit.sh.
65438 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65439 tst-gettext2.sh.
65440 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65441 to run tst-gettext.
65442 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65443 to run tst-gettext2.
65444 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65445 to run tst-translit.
65446 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65447 $(run-program-prefix) to tst-mtrace.sh.
65448 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65449 to run tst-mtrace.
65450 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65451 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65452 $(rtld-installed-name).
65453 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65454 (rtld_installed_name): Likewise.
65455 (run_program_prefix): New variable. Use it to run wordexp-test.
65456
65457 * Makeconfig (ARCH): Remove all definitions.
65458 (machine): Likewise.
65459 [ARCH]: Remove conditional code.
65460 [!objdir]: Give error.
65461 [!objdir] (objpfx): Remove.
65462 [!objdir] (common-objpfx): Likewise.
65463 [!objdir] (common-objdir): Likewise.
65464 * configure.in (config_makefile): Remove. Hardcode Makefile in
65465 AC_CONFIG_FILES call.
65466 * configure: Regenerated.
65467
65468 [BZ #13888]
65469 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65470 or TMPDIR.
65471 (testout): Likewise.
65472
65473 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65474 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65475 $(rtld-installed-name).
65476 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65477 (rtld_installed_name): Likewise.
65478 (runit): Remove function.
65479 (run_getconf): New variable, Use it for running getconf binary.
65480
65481 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65482
65483 [BZ #14716]
65484 * string/test-memmem.c (check_result): New function.
65485 (do_one_test): Use it.
65486 (check1): New function.
65487 (test_main): Use it.
65488
65489 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65490
65491 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65492
65493 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65494
65495 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65496 (_G_LSEEK64): Likewise.
65497 (_G_MMAP64): Likewise.
65498 (_G_FSTAT64): Likewise.
65499 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65500 (_G_LSEEK64): Likewise.
65501 (_G_MMAP64): Likewise.
65502 (_G_FSTAT64): Likewise.
65503 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65504 unconditional. Call __mmap64 directly.
65505 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65506 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65507 __lseek64 directly.
65508 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65509 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65510 __mmap64 directly.
65511 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65512 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65513 __lseek64 directly.
65514 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65515 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65516 __lseek64 directly.
65517 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65518 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65519 __lseek64 directly.
65520 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65521 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65522 __fxstat64 directly.
65523 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65524 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65525 unconditional.
65526 (freopen64) [!_G_OPEN64]: Remove conditional code.
65527 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65528 unconditional.
65529 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65530 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65531 unconditional.
65532 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65533 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65534 unconditional.
65535 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65536 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65537 unconditional.
65538 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65539 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65540 unconditional.
65541 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65542 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65543 unconditional.
65544 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65545 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65546 unconditional.
65547 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65548
65549 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
65550
65551 [BZ #12140]
65552 * manual/memory.texi (Malloc Tunable Parameters): Add note
65553 about free list pointers overwriting some perturb bytes.
65554 Wording suggested by Roland McGrath.
65555
65556 2012-10-17 Joseph Myers <joseph@codesourcery.com>
65557
65558 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65559 (lgamma_test): Likewise.
65560 (tgamma_test): Likewise.
65561
65562 2012-10-16 Florian Weimer <fweimer@redhat.com>
65563
65564 [BZ #14700]
65565 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65566 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65567
65568 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
65569
65570 * NEWS: Mention BZ #14716.
65571 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65572 when removing AVAILABLE1_USES_J macro.
65573
65574 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
65575
65576 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65577 (__bswap_64): __uint64_t for unsigned 64-bit int.
65578
65579 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
65580
65581 * include/string.h (memmem): Declare libc hidden alias.
65582 * string/memmem.c (memmem): Define libc hidden alias.
65583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65584 __read, __close instead of open, read, close.
65585
65586 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65587
65588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65589 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65590 global and hidden.
65591 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65592 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65593 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65594 Likewise.
65595 (__rawmemchr_sse2): Likewise.
65596 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65597 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65598 (__strchr_sse2): Likewise.
65599 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65600 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65601 (__strcasecmp_sse2): Likewise.
65602 (__strncasecmp_sse2): Likewise.
65603 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65604 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65605 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65606 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65607 (__strrchr_sse2): Likewise.
65608 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65609 ifunc-impl-list.c.
65610 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65611 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65612 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65613 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65614 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65615 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65616 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65617 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65618 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65619 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65620 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65621 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65622 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65623 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65624 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65625 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65626 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65627 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65628 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65629 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65630 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65631 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65632 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65633 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65634 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65636 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65637 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65638 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65639 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65640
65641 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65642 global and hidden.
65643 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65644 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65645 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65646 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65647 Likewise.
65648 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65649 Likewise.
65650 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65651 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65652 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65653 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65654 ifunc-impl-list.c.
65655 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65656 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65657 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65664 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65665 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65666 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65667 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65668 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65669 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65671 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65672 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65675 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65676 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65677 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65678 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65680 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65681 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65682 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65683 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65684 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65685 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65686 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65687 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65688 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65691 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65692 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65693 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65694 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65695 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65696
65697 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65698 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65699 * include/ifunc-impl-list.h: New file.
65700 * misc/ifunc-impl-list.c: Likewise.
65701 * misc/Makefile (routines): Add ifunc-impl-list.
65702 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65703 * string/test-string.h: Include <ifunc-impl-list.h>.
65704 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65705 TEST_NAME]: New variables.
65706 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65707 are defined.
65708 (test_init): Call __libc_ifunc_impl_list to initialize
65709 func_list if TEST_IFUNC and TEST_NAME are defined.
65710
65711 * string/Makefile (strop-tests): Add bcopy and bzero.
65712 * string/test-bcopy.c: New file.
65713 * string/test-bzero.c: Likewise.
65714 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65715 defined.
65716 * string/test-memset.c: Support bzero test if TEST_BZERO is
65717 defined.
65718 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65719 __libc_memmove.
65720 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65721 __libc_memset.
65722 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65723 of memset.
65724
65725 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65726
65727 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65728 * configure: Regenerated.
65729
65730 * Makeconfig (+link-static-before-libc): Don't include
65731 $(link-static-libc).
65732
65733 * libio/libio.h (_IO_pos_t): Remove.
65734
65735 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65736
65737 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65738 McGrath.
65739
65740 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65741
65742 * crypt/crypt-entry.c: Include fips-private.h.
65743 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65744 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65745 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65746 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65747
65748 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65749
65750 * crypt/crypt-private.h: Include stdbool.h.
65751 (_ufc_setup_salt_r): Return bool.
65752 * crypt/crypt-entry.c: Include errno.h.
65753 (__crypt_r): Return NULL with EINVAL for bad salt.
65754 * crypt/crypt_util.c (bad_for_salt): New.
65755 (_ufc_setup_salt_r): Check that salt is long enough and within
65756 the specified alphabet.
65757 * crypt/badsalttest.c: New file.
65758 * crypt/Makefile (tests): Add it.
65759 ($(objpfx)badsalttest): New.
65760
65761 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65762
65763 * NEWS: Add entry for BZ #14602.
65764
65765 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65766
65767 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65768 type-generic.
65769 * math/libm-test.inc: Update comment listing what functions and
65770 macros are tested.
65771 (isgreater_test): New function.
65772 (isgreaterequal_test): Likewise.
65773 (isless_test): Likewise.
65774 (islessequal_test): Likewise.
65775 (islessgreater_test): Likewise.
65776 (isunordered_test): Likewise.
65777 (main): Call the new functions.
65778
65779 2012-10-09 Roland McGrath <roland@hack.frob.com>
65780
65781 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65782 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65783 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65784 * sysdeps/i386/configure: Regenerated.
65785 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65786 * sysdeps/mach/configure: Regenerated.
65787 * sysdeps/mach/hurd/configure: Regenerated.
65788 * sysdeps/powerpc/configure: Regenerated.
65789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65791 * sysdeps/s390/s390-32/configure: Regenerated.
65792 * sysdeps/s390/s390-64/configure: Regenerated.
65793 * sysdeps/sh/configure: Regenerated.
65794 * sysdeps/sparc/configure: Regenerated.
65795 * sysdeps/unix/sysv/linux/configure: Regenerated.
65796 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65797 * sysdeps/x86_64/configure: Regenerated.
65798
65799 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65800 defined. Don't check if MAP is NULL.
65801
65802 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65803
65804 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65805 (_G_stat64): Likewise.
65806 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65807 (_G_stat64): Likewise.
65808 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65809 instead of struct _G_stat64.
65810 * libio/fileops.c (mmap_remap_check): Likewise.
65811 (decide_maybe_mmap): Likewise.
65812 (_IO_new_file_seekoff): Likewise.
65813 (_IO_file_stat): Likewise.
65814 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65815 _G_off64_t.
65816 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65817 instead of struct _G_stat64.
65818 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65819
65820 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65821
65822 [BZ #14602]
65823 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65824 Replace with ...
65825 (CHECK_EOL): New macro.
65826 (two_way_short_needle): Check beginning of haystack for EOL. Use
65827 CHECK_EOL.
65828 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65829 Replace with CHECK_EOL.
65830 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65831 Replace with CHECK_EOL.
65832
65833 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65834
65835 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65836 type-generic.
65837 * math/libm-test.inc: Update comment listing what functions and
65838 macros are tested.
65839 (finite_test): New function.
65840 (isinf_test): Likewise.
65841 (isnan_test): Likewise.
65842 (fpclassify_test): Test subnormal input.
65843 (isfinite_test): Likewise.
65844 (isnormal_test): Likewise.
65845 (main): Call the new functions.
65846
65847 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65848
65849 [BZ #14660]
65850 * Makerules (%.dynsym): Force C locale when running
65851 $(OBJDUMP) --dynamic-syms.
65852
65853 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65854
65855 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65856 <stdint.h>.
65857
65858 2012-10-06 David S. Miller <davem@davemloft.net>
65859
65860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65861 upper 32-bits of the length value in %o2 since we use branch-on-register
65862 tests which consider the entire 64-bit register.
65863
65864 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65865
65866 * string/test-strstr.c (check2): Add a test for page boundary.
65867
65868 2012-10-05 David S. Miller <davem@davemloft.net>
65869
65870 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65871 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65872 file.
65873 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65874 sysdep_routines.
65875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65876 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65877 and bzero when HWCAP_SPARC_CRYPTO is present.
65878
65879 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65880
65881 [BZ #14602]
65882 * string/test-strstr.c (check2): New function.
65883 (test_main): Call check2.
65884
65885 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65886 and bug-strchr1.
65887 * string/bug-strcasestr1.c (do_test): Moved to ...
65888 * string/test-strcasestr.c (check1): Here. New function.
65889 (do_one_test): Break out result checking code into ...
65890 (check_result): This. New function.
65891 (do_one_test): Call check_result.
65892 (test_main): Call check1.
65893 * string/bug-strchr1.c (do_test): Moved to ...
65894 * string/test-strchr.c (check1): Here. New function.
65895 (do_one_test): Break out result checking code into ...
65896 (check_result): This. New function.
65897 (do_one_test): Call check_result.
65898 (test_main): Call check1.
65899 * string/bug-strstr1.c (main): Moved to ...
65900 * string/test-strstr.c (check1): Here. New function.
65901 (do_one_test): Break out result checking code into ...
65902 (check_result): This. New function.
65903 (do_one_test): Call check_result.
65904 (test_main): Call check1.
65905 * string/bug-strcasestr1.c: Removed.
65906 * string/bug-strchr1.c: Likewise.
65907 * string/bug-strstr1.c: Likewise.
65908
65909 * elf/Makefile (dl-routines): Add hwcaps.
65910 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65911 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65912 (_dl_important_hwcaps): Moved to ...
65913 * elf/dl-hwcaps.c: Here. New file.
65914 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65915
65916 [BZ #14557]
65917 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65918 if IS_IN_rtld isn't defined.
65919
65920 * elf/dl-support.c (_dl_sysinfo_map): New.
65921 Include "get-dynamic-info.h" and "setup-vdso.h".
65922 (_dl_non_dynamic_init): Call setup_vdso.
65923 * elf/dynamic-link.h: Don't include <assert.h>.
65924 (elf_get_dynamic_info): Moved to ...
65925 * elf/get-dynamic-info.h: Here. New file.
65926 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65927 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65928 * elf/setup-vdso.h: Here. New file.
65929 * elf/rtld.c: Include "setup-vdso.h".
65930 (dl_main): Call setup_vdso.
65931
65932 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65933
65934 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65935 creal in comment listing functions tested. List finite, isinf,
65936 isnan, isless, islessequal, isgreater, isgreaterequal,
65937 islessgreater, isunordered, lgamma_r and pow10 as functions and
65938 macros not tested. Mention which functions not tested are aliases
65939 for other functions. Fix typo. Note that signs of NaNs are not
65940 tested.
65941
65942 * scripts/config.guess: Update from config.git.
65943 * scripts/config.sub: Likewise.
65944
65945 2012-10-04 Roland McGrath <roland@hack.frob.com>
65946
65947 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65948 * misc/madvise.c (madvise): Renamed to __madvise.
65949 Make madvise a weak alias.
65950 * include/sys/mman.h: Declare __madvise.
65951 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65952 * sysdeps/unix/syscalls.list
65953 (madvise): Make __madvise the strong name, and madvise a weak alias.
65954 * sysdeps/unix/sysv/linux/syscalls.list
65955 (madvise, mmap): Remove redundant entries.
65956 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65957 * malloc/malloc.c (mtrim): Likewise.
65958 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65959
65960 2012-10-03 Roland McGrath <roland@hack.frob.com>
65961
65962 * sysdeps/mach/hurd/dl-cache.c: File removed.
65963 * config.h.in (USE_LDCONFIG): New #undef.
65964 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65965 * configure: Regenerated.
65966 * elf/Makefile (dl-routines): Add dl-cache only under
65967 [$(use-ldconfig) = yes].
65968 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65969 cache on [USE_LDCONFIG].
65970 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65971 [USE_LDCONFIG].
65972 * elf/rtld.c (dl_main): Likewise.
65973
65974 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65975
65976 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65977 _SC_LEVEL4_CACHE_LINESIZE.
65978
65979 2012-10-03 Roland McGrath <roland@hack.frob.com>
65980
65981 * sysdeps/unix/bsd/confstr.h: File removed.
65982
65983 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65984
65985 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65986 sys/sdt-config.h.
65987
65988 2012-10-02 Roland McGrath <roland@hack.frob.com>
65989
65990 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65991 Make 'mapoff' field ElfW(Off) rather than off_t.
65992
65993 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65994
65995 * nscd/Makefile: Remove nscd-cflags and all its users.
65996 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65997 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65998
65999 [BZ #10631]
66000 * malloc.c (malloc_printerr): Clarify error message.
66001
66002 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
66003
66004 [BZ #14648]
66005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66006 Set bit_FMA_Usable if FMA is supported.
66007 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66008 macro.
66009 (bit_FMA4_Usable): Updated.
66010 (index_FMA_Usable): New macro.
66011 (CPUID_FMA): Likewise.
66012 (HAS_FMA): Defined with bit_FMA_Usable.
66013
66014 2012-10-01 Roland McGrath <roland@hack.frob.com>
66015
66016 * bits/types.h (__swblk_t): Type removed.
66017 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66018 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66020 (__SWBLK_T_TYPE): Likewise.
66021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66022 (__SWBLK_T_TYPE): Likewise.
66023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66024 (__SWBLK_T_TYPE): Likewise.
66025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66026 (__SWBLK_T_TYPE): Likewise.
66027
66028 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
66029 Honza Horak <hhorak@redhat.com>
66030
66031 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66032 (xdr_mapname): Use YPMAXMAP as maxsize.
66033 (xdr_peername): Use YPMAXPEER as maxsize.
66034 (xdr_keydat): Use YPAXRECORD as maxsize.
66035 (xdr_valdat): Use YPMAXRECORD as maxsize.
66036
66037 2012-10-01 Roland McGrath <roland@hack.frob.com>
66038
66039 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66040
66041 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66042 * csu/init-first.c: ... here.
66043 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66044 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66045 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66046 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66047 * sysdeps/i386/init-first.c: File removed.
66048 * sysdeps/sh/init-first.c: File removed.
66049
66050 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66051
66052 [BZ #14645]
66053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66054 if x * y might underflow to zero and z is zero.
66055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66057 * math/libm-test.inc (min_subnorm_value): New variable.
66058 (fma_test): Add more tests.
66059 (fma_test_towardzero): Likewise.
66060 (fma_test_downward): Likewise.
66061 (fma_test_upward): Likewise.
66062 (initialize): Set min_subnorm_value.
66063
66064 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66065
66066 [BZ #14638]
66067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66068 0 + 0.
66069 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66070 mode for addition resulting in exact zero.
66071 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66073 exact 0 + 0.
66074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66076 * math/libm-test.inc (fma_test): Add more tests.
66077 (fma_test_towardzero): New function.
66078 (fma_test_downward): Likewise.
66079 (fma_test_upward): Likewise.
66080 (main): Call the new functions.
66081
66082 2012-09-28 David S. Miller <davem@davemloft.net>
66083
66084 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66085
66086 2012-09-28 Roland McGrath <roland@hack.frob.com>
66087
66088 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66089 instead of SIGALRM.
66090
66091 * sysdeps/gnu/_G_config.h: Moved to ...
66092 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66093 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66094 * sysdeps/generic/_G_config.h: ... here.
66095
66096 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66097
66098 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66099
66100 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66101 Conditionalize target on [libnss_test1.so-version].
66102
66103 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66104
66105 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66106 (elfobjdir): Move out of conditionals.
66107
66108 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66109 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66110 (__nss_lookup_function): Conditionalize label remove_from_tree on
66111 [!DO_STATIC_NSS || SHARED], matching its only use.
66112
66113 2012-09-28 David S. Miller <davem@davemloft.net>
66114
66115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66116 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66117 file.
66118 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66119 sysdep_routines.
66120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66122 when HWCAP_SPARC_CRYPTO is present.
66123
66124 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66125
66126 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66127
66128 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66129
66130 [BZ #6530]
66131 * stdio-common/vfprintf.c (process_string_arg): Revert
66132 2000-07-22 change.
66133
66134 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66135
66136 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66137 for testcase.
66138 * stdio-common/tst-sprintf.c: Include <locale.h>
66139 (main): Test sprintf's handling of incomplete multibyte
66140 characters.
66141
66142 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66143
66144 * elf/dl-runtime.c (VERSYMIDX): Removed.
66145 * elf/dl-version.c (VERSYMIDX): Likewise.
66146 * elf/do-rel.h (VERSYMIDX): Likewise.
66147 (VALIDX): Likewise.
66148 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66149 * elf/rtld.c (VALIDX): Likewise.
66150 (ADDRIDX): Likewise.
66151 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66152 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66153 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66154 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66155 (VALIDX): Likewise.
66156 (ADDRIDX): Likewise.
66157
66158 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66159
66160 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66161
66162 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66163
66164 [BZ #11438]
66165 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66166 to global scope.
66167 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66168 addresses are in the same scope as 192.0.2/24.
66169 * posix/gai.conf: Document new scope table defaults.
66170
66171 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66172
66173 [BZ #5298]
66174 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66175 for ftell. Compute offsets from write pointers instead.
66176 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66177
66178 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66179
66180 [BZ #14543]
66181 * libio/Makefile (tests): New test case tst-fseek.
66182 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66183 combination works in wide mode.
66184 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66185 state when the external buffer state changes.
66186
66187 2012-09-27 David S. Miller <davem@davemloft.net>
66188
66189 [BZ #14376]
66190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66191 pass reloc->r_addend in as the 'high' argument to
66192 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66193
66194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66195
66196 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66197
66198 * rt/tst-aio2.c: Include <pthread.h>.
66199 * rt/tst-aio3.c: Likewise.
66200
66201 2012-09-27 Steve Ellcey <sellcey@mips.com>
66202
66203 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66204
66205 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66206
66207 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66208 contents on [SHARED].
66209
66210 2012-09-26 Marek Polacek <polacek@redhat.com>
66211
66212 [BZ #14530]
66213 [BZ #13741]
66214 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66215 for C++ and GCC <4.3 as well as for non GCC compilers.
66216
66217 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66218
66219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66220
66221 2012-09-25 Roland McGrath <roland@hack.frob.com>
66222
66223 * Makefile.in (all, install): Declare with .PHONY.
66224 Reported by Michael Hope <michael.hope@linaro.org>.
66225
66226 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66227
66228 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66229 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66230 system header.
66231 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66232 Likewise.
66233 (sydep_routines): Add the new and the internal functions.
66234 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66235 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66237 (GLIBC_2.17): Add the new function.
66238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66239 (GLIBC_2.17): Likewise.
66240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66241 (GLIBC_2.17): Likewise.
66242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66243 (GLIBC_2.17): Likewise.
66244 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66245
66246 2012-09-25 Alan Modra <amodra@gmail.com>
66247
66248 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66249 Add release barrier before setting once_control to say
66250 initialisation is done. Add hints on lwarx. Use macro in
66251 place of isync.
66252 (clear_once_control): Add release barrier.
66253
66254 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66255
66256 [BZ #13629]
66257 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66258 specially.
66259 * math/s_clog10.c (__clog10): Likewise.
66260 * math/s_clog10f.c (__clog10f): Likewise.
66261 * math/s_clog10l.c (__clog10l): Likewise.
66262 * math/s_clogf.c (__clogf): Likewise.
66263 * math/s_clogl.c (__clogl): Likewise.
66264 * math/Makefile (libm-calls): Add x2y2m1.
66265 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66266 (__x2y2m1): Likewise.
66267 (__x2y2m1l): Likewise.
66268 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66269 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66270 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66271 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66272 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66273 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66274 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66275 * sysdeps/i386/fpu/libm-test-ulps: Update.
66276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66277
66278 [BZ #14621]
66279 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66280 int as type of variable DEPTH.
66281 (glob): Use size_t instead of int as type of variables NEWCOUNT
66282 and OLD_PATHC.
66283
66284 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66285
66286 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66287 Add s_sincosf-sse2.
66288 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66289 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66290 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66291 macros for using routine as __sincosf_ia32.
66292 Use macro for function declaration and weak_alias.
66293 * sysdeps/i386/fpu/libm-test-ulps: Update.
66294
66295 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66297
66298 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66299 subnormal argument.
66300 * math/s_cexpf.c (__cexpf): Likewise.
66301 * math/s_csinf.c (__csinf): Likewise.
66302 * math/s_csinhf.c (__csinhf): Likewise.
66303 * math/s_ctanf.c (__ctanf): Likewise.
66304 * math/s_ctanhf.c (__ctanhf): Likewise.
66305 * math/s_ccosh.c (__ccoshf): Likewise.
66306 * math/s_cexp.c (__cexpl): Likewise.
66307 * math/s_csin.c (__csin): Likewise.
66308 * math/s_csinh.c (__csinh): Likewise.
66309 * math/s_ctan.c (__ctan): Likewise.
66310 * math/s_ctanh.c (ctanh): Likewise.
66311 * math/s_ccoshl.c (__ccoshl): Likewise.
66312 * math/s_cexpl.c (__cexpl): Likewise.
66313 * math/s_csinl.c (__csinl): Likewise.
66314 * math/s_csinhl.c (__csinhl): Likewise.
66315 * math/s_ctanl.c (__ctanl): Likewise.
66316 * math/s_ctanhl.c (__ctanhl): Likewise.
66317
66318 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66319
66320 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66321 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66322 (_IO_off_t): Define to __off_t, not _G_off_t.
66323 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66324 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66325 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66326 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66327 type of __dummy and __dummy2 fields.
66328 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66329 (_G_ssize_t): Likewise.
66330 (_G_off_t): Likewise.
66331 (_G_pid_t): Likewise.
66332 (_G_uid_t): Likewise.
66333 (_G_wchar_t): Likewise.
66334 (_G_wint_t): Likewise.
66335 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66336 (_G_ssize_t): Likewise.
66337 (_G_off_t): Likewise.
66338 (_G_pid_t): Likewise.
66339 (_G_uid_t): Likewise.
66340 (_G_wchar_t): Likewise.
66341 (_G_wint_t): Likewise.
66342 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66343 (_G_ssize_t): Likewise.
66344 (_G_off_t): Likewise.
66345 (_G_pid_t): Likewise.
66346 (_G_uid_t): Likewise.
66347 (_G_wchar_t): Likewise.
66348 (_G_wint_t): Likewise.
66349
66350 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66351
66352 * malloc/arena.c: Include malloc-sysdep.h.
66353 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66354 is sufficient to shrink the heap or an unmap is needed.
66355 * sysdeps/generic/malloc-sysdep.h: New file. Define
66356 new function check_may_shrink_heap.
66357 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66358 new function check_may_shrink_heap.
66359
66360 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66361
66362 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66363 comments.
66364
66365 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66366
66367 * catgets/test-gencat.sh: Add "set -e".
66368 * elf/tst-pathopt.sh: Likewise.
66369 * grp/tst_fgetgrent.sh: Likewise.
66370 * iconvdata/run-iconv-test.sh: Likewise.
66371 * intl/tst-gettext.sh: Likewise.
66372 * intl/tst-gettext2.sh: Likewise.
66373 * intl/tst-gettext4.sh: Likewise.
66374 * intl/tst-gettext6.sh: Likewise.
66375 * intl/tst-translit.sh: Likewise.
66376 * io/ftwtest-sh: Likewise.
66377 * libio/test-freopen.sh: Likewise.
66378 * malloc/tst-mtrace.sh: Likewise.
66379 * posix/globtest.sh: Likewise.
66380 * posix/tst-getconf.sh: Likewise.
66381 * posix/wordexp-tst.sh: Likewise.
66382 * stdio-common/tst-printf.sh: Likewise.
66383 * stdio-common/tst-unbputc.sh: Likewise.
66384 * stdlib/tst-fmtmsg.sh: Likewise.
66385 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66386 * catgets/Makefile: Do not specify -e option when running
66387 testsuite shell scripts.
66388 * elf/Makefile: Likewise.
66389 * grp/Makefile: Likewise.
66390 * iconvdata/Makefile: Likewise.
66391 * intl/Makefile: Likewise.
66392 * io/Makefile: Likewise.
66393 * libio/Makefile: Likewise.
66394 * malloc/Makefile: Likewise.
66395 * posix/Makefile: Likewise.
66396 * stdio-common/Makefile: Likewise.
66397 * stdlib/Makefile: Likewise.
66398 * sysdeps/x86_64/Makefile: Likewise.
66399
66400 * io/ftwtest-sh: Add copyright header.
66401 * posix/globtest.sh: Likewise.
66402 * posix/tst-getconf.sh: Likewise.
66403 * posix/wordexp-tst.sh: Likewise.
66404 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66405
66406 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66407
66408 [BZ #13679]
66409 * Makeconfig (+link): Defined as $(+link-static) if
66410 $(build-shared) isn't yes.
66411 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66412 isn't yes.
66413 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66414
66415 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66416
66417 [BZ #14562]
66418 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66419 new chunk size with MALLOC_ALIGN_MASK.
66420
66421 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66422
66423 [BZ #5044]
66424 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66425 <rounding-mode.h>.
66426 (__printf_fphex): Determine rounding using get_rounding_mode and
66427 round_away.
66428 * stdio-common/tst-printf-round.c (struct hex_test): New
66429 structure.
66430 (hex_tests): New variable.
66431 (test_hex_in_one_mode): New function.
66432 (do_test): Also run tests for hex float output.
66433
66434 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66435
66436 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66437 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66438 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66439 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66440 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66441 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66442 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66443 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66444
66445 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66446
66447 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66448 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66449 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66450 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66451
66452 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66453
66454 [BZ #14579]
66455 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66456 mode only.
66457 * elf/tst-rtld-load-self.sh: New test.
66458 * elf/Makefile: Run it.
66459
66460 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66461
66462 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66463 (tst-writev-ENV): Remove.
66464 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66465
66466 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66467
66468 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66469
66470 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66471
66472 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66473 unconditional.
66474 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66475 Likewise.
66476 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66477 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66478 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66479 Likewise.
66480
66481 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66482
66483 [BZ #14587]
66484 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66485 * config.make.in (have-cpp-asm-debuginfo): Removed.
66486 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66487 * configure: Regenerated.
66488
66489 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66490
66491 [BZ #5044]
66492 * stdio-common/printf_fp.c: Include <stdbool.h> and
66493 <rounding-mode.h>.
66494 (___printf_fp): Determine rounding using get_rounding_mode and
66495 round_away.
66496 * stdio-common/tst-printf-round.c: New file.
66497 * stdio-common/Makefile (tests): Add tst-printf-round.
66498 (link-libm): New variable.
66499 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66500
66501 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66502
66503 [BZ #14576]
66504 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66505 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66506 Likewise.
66507 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66508 Likewise.
66509
66510 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66511
66512 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66513 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66514 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66515 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66516
66517 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66518
66519 [BZ #14518]
66520 * include/rounding-mode.h: New file.
66521 * sysdeps/generic/get-rounding-mode.h: Likewise.
66522 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66523 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66524 (MAX_VALUE): New macro.
66525 (MIN_VALUE): Likewise.
66526 (overflow_value): New function.
66527 (underflow_value): Likewise.
66528 (round_and_return): Use overflow_value and underflow_value to
66529 determine return values in overflow and underflow cases. Use
66530 round_away to determine rounding depending on rounding mode.
66531 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66532 determine return values in overflow and underflow cases.
66533 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66534 (struct test_results): New structure.
66535 (struct test): Use struct test_results to store expected results
66536 for all rounding modes.
66537 (TEST): Include expected results for all rounding modes.
66538 (test_in_one_mode): New function.
66539 (do_test): Use test_in_one_mode to compute and check results.
66540 Check results for all rounding modes.
66541 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66542 $(link-libm).
66543
66544 2012-12-09 Allan McRae <allan@archlinux.org>
66545
66546 * sysdeps/i386/fpu/libm-test-ulps: Update
66547
66548 2012-09-11 Joseph Myers <joseph@codesourcery.com>
66549
66550 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66551 (_G_int32_t): Likewise.
66552 (_G_uint16_t): Likewise.
66553 (_G_uint32_t): Likewise.
66554 (_G_HAVE_BOOL): Likewise.
66555 (_G_HAVE_ATEXIT): Likewise.
66556 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66557 (_G_HAVE_IO_FILE_OPEN): Likewise.
66558 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66559 (_G_int32_t): Likewise.
66560 (_G_uint16_t): Likewise.
66561 (_G_uint32_t): Likewise.
66562 (_G_HAVE_BOOL): Likewise.
66563 (_G_HAVE_ATEXIT): Likewise.
66564 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66565 (_G_HAVE_IO_FILE_OPEN): Likewise.
66566 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66567 (_G_int32_t): Likewise.
66568 (_G_uint16_t): Likewise.
66569 (_G_uint32_t): Likewise.
66570 (_G_HAVE_BOOL): Likewise.
66571 (_G_HAVE_ATEXIT): Likewise.
66572 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66573 (_G_HAVE_IO_FILE_OPEN): Likewise.
66574
66575 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
66576
66577 * csu/libc-tls.c: Update copyright years.
66578
66579 2012-09-10 Joseph Myers <joseph@codesourcery.com>
66580
66581 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66582 [!_G_USING_THUNKS]: Remove conditional code.
66583 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66584 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66585
66586 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66587 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66588 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66589 (_G_VTABLE_LABEL_PREFIX): Likewise.
66590 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66591 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66592 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66593 (_G_VTABLE_LABEL_PREFIX): Likewise.
66594 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66595 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66596 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66597 (_G_VTABLE_LABEL_PREFIX): Likewise.
66598 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66599
66600 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66601
66602 * libio/Makefile: Include ../Makeconfig before tests.
66603 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66604 only if $(build-shared) is yes.
66605
66606 * iconv/gconv_db.c: Update copyright years.
66607
66608 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66609
66610 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66611 unwind info if defined PIC. Fix special cases description.
66612 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66613
66614 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66615 DP_HI_MASK entry.
66616 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66617
66618 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66619
66620 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66621
66622 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66623 is NULL.
66624
66625 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66626 (LDLIBS-tst-chk4): This.
66627 (LDFLAGS-tst-chk5): Renamed to ...
66628 (LDLIBS-tst-chk5): This.
66629 (LDFLAGS-tst-chk6): Renamed to ...
66630 (LDLIBS-tst-chk6): This.
66631 (LDFLAGS-tst-lfschk4): Renamed to ...
66632 (LDLIBS-tst-lfschk4): This.
66633 (LDFLAGS-tst-lfschk5): Renamed to ...
66634 (LDLIBS-tst-lfschk5): This.
66635 (LDFLAGS-tst-lfschk6): Renamed to ...
66636 (LDLIBS-tst-lfschk6): This.
66637
66638 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66639 on $(common-objpfx)soversions.mk.
66640
66641 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66642
66643 [BZ #10014]
66644 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66645 example host name.
66646
66647 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66648
66649 * malloc/arena.c (arena_get_retry): New function that gets
66650 another arena for the caller to try its request on.
66651 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66652 current arena cannot fulfill the request.
66653 (__libc_memalign): Likewise.
66654 (__libc_memalign): Likewise.
66655 (__libc_pvalloc): Likewise.
66656 (__libc_calloc): Likewise.
66657
66658 2012-09-05 John Tobey <john.tobey@gmail.com>
66659
66660 [BZ #13542]
66661 * manual/arith.texi (Operations on Complex): Fix description
66662 of carg branch cut.
66663
66664 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66665
66666 [BZ #10014]
66667 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66668 host name.
66669
66670 [BZ #10038]
66671 * manual/memory.texi (Memory): Make order of menu items match
66672 order of sections.
66673
66674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66675
66676 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66677 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66678 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66679
66680 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66681
66682 * csu/libc-tls.c (static_dtv): Renamed to ...
66683 (_dl_static_dtv): This. Make it global.
66684 (_dl_initial_dtv): Removed.
66685 (__libc_setup_tls): Updated.
66686 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66687 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66688 DL_INITIAL_DTV.
66689
66690 2012-09-06 Petr Machata <pmachata@redhat.com>
66691
66692 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66693 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66694 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66695 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66696
66697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66698
66699 [BZ #14545]
66700 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66701 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66702 freeing dtv[-1].
66703
66704 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66705
66706 [BZ #14544]
66707 * Makeconfig (link-static-before-libc): Replace $(+prector)
66708 with $(+prectorT).
66709 (link-static-after-libc): Replace $(+postctor) with
66710 $(+postctorT).
66711 (link-bounded): Replace $(+prector)/$(+postctor) with
66712 $(+prectorT)/$(+postctorT).
66713 (+prectorT): New macro.
66714 (+postctorT): Likewise.
66715
66716 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66717
66718 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66719 (round_str): Handle values above the maximum for IBM long double
66720 as inexact.
66721 * stdlib/tst-strtod-round.c (tests): Regenerated.
66722
66723 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66724
66725 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66726 assembler flag.
66727 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66728 zarch_nohighgprs around the zarch optimized routines.
66729 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66730 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66731 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66732 for zarch.
66733
66734 2012-09-05 David S. Miller <davem@davemloft.net>
66735
66736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66737
66738 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66739 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66740 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66741 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66742 entries.
66743
66744 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66745
66746 * malloc/arena.c: Fold copyright years.
66747 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66748
66749 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66750
66751 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66752
66753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66754
66755 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66756
66757 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66758
66759 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66760 change internal state upon failure.
66761
66762 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66763
66764 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66765 * malloc/memusage.c (mmap): Likewise.
66766 (mmap64, mremap): Likewise. Adjust name in comment.
66767
66768 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66769
66770 * libio/fileops.c: Fix typos in comments.
66771 * libio/oldfileops.c: Likewise.
66772 * libio/wfileops.c: Likewise.
66773
66774 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66775
66776 [BZ #1349]
66777 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66778 (tst-malloc-usable-ENV): Set environment for test case.
66779 * malloc/hooks.c (malloc_check_get_size): New function to get
66780 requested size.
66781 * malloc/malloc.c (musable): Use malloc_check_get_size.
66782 * malloc/tst-malloc-usable.c: New test case.
66783
66784 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66785
66786 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66787
66788 2012-09-05 Allan McRae <allan@archlinux.org>
66789
66790 [BZ #13966]
66791 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66792 determine header location.
66793 * configure: Regenerated.
66794
66795 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66796
66797 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66798 float format.
66799 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66800 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66801 format.
66802 (test): Regenerate.
66803
66804 2012-09-04 David S. Miller <davem@davemloft.net>
66805
66806 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66807 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66808 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66809
66810 2012-09-04 Florian Weimer <fweimer@redhat.com>
66811
66812 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66813 failures.
66814
66815 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66816
66817 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66818
66819 [BZ #9914]
66820 * libio/iogetdelim.c: Include <limits.h>.
66821 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66822 + len + 1 would overflow.
66823
66824 2012-09-03 Andreas Jaeger <aj@suse.de>
66825
66826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66827 * sysdeps/i386/fpu/libm-test-ulps: Update.
66828
66829 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66830
66831 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66832 Add s_sinf-sse2, s_conf-sse2.
66833
66834 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66835 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66836 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66837 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66838
66839 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66840 for using routine as __sinf_ia32.
66841 Use macro for function declaration and weak_alias.
66842 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66843 for using routine as __cosf_ia32.
66844 Use macro for function declaration and weak_alias.
66845
66846 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66847 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66848
66849 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66850 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66852
66853 * math/libm-test.inc (cos_test): Add more test cases.
66854 (sin_test): Likewise.
66855 (sincos_test): Likewise.
66856
66857 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66858
66859 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66860 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66861 hidden.
66862 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66863
66864 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66865
66866 [BZ #14538]
66867 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66868 first element of the GOT.
66869 (elf_machine_load_address): Return the difference between
66870 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66871
66872 2012-09-01 Allan McRae <allan@archlinux.org>
66873
66874 [BZ #13412]
66875 * configure.in (AWK): Require gawk version 3.0 or later.
66876 * configure: Regenerated.
66877
66878 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66879
66880 * sysdeps/unix/sysv/linux/kernel-features.h
66881 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66883 [__NR_clock_getres]: Make code unconditional.
66884 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66885 (clock_getcpuclockid): Remove code left unreachable by removal of
66886 conditionals.
66887 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66888 code unconditional.
66889 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66891 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66892 Make code unconditional.
66893 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66894 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66895 * sysdeps/unix/sysv/linux/clock_settime.c
66896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66897 conditional code.
66898 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66899 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66900
66901 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66902
66903 [BZ #14476]
66904 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66905 scripts/test-installation.pl.
66906
66907 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66908 and $ld_so_version if it is set.
66909
66910 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66911
66912 [BZ #14516]
66913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66914 failure if reading from procfs failed.
66915 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66916
66917 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66918
66919 * sysdeps/unix/sysv/linux/kernel-features.h
66920 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66921 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66922 Remove conditional code.
66923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66924 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66925 Remove conditional code.
66926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66927 * sysdeps/unix/sysv/linux/i386/fxstat.c
66928 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66930 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66931 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66933 * sysdeps/unix/sysv/linux/i386/lxstat.c
66934 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66936 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66937 Remove conditional code.
66938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66939 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66940 Remove conditional code.
66941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66942 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66943 <kernel-features.h>.
66944 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66945 Remove.
66946 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66947 Remove conditional code.
66948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66949 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66950 Remove conditional.
66951
66952 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66953
66954 [BZ #5400]
66955 * NEWS: Add fixed bug number.
66956
66957 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66958
66959 [BZ #14519]
66960 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66961 underflowing exponent in case of negative sign.
66962 * stdlib/tst-strtod-round-data: Add more tests.
66963 * stdlib/tst-strtod-round.c (tests): Regenerated.
66964
66965 [BZ #3479]
66966 * stdlib/strtod_l.c (NDIG): Remove.
66967 (HEXNDIG): Likewise.
66968 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66969 smallest representable value.
66970 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66971 lie within an exact representation of 1/2 ulp of the result.
66972 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66973 unconditionally.
66974 (TENS_P9_IDX): Define unconditionally.
66975 (TENS_P9_SIZE): Likewise.
66976 (TENS_P10_IDX): Likewise.
66977 (TENS_P10_SIZE): Likewise.
66978 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66979 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66980 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66981 entries for 10^2^13 and 10^2^14.
66982 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66983 (TENS_P13_IDX): Define.
66984 (TENS_P13_SIZE): Likewise.
66985 (TENS_P14_IDX): Likewise.
66986 (TENS_P14_SIZE): Likewise.
66987 (_fpioconst_pow10): Change array size to
66988 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66989 unconditional.
66990 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66991 1024]: Add entries for 10^2^13 and 10^2^14.
66992 [LAST_POW10 > _LAST_POW10]: Remove #error.
66993 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66994 (_fpioconst_pow10): Change array size to
66995 FPIOCONST_POW10_ARRAY_SIZE.
66996 * stdlib/gen-fpioconst.c: New file.
66997 * stdlib/gen-tst-strtod-round.c: Likewise.
66998 * stdlib/tst-strtod-round-data: Likewise.
66999 * stdlib/tst-strtod-round.c: Likewise.
67000 * stdlib/Makefile (tests): Add tst-strtod-round.
67001
67002 [BZ #14459]
67003 * stdlib/strtod_l.c: Include <stdint.h>.
67004 (NDEBUG): Do not define.
67005 (round_and_return): Change EXPONENT parameter to type intmax_t.
67006 Rearrange calculations to avoid internal overflow possibilities.
67007 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67008 Rearrange calculations to avoid internal overflow possibilities.
67009 Assert that number fits inside MPNSIZE limbs.
67010 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67011 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
67012 calculations and add assertions to avoid internal overflow
67013 possibilities. Add casts to avoid signed/unsigned operations.
67014 * stdlib/tst-strtod-overflow.c: New file.
67015 * stdlib/Makefile (tests): Add tst-strtod-overflow.
67016
67017 2012-08-25 Marek Polacek <polacek@redhat.com>
67018
67019 * time/time.h: Fix some typos in comments.
67020
67021 2012-08-23 Roland McGrath <roland@hack.frob.com>
67022
67023 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67024 * posix/tst-rfc3484-2.c: Likewise.
67025 * posix/tst-rfc3484-3.c: Likewise.
67026
67027 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
67028
67029 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67030 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67031
67032 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67033
67034 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67035 #include of fxstatat64.c.
67036
67037 2012-08-22 Roland McGrath <roland@hack.frob.com>
67038
67039 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67040 * shadow/getspent_r.c: Likewise.
67041 * shadow/getspnam.c: Likewise.
67042 * shadow/getspnam_r.c: Likewise.
67043 * gshadow/getsgent.c: Likewise.
67044 * gshadow/getsgent_r.c: Likewise.
67045 * gshadow/getsgnam.c: Likewise.
67046 * gshadow/getsgnam_r.c: Likewise.
67047 * inet/getnetbyad.c: Likewise.
67048 * inet/getnetbyad_r.c: Likewise.
67049 * inet/getnetbynm.c: Likewise.
67050 * inet/getnetbynm_r.c: Likewise.
67051 * inet/getnetent.c: Likewise.
67052 * inet/getnetent_r.c: Likewise.
67053 * inet/getproto.c: Likewise.
67054 * inet/getproto_r.c: Likewise.
67055 * inet/getprtent.c: Likewise.
67056 * inet/getprtent_r.c: Likewise.
67057 * inet/getprtname.c: Likewise.
67058 * inet/getprtname_r.c: Likewise.
67059 * inet/getrpcbyname.c: Likewise.
67060 * inet/getrpcbyname_r.c: Likewise.
67061 * inet/getrpcbynumber.c: Likewise.
67062 * inet/getrpcbynumber_r.c: Likewise.
67063 * inet/getrpcent.c: Likewise.
67064 * inet/getrpcent_r.c: Likewise.
67065 * inet/getaliasent.c: Likewise.
67066 * inet/getaliasent_r.c: Likewise.
67067 * inet/getaliasname.c: Likewise.
67068 * inet/getaliasname_r.c: Likewise.
67069 * nscd/getgrgid_r.c: Likewise.
67070 * nscd/getgrnam_r.c: Likewise.
67071 * nscd/gethstbyad_r.c: Likewise.
67072 * nscd/gethstbynm3_r.c: Likewise.
67073 * nscd/getpwnam_r.c: Likewise.
67074 * nscd/getpwuid_r.c: Likewise.
67075 * nscd/getsrvbynm_r.c: Likewise.
67076 * nscd/getsrvbypt_r.c: Likewise.
67077 * nscd/gai.c: Likewise.
67078
67079 * configure.in (build_nscd): New substituted variable, set
67080 by --disable-build-nscd and defaults to $use_nscd.
67081 * configure: Regenerated.
67082 * config.make.in (build-nscd): New substituted variable.
67083 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67084 Change conditional to require [$(build-nscd) = yes] as well.
67085 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67086
67087 [BZ# 13696]
67088 * configure.in (use_nscd): New substituted variable, set by
67089 --disable-nscd. If enabled, define USE_NSCD.
67090 * configure: Regenerated.
67091 * config.h.in: Add USE_NSCD.
67092 * config.make.in (use-nscd): New substituted variable.
67093 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67094 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67095 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67096 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67097 (CFLAGS-getgrnam_r.c): Likewise.
67098 (CFLAGS-initgroups.c): Likewise.
67099 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67100 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67101 Variables removed.
67102 * inet/getnetgrent_r.c
67103 (nscd_setnetgrent): New function, broken out of ...
67104 (setnetgrent): ... here. Call it.
67105 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67106 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67107 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67108 * nscd/Makefile (routines, aux): Move definitions after include of
67109 Makeconfig. Conditionalize on [$(use-nscd) != no].
67110 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67111 Conditionalize on [USE_NSCD].
67112 (is_nscd, nscd_init_cb): Likewise.
67113 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67114 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67115 * nss/nss_db/db-init.c: Likewise.
67116 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67117 [USE_NSCD].
67118 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67119 (make_request): Use it.
67120 (cache_valid_p): New function.
67121 (__check_pf): Use it.
67122 * NEWS: Add item for --disable-nscd.
67123
67124 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67125
67126 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67127 to support sed >= 4.2.1-20-ga9bf076.
67128 * configure: Regenerated.
67129
67130 2012-08-22 Roland McGrath <roland@hack.frob.com>
67131
67132 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67133 Conditionalize whole body on [IREL].
67134
67135 2012-08-22 Jeff Law <law@redhat.com>
67136
67137 [BZ #14505]
67138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67139 if the family is PF_UNSPEC.
67140
67141 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67142
67143 * Makerules (lib-version): Rename from V.
67144 (install-lib-nosubdir): Change V to lib-version.
67145
67146 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67147
67148 [BZ #14252]
67149 * powerpc32/power6/wcschr.c: New file.
67150 * powerpc32/power6/wcscpy.c: New file.
67151 * powerpc32/power6/wcsrchr.c: New file.
67152 * powerpc64/power6/wcschr.c: New file.
67153 * powerpc64/power6/wcscpy.c: New file.
67154 * powerpc64/power6/wcsrchr.c: New file.
67155
67156 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67157
67158 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67159 (two_way_short_needle): Use it.
67160 * string/strstr.c (AVAILABLE1_USES_J): Define.
67161 * string/strcasestr.c: Likewise.
67162
67163 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67164 array references.
67165 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67166
67167 [BZ #11607]
67168 * NEWS: Add an entry.
67169 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67170 define their defaults.
67171 (two_way_short_needle): Detect end-of-string on-the-fly.
67172 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67173 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67174 * string/bug-strcasestr1.c: New test.
67175 * string/Makefile: Run it.
67176
67177 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67178
67179 [BZ #11607]
67180 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67181 the first character.
67182
67183 2012-08-21 Roland McGrath <roland@hack.frob.com>
67184
67185 * csu/elf-init.c (__libc_csu_irel): Function removed.
67186 * csu/libc-start.c (apply_irel): New function.
67187 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67188
67189 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67190
67191 * sysdeps/unix/sysv/linux/kernel-features.h
67192 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67193 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67194 <kernel-features.h>.
67195 [__NR_fadvise64_64]: Make code unconditional.
67196 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67197 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67198 !__NR_fadvise64_64)]: Likewise.
67199 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67200 !__NR_fadvise64_64))]: Likewise.
67201 [__NR_fadvise64]: Make code unconditional.
67202 [!__NR_fadvise64]: Remove conditional code.
67203 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67204 <kernel-features.h>.
67205 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67206 unconditional.
67207 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67208 conditional code.
67209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67210 not include <kernel-features.h>.
67211 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67212 unconditional.
67213 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67214 conditional code.
67215 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67216 include <kernel-features.h>.
67217 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67218 unconditional.
67219 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67220 conditional code.
67221
67222 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67223
67224 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67225 slight instruction rearrangements per scrollpipe analysis.
67226 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67227
67228 2012-08-20 Roland McGrath <roland@hack.frob.com>
67229
67230 * manual/syslog.texi (syslog; vsyslog, closelog):
67231 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67232 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67233
67234 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67235 DSOCAPS to match condition on defining it.
67236
67237 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67238
67239 * sysdeps/unix/sysv/linux/kernel-features.h
67240 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67242 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67243 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67245 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67246 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67248 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67249 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67250
67251 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67252 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67253
67254 * sysdeps/unix/sysv/linux/kernel-features.h
67255 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67256 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67257 unconditional.
67258 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67259 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67260 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67261 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67262 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67263 Make code unconditional.
67264 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67265 (__mmap64) [!__NR_mmap2]: Likewise.
67266 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67267 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67268 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67269 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67270 [__NR_mmap2]: Make code unconditional.
67271 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67272 (__mmap64) [!__NR_mmap2]: Likewise.
67273
67274 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67275
67276 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67277
67278 2012-08-18 Andreas Jaeger <aj@suse.de>
67279
67280 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67281
67282 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67283
67284 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67285 * include/unistd.h (__have_sock_cloexec): Likewise.
67286 (__have_pipe2): Likewise.
67287 (__have_dup3): Likewise.
67288
67289 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67290
67291 [BZ #9685]
67292 * include/unistd.h (__have_pipe2): Change define into an extern int.
67293 (__have_dup3): Likewise.
67294 * socket/have_sock_cloexec.c: Include fcntl.h.
67295 (__have_pipe2): New variable.
67296 (__have_dup3): Likewise.
67297
67298 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67299
67300 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67301
67302 2012-08-17 Marek Polacek <polacek@redhat.com>
67303
67304 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67305 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67306
67307 2012-08-17 Roland McGrath <roland@hack.frob.com>
67308
67309 * configure.in: Add AC_SUBST for sysheaders.
67310 * configure: Regenerated.
67311 * config.make.in (sysheaders): New substituted variable.
67312
67313 * sysdeps/unix/mkfifo.c: Moved ...
67314 * sysdeps/posix/mkfifo.c: ... here.
67315 * sysdeps/unix/mkfifoat.c: Moved ...
67316 * sysdeps/posix/mkfifoat.c: ... here.
67317
67318 * sysdeps/unix/utime.c: Moved ...
67319 * sysdeps/posix/utime.c: ... here.
67320
67321 * sysdeps/unix/time.c: Moved ...
67322 * sysdeps/posix/time.c: ... here.
67323 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67324 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67325
67326 * sysdeps/unix/nice.c: Moved ...
67327 * sysdeps/posix/nice.c: ... here.
67328
67329 * sysdeps/unix/alarm.c: Moved ...
67330 * sysdeps/posix/alarm.c: ... here.
67331
67332 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67333
67334 2012-08-17 Jeff Law <law@redhat.com>
67335
67336 * intl/Makefile (codeset_mo): New variable.
67337 ($(codeset_mo)): New target.
67338 (tst-codeset.out): Depend on that. Remove explicit rule.
67339 (tst-gettext3.out, tst-gettext5.out): Likewise.
67340 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67341 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67342 * intl/tst-codeset.sh: Remove.
67343 * intl/tst-gettext3.sh: Likewise.
67344 * intl/tst-gettext5.sh: Likewise.
67345
67346 2012-08-17 Roland McGrath <roland@hack.frob.com>
67347
67348 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67349 * sysdeps/unix/syscalls.list: ... here.
67350
67351 * sysdeps/posix/getaddrinfo.c
67352 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67353 (gaiconf_init, gaiconf_reload): Use them.
67354 [!_STATBUF_ST_NSEC]
67355 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67356 Define using time_t rather than struct timespec.
67357
67358 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67359 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67360 Macros removed.
67361 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67362 [!NO_THREADS].
67363 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67364 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67365 Likewise.
67366
67367 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67368 __libc_cleanup_push argument.
67369
67370 * bits/param.h: New file.
67371 * misc/sys/param.h: New file.
67372 * include/sys/param.h: New file.
67373 * misc/Makefile (headers): Add bits/param.h.
67374 * sysdeps/generic/sys/param.h: File removed.
67375 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67376 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67377 * sysdeps/mach/hurd/bits/param.h: New file.
67378 * sysdeps/mach/hurd/sys/param.h: File removed.
67379
67380 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67381 last change.
67382
67383 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67384 [_IO_MTSAFE_IO].
67385 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67386 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67387 New macros.
67388
67389 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67390 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67391 rather than -D_IO_MTSAFE_IO conditionally.
67392 * stdio-common/Makefile (CPPFLAGS): Likewise.
67393 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67394 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67395 Use $(libio-mtsafe).
67396 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67397 of -D_IO_MTSAFE_IO.
67398 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67399 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67400 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67401 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67402 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67403 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67404 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67405 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67406 (CFLAGS-fread_u_chk.c): Likewise.
67407 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67408 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67409 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67410 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67411 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67412 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67413 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67414 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67415 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67416
67417 * libio/Makefile: Test [$(libc-reentrant) = yes]
67418 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67419
67420 * Makeconfig
67421 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67422 * sysdeps/pthread/configure: File removed.
67423 * sysdeps/pthread/Makeconfig: New file.
67424 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67425 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67426
67427 2012-08-16 Gary Benson <gbenson@redhat.com>
67428
67429 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67430 unmapping the first object in a namespace.
67431
67432 2012-08-16 Roland McGrath <roland@hack.frob.com>
67433
67434 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67435 (__internal_setnetgrent): ... this. Add internal_function to
67436 definition. Add libc_hidden_def.
67437 (setnetgrent): Update caller.
67438 (internal_endnetgrent): Renamed to ...
67439 (__internal_endnetgrent): ... this. Add internal_function to
67440 definition. Add libc_hidden_def.
67441 (endnetgrent): Update caller.
67442 (internal_getnetgrent_r): Renamed to ...
67443 (__internal_getnetgrent_r): ... this. Add internal_function to
67444 definition. Add libc_hidden_def.
67445 (__getnetgrent_r): Update caller.
67446 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67447
67448 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67449
67450 * stdlib/longlong.h: Update from GCC.
67451
67452 2012-08-16 Roland McGrath <roland@hack.frob.com>
67453
67454 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67455 on _QL, which is set by umul_ppmm but never used.
67456 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67457 variables, which are set by GMP macros but never used.
67458 * stdio-common/_itowa.c (_itowa): Likewise.
67459 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67460 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67461
67462 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67463
67464 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67465 struct La_sh_regs is not constant.
67466 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67467 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67468 and struct La_sparc64_regs are not constant.
67469
67470 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67471
67472 * sysdeps/unix/sysv/linux/kernel-features.h
67473 (__ASSUME_POSIX_TIMERS): Remove.
67474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67476 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67477 Make code unconditional.
67478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67479 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67480 Make code unconditional.
67481 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67482 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67483 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67484 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67485 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67486 Make code unconditional.
67487 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67488 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67489 (__libc_missing_posix_timers): Remove.
67490
67491 2012-08-15 Roland McGrath <roland@hack.frob.com>
67492
67493 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67494 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67495
67496 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67497
67498 * elf/dl-sym.c: Include <stdlib.h>.
67499
67500 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67501 constants, which avoids warnings in 32-bit builds.
67502
67503 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67504 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67505
67506 * misc/lseek.c: File moved to ...
67507 * io/lseek.c: ... here.
67508
67509 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67510
67511 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67512 shifting LEN more than 31 bits at once.
67513
67514 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67515
67516 [BZ #14195]
67517 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67518 segmentation fault for a case of two empty input strings.
67519 * string/test-strncasecmp.c (check1): Renamed to...
67520 (bz12205): ...this.
67521 (bz14195): Add new testcase for two empty input strings and N > 0.
67522 (test_main): Call new testcase, adapt for renamed function.
67523
67524 2012-08-15 Andreas Jaeger <aj@suse.de>
67525
67526 [BZ #14090]
67527 * crypt/md5test2.c: New test, based on test supplied by Serge
67528 Belyshev <belyshev@depni.sinp.msu.ru>.
67529 * crypt/Makefile (xtests): Add md5test-giant..
67530 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67531
67532 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67533
67534 [BZ #14090]
67535 * crypt/md5.c (md5_process_block): Don't assume the buffer
67536 length is less than 2**32.
67537 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67538 length is less than 2**64.
67539
67540 2012-08-15 Roland McGrath <roland@hack.frob.com>
67541
67542 * string/str-two-way.h: Include <sys/param.h>.
67543 (MAX): Macro removed.
67544
67545 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67546 Move #define and #undef of memmove to just before and after
67547 including <string.h>.
67548
67549 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67550 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67551 and after including <string.h>. Move declarations of
67552 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67553 to before #include "string/memmove.c".
67554
67555 * include/dirent.h: Declare __getdirentries.
67556
67557 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67558 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67559
67560 2012-08-14 Mike Frysinger <vapier@gentoo.org>
67561
67562 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67563 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67564 * sysdeps/i386/configure: Regenerated.
67565 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67566 STABS_CURRENT_FILE, and STABS_FUN.
67567 (END): Remove call to STABS_FUN_END.
67568 (STABS_CURRENT_FILE1): Delete.
67569 (STABS_CURRENT_FILE): Likewise.
67570 (STABS_FUN): Likewise.
67571 (STABS_FUN_END): Likewise.
67572 (STABS_FUN2): Likewise.
67573 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67574 * sysdeps/x86_64/configure: Regenerated.
67575
67576 2012-08-14 Roland McGrath <roland@hack.frob.com>
67577
67578 * elf/dl-open.c: Include <atomic.h>.
67579 * elf/dl-lookup.c: Likewise.
67580
67581 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67582
67583 * sysdeps/unix/sysv/linux/kernel-features.h
67584 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67585 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67586 unconditionally.
67587 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67588 unconditionally.
67589 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67590 condition on __ASSUME_CLONE_THREAD_FLAGS.
67591
67592 2012-08-14 Andreas Jaeger <aj@suse.de>
67593
67594 * sysdeps/i386/fpu/libm-test-ulps: Update.
67595
67596 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67597
67598 * include/atomic.h (atomic_exchange_and_add): Split into ...
67599 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67600 New atomic macros.
67601
67602 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67603
67604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67605
67606 2012-08-13 Jeff Law <law@redhat.com>
67607
67608 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67609 null byte in the output string.
67610
67611 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67612
67613 * sysdeps/unix/sysv/linux/kernel-features.h
67614 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67615 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67616 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67617 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67618 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67619 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67620 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67621
67622 2012-08-09 Jeff Law <law@redhat.com>
67623
67624 [BZ #13939]
67625 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67626 When avoid_arena is set, don't retry in the that arena. Pick the
67627 next one, whatever it might be.
67628 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67629 (arena_lock): Pass in new parameter to arena_get2.
67630 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67631 arena_get2.
67632 (__libc_malloc): Unify retrying after main arena failure with
67633 __libc_memalign version.
67634 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67635
67636 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67637
67638 [BZ #14166]
67639 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67640 to __redirect_strstr.
67641 (__strstr_sse42): Use typeof __redirect_strstr.
67642 (__strstr_ia32): Likewise.
67643 (__libc_strstr): New prototype.
67644 (strstr): Renamed to ...
67645 (__libc_strstr): This.
67646 (strstr): New strong alias of __libc_strstr.
67647 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67648 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67649 __redirect_time.
67650 Include <time.h>.
67651 (__libc_time): New prototype.
67652 (time_ifunc): Replace time with __libc_time.
67653 (time): New strong alias and hidden definition of __libc_time.
67654 (__GI_time): Remove strong alias.
67655 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67656 Include <stddef.h>.
67657 (memmove): Redefined to __redirect_memmove.
67658 (__memmove_sse2): Use typeof __redirect_memmove.
67659 (__memmove_ssse3): Likewise.
67660 (__memmove_ssse3_back): Likewise.
67661 (__libc_memmove): New prototype.
67662 (memmove): Renamed to ...
67663 (__libc_memmove): This.
67664 (memmove): New strong alias of __libc_memmove.
67665
67666 2012-08-08 Mark Salter <msalter@redhat.com>
67667
67668 * elf/elf.h
67669 (R_MN10300_TLS_GD): Define.
67670 (R_MN10300_TLS_LD): Likewise.
67671 (R_MN10300_TLS_LDO): Likewise.
67672 (R_MN10300_TLS_GOTIE): Likewise.
67673 (R_MN10300_TLS_IE): Likewise.
67674 (R_MN10300_TLS_LE): Likewise.
67675 (R_MN10300_TLS_DTPMOD): Likewise.
67676 (R_MN10300_TLS_DTPOFF): Likewise.
67677 (R_MN10300_TLS_TPOFF): Likewise.
67678 (R_MN10300_SYM_DIFF): Likewise.
67679 (R_MN10300_ALIGN): Likewise.
67680 (R_MN10300_NUM): Update.
67681
67682 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67683
67684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67685 Remove.
67686
67687 2012-08-08 Roland McGrath <roland@hack.frob.com>
67688
67689 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67690
67691 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67692 sysdeps/unix -> sysdeps/posix move.
67693 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67694
67695 2012-08-07 Allan McRae <allan@archlinux.org>
67696
67697 [BZ #14303]
67698 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67699 (SUNOS_CPP): Likewise.
67700 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67701 not found.
67702 (open_input): Call CPP using execvp.
67703
67704 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67705
67706 * sysdeps/unix/sysv/linux/kernel-features.h
67707 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67708 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67709 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67710 (__ASSUME_WAITID_SYSCALL): Likewise.
67711 * sysdeps/unix/sysv/linux/dl-execstack.c
67712 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67713 code unconditional.
67714 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67715 conditional code.
67716 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67717 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67718 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67719 code.
67720 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67721 unconditional.
67722 [__ASSUME_WAITID_SYSCALL]: Likewise.
67723 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67724
67725 2012-08-07 Roland McGrath <roland@hack.frob.com>
67726
67727 * sysdeps/unix/closedir.c: Renamed to ...
67728 * sysdeps/posix/closedir.c: ... here.
67729 * sysdeps/unix/dirfd.c: Renamed to ...
67730 * sysdeps/posix/dirfd.c: ... here.
67731 * sysdeps/unix/dirstream.h: Renamed to ...
67732 * sysdeps/posix/dirstream.h: ... here.
67733 * sysdeps/unix/fdopendir.c: Renamed to ...
67734 * sysdeps/posix/fdopendir.c: ... here.
67735 * sysdeps/unix/opendir.c: Renamed to ...
67736 * sysdeps/posix/opendir.c: ... here.
67737 * sysdeps/unix/readdir.c: Renamed to ...
67738 * sysdeps/posix/readdir.c: ... here.
67739 * sysdeps/unix/readdir_r.c: Renamed to ...
67740 * sysdeps/posix/readdir_r.c: ... here.
67741 * sysdeps/unix/rewinddir.c: Renamed to ...
67742 * sysdeps/posix/rewinddir.c: ... here.
67743 * sysdeps/unix/seekdir.c: Renamed to ...
67744 * sysdeps/posix/seekdir.c: ... here.
67745 * sysdeps/unix/telldir.c: Renamed to ...
67746 * sysdeps/posix/telldir.c: ... here.
67747 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67748 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67749 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67750 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67751
67752 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67753 * bits/fcntl.h: ... here.
67754
67755 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67756 not 0.
67757 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67758 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67759 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67760 (struct flock): Move l_start, l_len to the beginning.
67761 Use __pid_t for l_pid.
67762 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67763 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67764 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67765 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67766 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67767 [__USE_LARGEFILE64] (struct flock64): New type.
67768 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67769
67770 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67771 * bits/dirent.h: ... here.
67772
67773 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67774 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67775
67776 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67777
67778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67779 Change from 2.6.0 to 2.6.16.
67780 * sysdeps/unix/sysv/linux/configure: Regenerated.
67781 * sysdeps/unix/sysv/linux/kernel-features.h
67782 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67783 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67784 version.
67785 (__ASSUME_UTIMES): Likewise.
67786 (__ASSUME_CLONE_STOPPED): Remove.
67787 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67788 architectures, not kernel version.
67789 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67790 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67791 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67792 (__ASSUME_WAITID_SYSCALL): Likewise.
67793 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67794 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67795 * README: State 2.6.16 as minimum Linux kernel version. Do not
67796 refer to older versions.
67797
67798 2012-08-06 Roland McGrath <roland@hack.frob.com>
67799
67800 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67801 Define alphasort64 as an alias.
67802 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67803 Define versionsort64 as an alias.
67804 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67805 Define scandir64 as an alias.
67806 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67807 Define scandirat64 as an alias.
67808 * dirent/alphasort64.c (alphasort64):
67809 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67810 * dirent/versionsort64.c: Likewise.
67811 * dirent/scandir64.c: Likewise.
67812 * dirent/scandirat64.c: Likewise.
67813 * sysdeps/wordsize-64/alphasort.c: File removed.
67814 * sysdeps/wordsize-64/alphasort64.c: File removed.
67815 * sysdeps/wordsize-64/scandir.c: File removed.
67816 * sysdeps/wordsize-64/scandir64.c: File removed.
67817 * sysdeps/wordsize-64/scandirat.c: File removed.
67818 * sysdeps/wordsize-64/scandirat64.c: File removed.
67819 * sysdeps/wordsize-64/versionsort.c: File removed.
67820 * sysdeps/wordsize-64/versionsort64.c: File removed.
67821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67824 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67826 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67828 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67829
67830 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67832 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67834 [defined __arch64__ || defined __sparcv9]
67835 (__INO_T_MATCHES_INO64_T): New macro.
67836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67837 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67838 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67839 * sysdeps/unix/sysv/linux/bits/dirent.h
67840 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67841 (_DIRENT_MATCHES_DIRENT64): New macro.
67842
67843 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67844 Define lockf64 as an alias.
67845 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67846 Define fseeko64 as an alias.
67847 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67848 Define ftello64 as an alias.
67849 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67850 Define _IO_fgetpos64 and fgetpos64 as aliases.
67851 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67852 Define _IO_fsetpos64 and fsetpos64 as aliases.
67853 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67854 Conditionalize body on this.
67855 * libio/fseeko64.c: Likewise.
67856 * libio/ftello64.c: Likewise.
67857 * libio/iofgetpos64.c: Likewise.
67858 * libio/iofsetpos64.c: Likewise.
67859 * sysdeps/wordsize-64/lockf.c: File removed.
67860 * sysdeps/wordsize-64/lockf64.c: File removed.
67861 * sysdeps/wordsize-64/fseeko.c: File removed.
67862 * sysdeps/wordsize-64/fseeko64.c: File removed.
67863 * sysdeps/wordsize-64/ftello.c: File removed.
67864 * sysdeps/wordsize-64/ftello64.c: File removed.
67865 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67866 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67867 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67868 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67872 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67874 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67876 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67877 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67878 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67879
67880 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67882 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67884 [defined __arch64__ || defined __sparcv9]
67885 (__OFF_T_MATCHES_OFF64_T): New macro.
67886 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67887 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67889 (__OFF_T_MATCHES_OFF64_T): New macro.
67890
67891 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67892
67893 * stdlib/secure-getenv.c (__secure_getenv): Replace
67894 GLIBC_2_16 with GLIBC_2_17.
67895
67896 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67897
67898 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67899 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67900
67901 2012-08-03 David S. Miller <davem@davemloft.net>
67902
67903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67904
67905 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67906
67907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67908 Remove.
67909 (__ASSUME_CORRECT_SI_PID): Likewise.
67910 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67911 (__ASSUME_TMPFS_NAME): Likewise.
67912 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67913 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67914 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67915 (HAVE_AUX_SECURE): Make definition unconditional.
67916 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67917 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67918
67919 2012-08-03 Roland McGrath <roland@hack.frob.com>
67920
67921 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67922 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67923 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67925 __eloop_threshold instead of SYMLOOP_MAX.
67926
67927 * sysdeps/generic/eloop-threshold.h: New file.
67928 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67929 of MAXSYMLINKS.
67930 * elf/chroot_canon.c (chroot_canon): Likewise.
67931
67932 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67933
67934 [BZ #13717]
67935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67936 Change to 2.6.0 everywhere.
67937 * sysdeps/unix/sysv/linux/configure: Regenerated.
67938 * sysdeps/unix/sysv/linux/kernel-features.h
67939 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67940 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67941 kernel versions.
67942 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67943 (__ASSUME_FUTEX_REQUEUE): Remove.
67944 (__ASSUME_STATFS64): Define unconditionally.
67945 (__ASSUME_AT_SECURE): Likewise.
67946 (__ASSUME_CORRECT_SI_PID): Likewise.
67947 (__ASSUME_TGKILL): Define without depending on kernel version for
67948 i386.
67949 (__ASSUME_UTIMES): Likewise.
67950 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67951 kernel version.
67952 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67953 (__ASSUME_TMPFS_NAME): Likewise.
67954 * README: Update reference to Linux kernel versions.
67955
67956 2012-08-02 Marek Polacek <polacek@redhat.com>
67957
67958 [BZ# 14150]
67959 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67960 libc_cv_asm_type_prefix with %.
67961 * configure: Regenerated.
67962 * include/libc-symbols.h: Remove comment about
67963 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67964 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67965 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67966 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67967 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67968 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67969 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67970 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67971 * elf/tst-unique2mod1.c: Likewise.
67972 * elf/tst-unique1mod2.c: Likewise.
67973 * elf/tst-unique1mod1.c: Likewise.
67974 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67975 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67976 Replace ASM_TYPE_DIRECTIVE with .type.
67977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67978 * sysdeps/i386/sysdep.h: Likewise.
67979 * sysdeps/x86_64/sysdep.h: Likewise.
67980 * sysdeps/sh/sysdep.h: Likewise.
67981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67982 Do not define ASM_TYPE_DIRECTIVE.
67983 * sysdeps/powerpc/sysdep.h: Likewise.
67984 * sysdeps/powerpc/powerpc32/sysdep.h:
67985 Replace ASM_TYPE_DIRECTIVE with .type.
67986 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67988 * sysdeps/i386/fpu/e_powf.S: Likewise.
67989 * sysdeps/i386/fpu/e_expl.S: Likewise.
67990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67991 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67992 * sysdeps/i386/fpu/e_pow.S: Likewise.
67993 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67994 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67995 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67996 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67997 * sysdeps/i386/fpu/e_log2.S: Likewise.
67998 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67999 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68000 * sysdeps/i386/fpu/e_powl.S: Likewise.
68001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68002 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68003 * sysdeps/i386/fpu/e_logl.S: Likewise.
68004 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68009 * sysdeps/i386/fpu/e_log.S: Likewise.
68010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68011 * sysdeps/i386/fpu/e_logf.S: Likewise.
68012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68013 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68014 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68015 * sysdeps/i386/fpu/e_log10.S: Likewise.
68016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
68017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
68019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68021 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68022 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68023 * sysdeps/i386/i686/strtok.S: Likewise.
68024 * sysdeps/i386/i386-mcount.S: Likewise.
68025 * sysdeps/i386/strtok.S: Likewise.
68026 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68030 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68035 * sysdeps/x86_64/_mcount.S: Likewise.
68036 * sysdeps/x86_64/strtok.S: Likewise.
68037 * sysdeps/sh/_mcount.S: Likewise.
68038
68039 2012-08-01 Roland McGrath <roland@hack.frob.com>
68040
68041 * libio/iofopen.c: Include <fcntl.h>.
68042 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68043 (_IO_fopen64, fopen64): Define as aliases.
68044 * libio/iofopen64.c: Include <fcntl.h>.
68045 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68046 Conditionalize body on this.
68047 * sysdeps/wordsize-64/iofopen.c: File removed.
68048 * sysdeps/wordsize-64/iofopen64.c: File removed.
68049
68050 2012-08-01 Marek Polacek <polacek@redhat.com>
68051
68052 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68053 Use dlfcn directly instead of a variable.
68054 (binfmt-subdir): Do not define.
68055 (dlfcn): Likewise.
68056
68057 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68058
68059 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68060 Remove all definitions.
68061 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68062 <kernel-features.h>.
68063 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68064 (miss_F_GETOWN_EX): Remove all definitions.
68065 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68066 macro definition.
68067 [!__ASSUME_FCNTL64]: Remove conditional code.
68068 [__ASSUME_FCNTL64]: Make code unconditional.
68069 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68070 <kernel-features.h>.
68071 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68072 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68073 (lockf64) [__NR_fcntl64]: Make code unconditional.
68074 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68075
68076 * sysdeps/unix/sysv/linux/kernel-features.h
68077 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68078 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68079 Make code unconditional.
68080 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68081 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68083 [__NR_vfork]: Make code unconditional.
68084 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68085 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68087 [__NR_vfork]: Make code unconditional.
68088 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68089 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68090
68091 2012-08-01 Roland McGrath <roland@hack.frob.com>
68092
68093 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68094 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68095
68096 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68097 Define mkstemp64 as an alias.
68098 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68099 Define mkstemps64 as an alias.
68100 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68101 Define mkostemp64 as an alias.
68102 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68103 Define mkostemps64 as an alias.
68104 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68105 Conditionalize body on this.
68106 * misc/mkostemp64.c: Likewise.
68107 * misc/mkostemps64.c: Likewise.
68108 * misc/mkstemps64.c: Likewise.
68109 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68110 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68111 * sysdeps/wordsize-64/mkostemp.c: File removed.
68112 * sysdeps/wordsize-64/mkstemp.c: File removed.
68113 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68115 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68116 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68117
68118 [BZ #14138]
68119 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68120 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68121 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68122 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68123
68124 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68125 compat_symbol macros from <shlib-compat.h> rather than the underlying
68126 default_symbol_version and symbol_version macros, so that DEFAULT
68127 lines in shlib-versions are respected.
68128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68129
68130 2012-08-01 Florian Weimer <fweimer@redhat.com>
68131
68132 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68133 Declare with warn_unused_result.
68134 (setgid, setregid, setegid, setresgid): Likewise.
68135 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68136 Likewise.
68137 * WUR-REPORT: Remove set*id functions.
68138
68139 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68140
68141 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68142
68143 2012-07-31 Roland McGrath <roland@hack.frob.com>
68144
68145 [BZ #10191]
68146 * include/sys/socket.h (__libc_accept, __libc_accept4):
68147 Add attribute_hidden.
68148 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68149
68150 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68151 use of PTR_MANGLE.
68152 * inet/getnetgrent_r.c (setup): Likewise.
68153
68154 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68155
68156 2012-07-31 David S. Miller <davem@davemloft.net>
68157
68158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68159
68160 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68161
68162 [BZ #13629]
68163 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68164 value between 1.0 and 2.0 and smaller part has absolute value less
68165 than 1.0.
68166 * math/s_clog10.c (__clog10): Likewise.
68167 * math/s_clog10f.c (__clog10f): Likewise.
68168 * math/s_clog10l.c (__clog10l): Likewise.
68169 * math/s_clogf.c (__clogf): Likewise.
68170 * math/s_clogl.c (__clogl): Likewise.
68171 * math/libm-test.inc (clog_test): Add more tests.
68172 (clog10_test): Likewise.
68173 * sysdeps/i386/fpu/libm-test-ulps: Update.
68174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68175
68176 2012-07-31 Florian Weimer <fweimer@redhat.com>
68177
68178 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68179 Exit with zero in case no suitable GID is found, and write a
68180 message to standard error.
68181
68182 2012-07-30 Roland McGrath <roland@hack.frob.com>
68183
68184 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68185 rather than to 1.
68186 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68187 (MAXPATHLEN): Removed.
68188 (NOGROUP, NODEV): New macros.
68189 (setbit, clrbit, isset, isclr): New macros.
68190 (howmany, roundup, powerof2): New macros.
68191 (DEV_BSIZE): New macro.
68192
68193 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68194 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68195
68196 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68197 definition on [!__NO_LONG_DOUBLE_MATH].
68198
68199 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68200 PTR_MANGLE and PTR_DEMANGLE.
68201
68202 * socket/accept4.c (accept4): Rename to __libc_accept4.
68203 Define accept4 as a weak alias.
68204
68205 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68206 on [_DIRENT_HAVE_D_TYPE].
68207 * io/ftw.c (ftw_dir): Likewise.
68208
68209 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68210
68211 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68212
68213 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68214 Use the BSD numbers rather than the arbitrary ones we had.
68215 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68216 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68217 (SIGXCPU, SIGXFSZ): New macros.
68218 (_NSIG): Now 32.
68219
68220 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68221 initializer on [_LIBC_REENTRANT].
68222
68223 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68224 definitions inside [_POSIX_MAPPED_FILES].
68225
68226 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68227
68228 * dirent/opendir.c: Include <fcntl.h>.
68229
68230 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68231 (__libc_getspecific): Likewise.
68232 (__libc_key_create): Likewise.
68233
68234 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68235 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68236 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68237 (tmpfile64): Define as alias.
68238 * sysdeps/wordsize-64/tmpfile.c: File removed.
68239 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68241 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68242
68243 * stdio-common/vfscanf.c: Include <stdbool.h>.
68244 * nss/makedb.c: Likewise.
68245 * stdio-common/_i18n_number.h: Likewise.
68246 * argp/argp-help.c: Likewise.
68247 * posix/wordexp.c: Likewise.
68248 * sysdeps/posix/spawni.c: Likewise.
68249 * nss/nss_files/files-initgroups.c: Likewise.
68250 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68251 * nss/nss_files/files-initgroups.c: Likewise.
68252 * nss/nss_db/db-netgrp.c: Likewise.
68253 * nss/nss_db/db-initgroups.c: Likewise.
68254 * io/fchmodat.c: Include <sys/stat.h>.
68255
68256 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68257 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68258
68259 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68260 [HAVE_MMAP].
68261
68262 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68263 Add multiple inclusion protection.
68264
68265 2012-07-27 David S. Miller <davem@davemloft.net>
68266
68267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68268
68269 2012-07-27 Gary Benson <gbenson@redhat.com>
68270
68271 [BZ #14298]
68272 * elf/rtld.c: Include <stap-probe.h>.
68273 (dl_main): Added static probes "init_start" and "init_complete".
68274 * elf/dl-load.c: Include <stap-probe.h>.
68275 (lose): Take new parameter "nsid".
68276 Added static probe "map_failed".
68277 (_dl_map_object_from_fd): Pass namespace id to lose.
68278 Added static probe "map_start".
68279 (open_verify): Pass namespace id to lose.
68280 * elf/dl-open.c: Include <stap-probe.h>.
68281 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68282 and "reloc_complete".
68283 * elf/dl-close.c: Include <stap-probe.h>.
68284 (_dl_close_worker): Added static probes "unmap_start" and
68285 "unmap_complete".
68286 * elf/rtld-debugger-interface.txt: New file documenting the above.
68287
68288 2012-07-26 Roland McGrath <roland@hack.frob.com>
68289
68290 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68291 rather than a string variable.
68292 * sunrpc/rpc_main.c (h_output): Likewise.
68293 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68294
68295 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68296
68297 * inet/check_native.c: New file.
68298
68299 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68300
68301 [BZ #13629]
68302 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68303 if larger part has absolute value 1.0.
68304 * math/s_clog10.c (__clog10): Likewise.
68305 * math/s_clog10f.c (__clog10f): Likewise.
68306 * math/s_clog10l.c (__clog10l): Likewise.
68307 * math/s_clogf.c (__clogf): Likewise.
68308 * math/s_clogl.c (__clogl): Likewise.
68309 * math/libm-test.inc (clog_test): Add more tests.
68310 (clog10_test): Likewise.
68311 * sysdeps/i386/fpu/libm-test-ulps: Update.
68312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68313
68314 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68315 (pltexit): Likewise.
68316 (La_regs): Likewise.
68317 (La_retval): Likewise.
68318 (int_retval): Likewise.
68319 Update #error for removed macros to refer only to definitions in
68320 tst-audit.h.
68321 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68322 macro.
68323 (pltexit): Likewise.
68324 (La_regs): Likewise.
68325 (La_retval): Likewise.
68326 (int_retval): Likewise.
68327 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68328 macro.
68329 (pltexit): Likewise.
68330 (La_regs): Likewise.
68331 (La_retval): Likewise.
68332 (int_retval): Likewise.
68333 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68334 macro.
68335 (pltexit): Likewise.
68336 (La_regs): Likewise.
68337 (La_retval): Likewise.
68338 (int_retval): Likewise.
68339 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68340 macro.
68341 (pltexit): Likewise.
68342 (La_regs): Likewise.
68343 (La_retval): Likewise.
68344 (int_retval): Likewise.
68345 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68346 macro.
68347 (pltexit): Likewise.
68348 (La_regs): Likewise.
68349 (La_retval): Likewise.
68350 (int_retval): Likewise.
68351 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68352 macro.
68353 (pltexit): Likewise.
68354 (La_regs): Likewise.
68355 (La_retval): Likewise.
68356 (int_retval): Likewise.
68357 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68358 macro definitions in tst-audit.h.
68359 * sysdeps/i386/tst-audit.h: New file.
68360 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68361 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68362 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68363 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68364 * sysdeps/sh/tst-audit.h: Likewise.
68365 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68366 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68367 * sysdeps/x86_64/tst-audit.h: Likewise.
68368
68369 2012-07-26 Andreas Jaeger <aj@suse.de>
68370
68371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68372 ptrace.
68373
68374 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68375 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68376 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68377 PTRACE_O_MASK.
68378 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68379 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68380 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68381
68382 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68383 value.
68384
68385 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68386 _sigsys.
68387 (si_call_addr, si_syscall, si_arch): Define new macro.
68388 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68389 _sigsys.
68390 (si_call_addr, si_syscall, si_arch): Define new marcro.
68391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68392 _sigsys.
68393 (si_call_addr, si_syscall, si_arch): Define new macro.
68394 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68395 _sigsys.
68396 (si_call_addr, si_syscall, si_arch): Define new macro.
68397
68398 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68399
68400 [BZ #13717]
68401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68402 Change to 2.4.21 where previously 2.4.1.
68403 * sysdeps/unix/sysv/linux/configure: Regenerated.
68404 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68405 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68406 Linux kernel version.
68407 (__ASSUME_STD_AUXV): Remove.
68408 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68409 kernel version.
68410 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68411 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68412 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68413 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68414 (__ASSUME_NETLINK_SUPPORT): Likewise.
68415 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68416 (__no_netlink_support): Remove conditional definition.
68417 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68418 Remove.
68419 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68420 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68421 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68422 (if_nameindex_ioctl): Remove.
68423 (if_nameindex_netlink): Do not handle __no_netlink_support.
68424 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68425 code.
68426 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68427 Remove conditional code.
68428 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68429 code.
68430 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68431 unconditional.
68432 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68433 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68434 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68435 Remove.
68436 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68437 [!__ASSUME_STD_AUXV]: Remove conditional code.
68438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68439 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68440 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68442 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68443 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68444 code.
68445 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68447 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68448 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68449 conditional code.
68450 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68452 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68453 code.
68454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68455 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68456 conditional code.
68457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68458 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68459 code unconditional.
68460 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68461 conditional code.
68462 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68463 unconditional.
68464 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68465 conditional code.
68466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68467 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68468 unconditional.
68469 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68470 conditional code.
68471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68472 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68473 code unconditional.
68474 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68475 conditional code.
68476 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68477 unconditional.
68478 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68479 conditional code.
68480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68481 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68482 code unconditional.
68483 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68484 conditional code.
68485 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68486 unconditional.
68487 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68488 conditional code.
68489
68490 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68491
68492 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68493 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68494 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68495 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68496 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68497 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68498 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68499 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68500 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68501 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68502 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68503 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68504 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68505 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68506 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68507 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68508 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68510 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68512 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68513 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68514 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68515
68516 2012-07-25 Florian Weimer <fweimer@redhat.com>
68517
68518 * Versions.def: Add GLIBC_2.17.
68519 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68520 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68521 Introduce __libc_secure_getenv.
68522 * stdlib/Versions (2.17): Add secure_getenv
68523 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68524 * stdlib/secure-getenv.c: Rename __secure_getenv to
68525 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68526 symbol __secure_getenv for GLIBC_2.0.
68527 * stdlib/tst-secure-getenv.c: New.
68528 * stdlib/Makefile (tests): Add testcase.
68529 * manual/startup.texi (Environment Access): Document
68530 secure_getenv.
68531 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68532 __libc_secure_getenv.
68533 * inet/ruserpass.c (ruserpass): Likewise.
68534 * malloc/mtrace.c (mtrace): Likewise.
68535 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68536 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68537 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68538 * sysdeps/posix/tempname.c: Likewise. Evaluate
68539 HAVE_SECURE_GETENV.
68540 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68541 __secure_getenv to __libc_secure_getenv.
68542 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68544 Likewise.
68545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68546 Likewise.
68547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68554
68555 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68556
68557 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68558 (struct La_i86_retval): Likewise.
68559 (struct La_x86_64_regs): Likewise.
68560 (struct La_x86_64_retval): Likewise.
68561 (struct La_x32_regs): Likewise.
68562 (struct La_x32_retval): Likewise.
68563 (struct La_ppc32_regs): Likewise.
68564 (struct La_ppc32_retval): Likewise.
68565 (struct La_ppc64_regs): Likewise.
68566 (struct La_ppc64_retval): Likewise.
68567 (struct La_sh_regs): Likewise.
68568 (struct La_sh_retval): Likewise.
68569 (struct La_s390_32_regs): Likewise.
68570 (struct La_s390_32_retval): Likewise.
68571 (struct La_s390_64_regs): Likewise.
68572 (struct La_s390_64_retval): Likewise.
68573 (struct La_sparc32_regs): Likewise.
68574 (struct La_sparc32_retval): Likewise.
68575 (struct La_sparc64_regs): Likewise.
68576 (struct La_sparc64_retval): Likewise.
68577 (struct audit_ifaces): Remove architecture-specific pltenter and
68578 pltexit members.
68579 * sysdeps/i386/ldsodefs.h: New file.
68580 * sysdeps/powerpc/ldsodefs.h: Likewise.
68581 * sysdeps/s390/ldsodefs.h: Likewise.
68582 * sysdeps/sh/ldsodefs.h: Likewise.
68583 * sysdeps/sparc/ldsodefs.h: Likewise.
68584 * sysdeps/x86_64/ldsodefs.h: Likewise.
68585
68586 2012-07-25 Marek Polacek <polacek@redhat.com>
68587
68588 [BZ #6808]
68589 * math/libm-test.inc (yn_test): Add another test.
68590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68591 to ERANGE when the result is +-Inf.
68592 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68593 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68594 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68595 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68596
68597 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68598
68599 * conform/data/time.h-data (NULL): Use macro-constant. Require
68600 equal to 0.
68601 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68602 clock_t.
68603 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68604
68605 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68606
68607 * configure.in <sysdeps resolving>: Correct printing
68608 Implies_before.
68609 * configure: Regenerate.
68610
68611 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68612
68613 * math/w_ilogb.c: Include <limits.h>.
68614 * math/w_ilogbl.c: Likewise.
68615
68616 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68617
68618 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68619 va_copy. Document allowing for unavailable va_copy only as
68620 pre-C99 compatibility.
68621 * manual/string.texi (Copying and Concatenation): Use va_copy
68622 instead of __va_copy in concat example.
68623
68624 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68625
68626 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68627 (__sendto): Use create_address_port. Initialize APORT and deallocate
68628 it if not null.
68629
68630 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68631 with O_NOLINK passed to __file_name_lookup.
68632
68633 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68634 with O_NOLINK passed to __file_name_lookup.
68635
68636 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68637 negative N or less than NGIDS.
68638
68639 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68640 type to string_t. Set ERANGE as errno and return it if NAME is not big
68641 enough. Use memcpy instead of strncpy.
68642
68643 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68644
68645 * elf/Makefile (check-data): Remove.
68646 (localplt.data): New vpath directive.
68647 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68648 instead of $(check-data).
68649 * scripts/data/localplt-generic.data: Move to ...
68650 * sysdeps/generic/localplt.data: ... here.
68651 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68652 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68653 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68655 ... here.
68656 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68658 ... here.
68659 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68661 ... here.
68662 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68664 ... here.
68665 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68667 ... here.
68668 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68670 ... here.
68671
68672 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68673
68674 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68675 PPC32 and PPC64 files.
68676 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68677 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68678
68679 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68680
68681 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68682 __makecontext_ret to ...
68683 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68684 ... here and call exit if uc_link is NULL. New file.
68685 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68686 __makecontext_ret.S.
68687 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68688 __makecontext_ret to ...
68689 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68690 ... here and call exit if uc_link is NULL. New file.
68691 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68692 __makecontext_ret.S.
68693
68694 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68695
68696 * elf/elf.h (R_390_IRELATIVE): New definition.
68697 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68698 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68699 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68701 (elf_machine_lazy_rel): Likewise.
68702 * sysdeps/s390/dl-irel.h: New file.
68703 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68704 * sysdeps/s390/s390-64/memset.S: New asm code.
68705 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68706 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68707 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68708 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68709 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68710 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68711 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68712 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68713 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68714 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68715 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68716 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68717 * sysdeps/s390/s390-32/memset.S: New asm code.
68718 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68719
68720 2012-07-17 Marek Polacek <polacek@redhat.com>
68721
68722 [BZ #14349]
68723 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68724 * sysdeps/s390/s390-64/configure.in: Likewise.
68725 * sysdeps/sparc/configure.in: Likewise.
68726 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68727 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68728 * sysdeps/i386/configure.in: Likewise.
68729 * sysdeps/x86_64/configure.in: Likewise.
68730 * sysdeps/sh/configure.in: Likewise.
68731 * sysdeps/s390/s390-32/configure: Regenerated.
68732 * sysdeps/s390/s390-64/configure: Likewise.
68733 * sysdeps/x86_64/configure: Likewise.
68734 * sysdeps/sh/configure: Likewise.
68735 * sysdeps/powerpc/powerpc64/configure: Likewise.
68736 * sysdeps/powerpc/powerpc32/configure: Likewise.
68737 * sysdeps/sparc/configure: Likewise.
68738 * sysdeps/i386/configure: Likewise.
68739
68740 * elf/dl-open.c: Comment fixes.
68741
68742 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68743
68744 * Makefile [CXX] (check-data): Remove.
68745 [CXX] (c++-types.data): New vpath directive.
68746 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68747 vpath. Do not allow for C++ type data being missing.
68748 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68749 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68750 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68751 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68752 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68753 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68754 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68756 ... here.
68757 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68759 ... here.
68760 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68762 ... here.
68763 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68765 ... here.
68766 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68768 ... here.
68769 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68771 ... here.
68772 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68774 ... here.
68775 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68777
68778 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68779 definitions to architecture-specific files.
68780 (TLS_IE): Likewise.
68781 (TLS_LD): Likewise.
68782 (TLS_GD): Likewise.
68783 * sysdeps/i386/tls-macros.h: New file.
68784 * sysdeps/powerpc/tls-macros.h: Likewise.
68785 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68786 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68787 * sysdeps/sh/tls-macros.h: Likewise.
68788 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68789 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68790 * sysdeps/x86_64/tls-macros.h: Likewise.
68791
68792 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68793
68794 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68795 zero value for regular exit case.
68796
68797 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68798 (__start_context): Preserve zero value for regular exit case.
68799
68800 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68801 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68802
68803 * manual/setjmp.texi (setcontext): Clarify normal process
68804 termination when uc_link is the null pointer.
68805 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68806 exit call.
68807
68808 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68809
68810 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68811 preprocessor. Test for each exception mask separately.
68812
68813 2012-07-16 Andreas Jaeger <aj@suse.de>
68814
68815 * po/ru.po: Update from translation team.
68816
68817 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68818
68819 * conform/data/string.h-data (NULL): Use macro-constant. Require
68820 equal to 0.
68821 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68822 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68823 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68824 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68826
68827 2012-07-13 Andreas Jaeger <aj@suse.de>
68828
68829 * po/fr.po: Update from translation team.
68830
68831 2012-07-12 Marek Polacek <polacek@redhat.com>
68832
68833 [BZ #14173]
68834 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68835 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68836 loop condition.
68837
68838 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68839
68840 [BZ #13717]
68841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68842 Change to 2.4.1 where previously 2.4.0.
68843 * sysdeps/unix/sysv/linux/configure: Regenerated.
68844 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68845 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68846 version.
68847 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68848 (__ASSUME_AT_CLKTCK): Remove.
68849 (__ASSUME_AT_PAGESIZE): Likewise.
68850 (__ASSUME_AT_XID): Likewise.
68851 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68852 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68853 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68854 unconditionally.
68855 (HAVE_AUX_PAGESIZE): Likewise.
68856 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68857 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68858 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68859
68860 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68861
68862 [BZ #14307]
68863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68864 the temporary buffer used to invoke __gethostbyname2_r,
68865 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68866 host_data / struct gaih_addrtuple.
68867 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68868 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68869 header file nss/nsswitch.h.
68870 * nss/nsswitch.h (global scope): Add definition of implementation
68871 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68872 resolv/nss_dns/dns-host.c).
68873
68874 2012-07-11 Andreas Jaeger <aj@suse.de>
68875
68876 * po/fr.po: Update from translation team.
68877
68878 * po/sv.po: Update from translation team
68879 * po/fr.po: Another update from translation team.
68880
68881 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68882
68883 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68884 for subnormals or multiply small sinh result by itself.
68885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68887
68888 2012-07-11 David S. Miller <davem@davemloft.net>
68889
68890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68891
68892 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68893
68894 [BZ #14347]
68895 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68896 (INTERNAL_MARK): Shift it here.
68897
68898 2012-07-10 Marek Polacek <polacek@redhat.com>
68899
68900 [BZ #14151]
68901 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68902 libc_cv_asm_global_directive with .globl.
68903 * configure: Regenerated.
68904 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68905 with .globl.
68906 * sysdeps/i386/configure: Regenerated.
68907 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68908 with .globl.
68909 * sysdeps/x86_64/configure: Regenerated.
68910 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68911 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68912 * elf/tst-unique2mod2.c: Likewise.
68913 * elf/tst-unique2mod1.c: Likewise.
68914 * elf/tst-unique1mod2.c: Likewise.
68915 * elf/tst-unique1mod1.c: Likewise.
68916 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68917 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68919 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68920 * sysdeps/mach/sysdep.h: Likewise.
68921 * sysdeps/i386/sysdep.h: Likewise.
68922 * sysdeps/i386/i386-mcount.S: Likewise.
68923 * sysdeps/x86_64/_mcount.S: Likewise.
68924 * sysdeps/x86_64/sysdep.h: Likewise.
68925 * sysdeps/sh/_mcount.S: Likewise.
68926 * sysdeps/sh/sysdep.h: Likewise.
68927 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68928 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68929 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68930 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68931 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68932 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68933 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68934 * locale/localeinfo.h: Likewise.
68935 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68936 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68937
68938 2012-07-09 Roland McGrath <roland@hack.frob.com>
68939
68940 [BZ #14336]
68941 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68942 system".
68943 * manual/message.texi (The Uniforum approach): Likewise.
68944 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68945 (glibc iconv Implementation): Likewise.
68946
68947 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68948
68949 [BZ #14337]
68950 * math/s_clog.c (__clog): Avoid scaling a value down where that
68951 could result in underflow.
68952 * math/s_clog10.c (__clog10): Likewise.
68953 * math/s_clog10f.c (__clog10f): Likewise.
68954 * math/s_clog10l.c (__clog10l): Likewise.
68955 * math/s_clogf.c (__clogf): Likewise.
68956 * math/s_clogl.c (__clogl): Likewise.
68957 * math/libm-test.inc (clog_test): Add more tests.
68958 (clog10_test): Likewise.
68959 * sysdeps/i386/fpu/libm-test-ulps: Update.
68960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68961
68962 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68963
68964 [BZ #14283]
68965 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68966 by 7 not 8 to examine high bit of fractional part.
68967
68968 [BZ #14042]
68969 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68970 for call to __mcount_internal.
68971 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68972 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68973 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68974
68975 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68976
68977 [BZ #14154]
68978 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68979 approximation for values within 0x1p-13f of an odd multiple of
68980 pi/4.
68981 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68982 exception. Add more tests.
68983 * sysdeps/i386/fpu/libm-test-ulps: Update.
68984
68985 [BZ #6778]
68986 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68987 inputs and return -1 for them. Do not check for +Inf in case not
68988 reachable for +Inf.
68989 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68990 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68991 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68992 and return -1 for them. Do not check for +Inf in case not
68993 reachable for +Inf.
68994 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68995 define.
68996 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68997 and return -1 for them. Do not check for +Inf in case not
68998 reachable for +Inf.
68999 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
69000 spurious underflow.
69001 * sysdeps/i386/fpu/libm-test-ulps: Update.
69002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69003
69004 2012-07-06 Mike Frysinger <vapier@gentoo.org>
69005
69006 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69007
69008 2012-07-05 Joseph Myers <joseph@codesourcery.com>
69009
69010 [BZ #14157]
69011 [BZ #14331]
69012 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69013 could result in spurious underflow. Scale down values above
69014 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69015 * math/s_csqrtf.c (__csqrtf): Likewise.
69016 * math/s_csqrtl.c (__csqrtl): Likewise.
69017 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
69018 spurious underflow.
69019 * sysdeps/i386/fpu/libm-test-ulps: Update.
69020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69021
69022 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
69023
69024 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69025 xopen-msg.sed.
69026 * catgets/xopen-msg.awk: New file.
69027 * catgets/xopen-msg.sed: Removed.
69028
69029 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69030 po2text.sed.
69031 * intl/po2test.awk: New file.
69032 * intl/po2test.sed: Removed.
69033
69034 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69035
69036 [BZ #14328]
69037 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69038 or multiply small sinh result by itself.
69039 * math/s_ctanf.c (__ctanf): Likewise.
69040 * math/s_ctanh.c (__ctanh): Likewise.
69041 * math/s_ctanhf.c (__ctanhf): Likewise.
69042 * math/s_ctanhl.c (__ctanhl): Likewise.
69043 * math/s_ctanl.c (__ctanl): Likewise.
69044 * math/libm-test.inc (ctan_test_tonearest): New function.
69045 (ctan_test_towardzero): Likewise.
69046 (ctan_test_downward): Likewise.
69047 (ctan_test_upward): Likewise.
69048 (ctanh_test_tonearest): Likewise.
69049 (ctanh_test_towardzero): Likewise.
69050 (ctanh_test_downward): Likewise.
69051 (ctanh_test_upward): Likewise.
69052 (main): Call these new functions.
69053 * sysdeps/i386/fpu/libm-test-ulps: Update.
69054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69055
69056 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69057
69058 * .gitignore: Delete /ports entry.
69059
69060 2012-07-03 Andreas Jaeger <aj@suse.de>
69061
69062 * po/bg.po: Update from translation team.
69063 * po/cs.po: Likewise.
69064 * po/de.po: Likewise.
69065 * po/hr.po: Likewise.
69066 * po/nl.pl: Likewise.
69067 * po/pl.po: Likewise.
69068 * po/vi.po: Likewise.
69069
69070 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69071
69072 * Makeconfig [!+link] (+link-before-libc): New variable.
69073 [!+link] (+link-after-libc): Likewise.
69074 [!+link] (+link-tests): Likewise.
69075 [!+link] (+link): Define in terms of $(+link-before-libc) and
69076 $(+link-after-libc).
69077 [!+link-static] (+link-static-before-libc): New variable.
69078 [!+link-static] (+link-static-after-libc): Likewise.
69079 [!+link-static] (+link-static-tests): Likewise.
69080 [!+link-static] (+link-static): Define in terms of
69081 $(+link-static-before-libc) and $(+link-static-after-libc).
69082 [build-shared] (link-libc-before-gnulib): New variable.
69083 [build-shared] (link-libc-tests): Likewise.
69084 [build-shared] (link-libc): Define in terms of
69085 $(link-libc-before-gnulib).
69086 [!build-shared] (link-libc-tests): New variable.
69087 (link-libc-static-tests): New variable.
69088 [!gnulib] (gnulib-arch): New variable.
69089 [!gnulib] (gnulib-tests): Likewise.
69090 [!gnulib] (static-gnulib-arch): Likewise.
69091 [!gnulib] (static-gnulib-tests): Likewise.
69092 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69093 Define with "=" instead of ":=".
69094 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69095 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69096 * Rules (binaries-all-notests): New variable.
69097 (binaries-all-tests): Likewise.
69098 (binaries-static-notests): Likewise.
69099 (binaries-static-tests): Likewise.
69100 (binaries-all): Define using $(binaries-all-notests) and
69101 $(binaries-all-tests).
69102 (binaries-static): Define using $(binaries-static-notests) and
69103 $(binaries-static-tests).
69104 (binaries-shared-tests): New variable.
69105 (binaries-shared-notests): Likewise.
69106 (binaries-shared): Remove variable.
69107 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69108 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69109 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69110 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69111 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69112 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69113 * elf/Makefile (sln-modules): New variable.
69114 (extra-objs): Add $(sln-modules:=.o).
69115 (ldconfig-modules): Add static-stubs.
69116 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69117 * elf/static-stubs.c: New file.
69118
69119 [BZ #14283]
69120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69121 by 7 not 8 to examine high bit of fractional part. Use volatile
69122 variables when splitting into final array of floats if
69123 __FLT_EVAL_METHOD__ != 0.
69124 * math/libm-test.inc (cos_test): Add another test.
69125 (sin_test): Likewise.
69126 * sysdeps/i386/fpu/libm-test-ulps: Update.
69127
69128 [BZ #14273]
69129 * math/libm-test.inc (cosh_test): Add more tests.
69130
69131 * version.h (RELEASE): Set to "development".
69132 (VERSION): Set to "2.16.90".
69133
69134 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69135
69136 * NEWS: Update copyright. Remove last-updated date.
69137 Mention math library bug fixes and timezone data changes.
69138 * README: Mention GNU/Hurd, x32, and HPPA support status.
69139
69140 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69141
69142 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69143
69144 2012-06-27 Andreas Jaeger <aj@suse.de>
69145
69146 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69147
69148 2012-06-25 Andreas Jaeger <aj@suse.de>
69149
69150 * sysdeps/s390/fpu/libm-test-ulps: Update.
69151
69152 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69153 Thomas Schwinge <thomas@codesourcery.com>
69154
69155 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69156 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69158 fanotify_mark.
69159
69160 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69161
69162 * sysdeps/mach/start.c: Remove file.
69163 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69164 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69165 * sysdeps/sh/init-first.c: Likewise.
69166
69167 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69168 registers for frame unwinding purposes, add CFI directives.
69169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69170 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69171 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69172 Likewise.
69173
69174 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69175 __fortify_fail returning.
69176 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69177
69178 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69179 sysdeps/sh/____longjmp_chk.S.
69180 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69181 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69182 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69183 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69184
69185 * sysdeps/sh/abort-instr.h: New file.
69186 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69187 process in case exit returns.
69188
69189 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69190 initialize the GOT register before use.
69191
69192 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69193 calculation of ARGC > 4.
69194
69195 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69196 meaningful names to some local labels.
69197
69198 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69199 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69200
69201 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69202 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69203 (__arch_compare_and_exchange_val_16_acq): Likewise.
69204 (__arch_compare_and_exchange_val_32_acq): Likewise.
69205 (atomic_exchange_and_add): Fix gUSA sequence.
69206 (atomic_add): Likewise.
69207 (atomic_add_negative): Likewise.
69208 (atomic_add_zero): Likewise.
69209 (atomic_bit_test_set): Likewise.
69210
69211 2012-06-22 Andreas Schwab <schwab@redhat.com>
69212
69213 [BZ #13579]
69214 * include/link.h (struct link_map): Add l_free_initfini.
69215 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69216 l_initfini.
69217 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69218 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69219 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69220 set.
69221
69222 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69223
69224 * configure.in: Use AC_LANG_SOURCE.
69225 * configure: Regenerate.
69226
69227 2012-06-22 Roland McGrath <roland@hack.frob.com>
69228
69229 * configure.in (libc_cv_localstatedir): New substituted variable.
69230 * configure: Regenerated.
69231 * config.make.in (localstatedir): New variable, substituted from
69232 libc_cv_localstatedir.
69233 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69234 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69235 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69236 * sysdeps/gnu/configure: Regenerated.
69237
69238 2012-06-21 Jeff Law <law@redhat.com>
69239
69240 [BZ #14277]
69241 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69242 free. Simplify list management for _LIBC case.
69243
69244 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69245
69246 [BZ #14273]
69247 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69248 Clear sign bit of 64-bit integer value before comparing against
69249 overflow value.
69250
69251 * sysdeps/mach/configure: Regenerated.
69252
69253 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69254
69255 [BZ #14278]
69256 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69257
69258 2012-06-21 Jeff Law <law@redhat.com>
69259
69260 [BZ #13882]
69261 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69262 uint16_t for elements in the "seen" array to avoid char overflows.
69263 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69264 * elf/dl-open.c (dl_open_worker): Likewise.
69265
69266 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69267
69268 * scripts/list-sources.sh: Scan PORTS for translations.
69269 * po/libc.pot: Regenerated.
69270
69271 2012-06-21 Andreas Jaeger <aj@suse.de>
69272
69273 [BZ #12194]
69274 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69275 warning.
69276 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69277 * bits/byteswap-16.h (__bswap_16): Likewise.
69278 * bits/byteswap.h (__bswap_constant_16): Likewise.
69279
69280 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69281
69282 [BZ #14117]
69283 * sysdeps/i386/fpu_control.h: Removed.
69284 * sysdeps/x86_64/fpu_control.h: Moved to ...
69285 * sysdeps/x86/fpu_control.h: Here.
69286
69287 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69288 (_FPU_SETCW): Likewise.
69289
69290 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69291
69292 [BZ #14117]
69293 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69294 * sysdeps/x86/fpu/bits/mathinline.h: This.
69295 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69296
69297 [BZ #14050]
69298 [BZ #14117]
69299 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69300 functions if __x86_64__ is defined.
69301
69302 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69303
69304 * string/endian.h: Add !__ASSEMBLER__ condition for including
69305 conversion interfaces.
69306
69307 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69308
69309 [BZ #14241]
69310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69311 of ABS(x) in calculating zero to negative powers other than odd
69312 integers.
69313 * math/libm-test.inc (pow_test): Add more tests.
69314
69315 2012-06-15 Andreas Jaeger <aj@suse.de>
69316
69317 * manual/contrib.texi (Contributors): Update entry of Liubov
69318 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69319 Machado Filho.
69320
69321 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69322
69323 * string/string.h: Add __wur to GNU version of strerror_r.
69324
69325 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69326
69327 [BZ #14229]
69328 * string/Makefile (tests): Add tst-strtok_r.
69329 * string/tst-strtok_r.c: New file.
69330 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69331 RAX_LP/RDX_LP on SAVE_PTR.
69332
69333 2012-06-14 Roland McGrath <roland@hack.frob.com>
69334
69335 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69336
69337 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69338
69339 * libm_test.inc (csqrt_test): Allow more spurious underflow
69340 exceptions.
69341 (j0_test): Likewise.
69342 (j1_test): Likewise.
69343 (y0_test): Likewise.
69344 (y1_test): Likewise.
69345
69346 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69347
69348 * po/Makefile (libc.pot): Use UTF-8 charset.
69349
69350 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69351
69352 [BZ #14210]
69353 Suppress sign-conversion warning from FD_SET.
69354 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69355 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69356 not unsigned long int.
69357 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69358
69359 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69360
69361 [BZ #14050]
69362 [BZ #14117]
69363 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69364 __extern_always_inline instead of __extern_inline.
69365 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69366 (__signbit): Likewise.
69367 (__signbitl): Support C++ namespace.
69368 (lrintf): New inline function.
69369 (lrint): Likewise.
69370 (llrintf): Likewise.
69371 (llrint): Likewise.
69372 (fmaxf): Likewise.
69373 (fmax): Likewise.
69374 (fminf): Likewise.
69375 (fmin): Likewise.
69376 (rint): Likewise.
69377 (rintf): Likewise.
69378 (ceil): Likewise.
69379 (ceilf): Likewise.
69380 (floor): Likewise.
69381 (floorf): Likewise.
69382 (nearbyint): Likewise.
69383 (nearbyintf): Likewise.
69384
69385 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69386
69387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69388 non-default versions.
69389
69390 2012-06-11 Roland McGrath <roland@hack.frob.com>
69391
69392 [BZ #14218]
69393 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69394
69395 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69396
69397 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69398 (FE_UPWARD, FE_DOWNWARD): Don't define.
69399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69400 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69401
69402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69403 reading it.
69404 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69406
69407 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69408
69409 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69411 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69412 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69413
69414 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69415
69416 [BZ #14117]
69417 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69418 * sysdeps/i386/fpu/Implies: New file.
69419 * sysdeps/x86_64/fpu/Implies: Likewise.
69420 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69421 * sysdeps/x86/fpu/bits/fenv.h: This.
69422
69423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69424 __SSE_MATH__.
69425
69426 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69427
69428 [BZ #14134]
69429 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69430 character 0xffff that matches the last element of the
69431 conversion table.
69432
69433 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69434
69435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69436 fmodl commit.
69437
69438 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69439
69440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69441 values higher than 25.6283.
69442
69443 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69444
69445 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69446 subnormal exponent extraction and add some __builtin_expect.
69447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69448 Fix for subnormal mantissa calculation.
69449
69450 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69451
69452 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69453 cpu2 is -1 and errno is not ENOSYS.
69454
69455 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69456
69457 [BZ #14117]
69458 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69459 * sysdeps/x86/bits/string.h: This.
69460 * sysdeps/x86_64/bits/string.h: Removed.
69461
69462 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69463 if not compiling for x86-64, but compiling for >= i486.
69464
69465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69466 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69467
69468 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69469 New macro from Linux kernel 3.4.0.
69470 (FP_XSTATE_MAGIC2): Likewise.
69471 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69472 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69473 (struct _fpx_sw_bytes): New struct.
69474 (struct _xsave_hdr): Likewise.
69475 (struct _ymmh_state): Likewise.
69476 (struct _xstate): Likewise.
69477
69478 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69479 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69480 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69481 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69482 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69483 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69484
69485 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69486 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69487 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69488 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69489 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69490 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69491
69492 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69493
69494 [BZ #13743]
69495 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69496 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69497 (sysdep_headers): Include sys/platform/ppc.h.
69498 * sysdeps/powerpc/test-gettimebase.c: Test for
69499 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69500 * manual/Makefile (appendices): Include platform.texi.
69501 * manual/contrib.texi (Contributors): Update @node pointers.
69502 * manual/maint.texi (Maintenance): Likewise.
69503 (Platform): New node.
69504 * manual/platform.texi: New file. Document the new features.
69505
69506 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69507 Jakub Jelinek <jakub@redhat.com>
69508
69509 [BZ #14188]
69510 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69511 where __builtin_expect is unavailable.
69512
69513 2012-06-03 David S. Miller <davem@davemloft.net>
69514
69515 * stdlib/longlong.h: Updated from GCC.
69516
69517 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69518
69519 [BZ #14042]
69520 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69521 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69522 __mcount_internal.
69523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69524 (GLIBC_2.16): Likewise.
69525
69526 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69527
69528 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69529
69530 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69531
69532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69533 (default-abi): New variable.
69534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69535 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69536 variable.
69537 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69538 Likewise.
69539 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69540 Likewise.
69541 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69542 Likewise.
69543
69544 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69545 definition. Document in comment.
69546
69547 2012-06-01 David S. Miller <davem@davemloft.net>
69548
69549 * stdlib/longlong.h: Updated from GCC.
69550
69551 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69552
69553 [BZ #14117]
69554 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69555 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69556 sys/debugreg.h sys/io.h here.
69557 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69558 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69559 sys/io.h.
69560 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69561 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69562 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69563 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69564 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69565 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69566
69567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69568 Define only if __x86_64__ is defined.
69569
69570 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69571
69572 [BZ #14048]
69573 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69574 Use int64_t for variable i.
69575 * math/libm-test.inc (fmod_test): Add more tests.
69576
69577 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69578 z computation is not scheduled after fetestexcept.
69579 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69580 Use math_force_eval instead of asm to ensure calculation scheduled
69581 before exception test.
69582 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69583 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69584
69585 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69586
69587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69588 computation is not scheduled after fetestexcept.
69589
69590 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69591
69592 [BZ #14117]
69593 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69594 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69595
69596 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69597
69598 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69599 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69600
69601 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69602
69603 [BZ #14117]
69604 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69605 <bits/wordsize.h>.
69606 (__WCHAR_MIN): Support __WORDSIZE == 64.
69607 (__WCHAR_MAX): Likewise.
69608
69609 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69610 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69611
69612 [BZ #14183]
69613 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69614 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69615
69616 [BZ #14117]
69617 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69618 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69619
69620 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69621 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69622
69623 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69624 Defined to 1 if __x86_64__ isn't defined.
69625 (_STAT_VER_LINUX_OLD): New.
69626 (st_atime): Remove duplicate.
69627 (st_mtime): Likewise.
69628 (st_ctime): Likewise.
69629
69630 2012-05-31 David S. Miller <davem@davemloft.net>
69631
69632 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69633 entries.
69634
69635 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69636
69637 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69638 gen-libm-test.pl.
69639
69640 [BZ #14132]
69641 * elf/dl-reloc.c: Include <_itoa.h>.
69642 (_dl_reloc_bad_type): Remove use of INTUSE.
69643 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69644 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69645 * stdio-common/psiginfo.c (psiginfo): Likewise.
69646 * stdio-common/psignal.c (psignal): Likewise.
69647 * string/strsignal.c (strsignal): Likewise.
69648 * include/signal.h (_sys_siglist): Declare hidden proto.
69649 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69650 INTVARDEF with libc_hidden_data_def.
69651 * stdio-common/itoa-udigits.c: Likewise.
69652 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69653 (_itoa_lower_digits_internal): Remove declaration.
69654 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69655 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69656 (_sys_sigabbrev_internal): Remove aliases.
69657 (_sys_siglist): Define hidden alias.
69658
69659 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69660
69661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69662 bits/sysctl.h.
69663
69664 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69665
69666 [BZ #14117]
69667 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69668 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69669
69670 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69671 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69672 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69673 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69675 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69676
69677 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69679 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69680
69681 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69682 with __addr.
69683 (insw): Likewise.
69684 (insl): Likewise.
69685 (outsb): Likewise.
69686 (outsw): Likewise.
69687 (outsl): Likewise.
69688
69689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69691 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69692
69693 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69694 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69695 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69696 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69697 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69698 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69699
69700 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69701 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69702
69703 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69704 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69705
69706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69708 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69709
69710 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69711 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69712 to ...
69713 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69714
69715 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69716 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69717 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69718
69719 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69720 for x86-64.
69721 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69722
69723 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69724
69725 * math/math.h (M_El): Use two more decimal places.
69726 (M_LOG2El): Likewise.
69727 (M_LOG10El): Likewise.
69728 (M_LN2l): Likewise.
69729 (M_LN10l): Likewise.
69730 (M_PIl): Likewise.
69731 (M_PI_2l): Likewise.
69732 (M_PI_4l): Likewise.
69733 (M_1_PIl): Likewise.
69734 (M_2_PIl): Likewise.
69735 (M_2_SQRTPIl): Likewise.
69736 (M_SQRT2l): Likewise.
69737 (M_SQRT1_2l): Likewise.
69738
69739 2012-05-31 David S. Miller <davem@davemloft.net>
69740
69741 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69742 values between float registers.
69743 * sysdeps/sparc/sparc64/memset.S: Likewise.
69744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69745
69746 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69747
69748 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69749 -D_FORTIFY_SOURCE=1.
69750 (CPPFLAGS-tst-longjmp_chk.c): Define.
69751 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69752 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69753 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69754 CFLAGS-tst-wchar-h.c.
69755
69756 2012-05-31 Marek Polacek <polacek@redhat.com>
69757
69758 [BZ #14132]
69759 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69760 __endmntent_internal): Remove declaration.
69761 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69762 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69763 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69764
69765 2012-05-30 David S. Miller <davem@davemloft.net>
69766
69767 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69768 (___Q_simulate_exceptions): Use real FP ops rather than writing
69769 into the %fsr.
69770 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69771 Likewise.
69772
69773 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69774
69775 [BZ #14117]
69776 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69777 * sysdeps/x86/bits/xtitypes.h: This.
69778
69779 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69780 * sysdeps/x86/bits/wordsize.h: This.
69781
69782 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69783 * sysdeps/x86/bits/huge_vall.h: This.
69784
69785 * sysdeps/i386/bits/select.h: Removed.
69786 * sysdeps/x86_64/bits/select.h: Renamed to ...
69787 * sysdeps/x86/bits/select.h: This.
69788
69789 * sysdeps/i386/bits/setjmp.h: Removed.
69790 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69791 * sysdeps/x86/bits/setjmp.h: This.
69792
69793 * sysdeps/i386/bits/mathdef.h: Removed.
69794 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69795 * sysdeps/x86/bits/mathdef.h: This.
69796
69797 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69798
69799 [BZ #14132]
69800 * include/sys/socket.h (__connect_internal)
69801 (__libc_sa_len_internal): Remove declaration.
69802 (__connect, __libc_sa_len): Declare hidden_proto.
69803 (SA_LEN): Remove use of INTUSE.
69804 * socket/connect.c: Add libc_hidden_def.
69805 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69806 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69807 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69808 alias.
69809 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69810 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69811 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69812 of adding _internal alias.
69813
69814 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69815
69816 [BZ #14117]
69817 * sysdeps/i386/bits/link.h: Removed.
69818 * sysdeps/i386/bits/linkmap.h: Likewise.
69819 * sysdeps/x86_64/bits/link.h: Renamed to ...
69820 * sysdeps/x86/bits/link.h: This.
69821 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69822 * sysdeps/x86/bits/linkmap.h: This.
69823
69824 * sysdeps/i386/bits/endian.h: Removed.
69825 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69826 * sysdeps/x86/bits/endian.h: This.
69827
69828 * sysdeps/i386/bits/byteswap.h: Removed.
69829 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69830 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69831 * sysdeps/x86/bits/byteswap.h: This.
69832 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69833 * sysdeps/x86/bits/byteswap-16.h: This.
69834 * sysdeps/i386/Implies: Add x86.
69835 * sysdeps/x86_64/Implies: Likewise.
69836
69837 2012-05-30 David S. Miller <davem@davemloft.net>
69838
69839 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69840 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69841 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69842 (FP_TRAPPING_EXCEPTIONS): Define.
69843 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69844 (FP_TRAPPING_EXCEPTIONS): Define.
69845 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69846 subnormals only when inexact has been signalled or underflow
69847 exceptions are enabled.
69848 (_FP_PACK_CANONICAL): Likewise.
69849
69850 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69851
69852 [BZ #14183]
69853 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69854 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69855
69856 2012-05-30 Richard Henderson <rth@twiddle.net>
69857
69858 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69859 with #ifndef NOT_IN_libc.
69860
69861 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69862 marked to avoid plt entry.
69863
69864 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69865
69866 [BZ #14112]
69867 * Makeconfig (default-abi): New macro.
69868 (abi-includes): Likewise.
69869 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69870 $(abi-$(default-abi)-lib-soname) for soname if defined.
69871 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69872 abi-variants.
69873 * Makefile (installed-stubs): Likewise.
69874 * include/stubs-biarch.h: Removed.
69875 * scripts/lib-names.awk: Only handle one library at a time.
69876 * scripts/soversions.awk: Remove WORDSIZE support.
69877 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69878 entries.
69879 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69880 Removed.
69881 (syscall-list-default-condition): Likewise.
69882 (syscall-list-default-condition): Likewise.
69883 (syscall-list-includes): Likewise.
69884 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69885 syscall-list-* with abi-*. Handle undefined abi-variants.
69886 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69887 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69888 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69889 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69890 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69891 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69892 Removed.
69893 (syscall-list-32-options): Likewise.
69894 (syscall-list-32-condition): Likewise.
69895 (syscall-list-64-options): Likewise.
69896 (syscall-list-64-condition): Likewise.
69897 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69898 macro.
69899 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69900 Renamed to ...
69901 (abi-*): This.
69902 (abi-64-ld-soname): New macro.
69903 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69904 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69905 Renamed to ...
69906 (abi-*): This.
69907 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69908 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69909
69910 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69911
69912 * sysdeps/unix/sysv/linux/kernel-features.h
69913 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69914 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69915 include <kernel-features.h>.
69916 [!__NR_ftruncate64]: Remove conditional code.
69917 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69918 [__NR_ftruncate64]: Make code unconditional.
69919 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69920 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69921 include <kernel-features.h>.
69922 [!__NR_ftruncate64]: Remove conditional code.
69923 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69924 [__NR_ftruncate64]: Make code unconditional.
69925 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69927 include <kernel-features.h>.
69928 [!__NR_ftruncate64]: Remove conditional code.
69929 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69930 [__NR_ftruncate64]: Make code unconditional.
69931 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69933 include <kernel-features.h>.
69934 [!__NR_ftruncate64]: Remove conditional code.
69935 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69936 [__NR_ftruncate64]: Make code unconditional.
69937 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69938
69939 * configure.in (libc_cv_fpie): Weaken to a compile test using
69940 LIBC_TRY_CC_OPTION.
69941 * configure: Regenerated.
69942
69943 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69944
69945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69949 Refreshed.
69950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69956 Refreshed.
69957
69958 2012-05-27 David S. Miller <davem@davemloft.net>
69959
69960 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69961 (___Q_zero): New.
69962 (__Q_simulate_exceptions): Return void. Change to simulate
69963 exceptions by writing into the %fsr.
69964 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69965 (__Qp_handle_exceptions): Likewise.
69966 (numbers): Delete.
69967 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69968 __Qp_handle_exceptions.
69969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69970 __Qp_handle_exceptions.
69971 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69972 as unused and give dummy FP_RND_NEAREST initializer.
69973 (FP_INHIBIT_RESULTS): Define.
69974 (___Q_simulate_exceptions): Update declaration.
69975 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69976 formatting.
69977 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69978 as unused and give dummy FP_RND_NEAREST initializer.
69979 (__Qp_handle_exceptions): Update declaration.
69980 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69981 formatting.
69982
69983 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69984
69985 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69986 the temporary FPU control word.
69987 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69988 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69989 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69990 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69991 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69992 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69993 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69994 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69995 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69996 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69997 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69998
69999 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70000
70001 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70002 fields.
70003
70004 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
70005
70006 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70007 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70008 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70009 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70010 Likewise.
70011 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70012 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70013 Likewise.
70014
70015 2012-05-27 Ulrich Drepper <drepper@gmail.com>
70016
70017 * po/h.po: Update from translation team.
70018
70019 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
70020
70021 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70022
70023 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70024 handling of denormals.
70025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70026 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70027 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70028 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70029 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70032 Likewise.
70033
70034 2012-05-26 Marek Polacek <polacek@redhat.com>
70035
70036 [BZ #14152]
70037 * math/libm-test.inc (fma_test): Don't always expect underflow
70038 exception.
70039
70040 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70041
70042 [BZ #12416]
70043 * elf/tst-execstack.c: Include stackinfo.h.
70044 (do_test): Adjust test case to ensure that pthread_getattr_np
70045 behaviour remains the same after marking stack executable.
70046
70047 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70048
70049 * sysdeps/unix/sysv/linux/kernel-features.h
70050 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70051 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70052 kernel-features.h.
70053 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70054 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70055 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70056 kernel-features.h.
70057 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70058 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70059
70060 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70061
70062 * configure.in: Define the default includes to being none.
70063 * configure: Regenerated.
70064
70065 2012-05-25 Roland McGrath <roland@hack.frob.com>
70066
70067 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70068 * sysdeps/x86_64/setjmp.S: Likewise.
70069 * sysdeps/i386/bsd-setjmp.S: Likewise.
70070 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70071 * sysdeps/i386/setjmp.S: Likewise.
70072 * sysdeps/i386/__longjmp.S: Likewise.
70073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70074 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70075
70076 * include/stap-probe.h: New file.
70077 * configure.in: Handle --enable-systemtap.
70078 * configure: Regenerated.
70079 * config.h.in (USE_STAP_PROBE): New #undef.
70080 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70081 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70082 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70083
70084 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70085
70086 [BZ #13717]
70087 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70088 to 2.4.0 where earlier.
70089 * sysdeps/unix/sysv/linux/configure: Regenerated.
70090 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70091 <kernel-features.h>.
70092 [__ASSUME_32BITUIDS]: Make code unconditional.
70093 [!__ASSUME_32BITUIDS]: Remove conditional code.
70094 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70095 <kernel-features.h>.
70096 [__ASSUME_32BITUIDS]: Make code unconditional.
70097 [!__ASSUME_32BITUIDS]: Remove conditional code.
70098 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70099 [__ASSUME_32BITUIDS]: Make code unconditional.
70100 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70101 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70102 <kernel-features.h>.
70103 [__ASSUME_32BITUIDS]: Make code unconditional.
70104 [!__ASSUME_32BITUIDS]: Remove conditional code.
70105 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70106 <kernel-features.h>.
70107 [__ASSUME_32BITUIDS]: Make code unconditional.
70108 [!__ASSUME_32BITUIDS]: Remove conditional code.
70109 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70110 <kernel-features.h>.
70111 [__ASSUME_32BITUIDS]: Make code unconditional.
70112 [!__ASSUME_32BITUIDS]: Remove conditional code.
70113 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70114 <kernel-features.h>.
70115 [__ASSUME_32BITUIDS]: Make code unconditional.
70116 [!__ASSUME_32BITUIDS]: Remove conditional code.
70117 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70118 <kernel-features.h>.
70119 [__ASSUME_32BITUIDS]: Make code unconditional.
70120 [!__ASSUME_32BITUIDS]: Remove conditional code.
70121 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
70142 <kernel-features.h>.
70143 [__NR_setresgid] (__setresgid): Do not declare.
70144 [__ASSUME_32BITUIDS]: Make code unconditional.
70145 [!__ASSUME_32BITUIDS]: Remove conditional code.
70146 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70147 <kernel-features.h>.
70148 [__NR_setresuid] (__setresuid): Do not declare.
70149 [__ASSUME_32BITUIDS]: Make code unconditional.
70150 [!__ASSUME_32BITUIDS]: Remove conditional code.
70151 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70152 <kernel-features.h>.
70153 [__ASSUME_32BITUIDS]: Make code unconditional.
70154 [!__ASSUME_32BITUIDS]: Remove conditional code.
70155 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70156 <kernel-features.h>.
70157 [__ASSUME_32BITUIDS]: Make code unconditional.
70158 [!__ASSUME_32BITUIDS]: Remove conditional code.
70159 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70160 <kernel-features.h>.
70161 [__ASSUME_32BITUIDS]: Make code unconditional.
70162 [!__ASSUME_32BITUIDS]: Remove conditional code.
70163 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70164 <kernel-features.h>.
70165 [__ASSUME_32BITUIDS]: Make code unconditional.
70166 [!__ASSUME_32BITUIDS]: Remove conditional code.
70167 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70168 <kernel-features.h>.
70169 [__ASSUME_32BITUIDS]: Make code unconditional.
70170 [!__ASSUME_32BITUIDS]: Remove conditional code.
70171 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70172 <kernel-features.h>.
70173 [__ASSUME_32BITUIDS]: Make code unconditional.
70174 [!__ASSUME_32BITUIDS]: Remove conditional code.
70175 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70176 <kernel-features.h>.
70177 [__ASSUME_32BITUIDS]: Make code unconditional.
70178 [!__ASSUME_32BITUIDS]: Remove conditional code.
70179 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70180 <kernel-features.h>.
70181 [__ASSUME_32BITUIDS]: Make code unconditional.
70182 [!__ASSUME_32BITUIDS]: Remove conditional code.
70183 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
70192 (__ASSUME_SETRESUID_SYSCALL): Remove.
70193 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70194 (__ASSUME_32BITUIDS): Likewise.
70195 (__ASSUME_LDT_WORKS): Likewise.
70196 (__ASSUME_O_DIRECTORY): Likewise.
70197 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70198 architecture but not kernel version.
70199 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70200 (__ASSUME_MMAP2_SYSCALL): Likewise.
70201 (__ASSUME_STAT64_SYSCALL): Likewise.
70202 (__ASSUME_IPC64): Likewise.
70203 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70204 <kernel-features.h>.
70205 [__ASSUME_32BITUIDS]: Make code unconditional.
70206 [!__ASSUME_32BITUIDS]: Remove conditional code.
70207 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70208 <kernel-features.h>.
70209 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70210 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70211 132096]: Remove conditional code.
70212 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70213 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70214 <kernel-features.h>.
70215 [__ASSUME_32BITUIDS]: Make code unconditional.
70216 [!__ASSUME_32BITUIDS]: Remove conditional code.
70217 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70218 <kernel-features.h>.
70219 [__ASSUME_32BITUIDS]: Make code unconditional.
70220 [!__ASSUME_32BITUIDS]: Remove conditional code.
70221 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70222 <kernel-features.h>.
70223 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70224 unconditional.
70225 (__setresgid): Do not declare.
70226 [__ASSUME_32BITUIDS]: Make code unconditional.
70227 [!__ASSUME_32BITUIDS]: Remove conditional code.
70228 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70229 <kernel-features.h>.
70230 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70231 unconditional.
70232 (__setresuid): Do not declare.
70233 [__ASSUME_32BITUIDS]: Make code unconditional.
70234 [!__ASSUME_32BITUIDS]: Remove conditional code.
70235 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70236 <kernel-features.h>.
70237 [__ASSUME_32BITUIDS]: Make code unconditional.
70238 [!__ASSUME_32BITUIDS]: Remove conditional code.
70239 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70240 <kernel-features.h>.
70241 [__ASSUME_32BITUIDS]: Make code unconditional.
70242 [!__ASSUME_32BITUIDS]: Remove conditional code.
70243
70244 2012-05-25 Richard Henderson <rth@twiddle.net>
70245
70246 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70247 dl_hwcap to ifunc resolver.
70248 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70249 elf_ifunc_invoke.
70250 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70251 dl_hwcap to ifunc resolver.
70252 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70253
70254 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70255
70256 [BZ #14153]
70257 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70258 for |x| <= 2**-26, not 2**-57.
70259 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70260 exception.
70261
70262 2012-05-24 Jeff Law <law@redhat.com>
70263
70264 * stdio-common/Makefile (tests): Add bug25.
70265 * stdio-common/bug25.c: New test.
70266
70267 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70268
70269 [BZ #13576]
70270 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70271 multiple of MALLOC_ALIGNMENT in size.
70272 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70273
70274 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70275
70276 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70277 Require >= 256.
70278 (FILENAME_MAX): Use macro-int-constant.
70279 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70280 (_IOFBF): Use macro-int-constant.
70281 (_IOLBF): Likewise.
70282 (_IONBF): Likewise.
70283 (SEEK_CUR): Likewise.
70284 (SEEK_END): Likewise.
70285 (SEEK_SET): Likewise.
70286 (TMP_MAX): Likewise.
70287 (EOF): Use macro-int-constant. Require < 0.
70288 (NULL): Use macro-constant. Require == 0.
70289 (stdin): Require type to be FILE *.
70290 (stdout): Likewise.
70291 (stderr): Likewise.
70292 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70293 macro-int-constant.
70294 (EXIT_SUCCESS): Likewise.
70295 (NULL): Use macro-constant. Require == 0.
70296 (RAND_MAX): Use macro-int-constant.
70297 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70298 [C99-based standards] (strtof): Require function.
70299 [C99-based standards] (strtold): Likewise.
70300 [C99-based standards] (strtoll): Likewise.
70301 [C99-based standards] (strtoull): Likewise.
70302 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70303 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70304 [ISO || ISO99 || ISO11] (math.h): Likewise.
70305 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70306 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70308
70309 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70310
70311 [BZ #14132]
70312 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70313 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70314 * intl/dgettext.c (DCGETTEXT): Likewise.
70315 * intl/gettext.c (DCGETTEXT): Likewise.
70316 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70317 * posix/regex_internal.h (gettext): Likewise.
70318 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70319 Remove declaration.
70320 * include/argz.h (__argz_count_internal)
70321 (__argz_stringify_internal): Remove declaration.
70322 (__argz_count, __argz_stringify): Declare hidden proto.
70323 * intl/dcgettext.c: Remove use of INTDEF.
70324 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70325 * string/argz-stringify.c: Likewise.
70326 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70327 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70328 Declare hidden proto.
70329 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70330 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70331 Declare hidden proto.
70332 * include/stdio.h (__asprintf_internal): Don't declare.
70333 (__asprintf): Don't define as macro. Declare hidden proto.
70334 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70335 (__fsetlocking): Declare hidden proto.
70336 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70337 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70338 hidden proto.
70339 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70340 (_IO_setlinebuf): Remove use of INTUSE.
70341 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70342 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70343 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70344 Remove declaration.
70345 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70346 (_IO_do_flush): Remove use of INTUSE.
70347 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70348 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70349 (_IO_adjust_column, _IO_least_wmarker)
70350 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70351 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70352 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70353 (_IO_default_doallocate, _IO_wdefault_doallocate)
70354 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70355 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70356 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70357 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70358 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70359 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70360 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70361 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70362 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70363 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70364 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70365 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70366 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70367 proto.
70368 (_IO_flush_all_internal, _IO_adjust_column_internal)
70369 (_IO_default_uflow_internal, _IO_default_finish_internal)
70370 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70371 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70372 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70373 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70374 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70375 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70376 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70377 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70378 (_IO_file_close_internal, _IO_file_close_it_internal)
70379 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70380 (_IO_file_init_internal, _IO_file_attach_internal)
70381 (_IO_file_fopen_internal, _IO_file_read_internal)
70382 (_IO_file_sync_internal, _IO_file_seek_internal)
70383 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70384 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70385 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70386 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70387 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70388 (_IO_list_all_internal, _IO_link_in_internal)
70389 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70390 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70391 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70392 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70393 (_IO_do_write_internal, _IO_padn_internal)
70394 (_IO_getline_info_internal, _IO_getline_internal)
70395 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70396 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70397 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70398 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70399 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70400 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70401 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70402 with libc_hidden_ver, remove use of INTUSE.
70403 * libio/genops.c: Likewise.
70404 * libio/freopen.c: Likewise.
70405 * libio/freopen64.c: Likewise.
70406 * libio/iofclose.c: Likewise.
70407 * libio/iofdopen.c: Likewise.
70408 * libio/iofflush.c: Likewise.
70409 * libio/iofflush_u.c: Likewise.
70410 * libio/iofgets.c: Likewise.
70411 * libio/iofgets_u.c: Likewise.
70412 * libio/iofopen.c: Likewise.
70413 * libio/iofopncook.c: Likewise.
70414 * libio/iofread.c: Likewise.
70415 * libio/iofread_u.c: Likewise.
70416 * libio/ioftell.c: Likewise.
70417 * libio/iofwrite.c: Likewise.
70418 * libio/iogetline.c: Likewise.
70419 * libio/iogets.c: Likewise.
70420 * libio/iogetwline.c: Likewise.
70421 * libio/iopadn.c: Likewise.
70422 * libio/iopopen.c: Likewise.
70423 * libio/ioseekoff.c: Likewise.
70424 * libio/ioseekpos.c: Likewise.
70425 * libio/iosetbuffer.c: Likewise.
70426 * libio/iosetvbuf.c: Likewise.
70427 * libio/ioungetc.c: Likewise.
70428 * libio/ioungetwc.c: Likewise.
70429 * libio/iovdprintf.c: Likewise.
70430 * libio/iovsprintf.c: Likewise.
70431 * libio/iovsscanf.c: Likewise.
70432 * libio/memstream.c: Likewise.
70433 * libio/obprintf.c: Likewise.
70434 * libio/oldfileops.c: Likewise.
70435 * libio/oldiofclose.c: Likewise.
70436 * libio/oldiofdopen.c: Likewise.
70437 * libio/oldiofopen.c: Likewise.
70438 * libio/oldiopopen.c: Likewise.
70439 * libio/oldstdfiles.c: Likewise.
70440 * libio/putc.c: Likewise.
70441 * libio/setbuf.c: Likewise.
70442 * libio/setlinebuf.c: Likewise.
70443 * libio/stdfiles.c: Likewise.
70444 * libio/strops.c: Likewise.
70445 * libio/vasprintf.c: Likewise.
70446 * libio/vscanf.c: Likewise.
70447 * libio/vsnprintf.c: Likewise.
70448 * libio/vswprintf.c: Likewise.
70449 * libio/wfiledoalloc.c: Likewise.
70450 * libio/wfileops.c: Likewise.
70451 * libio/wgenops.c: Likewise.
70452 * libio/wmemstream.c: Likewise.
70453 * libio/wstrops.c: Likewise.
70454 * libio/__fpurge.c: Likewise.
70455 * libio/__fsetlocking.c: Likewise.
70456 * assert/assert.c: Likewise.
70457 * debug/fgets_chk.c: Likewise.
70458 * debug/fgets_u_chk.c: Likewise.
70459 * debug/fread_chk.c: Likewise.
70460 * debug/fread_u_chk.c: Likewise.
70461 * debug/gets_chk.c: Likewise.
70462 * debug/obprintf_chk.c: Likewise.
70463 * debug/vasprintf_chk.c: Likewise.
70464 * debug/vdprintf_chk.c: Likewise.
70465 * debug/vsnprintf_chk.c: Likewise.
70466 * debug/vsprintf_chk.c: Likewise.
70467 * malloc/mtrace.c: Likewise.
70468 * misc/error.c: Likewise.
70469 * misc/syslog.c: Likewise.
70470 * stdio-common/asprintf.c: Likewise.
70471 * stdio-common/fxprintf.c: Likewise.
70472 * stdio-common/getw.c: Likewise.
70473 * stdio-common/isoc99_fscanf.c: Likewise.
70474 * stdio-common/isoc99_scanf.c: Likewise.
70475 * stdio-common/isoc99_vfscanf.c: Likewise.
70476 * stdio-common/isoc99_vscanf.c: Likewise.
70477 * stdio-common/isoc99_vsscanf.c: Likewise.
70478 * stdio-common/printf-prs.c: Likewise.
70479 * stdio-common/printf_fp.c: Likewise.
70480 * stdio-common/printf_fphex.c: Likewise.
70481 * stdio-common/printf_size.c: Likewise.
70482 * stdio-common/putw.c: Likewise.
70483 * stdio-common/scanf.c: Likewise.
70484 * stdio-common/sprintf.c: Likewise.
70485 * stdio-common/tmpfile.c: Likewise.
70486 * stdio-common/vfprintf.c: Likewise.
70487 * stdio-common/vfscanf.c: Likewise.
70488 * stdlib/strfmon_l.c: Likewise.
70489 * sunrpc/openchild.c: Likewise.
70490 * sunrpc/xdr_stdio.c: Likewise.
70491 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70492 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70493
70494 2012-05-24 Roland McGrath <roland@hack.frob.com>
70495
70496 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70497
70498 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70499 in the third column, to generate for the shared library an IFUNC
70500 that uses _dl_vdso_vsym.
70501 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70502 * Makeconfig (object-suffixes-noshared): New variable.
70503
70504 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70505 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70506 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70507 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70508
70509 [BZ #14132]
70510 * include/sys/time.h (__gettimeofday): Remove macro.
70511 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70512 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70513 Remove INTDEF.
70514 (__gettimeofday): Add libc_hidden_def.
70515 (gettimeofday): Add libc_hidden_weak.
70516 * sysdeps/mach/gettimeofday.c: Likewise.
70517 * sysdeps/posix/gettimeofday.c: Likewise.
70518 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70519 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70520 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70521 (__gettimeofday_internal): Remove strong_alias.
70522 (__gettimeofday): Add libc_hidden_def.
70523 (gettimeofday): Add libc_hidden_weak.
70524 * sysdeps/unix/syscalls.list (gettimeofday):
70525 Remove __gettimeofday_internal alias.
70526
70527 2012-05-24 Daniel Jacobowitz <drow@false.org>
70528 H.J. Lu <hongjiu.lu@intel.com>
70529
70530 [BZ #12495]
70531 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70532 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70533 (largebin_index_32_big): New.
70534 (largebin_index): Use it for 16-byte alignment.
70535 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70536 correction with front_misalign.
70537
70538 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70539
70540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70542 Likewise.
70543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70544 Likewise.
70545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70546 Likewise.
70547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70548 Likewise.
70549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70550 Likewise.
70551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70552 Likewise.
70553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70554 Likewise.
70555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70556 Likewise.
70557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70558 Likewise.
70559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70560 Likewise.
70561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70562 Likewise.
70563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70564 Likewise.
70565
70566 * scripts/data/c++-types-x32-linux-gnu.data: New file.
70567 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70568
70569 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70570
70571 [BZ #10846]
70572 [BZ #14036]
70573 * math/libm-test.inc (exp_test): Add test from bug 14036.
70574 (pow_test): Add test from bug 10846.
70575
70576 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70577 and other flags.
70578 (special_function): Do not include flags in test name.
70579 (parse_args): Likewise.
70580 * sysdeps/i386/fpu/libm-test-ulps: Update.
70581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70582 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70583 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70585
70586 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70587 exceptions.
70588 * math/libm-test.inc ("Philosophy"): Update comment about
70589 exception testing.
70590 (UNDERFLOW_EXCEPTION): New macro.
70591 (UNDERFLOW_EXCEPTION_OK): Likewise.
70592 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70593 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70594 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70595 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70596 (INVALID_EXCEPTION_OK): Update value.
70597 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70598 (OVERFLOW_EXCEPTION_OK): Likewise.
70599 (IGNORE_ZERO_INF_SIGN): Likewise.
70600 (test_exceptions): Handle underflow exceptions.
70601 (acos_test): Update for underflow exception expectations.
70602 (cexp_test): Likewise.
70603 (clog_test): Likewise.
70604 (clog10_test): Likewise.
70605 (csqrt_test): Likewise.
70606 (ctan_test): Likewise.
70607 (ctanh_test): Likewise.
70608 (exp_test): Likewise.
70609 (exp10_test): Likewise.
70610 (exp2_test): Likewise.
70611 (expm1_test): Likewise.
70612 (fma_test): Likewise.
70613 (j0_test): Likewise.
70614 (jn_test): Likewise.
70615 (nexttoward_test): Likewise.
70616 (pow_test): Likewise.
70617 (scalbn_test): Likewise.
70618 (scalbln_test): Likewise.
70619 (tan_test): Likewise.
70620 (y1_test): Likewise.
70621 * sysdeps/i386/fpu/libm-test-ulps: Update.
70622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70623
70624 2012-05-23 David S. Miller <davem@davemloft.net>
70625
70626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70627 (__libc_sigaction): Remove unused local variables.
70628
70629 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70630
70631 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70632
70633 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70634
70635 mktime: avoid signed integer overflow
70636 * time/mktime.c (__mktime_internal): Do not mishandle the case
70637 where diff == INT_MIN.
70638
70639 mktime: simplify computation of average
70640 * time/mktime.c (ranged_convert): Use new time_t_avg function
70641 instead of rolling our own (probably-slower) code.
70642
70643 mktime: do not assume signed right shift propagates sign bit
70644 * time/mktime.c (isdst_differ): New static function.
70645 (__mktime_internal): No need to normalize tm_isdst now.
70646 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70647 tm_isdst values.
70648
70649 mktime: merge another wrapv change from gnulib
70650 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70651 from some compilers.
70652
70653 mktime: remove incorrect attempt at unusual arithmetics
70654 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70655 The code didn't really work on such machines anyway.
70656 (TYPE_MINIMUM): Assume two's complement.
70657 (twos_complement_arithmetic): Verify that long_int and time_t
70658 are two's complement (or unsigned, in the latter case).
70659
70660 mktime: check signed shifts on long_int and time_t, too
70661 * time/mktime.c (SHR): Check that shifts work as desired
70662 on the types long_int and time_t too, as SHR is used on
70663 such types.
70664
70665 mktime: do not assume 'long' is wide enough
70666 * time/mktime.c (verify): Move decl up.
70667 (long_int): New type.
70668 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70669 to remove assumption in the code that 'long' is wide enough to
70670 store year values. This assumption is not true on x32 and on
70671 some non-glibc platforms.
70672
70673 mktime: merge wrapv change from gnulib
70674 * time/mktime.c (WRAPV): New macro.
70675 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70676 (guess_time_tm, __mktime_internal): Do not assume that signed
70677 integer overflow wraps around; modern compilers generate code
70678 where this assumption is no longer valid.
70679
70680 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70681
70682 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70683 Replace "jmp L(pseudo_end)" with "ret".
70684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70685 Likewise.
70686
70687 2012-05-23 Andreas Jaeger <aj@suse.de>
70688
70689 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70690 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70691
70692 2012-05-23 Andreas Jaeger <aj@suse.de>
70693 Maximilian Attems <max@stro.at>
70694
70695 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70696 New macros.
70697
70698 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70699
70700 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70701 code so that pseudo_end is just ret and the stack pointer is
70702 correct also for static library in error case.
70703
70704 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70705
70706 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70707 move to syscalls.list.
70708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70712
70713 * manual/install.texi (Running make install): Do not mention Linux
70714 kernel version for which pt_chown is not needed.
70715 (Linux): Do not mention problems with nscd with 2.0 kernels.
70716 * INSTALL: Regenerated.
70717
70718 2012-05-23 Andreas Jaeger <aj@suse.de>
70719
70720 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70721 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70722 macro.
70723 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70724 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70725 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70726 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70727 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70728 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70730 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70731 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70732 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70733 * sysdeps/unix/sysv/linux/bits/in.h
70734 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70735
70736 2012-05-22 Roland McGrath <roland@hack.frob.com>
70737
70738 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70739 (PREPARE_VERSION): Just use assert instead, it will be elided
70740 under [NDEBUG] anyway.
70741
70742 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70743
70744 * sysdeps/unix/sysv/linux/Makefile: Include
70745 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70746 (sysdep_routines): Remove sysctl.
70747 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70748 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70749 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70750 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70751 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70752
70753 2012-05-22 Andreas Jaeger <aj@suse.de>
70754
70755 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70756 that pseudo_end is just ret and the stack pointer is correct also
70757 for static library in error case.
70758
70759 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70760
70761 [BZ #14122]
70762 * nss/nsswitch.c (defconfig_entries): New variable.
70763 (__nss_database_lookup): Don't leak defconfig entries.
70764 (nss_parse_service_list): Don't leak on error paths.
70765 (free_database_entries): New function.
70766 (free_defconfig): New function.
70767 (free_mem): Move common code to free_database_entries.
70768
70769 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70770
70771 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70772 Add arch_prctl.
70773 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70774
70775 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70776 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70778 New macro.
70779 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70780 (INTERNAL_SYSCALL_TYPES): Likewise.
70781 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70782 (LOAD_REGS_TYPES_[1-6]): Likewise.
70783 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70784 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70785
70786 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70787
70788 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70789 copysignl for GLIBC_2_0.
70790 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70791 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70792 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70793 logbl for GLIBC_2_0.
70794 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70795 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70796
70797 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70798
70799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70800 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70801
70802 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70803 Use "neg %eax".
70804
70805 * time/mktime.c: Update copyright years.
70806
70807 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70808
70809 mktime: merge comment-quoting-style change from gnulib
70810 * time/mktime.c: Quote 'like this' in comments.
70811 The GNU coding standards suggest that we no longer quote `like this',
70812 as "`" and "'" are typically rendered asymmetrically nowadays.
70813 The typical gnulib style is to quote 'like this' when quoting
70814 code, and "like this" when quoting English.
70815
70816 * time/mktime.c (compile-command): Add "-I.".
70817
70818 mktime: merge mktime-internal.h change from gnulib
70819 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70820
70821 mktime: merge time_r change from gnulib
70822 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70823
70824 mktime: merge DEBUG change from gnulib
70825 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70826 case system <time.h> has a #define.
70827
70828 mktime: merge <sys/types.h> change from gnulib
70829 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70830 since <time.t> is now guaranteed to define time_t.
70831
70832 mktime: merge HAVE_CONFIG_H change from gnulib
70833 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70834
70835 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70836
70837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70838 Use "neg %eax".
70839
70840 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70841 __rlim_t cast.
70842 (struct rusage): Use anonymous union to pad each field to
70843 __syscall_slong_t.
70844
70845 2012-05-21 David S. Miller <davem@davemloft.net>
70846
70847 * Makefules (o-iterator): Remove .s cases.
70848 (compile-command.s): Delete.
70849 (COMPILE.s): Delete.
70850 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70851
70852 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70853
70854 * configure.in (libc_cv_predef_stack_protector): Only consider
70855 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70856 * configure: Regenerated.
70857
70858 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70859
70860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70861 New macro. Use R*LP on int and pointer.
70862 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70863 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70864 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70865 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70866
70867 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70868 [__WORDSIZE_TIME64_COMPAT32] instead of
70869 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70870 (struct utmp): Likewise.
70871 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70872 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70873 Renamed to ...
70874 (__WORDSIZE_TIME64_COMPAT32): This.
70875 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70876 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70877 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70878 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70879 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70880 (__WORDSIZE_TIME64_COMPAT32): New macro.
70881
70882 2012-05-21 Andreas Jaeger <aj@suse.de>
70883
70884 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70885 only if [SHARED]. Add prototype for __wcschr_ia32.
70886
70887 2012-05-21 Roland McGrath <roland@hack.frob.com>
70888
70889 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70890 of %rbp unmolested in the jmp_buf while mangling the low bits.
70891 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70892 unmolested high bits of %rbp while demangling the low bits.
70893 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70894
70895 2012-05-21 Andreas Jaeger <aj@suse.de>
70896
70897 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70898 * sunrpc/svc_simple.c: Use it for registerrpc.
70899 * sunrpc/xcrypt.c: Use it for passwd2des.
70900
70901 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70902
70903 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70904
70905 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70906 Don't define if [__SYSCALL_WORDSIZE != 32].
70907 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70908 New macro.
70909
70910 2012-05-21 Bruno Haible <bruno@clisp.org>
70911 Andreas Jaeger <aj@suse.de>
70912
70913 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70914 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70915 inptr and inend for must_buffer_ch.
70916 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70917 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70918 * stdio-common/Makefile (tests): Remove bug15.
70919 (bug15-ENV): Remove macro.
70920 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70921 anymore.
70922
70923 2012-05-19 Andreas Jaeger <aj@suse.de>
70924 Roland McGrath <roland@hack.frob.com>
70925
70926 * manual/contrib.texi: Completely rewritten. It contains now an
70927 alphabetical list of contributors and their contributions.
70928
70929 2012-05-21 Richard Henderson <rth@twiddle.net>
70930
70931 * misc/getauxval.c (__getauxval): Use unsigned long int.
70932 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70933 (getauxval): Use unsigned long int.
70934
70935 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70936
70937 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70938
70939 2012-05-21 Roland McGrath <roland@hack.frob.com>
70940
70941 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70942 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70943 __alignof__ (long double).
70944
70945 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70946
70947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70948
70949 2012-05-20 Richard Henderson <rth@twiddle.net>
70950
70951 * misc/getauxval.c: New file.
70952 * misc/sys/auxv.h: New file.
70953 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70954 (routines): Add getauxval.
70955 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70956 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70957 * elf/dl-sysdep.c (_dl_auxv): Remove.
70958 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70959 * elf/dl-support.c (_dl_auxv): New variable.
70960 (_dl_aux_init): Initialize it.
70961 * manual/startup.texi (Auxiliary Vector): New node.
70962 * sysdeps/generic/bits/hwcap.h: New file.
70963 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70964 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70965 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70966 * sysdeps/sparc/sysdep.h: ... here. Include it.
70967 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70970 Update.
70971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70979
70980 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70981
70982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70983
70984 2012-05-19 David S. Miller <davem@davemloft.net>
70985
70986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70987
70988 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70989
70990 [BZ #14123]
70991 * math/s_ccosh.c: Include <float.h>
70992 (__ccosh): Avoid internal overflow calculating sinh and cosh
70993 values before multiplying by sin and cos values.
70994 * math/s_ccoshf.c: Likewise.
70995 * math/s_ccoshl.c: Likewise.
70996 * math/s_csin.c: Likewise.
70997 * math/s_csinf.c: Likewise.
70998 * math/s_csinl.c: Likewise.
70999 * math/s_csinh.c: Likewise.
71000 * math/s_csinhf.c: Likewise.
71001 * math/s_csinhl.c: Likewise.
71002 * math/libm-test.inc (ccos_test): Add more tests.
71003 (ccosh_test): Likewise.
71004 (csin_test): Likewise.
71005 (csinh_test): Likewise.
71006 * sysdeps/i386/fpu/libm-test-ulps: Update.
71007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71008
71009 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
71010
71011 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71012 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71013
71014 * sysdeps/x86_64/x32/_itoa.h: Add comment.
71015
71016 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71017
71018 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71019 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71020 * sysdeps/powerpc/soft-fp/Versions: Likewise.
71021 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71022 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71023 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71024 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71025 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71026 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71027 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71028 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71029 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71030 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71031 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71032 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71033 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71034 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71035 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71036 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71037 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71038 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71039 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71040 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71041 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71042 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71043 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71044 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71045 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71046 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71047 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71048 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71049
71050 2012-05-18 Andreas Jaeger <aj@suse.de>
71051
71052 * csu/.gitignore: Delete.
71053
71054 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71055
71056 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71057 (timex): Use __syscall_slong_t.
71058
71059 2012-05-18 Andreas Jaeger <aj@suse.de>
71060 Carlos O'Donell <carlos_odonell@mentor.com>
71061
71062 * manual/install.texi (Configuring and compiling): Update
71063 description about files modified in the source directory.
71064 * INSTALL: Regenerated.
71065
71066 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71067
71068 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71069 value. Use "or" to set return value to -1.
71070 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71071 negate return value.
71072
71073 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71074
71075 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71076 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71077 failure if the compiler has Graphite support disabled.
71078 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71079 Likewise.
71080 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71081 (CFLAGS-memmove.c): Likewise.
71082 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71083 Likewise.
71084
71085 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71086
71087 * sysdeps/x86_64/x32/_itoa.h: New file.
71088
71089 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71090 getdents system call only if kernel and user dirents have the
71091 same d_ino and d_off.
71092
71093 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71094 LLONG_MAX != LONG_MAX.
71095 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71096 (_fitoa_word): Likewise.
71097
71098 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71099 years.
71100 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71101 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71102 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71103
71104 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71105 include <bits/wordsize.h>. Check __x86_64__ instead of
71106 __WORDSIZE.
71107 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71108 if __x86_64__ is defined. Use anonymous union on fpstate.
71109
71110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71111 anonymous union.
71112
71113 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71114
71115 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71116 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71117 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71118 Refer to _rtld_local_ro instead of _rtld_global_ro.
71119 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71120 Likewise.
71121 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71122 Likewise.
71123 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71124 Likewise.
71125 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71126 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71127 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71128
71129 [BZ #10882]
71130 * sysdeps/powerpc/powerpc32/dl-machine.c
71131 (__elf_machine_runtime_setup) [PROF]: Don't reference
71132 _dl_prof_resolve.
71133
71134 2012-05-18 Andreas Jaeger <aj@suse.de>
71135
71136 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71137 function only available for GCCs before 3.4 since GCC 3.4
71138 introduced a builtin.
71139 (lrint): Likewise.
71140 (llrintf): Likewise.
71141 (llrint): Likewise.
71142 (fmaxf): Likewise.
71143 (fmax): Likewise.
71144 (fminf): Likewise.
71145 (fmin): Likewise.
71146 (rint): Likewise.
71147 (rintf): Likewise.
71148 (nearbyint): Likewise.
71149 (nearbyintf): Likewise.
71150 (ceil): Likewise.
71151 (ceilf): Likewise.
71152 (floor): Likewise.
71153 (floorf): Likewise.
71154
71155 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71156
71157 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71158 on both fields and cast pointer to __syscall_ulong_t.
71159
71160 * bits/types.h (__fsword_t): New type.
71161 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71162 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71164 (__FSWORD_T_TYPE): Likewise.
71165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71166 (__FSWORD_T_TYPE): Likewise.
71167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71168 (__FSWORD_T_TYPE): Likewise.
71169 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71170 (__FSWORD_T_TYPE): Likewise.
71171 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71172 __SWORD_TYPE with __fsword_t.
71173 (statfs64): Likewise.
71174
71175 2012-05-17 David S. Miller <davem@davemloft.net>
71176
71177 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71178
71179 2012-05-17 Andreas Jaeger <aj@suse.de>
71180
71181 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71182 warning.
71183
71184 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71185
71186 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71187
71188 2012-05-17 Andreas Jaeger <aj@suse.de>
71189
71190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71191 when it is used.
71192
71193 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71194
71195 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71196
71197 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71198
71199 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71200 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71201
71202 2012-05-17 Andreas Jaeger <aj@suse.de>
71203 Carlos O'Donell <carlos_odonell@mentor.com>
71204
71205 [BZ #14059]
71206 * sysdeps/x86_64/multiarch/init-arch.h
71207 (bit_YMM_Usable): Rename to...
71208 (bit_AVX_Usable): ... this.
71209 (bit_FMA4_Usable): New macro.
71210 (bit_XMM_state): New macro.
71211 (bit_YMM_state): New macro.
71212 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71213 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71214 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71215 (CPUID_OSXSAVE): New macro.
71216 (CPUID_AVX): New macro.
71217 (CPUID_FMA4): New macro.
71218 (index_YMM_Usable): Rename to...
71219 (index_AVX_Usable): ... this.
71220 (HAS_AVX): Use HAS_ARCH_FEATURE.
71221 (HAS_FMA4): Likewise.
71222 (HAS_YMM_USABLE): Remove.
71223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71224 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71225 are present.
71226 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71227 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71228 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71229 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71230 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71231
71232 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71233
71234 * math/libm-test.c: Support platforms without multiple rounding modes.
71235 * math/bug-nextafter.c: Support platforms without FP exceptions.
71236 * math/bug-nexttoward.c: Likewise.
71237 * math/test-fenv.c: Likewise.
71238 * math/test-misc.c: Likewise.
71239 * stdlib/bug-getcontext.c: Likewise.
71240
71241 2012-05-17 Andreas Jaeger <aj@suse.de>
71242
71243 * manual/examples/search.c (critter_cmp): Change signature to
71244 avoid warnings.
71245 * manual/string.texi (Collation Functions): Likewise.
71246
71247 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71248
71249 * bits/types.h: Fold copyright years.
71250 * bits/typesizes.h: Likewise.
71251 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71255 * time/time.h: Likewise.
71256
71257 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71258
71259 [BZ #208]
71260 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71261 in instead of returning them. Return void.
71262 (__libc_mallinfo): Accumulate over all arenas.
71263 (__malloc_stats): Adjust for change in int_mallinfo interface.
71264
71265 2012-05-16 Roland McGrath <roland@hack.frob.com>
71266
71267 [BZ #10375]
71268 * configure.in (NM): Add AC_CHECK_TOOL for it.
71269 (libc_extra_cflags): New substituted variable.
71270 Check for -fstack-protector being used implicitly.
71271 * configure: Regenerated.
71272 * config.make.in (config-extra-cflags): New variable,
71273 gets @libc_extra_cflags@.
71274 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71275
71276 [BZ #10375]
71277 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71278 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71279 * configure: Regenerated.
71280 * config.make.in (CPPUNDEFS): New substituted variable.
71281 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71282 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71283 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71284
71285 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71286
71287 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71288 (mq_attr): Use __syscall_slong_t.
71289
71290 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71291
71292 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71293 Check __x86_64__ instead of __WORDSIZE.
71294 (_STAT_VER_LINUX): Likewise.
71295 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71296 __syscall_ulong_t and __syscall_slong_t.
71297 (stat64): Likewise.
71298
71299 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71300
71301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71302
71303 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71304
71305 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71306
71307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71308
71309 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71310 __syscall_ulong_t.
71311
71312 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71313 include <bits/wordsize.h>. Check __x86_64__ instead of
71314 __WORDSIZE.
71315 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71316 defined.
71317 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71318
71319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71320 include <bits/wordsize.h>. Check __x86_64__ instead of
71321 __WORDSIZE.
71322 (user_regs_struct): Use "__extension__ unsigned long long"
71323 instead of "unsigned long" if __x86_64__ is defined.
71324 (user): Likewise. Pad after pointer field if __ILP32__ is
71325 defined.
71326
71327 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71328
71329 * configure.in (makeinfo): Require version 4.5 or later. Allow
71330 versions 5 to 9.
71331 * configure: Regenerated.
71332 * manual/install.texi (texinfo): Increase version requirement to
71333 4.5 or later.
71334 * INSTALL: Regenerated.
71335
71336 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71337
71338 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71339
71340 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71341
71342 * sysdeps/x86_64/x32/ffs.c: New file.
71343
71344 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71345 __syscall_ulong_t.
71346 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71347 defined. Use __syscall_ulong_t.
71348 (shminfo): Use __syscall_ulong_t.
71349 (shm_info): Likewise.
71350
71351 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71352 __syscall_ulong_t.
71353
71354 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71355 <bits/wordsize.h>.
71356 (msgqnum_t): Use __syscall_ulong_t.
71357 (msglen_t): Likewise.
71358 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71359 __syscall_ulong_t.
71360
71361 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71362 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71363
71364 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71365
71366 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71367 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71368
71369 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71370 __syscall_slong_t.
71371
71372 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71373 include <bits/wordsize.h>. Check __x86_64__ instead of
71374 __WORDSIZE.
71375
71376 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71377 "unsigned long long int" if __x86_64__ is defined.
71378 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71379
71380 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71381 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71382 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71383
71384 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71385 <stdint.h>.
71386 (GET_PC): Cast to uintptr_t first.
71387 (GET_FRAME): Likewise.
71388 (GET_STACK): Likewise.
71389
71390 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71392 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71393 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71394 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71395 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71396 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71397 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71398 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71399 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71400 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71401 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71402 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71403 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71404 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71405 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71406 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71408 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71409 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71410 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71411 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71412 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71413 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71414 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71415 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71416 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71417 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71418 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71419
71420 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71421
71422 * Makerules (+depfiles): Also collect depfiles from .oS in
71423 $(extra-objs).
71424 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71425 .oS, $(libnldbl-routines)).
71426
71427 * Makerules (native-compile-mkdep-flags): Define.
71428 * sunrpc/Makefile (extra-objs): Add $(addprefix
71429 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71430 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71431 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71432 calling $(make-target-directory).
71433
71434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71435
71436 * bits/types.h (__snseconds_t): Removed.
71437 * time/time.h (struct timespec): Replace __snseconds_t with
71438 __syscall_slong_t.
71439 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71440 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71441 Likewise.
71442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71443 (__SNSECONDS_T_TYPE): Likewise.
71444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71445 (__SNSECONDS_T_TYPE): Likewise.
71446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71447 (__SNSECONDS_T_TYPE): Likewise.
71448
71449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71450
71451 * sysdeps/mach/hurd/bits/typesizes.h
71452 (__SYSCALL_SLONG_TYPE): New macro.
71453 (__SYSCALL_ULONG_TYPE): Likewise.
71454
71455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71456
71457 * bits/types.h (__syscall_slong_t): New type.
71458 (__syscall_ulong_t): Likewise.
71459
71460 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71461 (__SYSCALL_ULONG_TYPE): Likewise.
71462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71463 (__SYSCALL_SLONG_TYPE): Likewise.
71464 (__SYSCALL_ULONG_TYPE): Likewise.
71465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71466 (__SYSCALL_SLONG_TYPE): Likewise.
71467 (__SYSCALL_ULONG_TYPE): Likewise.
71468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71469 (__SYSCALL_SLONG_TYPE): Likewise.
71470 (__SYSCALL_ULONG_TYPE): Likewise.
71471
71472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71473
71474 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71475 Add sigaltstack-offsets.sym.
71476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71477 <sigaltstack-offsets.h>.
71478 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71479 longjmp_msg pointer.
71480 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71481 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71482 signal stack.
71483 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71484
71485 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71486
71487 * elf/stackguard-macros.h: Remove file.
71488 * sysdeps/generic/stackguard-macros.h: New file.
71489 * sysdeps/i386/stackguard-macros.h: Likewise.
71490 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71491 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71492 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71493 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71494 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71495 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71496 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71497 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71498 <elf/stackguard-macros.h>.
71499
71500 [BZ #14109]
71501 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71502 __aligned__ in attribute.
71503 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71504 (gregset_t): Likewise.
71505
71506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71507
71508 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71509 * sysdeps/x86_64/64/Implies-after: Here. New file.
71510 * sysdeps/x86_64/x32/Implies-after: New file.
71511
71512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71513
71514 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71515 and access return value for _dl_profile_fixup. Use R10_LP to
71516 load frame size.
71517
71518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71519
71520 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71521
71522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71523
71524 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71525 * sysdeps/x86_64/x32/sysdep.h: New file.
71526
71527 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71528
71529 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71530 * sysdeps/x86_64/setjmp.S: Likewise.
71531
71532 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71533
71534 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71535 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71536 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71537 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71538 remove unused global constant.
71539
71540 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71541
71542 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71543 include of <not-cancel.h>.
71544
71545 2012-05-15 Roland McGrath <roland@hack.frob.com>
71546
71547 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71548
71549 2012-05-15 Jeff Law <law@redhat.com>
71550 Andreas Jaeger <aj@suse.de>
71551
71552 [BZ #13594]
71553 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71554 out from...
71555 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71556 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71557 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71558 code changing __hst_map_handle.map.
71559
71560 2012-05-15 Roland McGrath <roland@hack.frob.com>
71561
71562 * configure.in (sysnames): Look for Implies-before and Implies-after
71563 files.
71564 * configure: Regenerated.
71565
71566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71567
71568 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71569 8-byte data alignment with LP_SIZE alignment.
71570
71571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71572
71573 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71574 into R10_LP.
71575
71576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71577
71578 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71579
71580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71581
71582 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71583 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71585 Likewise.
71586 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71587
71588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71589
71590 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71591 (stackinfo_sub_sp): Likewise.
71592
71593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71594
71595 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71596 RAX_LP.
71597
71598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71599
71600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71601 into R*_LP.
71602
71603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71604
71605 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71606 sizes into R*_LP.
71607
71608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71609
71610 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71611
71612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71613
71614 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71615 into R11_LP and load __x86_64_shared_cache_size_half into
71616 R8_LP.
71617
71618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71619
71620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71621 R8_LP.
71622
71623 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71624
71625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71626 logb for POWER7.
71627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71628 logbf for POWER7.
71629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71630 logbl for POWER7.
71631 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71632 powerpc32/power7/fpu/s_logb.c via #include.
71633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71634 powerpc32/power7/fpu/s_logbf.c via #include.
71635 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71636 powerpc32/power7/fpu/s_logbl.c via #include.
71637
71638 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71639
71640 * README.libm: Remove file.
71641
71642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71643
71644 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71645 count for x32. Use R*_LP and omit operand-size suffix.
71646
71647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71648
71649 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71650 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71651 * sysdeps/x86_64/x32/shlib-versions: New file.
71652
71653 2012-05-14 Roland McGrath <roland@hack.frob.com>
71654
71655 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71656 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71657 Use _dl_fatal_printf instead.
71658
71659 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71660
71661 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71662 set if not set by the user. Do not allow for being unset.
71663 * sysdeps/unix/sysv/linux/configure: Regenerated.
71664
71665 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71666
71667 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71668 the `q' suffix from lea and replace .quad with ASM_ADDR.
71669
71670 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71671
71672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71673 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71674 instead of $17.
71675 (PTR_DEMANGLE): Likewise.
71676
71677 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71678
71679 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71680 (LP_OP): Likewise.
71681 (ASM_ADDR): Likewise.
71682 (RAX_LP): Likewise.
71683 (RBP_LP): Likewise.
71684 (RBX_LP): Likewise.
71685 (RCX_LP): Likewise.
71686 (RDI_LP): Likewise.
71687 (RSI_LP): Likewise.
71688 (RSP_LP): Likewise.
71689 (R8_LP): Likewise.
71690 (R9_LP): Likewise.
71691 (R10_LP): Likewise.
71692 (R10_LP): Likewise.
71693 (R11_LP): Likewise.
71694 (R12_LP): Likewise.
71695 (R13_LP): Likewise.
71696 (R14_LP): Likewise.
71697 (R15_LP): Likewise.
71698
71699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71700
71701 * sysdeps/x86_64/x32/dl-machine.h: New file.
71702
71703 2012-05-14 Andreas Jaeger <aj@suse.de>
71704
71705 * manual/Makefile (subdir): Remove export of subdir.
71706 (all): Remove target.
71707 (.PHONY): Remove all from list.
71708 (mkinstalldirs): Remove.
71709 (.PHONY): Remove installdirs from list.
71710 ($(inst_infodir)/libc.info): Use make-target-directory.
71711 (installdirs): Remove.
71712 (subdir_%): Remove.
71713 (glibc-targets): Remove.
71714 (lib): Remove.
71715 (stubs): Remove.
71716 ($(objpfx)stubs ../po/manual.pot): Remove.
71717 ($(objpfx)stamp%): Remove.
71718 (make-target-directory): Remove.
71719 (subdir_install): Remove.
71720 (routines): Remove.
71721 (aux): Remove.
71722 (sources): Remove.
71723 (objects): Remove.
71724 (headers): Remove.
71725
71726 [BZ #13750]
71727 * manual/.gitignore: Remove, it's not needed anymore.
71728 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71729 all files in it.
71730 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71731 directory.
71732 (texis): Renamed to $(objpfx)texis.
71733 (texis-path): New, contains path to generated files.
71734 (chapters.%): Use texis-path for complete path, add extra argument
71735 libc-texinfo.sh.
71736 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71737 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71738 (summary,texi, stamp-summary): Use complete path of
71739 files. Generate files in build dir.
71740 (dir-add.texi): Build in build dir.
71741 (libm-err.texi,stamp-libm-err): Likewise.
71742 (version.texi, stamp-version): Likewise.
71743 (.%c.texi): Likewise.
71744 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71745 (mostlyclean): Remove target.
71746 (realclean): Remove target.
71747 (generated): Add new variable with contents from mostlyclean and
71748 realclean, remove entries duplicated in common-mostlyclean, add
71749 stamp-libm-err and stamp-version.
71750 (generated-dirs): Add libc directory.
71751 ($(inst_infodir)/libc.info): Install files from build dir.
71752
71753 * manual/install.texi (Configuring and compiling): Adjust since
71754 the info files are not part of the tar ball anymore.
71755
71756 2012-05-14 Andreas Jaeger <aj@suse.de>
71757
71758 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71759 variable.
71760
71761 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71762
71763 [BZ #13717]
71764 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71765 to 2.2.0 where earlier.
71766 * sysdeps/unix/sysv/linux/configure: Regenerated.
71767 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71768 Remove conditional code.
71769 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71770 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71771 Remove conditional code.
71772 [!__NR_lchown]: Likewise.
71773 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71774 [__NR_lchown]: Likewise.
71775 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71776 comment referencing __ASSUME_LCHOWN_SYSCALL.
71777 * sysdeps/unix/sysv/linux/i386/sigaction.c
71778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71780 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71781 Remove conditional code.
71782 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71783 (__protocol_available): Remove #if 0 code.
71784 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71785 conditional code.
71786 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71787 * sysdeps/unix/sysv/linux/kernel-features.h
71788 (__ASSUME_GETCWD_SYSCALL): Don't define.
71789 (__ASSUME_REALTIME_SIGNALS): Likewise.
71790 (__ASSUME_PREAD_SYSCALL): Likewise.
71791 (__ASSUME_PWRITE_SYSCALL): Likewise.
71792 (__ASSUME_POLL_SYSCALL): Likewise.
71793 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71794 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71795 non-SPARC.
71796 (__ASSUME_SIOCGIFNAME): Don't define.
71797 (__ASSUME_MSG_NOSIGNAL): Likewise.
71798 (__ASSUME_SENDFILE): Define unconditionally.
71799 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71800 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71801 conditional code.
71802 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71803 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71804 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71805 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71806 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71807 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71808 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71810 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71813 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71822 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71825 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71828 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71831 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71833 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71834 Remove conditional code.
71835 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71836 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71837 Remove conditional code.
71838 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71839 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71840 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71841 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71842 Remove conditional code.
71843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71844 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71845 Remove conditional code.
71846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71847 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71848 Remove conditional code.
71849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71850 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71851 Remove conditional code.
71852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71853 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71854 Remove conditional code.
71855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71856 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71859 * sysdeps/unix/sysv/linux/sigaction.c
71860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71862 * sysdeps/unix/sysv/linux/sigpending.c
71863 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71864 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71865 * sysdeps/unix/sysv/linux/sigprocmask.c
71866 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71867 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71868 * sysdeps/unix/sysv/linux/sigsuspend.c
71869 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71870 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71871 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71872 (__libc_missing_rt_sigs): Remove.
71873 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71874 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71875 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71876 Remove conditional code.
71877 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71878 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71879 return 1.
71880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71881 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71882 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71883 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71884
71885 2012-05-14 Andreas Jaeger <aj@suse.de>
71886
71887 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71888 it's not used in glibc.
71889 (__coshm1): Likewise.
71890 (__acosh1p): Likewise.
71891 (__sgn): Likewise.
71892
71893 * manual/string.texi (Copying and Concatenation): Add missing
71894 variable in concat example.
71895 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71896
71897 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71898
71899 [BZ #14103]
71900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71901 __builtin_clzl with __builtin_clzll.
71902
71903 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71904
71905 [BZ #14104]
71906 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71907 libc_freeres_ptr.
71908
71909 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71910
71911 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71912 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71913 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71914 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71915
71916 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71917
71918 * NEWS: Update ia64 info.
71919
71920 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71921
71922 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71923 used as bcopy.
71924
71925 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71926
71927 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71928 * sysdeps/unix/syscalls.list (dup3): Likewise.
71929 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71930 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71931
71932 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71933
71934 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71935 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71936
71937 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71938
71939 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71940 thread pointer.
71941 (TLS_IE): Use mov/add instead of movq/addq to load thread
71942 pointer.
71943 (TLS_GD_PREFIX): New.
71944 (TLS_GD): Use it.
71945
71946 2012-05-11 David S. Miller <davem@davemloft.net>
71947
71948 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71949 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71950 (_FPU_SETCW): Likewise.
71951
71952 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71953
71954 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71955 is 32-byte aligned.
71956
71957 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71958
71959 [BZ #11837]
71960 * iconvdata/gb18030.c: Update tables.
71961 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71962 characters specially.
71963 (BODY for TO_LOOP): Add encoding of missing ranges.
71964
71965 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71966
71967 [BZ #13673]
71968 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71969 * sysdeps/mach/hurd/dup3.c: Likewise.
71970 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71971 * sysdeps/powerpc/memmove.c:: Likewise.
71972
71973 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71974
71975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71976 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71977
71978 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71979
71980 * elf/elf.h (R_X86_64_RELATIVE64): New.
71981 (R_X86_64_NUM): Updated.
71982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71983 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71984 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71985 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71986 tst-quad1pie tst-quad2pie
71987 (modules-names): Add tst-quadmod1 tst-quadmod2.
71988 ($(objpfx)tst-quad1): New dependency.
71989 ($(objpfx)tst-quad2): Likewise.
71990 ($(objpfx)tst-quad1pie): Likewise.
71991 ($(objpfx)tst-quad2pie): Likewise.
71992 * sysdeps/x86_64/tst-quad1.c: New file.
71993 * sysdeps/x86_64/tst-quad1pie.c: New file.
71994 * sysdeps/x86_64/tst-quad2.c: Likewise.
71995 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71996 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71997 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71998 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71999 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72000
72001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72002
72003 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72004 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72005 * streams/stropts.h (t_scalar_t): Define type.
72006
72007 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72008 (_PATH_PRESERVE): Set to "/var/lib".
72009 (_PATH_RWHODIR): Set to "/var/spool/rwho".
72010
72011 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72012 instead of int.
72013
72014 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72015 if __dir_mkfile succeeded.
72016
72017 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72018 checking for _hurd_dtablesize. Unlock it right after having
72019 finished _hurd_dtable allocation.
72020
72021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72022
72023 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72024 * sysdeps/mach/hurd/configure: Regenerated.
72025 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72026 special-casing to...
72027 * sysdeps/gnu/configure.in: ... this new file.
72028 * sysdeps/unix/sysv/linux/configure: Regenerated.
72029 * sysdeps/gnu/configure: New generated file.
72030
72031 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72032 for Linux: use nsec instead of usec, as well as:
72033 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72034 members of type struct timespec.
72035 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72036 New macros.
72037 (struct stat64): Likewise.
72038 (_STATBUF_ST_NSEC): New macro.
72039 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72040
72041 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72042 __strtoul_internal rather than strtoul.
72043
72044 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72045
72046 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72047 and reject them.
72048
72049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72050
72051 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72052 which preserves existing values.
72053 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72054
72055 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72056
72057 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72058 TIMEOUT values. Return EINVAL for NFDS values either negative or
72059 greater than FD_SETSIZE.
72060
72061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72062
72063 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72064 allocated, call __vm_protect to finish enabling the existing space, and
72065 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72066 allocate the remainder.
72067
72068 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72069
72070 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72071 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72072
72073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72074
72075 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72076 sysdeps/mach/hurd/readlink.c.
72077
72078 * posix/tst-sysconf.c (posix_options): Only use
72079 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72080 _POSIX_SYNCHRONIZED_IO when they are defined
72081 * sysdeps/mach/hurd/bits/posix_opt.h:
72082 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72083 (_XOPEN_REALTIME): Undefine macro.
72084 (_XOPEN_REALTIME_THREADS): Undefine macro.
72085 (_XOPEN_SHM): Undefine macro.
72086 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72087 macro to -1.
72088 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72089 macro to -1.
72090 (_POSIX_ASYNC_IO): Undefine macro.
72091 (_POSIX_PRIORITIZED_IO): Undefine macro.
72092 (_POSIX_SPIN_LOCKS): Define macro to -1.
72093
72094 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72095 SA_NODEFER, SA_RESETHAND.
72096 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72097 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72098 F_DUPFD_CLOEXEC.
72099
72100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72101
72102 * elf/Makefile (pldd-modules): Define unconditionally.
72103
72104 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72105
72106 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72107
72108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72109
72110 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72111 Return ENOENT when name is empty.
72112 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72113
72114 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72115
72116 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72117
72118 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72119
72120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72121
72122 Fix mlock in all cases except non-readable pages.
72123 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72124 instead of VM_PROT_ALL as parameter to __vm_wire function.
72125
72126 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72127 (__mkdir): When path is `/', just fail with EEXIST.
72128 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72129
72130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72131
72132 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72133 <sys/uio.h> (for writev).
72134 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72135 and <sys/param.h> (for MIN).
72136
72137 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72138
72139 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72140 REQUESTED_TIME. Properly set the remaining time and return EINTR
72141 if interrupted.
72142
72143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72144
72145 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72146 Depend on against $(link-rpcuserlibs).
72147
72148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72149
72150 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72151 (__libc_stack_end): Do not use attribute_relro.
72152 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72153 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72154 to libthread-provided value.
72155 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72156 attribute_relro.
72157
72158 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72159
72160 [BZ #3748]
72161 * bits/libc-lock.h (__libc_once_get): New macro.
72162 * sysdeps/mach/bits/libc-lock.h: Likewise.
72163 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72164 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72165 instead of using implementation details.
72166
72167 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72168 * libio/freopen.c: Likewise.
72169 * libio/freopen64.c: Likewise.
72170 * misc/syslog.c: Likewise.
72171 * nscd/connections.c: Likewise.
72172 * nscd/netgroupcache.c: Likewise.
72173 * sysdeps/posix/getcwd.c: Likewise.
72174
72175 2012-05-10 Roland McGrath <roland@hack.frob.com>
72176
72177 * math/w_ilogbf.c: Add #include <limits.h>.
72178
72179 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72180
72181 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72182 path instead of returning without unlocking.
72183
72184 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72185 immediate-write ioctls.
72186 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72187
72188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72189
72190 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72191 __builtin_frame_address instead of making assumptions about the
72192 location of the return address relative to DATA. Force early load of
72193 the return address.
72194 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72195 __builtin_frame_address.
72196
72197 dup3 for GNU Hurd.
72198 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72199 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72200 implement dup3 and do some further code clean-ups.
72201 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72202 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72203
72204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72205
72206 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72207
72208 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72209 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72210 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72211 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72212 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72213 d->port.lock.
72214
72215 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72216 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72217 when handler == SIG_ERR, not when handler != SIG_ERR.
72218
72219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72220
72221 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72222 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72223 definitions.
72224
72225 accept4 for GNU Hurd.
72226 * include/sys/socket.h (__libc_accept4): New prototype.
72227 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72228 to implement __libc_accept4.
72229 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72230 __libc_accept4.
72231 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72232
72233 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72234 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72235 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72236 signal-defines.sym.
72237
72238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72239
72240 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72241
72242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72243
72244 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72245 assertion on O_CLOEXEC flag.
72246 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72247 * hurd/intern-fd.c: Likewise.
72248 * hurd/port2fd.c: Likewise.
72249
72250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72251
72252 [BZ #3906]
72253 * bits/in.h (IPV6_PKTINFO): Define new macro.
72254 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72255
72256 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72257
72258 [BZ #13954]
72259 [BZ #13955]
72260 [BZ #13956]
72261 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72263 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72264 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72266 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72267 * math/libm-test.inc (logb_test) : Additional logb tests.
72268
72269 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72270 Andreas Jaeger <aj@suse.de>
72271
72272 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72273 * configure: Regenerated.
72274 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72275 * config.make.in (link-obsolete-rpc): New substituted variable.
72276 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72277 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72278 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72279 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72280 so that libc.a contains the symbols.
72281 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72282 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72283 * sunrpc/auth_none.c: Likewise.
72284 * sunrpc/auth_unix.c: Likewise.
72285 * sunrpc/authdes_prot.c: Likewise.
72286 * sunrpc/authuxprot.c: Likewise.
72287 * sunrpc/clnt_gen.c: Likewise.
72288 * sunrpc/clnt_perr.c: Likewise.
72289 * sunrpc/clnt_raw.c: Likewise.
72290 * sunrpc/clnt_simp.c: Likewise.
72291 * sunrpc/clnt_tcp.c: Likewise.
72292 * sunrpc/clnt_udp.c: Likewise.
72293 * sunrpc/clnt_unix.c: Likewise.
72294 * sunrpc/des_crypt.c: Likewise.
72295 * sunrpc/des_soft.c: Likewise.
72296 * sunrpc/get_myaddr.c: Likewise.
72297 * sunrpc/key_call.c: Likewise.
72298 * sunrpc/key_prot.c: Likewise.
72299 * sunrpc/netname.c: Likewise.
72300 * sunrpc/pm_getmaps.c: Likewise.
72301 * sunrpc/pm_getport.c: Likewise.
72302 * sunrpc/pmap_clnt.c: Likewise.
72303 * sunrpc/pmap_prot.c: Likewise.
72304 * sunrpc/pmap_prot2.c: Likewise.
72305 * sunrpc/pmap_rmt.c: Likewise.
72306 * sunrpc/publickey.c: Likewise.
72307 * sunrpc/rpc_cmsg.c: Likewise.
72308 * sunrpc/rpc_common.c: Likewise.
72309 * sunrpc/rpc_dtable.c: Likewise.
72310 * sunrpc/rpc_prot.c: Likewise.
72311 * sunrpc/rpc_thread.c: Likewise.
72312 * sunrpc/rtime.c: Likewise.
72313 * sunrpc/svc.c: Likewise.
72314 * sunrpc/svc_auth.c: Likewise.
72315 * sunrpc/svc_raw.c: Likewise.
72316 * sunrpc/svc_run.c: Likewise.
72317 * sunrpc/svc_tcp.c: Likewise.
72318 * sunrpc/svc_udp.c: Likewise.
72319 * sunrpc/svc_unix.c: Likewise.
72320 * sunrpc/svcauth_des.c: Likewise.
72321 * sunrpc/xcrypt.c: Likewise.
72322 * sunrpc/xdr.c: Likewise.
72323 * sunrpc/xdr_array.c: Likewise.
72324 * sunrpc/xdr_float.c: Likewise.
72325 * sunrpc/xdr_intXX_t.c: Likewise.
72326 * sunrpc/xdr_mem.c: Likewise.
72327 * sunrpc/xdr_rec.c: Likewise.
72328 * sunrpc/xdr_ref.c: Likewise.
72329 * sunrpc/xdr_sizeof.c: Likewise.
72330 * sunrpc/xdr_stdio.c: Likewise.
72331
72332 2012-05-10 Roland McGrath <roland@hack.frob.com>
72333
72334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72335 change. Update copyright years.
72336
72337 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72338
72339 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72340
72341 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72342 Joseph Myers <joseph@codesourcery.com>
72343 Paul Pluzhnikov <ppluzhnikov@google.com>
72344
72345 [BZ #14012]
72346 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72347 requiring rpcgen.
72348 [cross-compiling] (extra-libs): Likewise.
72349 [cross-compiling] (extra-libs-others): Likewise.
72350 [cross-compiling] (librpcsvc-routines): Likewise.
72351 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72352 [cross-compiling] (omit-deps): Likewise.
72353 (sunrpc-CPPFLAGS): New variable.
72354 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72355 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72356 (cross-rpcgen-objs): New variable.
72357 (extra-objs): Append $(cross-rpcgen-objs).
72358 ($(cross-rpcgen-objs)): New rule.
72359 ($(objpfx)cross-rpcgen): Likewise.
72360 (rpcgen-cmd): Define to use $(built-program-file). Expand
72361 comment.
72362 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72363 ($(objpfx)x%.stmp): Likewise.
72364 * sunrpc/proto.h [IS_IN_build] (_): Define.
72365 [IS_IN_build] (_libc_intl_domainname): Likewise.
72366
72367 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72368
72369 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72370 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72371 and R_X86_64_TPOFF64.
72372
72373 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72374
72375 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72376 sysdeps/unix/sysv/syscalls.list.
72377 (stime): Likewise.
72378 (utime): Likewise.
72379 * sysdeps/unix/sysv/syscalls.list: Remove file.
72380
72381 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72382
72383 [BZ #3440]
72384 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72385 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72386 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72387 (__LC_IDENTIFICATION): Make these macros useful in #if
72388 expressions, as required by C99.
72389
72390 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72391
72392 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72393 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72394 after this.
72395
72396 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72397
72398 * stdlib/longlong.h: Updated from GCC.
72399
72400 2012-05-09 Andreas Jaeger <aj@suse.de>
72401
72402 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72403 default is first entry.
72404 (run_mode): Set type.
72405 (main): Remove informal message about syslog.
72406 (options): Fix typo.
72407
72408 [BZ #14053]
72409 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72410 to asm.
72411 (lrint): Likewise.
72412 (llrintf): Likewise.
72413 (llrint): Likewise.
72414 (rint): Likewise.
72415 (rintf): Likewise.
72416 (nearbyint): Likewise.
72417 (nearbyintf): Likewise.
72418
72419 2012-05-09 Andreas Jaeger <aj@suse.de>
72420 Pedro Alves <palves@redhat.com>
72421
72422 * nscd/nscd.c (run_mode): Use enum.
72423 (main): Cleanup coding style issue.
72424
72425 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72426 Andreas Jaeger <aj@suse.de>
72427
72428 * nscd/nscd.c (go_background): Replaced with...
72429 (run_mode): ... this.
72430 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72431 (options): Add -F --foreground.
72432 (main): Implement it.
72433 (parse_opt): Parse it.
72434
72435 2012-05-09 Andreas Jaeger <aj@suse.de>
72436
72437 [BZ #14083]
72438 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72439 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72440 -Wconversion warning.
72441 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72442 Likewise.
72443
72444 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72445
72446 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72447 == 0.
72448 (LC_ALL): Use macro-int-constant.
72449 (LC_COLLATE): Likewise.
72450 (LC_CTYPE): Likewise.
72451 (LC_MESSAGES): Likewise.
72452 (LC_MONETARY): Likewise.
72453 (LC_NUMERIC): Likewise.
72454 (LC_TIME): Likewise.
72455 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72456 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72458 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72459 Specify type.
72460 [C99-based standards] (float_t): Expect type.
72461 [C99-based standards] (double_t): Expect type.
72462 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72463 type.
72464 [C99-based standards] (HUGE_VALL): Likewise.
72465 [C99-based standards] (INFINITY): Likewise.
72466 [C99-based standards] (NAN): Likewise.
72467 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72468 [C99-based standards] (FP_NAN): Likewise.
72469 [C99-based standards] (FP_NORMAL): Likewise.
72470 [C99-based standards] (FP_SUBNORMAL): Likewise.
72471 [C99-based standards] (FP_ZERO): Likewise.
72472 [C99-based standards] (FP_FAST_FMA): Use
72473 optional-macro-int-constant. Specify type. Require == 1.
72474 [C99-based standards] (FP_FAST_FMAF): Likewise.
72475 [C99-based standards] (FP_FAST_FMAL): Likewise.
72476 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72477 [C99-based standards] (FP_ILOGBNAN): Likewise.
72478 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72479 Specify type.
72480 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72481 [C99-based standards] (math_errhandling): Specify type.
72482 [ISO99 || ISO11] (signgam): Do not allow.
72483 [non-C99-based standards] (copysignf): Do not allow.
72484 [non-C99-based standards] (exp2f): Likewise.
72485 [non-C99-based standards] (log2f): Likewise.
72486 [non-C99-based standards] (modff): Allow.
72487 [non-C99-based standards] (erff): Do not allow.
72488 [non-C99-based standards] (erfcf): Likewise.
72489 [non-C99-based standards] (gammaf): Likewise.
72490 [non-C99-based standards] (hypotf): Likewise.
72491 [non-C99-based standards] (j0f): Likewise.
72492 [non-C99-based standards] (j1f): Likewise.
72493 [non-C99-based standards] (jnf): Likewise.
72494 [non-C99-based standards] (lgammaf): Likewise.
72495 [non-C99-based standards] (tgammaf): Likewise.
72496 [non-C99-based standards] (y0f): Likewise.
72497 [non-C99-based standards] (y1f): Likewise.
72498 [non-C99-based standards] (ynf): Likewise.
72499 [non-C99-based standards] (isnanf): Likewise.
72500 [non-C99-based standards] (acoshf): Likewise.
72501 [non-C99-based standards] (asinhf): Likewise.
72502 [non-C99-based standards] (atanhf): Likewise.
72503 [non-C99-based standards] (cbrtf): Likewise.
72504 [non-C99-based standards] (expm1f): Likewise.
72505 [non-C99-based standards] (ilogbf): Likewise.
72506 [non-C99-based standards] (log1pf): Likewise.
72507 [non-C99-based standards] (logbf): Likewise.
72508 [non-C99-based standards] (nextafterf): Likewise.
72509 [non-C99-based standards] (remainderf): Likewise.
72510 [non-C99-based standards] (rintf): Likewise.
72511 [non-C99-based standards] (scalbf): Likewise.
72512 [non-C99-based standards] (copysignl): Likewise.
72513 [non-C99-based standards] (exp2l): Likewise.
72514 [non-C99-based standards] (log2l): Likewise.
72515 [non-C99-based standards] (modfl): Allow.
72516 [non-C99-based standards] (erfl): Do not allow.
72517 [non-C99-based standards] (erfcl): Likewise.
72518 [non-C99-based standards] (gammal): Likewise.
72519 [non-C99-based standards] (hypotl): Likewise.
72520 [non-C99-based standards] (j0l): Likewise.
72521 [non-C99-based standards] (j1l): Likewise.
72522 [non-C99-based standards] (jnl): Likewise.
72523 [non-C99-based standards] (lgammal): Likewise.
72524 [non-C99-based standards] (tgammal): Likewise.
72525 [non-C99-based standards] (y0l): Likewise.
72526 [non-C99-based standards] (y1l): Likewise.
72527 [non-C99-based standards] (ynl): Likewise.
72528 [non-C99-based standards] (isnanl): Likewise.
72529 [non-C99-based standards] (acoshl): Likewise.
72530 [non-C99-based standards] (asinhl): Likewise.
72531 [non-C99-based standards] (atanhl): Likewise.
72532 [non-C99-based standards] (cbrtl): Likewise.
72533 [non-C99-based standards] (expm1l): Likewise.
72534 [non-C99-based standards] (ilogbl): Likewise.
72535 [non-C99-based standards] (log1pl): Likewise.
72536 [non-C99-based standards] (logbl): Likewise.
72537 [non-C99-based standards] (nextafterl): Likewise.
72538 [non-C99-based standards] (remainderl): Likewise.
72539 [non-C99-based standards] (rintl): Likewise.
72540 [non-C99-based standards] (scalbl): Likewise.
72541 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72542 [non-C99-based standards] (FP_*): Do not allow.
72543 [C99-based standards] (FP_*): Change to
72544 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72545 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72546 allow.
72547 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72548 (SIG_ERR): Likewise.
72549 [X/Open-based standards] (SIG_HOLD): Likewise.
72550 (SIG_IGN): Likewise.
72551 (SIGABRT): Use macro-int-constant. Specify type. Require
72552 positive value.
72553 (SIGFPE): Likewise.
72554 (SIGILL): Likewise.
72555 (SIGINT): Likewise.
72556 (SIGSEGV): Likewise.
72557 (SIGTER): Likewise.
72558 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72559 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72560 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72561 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72562 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72563 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72564 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72565 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72566 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72567 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72568 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72569 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72570 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72571 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72572 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72573 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72574 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72575 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72576 [X/Open-based standards] (SIGTRAP): Likewise.
72577 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72578 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72579 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72580 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72581 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72582 allow.
72583
72584 2012-05-08 Ian Wienand <ianw@vmware.com>
72585
72586 [BZ #14080]
72587 * time/tzset.c (__tzset_parse_tz): Update default rules for
72588 daylight time changes in the Energy Policy Act of 2005.
72589
72590 2012-05-09 Andreas Jaeger <aj@suse.de>
72591
72592 [BZ #13983]
72593 * elf/ldconfig.c (parse_conf): Change string to make clear that
72594 ldconfig only issued a warning if ld.so.conf does not exist.
72595
72596 2012-05-08 David S. Miller <davem@davemloft.net>
72597
72598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72599 movxtod instead of popping the value on the stack.
72600
72601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72602
72603 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72604
72605 * config.h.in: Add HAVE_ARM_PCS_VFP.
72606
72607 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72608
72609 [BZ #13979]
72610 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72611 checking but the checks are disabled for any reason.
72612
72613 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72614
72615 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72616 and ELF64_R_TYPE with ELFW(R_TYPE).
72617
72618 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72619
72620 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72621 (ulimit): Likewise.
72622
72623 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72624 (settimeofday): Likewise.
72625
72626 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72627
72628 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72629 a struct th_u2 inside the union, and move tu_block/tu_code into
72630 a new th_u3 union of tu_block/tu_code inside of that. Move
72631 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72632 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72633 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72634 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72635 (th_stuff): Change to th_u1.tu_stuff.
72636 (th_data): Define.
72637 (th_msg): Change to th_u1.th_u2.tu_data.
72638
72639 2012-05-07 David S. Miller <davem@davemloft.net>
72640
72641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72642
72643 [BZ #14074]
72644 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72645 (SETUP_PIC_REG): Use it.
72646 (SETUP_PIC_REG_LEAF): Use it.
72647
72648 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72649
72650 [BZ #13885]
72651 [BZ #13923]
72652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72653 USE_AS_EXPM1L.
72654 (EXPL_FINITE): Likewise.
72655 (FLDLOG): Likewise.
72656 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72657 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72658 e_expl.S.
72659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72660 USE_AS_EXPM1L.
72661 (EXPL_FINITE): Likewise.
72662 (FLDLOG): Likewise.
72663 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72664 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72665 e_expl.S.
72666 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72667 test of -max_value argument for long double.
72668 * sysdeps/i386/fpu/libm-test-ulps: Update.
72669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72670
72671 2012-05-06 David S. Miller <davem@davemloft.net>
72672
72673 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72674 quad soft-float symbols whose references which are compiler
72675 generated.
72676 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72677
72678 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72679
72680 [BZ #13884]
72681 [BZ #13914]
72682 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72683 USE_AS_EXP10L.
72684 (EXPL_FINITE): Likewise.
72685 (FLDLOG): Likewise.
72686 (c0): Likewise.
72687 (c1): Likewise.
72688 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72689 Adjust comments for base varying.
72690 (__expl_finite): Change alias to EXPL_FINITE.
72691 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72692 e_expl.S.
72693 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72694 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72695 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72696 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72697 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72698 USE_AS_EXP10L.
72699 (EXPL_FINITE): Likewise.
72700 (FLDLOG): Likewise.
72701 (c0): Likewise.
72702 (c1): Likewise.
72703 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72704 Adjust comments for base varying.
72705 (__expl_finite): Change alias to EXPL_FINITE.
72706 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72707 tests for bugs.
72708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72709
72710 [BZ #14064]
72711 * math/libm-test.inc (check_float_internal): Correct ulp
72712 calculation for subnormal expected results.
72713
72714 2012-05-06 Andreas Jaeger <aj@suse.de>
72715
72716 * Makeconfig (+math-flags): New, set to -frounding-math.
72717 (+cflags): Add +math-flags so that all of glibc gets compiled with
72718 it.
72719
72720 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72721
72722 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72723
72724 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72725 Disable one test.
72726
72727 [BZ #13787]
72728 [BZ #13922]
72729 [BZ #14036]
72730 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72731 (__ieee754_expl): Allow for and saturate large arguments.
72732 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72733 (u_threshold): Likewise.
72734 (__exp): Call __ieee754_exp before checking for overflow and
72735 underflow.
72736 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72737 (u_threshold): Likewise.
72738 (__expf): Call __ieee754_expf before checking for overflow and
72739 underflow.
72740 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72741 (u_threshold): Likewise.
72742 (__expl): Call __ieee754_expl before checking for overflow and
72743 underflow.
72744 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72745 (__ieee754_expl): Allow for and saturate large arguments.
72746 * math/libm-test.inc (exp_test): Add another test. Do not allow
72747 missing overflow exception on overflow.
72748 (expm1_test): Do not allow missing overflow exception on overflow.
72749
72750 * sysdeps/i386/fpu/e_expl.c: Move to ...
72751 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72752 rather than using inline asm.
72753 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72754 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72755 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72756
72757 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72758 (nice): Likewise.
72759 (poll): Likewise.
72760 (signal): Likewise.
72761 (time): Likewise.
72762 (times): Likewise.
72763
72764 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72765
72766 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72767 sysdeps/unix/common/syscalls.list.
72768 (fchmod): Likewise.
72769 (fchown): Likewise.
72770 (ftruncate): Likewise.
72771 (getrusage): Likewise.
72772 (gettimeofday): Likewise.
72773 (setpgid): Likewise.
72774 (setregid): Likewise.
72775 (setreuid): Likewise.
72776 (sigaction): Likewise.
72777 (truncate): Likewise.
72778 (vhangup): Likewise.
72779 * sysdeps/unix/common/syscalls.list: Remove file.
72780 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72781 * sysdeps/unix/sysv/linux/Implies: Likewise.
72782
72783 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72784
72785 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72787 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72788 Moved to ...
72789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72790 Here.
72791 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72792 to ...
72793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72794 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72795 to ...
72796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72797 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72798 to ...
72799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72800 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72801 to ...
72802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72803 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72804 to ...
72805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72806 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72807 to ...
72808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72809 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72810 to ...
72811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72812 Here.
72813 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72814 to ...
72815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72816 Here.
72817 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72818 to ...
72819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72820 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72821 Moved to ...
72822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72823 Here.
72824 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72825 to ...
72826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72827
72828 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72829
72830 * sysdeps/unix/common/bits/dirent.h: Remove file.
72831 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72832
72833 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72834 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72835 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72836 * sysdeps/unix/bsd/isatty.c: Likewise.
72837 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72838 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72839 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72840
72841 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72842
72843 [BZ #13563]
72844 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72845 long double comparison inaccuracies.
72846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72848
72849 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72850
72851 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72852 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72853
72854 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72855
72856 [BZ #14049]
72857 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72858 nonzero digits before rounding a hex value.
72859 * stdlib/tst-strtod.c (tests): Add another test.
72860
72861 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72862
72863 * sysdeps/s390/fpu/libm-test-ulps: Update.
72864
72865 2012-05-03 Andreas Jaeger <aj@suse.de>
72866
72867 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72868 does not get optimized out.
72869 (malloc_opt_barrier): New.
72870
72871 2012-05-03 Andreas Jaeger <aj@suse.de>
72872 Roland McGrath <roland@hack.frob.com>
72873
72874 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72875 intermediate file deletion.
72876 (generated): Add .symlist files.
72877
72878 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72879
72880 [BZ #13775]
72881 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72882 Redirect under this condition.
72883 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72884 [__USE_GNU] (__dprintf_chk): Not under this condition.
72885 [__USE_GNU] (__vdprintf_chk): Likewise.
72886 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72887 under this condition.
72888 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72889 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72890 [__USE_XOPEN2K8] (vdprintf): Likewise.
72891 [__USE_GNU] (__dprintf_chk): Not under this condition.
72892 [__USE_GNU] (__vdprintf_chk): Likewise.
72893 [__USE_GNU] (dprintf): Likewise.
72894 [__USE_GNU] (vdprintf): Likewise.
72895
72896 2012-05-03 Roland McGrath <roland@hack.frob.com>
72897
72898 * elf/Makefile (common-generated): Set this instead of generated for
72899 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72900 $(all-built-dso)-derived lists.
72901
72902 2012-05-03 Andreas Jaeger <aj@suse.de>
72903
72904 * sysdeps/i386/fpu/libm-test-ulps: Update.
72905
72906 * FAQ: Removed.
72907 * FAQ.in: Likewise.
72908 * scripts/gen-FAQ.pl: Likewise.
72909 * manual/install.texi (Installation): Point to online location of
72910 FAQ.
72911 * Makefile (files-for-dist): Remove FAQ.
72912 (FAQ): Remove.
72913
72914 2012-05-02 Allan McRae <allan@archlinux.org>
72915
72916 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72917 (LDFLAGS-reldepmod5.so): Likewise.
72918 (LDFLAGS-reldep6mod1.so): Likewise.
72919 (LDFLAGS-reldep6mod4.so): Likewise.
72920 (LDFLAGS-reldep8mod3.so): Likewise.
72921 (LDFLAGS-unload4mod1.so): Likewise.
72922 (LDFLAGS-unload4mod2.so): Likewise.
72923 (LDFLAGS-tst-initorder): Likewise.
72924 (LDFLAGS-tst-initordera2.so): Likewise.
72925 (LDFLAGS-tst-initordera3.so): Likewise.
72926 (LDFLAGS-tst-initordera4.so): Likewise.
72927 (LDFLAGS-tst-initorderb2.so): Likewise.
72928 (LDFLAGS-noload): Likewise.
72929 (LDFLAGS-next): Likewise.
72930 (LDFLAGS-order2mod1.so): Likewise.
72931 (LDFLAGS-order2mod2.so): Likewise.
72932 (LDFLAGS-tst-initorder2): Likewise.
72933 (LDFLAGS-tst-initorder2a.so): Likewise.
72934 (LDFLAGS-tst-initorder2b.so): Likewise.
72935 (LDFLAGS-tst-initorder2c.so): Likewise.
72936 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72937
72938 2012-05-02 David S. Miller <davem@davemloft.net>
72939
72940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72941
72942 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72943
72944 [BZ #14055]
72945 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72946
72947 2012-05-02 Andreas Jaeger <aj@suse.de>
72948
72949 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72950 since we manipulate rounding mode.
72951 (CPPFLAGS-test-idouble.c): Likewise.
72952 (CPPFLAGS-test-ifloat.c): Likewise.
72953 (CFLAGS-test-ldouble.c): Likewise.
72954 (CFLAGS-test-double.c): Likewise.
72955 (CFLAGS-test-float.c): Likewise.
72956 (CFLAGS-test-misc.c): Likewise.
72957 (CFLAGS-test-test-fenv.c): Likewise.
72958
72959 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72960
72961 [BZ #2550]
72962 [BZ #2570]
72963 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72964 comparisons to determine direction to adjust input.
72965
72966 2012-05-01 Roland McGrath <roland@hack.frob.com>
72967
72968 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72969 output to the target.
72970
72971 * scripts/localplt.awk: New file.
72972 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72973 (check-localplt-CFLAGS): Variable removed.
72974 ($(all-built-dso:=.jmprel)): New static pattern rule.
72975 (generated): Add those targets.
72976 (localplt-built-dso): New variable.
72977 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72978
72979 * elf/check-localplt.c: File removed.
72980
72981 * scripts/check-execstack.awk: New file.
72982 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72983 (check-execstack-CFLAGS): Variable removed.
72984 ($(objpfx)check-execstack.h): Target removed.
72985 ($(objpfx)execstack-default): New target.
72986 (generated): Add that instead of check-execstack.h.
72987 ($(all-built-dso:=.phdr)): New static pattern rule.
72988 (generated): Add those targets.
72989 * elf/check-execstack.c: File removed.
72990
72991 * scripts/check-textrel.awk: New file.
72992 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72993 (check-textrel-CFLAGS): Variable removed.
72994 (all-built-dso): Use := to define.o
72995 ($(all-built-dso:=.dyn)): New static pattern rule.
72996 (generated): Add those targets.
72997 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72998 * config.make.in (READELF): New substituted variable.
72999 * elf/check-textrel.c: File removed.
73000
73001 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73002
73003 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73004 allow.
73005 * conform/data/ctype.h-data [C99-based standards] (isblank):
73006 Expect function.
73007 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73008 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73010 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73011 Specify type. Require positive value.
73012 (EILSEQ): Likewise.
73013 (ERANGE): Likewise.
73014 [ISO || POSIX] (EILSEQ): Do not expect.
73015 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73016 Specify type. Require positive value.
73017 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73018 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73019 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73020 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73021 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73022 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73023 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73024 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73025 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73026 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73027 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73028 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73029 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73030 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73031 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73032 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73033 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73034 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73035 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73036 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73037 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73038 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73039 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73040 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73041 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73042 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73043 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73044 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73045 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73046 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73047 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73048 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73049 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73050 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73051 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73052 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73053 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73054 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73055 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73056 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73057 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73058 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73059 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73060 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73061 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73062 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73063 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73064 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73065 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73066 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73067 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73068 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73069 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73070 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73071 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73072 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73073 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73074 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73075 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73076 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73077 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73078 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73079 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73080 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73081 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73082 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73083 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73084 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73085 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73086 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73087 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73088 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73089 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73090 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73091 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73092 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73093 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73094 Require >= 2.
73095 (FLT_ROUNDS): Expect as macro, not constant.
73096 (FLT_MANT_DIG): Use macro-int-constant.
73097 (DBL_MANT_DIG): Likewise.
73098 (LDBL_MANT_DIG): Likewise.
73099 (FLT_DIG): Likewise.
73100 (DBL_DIG): Likewise.
73101 (LDBL_DIG): Likewise.
73102 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73103 (DBL_MIN_EXP): Likewise.
73104 (LDBL_MIN_EXP): Likewise.
73105 (FLT_MAX_EXP): Use macro-int-constant.
73106 (DBL_MAX_EXP): Likewise.
73107 (LDBL_MAX_EXP): Likewise.
73108 (FLT_MAX_10_EXP): Likewise.
73109 (DBL_MAX_10_EXP): Likewise.
73110 (LDBL_MAX_10_EXP): Likewise.
73111 (FLT_MAX): Use macro-constant.
73112 (DBL_MAX): Likewise.
73113 (LDBL_MAX): Likewise.
73114 (FLT_EPSILON): Use macro-constant. Give upper bound.
73115 (DBL_EPSILON): Likewise.
73116 (LDBL_EPSILON): Likewise.
73117 (FLT_MIN): Likewise.
73118 (DBL_MIN): Likewise.
73119 (LDBL_MIN): Likewise.
73120 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73121 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73122 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73123 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73124 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73125 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73126 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73127 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73128 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73129 [ISO11] (FLT_TRUE_MIN): Likewise.
73130 [ISO11] (LDBL_TRUE_MIN): Likewise.
73131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73132 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73133 (SCHAR_MIN): Use macro-int-constant. Specify type.
73134 (SCHAR_MAX): Likewise.
73135 (UCHAR_MAX): Likewise.
73136 (CHAR_MIN): Likewise.
73137 (CHAR_MAX): Likewise.
73138 (MB_LEN_MAX): Use macro-int-constant.
73139 (SHRT_MIN): Use macro-int-constant. Specify type.
73140 (SHRT_MAX): Likewise.
73141 (USHRT_MAX): Likewise.
73142 (INT_MAX): Likewise.
73143 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73144 bound negative.
73145 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73146 bound with "U".
73147 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73148 bound with "L".
73149 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73150 bound negative. Suffix upper bound with "L".
73151 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73152 bound with "UL".
73153 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73154 Specify type.
73155 [C99-based standards] (LLONG_MAX): Likewise.
73156 [C99-based standards] (ULLONG_MAX): Likewise.
73157 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73158 == 0.
73159 [ISO11] (max_align_t): Require type.
73160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73161
73162 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73163 from $CFLAGS, without defining away __attribute__ calls.
73164 (checknamespace): Use $CFLAGS_namespace.
73165
73166 * conform/conformtest.pl (@keywords): Only include C99 keywords
73167 for standards based on C99 or C11.
73168
73169 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73170 Disable tests.
73171 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73172 UNIX98]: Likewise.
73173
73174 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73175 usability of symbols in #if.
73176
73177 * conform/conformtest.pl: If macro or constant types start
73178 "promoted:", expect the symbol to be of the following type
73179 promoted by the integer promotions.
73180
73181 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73182 in one place. Also handle "macro-constant".
73183
73184 * conform/conformtest.pl: Only accept expected macro values with
73185 "==". Parse all "macro" lines in one place.
73186 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73187
73188 * conform/conformtest.pl: Handle braced types on "constant" lines
73189 instead of handling "typed-constant".
73190 * conform/data/signal.h-data: Use "constant" instead of
73191 "typed-constant".
73192
73193 * conform/conformtest.pl: Handle "optional-" at start of lines in
73194 one place rather than duplicating several cases. Handle each
73195 format of "macro" line with initial "optional-".
73196
73197 * conform/conformtest.pl: Only accept expected constant or
73198 optional-constant values with "==". Parse all "constant" lines in
73199 one place. Parse all "optional-constant" lines in one place.
73200 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73201 * conform/data/fmtmsg.h-data: Likewise.
73202 * conform/data/netinet/in.h-data: Likewise.
73203 * conform/data/tar.h-data: Likewise.
73204 * conform/data/limits.h-data: Use "==" form on "constant" and
73205 "optional-constant" lines.
73206
73207 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73208 Use -std=c99 for XOPEN2K.
73209 (@knownproblems): Remove.
73210 (newtoken): Don't check %isknown.
73211
73212 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73213 Do not expect macro.
73214 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73215 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73216 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73217 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73218 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73219 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73220 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73221 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73222 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73223 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73224 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73225 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73226 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73227 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73228 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73229 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73230 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73231 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73232 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73233 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73234 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73235 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73236 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73237 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73238 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73239 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73240 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73241 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73242 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73243 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73244 [XPG3] (acosh): Likewise.
73245 [XPG3] (asinh): Likewise.
73246 [XPG3] (atanh): Likewise.
73247 [XPG3] (cbrt): Likewise.
73248 [XPG3] (expm1): Likewise.
73249 [XPG3] (ilogb): Likewise.
73250 [XPG3] (log1p): Likewise.
73251 [XPG3] (logb): Likewise.
73252 [XPG3] (nextafter): Likewise.
73253 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73254 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73255 [XPG3] (remainder): Likewise.
73256 [XPG3] (rint): Likewise.
73257 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73258 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73259 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73260 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73261 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73262 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73263 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73264 [UNIX98 || XOPEN2K] (scalb): Expect.
73265 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73266 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73267 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73268 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73269 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73270 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73271 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73272 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73273 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73274 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73275 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73276 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73277 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73278 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73279 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73280 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73281 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73282 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73283 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73284 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73285 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73286 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73287 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73288 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73289 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73290 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73291 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73292 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73293 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73294 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73295 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73296 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73297 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73298 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73299 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73300 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73301 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73302 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73303 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73304 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73305 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73306 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73307 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73308 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73309 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73310 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73311 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73312 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73313 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73314 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73315 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73316 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73317 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73318 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73319 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73320 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73321 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73322 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73323 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73324 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73325 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73326 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73327 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73328 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73329 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73330 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73331 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73332 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73333 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73334 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73335 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73336 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73337 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73338 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73339 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73340 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73341 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73342 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73343 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73344 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73345 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73346 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73347 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73348 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73349 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73350 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73351 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73352 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73353 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73354 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73355 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73356 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73357 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73358 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73359 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73360 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73361 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73362 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73363 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73364 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73365 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73366 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73367 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73368 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73369 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73370 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73371 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73372 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73373 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73374 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73375 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73376 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73377 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73378 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73379 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73380 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73381 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73382 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73383 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73384 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73385 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73386 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73387 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73388 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73389 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73390 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73391 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73392 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73393 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73394 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73395 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73396 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73397 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73398 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73399 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73400 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73401 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73402
73403 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73404 _XOPEN_SOURCE_EXTENDED for XPG4.
73405
73406 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73407
73408 * Makeconfig (localtime): Remove variable.
73409 (inst_localtime-file): Likewise.
73410
73411 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73412
73413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73414 Update.
73415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73416 Update.
73417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73418 Update.
73419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73420 Update.
73421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73422 Update.
73423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73424 Update.
73425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73426 Update.
73427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73428 Update.
73429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73430 Update.
73431
73432 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73433
73434 [BZ #2550]
73435 [BZ #2570]
73436 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73437 comparisons to determine direction to adjust input.
73438 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73439 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73441 Likewise.
73442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73443 Likewise.
73444 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73445 Likewise.
73446 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73447 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73448 Likewise.
73449 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73450 Likewise.
73451 * math/libm-test.inc (nexttoward_test): Add more tests.
73452
73453 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73454
73455 [BZ #14040]
73456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73457 in version GLIBC_2.1, not GLIBC_2.0.
73458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73459 Likewise.
73460
73461 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73462
73463 [BZ #13942]
73464 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73465 (1 - x) * (1 + x).
73466 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73467 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73468 * math/libm-test.inc (acos_test): Add more tests.
73469 (asin_test): Likewise.
73470 * sysdeps/i386/fpu/libm-test-ulps: Update.
73471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73472
73473 [BZ #14034]
73474 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73475 of square root.
73476 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73477 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73478 * math/libm-test.inc (acos_test_tonearest): New function.
73479 (acos_test_towardzero): Likewise.
73480 (acos_test_downward): Likewise.
73481 (acos_test_upward): Likewise.
73482 (asin_test_tonearest): Likewise.
73483 (asin_test_towardzero): Likewise.
73484 (asin_test_downward): Likewise.
73485 (asin_test_upward): Likewise.
73486 (main): Call the new functions.
73487 * sysdeps/i386/fpu/libm-test-ulps: Update.
73488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73489
73490 [BZ #13884]
73491 [BZ #13924]
73492 * math/e_exp10.c: Include <float.h>.
73493 (__ieee754_exp10): Handle underflow here rather than multiplying
73494 large negative argument by M_LN10.
73495 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73496 of __ieee754_expf.
73497 * math/e_exp10l.c: Include <float.h>.
73498 (__ieee754_exp10l): Handle underflow here rather than multiplying
73499 large negative argument by M_LN10l.
73500 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73501 spurious overflow exception on underflow.
73502
73503 2012-04-29 Marek Polacek <polacek@redhat.com>
73504
73505 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73506 (__fortify_function): New macro.
73507 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73508 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73509 __extern_always_inline.
73510 * libio/bits/stdio2.h: Likewise.
73511 * libio/bits/stdio.h: Likewise.
73512 * string/string.h: Likewise.
73513 * string/bits/string3.h: Likewise.
73514 * include/stdio.h: Likewise.
73515 * stdlib/bits/stdlib.h: Likewise.
73516 * stdlib/stdlib.h: Likewise.
73517 * rt/bits/mqueue2.h: Likewise.
73518 * rt/mqueue.h: Likewise.
73519 * posix/bits/unistd.h: Likewise.
73520 * posix/unistd.h: Likewise.
73521 * io/bits/poll2.h: Likewise.
73522 * io/bits/fcntl2.h: Likewise.
73523 * io/fcntl.h: Likewise.
73524 * io/sys/poll.h: Likewise.
73525 * misc/bits/syslog.h: Likewise.
73526 * misc/bits/syslog-ldbl.h: Likewise.
73527 * misc/sys/syslog.h: Likewise.
73528 * socket/bits/socket2.h: Likewise.
73529 * socket/sys/socket.h: Likewise.
73530 * debug/tst-chk1.c: Likewise.
73531 * wcsmbs/bits/wchar2.h: Likewise.
73532 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73533 * wcsmbs/wchar.h: Likewise.
73534
73535 2012-04-29 Andreas Jaeger <aj@suse.de>
73536
73537 * Makerules (tests): Remove enable-check-abi protection.
73538 (check-abi-warn): Remove.
73539 (check-abi-%): Remove check-abi-warn usage.
73540
73541 * configure.in: Remove check-abi configure option.
73542 * configure: Regenerated.
73543 * config.make.in (enable-check-abi): Remove.
73544
73545 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
73546
73547 [BZ #14033]
73548 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73549 double functions to double *_finite functions.
73550
73551 [BZ #13941]
73552 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73553 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73554 LDBL_MIN_EXP.
73555 * stdio-common/Makefile (tests): Add tst-sprintf3.
73556 * stdio-common/tst-sprintf3.c: New file.
73557
73558 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73559 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73560
73561 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73562
73563 * conform/conformtest.pl: Remove duplicate typed-constant
73564 handling.
73565
73566 2012-04-28 David S. Miller <davem@davemloft.net>
73567
73568 * Makerules (%.abilist): Add vpath on sysdep_dirs.
73569 (check-abi-%): Remove AWK script prerequisite and explicit
73570 abilist directory.
73571 (check-abi): Rewrite to just diff the symlist with the abilist.
73572 (config-tls, config-abi-config): Delete, no longer used.
73573 (update-abi-%): Remove AWK script and explicit abilist directory.
73574 (update-abi): Rewrite to simply compare and conditionally copy the
73575 symlist and the sysdep abilist file. Remove update-abi-config
73576 checks.
73577 * abilist/ld.abilist: Remove.
73578 * abilist/libBrokenLocale.abilist: Remove.
73579 * abilist/libanl.abilist: Remove.
73580 * abilist/libcrypt.abilist: Remove.
73581 * abilist/libdl.abilist: Remove.
73582 * abilist/librt.abilist: Remove.
73583 * abilist/libthread_db.abilist: Remove.
73584 * abilist/libutil.abilist: Remove.
73585 * scripts/extract-abilist.awk: Remove.
73586 * scripts/merge-abilist.awk: Remove.
73587 * sysdeps/generic/libcidn.abilist: New file.
73588 * sysdeps/generic/libnss_compat.abilist: New file.
73589 * sysdeps/generic/libnss_db.abilist: New file.
73590 * sysdeps/generic/libnss_dns.abilist: New file.
73591 * sysdeps/generic/libnss_files.abilist: New file.
73592 * sysdeps/generic/libnss_hesiod.abilist: New file.
73593 * sysdeps/generic/libnss_nis.abilist: New file.
73594 * sysdeps/generic/libnss_nisplus.abilist: New file.
73595 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73596 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73597 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73598 file.
73599 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73600 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73601 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73602 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73603 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73604 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73605 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73606 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73607 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73608 file.
73609 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73610 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73611 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73612 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73613 file.
73614 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73615 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73616 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73617 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73618 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73619 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73620 file.
73621 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73622 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73623 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73624 file.
73625 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73627 New file.
73628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73629 New file.
73630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73631 New file.
73632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73633 New file.
73634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73635 New file.
73636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73637 New file.
73638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73639 New file.
73640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73641 New file.
73642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73643 New file.
73644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73645 New file.
73646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73647 New file.
73648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73649 New file.
73650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73651 New file.
73652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73653 file.
73654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73655 New file.
73656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73657 New file.
73658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73659 file.
73660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73661 New file.
73662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73663 New file.
73664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73665 file.
73666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73667 New file.
73668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73669 New file.
73670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73671 New file.
73672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73673 New file.
73674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73675 New file.
73676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73677 New file.
73678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73680 file.
73681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73682 New file.
73683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73684 file.
73685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73686 file.
73687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73688 file.
73689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73690 file.
73691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73692 file.
73693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73694 New file.
73695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73696 file.
73697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73698 file.
73699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73700 New file.
73701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73702 file.
73703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73705 file.
73706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73707 New file.
73708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73709 file.
73710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73711 file.
73712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73713 file.
73714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73715 file.
73716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73717 file.
73718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73719 New file.
73720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73721 file.
73722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73723 file.
73724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73725 New file.
73726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73727 file.
73728 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73729 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73730 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73731 file.
73732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73733 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73734 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73735 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73736 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73737 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73738 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73739 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73740 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73741 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73744 file.
73745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73746 New file.
73747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73748 file.
73749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73750 file.
73751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73752 file.
73753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73754 file.
73755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73756 file.
73757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73758 New file.
73759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73760 New file.
73761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73762 file.
73763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73764 New file.
73765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73766 file.
73767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73769 file.
73770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73771 New file.
73772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73773 file.
73774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73775 file.
73776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73777 file.
73778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73779 file.
73780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73781 file.
73782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73783 New file.
73784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73785 New file.
73786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73787 file.
73788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73789 New file.
73790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73791 file.
73792
73793 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73794
73795 * conform/conformtest.pl: Fix typo in handling typed-constant from
73796 allow-header.
73797
73798 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73799
73800 * README: Cut down references to pre-2.6 Linux kernels and
73801 Linuxthreads. Update lists of configurations in libc and ports
73802 and sort alphabetically. Say "or newer" with Linux kernel version
73803 requirements.
73804
73805 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73806
73807 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73808
73809 [BZ #887]
73810 * math/libm-test.inc (logb_test_downward): New test to expose
73811 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73812 rounding mode.
73813
73814 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73815
73816 [BZ #14027]
73817 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73818 to be done.
73819 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73820 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73821
73822 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73823
73824 * sysdeps/unix/i386/brk.S: Remove file.
73825 * sysdeps/unix/i386/dl-brk.S: Likewise.
73826 * sysdeps/unix/i386/pipe.S: Likewise.
73827 * sysdeps/unix/i386/sigreturn.S: Likewise.
73828 * sysdeps/unix/i386/syscall.S: Likewise.
73829 * sysdeps/unix/i386/vfork.S: Likewise.
73830 * sysdeps/unix/i386/wait.S: Likewise.
73831
73832 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73833 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73834
73835 * configure.in (arm*-none*): Do not allow without
73836 --enable-hacker-mode.
73837 (netbsd*): Remove case setting base_os.
73838 (386bsd*): Likewise.
73839 (freebsd*): Likewise.
73840 (bsdi*): Likewise.
73841 (osf*): Likewise.
73842 (sunos*): Likewise.
73843 (ultrix*): Likewise.
73844 (newsos*): Likewise.
73845 (dynix*): Likewise.
73846 (*bsd*): Likewise.
73847 (sysv*): Likewise.
73848 (isc*): Likewise.
73849 (esix*): Likewise.
73850 (sco*): Likewise.
73851 (minix*): Likewise.
73852 (irix4*): Likewise.
73853 (irix6*): Likewise.
73854 (solaris[2-9]*): Likewise.
73855 (none): Likewise.
73856 * configure: Regenerated.
73857
73858 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73859
73860 [BZ #11521]
73861 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73862 overflow or cancellation in calculating denominator.
73863 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73864 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73865 down expression to avoid unexpected rounding in newer GCCs.
73866 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73867
73868 2012-04-26 David S. Miller <davem@davemloft.net>
73869
73870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73871 long-double compat symbols.
73872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73885
73886 2012-04-25 David S. Miller <davem@davemloft.net>
73887
73888 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73889 HWCAP_* values only after the memory barriers have been defined.
73890 (atomic_full_barrier): Define.
73891 (atomic_read_barrier): Define.
73892 (atomic_write_barrier): Define.
73893
73894 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73895
73896 * shlib-versions: Add libgcc_s version information.
73897 * sysdeps/generic/libgcc_s.h: Remove.
73898 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73899 libgcc_s.h.
73900 * sysdeps/gnu/unwind-resume.c: Likewise.
73901 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73902
73903 2012-04-25 David S. Miller <davem@davemloft.net>
73904
73905 * sysdeps/unix/sparc/brk.S: Delete.
73906 * sysdeps/unix/sparc/dl-brk.S: Delete.
73907 * sysdeps/unix/sparc/pipe.S: Delete.
73908 * sysdeps/unix/sparc/sysdep.S: Delete.
73909 * sysdeps/unix/sparc/sysdep.h: Delete.
73910 * sysdeps/unix/sparc/vfork.S: Delete.
73911 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73912 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73914 (ret_ERRVAL, r0, r1, MOVE): Define.
73915 (JUMPTARGET): Remove.
73916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73917 sysdeps/unix/sparc/sysdep.h
73918 (ENTRY, END): Remove.
73919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73920
73921 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73922
73923 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73924 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73925 -DIS_IN_build.
73926
73927 * timezone/README: Update upstream location and email address for
73928 tzcode and tzdata.
73929 * timezone/zdump.c: Update from tzcode 2012b.
73930 * timezone/zic.c: Likewise.
73931
73932 * configure.in (libc_cv_as_needed): Remove test.
73933 * configure: Regenerated.
73934 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73935 conditional definition.
73936 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73937 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73938 * config.make.in (have-as-needed): Remove variable.
73939
73940 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73941 Paul Pluzhnikov <ppluzhnikov@google.com>
73942
73943 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73944 strings correctly.
73945
73946 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73947
73948 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73949 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73950 * sysdeps/sh/strlen.S: Likewise.
73951
73952 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73953
73954 * sysdeps/unix/fork.S: Remove file.
73955 * sysdeps/unix/i386/fork.S: Likewise.
73956 * sysdeps/unix/sparc/fork.S: Likewise.
73957
73958 * sysdeps/unix/system.c: Remove file.
73959 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73960
73961 * sysdeps/unix/getegid.S: Remove file.
73962 * sysdeps/unix/geteuid.S: Likewise.
73963
73964 2012-04-24 Roland McGrath <roland@hack.frob.com>
73965
73966 * scripts/check-localplt.awk: New file.
73967 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73968 of diff.
73969 * scripts/data/localplt-generic.data: Add a comment.
73970
73971 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73972 NODE when __dir_mkfile failed.
73973 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73974 Reported by Ludovic Courtès <ludo@gnu.org>.
73975
73976 2012-04-24 Andreas Jaeger <aj@suse.de>
73977
73978 * Makerules (common-clean): Also remove gen-as-const-headers
73979 files.
73980
73981 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73982
73983 * Makerules (native-compile): Do not change working directory for
73984 build. Use $(OUTPUT_OPTION) in command.
73985 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73986
73987 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73988
73989 [BZ #13886]
73990 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73991 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73992 * math/libm-test.inc (floor_test): Add more tests.
73993 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73994
73995 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73996
73997 * sysdeps/unix/getdents.c: Remove file.
73998 * sysdeps/unix/sysv/getdents.c: Likewise.
73999 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74000
74001 * sysdeps/unix/syscalls.list (madvise): Add syscall from
74002 sysdeps/unix/mman/syscalls.list.
74003 (mmap): Likewise.
74004 (mprotect): Likewise.
74005 (msync): Likewise.
74006 (munmap): Likewise.
74007 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74008 * sysdeps/unix/mman/syscalls.list: Remove.
74009 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74010
74011 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74012 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74013 * configure: Regenerated.
74014 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74015 $(libgcc_s_suffix).
74016 * config.make.in (libgcc_s_suffix): Remove variable.
74017
74018 2012-04-23 Joseph Myers <joseph@codesourcery.com>
74019
74020 * sysdeps/unix/sysv/gethostname.c: Move to ...
74021 * sysdeps/posix/gethostname.c: ... here.
74022
74023 * sysdeps/unix/execve.S: Remove file.
74024
74025 * sysdeps/unix/_exit.S: Remove file.
74026
74027 2012-04-23 Andreas Jaeger <aj@suse.de>
74028
74029 [BZ #13739]
74030 * manual/Makefile: Remove make dist support, there's no
74031 need for a stand-alone documentation tar ball.
74032 (TEXI2DVI): Define always, it's not in Makeconfig.
74033 (dist): Removed.
74034 (tar-it): Removed.
74035 (edition): Removed.
74036 (glibc-doc-$(edition).tar): Removed
74037 (%.Z): Removed.
74038 (%.gz): Removed.
74039 (%.uu): Removed.
74040 (ETAGS): Remove, it's in Makeconfig.
74041 (move-if-change): Remove, it's in Makeconfig.
74042
74043 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74044
74045 [BZ #13970]
74046 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74047 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74048 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74049 (strtod_l, strtof_l, strtold_l): Remove __wur.
74050 It is not necessarily an error to ignore strtol's return value.
74051 One can reliably look at the stored endptr to decide whether
74052 the number had valid syntax.
74053
74054 2012-04-21 Andreas Jaeger <aj@suse.de>
74055
74056 [BZ #13739]
74057 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74058
74059 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74060
74061 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74062 * sysdeps/unix/sysv/Versions: Remove file.
74063
74064 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74065
74066 [BZ #13927]
74067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74068
74069 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74070
74071 [BZ #7064]
74072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74073 version from __vm86.
74074
74075 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74076
74077 * sysdeps/unix/common/lxstat.c: Remove file.
74078 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74079
74080 * sysdeps/unix/sysv/Makefile: Remove file.
74081
74082 * sysdeps/unix/sysv/direct.h: Remove file.
74083
74084 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74085 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74086 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74087 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74088 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74089 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74090 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74091
74092 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74093
74094 * sysdeps/unix/xmknod.c: Remove file.
74095 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74096
74097 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74098
74099 * sysdeps/unix/sysv/i386/time.S: Remove file.
74100
74101 * sysdeps/unix/fxstat.c: Remove file.
74102 * sysdeps/unix/xstat.c: Likewise.
74103 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74104
74105 * sysdeps/unix/sysv/sigaction.c: Remove file.
74106
74107 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74108 (sysdep_headers): Remove variable.
74109 [termio.h not in sysdep_headers] (generated): Likewise.
74110 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74111 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74112 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74113 * sysdeps/unix/sysv/tcflow.c: Likewise.
74114 * sysdeps/unix/sysv/tcflush.c: Likewise.
74115 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74116 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74117 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74118 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74119 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74120
74121 * sysdeps/unix/siglist.c: Remove file.
74122
74123 * sysdeps/unix/getppid.S: Remove file.
74124
74125 * sysdeps/unix/mkdir.c: Remove file.
74126 * sysdeps/unix/rmdir.c: Likewise.
74127
74128 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74129
74130 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74131 ERR_MAX value.
74132 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74133 errlist-compat value.
74134
74135 2012-04-18 David S. Miller <davem@davemloft.net>
74136
74137 * sysdeps/generic/memcopy.h (reg_char): Delete.
74138 * debug/strcat_chk.c: Use char, not reg_char.
74139 * debug/strcpy_chk.c: Likewise.
74140 * debug/strncat_chk.c: Likewise.
74141 * debug/strncpy_chk.c: Likewise.
74142 * string/memchr.c: Likewise.
74143 * string/memrchr.c: Likewise.
74144 * string/rawmemchr.c: Likewise.
74145 * string/strcat.c: Likewise.
74146 * string/strchr.c: Likewise.
74147 * string/strchrnul.c: Likewise.
74148 * string/strcmp.c: Likewise.
74149 * string/strcpy.c: Likewise.
74150 * string/strncat.c: Likewise.
74151 * string/strncmp.c: Likewise.
74152 * string/strncpy.c: Likewise.
74153
74154 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74155
74156 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74157 __builtin_memcopy is called when src and dest ranges are known to not
74158 overlap.
74159
74160 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74161
74162 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74163 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74164 fwd_align_merge macro call.
74165 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74166 bwd_align_merge macro call.
74167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74168
74169 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74170
74171 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74172 bwd_align_merge macros.
74173 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74174 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74175 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74176
74177 2012-04-18 David S. Miller <davem@davemloft.net>
74178
74179 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74180
74181 2012-04-18 Andreas Jaeger <aj@suse.de>
74182
74183 [BZ# 6794]
74184 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74185 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74186 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74187
74188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74189 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74190 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74191
74192 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74193 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74194 Adjust for changed ldbl-128 files.
74195
74196 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74197 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74198 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74199
74200 2012-04-17 David S. Miller <davem@davemloft.net>
74201
74202 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74203
74204 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74205
74206 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74207 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74208 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74209 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74210 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74211 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74212
74213 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74214
74215 [BZ #6794]
74216 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74217 * math/libm-test.inc: Add ilogb errno and exception tests.
74218 * math/w_ilogb.c: New file: ilogb wrapper.
74219 * math/w_ilogbf.c: New file: ilogbf wrapper.
74220 * math/w_ilogbl.c: New file: ilogbl wrapper.
74221 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74222 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74223 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74224 exception being thrown with 0.0 as argument.
74225 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74226 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74227 exception being thrown with 0.0 as argument.
74228 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74229 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74230 exception being thrown with 0.0 as argument.
74231 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74232 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74233 exception being thrown with 0.0 as argument.
74234 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74235 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74237 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74238 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74239 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74240 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74241 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74242 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74243
74244 2012-04-17 Petr Baudis <pasky@ucw.cz>
74245
74246 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74247 with altivec.
74248
74249 2012-04-16 Marek Polacek <polacek@redhat.com>
74250
74251 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74252
74253 2012-04-16 Marek Polacek <polacek@redhat.com>
74254
74255 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74256 operands of fdivp instruction.
74257
74258 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74259
74260 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74261 * elf/tst-auditmod3b.c: Likewise.
74262 * elf/tst-auditmod4b.c: Likewise.
74263 * elf/tst-auditmod5b.c: Likewise.
74264 * elf/tst-auditmod6b.c: Likewise.
74265 * elf/tst-auditmod6c.c: Likewise.
74266 * elf/tst-auditmod7b.c: Likewise.
74267 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74268 * sysdeps/x86_64/preconfigure.in: Likewise.
74269 * sysdeps/x86_64/preconfigure: Regenerated.
74270
74271 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74272
74273 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74274 __ILP32__.
74275
74276 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74277
74278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74279 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74280
74281 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74282
74283 [BZ #13973]
74284 * locale/iso-639.def: Fix gl language name. Spotted by
74285 Yaron Shahrabani.
74286
74287 2012-04-12 Roland McGrath <roland@hack.frob.com>
74288
74289 [BZ #2074]
74290 * libio/libio.h (__io_write_fn): Update comment.
74291
74292 2012-04-12 Petr Baudis <pasky@ucw.cz>
74293
74294 [BZ #2074]
74295 * stdio.texi (Hook Functions): The user provided writer function
74296 is not allowed to return -1.
74297
74298 2012-04-11 David S. Miller <davem@davemloft.net>
74299
74300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74301
74302 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74303
74304 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74305 Add a leading slash to rtkaio.
74306
74307 2012-04-11 Jim Meyering <meyering@redhat.com>
74308
74309 [BZ #11959]
74310 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74311 It is not necessarily an error to ignore fwrite's return
74312 value. One can reliably use ferror to test for errors after
74313 the fact.
74314
74315 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74316
74317 * bits/types.h (__snseconds_t): New type.
74318 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74319
74320 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74322 (__SNSECONDS_T_TYPE): Likewise.
74323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74324 (__SNSECONDS_T_TYPE): Likewise.
74325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74326 (__SNSECONDS_T_TYPE): Likewise.
74327
74328 2012-04-10 Andreas Jaeger <aj@suse.de>
74329
74330 [BZ #2636]
74331 * manual/time.texi (Processor Time): Return type of times is
74332 elapsed real time since an arbitrary point in the past.
74333 (CPU Time): Move CLK_TCK from here...
74334 (Processor Time): ...to here. Correct description.
74335 * manual/conf.texi (Constants for Sysconf): Correct description of
74336 _SC_CLK_TCK.
74337
74338 2012-04-10 David S. Miller <davem@davemloft.net>
74339
74340 [BZ #13967]
74341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74342 where the is a gap between DT_REL(A) and DT_JMPREL.
74343
74344 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74345
74346 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74347 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74348 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74349
74350 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74351
74352 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74353 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74354 (dl_main): Handle --inhibit-cache.
74355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74356 _dl_inhibit_cache.
74357 * elf/dl-load.c (_dl_map_object): Use it.
74358 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74359
74360 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74361
74362 [BZ #13872]
74363 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74364 (__ieee754_powl): Saturate large exponents rather than testing for
74365 overflow of y*log2(x).
74366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74367 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74368 exceptions.
74369
74370 [BZ #11521]
74371 * math/s_ctan.c: Include <float.h>.
74372 (__ctan): Avoid internal overflow or cancellation in calculating
74373 denominator.
74374 * math/s_ctanf.c: Likewise.
74375 * math/s_ctanl.c: Likewise.
74376 * math/s_ctanh.c: Likewise.
74377 * math/s_ctanhf.c: Likewise.
74378 * math/s_ctanhl.c: Likewise.
74379 * math/libm-test.inc (ctan_test): Add more tests.
74380 (ctanh_test): Likewise.
74381 * sysdeps/i386/fpu/libm-test-ulps: Update.
74382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74383
74384 2012-04-09 Andreas Jaeger <aj@suse.de>
74385
74386 [BZ #6894]
74387 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74388 is an optional BSD extension.
74389
74390 [BZ #10254]
74391 * manual/stdio.texi (Opening Streams): Document additional fopen
74392 parameters.
74393
74394 2012-04-09 Roland McGrath <roland@hack.frob.com>
74395
74396 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74397 %eax without telling the compiler.
74398
74399 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74400
74401 [BZ # 13963]
74402 * manual/install.texi: Use sourceware.org.
74403
74404 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74405
74406 [BZ #13873]
74407 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74408 (__ieee754_pow): Generate overflow and underflow using huge*huge
74409 and tiny*tiny rather than just returning constant infinity or zero
74410 for large exponents.
74411 * math/libm-test.inc (pow_test): Require overflow exceptions for
74412 applicable cases of large exponents.
74413
74414 [BZ #706]
74415 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74416 (__ieee754_pow): Use iterative multiplication algorithm only for
74417 integer exponents with absolute value below 1024. Check for odd
74418 integer exponents when using algorithm for real exponents.
74419 * math/libm-test.inc (pow_test): Add more tests.
74420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74421
74422 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74423
74424 [BZ #13705]
74425 * math/libm-test.inc (exp_test): Do not allow overflow exception
74426 on underflow test.
74427
74428 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74429
74430 [BZ #13705]
74431 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74432 instead of __kernel_standard_f.
74433
74434 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74435
74436 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74437 * sysdeps/x86_64/memset_chk.S: Likewise.
74438
74439 2012-04-08 Andreas Jaeger <aj@suse.de>
74440
74441 [BZ #10153]
74442 * manual/startup.texi (Environment Access): Describe return value
74443 for putenv and setenv.
74444
74445 [BZ #6895]
74446 * manual/filesys.texi (Directory Entries): Add description for
74447 DT_LNK.
74448
74449 [BZ #6890]
74450 * manual/filesys.texi (Directory Entries): Clarify that it's file
74451 system not operating system in the description of DT_UNKNOWN.
74452
74453 [BZ #6578]
74454 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74455
74456 2012-04-08 Stephen Compall <s11@member.fsf.org>
74457
74458 [BZ #6649]
74459 * manual/llio.texi (Opening and Closing Files): Add cross
74460 reference to explain mode argument.
74461
74462 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74463
74464 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74465 * sysdeps/x86_64/memset_chk.S: Likewise.
74466
74467 2012-04-07 David S. Miller <davem@davemloft.net>
74468
74469 * elf/elf.h (R_SPARC_WDISP10): Define.
74470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74471 R_SPARC_SIZE32.
74472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74473 R_SPARC_SIZE64 and R_SPARC_H34.
74474
74475 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74476
74477 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74478 conditions and remove no longer applicable assertion.
74479
74480 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74481
74482 * bits/byteswap.h: Include <features.h>.
74483 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74484 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74485
74486 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74487
74488 * bits/byteswap.h (__bswap_16): Removed.
74489 Include <bits/byteswap-16.h> to get __bswap_16.
74490 * sysdeps/i386/bits/byteswap.h: Likewise.
74491 * sysdeps/s390/bits/byteswap.h: Likewise.
74492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74493 * bits/byteswap-16.h: New file.
74494 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74495 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74496 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74497 * string/Makefile (headers): Add bits/byteswap-16.h.
74498
74499 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74500
74501 [BZ #13895]
74502 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74503 extra indirection.
74504 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74505 * nss/tst-nss-static.c: New.
74506
74507 2012-04-06 Robert Millan <rmh@gnu.org>
74508
74509 [BZ #6486]
74510 * manual/llio.texi (File Position Primitive): lseek
74511 refers to WHENCE when it really means OFFSET.
74512
74513 2012-04-06 Andreas Jaeger <aj@suse.de>
74514
74515 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74516 strncmp declarations.
74517
74518 * abilist/libc.abilist: Add __poll and __ppoll.
74519
74520 2012-04-05 David S. Miller <davem@davemloft.net>
74521
74522 * scripts/check-local-headers.sh: Accept a host triplet in the
74523 path matched by the exclude regexp.
74524
74525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74526 definition.
74527 * sysdeps/powerpc/powerpc32/dl-machine.h
74528 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74529 * sysdeps/s390/s390-32/dl-machine.h
74530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74531 * sysdeps/sparc/sparc32/dl-machine.h
74532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74533 * sysdeps/sparc/sparc64/dl-machine.h
74534 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74535
74536 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74537 lazy binding.
74538 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74539 undefined symbol errors.
74540
74541 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74542 DT_NEEDED entries.
74543
74544 2012-04-05 Michael Matz <matz@suse.de>
74545
74546 [BZ #13592]
74547 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74548
74549 2012-04-05 Andreas Jaeger <aj@suse.de>
74550
74551 [BZ #13908]
74552 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74553 comment.
74554
74555 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74556
74557 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74558 which ROUND is no valid rounding mode.
74559
74560 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74561
74562 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74563 read again.
74564 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74565
74566 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74567
74568 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74569 an exception using FPU order intentionally.
74570
74571 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74572
74573 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74574 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74575 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74576 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74577
74578 2012-04-05 Simon Josefsson <simon@josefsson.org>
74579
74580 [BZ #12340]
74581 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74582 EINVAL when BUFLEN is too smal.
74583
74584 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74585
74586 [BZ #13553]
74587 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74588 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74589
74590 2012-04-03 Andreas Jaeger <aj@suse.de>
74591
74592 [BZ #13938]
74593 * manual/setjmp.texi (System V contexts): Fix sentence.
74594
74595 [BZ #13926]
74596 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74597 New macro for this case.
74598 [!__GNUC__] (__bswap_64): New inline function for this case.
74599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74600 * bits/byteswap.h: Likewise.
74601 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74602 ull, guard with __GLIBC_HAVE_LONG_LONG.
74603
74604 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74605 __GLIBC_HAVE_LONG_LONG.
74606
74607 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74608 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74609
74610 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74611
74612 [BZ #13691]
74613 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74614 inptr and inend, rather than using last_ch.
74615
74616 2012-04-02 David S. Miller <davem@davemloft.net>
74617
74618 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74619 * stdio-common/printf-parse.h (read_int): Change return type to
74620 'int', return -1 on INT_MAX overflow.
74621 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74622 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74623 overflows INT_MAX. Check for overflow of in-format-string precision
74624 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74625 SIZE_MAX not INT_MAX for integer overflow test.
74626 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74627 skip the construct in the format string but do not record anything.
74628 * stdio-common/bug22.c: Adjust to test both width/prevision
74629 INT_MAX overflow as well as total length INT_MAX overflow. Check
74630 explicitly for proper errno values.
74631
74632 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74633
74634 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74635 CHAR_MAX.
74636 * string/test-strcmp.c [! WIDE]: Likewise.
74637 * time/tst-mktime2.c: Likewise for INT_MAX.
74638 * string/test-string.h: #include <sys/param.h> for MIN.
74639
74640 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74641 * sysdeps/i386/init-first.c (init): Likewise.
74642 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74643 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74644 * sysdeps/sh/init-first.c (init): Likewise.
74645
74646 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74647
74648 * po/ru.po: Update from translation team.
74649 * po/vi.po: Likewise.
74650
74651 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74652
74653 * resolv/nss_dns/dns-host.c: Merge copyright years.
74654
74655 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74656
74657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74658 Optimize memcpy with prefetch if
74659 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74660 src, dst pointers have unequal 16 byte alignments.
74661
74662 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74663
74664 [BZ #13928]
74665 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74666 from a CNAME entry and return the minimum ttl for the query.
74667 (gaih_getanswer_slice): Likewise.
74668
74669 2012-03-30 Jeff Law <law@redhat.com>
74670
74671 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74672 due to long keys.
74673 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74674 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74675
74676 * resolv/nss_dns/dns-host.c: Update copyright year.
74677
74678 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74679
74680 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74681 requests to save a system call. Fix check that all bytes are sent.
74682
74683 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74684 comments for sendmmsg.
74685
74686 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74687
74688 [BZ #13691]
74689 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74690 with only 1 character between 0x0041 and 0x01b0.
74691 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74692 * wcsmbs/tst-mbsnrtowcs.c: New file.
74693
74694 2012-03-29 David S. Miller <davem@davemloft.net>
74695
74696 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74697 small copies by hand.
74698
74699 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74700
74701 [BZ #13761]
74702 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74703 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74704 group memberships.
74705
74706 2012-03-28 David S. Miller <davem@davemloft.net>
74707
74708 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74709 that branches into memcpy.
74710 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74712 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74713 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74715 bits.
74716 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74717 implementation too.
74718 * sysdeps/sparc/mempcpy.S: New file.
74719
74720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74721 the IFUNC routine in the libc case.
74722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74723
74724 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74725 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74726 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74727 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74728 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74729 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74730 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74731 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74732
74733 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74734 loop to 256 bytes instead of 64 bytes and fix test signedness.
74735
74736 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74737 * sysdeps/sparc/sparc32/Makefile: rather than here...
74738 * sysdeps/sparc/sparc64/Makefile: and here.
74739
74740 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74741
74742 * malloc/mallocbug.c: Avoid warnings about unused variables.
74743
74744 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74745
74746 [BZ #13760]
74747 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74748 in the right place. Discard and retry query if response is
74749 larger than input buffer size.
74750
74751 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74752
74753 [BZ #369]
74754 [BZ #2678]
74755 [BZ #3866]
74756 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74757 x for large integer exponent.
74758 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74759 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74760 sign of result as needed afterwards.
74761 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74763 result for underflowing pow the same as for overflow.
74764 (__kernel_standard_l): Handle powl overflow and underflow here
74765 rather than calling __kernel_standard.
74766 * math/libm-test.inc (pow_test): Add more tests.
74767
74768 [BZ #3868]
74769 [BZ #13879]
74770 [BZ #13910]
74771 [BZ #13911]
74772 [BZ #13912]
74773 [BZ #13913]
74774 [BZ #13915]
74775 [BZ #13916]
74776 [BZ #13917]
74777 [BZ #13918]
74778 [BZ #13919]
74779 [BZ #13920]
74780 [BZ #13921]
74781 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74782 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74783 (__kernel_standard_l): New function.
74784 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74785 __kernel_standard.
74786 * math/w_acosl.c (__acosl): Likewise.
74787 * math/w_asinl.c (__asinl): Likewise.
74788 * math/w_atan2l.c (__atan2l): Likewise.
74789 * math/w_atanhl.c (__atanhl): Likewise.
74790 * math/w_coshl.c (__coshl): Likewise.
74791 * math/w_exp10l.c (__exp10l): Likewise.
74792 * math/w_exp2l.c (__exp2l): Likewise.
74793 * math/w_fmodl.c (__fmodl): Likewise.
74794 * math/w_hypotl.c (__hypotl): Likewise.
74795 * math/w_j0l.c (__j0l, __y0l): Likewise.
74796 * math/w_j1l.c (__j1l, __y1l): Likewise.
74797 * math/w_jnl.c (__jnl, __ynl): Likewise.
74798 * math/w_lgammal.c (__lgammal): Likewise.
74799 * math/w_log10l.c (__log10l): Likewise.
74800 * math/w_log2l.c (__log2l): Likewise.
74801 * math/w_logl.c (__logl): Likewise.
74802 * math/w_powl.c (__powl): Likewise.
74803 * math/w_remainderl.c (__remainderl): Likewise.
74804 * math/w_scalbl.c (sysv_scalbl): Likewise.
74805 * math/w_sinhl.c (__sinhl): Likewise.
74806 * math/w_sqrtl.c (__sqrtl): Likewise.
74807 * math/w_tgammal.c (__tgammal): Likewise.
74808 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74809 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74810 * math/libm-test.inc (acos_test): Add more tests.
74811 (acosh_test): Likewise.
74812 (asin_test): Likewise.
74813 (atanh_test): Likewise.
74814 (exp_test): Likewise.
74815 (exp10_test): Likewise.
74816 (exp2_test): Likewise.
74817 (expm1_test): Likewise.
74818 (lgamma_test): Likewise.
74819 (log_test): Likewise.
74820 (log10_test): Likewise.
74821 (log1p_test): Likewise.
74822 (log2_test): Likewise.
74823 (pow_test): Do not allow some spurious overflow exceptions.
74824 (sqrt_test): Add more tests.
74825 (tgamma_test): Likewise.
74826 (y0_test): Likewise.
74827 (y1_test): Likewise.
74828 (yn_test): Likewise.
74829
74830 2012-03-27 Anton Blanchard <anton@samba.org>
74831
74832 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74833 MAP_HUGETLB.
74834 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74835 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74837
74838 2012-03-27 David S. Miller <davem@davemloft.net>
74839
74840 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74841
74842 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74843 have-as-vis3 check.
74844
74845 2012-03-27 Andreas Jaeger <aj@suse.de>
74846
74847 * sysdeps/x86_64/elf/configure.in: Moved to ...
74848 * sysdeps/x86_64/configure.in: ... here.
74849 * sysdeps/x86_64/elf/start.S: Moved to ...
74850 * sysdeps/x86_64/start.S: ... here.
74851 * sysdeps/x86_64/elf/configure: Delete.
74852
74853 * sysdeps/x86_64/configure.in: Merge contents from
74854 sysdeps/i386/configure.in (without i686 check).
74855
74856 * sysdeps/i386/elf/Versions: Merge into ...
74857 * sysdeps/i386/Versions: ... this.
74858 * sysdeps/i386/elf/Versions: Delete file.
74859 * sysdeps/i386/elf/start.S: Moved to ...
74860 * sysdeps/i386/start.S: ...here.
74861 * sysdeps/i386/elf/configure.in: Merge into...
74862 * sysdeps/i386/configure.in: ...here.
74863 * sysdeps/i386/elf/configure.in: Delete file.
74864 * sysdeps/i386/elf/configure: Delete file.
74865
74866 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74867 * debug/backtracesyms.c: ... here.
74868 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74869 * debug/backtracesymsfd.c: ... here.
74870 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74871 * sysdeps/generic/ifunc-sel.h: ... here.
74872
74873 * sysdeps/unix/i386/start.c: Delete file.
74874 * sysdeps/unix/sparc/start.c: Delete file.
74875 * sysdeps/unix/start.c: Delete file.
74876
74877 * sysdeps/sh/elf/configure.in: Moved to ...
74878 * sysdeps/sh/configure.in: ... here.
74879 * sysdeps/sh/elf/start.S: Moved to ...
74880 * sysdeps/sh/start.S: ... here.
74881 * sysdeps/sh/elf/configure: Delete file.
74882
74883 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74884 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74885 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74886 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74887 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74888 * sysdeps/powerpc/powerpc64/start.S: here.
74889 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74890 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74891 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74892 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74893 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74894
74895 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74896 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74897 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74898 * sysdeps/powerpc/powerpc32/start.S: ... here.
74899 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74900 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74901 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74902
74903 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74904 * sysdeps/powerpc/ifunc-sel.h: ... here.
74905 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74906 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74907
74908 * sysdeps/sparc/elf/configure.in: Moved to ...
74909 * sysdeps/sparc/configure.in: ... here.
74910 * sysdeps/sparc/elf/configure: Delete file.
74911 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74912 * sysdeps/sparc/sparc32/start.S: ... here.
74913 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74914 * sysdeps/sparc/sparc64/start.S: ... here.
74915 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74916 * sysdeps/sparc/sparc32/Makefile: ... this.
74917 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74918 * sysdeps/sparc/sparc64/Makefile: ... this.
74919
74920 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74921 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74922 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74923 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74924 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74925 * sysdeps/s390/s390-32/setjmp.S: ... here.
74926 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74927 * sysdeps/s390/s390-32/configure.in: ... here.
74928 * sysdeps/s390/s390-32/elf/configure: Delete file.
74929 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74930 * sysdeps/s390/s390-32/start.S: ... here.
74931
74932 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74933 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74934 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74935 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74936 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74937 * sysdeps/s390/s390-64/setjmp.S: ... here.
74938 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74939 * sysdeps/s390/s390-64/configure.in: ... here
74940 * sysdeps/s390/s390-64/elf/configure: Delete file.
74941 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74942 * sysdeps/s390/s390-64/start.S: ... here.
74943 * sysdeps/s390/s390-64/elf/configure: Delete.
74944
74945 * configure.in: Remove support for elf directories in sysdeps.
74946
74947 * configure: Regenerated.
74948 * sysdeps/i386/configure: Regenerated.
74949 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74950 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74951 * sysdeps/s390/s390-32/configure: Regenerated.
74952 * sysdeps/s390/s390-64/configure: Regenerated.
74953 * sysdeps/sh/configure: Regenerated.
74954 * sysdeps/sparc/configure: Regenerated.
74955 * sysdeps/x86_64/configure: Regenerated.
74956
74957 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74958
74959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74960
74961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74962 denormal result into account.
74963
74964 2012-03-25 Roland McGrath <roland@hack.frob.com>
74965
74966 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74967 Reported by Allan McRae <allan@archlinux.org>.
74968
74969 2012-03-23 Jeff Law <law@redhat.com>
74970
74971 * nss/getnssent.c (__nss_getent): Fix typo.
74972
74973 2012-03-23 David S. Miller <davem@davemloft.net>
74974
74975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74976
74977 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74978
74979 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74980 to pad to uint64_t for each field.
74981 (dl_tls_index): Replace unsigned long with uint64_t.
74982
74983 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74984 Paul Pluzhnikov <ppluzhnikov@google.com>
74985
74986 [BZ #6528]
74987 * grp/Makefile (otherlibs): Don't set it.
74988 * inet/Makefile (otherlibs): Likewise.
74989 * login/Makefile (otherlibs): Likewise.
74990 * nscd/Makefile (otherlibs): Likewise.
74991 * posix/Makefile (otherlibs): Likewise.
74992 * pwd/Makefile (otherlibs): Likewise.
74993 * rt/Makefile (otherlibs): Likewise.
74994 * sunrpc/Makefile (otherlibs): Likewise.
74995 * nss/Makefile (otherlibs): Likewise.
74996 Add libnss_files to routines and static-only-routines.
74997 ($(objpfx)getent): Remove rule.
74998 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74999 static-only-routines.
75000
75001 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75002
75003 [BZ #13892]
75004 * math/s_cexp.c: Include <float.h>.
75005 (__cexp): Handle exp result overflowing not necessarily
75006 overflowing both real and imaginary parts of result.
75007 * math/s_cexpf.c: Likewise.
75008 * math/s_cexpl.c: Likewise.
75009 * math/libm-test.inc (cexp_test): Add more tests.
75010 * sysdeps/i386/fpu/libm-test-ulps: Update.
75011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75012
75013 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75014
75015 * include/link.h (ELFW): New macro.
75016 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75017 Replace ELF64_R_TYPE with ELFW(R_TYPE).
75018
75019 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75020
75021 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75022 with uint64_t.
75023
75024 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75025
75026 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75027 declaration.
75028 (struct La_x32_retval): Likewise.
75029
75030 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75031
75032 * sysdeps/x86_64/preconfigure.in: New file.
75033 * sysdeps/x86_64/preconfigure: New generated file.
75034
75035 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75036
75037 [BZ #13824]
75038 * math/e_exp2l.c: Include <float.h>.
75039 (__ieee754_exp2l): Handle overflow and underflow cases
75040 separately. Only pass fractional part of argument to
75041 __ieee754_expl.
75042 * math/libm-test.inc (exp2_test): Add more tests.
75043
75044 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75045 negating x to take absolute value.
75046 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75047 Likewise.
75048 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75049 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75050 Likewise.
75051 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75052 computing low part if x was negated.
75053 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75054
75055 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75056
75057 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75058 la_x32_gnu_pltexit.
75059 (pltexit): Cast int_retval to ptrdiff_t.
75060 * elf/tst-auditmod3b.c: Likewise.
75061 * elf/tst-auditmod4b.c: Likewise.
75062 * elf/tst-auditmod5b.c: Likewise.
75063 * elf/tst-auditmod6b.c: Likewise.
75064 * elf/tst-auditmod6c.c: Likewise.
75065 * elf/tst-auditmod7b.c: Likewise.
75066
75067 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75068 and x32_gnu_pltexit.
75069
75070 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75071 __ELF_NATIVE_CLASS.
75072 (La_x32_regs): New macro.
75073 (La_x32_retval): Likewise.
75074 (la_x32_gnu_pltenter): New function prototype.
75075 (la_x32_gnu_pltexit): Likewise.
75076
75077 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75078
75079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75080 exponent.
75081
75082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75083
75084 * configure.in (libc_cv_cc_nofma): Check for option to disable
75085 generation of FMA instructions.
75086 * configure: Regenerate.
75087 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75088 * sysdeps/ieee754/dbl-64/Makefile: New file.
75089 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75090 Remove brandred-fma4.
75091 (CFLAGS-brandred-fma4.c): Remove.
75092 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75094 define.
75095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75096 define.
75097
75098 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75099
75100 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75101 LLONG_MAX != LONG_MAX.
75102 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75103 (_fitoa_word): Likewise.
75104 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75105 LLONG_MAX != LONG_MAX.
75106 * stdio-common/_itowa.h: Include <_itoa.h>.
75107 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75108 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75109 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75110 only if not defined.
75111 (_ITOA_WORD_TYPE): Likewise.
75112 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75113 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75114
75115 2012-03-21 David S. Miller <davem@davemloft.net>
75116
75117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75118
75119 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75120
75121 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75122 of x86_64 when setting libc_cv_slibdir, libdir and
75123 libc_cv_localedir.
75124 * sysdeps/unix/sysv/linux/configure: Regenerated.
75125
75126 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75127
75128 * manual/lang.texi (Old Varargs): Remove section.
75129 (How Variadic): Update menu.
75130 (va_start): Do not mention varargs.h.
75131
75132 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75133 Joseph Myers <joseph@codesourcery.com>
75134
75135 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75136 link test.
75137 * configure: Regenerated.
75138
75139 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75140
75141 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75142 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75143 conformtest.pl
75144
75145 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75146
75147 * NOTES: Remove.
75148 * Makefile (files-for-dist): Remove NOTES.
75149 (NOTES): Remove rule.
75150 * README: Don't refer to NOTES.
75151 * manual/creature.texi: Don't include macros.texi.
75152 * manual/intro.texi (creature.texi): Remove comment referring to
75153 NOTES.
75154
75155 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75156 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75157 * configure: Regenerated.
75158 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75159 LIBC_TRY_CC_OPTION.
75160 (libc_cv_as_i686): Likewise.
75161 (libc_cv_cc_avx): Likewise.
75162 (libc_cv_cc_sse2avx): Likewise.
75163 (libc_cv_cc_fma4): Likewise.
75164 (libc_cv_cc_novzeroupper): Likewise.
75165 * sysdeps/i386/configure: Regenerated.
75166
75167 [BZ #13883]
75168 * sysdeps/i386/fpu/s_cexp.S: Remove.
75169 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75170 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75171 * math/libm-test.inc (cexp_test): Add more tests.
75172 * sysdeps/i386/fpu/libm-test-ulps: Update.
75173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75174
75175 2012-03-21 Allan McRae <allan@archlinux.org>
75176
75177 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75178
75179 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75180
75181 [BZ #13871]
75182 * math/w_exp2.c: Do not include <float.h>.
75183 (o_threshold, u_threshold): Remove.
75184 (__exp2): Calculate result before checking finiteness and calling
75185 __kernel_standard.
75186 * math/w_exp2f.c: Likewise.
75187 * math/w_exp2l.c: Likewise.
75188 * math/libm-test.inc (exp2_test): Require overflow exception for
75189 1e6 input.
75190
75191 [BZ #3866]
75192 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75193 range of signed 64-bit integers before using fistpll. Remove
75194 checks for whether integers fit in mantissa bits.
75195 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75196 the range of signed 32-bit integers before using fistpl. Remove
75197 checks for whether integers fit in mantissa bits.
75198 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75199 (__ieee754_powl): Test for y outside the range of signed 64-bit
75200 integers before using fistpll. Reduce 64-bit values to 63-bit
75201 ones as needed.
75202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75203 divide-by-zero is raised for zero to large negative powers.
75204 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75205 (__ieee754_powl): Test for y outside the range of signed 64-bit
75206 integers before using fistpll. Reduce 64-bit values to 63-bit
75207 ones as needed.
75208 * math/libm-test.inc (pow_test): Add more tests.
75209
75210 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75211
75212 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75213 <stdio-common/_itoa.h>.
75214 * debug/segfault.c: Likewise.
75215 * elf/dl-cache.c: Likewise.
75216 * elf/dl-minimal.c: Likewise.
75217 * elf/dl-misc.c: Likewise.
75218 * elf/dl-sysdep.c: Likewise.
75219 * elf/dl-version.c: Likewise.
75220 * elf/rtld.c: Likewise.
75221 * hurd/hurdsock.c: Likewise.
75222 * hurd/lookup-retry.c: Likewise.
75223 * malloc/malloc.c: Likewise.
75224 * malloc/mtrace.c: Likewise.
75225 * nscd/nscd_getgr_r.c: Likewise.
75226 * nscd/nscd_getpw_r.c: Likewise.
75227 * nscd/nscd_getserv_r.c: Likewise.
75228 * posix/getopt_init.c: Likewise.
75229 * posix/wordexp.c: Likewise.
75230 * stdio-common/_itoa.c: Likewise.
75231 * stdio-common/printf_fphex.c: Likewise.
75232 * stdio-common/vfprintf.c: Likewise.
75233 * string/_strerror.c: Likewise.
75234 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75235 * sysdeps/i386/i686/hp-timing.h: Likewise.
75236 * sysdeps/mach/_strerror.c: Likewise.
75237 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75238 * sysdeps/mach/hurd/sethostid.c: Likewise.
75239 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75240 * sysdeps/mach/xpg-strerror.c: Likewise.
75241 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75243 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75244 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75245 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75246 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75247 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75248 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75249 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75250 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75251 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75252 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75253 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75254 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75255 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75256 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75257 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75258 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75259 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75260 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75261 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75262
75263 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75264
75265 * stdio-common/_itoa.h: Moved to ...
75266 * sysdeps/generic/_itoa.h: Here.
75267
75268 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75269
75270 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75271 instead of "_itoa.h" and "_itowa.h".
75272 * stdio-common/vfprintf.: Likewise.
75273
75274 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75275
75276 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75277 <bits/wordsize.h>.
75278 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75279 (__signbit): Likewise.
75280 (llrintf): Likewise.
75281 (llrint): Likewise.
75282
75283 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75284
75285 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75286 __WORDSIZE != 64.
75287
75288 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75289
75290 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75291 OVERFLOW_EXCEPTION_OK.
75292 * math/libm-test.inc ("Philosophy"): Update comment about
75293 exception testing.
75294 (OVERFLOW_EXCEPTION): Define.
75295 (OVERFLOW_EXCEPTION_OK): Likewise.
75296 (INVALID_EXCEPTION_OK): Renumber.
75297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75298 (IGNORE_ZERO_INF_SIGN): Likewise.
75299 (test_exceptions): Handle FE_OVERFLOW.
75300 (exp10_test): Expect overflow exceptions.
75301 (exp2_test): Likewise.
75302 (expm1_test): Likewise.
75303 (nextafter_test): Likewise.
75304 (pow_test): Likewise.
75305 (scalbn_test): Likewise.
75306 (scalbln_test): Likewise.
75307
75308 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75309
75310 * sysdeps/x86_64/bits/atomic.h
75311 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75312 64bit integer.
75313 (atomic_exchange_acq): Likewise.
75314 (__arch_exchange_and_add_body): Likewise.
75315 (__arch_add_body): Likewise.
75316 (atomic_add_negative): Likewise.
75317 (atomic_add_zero): Likewise.
75318
75319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75320
75321 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75322 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75323
75324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75325
75326 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75327 Check __x86_64__ instead of __WORDSIZE.
75328
75329 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75330
75331 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75332
75333 2012-03-19 David S. Miller <davem@davemloft.net>
75334
75335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75336
75337 * sysdeps/sparc/fpu/fenv_private.h: New file.
75338 * sysdeps/sparc/fpu/math_private.h: Use it.
75339 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75340 Remove.
75341 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75342 (libc_feholdexcept_setroundl): Remove.
75343 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75344 Remove.
75345 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75346 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75347
75348 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75349
75350 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75351 int64_t instead of long int.
75352 (INSERT_WORDS64): Likewise.
75353
75354 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75355
75356 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75357 _Unwind_GetCFA return to _Unwind_Ptr first.
75358
75359 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75360
75361 [BZ #13629]
75362 * math/s_clog.c: Include <float.h>.
75363 (__clog): Scale large or subnormal inputs.
75364 * math/s_clogf.c: Likewise.
75365 * math/s_clogl.c: Likewise.
75366 * math/s_clog10.c: Include <float.h>.
75367 (M_LOG10_2): Define.
75368 (__clog10): Scale large or subnormal inputs.
75369 * math/s_clog10f.c: Likewise.
75370 * math/s_clog10l.c: Likewise.
75371 * math/libm-test.inc (clog_test): Add more tests.
75372 (clog10_test): Likewise.
75373 * sysdeps/i386/fpu/libm-test-ulps: Update.
75374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75375
75376 [BZ #11451]
75377 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75378 x and y.
75379 * math/libm-test.inc (atan2_test): Add another test.
75380
75381 * Makerules (common-objdir-compile): Remove.
75382 * sysdeps/unix/Makefile (config-generated): Do not add
75383 $(unix-generated) to variable.
75384 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75385 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75386 Remove rule.
75387 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75388 Likewise.
75389 [generic bits/local_lim.h] (before-compile): Do not append to
75390 variable.
75391 [generic bits/local_lim.h] (common-generated): Likewise.
75392 [generic sys/param.h] (before-compile): Do not append to variable.
75393 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75394 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75395 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75396 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75397 include.
75398 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75399 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75400 [generic sys/param.h] ($(addprefix
75401 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75402 [generic sys/param.h] (common-generated): Do not append to
75403 variable.
75404 [generic sys/param.h] (sysdep_headers): Likewise.
75405 [generic bits/errno.h] (before-compile): Do not append to
75406 variable.
75407 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75408 rule.
75409 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75410 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75411 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75412 [generic bits/errno.h] (common-generated): Do not append to
75413 variable.
75414 [generic bits/ioctls.h] (before-compile): Do not append to
75415 variable.
75416 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75417 rule.
75418 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75419 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75420 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75421 rule.
75422 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75423 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75424 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75425 [generic bits/ioctls.h] (common-generated): Do not append to
75426 variable.
75427 [generic sys/syscall.h] (syscall.h): Remove variable.
75428 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75429 rule.
75430 [generic sys/syscall.h] (before-compile): Do not append to
75431 variable.
75432 [generic sys/syscall.h] (common-generated): Likewise.
75433 * sysdeps/unix/errnos-tmpl.c: Remove file.
75434 * sysdeps/unix/errnos.awk: Likewise.
75435 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75436 * sysdeps/unix/ioctls.awk: Likewise.
75437 * sysdeps/unix/mk-local_lim.c: Likewise.
75438 * sysdeps/unix/snarf-ioctls: Likewise.
75439
75440 2012-03-19 Richard Henderson <rth@twiddle.net>
75441
75442 * sysdeps/i386/fpu/fenv_private.h: New file.
75443 * sysdeps/i386/fpu/math_private.h: Use it.
75444 (math_opt_barrier, math_force_eval): Remove.
75445 (libc_feholdexcept_setround_53bit): Remove.
75446 (libc_feupdateenv_53bit): Remove.
75447 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75448 (math_opt_barrier, math_force_eval): Remove.
75449 (libc_feholdexcept): Remove.
75450 (libc_feholdexcept_setround): Remove.
75451 (libc_fetestexcept, libc_fesetenv): Remove.
75452 (libc_feupdateenv_test): Remove.
75453 (libc_feupdateenv, libc_feholdsetround): Remove.
75454 (libc_feresetround): Remove.
75455
75456 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75457 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75458
75459 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75460 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75461 (libc_feupdateenv_testl): New.
75462 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75463 (libc_feupdateenv_testf): New.
75464 (libc_feupdateenv): Use libc_feupdateenv_test.
75465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75466 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75467
75468 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75469 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75470 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75471 (libc_feresetround_noex): New.
75472 (libc_feresetround_noexf): New.
75473 (libc_feresetround_noexl): New.
75474 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75475 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75476 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75477 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75478 SET_RESTORE_ROUND.
75479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75480 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75481 (__cos): Likewise.
75482 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75483 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75484 SET_RESTORE_ROUND_NOEX.
75485 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75486 SET_RESTORE_ROUND_NOEXF.
75487 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75488 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75489 (libc_feholdsetroundf): New.
75490 (libc_feresetround, libc_feresetroundf): New.
75491
75492 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75493 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75494 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75495
75496 * sysdeps/generic/math_private.h: Include <fenv.h>.
75497 (default_libc_feholdexcept): New.
75498 (default_libc_feholdexcept_setround): New.
75499 (default_libc_fesetenv, default_libc_feupdateenv): New.
75500 (libc_feholdexcept): Only define if undefined.
75501 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75502 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75503 (libc_feholdexcept_setroundl): Likewise.
75504 (libc_feholdexcept_setround_53bit): Likewise.
75505 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75506 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75507 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75508 (libc_feupdateenv_53bit): Likewise.
75509 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75510 (libc_feholdexcept): Convert from macro to inline function.
75511 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75512 (libc_fesetenv, libc_feupdateenv): Likewise.
75513
75514 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75515 not previously defined.
75516 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75517 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75518 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75519 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75520 * sysdeps/ieee754/flt-32/math_private.h: New file.
75521 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75522 math_private.h below SET_FLOAT_WORD.
75523 (__isnan, __isinf_ns, __finite): Remove.
75524 (__isnanf, __isinf_nsf, __finitef): Remove.
75525
75526 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75527
75528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75529
75530 2012-03-17 David S. Miller <davem@davemloft.net>
75531
75532 [BZ #6471]
75533 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75534 for 2.16.
75535
75536 2012-03-16 David S. Miller <davem@davemloft.net>
75537
75538 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75539 warnings.
75540
75541 [BZ #6471]
75542 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75543 properly.
75544 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75545 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75546 sysdep_routines when subdir is sysvipc.
75547 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75548 __getshmlba helper.
75549
75550 * sysdeps/sparc/fpu/libm-test/ulps: Update.
75551
75552 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75553
75554 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75555 [__LP64__].
75556
75557 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75558
75559 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75560 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75561 (__lround): Renamed to ...
75562 (__llround): This. Replace long int with long long int.
75563 Define lround functions as aliases of llround functions.
75564 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75565
75566 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75567
75568 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75569 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
75570 adresses to uintptr_t. Replace "long int" and "unsigned long
75571 int" with "greg_t" on va_arg.
75572
75573 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75574
75575 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75576 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75577
75578 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75579 Move e_machine check before EI_CLASS check. Handle x32
75580 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75581 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75582 SKIP_EM_IA_64 and include
75583 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75584
75585 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75586 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75587 (add_system_dir): New macro.
75588
75589 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75590 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75591
75592 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75593
75594 [BZ #2551]
75595 [BZ #2552]
75596 [BZ #2553]
75597 [BZ #2554]
75598 [BZ #2562]
75599 [BZ #2563]
75600 [BZ #2565]
75601 [BZ #2566]
75602 [BZ #2576]
75603 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75604 (y0): Likewise.
75605 * math/w_j0f.c (j0f): Likewise.
75606 (y0f): Likewise.
75607 * math/w_j0l.c (__j0l): Likewise.
75608 (__y0l): Likewise.
75609 * math/w_j1.c (j1): Likewise.
75610 (y1): Likewise.
75611 * math/w_j1f.c (j1f): Likewise.
75612 (y1f): Likewise.
75613 * math/w_j1l.c (__j1l): Likewise.
75614 (__y1l): Likewise.
75615 * math/w_jn.c (jn): Likewise.
75616 (yn): Likewise.
75617 * math/w_jnf.c (jnf): Likewise.
75618 (ynf): Likewise.
75619 * math/w_jnl.c (__jnl): Likewise.
75620 (__ynl): Likewise.
75621 * math/libm-test.inc (j0_test): Add more tests.
75622 (j1_test): Likewise.
75623 (jn_test): Likewise. Add trailing semicolon to existing test.
75624 (y0_test): Likewise.
75625 (y1_test): Likewise.
75626 * sysdeps/i386/fpu/libm-test-ulps: Update.
75627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75628
75629 [BZ #13851]
75630 [BZ #13854]
75631 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75632 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75633 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75634 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75635 (__tanl): Set errno for infinite argument.
75636 * sysdeps/i386/fpu/mptan.c: Remove.
75637 * sysdeps/i386/fpu/s_tan.S: Likewise.
75638 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75639 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75640 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75641 * math/libm-test.inc (tan_test): Add more tests and enable more
75642 tests for double and long double.
75643 * sysdeps/i386/fpu/libm-test-ulps: Update.
75644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75645
75646 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75647
75648 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75649 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75650
75651 2012-03-16 Roland McGrath <roland@hack.frob.com>
75652
75653 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75654 * configure.in: Use it for both main tree and add-ons.
75655 * configure: Regenerated.
75656
75657 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75658
75659 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75660
75661 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75662
75663 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75664 in comment.
75665
75666 [BZ #13851]
75667 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75668 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75669 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75670 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75671 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75672 infinite argument.
75673 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75675 != 0 for prec == 2.
75676 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75677 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75678 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75679 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75680 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75681 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75682 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75683 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75684 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75685 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75686 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75687 * math/libm-test.inc (cos_test): Add more tests and enable more
75688 tests for long double.
75689 (sin_test): Likewise.
75690 (sincos_test): Likewise.
75691 * sysdeps/i386/fpu/libm-test-ulps: Update.
75692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75693
75694 2012-03-16 David S. Miller <davem@davemloft.net>
75695
75696 * sysdeps/sparc/fpu/math_private.h: New file.
75697
75698 2012-03-15 David S. Miller <davem@davemloft.net>
75699
75700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75701 file.
75702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75704 file.
75705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75711 sysdep routines.
75712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75713
75714 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75715 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75716
75717 * sysdeps/sparc/sparc-ifunc.h: New file.
75718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75719 sparc-ifunc.h
75720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75722 Likewise.
75723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75724 Likewise.
75725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75729 Likewise.
75730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75735 Likewise.
75736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75737 Likewise.
75738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75762
75763 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75764
75765 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75766 scaling.
75767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75768
75769 2012-03-15 Andreas Jaeger <aj@suse.de>
75770
75771 [BZ #13852]
75772 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75773 ieee754/flt-32 implementation for sin, cos and sincos.
75774 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75775 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75776 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75777 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75778 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75779 ieee754/flt-32 implementation for tan.
75780
75781 * math/libm-test.inc (cos_test): Enable some large input tests for
75782 float as well
75783 (sin_test): Likewise.
75784 (sincos_test): Likewise.
75785 (tan_test): Add tests for large input.
75786
75787 * sysdeps/i386/fpu/libm-test-ulps: Update.
75788
75789 2012-03-15 Andreas Jaeger <aj@suse.de>
75790
75791 [BZ #13658]
75792 * math/libm-test.inc (cos_test): Add more test cases.
75793 (sin_test): Likewise.
75794 (sincos_test): Likewise.
75795
75796 2012-03-15 Andreas Jaeger <aj@suse.de>
75797
75798 [BZ #13837]
75799 * math/libm-test.inc (cos_test): Add a test case for large input
75800 value.
75801 (sin_test): Likewise.
75802 (sincos_test): Likewise.
75803
75804 2012-03-15 Andreas Jaeger <aj@suse.de>
75805 Joseph Myers <joseph@codesourcery.com>
75806
75807 [BZ #13658]
75808 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75809 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75810 * sysdeps/i386/fpu/branred.c: Likewise.
75811 * sysdeps/i386/fpu/dosincos.c: Likewise.
75812 * sysdeps/i386/fpu/mpa.c: Likewise.
75813 * sysdeps/i386/fpu/s_cos.S: Likewise.
75814 * sysdeps/i386/fpu/s_sin.S: Likewise.
75815 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75816 * sysdeps/i386/fpu/sincos32.c: Likewise.
75817
75818 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75819 Define.
75820 (libc_feupdateenv_53bit): Define.
75821 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75822 Define.
75823 (libc_feupdateenv_53bit): Define.
75824
75825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75826 53 bit (without extend i386 double precision).
75827
75828 * math/libm-test.inc (sincos_test): Add tests for large input.
75829 (sin): Likewise.
75830 (cos): Likewise.
75831
75832 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75833
75834 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75835
75836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75837
75838 2012-03-15 David S. Miller <davem@davemloft.net>
75839
75840 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75841 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75842 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75843 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75856 file.
75857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75859 file.
75860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75862 file.
75863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75865 file.
75866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75868 fmin/fmax sysdep routines.
75869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75870
75871 2012-03-14 David S. Miller <davem@davemloft.net>
75872
75873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75879 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75894 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75895 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75902 routines.
75903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75904 file.
75905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75907 file.
75908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75910 file.
75911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75913 file.
75914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75916 file.
75917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75919 file.
75920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75921 file.
75922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75923 file.
75924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75925 file.
75926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75927 New file.
75928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75929 file.
75930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75931 file.
75932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75934 file.
75935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75937 file.
75938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75940 file.
75941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75943 VIS3 routines.
75944
75945 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75946 New file.
75947
75948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75949
75950 * sysdeps/sparc/configure.in: New file.
75951 * sysdeps/sparc/configure: Generate.
75952 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75953 * configure: Regenerate.
75954 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75955 * config.make.in (have-as-vis3): New.
75956 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75957 available use -Av9d instead of -Av9a.
75958 * sysdeps/sparc/sparc64/Makefile: Likewise.
75959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75961 New file.
75962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75963 file.
75964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75965 New file.
75966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75967 file.
75968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75971 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75973
75974 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75975 fzeros/fnegs to load 0x80000000 into a float register instead of
75976 using the stack.
75977 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75978
75979 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75980
75981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75982 bits/syscall.h.
75983 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75984 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75985 ($(inst_includedir)/bits/syscall.h): Remove rule.
75986 ($(objpfx)bits/syscall.d): Include instead of
75987 $(objpfx)syscall-list.d.
75988 (generated): Change syscall-list.h and syscall-list.d to
75989 bits/syscall.h and bits/syscall.d.
75990
75991 2012-03-14 Roland McGrath <roland@hack.frob.com>
75992
75993 [BZ #13846]
75994 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75995
75996 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75997
75998 [BZ #13841]
75999 * math/s_csqrt.c: Include <float.h>.
76000 (__csqrt): Scale large or subnormal inputs.
76001 * math/s_csqrtf.c: Likewise.
76002 * math/s_csqrtl.c: Likewise.
76003 * math/libm-test.inc (csqrt_test): Add more tests.
76004 * sysdeps/i386/fpu/libm-test-ulps: Update.
76005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76006
76007 [BZ #13840]
76008 * math/libm-test.inc (hypot_test): Add more tests.
76009
76010 2012-03-13 David S. Miller <davem@davemloft.net>
76011
76012 [BZ #13840]
76013 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76014 double-precision for the calculation instead of scaling.
76015
76016 2012-03-13 Joseph Myers <joseph@codesourcery.com>
76017
76018 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76019 manipulate bits before adding and subtracting TWO52[sx].
76020 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76022 Likewise.
76023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76024
76025 2012-03-13 David S. Miller <davem@davemloft.net>
76026
76027 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76028 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76030 rtld-global-offsets.h
76031 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76032
76033 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76034 large parameters.
76035
76036 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76037
76038 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76039 'err' in the ifdef scope in which it is actually used.
76040
76041 * nss/nss_db/db-init.c: Include string.h
76042
76043 2012-03-12 David S. Miller <davem@davemloft.net>
76044
76045 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76046 masking out of the most significant byte of random value used.
76047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76048 Fix coding style in previous change.
76049
76050 * sysdeps/unix/sysv/linux/kernel-features.h
76051 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76052 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76053 expression.
76054 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76055 later.
76056
76057 2012-03-11 David S. Miller <davem@davemloft.net>
76058
76059 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76060 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76062 for 'resultvar' otherwise things get truncated on 64-bit.
76063
76064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76065 Fix masking out of the most significant byte of random value used.
76066
76067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76068
76069 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76070
76071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76072
76073 2012-03-09 David S. Miller <davem@davemloft.net>
76074
76075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76076 variables with appropriate CPP guards.
76077 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76078 from the frame pointer, not the stack pointer. Correct layout
76079 comments. Fix test on resulting framesize and the management of
76080 the outregs buffer for pltexit. Preserve floating point return
76081 values across _dl_call_pltexit call.
76082 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76083 framesize and the management of the outregs buffer for pltexit.
76084 Preserve floating point return values across _dl_call_pltexit
76085 call.
76086 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76087 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76088 (la_sparc64_gnu_pltexit): New functions.
76089 (print_exit): Fix format string for return register value.
76090
76091 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76092
76093 * sunrpc/Makefile (others): Add rpcgen.
76094 ($(objpfx)rpcgen): Remove special build rule and dependency on
76095 libc.
76096 * sunrpc/rpcgen.c: New file.
76097
76098 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76099
76100 [BZ #13673]
76101 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76102 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76103 * sysdeps/i386/crti.S: Likewise.
76104 * sysdeps/i386/crtn.S: Likewise.
76105 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76106 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76107 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76108 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76109 * sysdeps/sh/crti.S: Likewise.
76110 * sysdeps/sh/crtn.S: Likewise.
76111 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76112
76113 [BZ #13673]
76114 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76115 with URL.
76116 * locale/programs/locfile-kw.gperf: Likewise.
76117 * locale/programs/charmap-kw.h: Regenerated.
76118 * locale/programs/locfile-kw.h: Likewise.
76119
76120 [BZ #13673]
76121 * intl/plural.y: Replace FSF snail mail address with URL.
76122 * intl/plural.c: Regenerated.
76123
76124 2012-03-09 Richard Henderson <rth@twiddle.net>
76125
76126 * include/math_private.h: Remove file.
76127 * math/math_private.h: Move file ...
76128 * sysdeps/generic/math_private.h: ... here.
76129
76130 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76131 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76132 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76133
76134 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76135 and <math_private.h>.
76136 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76137 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76138 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76139 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76140 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76141 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76142 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76144 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76145 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76147 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76148 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76150 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76151 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76152 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76153 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76154 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76155 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76157 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76158 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76160 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76162 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76166 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76168 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76169 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76170 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76171 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76173 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76174 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76175 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76176 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76179 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76180 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76181 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76182 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76183 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76184 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76185 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76186 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76187 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76188 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76190 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76191 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76192 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76193 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76194 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76195 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76196 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76197 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76199 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76200 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76201 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76202 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76203 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76204 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76205 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76206 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76207 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76208 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76209 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76210 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76214 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76215 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76217 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76218 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76221 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76223 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76224 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76225 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76226 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76227 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76229 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76230 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76231 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76232 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76233 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76234 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76235 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76236 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76237 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76238 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76239 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76240 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76241 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76242 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76243 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76244 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76245 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76246 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76247 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76248 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76249 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76250 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76252 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76253 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76254 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76255 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76256 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76257 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76258 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76259 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76260 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76261 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76262 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76263 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76264 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76265 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76266 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76267 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76268 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76269 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76270 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76271 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76272 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76273 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76274 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76275 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76276 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76277 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76278 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76279 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76280 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76281 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76282 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76283 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76284 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76285 * sysdeps/ieee754/k_standard.c: Likewise.
76286 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76287 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76288 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76289 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76290 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76291 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76292 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76293 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76294 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76298 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76299 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76300 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76301 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76302 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76303 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76304 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76305 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76306 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76307 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76309 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76310 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76311 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76312 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76313 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76314 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76315 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76316 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76318 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76319 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76320 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76321 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76322 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76323 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76324 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76325 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76326 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76327 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76328 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76329 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76330 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76331 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76332 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76334 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76336 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76337 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76338 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76339 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76340 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76341 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76342 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76343 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76347 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76348 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76349 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76350 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76351 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76352 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76353 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76354 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76355 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76356 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76358 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76359 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76360 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76363 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76364 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76368 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76369 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76370 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76371 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76372 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76373 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76374 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76375 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76376 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76377 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76378 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76379 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76380 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76381 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76382 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76383 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76384 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76385 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76387 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76389 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76390 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76391 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76392 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76393 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76394 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76395 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76396 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76397 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76398 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76399 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76400 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76401 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76402 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76403 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76404 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76405 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76406 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76407 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76408 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76409 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76410 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76411 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76412 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76413 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76414 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76415 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76416 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76417 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76418 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76419 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76420 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76421 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76422 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76423 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76424 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76425 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76426 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76427 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76428 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76429 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76430 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76431 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76432 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76433 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76434 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76435 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76436 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76437 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76438 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76439 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76440 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76441 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76442 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76443 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76445 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76446 * sysdeps/ieee754/s_lib_version.c: Likewise.
76447 * sysdeps/ieee754/s_matherr.c: Likewise.
76448 * sysdeps/ieee754/s_signgam.c: Likewise.
76449 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76451 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76452 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76453 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76454 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76455 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76456 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76457 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76458 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76459 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76460 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76461 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76463 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76464 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76465 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76466 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76467 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76470
76471 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76472
76473 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76474 * sunrpc/rpc_main.c: Likewise.
76475 * sunrpc/rpc_svcout.c: Likewise.
76476
76477 2012-03-09 David S. Miller <davem@davemloft.net>
76478
76479 * include/math_private.h: New file.
76480
76481 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76482
76483 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76484 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76485 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76486 from <bits/socket_type.h>.
76487 (enum __socket_type): Don't define here.
76488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76490 bits/socket_type.h.
76491
76492 [BZ #13566]
76493 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76494 checking __USE_GNU.
76495
76496 * Makerules ($(inst_includedir)/%.h): New rule.
76497 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76498 (install-others): Remove variable setting.
76499 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76500
76501 2012-03-08 Richard Henderson <rth@twiddle.net>
76502
76503 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76504 from macro to inline function; merge with the
76505 !__LIBC_INTERNAL_MATH_INLINES version.
76506 (__ieee754_sqrtf): Likewise.
76507
76508 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76509 to inline function.
76510 (__rintf, __floor, __floorf): Likewise.
76511
76512 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76513 macro to inline function.
76514 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76515
76516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76517 not <math/math_private.h>.
76518
76519 2012-03-08 David S. Miller <davem@davemloft.net>
76520
76521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76522 copyright year.
76523 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76524
76525 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76526
76527 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76528 normalization.
76529 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76530 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76531
76532 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76533
76534 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76535 be defined individually, they must be defined as a block. Define
76536 S for printing a string instead of hidint the different by using a
76537 macro for adding the 'l'.
76538 * stdio-common/tst-fphex-wide.c: Adjust.
76539
76540 2012-03-07 Marek Polacek <polacek@redhat.com>
76541
76542 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76543
76544 2012-03-08 Marek Polacek <polacek@redhat.com>
76545
76546 [BZ #13806]
76547 * stdio-common/Makefile (tests): Add tst-fphex-wide.
76548 * stdio-common/tst-fphex.c: Define a few macros to make the
76549 test reusable. Use them.
76550 * stdio-common/tst-fphex-wide.c: New file.
76551
76552 2012-03-08 Joseph Myers <joseph@codesourcery.com>
76553
76554 [BZ #6911]
76555 * manual/macros.texi (gnusystems): New macro.
76556 (nongnusystems): Likewise.
76557 (gnulinuxhurdsystems): Likewise.
76558 (gnuhurdsystems): Likewise..
76559 (gnulinuxsystems): Likewise.
76560 * manual/charset.texi: Use new macros or @theglibc{} to refer to
76561 variants of the GNU system, not "GNU system".
76562 * manual/conf.texi: Likewise.
76563 * manual/errno.texi: Likewise. Update example of errno macro
76564 expansion.
76565 * manual/filesys.texi: Likewise.
76566 (getumask): Document as specific to GNU/Hurd.
76567 * manual/install.texi: Likewise. Reword some references to
76568 GNU/Linux.
76569 * manual/intro.texi: Likewise.
76570 * manual/io.texi: Likewise.
76571 (File Name Portability): Detail which constraints are inapplicable
76572 to all GNU systems and which are only inapplicable to GNU/Hurd.
76573 * manual/job.texi: Likewise.
76574 * manual/llio.texi: Likewise.
76575 (O_NOCTTY): Document as present on GNU/Linux.
76576 * manual/maint.texi: Likewise.
76577 * manual/memory.texi: Likewise.
76578 * manual/pattern.texi: Likewise.
76579 * manual/pipe.texi: Likewise.
76580 * manual/process.texi: Likewise.
76581 * manual/resource.texi: Likewise.
76582 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76583 child on GNU/Hurd.
76584 * manual/setjmp.texi: Likewise.
76585 * manual/signal.texi: Likewise.
76586 * manual/startup.texi: Likewise.
76587 * manual/stdio.texi: Likewise.
76588 * manual/terminal.texi: Likewise.
76589 (ONLCR): Document as POSIX.
76590 (OXTABS): Document availability on GNU/Linux as XTABS.
76591 (ONOEOT): Document availability separately from other bits.
76592 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76593 * manual/time.texi: Likewise.
76594 * manual/users.texi: Likewise.
76595 * INSTALL: Regenerated.
76596 * sysdeps/gnu/errlist.c: Regenerated.
76597
76598 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76599 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76600 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76601 puts.
76602 * configure: Regenerated.
76603
76604 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76605
76606 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76607 default includes instead of AC_HEADER_CHECK.
76608 * sysdeps/i386/configure: Regenerated.
76609
76610 [BZ #10716]
76611 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76612 * math/s_cacoshf.c (__cacoshf): Likewise.
76613 * math/s_cacoshl.c (__cacoshl): Likewise.
76614 * math/s_casinh.c (__casinh): Set signs of result from argument.
76615 * math/s_casinhf.c (__casinhf): Likewise.
76616 * math/s_casinhl.c (__casinhl): Likewise.
76617 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76618 (casinh_test): Add more tests.
76619 * sysdeps/i386/fpu/libm-test-ulps: Update.
76620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76621
76622 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76623
76624 * po/zh_TW.po: Update from translation team.
76625
76626 * login/Makefile (distribute): Remove variable.
76627 * catgets/Makefile: Likewise.
76628 * mach/Makefile: Likewise.
76629 * malloc/Makefile: Likewise.
76630 * misc/Makefile: Likewise.
76631 * iconv/Makefile: Likewise.
76632 * nscd/Makefile: Likewise.
76633 * hurd/Makefile: Likewise.
76634 * manual/Makefile: Likewise.
76635 * locale/Makefile: Likewise.
76636 * intl/Makefile: Likewise.
76637 * conform/Makefile: Likewise.
76638 * nss/Makefile: Likewise.
76639 * time/Makefile: Likewise.
76640 * soft-fp/Makefile: Likewise.
76641 * dirent/Makefile: Likewise.
76642 * gmon/Makefile: Likewise.
76643 * po/Makefile: Likewise.
76644 * rt/Makefile: Likewise.
76645 * socket/Makefile: Likewise.
76646 * math/Makefile: Likewise.
76647 * signal/Makefile: Likewise.
76648 * debug/Makefile: Likewise.
76649 * elf/Makefile: Likewise.
76650 * timezone/Makefile: Likewise.
76651 * stdlib/Makefile: Likewise.
76652 * iconvdata/Makefile: Likewise.
76653 * sunrpc/Makefile: Likewise.
76654 * io/Makefile: Likewise.
76655 * argp/Makefile: Likewise.
76656 * inet/Makefile: Likewise.
76657 * hesiod/Makefile: Likewise.
76658 * grp/Makefile: Likewise.
76659 * csu/Makefile: Likewise.
76660 * wctype/Makefile: Likewise.
76661 * crypt/Makefile: Likewise.
76662 * libio/Makefile: Likewise.
76663 * string/Makefile: Likewise.
76664 * nis/Makefile: Likewise.
76665 * resolv/Makefile: Likewise.
76666 * stdio-common/Makefile: Likewise.
76667 * wcsmbs/Makefile: Likewise.
76668 * dlfcn/Makefile: Likewise.
76669 * posix/Makefile: Likewise.
76670
76671 [BZ #6959]
76672 * timezone/Makefile: Don't install timezone files, just the programs
76673 and scripts.
76674
76675 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76676
76677 * nss/databases.def: Add missing gshadow entry.
76678
76679 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76680
76681 2012-03-06 Marek Polacek <polacek@redhat.com>
76682
76683 [BZ #13726]
76684 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76685 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76686 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76687 * stdio-common/tst-long-dbl-fphex.c: New file.
76688
76689 2012-03-06 David S. Miller <davem@davemloft.net>
76690
76691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76692 (set_obp_int): New function.
76693 (get_obp_int): New function.
76694 (__get_clockfreq_via_dev_openprom): Likewise.
76695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76696 Avoid unused variable warnings on 'val' and use builtin_expect.
76697 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76698 __builtin_expect.
76699 (INLINE_CLONE_SYSCALL): Likewise.
76700
76701 2012-03-05 David S. Miller <davem@davemloft.net>
76702
76703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76704
76705 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76706
76707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76708
76709 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76710 only for |x| >= 40.
76711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76712
76713 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76714
76715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76716 Replace gettimeofday with __vdso_gettimeofday.
76717
76718 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76719 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76720 __vdso_clock_gettime and __vdso_getcpu.
76721
76722 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76723 time with __vdso_time.
76724
76725 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76726
76727 * manual/lang.texi (size_t): Note types to which size_t may be
76728 equivalent with the GNU C Library, but do not describe when
76729 differences between them are significant.
76730
76731 2012-03-05 Andreas Jaeger <aj@suse.de>
76732
76733 * sysdeps/i386/fpu/libm-test-ulps: Update.
76734
76735 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76736
76737 [BZ #3976]
76738 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76739 (__ieee754_pow): Save and restore rounding mode and use
76740 round-to-nearest for main computations.
76741 * math/libm-test.inc (pow_test_tonearest): New function.
76742 (pow_test_towardzero): Likewise.
76743 (pow_test_downward): Likewise.
76744 (pow_test_upward): Likewise.
76745 (main): Call the new functions.
76746 * sysdeps/i386/fpu/libm-test-ulps: Update.
76747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76748
76749 [BZ #3976]
76750 * math/libm-test.inc (cosh_test_tonearest): New function.
76751 (cosh_test_towardzero): Likewise.
76752 (cosh_test_downward): Likewise.
76753 (cosh_test_upward): Likewise.
76754 (sinh_test_tonearest): Likewise.
76755 (sinh_test_towardzero): Likewise.
76756 (sinh_test_downward): Likewise.
76757 (sinh_test_upward): Likewise.
76758 (main): Call the new functions.
76759 * sysdeps/i386/fpu/libm-test-ulps: Update.
76760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76761
76762 2012-03-05 Tom de Vries <tom@codesourcery.com>
76763
76764 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76765 default stack guard is set in last bytes.
76766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76767
76768 2012-03-05 Kees Cook <keescook@chromium.org>
76769
76770 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76771
76772 [BZ #13656]
76773 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76774 possibly allocate from heap instead of stack.
76775 * stdio-common/bug-vfprintf-nargs.c: New file.
76776 * stdio-common/Makefile (tests): Add nargs overflow test.
76777
76778 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76779
76780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76781
76782 2012-03-03 Marek Polacek <polacek@redhat.com>
76783
76784 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76785 * math/math_private.h: Likewise.
76786 * stdlib/tst-strtod.c: Likewise.
76787 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76788 * sysdeps/x86_64/bits/atomic.h: Likewise.
76789
76790 2012-03-02 David S. Miller <davem@davemloft.net>
76791
76792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76796 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76797 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76798 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76799 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76800
76801 2012-03-02 Roland McGrath <roland@hack.frob.com>
76802
76803 [BZ #13792]
76804 * manual/examples/README: New file, says the example source files
76805 can be used under GPL>=2.
76806 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76807 line containing just "*/".
76808 * manual/examples/add.c: Add copyright header (GPL>=2).
76809 * manual/examples/argp-ex1.c: Likewise.
76810 * manual/examples/argp-ex2.c: Likewise.
76811 * manual/examples/argp-ex3.c: Likewise.
76812 * manual/examples/argp-ex4.c: Likewise.
76813 * manual/examples/atexit.c: Likewise.
76814 * manual/examples/db.c: Likewise.
76815 * manual/examples/dir.c: Likewise.
76816 * manual/examples/dir2.c: Likewise.
76817 * manual/examples/execinfo.c: Likewise.
76818 * manual/examples/filecli.c: Likewise.
76819 * manual/examples/filesrv.c: Likewise.
76820 * manual/examples/fmtmsgexpl.c: Likewise.
76821 * manual/examples/genpass.c: Likewise.
76822 * manual/examples/inetcli.c: Likewise.
76823 * manual/examples/inetsrv.c: Likewise.
76824 * manual/examples/isockad.c: Likewise.
76825 * manual/examples/longopt.c: Likewise.
76826 * manual/examples/memopen.c: Likewise.
76827 * manual/examples/memstrm.c: Likewise.
76828 * manual/examples/mkfsock.c: Likewise.
76829 * manual/examples/mkisock.c: Likewise.
76830 * manual/examples/mygetpass.c: Likewise.
76831 * manual/examples/pipe.c: Likewise.
76832 * manual/examples/popen.c: Likewise.
76833 * manual/examples/rprintf.c: Likewise.
76834 * manual/examples/search.c: Likewise.
76835 * manual/examples/select.c: Likewise.
76836 * manual/examples/setjmp.c: Likewise.
76837 * manual/examples/sigh1.c: Likewise.
76838 * manual/examples/sigusr.c: Likewise.
76839 * manual/examples/stpcpy.c: Likewise.
76840 * manual/examples/strdupa.c: Likewise.
76841 * manual/examples/strftim.c: Likewise.
76842 * manual/examples/strncat.c: Likewise.
76843 * manual/examples/subopt.c: Likewise.
76844 * manual/examples/swapcontext.c: Likewise.
76845 * manual/examples/termios.c: Likewise.
76846 * manual/examples/testopt.c: Likewise.
76847 * manual/examples/testpass.c: Likewise.
76848 * manual/examples/timeval_subtract.c: Likewise.
76849
76850 [BZ #13792]
76851 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76852 function to ...
76853 * manual/timeval_subtract.c.texi: ... here, new file.
76854
76855 2012-03-02 David S. Miller <davem@davemloft.net>
76856
76857 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76858
76859 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76860
76861 [BZ #3976]
76862 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76863 (__sin): Save and restore rounding mode and use round-to-nearest
76864 for all computations.
76865 (__cos): Save and restore rounding mode and use round-to-nearest
76866 for all computations.
76867 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76868 <fenv.h>.
76869 (tan): Save and restore rounding mode and use round-to-nearest for
76870 all computations.
76871 * math/libm-test.inc (cos_test_tonearest): New function.
76872 (cos_test_towardzero): Likewise.
76873 (cos_test_downward): Likewise.
76874 (cos_test_upward): Likewise.
76875 (sin_test_tonearest): Likewise.
76876 (sin_test_towardzero): Likewise.
76877 (sin_test_downward): Likewise.
76878 (sin_test_upward): Likewise.
76879 (tan_test_tonearest): Likewise.
76880 (tan_test_towardzero): Likewise.
76881 (tan_test_downward): Likewise.
76882 (tan_test_upward): Likewise.
76883 (main): Call the new functions.
76884 * sysdeps/i386/fpu/libm-test-ulps: Update.
76885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76886
76887 [BZ #10135]
76888 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76889 small n, then large n, before computing and testing k+n.
76890 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76892 Likewise.
76893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76894 Likewise.
76895 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76896 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76897 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76898 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76901 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76903 * math/libm-test.inc (scalbn_test): Add more tests.
76904 (scalbln_test): Likewise.
76905
76906 * manual/filesys.texi (mode_t): Describe constraints on size and
76907 signedness, not exact equivalence to a particular type.
76908 (ino_t): Likewise.
76909 (ino64_t): Likewise.
76910 (dev_t): Likewise.
76911 (nlink_t): Likewise.
76912 (blkcnt_t): Likewise.
76913 (blkcnt64_t): Likewise.
76914 * manual/llio.texi (off_t): Likewise.
76915
76916 [BZ #3976]
76917 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76918 (__ieee754_exp): Save and restore rounding mode and use
76919 round-to-nearest for all computations.
76920 * math/libm-test.inc (exp_test_tonearest): New function.
76921 (exp_test_towardzero): Likewise.
76922 (exp_test_downward): Likewise.
76923 (exp_test_upward): Likewise.
76924 (main): Call the new functions.
76925 * sysdeps/i386/fpu/libm-test-ulps: Update.
76926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76927
76928 2012-03-01 Chris Demetriou <cgd@google.com>
76929
76930 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76931 have predictable order.
76932
76933 2012-03-01 David S. Miller <davem@davemloft.net>
76934
76935 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76936
76937 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76938 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76939 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76940 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76941
76942 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76943 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76944 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76946 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76947 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76948 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76949 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76950 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76951
76952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76953
76954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76955 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76956 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76957
76958 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76959 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76960 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76961 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76962 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76963 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76964 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76965 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76966 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76967 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76968 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76969 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76971 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76972 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76974 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76975 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76976 * sysdeps/sparc/elf/configure: Regenerated.
76977
76978 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76979
76980 * configure.in (AS, LD): Require binutils 2.20 or later.
76981 * configure: Regenerated.
76982 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76983 as required minimum version.
76984 * INSTALL: Regenerated.
76985
76986 [BZ #2541]
76987 [BZ #4108]
76988 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76989 before squaring exponent.
76990 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76991 bottom long double and 27 bits of top long double before squaring
76992 exponent.
76993 * math/libm-test.inc (erfc_test): Add more tests.
76994 * sysdeps/i386/fpu/libm-test-ulps: Update.
76995 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76997
76998 2012-03-01 Kai Tietz <ktietz@redhat.com>
76999
77000 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77001 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77002 containing bit-fields.
77003 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77004 * soft-fp/single.h (_FP_UNION_S): Likewise.
77005 * soft-fp/double.h (_FP_UNION_D): Likewise.
77006
77007 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77008
77009 [BZ #13786]
77010 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77011 not include ../strcmp.S.
77012 [USE_AS_STRNCASECMP_L]: Likewise.
77013 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77014 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77015 * sysdeps/i386/i686/multiarch/strncase_l-c.c
77016 (__strncasecmp_l_ia32): Define as alias to
77017 __strncasecmp_l_nonascii.
77018
77019 [BZ #5794]
77020 * math/libm-test.inc (expm1_test): Add test for bug 5794.
77021 * sysdeps/i386/fpu/libm-test-ulps: Update.
77022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77023
77024 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77026
77027 2012-02-29 Jeff Law <law@redhat.com>
77028
77029 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77030 out of bounds read.
77031
77032 2012-02-29 Marek Polacek <polacek@redhat.com>
77033
77034 [BZ #13706]
77035 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77036 * elf/Makefile: Add rules to run tst-unused-dep.out.
77037
77038 2012-02-28 David S. Miller <davem@davemloft.net>
77039
77040 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77041 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77042 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77044 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77045 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77046
77047 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77048
77049 * math/libm-test.inc (llround_test): Move one test from
77050 lround_test. Use TEST_f_L in moved test.
77051 (lround_test): Move misplaced test to llround_test. Add testcase
77052 from bug 2561.
77053
77054 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77055
77056 * sysdeps/x86_64/fpu/e_expf.S: New file.
77057 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77058
77059 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77060
77061 [BZ #13637]
77062 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77063 of remain_len that may cause incomplete multi-byte character and
77064 false match.
77065 * posix/bug-regex33.c: New file.
77066 * posix/Makefile (tests): Add bug-regex33.
77067
77068 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77069
77070 * manual/macros.texi: New file.
77071 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77072 * manual/libc.texinfo: Include macros.texi.
77073 * manual/creatute.texi: Likewise.
77074 * manual/install.texi: Likewise.
77075 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77076 @glibcadj{} in references to the GNU C Library.
77077 * manual/charset.texi: Likewise.
77078 * manual/conf.texi: Likewise.
77079 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77080 when not using those macros.
77081 * manual/creature.texi: Likewise.
77082 * manual/crypt.texi: Likewise.
77083 * manual/errno.texi: Likewise.
77084 * manual/filesys.texi: Likewise.
77085 * manual/header.texi: Likewise.
77086 * manual/install.texi: Likewise.
77087 * manual/intro.texi: Likewise.
77088 * manual/io.texi: Likewise.
77089 * manual/job.texi: Likewise.
77090 * manual/lang.texi: Likewise.
77091 * manual/libc.texiinfo: Likewise.
77092 * manual/llio.texi: Likewise.
77093 * manual/locale.texi: Likewise.
77094 * manual/maint.texi: Likewise.
77095 * manual/math.texi: Likewise.
77096 * manual/memory.texi: Likewise.
77097 * manual/message.texi: Likewise.
77098 * manual/nss.texi: Likewise.
77099 * manual/pattern.texi: Likewise.
77100 * manual/process.texi: Likewise.
77101 * manual/resource.texi: Likewise.
77102 * manual/search.texi: Likewise.
77103 * manual/setjmp.texi: Likewise.
77104 * manual/signal.texi: Likewise.
77105 * manual/socket.texi: Likewise.
77106 * manual/startup.texi: Likewise.
77107 * manual/stdio.texi: Likewise.
77108 * manual/string.texi: Likewise.
77109 * manual/sysinfo.texi: Likewise.
77110 * manual/syslog.texi: Likewise.
77111 * manual/terminal.texi: Likewise.
77112 * manual/time.texi: Likewise.
77113 * manual/users.texi: Likewise.
77114 * INSTALL: Regenerated.
77115 * NOTES: Regenerated.
77116 * sysdeps/gnu/errlist.c: Regenerated.
77117
77118 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77119
77120 * include/dirent.h: Include <dirstream.h> before
77121 <dirent/dirent.h>.
77122
77123 2012-02-28 David S. Miller <davem@davemloft.net>
77124
77125 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77126 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77127 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77128 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77129
77130 2012-02-27 David S. Miller <davem@davemloft.net>
77131
77132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77134 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77135 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77136
77137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77138 frame pointer instead of stack pointer relative arg slot.
77139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77140 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77141 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77142
77143 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77144
77145 [BZ #3992]
77146 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77147
77148 2012-02-27 David S. Miller <davem@davemloft.net>
77149
77150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77156 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77158
77159 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77160
77161 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77162 later. Allow versions 5-9.
77163 * configure: Regenerated.
77164 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77165 required minimum version and 4.6 as recommended version. Do not
77166 mention bugs in GCC 2.7 and 2.8.
77167 * INSTALL: Regenerated.
77168
77169 2012-02-27 David S. Miller <davem@davemloft.net>
77170
77171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77175 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77176 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77177 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77178 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77179
77180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77181 manipulate bits before adding and subtracting TWO112[sx].
77182 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77183
77184 2012-02-27 Roland McGrath <roland@hack.frob.com>
77185
77186 [BZ #13775]
77187 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77188 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77189 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77190 being in POSIX, because they are in 1003.1-2008.
77191
77192 * rt/tst-aio.c: Include <fcntl.h>.
77193 * rt/tst-aio7.c: Likewise.
77194 * rt/tst-aio64.c: Likewise.
77195
77196 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77197
77198 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77199
77200 * manual/install.texi (--with-headers): Describe headers as
77201 interface headers, not private headers.
77202 (Specific advice for GNU/Linux systems): Describe use of headers
77203 from "make headers_install", not private headers from older
77204 kernels.
77205 * INSTALL: Regenerated.
77206 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77207 Change to 2.6.19.
77208 * sysdeps/unix/sysv/linux/configure: Regenerated.
77209
77210 * manual/llio.texi (fclean): Remove documentation.
77211
77212 * manual/Makefile (libc-texi-generated): New variable. Include
77213 version.texi.
77214 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77215 $(libc-texi-generated), not duplicated list of files.
77216 (version.texi, stamp-version): New rules.
77217 (realclean): Remove $(libc-texi-generated), not individual files
77218 from that list. Do not remove dir-add.texinfo.
77219 * manual/libc.texinfo: Comment out uses of edition numbers and
77220 references to printed manual. Remove last-updated dates.
77221 (EDITION): Comment out.
77222 (ISBN): Likewise.
77223 (VERSION, UPDATED): Remove.
77224 (version.texi): Include.
77225
77226 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77227
77228 * sysdeps/posix/spawni.c: Include <signal.h>.
77229 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77230 * sysdeps/pthread/aio_fsync.c: Likewise.
77231
77232 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77233
77234 * conform/Makefile (tests): Run only when not cross-compiling and
77235 when fast-check is not defined.
77236
77237 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77238 * conform/data/limits.h-data: Fixes for POSIX2008.
77239 * conform/run-conformtest.sh: Run all tests.
77240 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77241 headers.
77242 * include/bits/dlfcn.h: Likewise.
77243 * include/langinfo.h: Likewise.
77244 * include/monetary.h: Likewise.
77245 * include/sys/poll.h: Likewise.
77246
77247 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77248 for __USE_GNU.
77249 * posix/spawn.h: Define __need_sigset_t.
77250 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77251 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77252 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77253 to get sigevent_t only.
77254 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77255 only for __USE_GNU.
77256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77257 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77258 process_vm_writev only for __USE_GNU.
77259 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77260
77261 * conform/Makefile: For now ignore errors from run-conformtest.
77262 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77263 POSIX to avoid namespace pollution. Don't prepend headers.
77264 * conform/data/aio.h-data: Fixes for POSIX testing.
77265 * conform/data/fcntl.h-data: Likewise.
77266 * conform/data/glob.h-data: Likewise.
77267 * conform/data/grp.h-data: Likewise.
77268 * conform/data/pthread.h-data: Likewise.
77269 * conform/data/pwd.h-data: Likewise.
77270 * conform/data/signal.h-data: Likewise.
77271 * conform/data/spawn.h-data: Likewise.
77272 * conform/data/stdio.h-data: Likewise.
77273 * conform/data/stdlib.h-data: Likewise.
77274 * conform/data/stropts.h-data: Likewise.
77275 * conform/data/sys/mman.h-data: Likewise.
77276 * conform/data/sys/stat.h-data: Likewise.
77277 * conform/data/sys/types.h-data: Likewise.
77278 * conform/data/sys/wait.h-data: Likewise.
77279 * conform/data/time.h-data: Likewise.
77280 * conform/data/unistd.h-data: Likewise.
77281 * conform/data/utime.h-data: Likewise.
77282
77283 * io/sys/stat.h: fchmod was always in POSIX.
77284 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77285 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77286 * rt/aio.h: Define __need_timespec before including <time.h>.
77287 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77288 struct. Add forward declaration of pthread_attr_t and use it in
77289 sigevent.
77290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77292 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77293 always remove CLK_TCK definition.
77294
77295 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77296
77297 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77298
77299 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77300
77301 * conform/run-conformtest.sh: New file.
77302 * conform/Makefile: Run run-conformtest for tests.
77303 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77304 support.
77305
77306 * conform/data/uchar.h-data: New file.
77307 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77308 * conform/data/arpa/inet.h-data: Likewise.
77309 * conform/data/assert.h-data: Likewise.
77310 * conform/data/complex.h-data: Likewise.
77311 * conform/data/cpio.h-data: Likewise.
77312 * conform/data/ctype.h-data: Likewise.
77313 * conform/data/dirent.h-data: Likewise.
77314 * conform/data/dlfcn.h-data: Likewise.
77315 * conform/data/errno.h-data: Likewise.
77316 * conform/data/fcntl.h-data: Likewise.
77317 * conform/data/float.h-data: Likewise.
77318 * conform/data/fmtmsg.h-data: Likewise.
77319 * conform/data/fnmatch.h-data: Likewise.
77320 * conform/data/ftw.h-data: Likewise.
77321 * conform/data/glob.h-data: Likewise.
77322 * conform/data/grp.h-data: Likewise.
77323 * conform/data/iconv.h-data: Likewise.
77324 * conform/data/inttypes.h-data: Likewise.
77325 * conform/data/langinfo.h-data: Likewise.
77326 * conform/data/libgen.h-data: Likewise.
77327 * conform/data/limits.h-data: Likewise.
77328 * conform/data/locale.h-data: Likewise.
77329 * conform/data/math.h-data: Likewise.
77330 * conform/data/monetary.h-data: Likewise.
77331 * conform/data/mqueue.h-data: Likewise.
77332 * conform/data/ndbm.h-data: Likewise.
77333 * conform/data/net/if.h-data: Likewise.
77334 * conform/data/netdb.h-data: Likewise.
77335 * conform/data/netinet/in.h-data: Likewise.
77336 * conform/data/nl_types.h-data: Likewise.
77337 * conform/data/poll.h-data: Likewise.
77338 * conform/data/pthread.h-data: Likewise.
77339 * conform/data/pwd.h-data: Likewise.
77340 * conform/data/regex.h-data: Likewise.
77341 * conform/data/sched.h-data: Likewise.
77342 * conform/data/search.h-data: Likewise.
77343 * conform/data/semaphore.h-data: Likewise.
77344 * conform/data/setjmp.h-data: Likewise.
77345 * conform/data/signal.h-data: Likewise.
77346 * conform/data/spawn.h-data: Likewise.
77347 * conform/data/stdarg.h-data: Likewise.
77348 * conform/data/stdio.h-data: Likewise.
77349 * conform/data/stdlib.h-data: Likewise.
77350 * conform/data/string.h-data: Likewise.
77351 * conform/data/strings.h-data: Likewise.
77352 * conform/data/stropts.h-data: Likewise.
77353 * conform/data/sys/ipc.h-data: Likewise.
77354 * conform/data/sys/mman.h-data: Likewise.
77355 * conform/data/sys/msg.h-data: Likewise.
77356 * conform/data/sys/resource.h-data: Likewise.
77357 * conform/data/sys/select.h-data: Likewise.
77358 * conform/data/sys/sem.h-data: Likewise.
77359 * conform/data/sys/shm.h-data: Likewise.
77360 * conform/data/sys/socket.h-data: Likewise.
77361 * conform/data/sys/stat.h-data: Likewise.
77362 * conform/data/sys/statvfs.h-data: Likewise.
77363 * conform/data/sys/time.h-data: Likewise.
77364 * conform/data/sys/timeb.h-data: Likewise.
77365 * conform/data/sys/times.h-data: Likewise.
77366 * conform/data/sys/types.h-data: Likewise.
77367 * conform/data/sys/uio.h-data: Likewise.
77368 * conform/data/sys/un.h-data: Likewise.
77369 * conform/data/sys/utsname.h-data: Likewise.
77370 * conform/data/sys/wait.h-data: Likewise.
77371 * conform/data/syslog.h-data: Likewise.
77372 * conform/data/tar.h-data: Likewise.
77373 * conform/data/termios.h-data: Likewise.
77374 * conform/data/utime.h-data: Likewise.
77375 * conform/data/utmpx.h-data: Likewise.
77376 * conform/data/varargs.h-data: Likewise.
77377 * conform/data/wchar.h-data: Likewise.
77378 * conform/data/wctype.h-data: Likewise.
77379 * conform/data/wordexp.h-data: Likewise.
77380
77381 * include/stropts.h: New file.
77382 * include/uchar.h: New file.
77383 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77384 * include/assert.h: Likewise.
77385 * include/ctype.h: Likewise.
77386 * include/dirent.h: Likewise.
77387 * include/dlfcn.h: Likewise.
77388 * include/fcntl.h: Likewise.
77389 * include/fnmatch.h: Likewise.
77390 * include/glob.h: Likewise.
77391 * include/grp.h: Likewise.
77392 * include/libio.h: Likewise.
77393 * include/locale.h: Likewise.
77394 * include/math.h: Likewise.
77395 * include/net/if.h: Likewise.
77396 * include/netdb.h: Likewise.
77397 * include/netinet/in.h: Likewise.
77398 * include/pthread.h: Likewise.
77399 * include/pwd.h: Likewise.
77400 * include/regex.h: Likewise.
77401 * include/sched.h: Likewise.
77402 * include/search.h: Likewise.
77403 * include/setjmp.h: Likewise.
77404 * include/signal.h: Likewise.
77405 * include/stdio.h: Likewise.
77406 * include/stdlib.h: Likewise.
77407 * include/string.h: Likewise.
77408 * include/sys/cdefs.h: Likewise.
77409 * include/sys/mman.h: Likewise.
77410 * include/sys/msg.h: Likewise.
77411 * include/sys/resource.h: Likewise.
77412 * include/sys/select.h: Likewise.
77413 * include/sys/socket.h: Likewise.
77414 * include/sys/stat.h: Likewise.
77415 * include/sys/statvfs.h: Likewise.
77416 * include/sys/time.h: Likewise.
77417 * include/sys/times.h: Likewise.
77418 * include/sys/uio.h: Likewise.
77419 * include/sys/utsname.h: Likewise.
77420 * include/sys/wait.h: Likewise.
77421 * include/termios.h: Likewise.
77422 * include/time.h: Likewise.
77423 * include/ulimit.h: Likewise.
77424 * include/unistd.h: Likewise.
77425 * include/utime.h: Likewise.
77426 * include/wchar.h: Likewise.
77427 * include/wctype.h: Likewise.
77428 * include/wordexp.h: Likewise.
77429
77430 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77431
77432 * time/time.h: TIME_UTC must be a macro.
77433 Make timespec_get available for ISO C11 only as well.
77434
77435 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77436
77437 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77438 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77439
77440 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77441
77442 * configure.in: Use -o not -a in test for unsupported multi-arch.
77443
77444 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77445
77446 * manual/texinfo.tex: Update to version 2012-01-19.16.
77447
77448 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77449
77450 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77451
77452 2012-02-24 Roland McGrath <roland@hack.frob.com>
77453
77454 [BZ #13738]
77455 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77456 * manual/fdl-1.3.texi: New file.
77457 * manual/fdl-1.1.texi: File removed.
77458
77459 [BZ #13738]
77460 * manual/libc.texinfo (FDL_VERSION): New @set.
77461 Use it for mention of FDL in cover text.
77462 (Documentation License): Use it in @include file name.
77463
77464 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77465 Roland McGrath <roland@hack.frob.com>
77466
77467 [BZ #5461]
77468 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77469 (not LONG_LONG_MAX and LONG_LONG_MIN.
77470 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77471 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77472 name.
77473 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77474
77475 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77476
77477 [BZ #2547]
77478 [BZ #11365]
77479 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77480 manipulate bits before adding and subtracting TWO23[sx].
77481 * math/libm-test.inc (nearbyint_test): Add more tests.
77482
77483 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77484
77485 [BZ #2548]
77486 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77487 bits before adding and subtracting TWO23[sx].
77488 * math/libm-test.inc (rint_test): Add more tests.
77489 (rint_test_tonearest): Likewise.
77490 (rint_test_towardzero): Likewise.
77491 (rint_test_downward): Likewise.
77492 (rint_test_upward: Likewise.
77493
77494 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77495
77496 [BZ #10110]
77497 * include/stdc-predef.h: New file. Extracted from features.h.
77498 * include/features.h: Include stdc-predef.h.
77499 * Makefile (headers): Add stdc-predef.h.
77500 * CONFORMANCE (Compiler limitations): Update.
77501
77502 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77503
77504 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77505
77506 2012-02-21 David S. Miller <davem@davemloft.net>
77507
77508 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77509 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77510
77511 2012-02-20 David S. Miller <davem@davemloft.net>
77512
77513 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77514 using a normal save/restore sequence, rather than allocating a
77515 dummy stack frame just to store a frame pointer and restore.
77516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77517
77518 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77519
77520 * manual/install.texi: Fix stray word in line-wrapped comment.
77521
77522 2012-02-20 David S. Miller <davem@davemloft.net>
77523
77524 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77525 both binutils and gcc support GOTDATA.
77526
77527 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77528 "rd %pc" in the PIC register setup sequences.
77529
77530 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77531 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77532 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77533 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77534 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77536 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77537 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77539 (SYSCALL_ERROR_HANDLER): Likewise.
77540 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77541 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77543 (SYSCALL_ERROR_HANDLER): Likewise.
77544
77545 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77546 (HAVE_GCC_GOTDATA): New.
77547 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77548 relocation support in both binutils and gcc.
77549 * sysdeps/sparc/elf/configure: Regenerate.
77550
77551 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77552 * sysdeps/sparc/sparc32/elf/configure: Delete.
77553 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77554 * sysdeps/sparc/sparc64/elf/configure: Delete.
77555 * sysdeps/sparc/elf/configure.in: New file.
77556 * sysdeps/sparc/elf/configure: Generate.
77557
77558 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77559 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77560 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77561 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77562 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77563
77564 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77565
77566 * manual/install.texi: Do not mention specific glibc version
77567 numbers.
77568 * manual/libc.texinfo (VERSION, UPDATED): Update.
77569 (@copying): Use @copyright{} and range of years.
77570
77571 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77572
77573 [BZ #13695]
77574 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77575 [crti.S not in sysdirs] (generated): Do not append.
77576 [crti.S not in sysdirs] (omit-deps): Likewise.
77577 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77578 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77579 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77580 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77581 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77582 Likewise.
77583 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77584 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77585 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77586 * csu/defs.awk: Remove file.
77587 * sysdeps/generic/initfini.c: Likewise.
77588 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77589 variable.
77590 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77591 Likewise.
77592
77593 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77594
77595 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77596 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77597 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77600 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77601 <bits/epoll.h>.
77602 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77603 (__EPOLL_PACKED): Define to empty if not defined by
77604 <bits/epoll.h>.
77605 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77607 bits/epoll.h.
77608
77609 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77610
77611 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77612 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77613 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77614 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77615 <bits/timerfd.h>.
77616 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77618 bits/timerfd.h.
77619
77620 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77621
77622 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77623 in C locale.
77624 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77625 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77626 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77628
77629 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77630
77631 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77632 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77633
77634 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77635
77636 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77637 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77638 defined.
77639 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77640 Likewise.
77641 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77642 entry for 2.16.
77643
77644 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77645
77646 * math/w_acos.c: Use non-signaling floating-point comparisons.
77647 * math/w_acosf.c: Likewise.
77648 * math/w_acosh.c: Likewise.
77649 * math/w_acoshf.c: Likewise.
77650 * math/w_acoshl.c: Likewise.
77651 * math/w_acosl.c: Likewise.
77652 * math/w_asin.c: Likewise.
77653 * math/w_asinf.c: Likewise.
77654 * math/w_asinl.c: Likewise.
77655 * math/w_atanh.c: Likewise.
77656 * math/w_atanhf.c: Likewise.
77657 * math/w_atanhl.c: Likewise.
77658 * math/w_exp2.c: Likewise.
77659 * math/w_exp2f.c: Likewise.
77660 * math/w_exp2l.c: Likewise.
77661 * math/w_j0.c: Likewise.
77662 * math/w_j0f.c: Likewise.
77663 * math/w_j0l.c: Likewise.
77664 * math/w_j1.c: Likewise.
77665 * math/w_j1f.c: Likewise.
77666 * math/w_j1l.c: Likewise.
77667 * math/w_jn.c: Likewise.
77668 * math/w_jnf.c: Likewise.
77669 * math/w_log.c: Likewise.
77670 * math/w_log10.c: Likewise.
77671 * math/w_log10f.c: Likewise.
77672 * math/w_log10l.c: Likewise.
77673 * math/w_log2.c: Likewise.
77674 * math/w_log2f.c: Likewise.
77675 * math/w_log2l.c: Likewise.
77676 * math/w_logf.c: Likewise.
77677 * math/w_logl.c: Likewise.
77678 * math/w_sqrt.c: Likewise.
77679 * math/w_sqrtf.c: Likewise.
77680 * math/w_sqrtl.c: Likewise.
77681 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77682 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77684 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77685 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77686
77687 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77688
77689 [BZ #9739]
77690 * manual/string.texi (strnlen): Use correct parameter name in
77691 equivalent expression.
77692
77693 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77694
77695 [BZ #11174]
77696 * manual/users.texi (seteuid): Consistently use neweuid for
77697 argument name.
77698
77699 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77700
77701 [BZ #13704]
77702 * manual/nss.texi (Services in the NSS configuration): Correct
77703 list of services in example configuration file.
77704
77705 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77706
77707 [BZ #11322]
77708 * manual/arith.texi: Remove statements about negative zero
77709 behaving identically to zero.
77710
77711 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77712
77713 [BZ #5993]
77714 * manual/install.texi: Do not document upgrading from libc5.
77715
77716 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77717
77718 [BZ #4596]
77719 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77720
77721 2012-02-18 David S. Miller <davem@davemloft.net>
77722
77723 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77724 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77725 %o7 across the call.
77726 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77727 instead.
77728 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77729 SETUP_PIC_REG_LEAF.
77730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77731 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77732 * sysdeps/sparc/crtn.S: Likewise.
77733
77734 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77735
77736 * aout/Makefile: Remove.
77737
77738 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77739
77740 [BZ #13058]
77741 * manual/examples/argp-ex1.c (main): Format definition in GNU
77742 style.
77743 * manual/examples/argp-ex2.c (main): Likewise.
77744 * manual/examples/argp-ex3.c (main): Likewise.
77745 * manual/examples/argp-ex4.c (main): Likewise.
77746 * manual/examples/longopt.c (main): Use new-style prototype
77747 definition.
77748 * manual/examples/strncat.c (main): Specify return type and use
77749 (void) for arguments.
77750 * manual/examples/subopt.c (main): Use char **argv argument.
77751
77752 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77753
77754 [BZ #5077]
77755 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77756 rounding modes.
77757
77758 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77759
77760 [BZ #6907]
77761 * manual/string.texi (strchr): Change when strchrnul is
77762 recommended.
77763
77764 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77765
77766 [BZ #174]
77767 * manual/locale.texi (setlocale): Document LOCPATH.
77768
77769 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77770
77771 [BZ #10210]
77772 * manual/process.texi (execle): Move @dots{} before last argument.
77773
77774 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77775
77776 [BZ #12047]
77777 * manual/charset.texi (Generic Charset Conversion): Fix typo
77778 (LC_TYPE -> LC_CTYPE).
77779
77780 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77781
77782 [BZ #5805]
77783 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77784 (scalbnf): Likewise.
77785 (scalbnl): Likewise.
77786 (scalbln): Likewise.
77787 (scalblnf): Likewise.
77788 (scalblnl): Likewise.
77789 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77790 (vwarnx): Likewise.
77791 (verr): Likewise.
77792 (verrx): Likewise.
77793 * manual/filesys.texi (telldir): Use braces around return type.
77794 * manual/llio.texi (mmap): Add space after comma.
77795 (mmap64): Likewise.
77796 * manual/math.texi (jn): Use @var{} on parameter names.
77797 (jnf): Likewise.
77798 (jnl): Likewise.
77799 (yn): Likewise.
77800 (ynf): Likewise.
77801 (ynl): Likewise.
77802 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77803 line.
77804 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77805 "...".
77806 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77807 (sched_get_priority_max): Likewise.
77808 * manual/signal.texi (sigvec): Add space after comma.
77809 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77810 names.
77811 (if_indextoname): Likewise.
77812 (if_freenameindex): Likewise.
77813 (sendto): Use ',' instead of '.' in prototype.
77814 * manual/startup.texi (syscall): Use @dots{} instead of literal
77815 "...".
77816 * manual/stdio.texi (__fpending): Separate initial words of
77817 paragraph from @deftypefun line.
77818 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77819 "...".
77820 (vsyslog): Use @var{} on parameter names.
77821 * manual/terminal.texi (stty): Use @var{} on parameter names.
77822 * manual/users.texi (getutmp): Use @var{} on parameter names.
77823 (getutmpx): Likewise.
77824
77825 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77826
77827 [BZ #6884]
77828 * manual/stdio.texi (fopen): Fix typos in description of
77829 ",ccs=STRING".
77830
77831 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77832
77833 [BZ #4026]
77834 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77835 get clock_id definition.
77836
77837 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77838
77839 [BZ #4822]
77840 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77841 (madvise): Cast every argument to void on its own.
77842
77843 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77844
77845 [BZ #9902]
77846 * manual/startup.texi (Exit Status): Fix typo.
77847
77848 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77849
77850 [BZ #10140]
77851 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77852 * manual/examples/argp-ex2.c: Likewise.
77853 * manual/examples/argp-ex3.c: Likewise.
77854
77855 2012-02-16 Richard Henderson <rth@redhat.com>
77856
77857 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77858 * sysdeps/s390/s390-32/initfini.c: Remove.
77859 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77860 * sysdeps/s390/s390-64/initfini.c: Remove.
77861
77862 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77863
77864 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77865 compiler output for sysdeps/generic/initfini.c.
77866 * sysdeps/sh/elf/initfini.c: Remove file.
77867
77868 2012-02-16 David S. Miller <davem@davemloft.net>
77869
77870 [BZ #11494]
77871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77872
77873 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77874 * sysdeps/sparc/crti.S: New file.
77875 * sysdeps/sparc/crtn.S: New file.
77876 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77877 * sysdeps/sparc/sparc64/Makefile: Likewise.
77878
77879 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77880
77881 [BZ #3335]
77882 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77883
77884 2012-02-15 Roland McGrath <roland@hack.frob.com>
77885
77886 [BZ #4822]
77887 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77888
77889 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77890 (write, read, close): Likewise.
77891 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77892
77893 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77894
77895 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77896 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77897 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77898 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77899 <bits/signalfd.h>.
77900 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77902 bits/signalfd.h.
77903
77904 2012-02-14 Marek Polacek <polacek@redhat.com>
77905
77906 * sysdeps/x86_64/crti.S: New file.
77907 * sysdeps/x86_64/crtn.S: New file.
77908 * sysdeps/x86_64/elf/initfini.c: Remove file.
77909
77910 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77911
77912 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77913 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77914 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77915 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77916 <bits/inotify.h>.
77917 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77919 bits/inotify.h.
77920
77921 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77922
77923 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77924 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77925 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77926 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77927 <bits/eventfd.h>.
77928 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77930 bits/eventfd.h.
77931
77932 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77933
77934 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77935 __feraiseexcept instead of feraiseexcept.
77936
77937 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77938 nanosleep invocations.
77939 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77940 strings, and add error checking for a nanosleep invocations.
77941
77942 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77943
77944 Replace FSF snail mail address with URLs, as per GNU coding standards.
77945 Most of the snail mail addresses were wrong anyway, and omitting
77946 them makes the source code easier to maintain. Almost all of the
77947 changes are to license notices and to locale LC_IDENTIFICATION
77948 addresses, except for this one:
77949 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77950 not its snail mail address.
77951
77952 2012-02-09 Richard Henderson <rth@twiddle.net>
77953
77954 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77955 of kernel-features.h.
77956
77957 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77958
77959 2012-02-08 Marek Polacek <polacek@redhat.com>
77960
77961 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77962 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77963 * sysdeps/gnu/_G_config.h: Likewise.
77964 * sysdeps/generic/_G_config.h: Likewise.
77965
77966 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77967
77968 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77969 tests.
77970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77971
77972 * sysdeps/powerpc/powerpc32/crti.S: New file.
77973 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77974 * sysdeps/powerpc/powerpc64/crti.S: New file.
77975 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77976
77977 * Makeconfig (have-initfini): Don't set.
77978 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77979 * configure.in (nopic_initfini): Don't substitute.
77980 * config.h.in (HAVE_INITFINI): Don't #undef.
77981 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77982 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77983
77984 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77985
77986 Support crti.S and crtn.S provided directly by architectures.
77987 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77988 [crti.S in sysdirs] (omit-deps): Likewise.
77989 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77990 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77991 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77992 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77993 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77994 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77995 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77996 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77997 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77998 compiler output for sysdeps/generic/initfini.c.
77999 * sysdeps/i386/elf/Makefile: Remove file.
78000 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78001
78002 2012-02-07 Marek Polacek <polacek@redhat.com>
78003
78004 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78005 * sysdeps/gnu/_G_config.h: Likewise.
78006 * sysdeps/mach/hurd/_G_config.h: Likewise.
78007
78008 2012-02-07 Marek Polacek <polacek@redhat.com>
78009
78010 * math/Makefile (tests): Add tst-CMPLX2.
78011 * math/tst-CMPLX2.c: New file.
78012
78013 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
78014
78015 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78016
78017 * math/libm-test.inc (jn_test): Add missing L suffix.
78018
78019 2012-02-06 Marek Polacek <polacek@redhat.com>
78020
78021 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78022 * sysdeps/i386/fpu/e_powf.S: Likewise.
78023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78024 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78025 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78026 * sysdeps/i386/fpu/e_pow.S: Likewise.
78027 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78028 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78029 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78030 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78031 * sysdeps/i386/fpu/e_log2.S: Likewise.
78032 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78033 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78034 * sysdeps/i386/fpu/e_powl.S: Likewise.
78035 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78036 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78037 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78038 * sysdeps/i386/fpu/e_logl.S: Likewise.
78039 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78040 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78041 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78042 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78043 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78044 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78045 * sysdeps/i386/fpu/e_log.S: Likewise.
78046 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78047 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78048 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78049 * sysdeps/i386/fpu/e_logf.S: Likewise.
78050 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78052 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78053 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78054 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78055 * sysdeps/i386/fpu/e_log10.S: Likewise.
78056 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78057 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78058 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78059 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78060 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78061 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78062 * sysdeps/i386/asm-syntax.h: Likewise.
78063 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78064 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78065 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78066 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78067 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78068 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78069 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78070 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78071 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78072 * sysdeps/powerpc/sysdep.h: Likewise.
78073 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78074 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78075
78076 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78077
78078 [BZ #411]
78079 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78080
78081 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78082
78083 * sysdeps/i386/sysdep.h: Include <features.h>.
78084 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78085 version.
78086
78087 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78088
78089 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78090 Define.
78091 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78092 LOAD_PIC_REG_STR.
78093
78094 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78095
78096 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78097 (SETUP_PIC_REG): Use GET_PC_THUNK.
78098 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78099 macro.
78100
78101 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78102
78103 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78104 for non-PIC compilation.
78105 (SETUP_PIC_REG): Add .p2align directive.
78106 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78107 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78108 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78109 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78110 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78111 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78112 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78113 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78114 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78115 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78116 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78117 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78118 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78119 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78120 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78121 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78122 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78123 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78124 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78125 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78127 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78128 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78129 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78131 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78132 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78133 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78134 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78135 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78136 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78137 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78138 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78139 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78140 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78141 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78142 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78143 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78144 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78145 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78146 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78147
78148 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78149
78150 * math/tst-CMPLX.c: Include <stdio.h>.
78151
78152 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78153
78154 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78155 float.
78156 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78157 * sysdeps/sparc/bits/mathdef.h: Likewise.
78158
78159 2012-01-31 Marek Polacek <polacek@redhat.com>
78160
78161 * libio/libio.h: Don't define _PARAMS.
78162 * locale/programs/config.h: Don't define PARAMS.
78163 * stdlib/strtol_l.c: Likewise.
78164 (__strtol_l): Remove PARAMS from the prototype.
78165
78166 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78167
78168 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78169 names. Just use the correct names. Remove unnecessary wrapper
78170 functions.
78171 * malloc/arena.c: Likewise.
78172 * malloc/hooks.c: Likewise.
78173
78174 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78175 ARENA_TEST says not to. Simplify test for creation of a new arena.
78176 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78177
78178 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78179
78180 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78181 into tail calls.
78182 (update_get_addr): New function.
78183 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78184 GET_ADDR_MODULE parameter.
78185
78186 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78187
78188 * crypt/cert.c: Remove __STDC__ conditionals.
78189 * crypt/crypt-entry.c: Likewise.
78190 * crypt/crypt_util.c: Likewise.
78191 * libio/filedoalloc.c: Likewise.
78192 * libio/fileops.c: Likewise.
78193 * libio/genops.c: Likewise.
78194 * libio/iofclose.c: Likewise.
78195 * libio/iofdopen.c: Likewise.
78196 * libio/iofopen.c: Likewise.
78197 * libio/iofopen64.c: Likewise.
78198 * libio/iogetdelim.c: Likewise.
78199 * libio/iopopen.c: Likewise.
78200 * libio/obprintf.c: Likewise.
78201 * libio/oldfileops.c: Likewise.
78202 * libio/oldiofclose.c: Likewise.
78203 * libio/oldiofdopen.c: Likewise.
78204 * libio/oldiofopen.c: Likewise.
78205 * libio/oldiopopen.c: Likewise.
78206 * libio/wfiledoalloc.c: Likewise.
78207 * libio/wgenops.c: Likewise.
78208 * locale/programs/xmalloc.c: Likewise.
78209 * misc/syslog.c: Likewise.
78210 * stdio-common/xbug.c: Likewise.
78211 * string/memchr.c: Likewise.
78212 * string/memcmp.c: Likewise.
78213 * string/memrchr.c: Likewise.
78214 * string/rawmemchr.c: Likewise.
78215 * sysdeps/posix/getcwd.c: Likewise.
78216 * time/strftime_l.c: Likewise.
78217
78218 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78219
78220 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78221 * config.make.in (config-cflags-sse2avx): Define.
78222 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78223 Fix typo.
78224
78225 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78226
78227 * scripts/config.guess: Update from upstream config git repository.
78228 * scripts/config.sub: Likewise.
78229
78230 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78231
78232 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78233 (EM_NUM): Update.
78234 (R_TILEPRO_*, R_TILEGX_*): New macros.
78235
78236 * scripts/firstversions.awk: Fix bug in version range handling.
78237
78238 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78239
78240 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78241
78242 * include/sys/epoll.h: New file.
78243 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78244 libc_hidden_def.
78245
78246 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78247
78248 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78249 Avoid unnecessary __WORDSIZE == 64 test.
78250 (fmaxf): Use VEX format if possible.
78251 (fmax): Likewise.
78252 (fminf): Likewise.
78253 (fmin): Likewise.
78254
78255 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78256 * math/math_private.h: Remove libc_fegetround* and
78257 libc_fesetround*.
78258 * sysdeps/i386/configure.in: Check for -msse2avx.
78259 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78260 also if SSE2AVX is defined.
78261 Remove libc_fegetround* and libc_fesetround*.
78262 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78263 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78264 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78265 of HAS_YMM_USABLE.
78266 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78267 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78268 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78269 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78271
78272 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78273
78274 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78275
78276 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78277 size is not set.
78278 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78279
78280 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78281
78282 [BZ #13618]
78283 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78284 relocation.
78285 * Makeconfig (libm): Define.
78286 * elf/Makefile: Add rules to build and run tst-relsort1.
78287 * elf/tst-relsort1.c: New file.
78288 * elf/tst-relsort1mod1.c: New file.
78289 * elf/tst-relsort1mod2.c: New file.
78290
78291 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78292
78293 * math/s_ldexp.c: Remove __STDC__ conditionals.
78294 * math/s_ldexpf.c: Likewise.
78295 * math/s_ldexpl.c: Likewise.
78296 * math/s_nextafter.c: Likewise.
78297 * math/s_nexttowardf.c: Likewise.
78298 * math/s_significand.c: Likewise.
78299 * math/s_significandf.c: Likewise.
78300 * math/s_significandl.c: Likewise.
78301 * math/w_jnl.c: Likewise.
78302 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78303 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78304 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78305 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78306 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78308 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78311 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78312 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78313 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78314 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78315 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78316 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78317 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78318 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78319 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78321 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78322 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78323 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78324 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78326 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78327 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78328 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78329 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78330 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78331 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78332 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78333 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78334 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78335 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78336 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78337 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78338 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78339 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78340 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78341 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78342 * sysdeps/ieee754/k_standard.c: Likewise.
78343 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78344 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78345 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78346 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78347 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78348 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78349 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78350 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78351 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78352 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78353 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78354 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78355 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78356 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78357 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78358 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78359 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78360 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78361 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78362 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78363 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78364 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78365 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78366 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78367 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78369 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78370 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78372 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78373 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78374 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78375 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78376 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78378 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78379 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78380 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78381 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78382 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78383 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78384 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78385 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78386 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78387 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78388 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78389 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78390 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78391 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78392 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78393 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78394 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78395 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78396 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78397 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78398 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78399 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78400 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78401 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78402 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78403 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78404 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78405 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78406 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78407 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78408 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78409 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78410 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78411 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78412 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78413 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78414 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78415 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78416 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78417 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78418 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78419 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78420 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78421 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78422 * sysdeps/ieee754/s_matherr.c: Likewise.
78423 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78424 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78425 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78427
78428 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78429
78430 * crypt/md5.h: Remove __STDC__ conditionals.
78431 * libio/libioP.h: Likewise.
78432 * locale/programs/config.h: Likewise.
78433 * sysdeps/generic/sysdep.h: Likewise.
78434 * sysdeps/i386/asm-syntax.h: Likewise.
78435 * sysdeps/s390/asm-syntax.h: Likewise.
78436 * sysdeps/unix/sysdep.h: Likewise.
78437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78439
78440 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78441
78442 * libio/libio.h: Remove __STDC__ conditionals.
78443 * malloc/obstack.h: Likewise.
78444 * math/complex.h: Likewise.
78445 * math/math.h: Likewise.
78446 * sysdeps/generic/_G_config.h: Likewise.
78447 * sysdeps/gnu/_G_config.h: Likewise.
78448 * sysdeps/mach/hurd/_G_config.h: Likewise.
78449 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78450 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78451 * sysdeps/sparc/bits/mathdef.h: Likewise.
78452
78453 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78454
78455 [BZ #13583]
78456 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78457 Clean up HAS_* macros.
78458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78459 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78460 possible.
78461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78462 HAS_AVX.
78463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78464 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78465 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78466 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78468
78469 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78470
78471 * elf/tst-unique3.cc (gets): Remove declaration.
78472 * elf/tst-unique3lib.cc (gets): Likewise.
78473 * elf/tst-unique3lib2.cc (gets): Likewise.
78474 * elf/tst-unique4.cc (gets): Likewise.
78475
78476 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78477
78478 * include/stdio.h: Add C++ protection. Add gets declarations and
78479 definitions.
78480 * debug/tst-chk1.c: Don't declare gets here.
78481 * stdio-common/tst-gets.c: Likewise.
78482
78483 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78484
78485 * posix/glob: Remove directory.
78486
78487 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78488
78489 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78490
78491 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78492
78493 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78494 of the non-standard EPFNOSUPPORT.
78495
78496 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78497
78498 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78499 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78500 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78501
78502 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78503
78504 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78505
78506 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78507
78508 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78509 transient errors.
78510 * nscd/grpcache.c (cache_addgr): Likewise.
78511 * nscd/hstcache.c (cache_addhst): Likewise.
78512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78513 * nscd/pwdcache.c (cache_addpw): Likewise.
78514 * nscd/servicescache.c (cache_addserv): Likewise.
78515
78516 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78517
78518 * malloc/malloc.c: Various cleanups.
78519 * malloc/hooks.c: Likewise.
78520
78521 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78522 * stdlib/bug-fmtmsg1.c: New file.
78523
78524 * stdlib/fmtmsg.c (init): Add missing unlock.
78525 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78526
78527 2012-01-12 Marek Polacek <polacek@redhat.com>
78528
78529 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78530 and _GNU_SOURCE.
78531
78532 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78533
78534 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78535 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78536 macro to ensure uniqueness of label name.
78537 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78538 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78539
78540 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78541
78542 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78543
78544 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78545 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78546 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78547 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78548
78549 2012-01-10 Ulrich Drepper <drepper@gmail.com>
78550
78551 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78552
78553 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78554 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78555 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78556
78557 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78558
78559 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78560 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78561 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78563
78564 * math/bits/math-finite.h: Add ldexp support.
78565
78566 2012-01-10 Marek Polacek <polacek@redhat.com>
78567
78568 * locale/programs/localedef.h (show_archive_content): Add noreturn
78569 attribute.
78570
78571 2012-01-09 Ulrich Drepper <drepper@gmail.com>
78572
78573 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78574
78575 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78576
78577 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78578
78579 * io/Makefile (headers): Add bits/poll2.h.
78580
78581 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78582
78583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78584 typo #include statement.
78585
78586 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78587
78588 * include/sys/cdefs.h: Define __attribute_alloc_size.
78589 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78590 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78591 * elf/pldd.c: Likewise.
78592 * iconv/iconv_charmap.c: Likewise.
78593 * iconv/iconvconfig.c: Likewise.
78594 * iconv/strtab.c: Likewise.
78595 * locale/programs/locale.c: Likewise.
78596 * locale/programs/localedef.h: Likewise.
78597 * locale/programs/simple-hash.c: Likewise.
78598 * nscd/nscd.h: Likewise.
78599 * nss/makedb.c: Likewise.
78600 * sysdeps/generic/ldconfig.h: Likewise.
78601 * locale/programs/localedef.c: Remove xmalloc prototype.
78602 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78603
78604 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78605
78606 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78607 appropriate.
78608
78609 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78610
78611 * math/Makefile (tests): Add tst-CMPLX.
78612 * math/tst-CMPLX.c: New file.
78613
78614 * math/complex.h (CMPLXL): Fix typo.
78615
78616 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78617 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78618 GLIBC_2.16.
78619 * debug/tst-chk1.c: Add poll and ppoll tests.
78620 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78621 * include/sys/poll.h: Add hidden proto for ppoll.
78622 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78623 * sysdeps/mach/hurd/ppoll.c: Likewise.
78624 * io/ppoll.c: Likewise.
78625 * debug/poll_chk.c: New file.
78626 * debug/ppoll_chk.c: New file.
78627 * include/bits/poll2.h: New file.
78628 * io/bits/poll2.h: New file.
78629
78630 [BZ #1350]
78631 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78632
78633 * configure.in: static is always set to yes. Remove.
78634 * config.make.in: Don't set build-static.
78635 * Makeconfig: Remove use of build-static.
78636 * dlfcn/Makefile: Likewise.
78637 * elf/Makefile: Likewise.
78638 * math/Makefile: Likewise.
78639 * misc/Makefile: Likewise.
78640 * nptl/Makefile: Likewise.
78641 * sysdeps/mach/hurd/Makefile: Likewise.
78642
78643 * configure.in: PWD_P is not used anymore.
78644 * config.make.in: Remove PWD_P entry.
78645
78646 * configure.in: Remove last remnants of RANLIB.
78647 No need to check for signed size_t anymore.
78648 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78649 and IA-64.
78650 Remove __builtin_expect test because we require at least gcc 3.4.
78651 * aclocal.m4: Likewise.
78652
78653 * wcsmbs/mbrtoc16.c: Implement using towc function.
78654 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78655 * wcsmbs/wcsmbsload.c: Likewise.
78656 * iconv/gconv_simple.c: Likewise.
78657 * iconv/gconv_int.h: Likewise.
78658 * iconv/gconv_builtin.h: Likewise.
78659 * iconv/iconv_prog.c: Remove CHAR16 handling.
78660
78661 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78662
78663 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78664
78665 * configure.in: Remove --with-elf and --enable-bounded options.
78666 Dont set base_machine for ia64. More non-ELF conditions removed.
78667 Remove testing and setting of leading underscore information.
78668 * config.make.in (build-bounded): Set to no.
78669 * config.h.in: Remove NO_UNDERSCORES entry.
78670 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78671 them.
78672 * csu/start.c: Remove !NO_UNDERSCORE code.
78673 * locale/localeinfo.h: Likewise.
78674 * sysdeps/generic/machine-gmon.h: Likewise.
78675 * sysdeps/generic/sysdep.h: Likewise.
78676 * sysdeps/i386/sysdep.h: Likewise.
78677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78678 * sysdeps/mach/sysdep.h: Likewise.
78679 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78681 * sysdeps/sh/sysdep.h: Likewise.
78682 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78683 * sysdeps/unix/i386/sysdep.S: Likewise.
78684 * sysdeps/unix/sparc/start.c: Likewise.
78685 * sysdeps/unix/sparc/sysdep.S: Likewise.
78686 * sysdeps/unix/sparc/sysdep.h: Likewise.
78687 * sysdeps/unix/start.c: Likewise.
78688 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78689 * sysdeps/x86_64/sysdep.h: Likewise.
78690
78691 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78692
78693 [BZ #13553]
78694 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78695 for non-gcc.
78696 * argp/argp-fmtstream.h: Use const instead __const.
78697 * argp/argp.h: Likewise.
78698 * assert/assert.h: Likewise.
78699 * bits/fenv.h: Likewise.
78700 * bits/sched.h: Likewise.
78701 * bits/sigset.h: Likewise.
78702 * bits/sigthread.h: Likewise.
78703 * catgets/nl_types.h: Likewise.
78704 * conform/data/pthread.h-data: Likewise.
78705 * crypt/crypt-private.h: Likewise.
78706 * crypt/crypt.h: Likewise.
78707 * crypt/crypt_util.c: Likewise.
78708 * ctype/ctype.h: Likewise.
78709 * debug/execinfo.h: Likewise.
78710 * debug/mbsnrtowcs_chk.c: Likewise.
78711 * debug/mbsrtowcs_chk.c: Likewise.
78712 * debug/wcsnrtombs_chk.c: Likewise.
78713 * debug/wcsrtombs_chk.c: Likewise.
78714 * debug/wcstombs_chk.c: Likewise.
78715 * dirent/dirent.h: Likewise.
78716 * dlfcn/dlfcn.h: Likewise.
78717 * elf/neededtest4.c: Likewise.
78718 * grp/grp.h: Likewise.
78719 * gshadow/gshadow.h: Likewise.
78720 * iconv/gconv.h: Likewise.
78721 * iconv/gconv_int.h: Likewise.
78722 * iconv/gconv_simple.c: Likewise.
78723 * iconv/iconv.h: Likewise.
78724 * iconv/loop.c: Likewise.
78725 * iconv/skeleton.c: Likewise.
78726 * include/aio.h: Likewise.
78727 * include/aliases.h: Likewise.
78728 * include/argz.h: Likewise.
78729 * include/arpa/inet.h: Likewise.
78730 * include/assert.h: Likewise.
78731 * include/dirent.h: Likewise.
78732 * include/dlfcn.h: Likewise.
78733 * include/execinfo.h: Likewise.
78734 * include/fcntl.h: Likewise.
78735 * include/fenv.h: Likewise.
78736 * include/glob.h: Likewise.
78737 * include/grp.h: Likewise.
78738 * include/libintl.h: Likewise.
78739 * include/mntent.h: Likewise.
78740 * include/netdb.h: Likewise.
78741 * include/pwd.h: Likewise.
78742 * include/rpc/netdb.h: Likewise.
78743 * include/sched.h: Likewise.
78744 * include/search.h: Likewise.
78745 * include/shadow.h: Likewise.
78746 * include/signal.h: Likewise.
78747 * include/stdio.h: Likewise.
78748 * include/stdlib.h: Likewise.
78749 * include/string.h: Likewise.
78750 * include/sys/socket.h: Likewise.
78751 * include/sys/stat.h: Likewise.
78752 * include/sys/statfs.h: Likewise.
78753 * include/sys/statvfs.h: Likewise.
78754 * include/sys/syslog.h: Likewise.
78755 * include/sys/time.h: Likewise.
78756 * include/sys/uio.h: Likewise.
78757 * include/time.h: Likewise.
78758 * include/unistd.h: Likewise.
78759 * include/utmp.h: Likewise.
78760 * include/wchar.h: Likewise.
78761 * include/wctype.h: Likewise.
78762 * inet/aliases.h: Likewise.
78763 * inet/arpa/inet.h: Likewise.
78764 * inet/netinet/ether.h: Likewise.
78765 * inet/netinet/in.h: Likewise.
78766 * intl/libintl.h: Likewise.
78767 * io/bits/fcntl2.h: Likewise.
78768 * io/fcntl.h: Likewise.
78769 * io/ftw.h: Likewise.
78770 * io/sys/poll.h: Likewise.
78771 * io/sys/stat.h: Likewise.
78772 * io/sys/statfs.h: Likewise.
78773 * io/sys/statvfs.h: Likewise.
78774 * io/utime.h: Likewise.
78775 * libio/bits/stdio.h: Likewise.
78776 * libio/bits/stdio2.h: Likewise.
78777 * libio/libio.h: Likewise.
78778 * libio/libioP.h: Likewise.
78779 * libio/stdio.h: Likewise.
78780 * locale/lc-ctype.c: Likewise.
78781 * locale/locale.h: Likewise.
78782 * login/utmp.h: Likewise.
78783 * malloc/arena.c: Likewise.
78784 * malloc/malloc.c: Likewise.
78785 * malloc/malloc.h: Likewise.
78786 * malloc/mcheck.c: Likewise.
78787 * malloc/mtrace.c: Likewise.
78788 * math/bits/mathcalls.h: Likewise.
78789 * math/fenv.h: Likewise.
78790 * math/math_private.h: Likewise.
78791 * misc/bits/error.h: Likewise.
78792 * misc/bits/syslog.h: Likewise.
78793 * misc/err.h: Likewise.
78794 * misc/error.h: Likewise.
78795 * misc/fstab.h: Likewise.
78796 * misc/mntent.h: Likewise.
78797 * misc/regexp.h: Likewise.
78798 * misc/search.h: Likewise.
78799 * misc/sgtty.h: Likewise.
78800 * misc/sys/mman.h: Likewise.
78801 * misc/sys/syslog.h: Likewise.
78802 * misc/sys/uio.h: Likewise.
78803 * misc/sys/xattr.h: Likewise.
78804 * misc/ttyent.h: Likewise.
78805 * nis/rpcsvc/ypclnt.h: Likewise.
78806 * nss/nss.h: Likewise.
78807 * posix/bits/unistd.h: Likewise.
78808 * posix/fnmatch.h: Likewise.
78809 * posix/glob.h: Likewise.
78810 * posix/sched.h: Likewise.
78811 * posix/spawn.h: Likewise.
78812 * posix/sys/wait.h: Likewise.
78813 * posix/unistd.h: Likewise.
78814 * posix/wordexp.h: Likewise.
78815 * pwd/pwd.h: Likewise.
78816 * resolv/netdb.h: Likewise.
78817 * resource/sys/resource.h: Likewise.
78818 * rt/aio.h: Likewise.
78819 * rt/bits/mqueue2.h: Likewise.
78820 * rt/mqueue.h: Likewise.
78821 * shadow/shadow.h: Likewise.
78822 * signal/signal.h: Likewise.
78823 * socket/send.c: Likewise.
78824 * socket/sendto.c: Likewise.
78825 * socket/sys/socket.h: Likewise.
78826 * stdio-common/printf.h: Likewise.
78827 * stdlib/bits/stdlib.h: Likewise.
78828 * stdlib/fmtmsg.h: Likewise.
78829 * stdlib/monetary.h: Likewise.
78830 * stdlib/stdlib.h: Likewise.
78831 * stdlib/ucontext.h: Likewise.
78832 * streams/stropts.h: Likewise.
78833 * string/argz.h: Likewise.
78834 * string/bits/string2.h: Likewise.
78835 * string/string.h: Likewise.
78836 * string/strings.h: Likewise.
78837 * sunrpc/rpc/auth.h: Likewise.
78838 * sunrpc/rpc/auth_des.h: Likewise.
78839 * sunrpc/rpc/clnt.h: Likewise.
78840 * sunrpc/rpc/netdb.h: Likewise.
78841 * sunrpc/rpc/pmap_clnt.h: Likewise.
78842 * sunrpc/rpc/xdr.h: Likewise.
78843 * sysdeps/generic/inttypes.h: Likewise.
78844 * sysdeps/generic/net/if.h: Likewise.
78845 * sysdeps/generic/sys/swap.h: Likewise.
78846 * sysdeps/gnu/net/if.h: Likewise.
78847 * sysdeps/gnu/utmpx.h: Likewise.
78848 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78849 * sysdeps/i386/i486/bits/string.h: Likewise.
78850 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78851 * sysdeps/s390/bits/string.h: Likewise.
78852 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78853 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78854 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78855 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78856 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78857 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78858 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78859 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78860 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78861 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78862 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78863 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78864 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78865 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78866 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78867 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78868 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78870 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78871 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78872 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78873 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78874 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78875 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78876 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78877 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78878 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78880 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78881 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78882 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78883 * sysvipc/sys/ipc.h: Likewise.
78884 * sysvipc/sys/msg.h: Likewise.
78885 * sysvipc/sys/sem.h: Likewise.
78886 * sysvipc/sys/shm.h: Likewise.
78887 * termios/termios.h: Likewise.
78888 * time/sys/time.h: Likewise.
78889 * time/time.h: Likewise.
78890 * wcsmbs/bits/wchar2.h: Likewise.
78891 * wcsmbs/uchar.h: Likewise.
78892 * wcsmbs/wchar.h: Likewise.
78893 * wctype/wctype.h: Likewise.
78894
78895 [BZ #13551]
78896 * Makeconfig: Remove all but ELF support including AIX support.
78897 * Makerules: Likewise.
78898 * config.h.in: Likewise.
78899 * config.make.in: Likewise.
78900 * configure: Likewise.
78901 * configure.in: Likewise.
78902 * csu/Makefile: Likewise.
78903 * csu/version.c: Likewise.
78904 * debug/Makefile: Likewise.
78905 * dlfcn/Makefile: Likewise.
78906 * elf/Makefile: Likewise.
78907 * extra-lib.mk: Likewise.
78908 * iconv/Makefile: Likewise.
78909 * include/libc-symbols.h: Likewise.
78910 * include/shlib-compat.h: Likewise.
78911 * resolv/Makefile: Likewise.
78912 * resolv/res_libc.c: Likewise.
78913 * rt/Makefile: Likewise.
78914 * sysdeps/i386/asm-syntax.h: Likewise.
78915 * sysdeps/i386/sysdep.h: Likewise.
78916 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78917 * sysdeps/mach/sysdep.h: Likewise.
78918 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78919 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78920 * sysdeps/s390/asm-syntax.h: Likewise.
78921 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78922 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78923 * sysdeps/sh/sysdep.h: Likewise.
78924 * sysdeps/unix/sparc/sysdep.h: Likewise.
78925 * sysdeps/wordsize-32/divdi3.c: Likewise.
78926 * sysdeps/x86_64/sysdep.h: Likewise.
78927
78928 * argp/Versions: Remove _argp_unlock_xxx.
78929
78930 [BZ #13559]
78931 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78932 * abilist/libBrokenLocale.abilist: Likewise.
78933 * abilist/libanl.abilist: Likewise.
78934 * abilist/libc.abilist: Likewise.
78935 * abilist/libcrypt.abilist: Likewise.
78936 * abilist/libdl.abilist: Likewise.
78937 * abilist/libm.abilist: Likewise.
78938 * abilist/libnsl.abilist: Likewise.
78939 * abilist/libpthread.abilist: Likewise.
78940 * abilist/libresolv.abilist: Likewise.
78941 * abilist/librt.abilist: Likewise.
78942 * abilist/libthread_db.abilist: Likewise.
78943 * abilist/libutil.abilist: Likewise.
78944 * abilist/libnss_db.abilist: New file.
78945
78946 * scripts/abilist.awk: Add support for indirect functions.
78947
78948 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78949
78950 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78951
78952 * shlib-versions: Remove entries for ports architectures.
78953
78954 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78955 files in ports.
78956 * elf/stackguard-macros.h: Remove support for IA-64.
78957 * elf/tst-auditmod1.c: Likewise.
78958 * sysdeps/generic/ldsodefs.h: Likewise.
78959
78960 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78961 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78962 configure files.
78963
78964 [BZ #13552]
78965 * configure.in: Remove --enable-omitfp support.
78966 * FAQ.in: Adjust.
78967 * config.make.in: Likewise.
78968 * Makeconfig: Likewise.
78969 * manual/install.texi: Likewise.
78970
78971 In case anyone cares, the IA-64 architecture could move to ports.
78972 * sysdeps/ia64/*: Removed.
78973 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78974 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78975
78976 [BZ #13555]
78977 * configure.in: Remove entries for unsupported architectures.
78978
78979 [BZ #13533]
78980 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78981 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78982 routines.
78983 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78984 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78985 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78986 fall back to using wcrtomb.
78987 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78988 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78989 renaming.
78990 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78991 * wcsmbs/tst-c16c32-1.c: New file.
78992
78993 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78994 local variable.
78995
78996 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78997
78998 * elf/tst-unique3.cc: Add explicit declaration of gets.
78999 * elf/tst-unique3lib.cc: Likewise.
79000 * elf/tst-unique3lib2.cc: Likewise.
79001 * elf/tst-unique4.cc: Likewise.
79002
79003 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79004
79005 2012-01-06 Joseph Myers <joseph@codesourcery.com>
79006
79007 [BZ #13566]
79008 * assert/assert.h (static_assert): Don't define for C++.
79009 * libio/stdio.h (gets): Do declare for C++ <= C++11.
79010 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79011
79012 2012-01-03 Ulrich Drepper <drepper@gmail.com>
79013
79014 * iconv/loop.c (single loop): Fix assertion in storing of
79015 remaining bytes.
79016
79017 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79018
79019 2012-01-01 Ulrich Drepper <drepper@gmail.com>
79020
79021 * posix/getconf.c: Update copyright year.
79022 * nss/getent.c: Likewise.
79023 * nss/makedb.c: Likewise.
79024 * iconv/iconvconfig.c: Likewise.
79025 * iconv/iconv_prog.c: Likewise.
79026 * elf/ldconfig.c: Likewise.
79027 * elf/pldd.c: Likewise.
79028 * elf/sotruss.ksh: Likewise.
79029 * catgets/gencat.c: Likewise.
79030 * csu/version.c: Likewise.
79031 * elf/ldd.bash.in: Likewise.
79032 * elf/sprof.c (print_version): Likewise.
79033 * locale/programs/locale.c: Likewise.
79034 * locale/programs/localedef.c: Likewise.
79035 * login/programs/pt_chown.c: Likewise.
79036 * nscd/nscd.c (print_version): Likewise.
79037 * debug/xtrace.sh: Likewise.
79038 * malloc/memusage.sh: Likewise.
79039 * malloc/mtrace.pl: Likewise.
79040 * debug/catchsegv.sh: Likewise.
79041
79042 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79043
79044 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79045 pure attribute.
79046
79047 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79048
79049 [BZ #13533]
79050 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79051 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79052 transformations.
79053 * iconv/gconv_int.h: Likewise.
79054 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79055 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79056 from libc for GLIBC_2.16.
79057 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79058 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79059 * wcsmbs/uchar.h: Really define mbstate_t.
79060 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79061 * wcsmbs/c16rtomb.c: New file.
79062 * wcsmbs/mbrtoc16.c: New file.
79063 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79064 for C/POSIX locale.
79065 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79066 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79067
79068 * wcsmbs/wchar.h: Add missing __restrict.
79069
79070 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79071
79072 [BZ #13532]
79073 * time/Makefile (routines): Add timespec_get.
79074 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79075 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79076 timespec for ISO C11.
79077 * time/timespec_get.c: New file.
79078 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79079 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79080
79081 [BZ #13531]
79082 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79083 * stdlib/stdlib.h: Declare aligned_alloc.
79084 * Versions.def: Add GLIBC_2.16 for libc.
79085 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79086
79087 [BZ 13527]
79088 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79089 ISO C11.
79090
79091 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79092 code.
79093
79094 [BZ #13528]
79095 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79096
79097 [BZ #13529]
79098 * assert/assert.h (static_assert): Define.
79099
79100 * version.h: Update for 2.16 development version.
79101
79102 [BZ #13526]
79103 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79104 _ISOC11_SOURCE.
79105
79106 * version.h (RELEASE): Bump for 2.15 release.
79107 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79108
79109 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79110 Patch by Marek Polacek <mpolacek@redhat.com>.
79111
79112 * bits/byteswap.h: Protect long long constants with __extension__.
79113 * sysdeps/i386/bits/byteswap.h: Likewise.
79114 * sysdeps/ia64/bits/byteswap.h: Likewise.
79115 * sysdeps/s390/bits/byteswap.h: Likewise.
79116 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79117
79118 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79119
79120 [BZ #13540]
79121 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79122 destination buffer.
79123 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79124
79125 2011-12-23 Marek Polacek <polacek@redhat.com>
79126
79127 * elf/dl-addr.c (determine_info): Add inline keyword.
79128 * elf/tst-auditmod4b.c (check_avx): Likewise.
79129 * elf/tst-auditmod6b.c (check_avx): Likewise.
79130 * elf/tst-auditmod6c.c (check_avx): Likewise.
79131 * elf/tst-auditmod7b.c (check_avx): Likewise.
79132
79133 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79134
79135 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79136 !__SSE_MATH__.
79137
79138 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79139
79140 [BZ #13540]
79141 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79142 processing for last bytes.
79143
79144 2011-08-06 Bruno Haible <bruno@clisp.org>
79145
79146 [BZ #13061]
79147 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79148 U+0385, not to U+1FEE.
79149
79150 [BZ #13062]
79151 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79152 entry for U+00A5 U+0301.
79153
79154 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79155
79156 [BZ #13166]
79157 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79158 buffer for the output is too small.
79159
79160 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79161 optimization.
79162
79163 [BZ #13185]
79164 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79165 SSE flags if possible.
79166
79167 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79168
79169 [BZ #13540]
79170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79171 processing for last bytes.
79172
79173 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79174
79175 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79176 (syscall-list-default-options, syscall-list-default-condition)
79177 (syscall-list-includes): Define.
79178 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79179 list of ABIs and options and #if conditions for each ABI. Do not
79180 handle common syscalls between ABIs specially.
79181 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79182 Remove.
79183 (syscall-list-variants, syscall-list-32bit-options)
79184 (syscall-list-32bit-condition, syscall-list-64bit-options)
79185 (syscall-list-64bit-condition): Define.
79186 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79187 (syscall-list-variants, syscall-list-32bit-options)
79188 (syscall-list-32bit-condition, syscall-list-64bit-options)
79189 (syscall-list-64bit-condition): Define.
79190 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79191 Remove.
79192 (syscall-list-variants, syscall-list-32bit-options)
79193 (syscall-list-32bit-condition, syscall-list-64bit-options)
79194 (syscall-list-64bit-condition): Define.
79195 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79196 Remove.
79197 (syscall-list-variants, syscall-list-32bit-options)
79198 (syscall-list-32bit-condition, syscall-list-64bit-options)
79199 (syscall-list-64bit-condition): Define.
79200
79201 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79202
79203 * locale/iso-639.def: Add brx entry.
79204
79205 [BZ #13328]
79206 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79207 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79208
79209 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79210 __feraiseexcept_renamed.
79211
79212 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79213
79214 [BZ #13538]
79215 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79216 EPOLLET with unsigned values.
79217 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79219
79220 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79221 to large cancellation.
79222 * math/s_cacoshf.c: Likewise.
79223 * math/s_cacoshl.c: Likewise.
79224
79225 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79226
79227 [BZ #13305]
79228 [BZ #12786]
79229 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79230 * math/s_cacoshf.c: Likewise.
79231 * math/s_cacoshl.c: Likewise.
79232
79233 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79234
79235 [BZ #13439]
79236 * iconv/gconv.h: Define __GCONV_SWAP.
79237 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79238 * iconvdata/utf-16.c: Likewise.
79239 * iconvdata/utf-32.c: Likewise.
79240
79241 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79242
79243 [BZ #13524]
79244 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79245 numerator after shifting it by one limb.
79246
79247 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79248
79249 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79250 under [__USE_EXTERN_INLINES].
79251
79252 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79253
79254 [BZ #13446]
79255 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79256
79257 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79258
79259 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79260 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79261 optimized code.
79262 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79263 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79264 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79265 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79266 for strncasecmp/strncasecmp_l compilation.
79267 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79268 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79269
79270 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79271
79272 [BZ #13484]
79273 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79274 of __asm__.
79275
79276 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79277
79278 [BZ #13506]
79279 * time/tzfile.c (__tzfile_read): Check values from file header.
79280
79281 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79282
79283 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79284 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79285 * powerpc/powerpc32/dl-start.S: Likewise.
79286 * powerpc/powerpc32/elf/start.S: Likewise.
79287 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79288 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79289 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79290 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79291 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79292 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79293 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79294 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79295 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79296 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79297 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79298 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79299 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79300 * powerpc/powerpc32/memset.S: Likewise.
79301 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79302 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79303 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79304 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79305 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79306 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79307 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79308 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79309 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79310 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79311 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79312 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79313 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79314
79315 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79316
79317 * math/libm-test.inc: Added more nearbyint tests.
79318 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79320 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79322
79323 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79324
79325 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79326 FD_CLOEXEC.
79327
79328 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79329
79330 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79331 Add wcscpy-ssse3 wcscpy-c.
79332 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79333 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79334 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79335 * sysdeps/x86_64/wcschr.S: New file.
79336 * sysdeps/x86_64/wcsrchr.S: New file.
79337 * string/test-strcmp.c: Remove checking of wcscmp function for
79338 wrong alignments.
79339 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79340 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79341 wcsrchr-sse2 wcsrchr-c.
79342 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79343 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79344 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79345 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79346 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79347 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79348 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79349 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79350 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79351 * wcsmbc/wcschr.c (WCSCHR): New macro.
79352
79353 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79354
79355 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79356 * wcsmbs/test-wcsrchr.c: New file.
79357 * string/test-strrchr.c: Add wcsrchr support.
79358 (WIDE): New macro.
79359 * wcsmbs/test-wcscpy.c: New file.
79360 * string/test-strcpy.c: Add wcscpy support.
79361 (WIDE): New macro.
79362
79363 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79364
79365 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79366 the inner loop.
79367
79368 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79369
79370 [BZ #13472]
79371 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79372
79373 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79374
79375 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79376 Minor optimizations.
79377
79378 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79379 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79380 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79381
79382 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79383
79384 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79385 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79386 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79387 for gcc to avoid warnings.
79388 * inet/Makefile (tests): Add tst-checks.
79389 * inet/tst-checks.c: New file.
79390
79391 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79392 warning.
79393
79394 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79395 __wmemcmp_sse2.
79396
79397 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79398 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79399
79400 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79401
79402 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79403
79404 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79405 problem.
79406
79407 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79408
79409 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79410
79411 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79412 conditional on GCC version.
79413 (__arch_compare_and_exchange_val_8_acq)
79414 (__arch_compare_and_exchange_val_16_acq)
79415 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79416 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79417 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79418
79419 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79420
79421 * sysdeps/sh/backtrace.c: New file.
79422
79423 2011-12-02 Andreas Schwab <schwab@redhat.com>
79424
79425 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79426 parenthesis.
79427
79428 2011-12-01 Andreas Schwab <schwab@redhat.com>
79429
79430 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79431 falling back to utime.
79432
79433 2011-11-30 Andreas Schwab <schwab@redhat.com>
79434
79435 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79436 expectations for float.
79437
79438 2011-11-29 Andreas Schwab <schwab@redhat.com>
79439
79440 * locale/weight.h (findidx): Add parameter len.
79441 * locale/weightwc.h (findidx): Likewise.
79442 * posix/fnmatch_loop.c (FCT): Adjust caller.
79443 * posix/regcomp.c (build_equiv_class): Likewise.
79444 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79445 * posix/regexec.c (check_node_accept_bytes): Likewise.
79446 * string/strcoll_l.c (STRCOLL): Likewise.
79447 * string/strxfrm_l.c (STRXFRM): Likewise.
79448
79449 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79450
79451 * Makefile.in: Remove CVSOPT handling.
79452 * configure.in: Remove use of AC_REVISION.
79453 * iconvdata/Makefile (distribute): No need to filter out CVS.
79454 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79455 handling.
79456
79457 2011-11-16 Andreas Schwab <schwab@redhat.com>
79458
79459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79460 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79461 [USE_AS_STRNCASECMP_L]: Likewise.
79462 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79463 NO_TLS_DIRECT_SEG_REFS.
79464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79465 Fix argument offsets for non-PIC.
79466 [USE_AS_STRNCASECMP_L]: Likewise.
79467 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79468 NO_TLS_DIRECT_SEG_REFS.
79469
79470 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79471
79472 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79473 O_CLOEXEC.
79474 * locale/loadlocale.c (_nl_load_locale): Likewise.
79475
79476 2011-11-15 Andreas Schwab <schwab@redhat.com>
79477
79478 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79479 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79480 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79481 (SYSCALL_GETTIME): Set errno on error.
79482
79483 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79484 count references to noai6ai_cached.
79485
79486 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79487
79488 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79489
79490 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79491 FD_CLOEXEC for /proc/self/maps.
79492
79493 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79494 FD_CLOEXEC for /proc/meminfo.
79495
79496 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79497 gai.conf.
79498
79499 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79500 FD_CLOEXEC for given file.
79501
79502 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79503
79504 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79505 FD_CLOEXEC for /etc/hosts.
79506 (_gethtent): Likewise.
79507
79508 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79509
79510 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79511 cancellation and set FD_CLOEXEC for /etc/netgroup.
79512
79513 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79514 reading /etc/publickey.
79515
79516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79517 allow cancellation when reading /etc/group.
79518
79519 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79520 cancellation.
79521 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79522
79523 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79524 when using data file.
79525
79526 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79527
79528 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79529 (write_nis_obj): Use "c" and "e" in fopen.
79530
79531 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79532
79533 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79534
79535 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79536
79537 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79538
79539 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79540 locale.alias.
79541
79542 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79543
79544 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79545
79546 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79547
79548 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79549 file parsing and set FD_CLOEXEC.
79550
79551 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79552
79553 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79554
79555 2011-11-14 Andreas Schwab <schwab@redhat.com>
79556
79557 * malloc/arena.c (arena_get2): Don't call reused_arena when
79558 _int_new_arena failed.
79559
79560 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79561
79562 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79563 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79564 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79565 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79566 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79568 to compile strcasecmp and strncasecmp.
79569 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79570 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79571
79572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79573
79574 2011-11-13 Ulrich Drepper <drepper@gmail.com>
79575
79576 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79577 locale-defines.sym to gen-as-const-headers.
79578 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79579 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79581 to compile strcasecmp and strncasecmp.
79582 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79583 strcasecmp_l and strncasecmp_l.
79584 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79585 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79586 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79587 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79588 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79589 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79590 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79591 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79592 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79593 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79594 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79595
79596 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79597
79598 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79599 result of SYSDEP_GETTIME_CPU to retval.
79600 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79601 parameter list to macro. Remove trailing semicolon. Adjust users.
79602
79603 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79604 variable.
79605
79606 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79607 mantissa words.
79608 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79609
79610 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79611 from unused variable.
79612
79613 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79614 DWARF definitions.
79615 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79616 for assembling.
79617
79618 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79619 over namespaces.
79620
79621 * sunrpc/rpc_prot.c (rejected): Fix case value.
79622
79623 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79624 unsigned long long int to avoid warnings in shift.
79625
79626 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79627 of use of trans.
79628 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79629 variable tmp.
79630
79631 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79632 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79633 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79634
79635 * nis/nis_table.c (nis_list): Use variable of correct type for
79636 result of __follow_path call.
79637
79638 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79639
79640 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79641 of math functions ceil, trunc, floor, round, and sqrt, when
79642 avaliable on the platform.
79643 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79644 name clash.
79645 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79646 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79647 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79648
79649 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79650
79651 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79652 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79653
79654 2011-11-11 Roland McGrath <roland@hack.frob.com>
79655
79656 * include/unistd.h: Fix __readlink return type.
79657 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79658
79659 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79660
79661 * stdlib/ucontext.h: Undo last change for makecontext.
79662
79663 2011-11-11 Andreas Schwab <schwab@redhat.com>
79664
79665 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79666
79667 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79668 * setjmp/setjmp.h: Mark functions as non-leaf.
79669 * setjmp/bits/setjmp2.h: Likewise.
79670 * stdlib/ucontext.h: Likewise.
79671
79672 2011-11-10 Andreas Schwab <schwab@redhat.com>
79673
79674 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79675 (reused_arena): Don't check arena limit.
79676 (arena_get2): Atomically check arena limit.
79677
79678 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79679
79680 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79681 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79682
79683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79684 instructions.
79685
79686 2011-11-07 Andreas Schwab <schwab@redhat.com>
79687
79688 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79689 handler when locking.
79690
79691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79692 Fix size of allocated buffer.
79693
79694 2011-11-04 Andreas Schwab <schwab@redhat.com>
79695
79696 [BZ #10103]
79697 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79698 declarations for long double functions.
79699 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79700
79701 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79702
79703 2011-11-03 Andreas Schwab <schwab@redhat.com>
79704
79705 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79706 installed.
79707
79708 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79709 is disabled.
79710
79711 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79712
79713 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79714
79715 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79716
79717 * include/alloca.h (stackinfo_alloca_round): Define.
79718 (extend_alloca): Use it.
79719 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79720 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79721 here.
79722
79723 * scripts/check-local-headers.sh: Ignore libaudit.h.
79724
79725 * nscd/Makefile (extra-objs): Make recursively expanded.
79726
79727 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79728
79729 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79731
79732 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79733 * posix/tst-rfc3484-2.c: Likewise.
79734 * posix/tst-rfc3484-3.c: Likewise.
79735
79736 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79737 process_vm_writev.
79738 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79739 process_vm_writev.
79740 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79741 process_vm_writev from libc using GLIBC_2.15 version.
79742
79743 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79744
79745 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79746
79747 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79748 stack usage.
79749
79750 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79751
79752 [BZ #13367]
79753 * nss/getent.c (initgroups_keys): Show error message in case no group
79754 names are given.
79755
79756 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79757 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79758 __bump_nl_timestamp.
79759 * nscd/connections (nscd_init): When host database is served open
79760 netlink socket and request notification about configuration changes.
79761 (main_loop_poll): Track netlink file descriptor and bump timestamp
79762 in case data becomes available.
79763 (main_loop_epoll): Likewise.
79764 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79765 (database_pers_head): Add extra_data fileds.
79766 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79767 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79768 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79769 Adjust caller.
79770 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79771 in6ai data, call __free_in6ai.
79772 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79773 Add -DHAVE_NETLINK.
79774 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79775 interface information. Reuse previous data if netlink timestamp
79776 is not changed.
79777 (__bump_nl_timestamp): New function.
79778 (__free_in6ai): New function.
79779
79780 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79781
79782 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79783 close_not_cancel_no_status here.
79784 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79785
79786 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79787
79788 [BZ #13276]
79789 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79790 return value.
79791
79792 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79793 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79794 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79795
79796 2011-07-03 Andreas Jaeger <aj@suse.de>
79797
79798 [BZ #10709]
79799 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79800 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79801 * math/libm-test.inc (sin_test): Add test case.
79802
79803 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79804
79805 [BZ #13337]
79806 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79807 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79808
79809 * elf/chroot_canon.c (chroot_canon): Cleanups.
79810
79811 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79812
79813 [BZ #13335]
79814 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79815 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79816
79817 * string/test-strchr.c: Make usable for strchrnul testing.
79818 * string/test-strchrnul.c: New file.
79819 * string/Makefile (strop-tests): Add strchrnul.
79820
79821 * po/it.po: Update from translation team.
79822 * po/es.po: Likewise.
79823
79824 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79825
79826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79827 the three constants needed as parameters. Drop the others.
79828 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79829 __m128i_strloadu_tolower.
79830 Create and initialize variable zero and use it in all the places
79831 where _mm_setzero_si128 was used.
79832
79833 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79834 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79835 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79836 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79837 anymore.
79838 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79839 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79840 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79841 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79842 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79843 __mpranred, __mptan.
79844 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79845 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79846 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79847 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79848 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79849 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79850 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79851 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79852 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79853
79854 2011-10-28 Andreas Schwab <schwab@redhat.com>
79855
79856 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79857 redefine if SHARED.
79858 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79859
79860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79861 wide char related routines to wcsmbs subdir.
79862
79863 2011-10-27 Andreas Schwab <schwab@redhat.com>
79864
79865 [BZ #13344]
79866 * misc/sys/cdefs.h (__THROWNL): Define.
79867 * posix/unistd.h: Use __THREADNL instead of __THREAD
79868 for memory synchronization functions.
79869
79870 2011-10-26 Roland McGrath <roland@hack.frob.com>
79871
79872 [BZ #13349]
79873 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79874 doesn't exist.
79875 * manual/stdio.texi (Obstack Streams): Node removed.
79876
79877 2011-10-26 Andreas Schwab <schwab@redhat.com>
79878
79879 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79880 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79881 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79882
79883 * math/math_private.h (math_force_eval): Allow non-addressable
79884 arguments.
79885 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79886
79887 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79888
79889 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79890 file is not needed.
79891
79892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79893 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79894 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79895 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79896 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79899 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79900 Add AVX variants.
79901 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79902 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79903 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79904 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79905 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79906 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79907 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79908 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79909 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79910 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79911 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79912 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79913 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79914 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79915 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79916 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79917 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79918 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79919 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79920
79921 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79922 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79923
79924 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79925 place. Use VEX encoding when compiling for AVX.
79926
79927 2011-10-25 Andreas Schwab <schwab@redhat.com>
79928
79929 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79930 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79931
79932 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79933
79934 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79935
79936 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79937 useless if() expression.
79938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79939 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79940 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79941 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79942 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79943 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79944 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79946 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79947 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79948 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79950 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79951 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79952 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79953 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79954 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79955 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79956 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79957
79958 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79959
79960 2011-10-25 Andreas Schwab <schwab@redhat.com>
79961
79962 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79963 condition.
79964 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79965
79966 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79967
79968 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79969 .text section. Avoid duplicate constants.
79970 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79972 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79978 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79979 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79980 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79981 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79982 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79983 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79984 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79985 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79986 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79987 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79988 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79990 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79991 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79992 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79994 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79995 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79996 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79997 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79998 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79999 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80000 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80001 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80002 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80003 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80004 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80005 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80006 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80007 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80008 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80009 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80010 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80011 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80012 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80013 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80014 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80015
80016 2011-10-24 Ulrich Drepper <drepper@gmail.com>
80017
80018 * sysdeps/x86_64/dla.h: Move to ...
80019 * sysdeps/x86_64/fpu/dla.h: ...here.
80020 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80021 situations. Use __builtin_fma only for gcc 4.6 and up.
80022
80023 * config.make.in: Add have-mfma4 entry.
80024 * configure.in: Substitute libc_cv_cc_fma4.
80025 * math/Makefile (dbl-only-routines): Add sincostab.
80026 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80027 Use __sincostab not sincos.
80028 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80029 name is a macro.
80030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80034 using __copysign.
80035 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80036 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80037 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80038 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80039 and __inv.
80040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80041 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80042 __copysign.
80043 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80044 define aliases when function name is a macro.
80045 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80046 sysdeps/ieee754/dbl-64/sincos.tbl.
80047 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80048 fma4-enabled routines.
80049 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80050 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80051 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80052 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80053 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80054 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80055 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80056 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80057 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80058 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80059 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80060 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80061 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80062 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80063 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80064 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80065 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80066 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80067 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80068 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80069 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80070 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80071 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80075 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80076 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80077 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80078 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80079
80080 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80081 rename.
80082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80085 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80086 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80090
80091 2011-10-24 Andreas Schwab <schwab@redhat.com>
80092
80093 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80094
80095 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80096
80097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80098
80099 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80100 prediction.
80101 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80102
80103 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80104 Remove unused variable magic_bits.
80105 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80106
80107 * string/strnlen.c: Define and use STRNLEN macro.
80108 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80109 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80110 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80111 * wcsmbs/wcslen.c: Define and use WCSLEN.
80112 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80113 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80114 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80115 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80116 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80117 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80118 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80119
80120 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80121
80122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80123 strnlen-sse2-no-bsf.
80124 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80125 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80126 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80127 Add strnlen support.
80128 (USE_AS_STRNLEN): New macro.
80129 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80131 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80132 * sysdeps/x86_64/wcslen.S: New file.
80133
80134 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80135
80136 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80137 XMM-moves are used for copying on small sizes.
80138
80139 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80140
80141 * wcsmbs/Makefile (strop-tests): Add wcschr.
80142 * wcsmbs/test-wcschr.c: New file.
80143 * string/test-strchr.c: Update.
80144 Add wcschr support.
80145 (WIDE): New macro.
80146
80147 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80148
80149 * wcsmbs/Makefile (strop-tests): Add wcslen.
80150 * wcsmbs/test-wcslen.c: New file.
80151 * string/test-strlen.c: Update.
80152 Add wcslen support.
80153 (WIDE): New macro.
80154
80155 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80156
80157 * po/it.po: Update from translation team.
80158
80159 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80160
80161 * sysdeps/x86_64/wcscmp.S: Update.
80162 Fix wrong comparison semantics.
80163 wcscmp shall use signed comparison not unsigned.
80164 Don't use substraction to avoid overflow bug.
80165 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80166 * wcsmbc/wcscmp.c: Likewise.
80167 * string/test-strcmp.c: Likewise.
80168 Add new tests to check cases with negative values.
80169
80170 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80171
80172 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80173 * sysdeps/x86_64/dla.h: ...here. New file.
80174 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80183
80184 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80185
80186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80187 __ynl_finite aliases.
80188
80189 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80190
80191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80192
80193 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80194 define DLA_FMA.
80195 [DLA_FMA] (EMULV): Use DLA_FMA.
80196 [DLA_FMA] (MUL12): Use EMULV.
80197 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80198 that are not needed.
80199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80204 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80206
80207 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80208
80209 * math/s_nan.c: Undef __nan.
80210 * math/s_nanf.c: Undef __nanf.
80211 * math/s_nanl.c: Undef __nanl.
80212 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80213 "math_private.h".
80214
80215 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80216
80217 * math/s_catan.c: Add branch predictions.
80218 * math/s_catanf.c: Likewise.
80219 * math/s_catanh.c: Likewise.
80220 * math/s_catanhf.c: Likewise.
80221 * math/s_catanhl.c: Likewise.
80222 * math/s_catanl.c: Likewise.
80223 * math/s_cexp.c: Likewise.
80224 * math/s_cexpf.c: Likewise.
80225 * math/s_cexpl.c: Likewise.
80226 * math/s_clog.c: Likewise.
80227 * math/s_clog10.c: Likewise.
80228 * math/s_clog10f.c: Likewise.
80229 * math/s_clog10l.c: Likewise.
80230 * math/s_clogf.c: Likewise.
80231 * math/s_clogl.c: Likewise.
80232 * math/s_csqrt.c: Likewise.
80233 * math/s_csqrtf.c: Likewise.
80234 * math/s_csqrtl.c: Likewise.
80235 * math/s_ctanf.c: Likewise.
80236 * math/s_ctanh.c: Likewise.
80237 * math/s_ctanhf.c: Likewise.
80238 * math/s_ctanhl.c: Likewise.
80239 * math/s_ctanl.c: Likewise.
80240
80241 * math/math_private.h: Define __nan, __nanf, __nanl.
80242 * math/s_cacosh.c: Include <math_private.h>.
80243 * math/s_cacoshl.c: Likewise.
80244 * math/s_casinh.c: Likewise.
80245 * math/s_casinhf.c: Likewise.
80246 * math/s_casinhl.c: Likewise.
80247 * math/s_ccos.c: Rely entire on ccosh.
80248 * math/s_ccosf.c: Rely entire on ccoshf.
80249 * math/s_ccosl.c: Rely entirely on ccoshl.
80250 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80251 Remove tests for FE_INVALID.
80252 * math/s_ccoshf.c: Likewise.
80253 * math/s_ccoshl.c: Likewise.
80254 * math/s_csin.c: Likewise.
80255 * math/s_csinf.c: Likewise.
80256 * math/s_csinh.c Likewise.
80257 * math/s_csinhf.c: Likewise.
80258 * math/s_csinhl.c: Likewise.
80259 * math/s_csinl.c: Likewise.
80260 * math/s_ctan.c: Likewise.
80261 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80262 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80263 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80264
80265 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80266
80267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80268 compilation problems.
80269
80270 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80271 __builtin_expect.
80272
80273 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80274
80275 * sysdeps/i386/configure.in: Test for -mfma4 option.
80276 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80277 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80278 COMMON_CPUID_INDEX_80000001.
80279 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80280 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80281 use it if FMA3 is not supported.
80282 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80283
80284 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80285 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80286
80287 2011-10-20 Andreas Schwab <schwab@redhat.com>
80288
80289 [BZ #12892]
80290 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80291 it would create a cycle with a link time dependency.
80292
80293 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80294
80295 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80296 instruction.
80297 * string/Makefile (strop-tests): Add rawmemchr.
80298 * string/test-rawmemchr.c: New file.
80299
80300 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80301 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80302 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80303 when compiling str{,n}casecmp and when AVX is available. Hook up
80304 new optimized code in initializers.
80305
80306 2011-10-19 Andreas Schwab <schwab@redhat.com>
80307
80308 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80309 __feraiseexcept instead of feraiseexcept.
80310
80311 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80312
80313 * math/math_private.h: Define defaults for libc_fetestexcept and
80314 libc_feupdateenv.
80315 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80316 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80317 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80318 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80319 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80320 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80321 libc_fetestexcept and libc_feupdateenv.
80322
80323 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80324 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80325 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80326 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80327 libc_feholdexcept_setround.
80328
80329 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80330 Add s_nearbyint-c and s_nearbyintf-c.
80331 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80332 nearbyintf inlines.
80333 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80334 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80335 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80336 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80337
80338 * math/math_private.h: Define defaults for libc_fegetround,
80339 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80340 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80341 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80342 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80343 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80344 standard functions.
80345 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80346 Remove comments and hacks for old compiler versions.
80347 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80348 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80349 libc_feholdexceptl.
80350
80351 2011-10-18 Andreas Schwab <schwab@redhat.com>
80352
80353 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80354 (__feraiseexcept_renamed): Add __NTH.
80355 (feraiseexcept): Add __NTH. Rename local variables to fix
80356 namespace violations.
80357
80358 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80359
80360 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80361
80362 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80363
80364 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80365 recently added interfaces.
80366 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80367
80368 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80369 about macro parameter expansion.
80370
80371 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80372 __NO_MATH_INLINES is defined. Cleanups.
80373
80374 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80375 and __floorf is target has SSE4.1.
80376 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80377 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80378 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80379 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80380
80381 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80382 name.
80383 (floorf): Likewise.
80384
80385 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80386
80387 2011-10-17 Andreas Schwab <schwab@redhat.com>
80388
80389 * misc/sys/cdefs.h: Fix last change.
80390
80391 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80392 database lookup.
80393
80394 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80395
80396 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80397
80398 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80399 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80400 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80401 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80403 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80404 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80405 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80406 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80407 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80408 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80409 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80410 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80411 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80412 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80413 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80414 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80415 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80416 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80417 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80418 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80419 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80420
80421 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80422 ceil, ceilf, floor, floorf.
80423
80424 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80425 Perform IRELATIVE relocations last.
80426
80427 * elf/do-rel.h: Add another parameter nrelative, replacing the
80428 local variable with the same name. Change name of the function
80429 to end in Rel or Rela (uppercase).
80430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80431 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80432 elf_dynamic_do_##reloc function.
80433
80434 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80435
80436 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80437 is sufficient, at least on modern CPUs.
80438
80439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80440
80441 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80442 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80443
80444 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80445 __expl_finite.
80446 * math/bits/math-finite.h: Add entries for exp.
80447 * math/e_expl.c: Add __*_finite alias.
80448 * sysdeps/i386/fpu/e_exp.S: Likewise.
80449 * sysdeps/i386/fpu/e_expf.S: Likewise.
80450 * sysdeps/i386/fpu/e_expl.c: Likewise.
80451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80452 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80453 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80455 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80456 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80457 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80458
80459 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80460 is sufficient, at least on modern CPUs.
80461
80462 * ctype/ctype-info.c (__ctype_init): Define.
80463 * include/ctype.h (__ctype_init): Declare.
80464 (__ctype_b_loc): The variable is always initialized.
80465 (__ctype_toupper_loc): Likewise.
80466 (__ctype_tolower_loc): Likewise.
80467 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80468 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80469
80470 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80471
80472 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80473
80474 * configure.in: Also look in $cxxmachine/include for C++ system
80475 headers.
80476
80477 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80478
80479 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80480 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80481 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80482 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80484 (USE_AS_WMEMCMP): New macro.
80485 Fixing indents.
80486 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80487 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80488 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80489 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80491 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80492 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80493 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80494 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80495 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80497 (USE_AS_WMEMCMP): New macro.
80498 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80499 * sysdeps/string/test-memcmp.c: Update.
80500 Fix simple_wmemcmp.
80501 Add new tests.
80502 * wcsmbs/wmemcmp.c: Update.
80503 (WMEMCMP): New macro.
80504 Fix overflow bug.
80505
80506 2011-10-12 Andreas Jaeger <aj@suse.de>
80507
80508 [BZ #13268]
80509 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80510
80511 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80512
80513 * libio/iofwide.c (do_length): Avoid warning.
80514
80515 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80516
80517 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80518
80519 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80520
80521 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80522 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80523 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80524 * sysdeps/i386/i686/fpu/e_log.S: New file.
80525 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80526 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80527
80528 * ctype/ctype.h: Add support for inlined isXXX functions when
80529 compiling C++ code.
80530
80531 2011-10-14 Andreas Schwab <schwab@redhat.com>
80532
80533 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80534
80535 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80536
80537 2011-10-13 Roland McGrath <roland@hack.frob.com>
80538
80539 [BZ #13291]
80540 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80541
80542 2011-10-13 Andreas Schwab <schwab@redhat.com>
80543
80544 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80545 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80546 feraiseexcept.
80547
80548 * sysdeps/x86_64/memrchr.S: Check for zero size.
80549
80550 * string/stratcliff.c: Add memrchr tests.
80551
80552 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80553
80554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80555 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80556 rawmemchr-sse2 rawmemchr-sse2-bsf.
80557 * sysdeps/i386/i686/multiarch/memchr.S: New file.
80558 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80559 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80560 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80561 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80562 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80563 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80564 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80565 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80566 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80567 * string/memrchr.c (MEMRCHR): New macro.
80568
80569 2011-10-12 Ulrich Drepper <drepper@gmail.com>
80570
80571 Add integration with gcc's -ffinite-math-only and optimize wrapper
80572 functions in libm.
80573 * Versions.def: Define GLIBC_2.15 version for libm.
80574 * math/Makefile (headers): Add bits/math-finite.h.
80575 * math/bits/math-finite.h: New file.
80576 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80577 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80578 * math/e_acoshl.c: Add __*_finite alias.
80579 * math/e_acosl.c: Likewise.
80580 * math/e_asinl.c: Likewise.
80581 * math/e_atan2l.c: Likewise.
80582 * math/e_atanhl.c: Likewise.
80583 * math/e_coshl.c: Likewise.
80584 * math/e_exp10.c: Likewise.
80585 * math/e_exp10f.c: Likewise.
80586 * math/e_exp10l.c: Likewise.
80587 * math/e_exp2l.c: Likewise.
80588 * math/e_fmodl.c: Likewise.
80589 * math/e_gammal_r.c: Likewise.
80590 * math/e_hypotl.c: Likewise.
80591 * math/e_j0l.c: Likewise.
80592 * math/e_j1l.c: Likewise.
80593 * math/e_jnl.c: Likewise.
80594 * math/e_lgammal_r.c: Likewise.
80595 * math/e_log10l.c: Likewise.
80596 * math/e_log2l.c: Likewise.
80597 * math/e_logl.c: Likewise.
80598 * math/e_powl.c: Likewise.
80599 * math/e_sinhl.c: Likewise.
80600 * math/e_sqrtl.c: Likewise.
80601 * math/e_scalb.c: Completely rewritten and optimized.
80602 * math/e_scalbf.c: Likewise.
80603 * math/e_scalbl.c: Likewise.
80604 * math/w_acos.c: Likewise.
80605 * math/w_acosf.c: Likewise.
80606 * math/w_acosl.c: Likewise.
80607 * math/w_acosh.c: Likewise.
80608 * math/w_acoshf.c: Likewise.
80609 * math/w_acoshl.c: Likewise.
80610 * math/w_asin.c: Likewise.
80611 * math/w_asinf.c: Likewise.
80612 * math/w_asinl.c: Likewise.
80613 * math/w_atan2.c: Likewise.
80614 * math/w_atan2f.c: Likewise.
80615 * math/w_atan2l.c: Likewise.
80616 * math/w_atanh.c: Likewise.
80617 * math/w_atanhf.c: Likewise.
80618 * math/w_atanhl.c: Likewise.
80619 * math/w_exp10.c: Likewise.
80620 * math/w_exp10f.c: Likewise.
80621 * math/w_exp10l.c: Likewise.
80622 * math/w_fmod.c: Likewise.
80623 * math/w_fmodf.c: Likewise.
80624 * math/w_fmodl.c: Likewise.
80625 * math/w_j0.c: Likewise.
80626 * math/w_j0f.c: Likewise.
80627 * math/w_j0l.c: Likewise.
80628 * math/w_j1.c: Likewise.
80629 * math/w_j1f.c: Likewise.
80630 * math/w_j1l.c: Likewise.
80631 * math/w_jn.c: Likewise.
80632 * math/w_jnf.c: Likewise.
80633 * math/w_log.c: Likewise.
80634 * math/w_logf.c: Likewise.
80635 * math/w_logl.c: Likewise.
80636 * math/w_log10.c: Likewise.
80637 * math/w_log10f.c: Likewise.
80638 * math/w_log10l.c: Likewise.
80639 * math/w_log2.c: Likewise.
80640 * math/w_log2f.c: Likewise.
80641 * math/w_log2l.c: Likewise.
80642 * math/w_pow.c: Likewise.
80643 * math/w_powf.c: Likewise.
80644 * math/w_powl.c: Likewise.
80645 * math/w_remainder.c: Likewise.
80646 * math/w_remainderf.c: Likewise.
80647 * math/w_remainderl.c: Likewise.
80648 * math/w_scalb.c: Likewise.
80649 * math/w_scalbf.c: Likewise.
80650 * math/w_scalbl.c: Likewise.
80651 * math/w_sqrt.c: Likewise.
80652 * math/w_sqrtf.c: Likewise.
80653 * math/w_sqrtl.c: Likewise.
80654 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80655 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80656 used.
80657 * math/math_private.h: Declare __kernel_standard_f.
80658 * math/w_cosh.c: Remove cruft and optimize a bit.
80659 * math/w_coshf.c: Likewise.
80660 * math/w_coshl.c: Likewise.
80661 * math/w_exp2.c: Likewise.
80662 * math/w_exp2f.c: Likewise.
80663 * math/w_exp2l.c: Likewise.
80664 * math/w_hypot.c: Likewise.
80665 * math/w_hypotf.c: Likewise.
80666 * math/w_hypotl.c: Likewise.
80667 * math/w_lgamma.c: Likewise.
80668 * math/w_lgamma_r.c: Likewise.
80669 * math/w_lgammaf.c: Likewise.
80670 * math/w_lgammaf_r.c: Likewise.
80671 * math/w_lgammal.c: Likewise.
80672 * math/w_lgammal_r.c: Likewise.
80673 * math/w_sinh.c: Likewise.
80674 * math/w_sinhf.c: Likewise.
80675 * math/w_sinhl.c: Likewise.
80676 * math/w_tgamma.c: Likewise.
80677 * math/w_tgammaf.c: Likewise.
80678 * math/w_tgammal.c: Likewise.
80679 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80680 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80681 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80682 Minor optimizations. Pretty printing. Remove cruft.
80683 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80684 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80685 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80687 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80688 * sysdeps/i386/fpu/e_asin.S: Likewise.
80689 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80690 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80691 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80692 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80693 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80694 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80695 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80696 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80697 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80698 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80699 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80700 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80701 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80702 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80703 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80704 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80705 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80706 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80707 * sysdeps/i386/fpu/e_log.S: Likewise.
80708 * sysdeps/i386/fpu/e_log10.S: Likewise.
80709 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80710 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80711 * sysdeps/i386/fpu/e_log2.S: Likewise.
80712 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80713 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80714 * sysdeps/i386/fpu/e_logf.S: Likewise.
80715 * sysdeps/i386/fpu/e_logl.S: Likewise.
80716 * sysdeps/i386/fpu/e_pow.S: Likewise.
80717 * sysdeps/i386/fpu/e_powf.S: Likewise.
80718 * sysdeps/i386/fpu/e_powl.S: Likewise.
80719 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80720 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80721 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80723 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80724 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80725 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80726 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80727 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80728 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80729 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80730 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80731 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80732 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80733 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80734 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80735 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80736 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80737 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80738 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80739 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80741 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80742 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80744 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80745 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80748 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80749 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80750 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80751 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80752 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80753 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80754 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80755 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80756 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80757 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80758 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80759 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80760 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80761 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80762 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80763 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80764 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80765 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80766 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80767 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80768 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80769 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80770 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80771 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80773 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80774 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80775 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80776 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80777 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80778 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80779 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80780 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80781 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80782 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80783 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80784 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80785 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80786 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80787 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80788 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80792 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80798 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80799 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80802 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80803 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80804 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80807 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80809 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80810 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80812 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80813 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80814 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80815 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80816 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80817 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80818 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80821 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80823 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80824 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80825 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80826 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80827 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80828 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80829 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80830 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80831 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80832 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80833 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80834 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80835 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80836 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80837 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80838 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80839 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80840 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80841 (__isnanf): Likewise.
80842 (__isinf_ns): Likewise.
80843 (__isinf_nsf): Likewise.
80844 (__finite): Likewise.
80845 (__finitef): Likewise.
80846 (__ieee754_sqrt): Define as macro.
80847 (__ieee754_sqrtf): Define as macro.
80848 (__ieee754_sqrtl): Define as macro.
80849 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80850 inlined copy.
80851 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80852 __FINITE_MATH_ONLY__ consistent.
80853 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80854
80855 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80856
80857 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80858 of rawmemchr.
80859
80860 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80861
80862 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80863
80864 * po/ja.po: Update from translation team.
80865
80866 2011-10-08 Roland McGrath <roland@hack.frob.com>
80867
80868 * locale/programs/locarchive.c (prepare_address_space): New function.
80869 (create_archive, enlarge_archive, open_archive): Use it.
80870
80871 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80872 inside [SHARED], where it is used.
80873
80874 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80875
80876 * nss/getent.c (netgroup_keys): Remove unused variable.
80877 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80878
80879 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80880
80881 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80882 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80884 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80885 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80886 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80887 * math/Makefile (libm-calls): Add s_isinf_ns.
80888 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80889 * math/multc3.c: Likewise.
80890 * math/s_casin.c: Likewise.
80891 * math/s_casinf.c: Likewise.
80892 * math/s_casinl.c: Likewise.
80893 * math/s_ccos.c: Likewise.
80894 * math/s_ccosf.c: Likewise.
80895 * math/s_ccosl.c: Likewise.
80896 * math/s_ctan.c: Likewise.
80897 * math/s_ctanf.c: Likewise.
80898 * math/s_ctanh.c: Likewise.
80899 * math/s_ctanhf.c: Likewise.
80900 * math/s_ctanhl.c: Likewise.
80901 * math/s_ctanl.c: Likewise.
80902 * math/w_fmod.c: Likewise.
80903 * math/w_fmodf.c: Likewise.
80904 * math/w_fmodl.c: Likewise.
80905 * math/w_remainder.c: Likewise.
80906 * math/w_remainderf.c: Likewise.
80907 * math/w_remainderl.c: Likewise.
80908 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80909 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80910 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80912 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80913 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80914 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80915 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80916
80917 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80918 of the number.
80919 * stdio-common/printf_fphex.c: Likewise.
80920 * stdio-common/printf_size.c: Likewise.
80921
80922 * math/e_exp10.c: Include math_private.h using <...> not "...".
80923 * math/e_exp10f.c: Likewise.
80924 * math/e_exp10l.c: Likewise.
80925 * math/e_exp2l.c: Likewise.
80926 * math/e_j0l.c: Likewise.
80927 * math/e_j1l.c: Likewise.
80928 * math/e_jnl.c: Likewise.
80929 * math/e_lgammal_r.c: Likewise.
80930 * math/e_rem_pio2l.c: Likewise.
80931 * math/e_scalb.c: Likewise.
80932 * math/e_scalbf.c: Likewise.
80933 * math/e_scalbl.c: Likewise.
80934 * math/k_cosl.c: Likewise.
80935 * math/k_sinl.c: Likewise.
80936 * math/k_tanl.c: Likewise.
80937 * math/s_cacoshf.c: Likewise.
80938 * math/s_catan.c: Likewise.
80939 * math/s_catanf.c: Likewise.
80940 * math/s_catanh.c: Likewise.
80941 * math/s_catanhf.c: Likewise.
80942 * math/s_catanhl.c: Likewise.
80943 * math/s_catanl.c: Likewise.
80944 * math/s_ccosh.c: Likewise.
80945 * math/s_ccoshf.c: Likewise.
80946 * math/s_ccoshl.c: Likewise.
80947 * math/s_cexp.c: Likewise.
80948 * math/s_cexpf.c: Likewise.
80949 * math/s_cexpl.c: Likewise.
80950 * math/s_clog.c: Likewise.
80951 * math/s_clog10.c: Likewise.
80952 * math/s_clog10f.c: Likewise.
80953 * math/s_clog10l.c: Likewise.
80954 * math/s_clogf.c: Likewise.
80955 * math/s_clogl.c: Likewise.
80956 * math/s_csin.c: Likewise.
80957 * math/s_csinf.c: Likewise.
80958 * math/s_csinh.c: Likewise.
80959 * math/s_csinhf.c: Likewise.
80960 * math/s_csinhl.c: Likewise.
80961 * math/s_csinl.c: Likewise.
80962 * math/s_csqrt.c: Likewise.
80963 * math/s_csqrtf.c: Likewise.
80964 * math/s_csqrtl.c: Likewise.
80965 * math/s_ctan.c: Likewise.
80966 * math/s_ctanf.c: Likewise.
80967 * math/s_ctanh.c: Likewise.
80968 * math/s_ctanhf.c: Likewise.
80969 * math/s_ctanhl.c: Likewise.
80970 * math/s_ctanl.c: Likewise.
80971 * math/s_ldexp.c: Likewise.
80972 * math/s_ldexpf.c: Likewise.
80973 * math/s_ldexpl.c: Likewise.
80974 * math/s_significand.c: Likewise.
80975 * math/s_significandf.c: Likewise.
80976 * math/s_significandl.c: Likewise.
80977 * math/w_acos.c: Likewise.
80978 * math/w_acosf.c: Likewise.
80979 * math/w_acosh.c: Likewise.
80980 * math/w_acoshf.c: Likewise.
80981 * math/w_acoshl.c: Likewise.
80982 * math/w_acosl.c: Likewise.
80983 * math/w_asin.c: Likewise.
80984 * math/w_asinf.c: Likewise.
80985 * math/w_asinl.c: Likewise.
80986 * math/w_atan2.c: Likewise.
80987 * math/w_atan2f.c: Likewise.
80988 * math/w_atan2l.c: Likewise.
80989 * math/w_atanh.c: Likewise.
80990 * math/w_atanhf.c: Likewise.
80991 * math/w_atanhl.c: Likewise.
80992 * math/w_cosh.c: Likewise.
80993 * math/w_coshf.c: Likewise.
80994 * math/w_coshl.c: Likewise.
80995 * math/w_dremf.c: Likewise.
80996 * math/w_exp10.c: Likewise.
80997 * math/w_exp10f.c: Likewise.
80998 * math/w_exp10l.c: Likewise.
80999 * math/w_exp2.c: Likewise.
81000 * math/w_exp2f.c: Likewise.
81001 * math/w_fmod.c: Likewise.
81002 * math/w_fmodf.c: Likewise.
81003 * math/w_fmodl.c: Likewise.
81004 * math/w_hypot.c: Likewise.
81005 * math/w_hypotf.c: Likewise.
81006 * math/w_hypotl.c: Likewise.
81007 * math/w_j0.c: Likewise.
81008 * math/w_j0f.c: Likewise.
81009 * math/w_j0l.c: Likewise.
81010 * math/w_j1.c: Likewise.
81011 * math/w_j1f.c: Likewise.
81012 * math/w_j1l.c: Likewise.
81013 * math/w_jn.c: Likewise.
81014 * math/w_jnf.c: Likewise.
81015 * math/w_jnl.c: Likewise.
81016 * math/w_lgamma.c: Likewise.
81017 * math/w_lgamma_r.c: Likewise.
81018 * math/w_lgammaf.c: Likewise.
81019 * math/w_lgammaf_r.c: Likewise.
81020 * math/w_lgammal.c: Likewise.
81021 * math/w_lgammal_r.c: Likewise.
81022 * math/w_log.c: Likewise.
81023 * math/w_log10.c: Likewise.
81024 * math/w_log10f.c: Likewise.
81025 * math/w_log10l.c: Likewise.
81026 * math/w_log2.c: Likewise.
81027 * math/w_log2f.c: Likewise.
81028 * math/w_log2l.c: Likewise.
81029 * math/w_logf.c: Likewise.
81030 * math/w_logl.c: Likewise.
81031 * math/w_pow.c: Likewise.
81032 * math/w_powf.c: Likewise.
81033 * math/w_powl.c: Likewise.
81034 * math/w_remainder.c: Likewise.
81035 * math/w_remainderf.c: Likewise.
81036 * math/w_remainderl.c: Likewise.
81037 * math/w_scalb.c: Likewise.
81038 * math/w_scalbf.c: Likewise.
81039 * math/w_scalbl.c: Likewise.
81040 * math/w_sinh.c: Likewise.
81041 * math/w_sinhf.c: Likewise.
81042 * math/w_sinhl.c: Likewise.
81043 * math/w_sqrt.c: Likewise.
81044 * math/w_sqrtf.c: Likewise.
81045 * math/w_sqrtl.c: Likewise.
81046 * math/w_tgamma.c: Likewise.
81047 * math/w_tgammaf.c: Likewise.
81048 * math/w_tgammal.c: Likewise.
81049
81050 * po/ja.po: Update from translation team.
81051
81052 2011-09-29 Andreas Jaeger <aj@suse.de>
81053
81054 [BZ #13179]
81055 * sunrpc/netname.c (netname2host): Fix logic.
81056
81057 [BZ #6779]
81058 [BZ #6783]
81059 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81060 correctly.
81061 * math/w_remainder.c (__remainder): Likewise.
81062 * math/w_remainderf.c (__remainderf): Likewise.
81063 * math/libm-test.inc (remainder_test): Add test cases.
81064
81065 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81066
81067 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81068 sdiv_qrnnd.
81069
81070 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81071
81072 * string/test-memcmp.c: Avoid unncessary #defines.
81073 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81074
81075 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81076
81077 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81078 Use new sse2 version for core i3 - i7 as it's faster
81079 than sse42 version.
81080 (bit_Prefer_PMINUB_for_stringop): New.
81081 * sysdeps/x86_64/rawmemchr.S: Update.
81082 Replace with faster SSE2 version.
81083 * sysdeps/x86_64/memrchr.S: New file.
81084 * sysdeps/x86_64/memchr.S: Update.
81085 Replace with faster SSE2 version.
81086
81087 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81088
81089 * elf/dl-load.c (lose): Add cast to avoid warning.
81090
81091 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81092
81093 * po/ca.po: Update from translation team.
81094
81095 * inet/getnetgrent_r.c: Hook up nscd.
81096 * nscd/Makefile (routines): Add nscd_netgroup.
81097 (nscd-modules): Add netgroupcache.
81098 (CFLAGS-netgroupcache.c): Define.
81099 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81100 (cache_search): Add const to second parameter.
81101 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81102 INNETGR.
81103 (dbs): Add netgrdb entry.
81104 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81105 (verify_persistent_db): Handle netgrdb.
81106 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81107 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81108 GETFDNETGR.
81109 (netgroup_response_header): Define.
81110 (innetgroup_response_header): Define.
81111 (datahead): Add netgroup_response_header and innetgroup_response_header
81112 elements.
81113 * nscd/nscd.conf: Add entries for netgroup cache.
81114 * nscd/nscd.h (dbtype): Add netgrdb.
81115 (_PATH_NSCD_NETGROUP_DB): Define.
81116 (netgroup_iov_disabled): Declare.
81117 (xmalloc, xcalloc, xrealloc): Move declarations here.
81118 (cache_search): Adjust prototype.
81119 Add netgroup-related prototypes.
81120 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81121 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81122 (__nscd_innetgr): Declare.
81123 * nscd/selinux.c (perms): Use access_vector_t as element type and
81124 add netgroup-related initializers.
81125 * nscd/netgroupcache.c: New file.
81126 * nscd/nscd_netgroup.c: New file.
81127 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81128 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81129 For four parameters use innetgr.
81130 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81131 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81132 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81133 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81134
81135 * nscd/connections.c (register_traced_file): Don't register file
81136 for disabled databases.
81137
81138 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81139
81140 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81141
81142 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81143 from tree and freeing node.
81144
81145 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81146
81147 * nss/nsswitch.c (__nss_database_lookup): Handle
81148 nss_parse_service_list out of memory case.
81149
81150 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81151
81152 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81153 out of memory case.
81154
81155 2011-10-04 Andreas Schwab <schwab@redhat.com>
81156
81157 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81158 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81159 pass it down.
81160 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81161 elf_machine_rela, elf_machine_lazy_rel.
81162 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81163 (ELF_DYNAMIC_DO_REL): Likewise.
81164 (ELF_DYNAMIC_DO_RELA): Likewise.
81165 (ELF_DYNAMIC_RELOCATE): Likewise.
81166 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81167 to ELF_DYNAMIC_DO_REL.
81168 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81169 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81170 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81171 elf_machine_rela.
81172 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81173 skip_ifunc, don't call ifunc function if non-zero.
81174 (elf_machine_rela): Likewise.
81175 (elf_machine_lazy_rel): Likewise.
81176 (elf_machine_lazy_rela): Likewise.
81177 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81178 (elf_machine_lazy_rel): Likewise.
81179 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81180 Likewise.
81181 (elf_machine_lazy_rel): Likewise.
81182 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81183 Likewise.
81184 (elf_machine_lazy_rel): Likewise.
81185 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81186 (elf_machine_lazy_rel): Likewise.
81187 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81188 (elf_machine_lazy_rel): Likewise.
81189 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81190 (elf_machine_lazy_rel): Likewise.
81191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81192 (elf_machine_lazy_rel): Likewise.
81193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81194 (elf_machine_lazy_rel): Likewise.
81195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81196 (elf_machine_lazy_rel): Likewise.
81197
81198 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81199
81200 * nss/nss_files/files-init.c (_nss_files_init): Use static
81201 initialization for all the *_traced_file variables.
81202
81203 2011-09-28 Andreas Schwab <schwab@redhat.com>
81204
81205 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81206
81207 2011-09-27 Roland McGrath <roland@hack.frob.com>
81208
81209 [BZ #13226]
81210 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81211
81212 2011-09-27 Andreas Schwab <schwab@redhat.com>
81213
81214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81215 Reread the line before reparsing it.
81216
81217 2011-09-26 Andreas Schwab <schwab@redhat.com>
81218
81219 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81220
81221 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81222 Maxim Kuvyrkov <maxim@codesourcery.com>
81223 Joseph Myers <joseph@codesourcery.com>
81224
81225 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81226 if needed for __stack_chk_guard.
81227
81228 2011-09-19 Roland McGrath <roland@hack.frob.com>
81229
81230 * sysdeps/posix/spawni.c (script_execute): Always define it.
81231 It will be optimized away if unused.
81232 (maybe_script_execute): New function.
81233 (__spawni): Call it.
81234
81235 * Makerules: Don't include tls.make.
81236 (config-tls): Always set to thread.
81237 * tls.make.c: File removed.
81238
81239 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81240
81241 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81242 * config.make.in (CPPFLAGS-config): New substituted variable.
81243
81244 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81245
81246 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81247
81248 [BZ #13192]
81249 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81250 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81251
81252 2011-09-15 Roland McGrath <roland@hack.frob.com>
81253
81254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81255 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81257 (CALL_FAIL): Likewise.
81258 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81259 (CALL_FAIL): Macro removed.
81260 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81261
81262 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81263
81264 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81265 for __FINITE_MATH_ONLY__ == 1.
81266
81267 2011-09-15 Andreas Schwab <schwab@redhat.com>
81268
81269 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81270 __ieee754_sqrt instead of sqrt.
81271 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81272 __ieee754_sqrtf instead of sqrtf.
81273 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81274 __floorf instead of floorf.
81275 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81276 __floorf, __truncf instead of floorf, truncf.
81277
81278 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81279
81280 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81281
81282 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81283 __extern_always_inline.
81284 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81285 32-bit.
81286
81287 2011-09-14 Andreas Schwab <schwab@redhat.com>
81288
81289 * elf/rtld.c (dl_main): Also relocate in dependency order when
81290 doing symbol dependency testing.
81291
81292 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81293
81294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81295 Always define `refsym'.
81296
81297 2011-09-13 Andreas Schwab <schwab@redhat.com>
81298
81299 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81300 (__FD_ELT): Renamed from __FDELT.
81301 * misc/bits/select2.h (__FD_ELT): Likewise.
81302 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81303 __FD_MASK instead of __FDELT, __FDMASK.
81304 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81305 Likewise.
81306 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81307 Likewise.
81308
81309 * elf/Makefile (gen-ldd): Fix pattern.
81310
81311 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81312 (init_tls): Likewise.
81313
81314 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81315
81316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81317
81318 2011-09-12 Andreas Schwab <schwab@redhat.com>
81319
81320 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81321 `struct cmsghdr *' instead of `void *'.
81322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81323 Likewise.
81324
81325 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81326
81327 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81328 if non-absolute.
81329 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81330 ldd_rewrite_script.
81331
81332 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81333
81334 * configure.in: Remove --with-tls option.
81335 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81336 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81337 out in case it is missing.
81338 * sysdeps/ia64/elf/configure.in: Likewise.
81339 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81340 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81341 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81342 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81343 * sysdeps/sh/elf/configure.in: Likewise.
81344 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81345 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81346 * sysdeps/x86_64/elf/configure.in: Likewise.
81347 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81348 * sysdeps/mach/hurd/tls.h: Likewise.
81349
81350 [BZ #13067]
81351 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81352
81353 [BZ #13090]
81354 * configure.in: Fix use of AC_INIT.
81355
81356 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81357
81358 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81359
81360 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81361 __set_errno.
81362 * malloc/hooks.c: Likewise.
81363
81364 [BZ #11929]
81365 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81366 variables statically.
81367 (narenas): Initialize.
81368 (list_lock): Initialize.
81369 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81370 initializtion of main_arena and list_lock. Small cleanups.
81371 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81372 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81373 Add initializers to main_arena and mp_.
81374 (malloc_state): Remove pagesize member. Change all users to use
81375 GLRO(dl_pagesize).
81376
81377 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81378 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81379 is always initialized.
81380
81381 * malloc/malloc.c: Removed unused configurations and dead code.
81382 * malloc/arena.c: Likewise.
81383 * malloc/hooks.c: Likewise.
81384 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81385
81386 * include/tls.h: Removed. USE___THREAD must always be defined.
81387 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81388 * elf/dl-libc.c: Likewise.
81389 * elf/dl-tsd.c: Likewise.
81390 * include/errno.h: Likewise.
81391 * include/netdb.h: Likewise.
81392 * include/resolv.h: Likewise.
81393 * inet/herrno-loc.c: Likewise.
81394 * inet/herrno.c: Likewise.
81395 * malloc/arena.c: Likewise.
81396 * malloc/hooks.c: Likewise.
81397 * malloc/malloc.c: Likewise.
81398 * resolv/res-state.c: Likewise.
81399 * resolv/res_libc.c: Likewise.
81400 * sysdeps/i386/dl-machine.h: Likewise.
81401 * sysdeps/ia64/dl-machine.h: Likewise.
81402 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81403 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81404 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81405 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81406 * sysdeps/sh/dl-machine.h: Likewise.
81407 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81408 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81409 * sysdeps/unix/i386/sysdep.S: Likewise.
81410 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81411 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81412 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81413 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81414 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81416 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81420 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81421 * sysdeps/x86_64/dl-machine.h: Likewise.
81422 * tls.make.c: Likewise.
81423
81424 * configure.in: Remove --with-__thread option. Make tests for
81425 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81426 tls_model attribute fail if no support is available. Remove
81427 USE_IN_LIBIO.
81428 * Makeconfig: Adjust for dropped configure option. All features are
81429 now mandatory.
81430 * Makerules: Likewise.
81431 * Versions.def: Likewise.
81432 * argp/argp-fmtstream.c: Likewise.
81433 * argp/argp-fmtstream.h: Likewise.
81434 * argp/argp-help.c: Likewise.
81435 * assert/assert.c: Likewise.
81436 * config.h.in: Likewise.
81437 * config.make.in: Likewise.
81438 * configure: Likewise.
81439 * configure.in: Likewise.
81440 * csu/Versions: Likewise.
81441 * csu/init.c: Likewise.
81442 * elf/tst-audit2.c: Likewise.
81443 * elf/tst-tls10.c: Likewise.
81444 * elf/tst-tls10.h: Likewise.
81445 * elf/tst-tls11.c: Likewise.
81446 * elf/tst-tls12.c: Likewise.
81447 * elf/tst-tls14.c: Likewise.
81448 * elf/tst-tlsmod11.c: Likewise.
81449 * elf/tst-tlsmod12.c: Likewise.
81450 * elf/tst-tlsmod13.c: Likewise.
81451 * elf/tst-tlsmod13a.c: Likewise.
81452 * elf/tst-tlsmod14a.c: Likewise.
81453 * elf/tst-tlsmod15b.c: Likewise.
81454 * elf/tst-tlsmod16a.c: Likewise.
81455 * elf/tst-tlsmod16b.c: Likewise.
81456 * elf/tst-tlsmod7.c: Likewise.
81457 * elf/tst-tlsmod8.c: Likewise.
81458 * elf/tst-tlsmod9.c: Likewise.
81459 * gmon/gmon.c: Likewise.
81460 * grp/fgetgrent_r.c: Likewise.
81461 * grp/putgrent.c: Likewise.
81462 * hurd/fopenport.c: Likewise.
81463 * include/libc-symbols.h: Likewise.
81464 * include/tls.h: Likewise.
81465 * intl/gettextP.h: Likewise.
81466 * intl/loadinfo.h: Likewise.
81467 * locale/global-locale.c: Likewise.
81468 * locale/localeinfo.h: Likewise.
81469 * mach/devstream.c: Likewise.
81470 * malloc/arena.c: Likewise.
81471 * malloc/set-freeres.c: Likewise.
81472 * misc/err.c: Likewise.
81473 * misc/getttyent.c: Likewise.
81474 * misc/mntent_r.c: Likewise.
81475 * posix/getopt.c: Likewise.
81476 * posix/wordexp.c: Likewise.
81477 * pwd/fgetpwent_r.c: Likewise.
81478 * resolv/Versions: Likewise.
81479 * resolv/res_hconf.c: Likewise.
81480 * shadow/fgetspent_r.c: Likewise.
81481 * shadow/putspent.c: Likewise.
81482 * stdio-common/printf_fphex.c: Likewise.
81483 * stdio-common/tmpfile.c: Likewise.
81484 * stdlib/abort.c: Likewise.
81485 * stdlib/fmtmsg.c: Likewise.
81486 * sunrpc/auth_unix.c: Likewise.
81487 * sunrpc/clnt_perr.c: Likewise.
81488 * sunrpc/clnt_tcp.c: Likewise.
81489 * sunrpc/clnt_udp.c: Likewise.
81490 * sunrpc/clnt_unix.c: Likewise.
81491 * sunrpc/openchild.c: Likewise.
81492 * sunrpc/svc_simple.c: Likewise.
81493 * sunrpc/svc_tcp.c: Likewise.
81494 * sunrpc/svc_udp.c: Likewise.
81495 * sunrpc/svc_unix.c: Likewise.
81496 * sunrpc/xdr.c: Likewise.
81497 * sunrpc/xdr_array.c: Likewise.
81498 * sunrpc/xdr_rec.c: Likewise.
81499 * sunrpc/xdr_ref.c: Likewise.
81500 * sunrpc/xdr_stdio.c: Likewise.
81501
81502 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81503
81504 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81505
81506 2011-07-03 Andreas Jaeger <aj@suse.de>
81507
81508 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81509 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81510 regenerate with gen-libm-tests.pl.
81511
81512 2010-05-12 Petr Baudis <pasky@suse.cz>
81513
81514 [BZ #11589]
81515 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81516 around j0() zero points by switching to j1().
81517 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81518 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81519 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81520 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81521
81522 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81523
81524 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81525 instead of 0.
81526 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81527 instead of 0.
81528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81529 Patch in part by Pavel Roskin <proski@gnu.org>.
81530
81531 [BZ #13138]
81532 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81533 realloc.
81534 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81535 Free memory block if necessary.
81536
81537 [BZ #12847]
81538 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81539 be NULL. Don't lock in this case.
81540
81541 2011-09-09 Roland McGrath <roland@hack.frob.com>
81542
81543 * elf/elf.h (ELFOSABI_GNU): New macro.
81544 (ELFOSABI_LINUX): Define to that.
81545
81546 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
81547
81548 * string/strncat.c (strncat): Undef the symbol in case it has been
81549 defined in bits/string.h.
81550
81551 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81552
81553 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81554
81555 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81556 link map.
81557
81558 2011-08-17 Andreas Jaeger <aj@suse.de>
81559
81560 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81561
81562 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
81563 Ian Lance Taylor <iant@google.com>
81564
81565 * math/libm-test.inc (lround_test): New testcase.
81566 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81567
81568 2011-09-08 Ulrich Drepper <drepper@gmail.com>
81569
81570 * Makefile: Remove support for automatic cvs check-ins.
81571 * Makerules: Likewise.
81572 * config.make.in: Likewise.
81573 * configure.in: Likewise.
81574 * intl/Makefile: Likewise.
81575 * locale/Makefile: Likewise.
81576 * po/Makefile: Likewise.
81577 * posix/Makefile: Likewise.
81578 * sysdeps/gnu/Makefile: Likewise.
81579 * sysdeps/mach/hurd/Makefile: Likewise.
81580 * sysdeps/sparc/sparc32/Makefile: Likewise.
81581
81582 [BZ #13118]
81583 * posix/Makefile (bug-regex32-ENV): Define.
81584 Patch by John Stanley <jpsinthemix@verizon.net>.
81585
81586 * misc/Makefile (headers): Add bits/select2.h.
81587 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81588 * misc/bits/select2.h: New file.
81589 * include/bits/select2.h: New file.
81590 * debug/Makefile (routines): Add fdelt_chk.
81591 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81592 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81593 FD_ISSET.
81594 * debug/fdelt_chk.c: New file.
81595
81596 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81597 * wcsmbs/test-wmemcmp.c: Likewise.
81598 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81599 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81600
81601 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81602
81603 * string/Makefile (strop-tests): Add memcmp.
81604 * string/test-wmemcmp.c: New file.
81605 * string/test-memcmp.c: Add wmemcmp support.
81606
81607 2011-09-08 Roland McGrath <roland@hack.frob.com>
81608
81609 [BZ #13153]
81610 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81611 2011-07-19 change.
81612
81613 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81614 garbage value in a __mach_port_mod_refs call in the cases of the
81615 task-self and thread-self ports.
81616
81617 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81618
81619 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81620
81621 2011-09-08 Andreas Schwab <schwab@redhat.com>
81622
81623 * elf/dl-load.c (lose): Check for non-null L.
81624
81625 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81626
81627 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81628
81629 * elf/dl-libc.c (dlerror_run): Pass back error code from
81630 dl_catch_error.
81631
81632 [BZ #13123]
81633 * elf/dl-load.c (lose): Free l_origin if it is valid.
81634
81635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81636 names.
81637 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81638 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81640 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81641 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81642 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81643
81644 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81645
81646 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81647 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81648 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81649 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81650 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81651 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81652 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81653 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81654 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81655 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81656
81657 2011-08-15 Alan Modra <amodra@gmail.com>
81658
81659 [BZ #13092]
81660 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81661 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81662 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81663 ppc_mcount to static-only-routines.
81664 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81665 __mcount_internal.
81666 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81667 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81668
81669 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81670
81671 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81672 for finite and infinity parameters.
81673
81674 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81675
81676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81677 and add nop instructions for throughput optimization.
81678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81679
81680 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81681
81682 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81683 aligned copy for power7 with vector-scalar instructions.
81684 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81685
81686 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81687
81688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81689 AVX check.
81690
81691 2011-09-07 Andreas Schwab <schwab@redhat.com>
81692
81693 [BZ #13144]
81694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81695 last change.
81696
81697 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81698
81699 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81700 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81701 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81702 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81703 clock_gettime.
81704
81705 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81706
81707 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81708 Forgot to demangle the pointer.
81709
81710 * sysdeps/i386/sysdep.h: Define atom_text_section.
81711 * sysdeps/x86_64/sysdep.h: Likewise.
81712 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81713 section with atom_text_section.
81714 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81715 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81716 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81717 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81718 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81719
81720 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81721 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81722 already be defined. Change to take two parameters and don't assign
81723 result to variable. Adjust all users.
81724 Define INTERNAL_GETTIME if not already defined.
81725 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81726 call.
81727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81728 HAVE_CLOCK_GETTIME_VSYSCALL.
81729 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81730
81731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81732 gettimeofday vsyscall, just use time.
81733
81734 2011-09-06 Andreas Schwab <schwab@redhat.com>
81735
81736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81737 <errno.h>.
81738
81739 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81740
81741 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81742 syscall on x86-64.
81743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81744 syscall.
81745 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81747 syscall if possible.
81748
81749 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81750
81751 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81752 e_ident. Don't pass to find_mapsXX.
81753 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81754
81755 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81756
81757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81758 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81759 * sysdeps/x86_64/multiarch/strchr.S: Update.
81760 Check bit_slow_BSF bit.
81761 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81762 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81763 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81764
81765 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81766
81767 [BZ #13134]
81768 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81769 before glibc 2.15.
81770 (tryshell): Define.
81771 (__spawni): Change last parameter to be flag. Test
81772 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81773 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81774 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81775 * posix/spawni.c: Likewise.
81776 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81777 * posix/spawnp.c: Likewise. Change normal version to use
81778 SPAWN_XFLAGS_USE_PATH.
81779 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81780 SPAWN_XFLAGS_TRY_SHELL.
81781
81782 [BZ #13150]
81783 * posix/glob.h: Remove gcc 1.x support.
81784
81785 [BZ #13068]
81786 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81787
81788 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81789
81790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81791 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81792 strrchr-sse2-bsf
81793 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81794 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81795 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81796 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81797 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81798 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81799
81800 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81801
81802 * sysdeps/x86_64/wcscmp.S: New file.
81803
81804 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81805 wcscmp-c wcscmp-sse2
81806 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81807 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81808 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81809 * wcsmbs/wcscmp.c: Allow renaming.
81810
81811 2011-09-05 David S. Miller <davem@davemloft.net>
81812
81813 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81814 stack slot, rather than the struct return pointer slot.
81815 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81816 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81818 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81819
81820 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81821
81822 * po/ja.po: Update from translation team.
81823
81824 [BZ #13144]
81825 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81826 kernel in 64-bit binaries.
81827
81828 2011-09-01 David S. Miller <davem@davemloft.net>
81829
81830 * elf/elf.h (HWCAP_SPARC_*): Move to..
81831 * sysdeps/sparc/sysdep.h: this new file and add new values.
81832 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81833 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81834 _DL_HWCAP_COUNT to 24.
81835 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81836 entries.
81837 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81838 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81839 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81841 instead of magic constants.
81842 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81843
81844 2011-08-31 David S. Miller <davem@davemloft.net>
81845
81846 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81848 Reimplement to do errno handling inline.
81849 (SYSCALL_ERROR_HANDLER): New macro.
81850 (__SYSCALL_STRING): Do not do errno handling in asm.
81851 (__CLONE_SYSCALL_STRING): Delete.
81852 (__INTERNAL_SYSCALL_STRING): Delete.
81853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81854 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81855 (PSEUDO): Reimplement to do errno handling inline.
81856 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81857 (SYSCALL_ERROR_HANDLER): New macro.
81858 (__SYSCALL_STRING): Do not do errno handling in asm.
81859 (__CLONE_SYSCALL_STRING): Delete.
81860 (__INTERNAL_SYSCALL_STRING): Delete.
81861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81862 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81863 i386.
81864 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81865 (inline_syscall*): Add 'err' argument.
81866 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81867 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81868 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81869 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81870
81871 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81872 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81873
81874 2011-08-30 Andreas Schwab <schwab@redhat.com>
81875
81876 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81877
81878 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81879
81880 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81881 directive.
81882
81883 2011-08-24 David S. Miller <davem@davemloft.net>
81884
81885 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81886
81887 2011-08-24 Andreas Schwab <schwab@redhat.com>
81888
81889 * elf/Makefile: Add rules to build and run unload8 test.
81890 * elf/unload8.c: New file.
81891 * elf/unload8mod1.c: New file.
81892 * elf/unload8mod1x.c: New file.
81893 * elf/unload8mod2.c: New file.
81894 * elf/unload8mod3.c: New file.
81895
81896 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81897 it wasn't used.
81898
81899 2011-08-23 David S. Miller <davem@davemloft.net>
81900
81901 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81902 subtract stack bias.
81903 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81904 %sp not %fp in calculations.
81905 (_JMPBUF_UNWINDS_ADJ): Likewise.
81906
81907 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81908 (aio_suspend): Call it to force an exception region around the
81909 AIO_MISC_WAIT() invocation.
81910
81911 2011-08-23 Andreas Schwab <schwab@redhat.com>
81912
81913 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81914 backslash.
81915
81916 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81917
81918 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81919 protection macro.
81920 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81921 and <dl-machine.h>.
81922 (Elf64_FuncDesc): Remove.
81923
81924 2011-08-22 David S. Miller <davem@davemloft.net>
81925
81926 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81927 sigaltstack check, add missing cfi directives.
81928 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81929 missing cfi directives, and sigaltstack handling.
81930
81931 2011-08-16 Andreas Schwab <schwab@redhat.com>
81932
81933 [BZ #11724]
81934 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81935 object is seen twice.
81936 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81937
81938 * elf/Makefile (distribute): Add tst-initorder2.c.
81939 (tests): Add tst-initorder2.
81940 (modules-names): Add tst-initorder2a tst-initorder2b
81941 tst-initorder2c tst-initorder2d. Add rules to build them.
81942 ($(objpfx)tst-initorder2.out): New rule.
81943 * elf/tst-initorder2.c: New file.
81944 * elf/tst-initorder2.exp: New file.
81945
81946 2011-08-22 Andreas Schwab <schwab@redhat.com>
81947
81948 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81949
81950 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81951 dependencies back to end of function.
81952
81953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81954 $(elfobjdir)/ld.so.
81955
81956 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81957
81958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81959 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81960 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81961 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81962 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81963 of __vdso_gettimeofday.
81964 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81965 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81966 attribute_hidden.
81967 (_libc_vdso_platform_setup): Remove initialization of
81968 __vdso_gettimeofday and __vdso_time.
81969
81970 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81971
81972 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81973 and fgetc_unlocked.
81974 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81975 getc_unlocked.
81976
81977 * elf/dl-open.c (add_to_global): Report additions to the global scope
81978 for LD_DEBUG=scopes.
81979 (dl_open_worker): Also print scope of newly loaded dependencies.
81980 (_dl_show_scope): Indicate if there is no scope.
81981
81982 [BZ #13114]
81983 * stdio-common/Makefile (tests): Add bug24.
81984 * stdio-common/bug24.c: New file.
81985
81986 2011-08-19 Andreas Jaeger <aj@suse.de>
81987
81988 [BZ #13114]
81989 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81990 non-existant file when using close-on-exec mode.
81991
81992 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81993
81994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81995 the very first instruction.
81996
81997 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81998 the CFI state in the end.
81999 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82000 inclusion of dl-trampoline.h.
82001 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82002
82003 2011-08-19 Andreas Schwab <schwab@redhat.com>
82004
82005 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82006 expectations for long double.
82007
82008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82009 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82010
82011 2011-08-14 David S. Miller <davem@davemloft.net>
82012
82013 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82014 artificual limit depends upon the system page size.
82015
82016 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82017
82018 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82019 * resolv/Makefile: Define CFLAGS-libresolv.
82020
82021 2011-08-17 Andreas Schwab <schwab@redhat.com>
82022
82023 * nss/makedb.c (compute_tables): Make variables used in nested
82024 function static.
82025
82026 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82027
82028 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82029 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82030 if buffer was too small.
82031
82032 * elf/pldd.c (main): Attach to all threads in the process.
82033 Rewrite /proc handling to use *at functions.
82034
82035 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82036
82037 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82038 specifies first scope to show.
82039 (dl_open_worker): Update callers. Move printing scope of new
82040 object to before the relocation.
82041 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82042 * sysdeps/generic/ldsodefs.h: Update declaration.
82043
82044 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82045 string for the scope number.
82046
82047 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82048
82049 * nscd/servicescache.c (cache_addserv): Make sure written is always
82050 initialized.
82051
82052 2011-08-14 Roland McGrath <roland@hack.frob.com>
82053
82054 * sysdeps/i386/i486/bits/atomic.h
82055 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82056 statement expression, so as to suppress "set but not used" warning.
82057 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82058
82059 * string/strncat.c (STRNCAT): Use prototype definition.
82060
82061 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82062 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82063 -Iprograms here.
82064 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82065 (localedef-modules): Add localedef.
82066 (locale-modules): Add locale.
82067
82068 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82069 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82070 to avoid a warning.
82071
82072 2011-08-14 David S. Miller <davem@davemloft.net>
82073
82074 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82075 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82076
82077 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82078
82079 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82080 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82081 * elf/rtld.c (dl_main): Set l_name of vDSO.
82082 Call _dl_show_scope when DL_DEBUG_SCOPES.
82083 (process_dl_debug): Recognize scopes flag and also set it for all.
82084 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82085 Declare _dl_show_scope.
82086
82087 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82088 (do_dlopen): Pass caller_dlopen to dl_open.
82089 (__libc_dlopen_mode): Initialize caller_dlopen.
82090
82091 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82092 of libc. Make tolower call locale-independent. Optimize a bit by
82093 using isdigit instead of isalnum.
82094 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82095
82096 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82097
82098 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82099 was a dependency or dynamically loaded.
82100
82101 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82102
82103 * intl/l10nflist.c: Allow architecture-specific pop function.
82104 * sysdeps/x86_64/l10nflist.c: New file.
82105
82106 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82107 classification.
82108
82109 2011-08-10 Andreas Schwab <schwab@redhat.com>
82110
82111 * include/dirent.h: Add libc_hidden_proto for scandirat and
82112 scandirat64. Don't declare __scandirat64.
82113 * dirent/scandirat.c: Add libc_hidden_def.
82114 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82115 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82116
82117 2011-08-10 David S. Miller <davem@davemloft.net>
82118
82119 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82120 enum.
82121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82123 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82124
82125 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82126
82127 * Versions.def [libc]: Add GLIBC_2.15.
82128 * dirent/Makefile (routines): Add scandirat and scandirat64.
82129 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82130 GLIBC_2.15.
82131 * dirent/dirent.h: Declare scandirat and scandirat64.
82132 * dirent/scandirat.c: New file.
82133 * dirent/scandirat64.c: New file.
82134 * sysdeps/wordsize-64/scandirat.c: New file.
82135 * sysdeps/wordsize-64/scandirat64.c: New file.
82136 * dirent/opendir.c: Define opendirat.
82137 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82138 using scandirat.
82139 * dirent/scandir64.c: Adjust for scandir.c change.
82140 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82141 __scandirat64, and __scandir_cancel_handler.
82142 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82143 additional parameter and use openat instead of open (outside of ld.so).
82144 Add new __opendir as wrapper around __opendirat.
82145 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82146 here without requiring old scandirat implementation.
82147
82148 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82149
82150 * dirent/scandir.c (cancel_handler): Renamed to
82151 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82152 defined. Adjust users.
82153 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82154 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82155
82156 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82157
82158 * string/test-string.h (IMPL): Use __STRING to expand name and then
82159 stringify it.
82160
82161 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82162 of cleanups.
82163
82164 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82165
82166 * string/Makefile: Update.
82167 (strop-tests): Append strncat.
82168 * string/test-wcscmp.c: New file.
82169 New comprehensive test for wcscmp.
82170 * string/test-strcmp.c: Update.
82171 (WIDE): New define.
82172
82173 2011-07-22 Andreas Schwab <schwab@redhat.com>
82174
82175 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82176 line.
82177
82178 2011-07-26 Andreas Schwab <schwab@redhat.com>
82179
82180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82181 encoding to ACE if AI_IDN.
82182
82183 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82184
82185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82186 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82187
82188 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82189
82190 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82191 Fix overflow bug in strncat.
82192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82193
82194 * string/test-strncat.c: Update.
82195 Add new tests for checking overflow bugs.
82196
82197 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82198
82199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82200 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82201 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82202 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82203 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82204 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82205 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82206 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82207 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82208
82209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82210 (USE_AS_STRCAT): Define.
82211 Add strcat and strncat support.
82212 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82213
82214 2011-07-25 Andreas Schwab <schwab@redhat.com>
82215
82216 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82217 __n bigger than INT_MAX+1.
82218 (__strncmp_g): Likewise.
82219
82220 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82221
82222 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82223 * libio/stido.h: Likewise.
82224
82225 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82226 (AF_NFC): Define.
82227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82228 (AF_NFC): Define.
82229
82230 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82232 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82233 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82234 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82235
82236 [BZ #13021]
82237 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82238 installed.
82239
82240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82241 typo.
82242 (_dl_x86_64_save_sse): Likewise.
82243
82244 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82245
82246 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82247 OSXSAVE.
82248 (_dl_x86_64_save_sse): Likewise.
82249
82250 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82251
82252 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82253
82254 2011-07-21 Andreas Schwab <schwab@redhat.com>
82255
82256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82257 change.
82258 (_dl_x86_64_save_sse): Use correct AVX check.
82259
82260 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82261
82262 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82263 bug in strncpy/strncat.
82264 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82265
82266 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82267
82268 * string/tester.c (test_strcat): Add tests for different alignments
82269 of source and destination.
82270 (test_strncat): Likewise.
82271
82272 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82273
82274 [BZ #12852]
82275 * posix/glob.c (glob): Check passed in values before using them in
82276 expressions to avoid some overflows.
82277 (glob_in_dir): Likewise.
82278
82279 [BZ #13007]
82280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82281 check for AVX enablement so that we don't crash with old kernels and
82282 new hardware.
82283 * elf/tst-audit4.c: Add same checks here.
82284 * elf/tst-audit6.c: Likewise.
82285
82286 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82287
82288 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82289
82290 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82291
82292 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82293
82294 * po/cs.po: Update from translation team.
82295 * po/bg.po: Likewise.
82296
82297 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82298
82299 * misc/sys/cdefs.h: Add support for const attribute.
82300 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82301 to gnu_dev_{major,minor,makedev} functions.
82302
82303 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82304
82305 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82306
82307 2011-07-20 Andreas Schwab <schwab@redhat.com>
82308
82309 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82310 strlen results.
82311
82312 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82313
82314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82315 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82316 register in order to avoid conflicts with the soft frame pointer
82317 being held in r11 when necessary.
82318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82319 (INTERNAL_VSYSCALL_NCS): Likewise.
82320
82321 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82322
82323 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82324 * elf/dl-fini.c (_dl_fini): Adjust caller.
82325 * elf/dl-close.c (_dl_close_worker): Likewise.
82326 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82327
82328 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82329
82330 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82331 "aux_cache->nlibs < 0".
82332
82333 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82334 in the reload-count case.
82335
82336 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82337
82338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82339 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82340 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82341 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82342 * sysdeps/x86_64/multiarch/strcat.S: New file.
82343 * sysdeps/x86_64/multiarch/strncat.S: New file.
82344 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82345 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82346 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82347 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82349 (USE_AS_STRCAT): Define.
82350 Add strcat and strncat support.
82351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82352 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82353 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82354 * string/strncat.c: Update.
82355 (USE_AS_STRNCAT): Define.
82356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82357 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82358 and i7.
82359 * sysdeps/x86_64/multiarch/init-arch.h
82360 (bit_Prefer_PMINUB_for_stringop): New.
82361 (index_Prefer_PMINUB_for_stringop): Likewise.
82362 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82363 bit_Prefer_PMINUB_for_stringop.
82364
82365 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82366
82367 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82368 buffer64.
82369 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82370 of casting of buffer.
82371 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82372 buffer32 and buffer64.
82373 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82374 writes instead of casting of buffer.
82375 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82376 buffer32.
82377 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82378 casting of buffer.
82379
82380 2011-07-19 Andreas Schwab <schwab@redhat.com>
82381
82382 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82383
82384 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82385
82386 * nscd/nscd.c (termination_handler): Don't do anything for a database
82387 if it has not yet been initialized.
82388
82389 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82390
82391 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82392
82393 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82394
82395 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82396
82397 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82398
82399 * po/nl.po: Update from translation team.
82400 * po/sv.po: Likewise.
82401
82402 2011-07-16 Roland McGrath <roland@hack.frob.com>
82403
82404 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82405 now disallowed by GCC.
82406
82407 * configure.in (use-default-link): Default to yes if a test -shared
82408 link meets our qualifications.
82409 * configure: Regenerated.
82410
82411 * config.make.in (output-format): New variable.
82412 * configure.in: Check for ld --print-output-format support.
82413 * configure: Regenerated.
82414 * Makerules ($(common-objpfx)format.lds)
82415 [$(output-format) != unknown]: Just use $(output-format),
82416 instead of the linker-script munging.
82417
82418 2011-07-14 Roland McGrath <roland@hack.frob.com>
82419
82420 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82421 of $(common-objpfx)shlib.lds.
82422 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82423
82424 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82425 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82426
82427 * configure.in (-z relro check): Adjust test code to add a large
82428 writable data section after it.
82429 * configure: Regenerated.
82430
82431 2011-07-11 Roland McGrath <roland@hack.frob.com>
82432
82433 * configure.in (-z relro check): Fix test code to make the variable
82434 truly const.
82435 * configure: Regenerated.
82436
82437 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82438
82439 * nscd/nscd.h (struct traced_file): Define.
82440 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82441 elements. Add traced_files.
82442 (inotify_fd): Declare.
82443 (register_traced_file): Declare.
82444 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82445 (inotify_fd): Export.
82446 (resolv_conf_descr): Remove.
82447 (nscd_init): Move inotify descriptor creation to main.
82448 Don't register files for notification here.
82449 (register_traced_file): New function.
82450 (invalidate_cache): Don't use reset_res to determine whether to call
82451 res_init, go through the list of registered files.
82452 (main_loop_poll): The inotify descriptors are now stored in the
82453 structures for the traced files.
82454 (main_loop_epoll): Likewise.
82455 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82456 to __nss_disable_nscd.
82457 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82458 for a database anymore. Check the records for all the registered
82459 files instead.
82460 * nss/Makefile (libnss_files-routines): Add files-init.
82461 (libnss_db-routines): Add db-init.
82462 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82463 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82464 * nss/nss_db/db-init.c: New file.
82465 * nss/nss_files/files-init.c: New file.
82466 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82467 __nss_lookup_function.
82468 (__nss_lookup_function): Call nss_load_library.
82469 (nss_load_all_libraries): New function.
82470 (__nss_disable_nscd): Take parameter with callback function for files
82471 to register. Set is_nscd. Load all the DSOs for the NSS modules
82472 used for the cached services.
82473 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82474 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82475 options for features to all the files in nscd.
82476
82477 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82478
82479 2011-07-10 Roland McGrath <roland@hack.frob.com>
82480
82481 * csu/elf-init.c (__libc_csu_init): Comment typo.
82482
82483 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82484
82485 * po/pl.po: Update from translation team.
82486 * po/ja.po: Likewise.
82487 * po/ru.po: Likewise.
82488 * po/ko.po: Likewise.
82489 * po/fr.po: Likewise.
82490
82491 2011-07-09 Roland McGrath <roland@hack.frob.com>
82492
82493 * configure.in (.ctors/.dtors header and trailer check):
82494 Use an empirical test on a built program.
82495 * configure: Regenerated.
82496
82497 * configure.in (-z relro check): Use an empirical test on a built DSO.
82498 Detect, but do not require, on ia64.
82499 * configure: Regenerated.
82500
82501 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82502 Update tests that use readelf to use $READELF instead.
82503 * configure: Regenerated.
82504
82505 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82506
82507 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82508 if the result is not used.
82509
82510 2011-07-05 Andreas Jaeger <aj@suse.de>
82511
82512 [BZ#9696]
82513 * stdlib/tst-strtod.c: Add testcase.
82514
82515 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82516
82517 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82518 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82519 The latter has a higher limit. Take additional parameter to pass to
82520 the new function.
82521 (__pathconf): Pass file to __statfs_link_max.
82522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82523 __statfs_link_max.
82524 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82525 __statfs_link_max.
82526
82527 [BZ #12868]
82528 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82530 Handle Lustre.
82531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82532 (__statfs_filesize_max): Likewise.
82533 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82534
82535 2011-07-05 Andreas Jaeger <aj@suse.de>
82536
82537 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82538
82539 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82540
82541 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82542 `status' variable.
82543 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82544 Likewise.
82545
82546 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
82547
82548 * Makefile (strop-tests): Add strncat.
82549 * string/test-strncat.c: New file.
82550
82551 2011-06-30 Marek Polacek <mpolacek@redhat.com>
82552
82553 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82554
82555 2011-06-21 Andreas Jaeger <aj@suse.de>
82556
82557 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82558 Copy rule from iconvdata/Makefile.
82559
82560 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82561
82562 [BZ #12922]
82563 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82564 but no long options are defined, just return 'W'.
82565
82566 2011-06-22 Marek Polacek <mpolacek@redhat.com>
82567
82568 [BZ #9696]
82569 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82570
82571 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82572
82573 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82574 netgroups to read.
82575 (innetgr): Likewise.
82576
82577 2011-07-05 Roland McGrath <roland@hack.frob.com>
82578
82579 * config.make.in (install_root): Default to $(DESTDIR).
82580
82581 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82582
82583 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82584
82585 2011-07-02 Roland McGrath <roland@hack.frob.com>
82586
82587 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82588
82589 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82590 containing directory rather than embedding absolute directory names.
82591
82592 * scripts/check-local-headers.sh: Rewritten using awk.
82593 Match by word, not by line. Print error messages for matches.
82594 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82595
82596 * Makerules [shlib-lds-flags empty]:
82597 ($(common-objpfx)libc_pic.opts): New target.
82598 ($(common-objpfx)libc_pic.os.clean): New target.
82599 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82600
82601 * config.make.in (OBJCOPY): New variable.
82602 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82603 * configure: Regenerated.
82604
82605 * config.make.in (use-default-link): New variable.
82606 * configure.in (use_default_link): Grok --with-default-link to set it.
82607 * configure: Regenerated.
82608 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82609 (shlib-lds, shlib-lds-flags): Define to empty.
82610
82611 * Makerules (shlib-lds): New variable.
82612 (shlib-lds-flags): New variable.
82613 (build-shlib, build-moduile, build-module-asneeded): Use it.
82614 ($(common-objpfx)libc.so): Use $(shlib-lds).
82615 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82616 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82617
82618 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82619 DT_FLAGS/DT_FLAGS_1 with zero flags.
82620
82621 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82622 linker script munging.
82623
82624 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82625
82626 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82627 as 128-bit value.
82628 * crypt/sha512.c (sha512_process_block): Perform total addition using
82629 128-bit if possible.
82630 (__sha512_finish_ctx): Likewise.
82631 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82632 as 64-bit value.
82633 * crypt/sha256.c (SWAP64): Define.
82634 (sha256_process_block): Perform total addition using 64-bit if
82635 possible.
82636 (__sha256_finish_ctx): Likewise.
82637
82638 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82639
82640 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82642 * nscd/hstcache.c (cache_addhst): Likewise.
82643 * nscd/grpcache.c (cache_addgr): Likewise.
82644 * nscd/aicache.c (addhstaiX): Likewise.
82645 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82646
82647 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82648
82649 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82651 * nscd/hstcache.c (cache_addhst): Likewise.
82652 * nscd/grpcache.c (cache_addgr): Likewise.
82653 * nscd/aicache.c (addhstaiX): Likewise.
82654
82655 2011-07-01 Andreas Schwab <schwab@redhat.com>
82656
82657 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82658 domain only when needed.
82659
82660 2011-06-30 Andreas Schwab <schwab@redhat.com>
82661
82662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82663 is always restored.
82664
82665 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82666
82667 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82668 are re-adding the entry.
82669 * nscd/servicescache.c (cache_addserv): Likewise.
82670
82671 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82672
82673 * sysdeps/generic/dl-irel.h: fix protection against multiple
82674 inclusions.
82675 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82676
82677 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82678
82679 [BZ #12935]
82680 * malloc/memusage.sh: Fix quoting in message.
82681 * debug/xtrace.sh: Likewise.
82682
82683 * configure.in: Remove support for --experimental-malloc option, make
82684 it the default.
82685 * config.make.in: Likewise.
82686 * malloc/Makefile: Likewise.
82687
82688 2011-06-27 Andreas Schwab <schwab@redhat.com>
82689
82690 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82691 two-byte characters.
82692
82693 2011-06-27 Roland McGrath <roland@hack.frob.com>
82694
82695 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82696 AC_CACHE_CHECK invocation.
82697 * configure: Regenerated.
82698
82699 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82700
82701 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82702
82703 [BZ #12350]
82704 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82705 bit from old_res_options.
82706
82707 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82708
82709 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82710 value type for setfct.
82711
82712 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82713
82714 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82715 __gettimeofday instead of gettimeofday.
82716
82717 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82718
82719 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82720
82721 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82722
82723 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82724
82725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82726 info.
82727
82728 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82729
82730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82731 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82732 strcpy-sse2-unaligned strncpy-sse2-unaligned
82733 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82734 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82735 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82736 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82737 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82739 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82740 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82741 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82742 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82743 (STRCPY): Support SSE2 and SSSE3 versions.
82744
82745 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82746
82747 [BZ #12874]
82748 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82749 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82750 kernels which artificially limit size of requests.
82751
82752 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82753
82754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82755 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82756 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82757 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82758 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82759 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82760 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82761 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82762 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82763 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82764 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82765 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82766 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82767 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82768 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82770 Enable unaligned load optimization for Intel Core i3, i5 and i7
82771 processors.
82772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82773 Define.
82774 (index_Fast_Unaligned_Load): Define.
82775 (HAS_FAST_UNALIGNED_LOAD): Define.
82776
82777 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82778
82779 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82780
82781 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82782
82783 [BZ #12907]
82784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82785 until it is clear that the information is realy needed.
82786 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82787
82788 2011-06-22 Andreas Schwab <schwab@redhat.com>
82789
82790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82791
82792 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82793
82794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82795 /sys/devices/system/cpu/online if it is usable.
82796
82797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82798 reading the information from the /proc filesystem to once a second.
82799
82800 2011-06-21 Andreas Jaeger <aj@suse.de>
82801
82802 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82803 NULL after inclusion of kernel headers.
82804
82805 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82806
82807 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82808 calls to internal_setent.
82809
82810 [BZ #12885]
82811 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82812 addresses using gethostbyname4_r ignore IPv4 addresses.
82813
82814 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82815 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82816
82817 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82818
82819 2011-06-20 David S. Miller <davem@davemloft.net>
82820
82821 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82822 inclusions.
82823 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82824
82825 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82826 (elf_irel): Use it.
82827 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82828 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82829 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82830 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82831 * sysdeps/x86_64/dl-irel.h: Likewise.
82832
82833 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82834 * elf/dl-sym.c: Likewise.
82835
82836 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82837
82838 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82839 need to dereference resplen2.
82840
82841 2011-06-14 Andreas Schwab <schwab@redhat.com>
82842
82843 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82844
82845 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82846
82847 * Makeconfig: Define vardbdir and inst_vardbdir.
82848 * nss/Makefile: Add rules to install db-Makefile.
82849
82850 * nss/nss_db/db-XXX.c: Cleanup.
82851
82852 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82853 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82854 GLIBC_PRIVATE.
82855 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82856 * nss/makedb.c: Implement -g option to specify that value strings
82857 are generated and should not be added to table iterated over for
82858 get*ent calls.
82859 * nss/nss_db/db-initgroups.c: New file.
82860
82861 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82862 interface.
82863
82864 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82865 (internal_getgrouplist): Adjust to name change.
82866 Update use_initgroups_entry if this is not the first call.
82867 * nss/databases.def: Add initgroups entry.
82868
82869 * nss/makedb.c (compute_tables): Check result of multiple hash table
82870 sizes to minimize maximum chain length.
82871
82872 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82873
82874 * Versions.def: Add entry for libnss_db.
82875 * shlib-versions: Likewise.
82876 * nss/Makefile: Add rules to build libnss_db.
82877 * nss/Versions: Add libnss_db information. Organize libnss_files
82878 entries better.
82879 * nss/db-Makefile: Add gshadow support. Change rules for the new
82880 makedb progra. Some minor improvements to generate smaller files.
82881 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82882 here from...
82883 * nss/makedb.c: ...here.
82884 Improve database format to be smaller and require less memory at
82885 runtime.
82886 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82887 db anymore.
82888 * nss/nss_db/db-netgrp.c: Likewise.
82889 * nss/nss_db/db-open.c: Likewise.
82890 * nss/nss_files/flies-XXX.x: Adjust comments.
82891 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82892 * nss/nss_files/files-grp.c: Likewise.
82893 * nss/nss_files/files-hosts.c: Likewise.
82894 * nss/nss_files/files-network.c: Likewise.
82895 * nss/nss_files/files-proto.c: Likewise.
82896 * nss/nss_files/files-pwd.c: Likewise.
82897 * nss/nss_files/files-rpc.c: Likewise.
82898 * nss/nss_files/files-service.c: Likewise.
82899 * nss/nss_files/files-sgrp.c: Likewise.
82900 * nss/nss_files/files-spwd.c: Likewise.
82901 * nss/nss_db/db-alias.c: Removed.
82902 * nss/nss_db/dummy-db.h: Removed.
82903
82904 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82905
82906 * nss/makedb.c: Rewritten to not use database library.
82907 * nss/Makefile: Update to build new makedb program.
82908
82909 2011-06-14 Andreas Jaeger <aj@suse.de>
82910
82911 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82912 memset declaration.
82913
82914 2011-06-10 Andreas Schwab <schwab@redhat.com>
82915
82916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82917 tmpbuf.
82918
82919 2011-06-10 Roland McGrath <roland@hack.frob.com>
82920
82921 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82922 * elf/Makefile ($(objpfx)ld.so): Likewise.
82923
82924 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82925 Don't list ld.so twice in dependencies.
82926
82927 * posix/bug-regex31.c: Include <stdlib.h>.
82928
82929 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82930
82931 * nis/nss_compat/compat-spwd.c
82932 (getspent_next_nss_netgr): Remove unused variable.
82933 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82934
82935 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82936 nonmembers" output to use the right array.
82937
82938 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82939
82940 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82941
82942 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82943 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82944 * catgets/gencat.c (read_input_file): Likewise.
82945 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82946
82947 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82948 variable definition inside #if's controlling its use.
82949
82950 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82951
82952 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82953
82954 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82955
82956 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82957 unreachable code.
82958
82959 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82960
82961 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82962 * configure: Regenerated.
82963
82964 * Makerules: Revert last change.
82965 * elf/Makefile: Likewise.
82966
82967 2011-06-09 Roland McGrath <roland@hack.frob.com>
82968
82969 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82970 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82971 (reloc-link): Likewise.
82972
82973 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82974
82975 * elf/Makefile: Add rules to build pldd.
82976 * elf/pldd.c: New file.
82977 * elf/pldd-xx.c: New file.
82978
82979 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82980
82981 * version.h: Update for 2.15 development version.
82982
82983 2011-06-07 David S. Miller <davem@davemloft.net>
82984
82985 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82986 ifuncs.
82987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82988 elf_machine_lazy_rel): Likewise.
82989 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82991 elf_machine_lazy_rel): Likewise.
82992 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82993 dl_hwcap via passed in argument.
82994 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82995 Likewise.
82996
82997 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82998
82999 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
83000
83001 2011-06-06 Roland McGrath <roland@hack.frob.com>
83002
83003 [BZ #12849]
83004 * manual/fdl-1.1.texi: New file, verbatim from:
83005 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83006 * manual/lgpl-2.1.texi: New file, verbatim from:
83007 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83008 * manual/Makefile (licenses): New variable, list those new file names.
83009 (texis): Use it.
83010 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83011
83012 * manual/fdl.texi: File removed.
83013 * manual/lesser.texi: File removed.
83014 * manual/libc.texinfo (Copying, Documentation License):
83015 Use new @include file names, put @appendix directive before @include.
83016
83017 2011-06-04 Jakub Jelinek <jakub@redhat.com>
83018
83019 [BZ #12841]
83020 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83021 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83022 (mq_open): Add __NTH.
83023
83024 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
83025
83026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83027 Assume Intel Core i3/i5/i7 processor if AVX is available.
83028
83029 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83030
83031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83032 typo.
83033
83034 2011-05-31 Andreas Schwab <schwab@redhat.com>
83035
83036 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83037 memory. Use alloca_account. Fix memory leak when retrying.
83038
83039 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83040
83041 * version.h (RELEASE): Bump for 2.14 release.
83042 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83043
83044 * config.make.in (RANLIB): Remove entry.
83045
83046 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83047
83048 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83049 (libc.pot): Work around missing support for .ksh extension in xgettext.
83050
83051 [BZ #12684]
83052 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83053 if both request failed.
83054 (send_dg): In case of server errors clear resplen or *resplen2.
83055
83056 [BZ #12454]
83057 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83058 when there are multiple maps.
83059 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83060 (_dl_fini): Remove test here.
83061
83062 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83063
83064 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83065
83066 [BZ #12350]
83067 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83068 bit from old_res_options.
83069 (gaih_inet): Likewise.
83070
83071 [BZ #11099]
83072 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83073 as signed.
83074
83075 * resolv/res_init.c (res_setoptions): Make the code more compact.
83076
83077 [BZ #11558]
83078 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83079 set RES_USEVC.
83080
83081 [BZ #11634]
83082 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83083
83084 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83085
83086 [BZ #11781]
83087 * malloc/malloc.h: Declare malloc hook variables as volatile.
83088
83089 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83090 in last patch.
83091
83092 [BZ #11799]
83093 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83094 raise in the comment.
83095 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83096 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83097 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83098
83099 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83100
83101 [BZ #12811]
83102 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83103 grow the buffers more if it already has to be sufficient.
83104 (build_wcs_upper_buffer): Likewise.
83105 * posix/regexec.c (check_matching): Likewise.
83106 (clean_state_log_if_needed): Likewise.
83107 (extend_buffers): Don't enlarge buffers beyond size of the input
83108 buffer.
83109 Patches mostly by Emil Wojak <emil@wojak.eu>.
83110 * posix/bug-regex32.c: New file.
83111 * posix/Makefile (tests): Add bug-regex32.
83112
83113 * locale/findlocale.c (_nl_find_locale): Return right away if
83114 _nl_explode_name failed.
83115 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83116
83117 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83118
83119 * debug/xtrace.sh: Unify messages.
83120 * malloc/memusage.sh: Likewise.
83121
83122 [BZ #12813]
83123 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83124 time symbol from vDSO. Substitute with vsyscall if not available.
83125 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83126 __vdso_time.
83127
83128 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83129 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83130 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83131 Add sendmmsg and internal_sendmmsg.
83132 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83133 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83134 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83135
83136 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83137 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83139
83140 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83141
83142 [BZ #12813]
83143 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83144 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83145 available.
83146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83147 __vdso_getcpu.
83148
83149 [BZ #12814]
83150 * iconvdata/Makefile (tests): Add bug-iconv9.
83151 * iconvdata/bug-iconv9.c: New file.
83152
83153 2011-05-27 Andreas Schwab <schwab@redhat.com>
83154
83155 [BZ #12814]
83156 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83157
83158 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83159
83160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83161 (struct user_regs_struct): Change intcs field back to cs.
83162
83163 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83164
83165 * po/ja.po: Update from translation team.
83166
83167 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83168
83169 [BZ #12795]
83170 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83171 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83172
83173 2011-05-20 Andreas Schwab <schwab@redhat.com>
83174
83175 * stdlib/longlong.h: Update from GCC.
83176
83177 2011-05-23 Andreas Schwab <schwab@redhat.com>
83178
83179 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83180 parameter name.
83181 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83182 Add parameter name.
83183 (__sysconf): Pass it down.
83184
83185 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83186
83187 [BZ #12671]
83188 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83189 some situations.
83190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83191 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83192 add in in __libc_use_alloca calls. Adjust callers.
83193 (glob): Use malloc in some situations.
83194
83195 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83196 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83197 pltexit.
83198
83199 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83200
83201 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83202 and CLOCK_BOOTTIME_ALARM.
83203
83204 [BZ #12782]
83205 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83206 is returned.
83207
83208 * string/_strerror.c (__strerror_r): Print negative errors as signed
83209 numbers.
83210
83211 [BZ #12777]
83212 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83213 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83214 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83215
83216 * configure.in: Fix typo in redirection and correct removal of test
83217 files in two cases.
83218
83219 [BZ #12788]
83220 * locale/setlocale.c (new_composite_name): Fix test to check for
83221 identical name of all categories.
83222
83223 [BZ #12792]
83224 * libio/filedoalloc.c (local_isatty): New function.
83225 (_IO_file_doallocate): Use local_isatty.
83226 * stdio-common/perror.c (perror): In case a new stream is used
83227 forward the stream error.
83228 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83229 error flag.
83230
83231 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83232
83233 [BZ #11884]
83234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83235 alloca.
83236 * include/alloca.h (extend_alloca_account): Define.
83237
83238 [BZ #11857]
83239 * posix/regex.h: Fix comments with documentation of user-accessible
83240 fields after compilation and describe correct free'ing of pattern
83241 after re_compile_pattern.
83242 Patch by Reuben Thomas <rrt@sc3d.org>.
83243
83244 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83245
83246 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83247 and -mno-altivec to prevent the compiler from using Altivec and/or
83248 VSX instructions when the corresponding registers are not available.
83249
83250 2011-05-19 Andreas Schwab <schwab@redhat.com>
83251
83252 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83253
83254 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83255
83256 * libio/freopen.c (freopen): Use __dup2, not dup2.
83257 * libio/freopen64.c (freopen64): Likewise.
83258
83259 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83260
83261 [BZ #12775]
83262 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83263 * math/Makefile (tests): Add test-powl.
83264 (CFLAGS-test-powl.c): Define.
83265 * math/test-powl.c: New file.
83266
83267 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83268
83269 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83270
83271 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83272
83273 [BZ #11837]
83274 * iconvdata/gb18030.c: Update to GB18020-2005.
83275
83276 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83277
83278 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83279 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83280 Patch by Aharon Robbins <arnold@skeeve.com>.
83281
83282 [BZ #11892]
83283 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83284 on the stack.
83285
83286 [BZ #11895]
83287 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83288 through underflows.
83289
83290 [BZ #12766]
83291 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83292 point to strings before performing equality test for error_one_per_line
83293 mode.
83294
83295 [BZ #11697]
83296 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83297
83298 [BZ #11820]
83299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83300 (struct user_fpregs_struct): Avoid __uint*_t types.
83301
83302 [BZ #6420]
83303 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83304 symbol info. Use it instead of calling _dl_addr locally.
83305 (lock_and_info): New function.
83306 (tr_freehook): Call lock_and_info and pass symbol info as additional
83307 parameter to tr_where.
83308 (tr_mallochook): Likewise.
83309 (tr_reallochook): Likewise.
83310 (tr_memalignhook): Likewise.
83311
83312 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83313 used and couldn't be at all thread-safe.
83314
83315 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83316
83317 * libio/freopen.c (freopen): Don't close old file descriptor
83318 before the new one is opened. Instead dup the new file descriptor
83319 to the old one after the new stream is created.
83320 * libio/freopen64.c (freopen64): Likewise.
83321 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83322 * libio/fileops.c (_IO_new_file_close_it): Handle new
83323 _IO_FLAGS2_NOCLOSE flag.
83324 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83325 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83326 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83327 _IO_FLAGS2_NOCLOSE flag.
83328 * include/unistd.h: Add hidden_proto for dup3.
83329 Define __have_dup3.
83330 * io/dup3.c: Define hidden symbol.
83331 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83332
83333 [BZ #7101]
83334 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83335 when an incomplete long option is used.
83336 * posix/tst-getopt_long1.c: New file.
83337 * posix/Makefile (tests): Add tst-getopt_long1.
83338
83339 [BZ #10138]
83340 * scripts/config.guess: Update from autoconf-2.68.
83341 * scripts/config.sub: Likewise.
83342
83343 [BZ #10157]
83344 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83345 tests into ...
83346 (has_cpuclock): ...this. New function.
83347 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83348 macro here based on has_cpuclock code.
83349
83350 [BZ #10149]
83351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83352 First byte (not low byte) is now always NUL.
83353 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83354
83355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83356 Use non-cancelable interfaces.
83357
83358 [BZ #9809]
83359 * locale/iso-639.def: Add entry for Sorani.
83360
83361 [BZ #11901]
83362 * include/stdlib.h: Move include protection to the right place.
83363 Define abort_msg_s. Declare __abort_msg with it.
83364 * stdlib/abort.c (__abort_msg): Adjust type.
83365 * assert/assert.c (__assert_fail_base): New function. Majority
83366 of code from __assert_fail. Allocate memory for __abort_msg with
83367 mmap.
83368 (__assert_fail): Now call __assert_fail_base.
83369 * assert/assert-perr.c: Remove bulk of implementation. Use
83370 __assert_fail_base.
83371 * include/assert.hL Declare __assert_fail_base.
83372 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83373 mmap.
83374 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83375
83376 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83377
83378 [BZ #11952]
83379 [BZ #12453]
83380 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83381 until all modules are registered in the DTV.
83382 * elf/Makefile: Add rules to build and run tst-tls19.
83383 * elf/tst-tls19.c: New file.
83384 * elf/tst-tls19mod1.c: New file.
83385 * elf/tst-tls19mod2.c: New file.
83386 * elf/tst-tls19mod3.c: New file.
83387 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83388
83389 [BZ #12083]
83390 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83391 correctly.
83392
83393 [BZ #12601]
83394 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83395 two-byte sequence errors.
83396 * iconvdata/Makefile (tests): Add bug-iconv8.
83397 * iconvdata/bug-iconv8.c: New file.
83398
83399 [BZ #12626]
83400 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83401 buf2 definition.
83402
83403 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83404
83405 [BZ #12432]
83406 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83407 (dummy_getcfa): New function.
83408 (init): Get _Unwind_GetCFA address, use dummy if not found.
83409 (backtrace_helper): In recursion check, also check whether CFA changes.
83410 (__backtrace): Completely initialize arg.
83411
83412 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83413 storing incomplete byte sequence in state object. Avoid testing for
83414 guaranteed too small input if we know there is enough data available.
83415
83416 2011-05-11 Andreas Schwab <schwab@redhat.com>
83417
83418 * Makeconfig (+link-pie): Indent.
83419 * Rules (binaries-pie): Define if $(have-fpie) and
83420 $(build-shared).
83421 (binaries-shared): Also filter out $(binaries-pie).
83422 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83423 * nscd/Makefile (others-pie): Add nscd.
83424 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83425 ($(objpfx)nscd): Remove command override.
83426 * login/Makefile (others-pie): Add pt_chown.
83427 ($(objpfx)pt_chown): Remove command override.
83428 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83429 remove command overrides.
83430
83431 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83432
83433 * libio/tst_putwc.c: Fix error messages.
83434
83435 [BZ #12724]
83436 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83437 currently writing and seek to current position when not.
83438 * libio/Makefile (tests): Add bug-fclose1.
83439 * libio/bug-fclose1.c: New file.
83440
83441 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83442
83443 [BZ #12511]
83444 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83445 don't set DF_1_NODELETE here.
83446 (do_lookup_x): When entering new entry test for copy relocation
83447 and if necessary set DF_1_NODELETE flag.
83448 * elf/tst-unique4.cc: New file.
83449 * elf/tst-unique4.h: New file.
83450 * elf/tst-unique4lib.cc: New file.
83451 * elf/Makefile: Add rules to build and run tst-unique4.
83452 Patch by Piotr Bury <pbury@goahead.com>.
83453
83454 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83455
83456 [BZ #12052]
83457 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83458
83459 [BZ #12625]
83460 * misc/mntent_r.c (addmntent): Flush the stream after the output
83461
83462 [BZ #12393]
83463 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83464 (is_trusted_path_normalize): Skip initial colon. Append slash
83465 to empty buffer. Duplicate is_trusted_path code but allow
83466 constructed patch to be prefix.
83467 (is_dst): Allow $ORIGIN followed by /.
83468 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83469 Correct testing of result of is_trusted_path_normalize
83470 (decompose_rpath): Fix warning.
83471
83472 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83473
83474 [BZ #11257]
83475 * grp/initgroups.c (internal_getgrouplist): When we found the service
83476 list through the initgroups entry in nsswitch.conf do not always
83477 continue on a successful lookup. Don't always use the
83478 __nss_group_database value if it is set.
83479 * nss/nsswitch.conf (initgroups): Change action for successful db
83480 lookup to continue for compatibility.
83481
83482 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83483
83484 [BZ #11532]
83485 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83486 and CP774 modules.
83487 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83488 and CP774 modules.
83489 * iconvdata/tst-tables.sh: Likewise.
83490 * iconvdata/cp770.c: New file.
83491 * iconvdata/cp771.c: New file.
83492 * iconvdata/cp772.c: New file.
83493 * iconvdata/cp773.c: New file.
83494 * iconvdata/cp774.c: New file.
83495 * iconvdata/testdata/CP770: New file.
83496 * iconvdata/testdata/CP770..UTF8: New file.
83497 * iconvdata/testdata/CP771: New file.
83498 * iconvdata/testdata/CP771..UTF8: New file.
83499 * iconvdata/testdata/CP772: New file.
83500 * iconvdata/testdata/CP772..UTF8: New file.
83501 * iconvdata/testdata/CP773: New file.
83502 * iconvdata/testdata/CP773..UTF8: New file.
83503 * iconvdata/testdata/CP774: New file.
83504 * iconvdata/testdata/CP774..UTF8: New file.
83505
83506 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83507 END CHARMAP line.
83508 * iconvdata/gen-8bit-gap.sh: Likewise.
83509 * iconvdata/gen-8bit.sh: Likewise.
83510
83511 * locale/iso-639.def: Add ary entry.
83512
83513 [BZ #11258]
83514 * locale/C-translit.h.in: Add U20A1 transliteration.
83515
83516 [BZ #12178]
83517 * locale/iso-639.def: Add wae entry.
83518 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83519
83520 [BZ #12545]
83521 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83522 for n.
83523
83524 [BZ #12711]
83525 * locale/C-translit.h.in: Add entry for U20B9.
83526 Patch by pravin.d.s@gmail.com.
83527
83528 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83529
83530 [BZ #12713]
83531 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83532 ENAMETOOLONG use generic getcwd.
83533 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83534 in rtld. Use *stat64.
83535 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83536 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83537 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83538 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83539 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83540 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83541 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83542 __fstatat64 macros.
83543 * include/dirent.h: Add libc_hidden_proto for rewinddir.
83544 * dirent/rewinddir.c: Add libc_hidden_def.
83545 * sysdeps/mach/hurd/rewinddir.c: Likewise.
83546 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
83547
83548 * include/dirent.h (__alloc_dir): Add flags parameter.
83549 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83550 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83551 __alloc_dir.
83552 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
83553 from fdopendir if O_CLOEXEC is already set.
83554
83555 2011-03-15 Alan Modra <amodra@gmail.com>
83556
83557 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83558 l_tls_firstbyte_offset non-zero. Save padding offset in
83559 l_tls_firstbyte_offset for later use.
83560 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83561 freeing static tls block.
83562
83563 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83564
83565 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83566 where #ifdef was intended. The intent is to prevent ARG_MAX from
83567 being defined by the kernel headers.
83568
83569 2011-05-07 Ulrich Drepper <drepper@gmail.com>
83570
83571 [BZ #12734]
83572 * resolv/resolv.h: Define RES_NOTLDQUERY.
83573 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83574 no-tld-query and set RES_NOTLDQUERY.
83575 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83576 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83577 modern BIND to search name as TLD unless forbidden.
83578
83579 2011-05-07 Petr Baudis <pasky@suse.cz>
83580 Ulrich Drepper <drepper@gmail.com>
83581
83582 [BZ #12393]
83583 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83584 (is_trusted_path): ...to here.
83585 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83586 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83587 using is_trusted_path_normalize() in setuid scripts.
83588
83589 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83590
83591 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83592 __BEGIN/__END_DECLS.
83593
83594 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83595
83596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83597 NSS_STATUS_NOTFOUND if no record was found.
83598
83599 2011-05-05 Andreas Schwab <schwab@redhat.com>
83600
83601 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83602 (headers-not-in-tirpc): Remove rpc/netdb.h
83603 * resolv/netdb.h: Revert last change.
83604
83605 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83606
83607 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83608 circular dependency between libgcc.a and libc.a.
83609
83610 2011-05-05 Andreas Schwab <schwab@redhat.com>
83611
83612 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83613 * nis/Makefile: Don't install rpcsvc/*.
83614 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83615 instead of <rpc/types.h>.
83616 (MAXHOSTNAMELEN): Define.
83617
83618 2011-05-03 Andreas Schwab <schwab@redhat.com>
83619
83620 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83621
83622 2011-04-28 Maciej Babinski <mbabinski@google.com>
83623
83624 [BZ #12714]
83625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83626 gethostbyname4_r when IPv6 results are possible.
83627
83628 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83629
83630 [BZ #12723]
83631 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83632 _PC_PIPE_BUF handling.
83633
83634 2011-04-30 Bruno Haible <bruno@clisp.org>
83635
83636 [BZ #12717]
83637 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83638 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83639 to 'int'.
83640 * inet/getnameinfo.c (getnameinfo): Likewise.
83641
83642 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83643
83644 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83645 to groups setting in database lookup.
83646 * nss/nsswitch.conf: Add initgroups entry.
83647
83648 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83649
83650 [BZ #12685]
83651 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83652 mode string.
83653 Patch by Eric Blake <eblake@redhat.com>.
83654
83655 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83656
83657 * sunrpc/Makefile (need-export-routines): Add svc_run.
83658 (routines): Remove svc_run.
83659 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83660 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83661 * sunrpc/svc_run.c (svc_run): Likewise.
83662 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83663
83664 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83665
83666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83667 problem in reallocation in last patch.
83668
83669 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83670
83671 * sunrpc/Makefile: Move inclusion of Rules.
83672
83673 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83674
83675 * nss/nss_files/files-initgroups.c: New file.
83676 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83677 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83678 _nss_files_initgroups_dyn.
83679
83680 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83681
83682 * elf/elf.h (R_ARM_IRELATIVE): Define.
83683
83684 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83685
83686 * po/ru.po: Update from translation team.
83687
83688 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83689
83690 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83691 dependencies.
83692
83693 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83694
83695 [BZ #12653]
83696 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83697 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83698 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83699 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83701
83702 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83703
83704 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83705 differing bytes.
83706 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83707 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83709
83710 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83711
83712 [BZ #12420]
83713 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83714 storing it.
83715 * stdlib/bug-getcontext.c: New file.
83716 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83717
83718 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83719
83720 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83721 instructions into .machine "z9-109".
83722 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83723 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83724
83725 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83726
83727 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83728 between environment variables and auxiliary vector.
83729
83730 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83731
83732 * Makefile: Add rules to build linkobj/libc.so.
83733 * include/libc-symbols.h: Define libc_hidden_nolink.
83734 * include/rpc/auth.h: Mark functions which are to be hidden.
83735 * include/rpc/auth_des.h: Likewise.
83736 * include/rpc/auth_unix.h: Likewise.
83737 * include/rpc/clnt.h: Likewise.
83738 * include/rpc/des_crypt.h: Likewise.
83739 * include/rpc/key_prot.h: Likewise.
83740 * include/rpc/pmap_clnt.h: Likewise.
83741 * include/rpc/pmap_prot.h: Likewise.
83742 * include/rpc/pmap_rmt.h: Likewise.
83743 * include/rpc/rpc_msg.h: Likewise.
83744 * include/rpc/svc.h: Likewise.
83745 * include/rpc/svc_auth.h: Likewise.
83746 * include/rpc/xdr.h: Likewise.
83747 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83748 * nss/Makefile: Likewise.
83749 * sunrpc/Makefile: Don't install headers. Build library with normal
83750 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83751 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83752 for the compat linking library. Remove use of INTDEF/INTUSE.
83753 * sunrpc/auth_none.c: Likewise.
83754 * sunrpc/auth_unix.c: Likewise.
83755 * sunrpc/authdes_prot.c: Likewise.
83756 * sunrpc/authuxprot.c: Likewise.
83757 * sunrpc/clnt_gen.c: Likewise.
83758 * sunrpc/clnt_perr.c: Likewise.
83759 * sunrpc/clnt_raw.c: Likewise.
83760 * sunrpc/clnt_simp.c: Likewise.
83761 * sunrpc/clnt_tcp.c: Likewise.
83762 * sunrpc/clnt_udp.c: Likewise.
83763 * sunrpc/clnt_unix.c: Likewise.
83764 * sunrpc/des_crypt.c: Likewise.
83765 * sunrpc/des_soft.c: Likewise.
83766 * sunrpc/get_myaddr.c: Likewise.
83767 * sunrpc/key_call.c: Likewise.
83768 * sunrpc/key_prot.c: Likewise.
83769 * sunrpc/netname.c: Likewise.
83770 * sunrpc/pm_getmaps.c: Likewise.
83771 * sunrpc/pm_getport.c: Likewise.
83772 * sunrpc/pmap_clnt.c: Likewise.
83773 * sunrpc/pmap_prot.c: Likewise.
83774 * sunrpc/pmap_prot2.c: Likewise.
83775 * sunrpc/pmap_rmt.c: Likewise.
83776 * sunrpc/publickey.c: Likewise.
83777 * sunrpc/rpc_cmsg.c: Likewise.
83778 * sunrpc/rpc_common.c: Likewise.
83779 * sunrpc/rpc_dtable.c: Likewise.
83780 * sunrpc/rpc_prot.c: Likewise.
83781 * sunrpc/rpc_thread.c: Likewise.
83782 * sunrpc/rtime.c: Likewise.
83783 * sunrpc/svc.c: Likewise.
83784 * sunrpc/svc_auth.c: Likewise.
83785 * sunrpc/svc_authux.c: Likewise.
83786 * sunrpc/svc_raw.c: Likewise.
83787 * sunrpc/svc_run.c: Likewise.
83788 * sunrpc/svc_simple.c: Likewise.
83789 * sunrpc/svc_tcp.c: Likewise.
83790 * sunrpc/svc_udp.c: Likewise.
83791 * sunrpc/svc_unix.c: Likewise.
83792 * sunrpc/svcauth_des.c: Likewise.
83793 * sunrpc/xcrypt.c: Likewise.
83794 * sunrpc/xdr.c: Likewise.
83795 * sunrpc/xdr_array.c: Likewise.
83796 * sunrpc/xdr_float.c: Likewise.
83797 * sunrpc/xdr_intXX_t.c: Likewise.
83798 * sunrpc/xdr_mem.c: Likewise.
83799 * sunrpc/xdr_rec.c: Likewise.
83800 * sunrpc/xdr_ref.c: Likewise.
83801 * sunrpc/xdr_sizeof.c: Likewise.
83802 * sunrpc/xdr_stdio.c: Likewise.
83803
83804 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83805
83806 [BZ #12650]
83807 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83808 * sysdeps/ia64/dl-tls.h: Likewise.
83809 * sysdeps/powerpc/dl-tls.h: Likewise.
83810 * sysdeps/s390/dl-tls.h: Likewise.
83811 * sysdeps/sh/dl-tls.h: Likewise.
83812 * sysdeps/sparc/dl-tls.h: Likewise.
83813 * sysdeps/x86_64/dl-tls.h: Likewise.
83814 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83815
83816 2011-03-14 Andreas Schwab <schwab@redhat.com>
83817
83818 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83819 rpath element also skip the following colon.
83820 (expand_dynamic_string_token): Add is_path parameter and pass
83821 down to DL_DST_REQUIRED and _dl_dst_substitute.
83822 (decompose_rpath): Call expand_dynamic_string_token with
83823 non-zero is_path. Ignore empty rpaths.
83824 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83825 with zero is_path.
83826
83827 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83828
83829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83830 Make cancelable.
83831
83832 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83833
83834 [BZ #12655]
83835 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83836 Patch by Filipe David Manana <fdmanana@apache.org>.
83837
83838 2011-04-07 Andreas Schwab <schwab@redhat.com>
83839
83840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83841 Maintain aligned stack.
83842 (CHECK_RSP): Remove unused macro.
83843
83844 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83845
83846 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83847 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83848
83849 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83850
83851 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83852
83853 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83854
83855 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83856
83857 [BZ #12518]
83858 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83859 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83860 * sysdeps/x86_64/memmove.c: New file.
83861 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83862 (memcpy): Renamed to ...
83863 (__new_memcpy): This.
83864 (memcpy): Provide GLIBC_2_14 memcpy.
83865 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83866 (memcpy): Provide GLIBC_2_2_5 memcpy.
83867
83868 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83869
83870 [BZ #12631]
83871 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83872
83873 2011-03-30 Andreas Schwab <schwab@redhat.com>
83874
83875 * misc/syncfs.c: New file.
83876 * misc/Makefile (routines): Add syncfs.
83877 * posix/unistd.h: Declare syncfs.
83878 * sysdeps/unix/syscalls.list: Add syncfs.
83879
83880 2011-04-01 Andreas Schwab <schwab@redhat.com>
83881
83882 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83883 open_by_handle_at.
83884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83887 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83889 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83890 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83891
83892 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83893
83894 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83895 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83896 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83898 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83900 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83901
83902 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83903 sync_file_range.c with -fexceptions.
83904 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83905 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83906 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83907 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83908 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83909 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83910 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83911 sync_file_range as cancellation point
83912 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83913 now a wrapper around __call_sync_file_range with cancellation handling.
83914 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83915 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83916 function name to __call_sync_file_range.
83917 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83918 Add call_sync_file_range.
83919
83920 2011-04-01 Andreas Schwab <schwab@redhat.com>
83921
83922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83923 bits/timex.h.
83924
83925 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83926
83927 * iconv/iconv.h: Fix typo in comment.
83928 * io/fcntl.h: Likewise.
83929 * libio/stdio.h: Likewise.
83930 * posix/spawn.h: Likewise.
83931 * posix/unistd.h: Likewise.
83932 * stdlib/stdlib.h: Likewise.
83933 * time/time.h: Likewise.
83934 * wcsmbs/wchar.h: Likewise.
83935
83936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83937 open_by_handle): Add.
83938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83939 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83940 Augment a few comments.
83941 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83946 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83947 open_by_handle.
83948
83949 * io/fcntl.h (AT_EMPTY_PATH): Define.
83950
83951 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83952
83953 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83954 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83955 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83956 to...
83957 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83958 * Versions.def: Add GLIBC_2.14.
83959 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83960 Export.
83961
83962 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83963
83964 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83965 round counter.
83966 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83967
83968 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83969
83970 [BZ #12597]
83971 * string/test-strncmp.c (do_page_test): New function.
83972 (check2): Likewise.
83973 (test_main): Call check2.
83974 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83975
83976 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83977
83978 [BZ #12587]
83979 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83980 Handle cache information in CPU leaf 4.
83981 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83982
83983 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83984
83985 [BZ #12583]
83986 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83987 character representation.
83988 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83989
83990 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83991
83992 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83993 END(__isnan) to END(__isnanf) to match function entry point/label
83994 EALIGN(__isnanf,...).
83995
83996 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83997
83998 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83999
84000 2011-03-10 Ulrich Drepper <drepper@gmail.com>
84001
84002 [BZ #12510]
84003 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84004 copy from the symbol referenced in the relocation to initialize the
84005 used variable.
84006 Patch by Piotr Bury <pbury@goahead.com>.
84007 * elf/Makefile: Add rules to build and tst-unique3.
84008 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84009 * elf/tst-unique3.cc: New file.
84010 * elf/tst-unique3.h: New file.
84011 * elf/tst-unique3lib.cc: New file.
84012 * elf/tst-unique3lib2.cc: New file.
84013
84014 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84015
84016 2011-03-10 Mike Frysinger <vapier@gentoo.org>
84017
84018 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84019 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
84020 to _start.
84021
84022 2011-03-06 Ulrich Drepper <drepper@gmail.com>
84023
84024 * elf/dl-load.c (_dl_map_object): If we are looking for the first
84025 to-be-loaded object along a path to loader is ld.so.
84026
84027 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84028 Ulrich Drepper <drepper@gmail.com>
84029
84030 * sysdeps/x86_64/memset.S: After aligning destination, code
84031 branches to different locations depending on the value of
84032 misalignment, when multiarch is enabled. Fix this.
84033
84034 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84035
84036 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84037 Set _x86_64_preferred_memory_instruction for AMD processsors.
84038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84039 Set bit_Prefer_SSE_for_memop for AMD processors.
84040
84041 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84042
84043 * libio/fmemopen.c (fmemopen): Optimize a bit.
84044
84045 2011-03-03 Andreas Schwab <schwab@redhat.com>
84046
84047 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84048
84049 2011-03-03 Roland McGrath <roland@redhat.com>
84050
84051 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84052
84053 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84054
84055 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84056 __bzero_ultra1 instead of __memset_ultra1.
84057
84058 2011-02-23 Andreas Schwab <schwab@redhat.com>
84059 Ulrich Drepper <drepper@gmail.com>
84060
84061 [BZ #12509]
84062 * include/link.h (struct link_map): Add l_orig_initfini.
84063 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84064 returning unsuccessfully.
84065 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84066 close of a file loaded at startup, restore the original l_initfini
84067 list.
84068 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84069 list, store the pointer.
84070 * elf/Makefile ($(objpfx)noload-mem): New rule.
84071 (noload-ENV): Define.
84072 (tests): Add $(objpfx)noload-mem.
84073 * elf/noload.c: Include <memcheck.h>.
84074 (main): Call mtrace. Close all opened handles.
84075
84076 2011-02-17 Andreas Schwab <schwab@redhat.com>
84077
84078 [BZ #12454]
84079 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84080 dependencies are missing.
84081
84082 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84083
84084 Fix __if_freereq crash: Unlike the generic version which uses free,
84085 Hurd needs munmap.
84086 * sysdeps/mach/hurd/ifreq.h: New file.
84087
84088 2011-01-27 Petr Baudis <pasky@suse.cz>
84089 Ulrich Drepper <drepper@gmail.com>
84090
84091 [BZ 12445]#
84092 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84093 to extend_alloca().
84094 * stdio-common/bug23.c: New file.
84095 * stdio-common/Makefile (tests): Add bug23.
84096
84097 2010-09-28 Andreas Schwab <schwab@redhat.com>
84098 Ulrich Drepper <drepper@gmail.com>
84099
84100 [BZ #12489]
84101 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84102 before performing relro protection. At old place add assertion
84103 to make sure nothing changed.
84104
84105 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84106 Glauber de Oliveira Costa <glommer@gmail.com>
84107
84108 * elf/elf.h: Add new ARM TLS relocs.
84109
84110 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84111
84112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84113 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84114 cast from r3.
84115 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84116 'tests' variable.
84117 * sysdeps/wordsize-64/tst-writev.c: New file.
84118
84119 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84120
84121 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84122 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84123 insns in _dl_start to prevent a TOC reference before relocs are
84124 resolved.
84125
84126 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84127
84128 [BZ #12469]
84129 * Makeconfig: Remove RANLIB definition.
84130 * Makerules: Don't use RANLIB.
84131 * aclocal.m4: Remove ranlib test.
84132 * configure.in: No need to check for ranlib.
84133 * elf/rtld-Rules: Don't use RANLIB.
84134
84135 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84136
84137 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84138 protection macro.
84139 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84140 inclusion protection macro.
84141
84142 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84143 SIGRTMIN and SIGRTMAX and print information in that case only when
84144 SIGRTMIN is defined.
84145
84146 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84147
84148 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84149 arginfo fn returning -1.
84150
84151 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84152 and thousands string is zero terminated.
84153
84154 2011-02-03 Andreas Schwab <schwab@redhat.com>
84155
84156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84157 sysdeps/unix/sysv/linux/bits/socket.h.
84158
84159 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84160
84161 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84162 (__CPU_COUNT): Remove old macros.
84163 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84164 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84165 (__CPU_ALLOC, __CPU_FREE): Add macros.
84166 (__sched_cpualloc, __sched_cpufree): Add declarations.
84167
84168 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84169
84170 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84171 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84172 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84173 (readdhstai): Return value of addhstaiX call.
84174 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84175 (addgrbyX): Return value returned by cache_addgr.
84176 (readdgrbyname): Return value returned by addgrbyX.
84177 (readdgrbygid): Likewise.
84178 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84179 (addpwbyX): Return value returned by cache_addpw.
84180 (readdpwbyname): Return value returned by addhstbyX.
84181 (readdpwbyuid): Likewise.
84182 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84183 (addservbyX): Return value returned by cache_addserv.
84184 (readdservbyname): Return value returned by addservbyX:
84185 (readdservbyport): Likewise.
84186 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84187 (addhstbyX): Return value returned by cache_addhst.
84188 (readdhstbyname): Return value returned by addhstbyX.
84189 (readdhstbyaddr): Likewise.
84190 (readdhstbynamev6): Likewise.
84191 (readdhstbyaddrv6): Likewise.
84192 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84193 (readdinitgroups): Return value returned by addinitgroupsX.
84194 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84195 (prune_cache): Keep track of timeout value of re-added entries.
84196 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84197 * nscd/nscd.h: Adjust prototypes of readd* functions.
84198
84199 2011-02-04 Roland McGrath <roland@redhat.com>
84200
84201 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84202 (nis_stats): Likewise.
84203 * nis/nis_modify.c (nis_modify): Likewise.
84204 * nis/nis_remove.c (nis_remove): Likewise.
84205 * nis/nis_add.c (nis_add): Likewise.
84206
84207 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84208
84209 * posix/fnmatch_loop.c: Add some consts.
84210
84211 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84212
84213 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84214
84215 [BZ #12460]
84216 * config.make.in (config-cflags-novzeroupper): Define.
84217 * configure.in: Substitute libc_cv_cc_novzeroupper.
84218 * elf/Makefile (AVX-CFLAGS): Define.
84219 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84220 (CFLAGS-tst-auditmod4a.c): Likewise.
84221 (CFLAGS-tst-auditmod4b.c): Likewise.
84222 (CFLAGS-tst-auditmod6b.c): Likewise.
84223 (CFLAGS-tst-auditmod6c.c): Likewise.
84224 (CFLAGS-tst-auditmod7b.c): Likewise.
84225 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84226
84227 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84228
84229 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84230 function to the callback.
84231 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84232
84233 2011-02-02 Andreas Schwab <schwab@redhat.com>
84234
84235 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84236 of errno.
84237
84238 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84239
84240 [BZ #11724]
84241 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84242 of constructors.
84243 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84244 of destructors.
84245 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84246
84247 [BZ #11724]
84248 * elf/Makefile: Add rules to build and run new test.
84249 * elf/tst-initorder.c: New file.
84250 * elf/tst-initorder.exp: New file.
84251 * elf/tst-initordera1.c: New file.
84252 * elf/tst-initordera2.c: New file.
84253 * elf/tst-initordera3.c: New file.
84254 * elf/tst-initordera4.c: New file.
84255 * elf/tst-initorderb1.c: New file.
84256 * elf/tst-initorderb2.c: New file.
84257 * elf/tst-order-a1.c: New file.
84258 * elf/tst-order-a2.c: New file.
84259 * elf/tst-order-a3.c: New file.
84260 * elf/tst-order-a4.c: New file.
84261 * elf/tst-order-b1.c: New file.
84262 * elf/tst-order-b2.c: New file.
84263 * elf/tst-order-main.c: New file.
84264 New test case by George Gensure <werkt0@gmail.com>.
84265
84266 2010-10-01 Andreas Schwab <schwab@redhat.com>
84267
84268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84269 decoding ACE if AI_CANONIDN.
84270
84271 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84272
84273 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84274
84275 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84276
84277 * version.h (RELEASE): Bump for 2.13 release.
84278 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84279
84280 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84281
84282 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84283 MADV_NOHUGEPAGE.
84284 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84285 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84287 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84288 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84290
84291 * posix/getconf.c: Update copyright year.
84292 * catgets/gencat.c: Likewise.
84293 * csu/version.c: Likewise.
84294 * debug/catchsegv.sh: Likewise.
84295 * debug/xtrace.sh: Likewise.
84296 * elf/ldconfig.c: Likewise.
84297 * elf/ldd.bash.in: Likewise.
84298 * elf/sprof.c (print_version): Likewise.
84299 * iconv/iconv_prog.c: Likewise.
84300 * iconv/iconvconfig.c: Likewise.
84301 * locale/programs/locale.c: Likewise.
84302 * locale/programs/localedef.c: Likewise.
84303 * malloc/memusage.sh: Likewise.
84304 * malloc/mtrace.pl: Likewise.
84305 * nscd/nscd.c (print_version): Likewise.
84306 * nss/getent.c: Likewise.
84307
84308 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84309 PF_CAIF, and PF_ALG.
84310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84311
84312 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84313
84314 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84315 (modules-names): Use them.
84316 (ifunc-test-modules, ifunc-pie-tests): Define.
84317 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84318 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84319 (test-extras): Likewise.
84320 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84321 $(compile-command.c).
84322 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84323 (all-built-dso): Define.
84324 (check-textrel.out, check-execstack.out): Depend on it.
84325
84326 * configure.in: Don't override --enable-multi-arch.
84327
84328 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84329
84330 [BZ #6812]
84331 * nscd/hstcache.c (tryagain): Define.
84332 (cache_addhst): Return tryagain not notfound for temporary errors.
84333 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84334 failed.
84335
84336 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84337
84338 [BZ #10563]
84339 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84340 to make the syscall.
84341 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84342
84343 [BZ #12378]
84344 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84345 and fall back to matching as normal character if the string ends before
84346 the matching ']' is found. This is what POSIX requires.
84347 * posix/testfnm.c: Adjust test result.
84348 * posix/globtest.sh: Adjust test result. Add new test.
84349 * posix/tst-fnmatch.input: Likewise.
84350 * posix/tst-fnmatch2.c: Add new test.
84351
84352 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84353
84354 * elf/Makefile (check-execstack): Revert last change. Depend on
84355 check-execstack.h.
84356 (check-execstack.h): New target.
84357 (generated): Add check-execstack.h.
84358 * elf/check-execstack.c: Include "check-execstack.h".
84359 (main): Revert last change.
84360 (handle_file): Return zero if GNU_STACK is absent and
84361 DEFAULT_STACK_PERMS doesn't include PF_X.
84362
84363 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84364
84365 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84366 in child fails because the descriptor is already closed.
84367 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84368 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84369 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84370
84371 [BZ #12397]
84372 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84373 syscall.
84374
84375 [BZ #10484]
84376 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84377 temporary buffer used to handle multi lookups locally.
84378 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84379
84380 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84381
84382 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84383 loader is ld.so.
84384
84385 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84386
84387 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84388 alignment for SSE2.
84389
84390 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84391
84392 [BZ #12394]
84393 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84394 characters. When rounding increased number of integer digits recompute
84395 number of groups.
84396 * stdio-common/tst-grouping.c: New file.
84397 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84398
84399 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84400
84401 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84402 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84403
84404 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84405 void.
84406 * bits/select.h: Likewise.
84407
84408 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84409
84410 * po/ja.po: Update from translation team.
84411
84412 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84413
84414 [BZ #11155]
84415 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84416 implementation just like for lxstat, fxstatat, et al.
84417
84418 2010-12-27 Jim Meyering <meyering@redhat.com>
84419
84420 [BZ #12348]
84421 * posix/regexec.c (build_trtable): Return failure indication upon
84422 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84423
84424 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84425
84426 [BZ #12201]
84427 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84428 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84429 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84430 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84431
84432 [BZ #12207]
84433 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84434
84435 [BZ #12204]
84436 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84437 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84438
84439 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84440
84441 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84442 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84443 script has SORT_BY_INIT_PRIORITY.
84444 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84445 NO_CTORS_DTORS_SECTIONS is defined.
84446 * elf/soinit.c: Likewise.
84447 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84448 NO_CTORS_DTORS_SECTIONS is defined.
84449 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84450 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84451 * sysdeps/sh/init-first.c: Likewise.
84452 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84453
84454 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84455
84456 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84457 always use the slow path.
84458
84459 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84460
84461 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84462 similar rule which adds the sysdep directories to the header search in
84463 order to pick up the correct platform stackinfo.h.
84464 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84465 perform test if it is, otherwise return successfully without testing.
84466 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84467 DEFAULT_STACK_PERMS define in stackinfo.h.
84468 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84469 defined in stackinfo.h.
84470 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84471 DEFAULT_STACK_PERMS defined in stackinfo.h.
84472 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84473 * sysdeps/ia64/stackinfo.h: Likewise.
84474 * sysdeps/s390/stackinfo.h: Likewise.
84475 * sysdeps/sh/stackinfo.h: Likewise.
84476 * sysdeps/sparc/stackinfo.h: Likewise.
84477 * sysdeps/x86_64/stackinfo.h: Likewise.
84478 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84479 PF_X for powerpc64. Retain PF_X for powerpc32.
84480
84481 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84482
84483 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84484 accurately.
84485 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84486 GETDENTS_64BIT_ALIGNED.
84487
84488 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84489
84490 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84491
84492 2010-12-10 Andreas Schwab <schwab@redhat.com>
84493
84494 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84495 _GNU_SOURCE.
84496
84497 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84498 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84499 Remove __restrict.
84500 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84501 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84502
84503 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84504
84505 [BZ #11655]
84506 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84507 are initialized.
84508
84509 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84510
84511 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84512
84513 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84514
84515 * po/it.po: Update from translation team.
84516
84517 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84518
84519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84520 unused codes.
84521
84522 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84523
84524 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84525
84526 2010-11-24 Andreas Schwab <schwab@redhat.com>
84527
84528 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84529 specially.
84530 (gaih_getanswer_slice): Likewise.
84531
84532 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84533
84534 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84535
84536 2010-05-31 Petr Baudis <pasky@suse.cz>
84537
84538 [BZ #11149]
84539 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84540 silently even in the chroot mode.
84541
84542 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84543
84544 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84545 last patch a bit. Pretty printing
84546
84547 2010-05-31 Petr Baudis <pasky@suse.cz>
84548
84549 [BZ #10085]
84550 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84551 initialization of skip_initgroups_dyn.
84552
84553 2010-11-19 Ulrich Drepper <drepper@gmail.com>
84554
84555 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84556 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84557
84558 2010-11-16 Ulrich Drepper <drepper@gmail.com>
84559
84560 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84561
84562 2010-11-11 Andreas Schwab <schwab@redhat.com>
84563
84564 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84565 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84566 (tst-fnmatch-ENV): Set MALLOC_TRACE.
84567 ($(objpfx)tst-fnmatch-mem): New rule.
84568 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84569 * posix/tst-fnmatch.c (main): Call mtrace.
84570
84571 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
84572
84573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84574 Support Intel processor model 6 and model 0x2c.
84575
84576 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
84577
84578 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84579 signed comparison.
84580
84581 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84582
84583 [BZ #12205]
84584 * string/test-strncasecmp.c (check_result): New function.
84585 (do_one_test): Use it.
84586 (check1): New function.
84587 (test_main): Use it.
84588 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84589 Support strcasecmp and strncasecmp.
84590
84591 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84592
84593 [BZ #12194]
84594 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84596
84597 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84598
84599 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84600 IFUNC support.
84601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84602 memset-x86-64.
84603 * sysdeps/x86_64/multiarch/bzero.S: New file.
84604 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84605 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84606 * sysdeps/x86_64/multiarch/memset.S: New file.
84607 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84609 Set bit_Prefer_SSE_for_memop for Intel processors.
84610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84611 Define.
84612 (index_Prefer_SSE_for_memop): Define.
84613 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84614
84615 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84616
84617 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84618 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84619
84620 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84621
84622 [BZ #12191]
84623 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84624 (__x86_64_raw_data_cache_size_half): Likewise.
84625 (__x86_64_raw_shared_cache_size): Likewise.
84626 (__x86_64_raw_shared_cache_size_half): Likewise.
84627
84628 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84629 (__x86_64_raw_data_cache_size_half): Likewise.
84630 (__x86_64_raw_shared_cache_size): Likewise.
84631 (__x86_64_raw_shared_cache_size_half): Likewise.
84632 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84633 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84634 and __x86_64_raw_shared_cache_size_half. Round
84635 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84636 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84637 to multiple of 256 bytes.
84638
84639 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84640
84641 [BZ #12167]
84642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84643 of inacessible symlinks. Verify result of symlink before returning it.
84644 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84645 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84646
84647 2010-10-28 Erich Ritz <erichritz@gmail.com>
84648
84649 * math/math.h (isinf): Fix typo in comment.
84650
84651 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84652
84653 * po/da.po: Update from translation team.
84654
84655 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84656
84657 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84658 is added to the list.
84659
84660 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84661 Ulrich Drepper <drepper@gmail.com>
84662
84663 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84664 the global list here. Move code to...
84665 (_dl_add_to_namespace_list): ...here. New function.
84666 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84667 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84668 * elf/dl-load.c (lose): Don't remove the element from the list.
84669 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84670 (_dl_map_object): Likewise.
84671
84672 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84673
84674 [BZ #12159]
84675 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84676 into all bytes of SSE register.
84677 Patch by Richard Li <richardpku@gmail.com>.
84678
84679 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84680
84681 [BZ #12140]
84682 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84683 perturbing.
84684
84685 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84686
84687 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84688 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84689 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84690 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84692 submachine.
84693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84694
84695 2010-10-22 Andreas Schwab <schwab@redhat.com>
84696
84697 * include/dlfcn.h (__RTLD_SECURE): Define.
84698 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84699 mode & __RTLD_SECURE instead.
84700 (open_path): Rename preloaded parameter to secure.
84701 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84702 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84703 * elf/dl-deps.c (openaux): Likewise.
84704 * elf/rtld.c (struct map_args): Remove is_preloaded.
84705 (map_doit): Don't use it.
84706 (dl_main): Likewise.
84707 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84708 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84709
84710 2010-09-09 Andreas Schwab <schwab@redhat.com>
84711
84712 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84713 (sysd-rules-targets): Remove duplicates.
84714 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84715 rtld-%.$o dependency.
84716
84717 2010-10-18 Andreas Schwab <schwab@redhat.com>
84718
84719 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84720 _dl_map_object do it.
84721
84722 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84723
84724 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84725 fast fma builtins, define the macros in the C99 standard.
84726 (FP_FAST_FMAF): Likewise.
84727 (FP_FAST_FMAL): Likewise.
84728 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84729
84730 * bits/mathdef.h: Update copyright year.
84731 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84732
84733 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84734
84735 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84736 builtins, define the macros in the C99 standard.
84737 (FP_FAST_FMAF): Likewise.
84738 (FP_FAST_FMAL): Likewise.
84739 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84740 multiply/add.
84741 (FP_FAST_FMAF): Likewise.
84742
84743 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84744
84745 [BZ #3268]
84746 * math/libm-test.inc (fma_test): Some new testcases.
84747 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84748 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84749 y and infinite z. Do multiplication by C already in long double.
84750 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84752 y and infinite z. Do bitwise or of inexact bit into u.d.
84753 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84754 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84755 * sysdeps/i386/fpu/s_fma.S: Removed.
84756 * sysdeps/i386/fpu/s_fmal.S: Removed.
84757
84758 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84759
84760 [BZ #3268]
84761 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84763 computation is not scheduled after fetestexcept. Fix value
84764 of minimum denormal long double.
84765
84766 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84767
84768 [BZ #3268]
84769 * math/libm-test.inc (fma_test): Add some more tests.
84770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84771 correctly.
84772
84773 2010-10-15 Andreas Schwab <schwab@redhat.com>
84774
84775 * scripts/data/localplt-s390-linux-gnu.data: New file.
84776 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84777
84778 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84779
84780 [BZ #3268]
84781 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84782 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84783 instead of dbl-64.
84784 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84785 inlines.
84786 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84788 if one of x and y is very large and the other is subnormal.
84789 * sysdeps/s390/fpu/s_fmaf.c: New file.
84790 * sysdeps/s390/fpu/s_fma.c: New file.
84791 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84792 * sysdeps/powerpc/fpu/s_fma.S: New file.
84793 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84794 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84795 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84796
84797 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84798
84799 [BZ #3268]
84800 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84801 fma tests.
84802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84803 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84804 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84805 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84806 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84807 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84808 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84809
84810 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84811
84812 [BZ #12078]
84813 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84814 * posix/bug-regex31.input: Add test case.
84815
84816 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84817
84818 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84819 * posix/bug-regex31.input: New file.
84820
84821 [BZ #12078]
84822 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84823 (parse_sub_exp): Fix last change, use postorder.
84824
84825 * posix/bug-regex31.c: New file.
84826 * posix/Makefile: Add rules to build and run bug-regex31.
84827
84828 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84829
84830 [BZ #12078]
84831 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84832
84833 [BZ #12108]
84834 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84835 to have entries in sys_siglist.
84836
84837 [BZ #12093]
84838 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84839 be NULL.
84840
84841 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84842
84843 [BZ #3268]
84844 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84845 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84846 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84847 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84848 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84849 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84850 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84851 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84852 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84853 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84854 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84855 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84856 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84857 * math/ftestexcept.c (fetestexcept): Likewise.
84858 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84859 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84860 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84861 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84862 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84863 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84864 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84865
84866 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84867
84868 [BZ #12107]
84869 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84870 newline.
84871
84872 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84873
84874 * string/bug-strstr1.c: New file.
84875 * string/Makefile: Add rules to build and run bug-strstr1.
84876
84877 2010-10-05 Eric Blake <eblake@redhat.com>
84878
84879 [BZ #12092]
84880 * string/str-two-way.h (two_way_long_needle): Always clear memory
84881 when skipping input due to the shift table.
84882
84883 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84884
84885 [BZ #12005]
84886 * malloc/mcheck.c: Handle large requests.
84887
84888 [BZ #12077]
84889 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84890 for strncmp and strncasecmp.
84891 * string/stratcliff.c: Add tests for strcmp and strncmp.
84892 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84893
84894 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84895
84896 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84897 __set_fpscr.
84898
84899 2010-09-30 Andreas Jaeger <aj@suse.de>
84900
84901 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84902 (CGROUP_SUPER_MAGIC): Define.
84903 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84904 Handle btrfs and cgroup file systems.
84905 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84906 Likewise.
84907
84908 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84909
84910 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84911 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84912
84913 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84914
84915 [BZ #12067]
84916 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84917 trying to locate the ELF header.
84918
84919 2010-09-27 Andreas Schwab <schwab@redhat.com>
84920
84921 [BZ #11611]
84922 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84923 Mask out sign-bit copies when constructing f_fsid.
84924
84925 2010-09-24 Petr Baudis <pasky@suse.cz>
84926
84927 * debug/stack_chk_fail_local.c: Add missing licence exception.
84928 * debug/warning-nop.c: Likewise.
84929
84930 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84931
84932 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84933 implementing getdents64 using getdents syscall, set d_type if
84934 __ASSUME_GETDENTS32_D_TYPE.
84935
84936 2010-09-16 Andreas Schwab <schwab@redhat.com>
84937
84938 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84939 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84940
84941 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84942
84943 [BZ #12037]
84944 * posix/unistd.h: Undo change of feature selection for ftruncate from
84945 2010-01-11.
84946
84947 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84948
84949 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84950 detection.
84951
84952 2010-09-20 Andreas Schwab <schwab@redhat.com>
84953
84954 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84955 fanotify_mark.
84956 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84957
84958 2010-09-14 Andreas Schwab <schwab@redhat.com>
84959
84960 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84961 variables after CHECK_SP call.
84962 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84963
84964 2010-09-13 Andreas Schwab <schwab@redhat.com>
84965 Ulrich Drepper <drepper@redhat.com>
84966
84967 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84968 re-relocationg ld.so.
84969 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84970 _dl_init_paths call.
84971 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84972 here anymore.
84973
84974 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84975
84976 * resolv/res_init.c (__res_vinit): Count the default server we added.
84977
84978 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84979 Ulrich Drepper <drepper@redhat.com>
84980
84981 [BZ #11968]
84982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84983 (____longjmp_chk): Use %ebx for saving value across system call.
84984 Add unwind info.
84985
84986 2010-09-06 Andreas Schwab <schwab@redhat.com>
84987
84988 * manual/Makefile: Don't mix pattern rules with normal rules.
84989
84990 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84991
84992 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84993 operation.
84994 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84995 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84996 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84997 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84999 Likewise.
85000
85001 2010-09-04 Ulrich Drepper <drepper@redhat.com>
85002
85003 [BZ #11979]
85004 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85005 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85006
85007 2010-09-02 Ulrich Drepper <drepper@redhat.com>
85008
85009 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85010 * sysdeps/x86_64/addmul_1.S: Likewise.
85011 * sysdeps/x86_64/lshift.S: Likewise.
85012 * sysdeps/x86_64/mul_1.S: Likewise.
85013 * sysdeps/x86_64/rshift.S: Likewise.
85014 * sysdeps/x86_64/sub_n.S: Likewise.
85015 * sysdeps/x86_64/submul_1.S: Likewise.
85016
85017 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
85018
85019 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85020 Define __sched_param instead of SCHED_* and sched_param when
85021 <bits/sched.h> is included with __need_schedparam defined.
85022 * bits/sched.h [__need_schedparam]
85023 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85024 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85025 (__defined_schedparam): Define to 1.
85026 (__sched_param): New structure, identical to sched_param.
85027 (__need_schedparam): Undefine.
85028
85029 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85030
85031 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85032 (epoll_create1): Declare.
85033
85034 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85035
85036 2010-08-31 Andreas Schwab <schwab@redhat.com>
85037
85038 [BZ #7066]
85039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85040 shifting retval into place.
85041
85042 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85043
85044 * nis/rpcsvc/nis.h: Update copyright notice.
85045 * nis/rpcsvc/nis.x: Likewise.
85046 * nis/rpcsvc/nis_callback.h: Likewise.
85047 * nis/rpcsvc/nis_callback.x: Likewise.
85048 * nis/rpcsvc/nis_object.x: Likewise.
85049 * nis/rpcsvc/nis_tags.h: Likewise.
85050 * nis/rpcsvc/yp.h: Likewise.
85051 * nis/rpcsvc/yp.x: Likewise.
85052 * nis/rpcsvc/ypupd.h: Likewise.
85053 * nis/yp_xdr.c: Likewise.
85054 * nis/ypupdate_xdr.c: Likewise.
85055
85056 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85057 mainly the body of pmap_getport. Add parameters to specify timeouts.
85058 (pmap_getport): Use __libc_rpc_getport.
85059 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85060 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85061 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85062
85063 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85064
85065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85066 fanotify_mark.
85067
85068 2010-08-27 Roland McGrath <roland@redhat.com>
85069
85070 * sysdeps/i386/i686/multiarch/Makefile
85071 (CFLAGS-varshift.c): New variable.
85072
85073 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85074
85075 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85076 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85077
85078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85079
85080 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85081
85082 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85083
85084 * sysdeps/x86_64/strlen.S: Unroll the loop.
85085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85086 strlen-sse2 strlen-sse2-bsf.
85087 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85088 __strlen_no_bsf if bit_Slow_BSF is set.
85089 (__strlen_sse42): Removed.
85090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85091 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85092
85093 2010-08-25 Roland McGrath <roland@redhat.com>
85094
85095 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85096 * sysdeps/x86_64/multiarch/varshift.c: New file.
85097 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85098 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85099 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85100 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85101
85102 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85103
85104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85105 strlen-sse2 strlen-sse2-bsf.
85106 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85107 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85108 (__strlen_sse2): Removed.
85109 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85110 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85112 bit_Slow_BSF for Atom.
85113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85114 (index_Slow_BSF): Define.
85115 (HAS_SLOW_BSF): Define.
85116
85117 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85118
85119 [BZ #10851]
85120 * resolv/res_init.c (__res_vinit): When no server address at all
85121 is given default to loopback.
85122
85123 2010-08-24 Roland McGrath <roland@redhat.com>
85124
85125 * configure.in: Remove config-name.h generation.
85126 * configure: Regenerated.
85127 * config-name.in: File removed.
85128 * scripts/config-uname.sh: New file.
85129 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85130 ($(objdir)config-name.h): New target.
85131
85132 * sunrpc/rpc_parse.h: Avoid nested comment.
85133
85134 2010-08-24 Richard Henderson <rth@redhat.com>
85135 Ulrich Drepper <drepper@redhat.com>
85136 H.J. Lu <hongjiu.lu@intel.com>
85137
85138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85140 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85141 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85142 _mm_alignr_epi8 with _mm_loadu_si128.
85143 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85144 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85145 (__m128i_shift_right): Removed.
85146 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85147 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85148 * sysdeps/x86_64/multiarch/varshift.h: New file.
85149 * sysdeps/x86_64/multiarch/varshift.S: New file.
85150
85151 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85152
85153 * configure.in: Move assembler checks to before sysdep dir checking.
85154
85155 2010-08-20 Petr Baudis <pasky@suse.cz>
85156
85157 * LICENSES: Sync the sunrpc license.
85158
85159 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85160
85161 * sunrpc/auth_des.c: Update copyright notice once again.
85162 * sunrpc/auth_none.c: Likewise.
85163 * sunrpc/auth_unix.c: Likewise.
85164 * sunrpc/authdes_prot.c: Likewise.
85165 * sunrpc/authuxprot.c: Likewise.
85166 * sunrpc/bindrsvprt.c: Likewise.
85167 * sunrpc/clnt_gen.c: Likewise.
85168 * sunrpc/clnt_perr.c: Likewise.
85169 * sunrpc/clnt_raw.c: Likewise.
85170 * sunrpc/clnt_simp.c: Likewise.
85171 * sunrpc/clnt_tcp.c: Likewise.
85172 * sunrpc/clnt_udp.c: Likewise.
85173 * sunrpc/clnt_unix.c: Likewise.
85174 * sunrpc/des_crypt.c: Likewise.
85175 * sunrpc/des_soft.c: Likewise.
85176 * sunrpc/get_myaddr.c: Likewise.
85177 * sunrpc/getrpcport.c: Likewise.
85178 * sunrpc/key_call.c: Likewise.
85179 * sunrpc/key_prot.c: Likewise.
85180 * sunrpc/openchild.c: Likewise.
85181 * sunrpc/pm_getmaps.c: Likewise.
85182 * sunrpc/pm_getport.c: Likewise.
85183 * sunrpc/pmap_clnt.c: Likewise.
85184 * sunrpc/pmap_prot.c: Likewise.
85185 * sunrpc/pmap_prot2.c: Likewise.
85186 * sunrpc/pmap_rmt.c: Likewise.
85187 * sunrpc/rpc/auth.h: Likewise.
85188 * sunrpc/rpc/auth_unix.h: Likewise.
85189 * sunrpc/rpc/clnt.h: Likewise.
85190 * sunrpc/rpc/des_crypt.h: Likewise.
85191 * sunrpc/rpc/key_prot.h: Likewise.
85192 * sunrpc/rpc/netdb.h: Likewise.
85193 * sunrpc/rpc/pmap_clnt.h: Likewise.
85194 * sunrpc/rpc/pmap_prot.h: Likewise.
85195 * sunrpc/rpc/pmap_rmt.h: Likewise.
85196 * sunrpc/rpc/rpc.h: Likewise.
85197 * sunrpc/rpc/rpc_des.h: Likewise.
85198 * sunrpc/rpc/rpc_msg.h: Likewise.
85199 * sunrpc/rpc/svc.h: Likewise.
85200 * sunrpc/rpc/svc_auth.h: Likewise.
85201 * sunrpc/rpc/types.h: Likewise.
85202 * sunrpc/rpc/xdr.h: Likewise.
85203 * sunrpc/rpc_clntout.c: Likewise.
85204 * sunrpc/rpc_cmsg.c: Likewise.
85205 * sunrpc/rpc_common.c: Likewise.
85206 * sunrpc/rpc_cout.c: Likewise.
85207 * sunrpc/rpc_dtable.c: Likewise.
85208 * sunrpc/rpc_hout.c: Likewise.
85209 * sunrpc/rpc_main.c: Likewise.
85210 * sunrpc/rpc_parse.c: Likewise.
85211 * sunrpc/rpc_parse.h: Likewise.
85212 * sunrpc/rpc_prot.c: Likewise.
85213 * sunrpc/rpc_sample.c: Likewise.
85214 * sunrpc/rpc_scan.c: Likewise.
85215 * sunrpc/rpc_scan.h: Likewise.
85216 * sunrpc/rpc_svcout.c: Likewise.
85217 * sunrpc/rpc_tblout.c: Likewise.
85218 * sunrpc/rpc_util.c: Likewise.
85219 * sunrpc/rpc_util.h: Likewise.
85220 * sunrpc/rpcinfo.c: Likewise.
85221 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85222 * sunrpc/rpcsvc/key_prot.x: Likewise.
85223 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85224 * sunrpc/rpcsvc/mount.x: Likewise.
85225 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85226 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85227 * sunrpc/rpcsvc/rex.x: Likewise.
85228 * sunrpc/rpcsvc/rstat.x: Likewise.
85229 * sunrpc/rpcsvc/rusers.x: Likewise.
85230 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85231 * sunrpc/rpcsvc/spray.x: Likewise.
85232 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85233 * sunrpc/rtime.c: Likewise.
85234 * sunrpc/svc.c: Likewise.
85235 * sunrpc/svc_auth.c: Likewise.
85236 * sunrpc/svc_authux.c: Likewise.
85237 * sunrpc/svc_raw.c: Likewise.
85238 * sunrpc/svc_run.c: Likewise.
85239 * sunrpc/svc_simple.c: Likewise.
85240 * sunrpc/svc_tcp.c: Likewise.
85241 * sunrpc/svc_udp.c: Likewise.
85242 * sunrpc/svc_unix.c: Likewise.
85243 * sunrpc/svcauth_des.c: Likewise.
85244 * sunrpc/xcrypt.c: Likewise.
85245 * sunrpc/xdr.c: Likewise.
85246 * sunrpc/xdr_array.c: Likewise.
85247 * sunrpc/xdr_float.c: Likewise.
85248 * sunrpc/xdr_mem.c: Likewise.
85249 * sunrpc/xdr_rec.c: Likewise.
85250 * sunrpc/xdr_ref.c: Likewise.
85251 * sunrpc/xdr_sizeof.c: Likewise.
85252 * sunrpc/xdr_stdio.c: Likewise.
85253
85254 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85255 handling.
85256
85257 2010-08-19 Andreas Schwab <schwab@redhat.com>
85258
85259 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85260
85261 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85262
85263 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85264 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85265 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85266 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85267 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85268 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85269 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85270 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85271 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85272 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85273 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85274 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85275 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85276 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85277
85278 2010-07-26 Anton Blanchard <anton@samba.org>
85279
85280 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85281 * malloc/arena.c (heap_trim): Likewise.
85282
85283 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85284
85285 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85286 here. Not...
85287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85288 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85289
85290 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85291
85292 * sysdeps/i386/elf/Makefile: New file.
85293
85294 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85295
85296 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85297 from fanotify_init.
85298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85300
85301 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85302
85303 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85304 of strncasecmp_l.
85305 * sysdeps/multiarch/strcmp.S: Likewise.
85306
85307 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85308
85309 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85310 strncase_l-nonascii.
85311 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85312 Add strncase_l-ssse3.
85313 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85314 * sysdeps/x86_64/strcmp.S: Likewise.
85315 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85316 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85317 * sysdeps/x86_64/strncase.S: New file.
85318 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85319 * sysdeps/x86_64/strncase_l.S: New file.
85320 * string/Makefile (strop-tests): Add strncasecmp.
85321 * string/test-strncasecmp.c: New file.
85322
85323 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85324 warning.
85325
85326 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85327 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85328
85329 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85330
85331 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85332
85333 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85334
85335 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85336 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85337 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85338
85339 2010-05-01 Alan Modra <amodra@gmail.com>
85340
85341 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85342 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85343 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85344 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85345 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85346 tidying. Don't tail-call __sigjmp_save for static lib.
85347 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85348 save location.
85349 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85350 (CALL_MCOUNT): Add eh info, and nop after bl.
85351 (TAIL_CALL_SYSCALL_ERROR): New macro.
85352 (PSEUDO_RET): Use it.
85353 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85354 Correct save location of integer regs and cr.
85355 (_dl_profile_resolve): Correct cr save location. Delete nops
85356 after bl when SHARED. Reduce cfi size a little by better
85357 placement of cfi directives.
85358 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85359 make a stack frame. Instead use parm save area as a temp.
85360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85361 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85363 Don't make a stack frame for parent, use parm save area.
85364 Increase child stack frame to 112 bytes. Don't save unused reg,
85365 and adjust reg usage. Set up cfi on error recovery and
85366 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85368 (__makecontext): Add dummy nop after jump to exit.
85369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85370 Use correct parm save area and cr save, reduce stack frame.
85371 Correct cfi for possible PSEUDO_RET frame setup.
85372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85373 Branch to local label emitted by PSEUDO_RET rather than
85374 __syscall_error.
85375
85376 2010-08-12 Andreas Schwab <schwab@redhat.com>
85377
85378 [BZ #11904]
85379 * locale/programs/locale.c (print_assignment): New function.
85380 (show_locale_vars): Use it.
85381
85382 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85383
85384 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85385 field.
85386 (struct statfs64): Likewise.
85387 (_STATFS_F_FLAGS): Define.
85388 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85390 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85391 (ST_VALID): Define locally.
85392 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85393 __statvfs_getflags, use the provided value.
85394 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85395 __ASSUME_STATFS_F_FLAGS.
85396
85397 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85398
85399 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85400 Add sys/fanotify.h.
85401 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85402 fanotify_mask for GLIBC_2.13.
85403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85404 fanotify_init and fanotify_mark.
85405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85406 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85407
85408 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85409 Add prlimit.
85410 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85411 prlimit64 for GLIBC_2.13.
85412 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85413 prlimit64.
85414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85415 syscall.
85416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85417 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85418 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85419 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85421 add prlimit alias.
85422 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85423
85424 [BZ #11903]
85425 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85426 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85427
85428 * nss/Makefile: Add rules to build and run tst-nss-test1.
85429 * shlib-versions: Add entry for libnss_test1.
85430 * nss/nss_test1.c: New file.
85431 * nss/tst-nss-test1.c: New file.
85432
85433 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85434 (__nss_configure_lookup): Set appropriate entry in
85435 __nss_configure_lookup to true.
85436 * nss/nsswitch.h: Define enum with indeces of databases in
85437 databases and __nss_database_custom arrays. Declare
85438 __nss_database_custom.
85439 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85440 to avoid using nscd when custom rules are installed.
85441 * nss/getXXbyYY_r.c: Likewise.
85442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85443
85444 * nss/nss_files/files-parse.c: Whitespace fixes.
85445
85446 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85447
85448 [BZ #11883]
85449 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85450 * posix/fnmatch_loop.c: Likewise.
85451
85452 2010-07-17 Andi Kleen <ak@linux.intel.com>
85453
85454 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85455 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85456 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85457 * Versions.def [GLIBC_2.13]: Add.
85458
85459 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85460
85461 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85462 Also fail if tpwd after pwuid call is NULL.
85463
85464 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85465
85466 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85467 when converting to ms.
85468
85469 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85470
85471 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85472 EOPNOTSUPP errors with ENOTTY.
85473 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85474 EOPNOTSUPP errors with ENOTTY.
85475
85476 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85477
85478 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85479 Add strcasecmp_l-ssse3.
85480 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85481 strcasecmp.
85482 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85483 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85484 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85485
85486 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85487
85488 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85489
85490 * string/Makefile (strop-tests): Add strcasecmp.
85491 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85492 strcasecmp_l-nonascii.
85493 (gen-as-const-headers): Add locale-defines.sym.
85494 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85495 * sysdeps/x86_64/strcasecmp.S: New file.
85496 * sysdeps/x86_64/strcasecmp_l.S: New file.
85497 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85498 * sysdeps/x86_64/locale-defines.sym: New file.
85499 * string/test-strcasecmp.c: New file.
85500
85501 * string/test-strcasestr.c: Test both ends of the range of characters.
85502 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85503
85504 2010-07-29 Roland McGrath <roland@redhat.com>
85505
85506 [BZ #11856]
85507 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85508
85509 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85510
85511 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85512 for ld.so.
85513
85514 2010-07-27 Andreas Schwab <schwab@redhat.com>
85515
85516 * manual/memory.texi (Malloc Tunable Parameters): Document
85517 M_PERTURB.
85518
85519 2010-07-26 Roland McGrath <roland@redhat.com>
85520
85521 [BZ #11840]
85522 * configure.in (-fgnu89-inline check): Set and substitute
85523 gnu89_inline, not libc_cv_gnu89_inline.
85524 * configure: Regenerated.
85525 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85526
85527 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85528
85529 * string/test-strnlen.c: New file.
85530 * string/Makefile (strop-tests): Add strnlen.
85531 * string/tester.c (test_strnlen): Add a few more test cases.
85532 * string/tst-strlen.c: Better error reporting.
85533
85534 * sysdeps/x86_64/strnlen.S: New file.
85535
85536 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85537
85538 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85539 lower-latency instructions.
85540
85541 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85542
85543 * string/test-strcasestr.c: New file.
85544 * string/test-strstr.c: New file.
85545 * string/Makefile (strop-tests): Add strstr and strcasestr.
85546 * string/str-two-way.h: Don't undefine MAX.
85547 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85548
85549 2010-07-21 Andreas Schwab <schwab@redhat.com>
85550
85551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85552 strcasestr-nonascii.
85553 (CFLAGS-strcasestr-nonascii.c): Define.
85554 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85555 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85556 Remove unused attribute.
85557
85558 2010-07-20 Roland McGrath <roland@redhat.com>
85559
85560 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85561 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
85562 ld.so.cache was broken. With it, there is no way to disable dsocaps
85563 like LD_HWCAP_MASK can disable hwcaps.
85564
85565 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85566
85567 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85568
85569 2010-07-16 Ulrich Drepper <drepper@redhat.com>
85570
85571 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85572 call in strcasestr.
85573 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85574 __strcasestr_sse42_nonascii.
85575 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85576 strcasestr-nonascii.c.
85577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85578
85579 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
85580
85581 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85582 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85583 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85584 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85585
85586 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85587
85588 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85589 fcntl.
85590
85591 2010-07-06 Andreas Schwab <schwab@redhat.com>
85592
85593 [BZ #11577]
85594 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85595 dl_signal_cerror.
85596
85597 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85598
85599 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85600 _PC_PIPE_BUF using F_GETPIPE_SZ.
85601
85602 2010-07-05 Roland McGrath <roland@redhat.com>
85603
85604 * manual/arith.texi (Rounding Functions): Fix rint description
85605 implicit in round description.
85606
85607 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85608
85609 * elf/Makefile: Fix linking for a few tests to make recent linker
85610 happy.
85611
85612 2010-06-30 Andreas Schwab <schwab@redhat.com>
85613
85614 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85615 $(common-objpfx)libc_nonshared.a.
85616
85617 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85618
85619 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85620 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85621 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85622 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85623 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85624 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85625 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85626 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85641 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85642 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85643 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85644 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85645 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85646 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85647 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85648 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85649 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85650 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85651 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85652 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85667
85668 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85669
85670 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85671 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85672 * string/memmove.c (memmove): Renamed to ...
85673 (MEMMOVE): ...this. Default to memmove.
85674 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85675 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85676 (END_CHK): Define.
85677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85678 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85679 mempcpy-ssse3-back memmove-ssse3-back.
85680 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85681 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85683 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85684 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85685 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85686 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85687 * sysdeps/x86_64/multiarch/memmove.c: New file.
85688 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85689 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85690 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85691 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85692 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85694 Define.
85695 (index_Fast_Copy_Backward): Define.
85696 (HAS_ARCH_FEATURE): Define.
85697 (HAS_FAST_REP_STRING): Define.
85698 (HAS_FAST_COPY_BACKWARD): Define.
85699
85700 2010-06-21 Andreas Schwab <schwab@redhat.com>
85701
85702 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85703 Restore proper fallback handling.
85704
85705 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85706
85707 [BZ #11701]
85708 * posix/group_member.c (__group_member): Correct checking loop.
85709
85710 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85711 OOM in getpwuid_r correctly. Return error number when the caller
85712 should return, otherwise -1.
85713 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85714 call returning > 0 value.
85715 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85716
85717 2010-06-07 Andreas Schwab <schwab@redhat.com>
85718
85719 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85720 libc_nonshared.a from targets in modules-names.
85721
85722 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85723
85724 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85725 requires it.
85726
85727 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85728
85729 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85730 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85733
85734 2010-06-02 Andreas Schwab <schwab@redhat.com>
85735
85736 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85737
85738 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85739
85740 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85741 and F_GETPIPE_SZ.
85742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85743 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85746 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85747 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85748
85749 2010-06-14 Roland McGrath <roland@redhat.com>
85750
85751 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85752
85753 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85754
85755 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85756 __REDIRECT followed by __THROW.
85757 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85758 * posix/getopt.h (getopt): Likewise.
85759
85760 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85761
85762 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85763 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85764 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85765 in AT_FLAGS.
85766 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85767 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85768
85769 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85770
85771 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85772
85773 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85774
85775 [BZ #11640]
85776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85777 Properly check family and model.
85778
85779 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85780
85781 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85782
85783 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85784
85785 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85786
85787 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85788
85789 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85790 symbol reference.
85791
85792 2010-05-19 Andreas Schwab <schwab@redhat.com>
85793
85794 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85795 symbol reference.
85796
85797 2010-05-21 Andreas Schwab <schwab@redhat.com>
85798
85799 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85800 and internal_recvmmsg.
85801 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85802 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85803 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85804 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85805
85806 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85807 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85808 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85809
85810 2010-05-20 Andreas Schwab <schwab@redhat.com>
85811
85812 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85813
85814 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85815
85816 POWER7 optimizations.
85817 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85818 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85819
85820 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85821
85822 * version.h: Update for 2.13 development version.
85823
85824 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85825
85826 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85827 exceptions. Return 0.
85828
85829 2010-05-07 Roland McGrath <roland@redhat.com>
85830
85831 * elf/ldconfig.c (main): Add a const.
85832
85833 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85834
85835 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85836 (args_options): Add no-idn option.
85837 (ahosts_keys_int): Add idn_flags to ai_flags.
85838 (parse_option): Handle 'i' option to clear idn_flags.
85839
85840 * malloc/malloc.c (_int_free): Possible race in the most recently
85841 added check. Only act on the data if no current modification
85842 happened.
85843
85844 See ChangeLog.17 for earlier changes.